-
Notifications
You must be signed in to change notification settings - Fork 45
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
Finalize deployment script #701
Conversation
danielattilasimon
commented
Jan 16, 2025
•
edited
Loading
edited
- Add another CurveV2GaugeRewards initiative, incentivizing a BOLD-LUSD pool
- Add DeFi Collective's "grants" address (grants.deficollective.eth) as initiative
- Finalize Curve pool parameters (use "Cryto Collateralized Stablecoin" preset)
- Add the "Funds" Safe as distributor of LUSD rewards to both Curve gauges
- Make EPOCH_START configurable
9209bb7
to
62e14ad
Compare
"curveV2GaugeRewardsInitiative": "0x0000000000000000000000000000000000000000", | ||
"curvePool": "0x5b3f6b88fa29e85778394992d9bcd95ef2fceebe", | ||
"gauge": "0x0000000000000000000000000000000000000000", | ||
"LQTYToken": "0x878fc269a85619da792b054e2288cf5f9cc3e2e1" |
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.
@bpierre heads up, I am renaming some fields in the manifest, because they're ambiguous: we'll have multiple Curve pools, gauges and initiatives on mainnet.
curveV2GaugeRewardsInitiative
=>curveUsdcBoldInitiative
curvePool
=>curveUsdcBoldPool
gauge
=>curveUsdcBoldGauge
Also deleting uniV4DonationsInitiative
as we're not going to deploy a Uni v4 initiative.
asset_types: assetTypes, | ||
method_ids: methodIds, | ||
oracles: oracles | ||
}); |
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 these parameters by attempting to create a pool on https://curve.fi using the Crypto Collateralized Stablecoins preset, then decoding the hex data. @ColinPlatt does this look good?
62e14ad
to
191e6ce
Compare
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.
Looks good!
@@ -54,6 +54,10 @@ import {MockStakingV1} from "V2-gov/test/mocks/MockStakingV1.sol"; | |||
|
|||
import {DeployGovernance} from "./DeployGovernance.s.sol"; | |||
|
|||
function _latestUTCMidnightBetweenWednesdayAndThursday() view returns (uint256) { |
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.
We may add a comment saying that this works because 1/1/1970 was a Thursday 😉