-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ekubo pools #8
Conversation
This PR adds Arbitrary Proposal for adding ekubo pools (not options too!!). Please check it, as well as the fork test. In |
Also commented out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got the same class-hash for the AMM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would adjust the voladjspd, but otherwise lgtm!
loop { | ||
match voter_addresses.pop_front() { | ||
Option::Some(address) => { | ||
let current_voter: ContractAddress = (*address).try_into().unwrap(); | ||
prank(CheatTarget::One(gov_addr), current_voter, CheatSpan::TargetCalls(1)); | ||
props.vote(prop_id, 1); | ||
}, | ||
Option::None(()) => { break (); } | ||
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you know the famed for loop has come to our land?
https://community.starknet.io/t/cairo-v2-7-0-is-coming/114362
(not worth changing, just wanted to mention)
|
||
// Add the lptokens to the AMM | ||
let call_voladjspd = FixedTrait::new_unscaled(10_000, false); | ||
let put_voladjspd = FixedTrait::new_unscaled(50_000, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is too high, DMd
No description provided.