-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b028b11
commit 5f26422
Showing
33 changed files
with
12,706 additions
and
263 deletions.
There are no files selected for viewing
4,154 changes: 4,154 additions & 0 deletions
4,154
campaigns/sepolia-usdc/1732533846731-7149331-start.json
Large diffs are not rendered by default.
Oops, something went wrong.
4,154 changes: 4,154 additions & 0 deletions
4,154
campaigns/sepolia-usdc/1732533989184-7149332-finish.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,898 changes: 1,898 additions & 0 deletions
1,898
campaigns/sepolia-weth/1732532220563-7149211-start.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,898 changes: 1,898 additions & 0 deletions
1,898
campaigns/sepolia-weth/1732532335634-7149212-finish.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 23 additions & 6 deletions
29
deployments/arbitrum/usdc.e/migrations/1732300426_deploy_rewards_v2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
import { expect } from 'chai'; | ||
import { DeploymentManager } from '../../../../plugins/deployment_manager/DeploymentManager'; | ||
import { migration } from '../../../../plugins/deployment_manager/Migration'; | ||
|
||
interface Vars {}; | ||
const MULTISIG_ADDRESS = ''; | ||
|
||
export default migration('1732300426_deploy_rewards_v2', { | ||
prepare: async (deploymentManager: DeploymentManager) => { | ||
return {}; | ||
async prepare(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.deploy( | ||
'rewardsV2', | ||
'CometRewardsV2.sol', | ||
[ | ||
MULTISIG_ADDRESS, // The governor who will control the contract | ||
] | ||
); | ||
return { cometRewardsV2Address: cometRewardsV2.address }; | ||
}, | ||
|
||
enact: async (deploymentManager: DeploymentManager, govDeploymentManager: DeploymentManager, vars: Vars) => { | ||
// No governance changes | ||
} | ||
enact: async () => { | ||
// | ||
}, | ||
|
||
async enacted(): Promise<boolean> { | ||
return false; | ||
}, | ||
|
||
async verify(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.fromDep('rewardsV2', 'arbitrum', 'usdc.e'); | ||
expect(MULTISIG_ADDRESS).to.be.equal(await cometRewardsV2.governor()); | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 23 additions & 6 deletions
29
deployments/arbitrum/usdt/migrations/1732300432_deploy_rewards_v2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
import { expect } from 'chai'; | ||
import { DeploymentManager } from '../../../../plugins/deployment_manager/DeploymentManager'; | ||
import { migration } from '../../../../plugins/deployment_manager/Migration'; | ||
|
||
interface Vars {}; | ||
const MULTISIG_ADDRESS = ''; | ||
|
||
export default migration('1732300432_deploy_rewards_v2', { | ||
prepare: async (deploymentManager: DeploymentManager) => { | ||
return {}; | ||
async prepare(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.deploy( | ||
'rewardsV2', | ||
'CometRewardsV2.sol', | ||
[ | ||
MULTISIG_ADDRESS, // The governor who will control the contract | ||
] | ||
); | ||
return { cometRewardsV2Address: cometRewardsV2.address }; | ||
}, | ||
|
||
enact: async (deploymentManager: DeploymentManager, govDeploymentManager: DeploymentManager, vars: Vars) => { | ||
// No governance changes | ||
} | ||
enact: async () => { | ||
// | ||
}, | ||
|
||
async enacted(): Promise<boolean> { | ||
return false; | ||
}, | ||
|
||
async verify(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.fromDep('rewardsV2', 'arbitrum', 'usdе'); | ||
expect(MULTISIG_ADDRESS).to.be.equal(await cometRewardsV2.governor()); | ||
}, | ||
}); |
29 changes: 23 additions & 6 deletions
29
deployments/arbitrum/weth/migrations/1732300439_deploy_rewards_v2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
import { expect } from 'chai'; | ||
import { DeploymentManager } from '../../../../plugins/deployment_manager/DeploymentManager'; | ||
import { migration } from '../../../../plugins/deployment_manager/Migration'; | ||
|
||
interface Vars {}; | ||
const MULTISIG_ADDRESS = ''; | ||
|
||
export default migration('1732300439_deploy_rewards_v2', { | ||
prepare: async (deploymentManager: DeploymentManager) => { | ||
return {}; | ||
async prepare(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.deploy( | ||
'rewardsV2', | ||
'CometRewardsV2.sol', | ||
[ | ||
MULTISIG_ADDRESS, // The governor who will control the contract | ||
] | ||
); | ||
return { cometRewardsV2Address: cometRewardsV2.address }; | ||
}, | ||
|
||
enact: async (deploymentManager: DeploymentManager, govDeploymentManager: DeploymentManager, vars: Vars) => { | ||
// No governance changes | ||
} | ||
enact: async () => { | ||
// | ||
}, | ||
|
||
async enacted(): Promise<boolean> { | ||
return false; | ||
}, | ||
|
||
async verify(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.fromDep('rewardsV2', 'arbitrum', 'weth'); | ||
expect(MULTISIG_ADDRESS).to.be.equal(await cometRewardsV2.governor()); | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 23 additions & 6 deletions
29
deployments/mantle/usde/migrations/1732300504_deploy_rewards_v2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
import { expect } from 'chai'; | ||
import { DeploymentManager } from '../../../../plugins/deployment_manager/DeploymentManager'; | ||
import { migration } from '../../../../plugins/deployment_manager/Migration'; | ||
|
||
interface Vars {}; | ||
const MULTISIG_ADDRESS = ''; | ||
|
||
export default migration('1732300504_deploy_rewards_v2', { | ||
prepare: async (deploymentManager: DeploymentManager) => { | ||
return {}; | ||
async prepare(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.deploy( | ||
'rewardsV2', | ||
'CometRewardsV2.sol', | ||
[ | ||
MULTISIG_ADDRESS, // The governor who will control the contract | ||
] | ||
); | ||
return { cometRewardsV2Address: cometRewardsV2.address }; | ||
}, | ||
|
||
enact: async (deploymentManager: DeploymentManager, govDeploymentManager: DeploymentManager, vars: Vars) => { | ||
// No governance changes | ||
} | ||
enact: async () => { | ||
// | ||
}, | ||
|
||
async enacted(): Promise<boolean> { | ||
return false; | ||
}, | ||
|
||
async verify(deploymentManager: DeploymentManager) { | ||
const cometRewardsV2 = await deploymentManager.fromDep('rewardsV2', 'mantle', 'usde'); | ||
expect(MULTISIG_ADDRESS).to.be.equal(await cometRewardsV2.governor()); | ||
}, | ||
}); |
Oops, something went wrong.