Skip to content
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

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Finalize deployment script #701

merged 3 commits into from
Jan 17, 2025

Conversation

danielattilasimon
Copy link
Collaborator

@danielattilasimon danielattilasimon commented Jan 16, 2025

  • 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

@danielattilasimon danielattilasimon force-pushed the deployment-script branch 2 times, most recently from 9209bb7 to 62e14ad Compare January 17, 2025 03:27
"curveV2GaugeRewardsInitiative": "0x0000000000000000000000000000000000000000",
"curvePool": "0x5b3f6b88fa29e85778394992d9bcd95ef2fceebe",
"gauge": "0x0000000000000000000000000000000000000000",
"LQTYToken": "0x878fc269a85619da792b054e2288cf5f9cc3e2e1"
Copy link
Collaborator Author

@danielattilasimon danielattilasimon Jan 17, 2025

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
});
Copy link
Collaborator Author

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?

@danielattilasimon danielattilasimon changed the title [WIP] Deployment script Finalize deployment script Jan 17, 2025
@danielattilasimon danielattilasimon marked this pull request as ready for review January 17, 2025 05:33
Copy link
Collaborator

@bingen bingen left a 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) {
Copy link
Collaborator

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 😉

@bingen bingen merged commit 78561b6 into main Jan 17, 2025
9 checks passed
@danielattilasimon danielattilasimon deleted the deployment-script branch January 19, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants