Skip to content

Commit

Permalink
chore: deploy pegged variable crtieria
Browse files Browse the repository at this point in the history
  • Loading branch information
Quazia committed Dec 16, 2024
1 parent 48c5843 commit 95af081
Show file tree
Hide file tree
Showing 10 changed files with 522 additions and 1,490 deletions.

Large diffs are not rendered by default.

504 changes: 44 additions & 460 deletions packages/evm/broadcast/Deploy_Modules.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions packages/evm/broadcast/Deploy_Modules.s.sol/8453/run-1734388263.json

Large diffs are not rendered by default.

566 changes: 51 additions & 515 deletions packages/evm/broadcast/Deploy_Modules.s.sol/8453/run-latest.json

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions packages/evm/broadcast/Deploy_Modules.s.sol/84532/run-1734388225.json

Large diffs are not rendered by default.

564 changes: 50 additions & 514 deletions packages/evm/broadcast/Deploy_Modules.s.sol/84532/run-latest.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/evm/deploys/11155111.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"CGDAIncentive": "0x9Ed41B9834d6865092520D34ee75292242d3fA56",
"ERC20Incentive": "0x775c30cc9f5A1a7AAf4dFe2B1994Dda5F4586F15",
"ERC20PeggedIncentive": "0x64DFAE63662107c9C68589c726991790D00Fbc29",
"ERC20PeggedVariableCriteriaIncentive": "0xBA9C0739350C42d5f4bB55d779356C3CfEaB257a",
"ERC20VariableCriteriaIncentive": "0xE7763684b43bE4491A93469aA5D7868591343dEa",
"ERC20VariableIncentive": "0xC502d89B01b0137327adC0bd393fCee2dE6EA6d0",
"EventAction": "0xF1c51f679A250a542c38ed45fd5B6D050648669E",
Expand Down
1 change: 1 addition & 0 deletions packages/evm/deploys/8453.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"CGDAIncentive": "0x9Ed41B9834d6865092520D34ee75292242d3fA56",
"ERC20Incentive": "0x775c30cc9f5A1a7AAf4dFe2B1994Dda5F4586F15",
"ERC20PeggedIncentive": "0x64DFAE63662107c9C68589c726991790D00Fbc29",
"ERC20PeggedVariableCriteriaIncentive": "0xBA9C0739350C42d5f4bB55d779356C3CfEaB257a",
"ERC20VariableCriteriaIncentive": "0xE7763684b43bE4491A93469aA5D7868591343dEa",
"ERC20VariableIncentive": "0xC502d89B01b0137327adC0bd393fCee2dE6EA6d0",
"EventAction": "0xF1c51f679A250a542c38ed45fd5B6D050648669E",
Expand Down
1 change: 1 addition & 0 deletions packages/evm/deploys/84532.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"CGDAIncentive": "0x9Ed41B9834d6865092520D34ee75292242d3fA56",
"ERC20Incentive": "0x775c30cc9f5A1a7AAf4dFe2B1994Dda5F4586F15",
"ERC20PeggedIncentive": "0x64DFAE63662107c9C68589c726991790D00Fbc29",
"ERC20PeggedVariableCriteriaIncentive": "0xBA9C0739350C42d5f4bB55d779356C3CfEaB257a",
"ERC20VariableCriteriaIncentive": "0xE7763684b43bE4491A93469aA5D7868591343dEa",
"ERC20VariableIncentive": "0xC502d89B01b0137327adC0bd393fCee2dE6EA6d0",
"EventAction": "0xF1c51f679A250a542c38ed45fd5B6D050648669E",
Expand Down
3 changes: 2 additions & 1 deletion packages/evm/script/solidity/Deploy_Modules.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ contract ModuleBaseDeployer is ScriptUtils {
_deployERC20VariableIncentive(registry);
_deployERC20VariableCriteriaIncentive(registry);
_deployERC20PeggedIncentive(registry);
_deployERC20PeggedVariableCriteriaIncentive(registry);
_deployCGDAIncentive(registry);
_deployPointsIncentive(registry);
_deployAllowListIncentive(registry);
Expand Down Expand Up @@ -127,7 +128,7 @@ contract ModuleBaseDeployer is ScriptUtils {
}

function _deployERC20PeggedVariableCriteriaIncentive(BoostRegistry registry) internal returns (address erc20PeggedVariableCriteriaIncentive) {
bytes memory initCode = type(ERC20PeggedIncentive).creationCode;
bytes memory initCode = type(ERC20PeggedVariableCriteriaIncentive).creationCode;
erc20PeggedVariableCriteriaIncentive = _getCreate2Address(initCode, "");
console.log("ERC20PeggedVariableCriteriaIncentive: ", erc20PeggedVariableCriteriaIncentive);
deployJson = deployJsonKey.serialize("ERC20PeggedVariableCriteriaIncentive", erc20PeggedVariableCriteriaIncentive);
Expand Down

0 comments on commit 95af081

Please sign in to comment.