Skip to content

Commit

Permalink
[ADHOC] deploy EventAction module (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz authored Jan 13, 2025
1 parent a62b4c1 commit 68ffa7b
Show file tree
Hide file tree
Showing 11 changed files with 550 additions and 167 deletions.
7 changes: 7 additions & 0 deletions .changeset/empty-monkeys-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@boostxyz/evm": minor
"@boostxyz/cli": minor
"@boostxyz/sdk": minor
---

deploy EventAction module on Base/BaseSepolia/Sepolia

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

112 changes: 57 additions & 55 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-1736390232.json

Large diffs are not rendered by default.

110 changes: 55 additions & 55 deletions packages/evm/broadcast/Deploy_Modules.s.sol/84532/run-latest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/evm/deploys/11155111.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"ERC20PeggedVariableCriteriaIncentive": "0xBA9C0739350C42d5f4bB55d779356C3CfEaB257a",
"ERC20VariableCriteriaIncentive": "0xE7763684b43bE4491A93469aA5D7868591343dEa",
"ERC20VariableIncentive": "0xC502d89B01b0137327adC0bd393fCee2dE6EA6d0",
"EventAction": "0xF1c51f679A250a542c38ed45fd5B6D050648669E",
"EventAction": "0xAADe59E7B473c4f03b47C6CEd4931ae8B5e5F2bA",
"ManagedBudget": "0xf109BAFC51aA2a78C831e5460dEDbDf68E866976",
"ManagedBudgetWithFees": "0x18C217895bd8f1d8aD4F26844aAb5957Eb61C2bA",
"OpenAllowList": "0xEe55C17D2EDBaB27603eB0d0C753c8A173ba7Ed6",
Expand Down
2 changes: 1 addition & 1 deletion packages/evm/deploys/8453.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"ERC20PeggedVariableCriteriaIncentive": "0xBA9C0739350C42d5f4bB55d779356C3CfEaB257a",
"ERC20VariableCriteriaIncentive": "0xE7763684b43bE4491A93469aA5D7868591343dEa",
"ERC20VariableIncentive": "0xC502d89B01b0137327adC0bd393fCee2dE6EA6d0",
"EventAction": "0xF1c51f679A250a542c38ed45fd5B6D050648669E",
"EventAction": "0xAADe59E7B473c4f03b47C6CEd4931ae8B5e5F2bA",
"ManagedBudget": "0xf109BAFC51aA2a78C831e5460dEDbDf68E866976",
"ManagedBudgetWithFees": "0x18C217895bd8f1d8aD4F26844aAb5957Eb61C2bA",
"OpenAllowList": "0xEe55C17D2EDBaB27603eB0d0C753c8A173ba7Ed6",
Expand Down
2 changes: 1 addition & 1 deletion packages/evm/deploys/84532.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"ERC20PeggedVariableCriteriaIncentive": "0xBA9C0739350C42d5f4bB55d779356C3CfEaB257a",
"ERC20VariableCriteriaIncentive": "0xE7763684b43bE4491A93469aA5D7868591343dEa",
"ERC20VariableIncentive": "0xC502d89B01b0137327adC0bd393fCee2dE6EA6d0",
"EventAction": "0xF1c51f679A250a542c38ed45fd5B6D050648669E",
"EventAction": "0xAADe59E7B473c4f03b47C6CEd4931ae8B5e5F2bA",
"ManagedBudget": "0xf109BAFC51aA2a78C831e5460dEDbDf68E866976",
"ManagedBudgetWithFees": "0x18C217895bd8f1d8aD4F26844aAb5957Eb61C2bA",
"OpenAllowList": "0xEe55C17D2EDBaB27603eB0d0C753c8A173ba7Ed6",
Expand Down
16 changes: 8 additions & 8 deletions packages/evm/script/solidity/Deploy_Modules.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ contract ModuleBaseDeployer is ScriptUtils {
console.log("ERC20Incentive: ", erc20Incentive);
deployJson = deployJsonKey.serialize("ERC20Incentive", erc20Incentive);
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(newDeploy, "ERC20Incentive_2", erc20Incentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
_registerIfNew(newDeploy, "ERC20Incentive", erc20Incentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
}

function _deployERC20PeggedIncentive(BoostRegistry registry) internal returns (address erc20PeggedIncentive) {
Expand All @@ -124,7 +124,7 @@ contract ModuleBaseDeployer is ScriptUtils {
console.log("ERC20PeggedIncentive: ", erc20PeggedIncentive);
deployJson = deployJsonKey.serialize("ERC20PeggedIncentive", erc20PeggedIncentive);
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(newDeploy, "ERC20PeggedIncentive_2", erc20PeggedIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
_registerIfNew(newDeploy, "ERC20PeggedIncentive", erc20PeggedIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
}

function _deployERC20PeggedVariableCriteriaIncentive(BoostRegistry registry) internal returns (address erc20PeggedVariableCriteriaIncentive) {
Expand All @@ -133,7 +133,7 @@ contract ModuleBaseDeployer is ScriptUtils {
console.log("ERC20PeggedVariableCriteriaIncentive: ", erc20PeggedVariableCriteriaIncentive);
deployJson = deployJsonKey.serialize("ERC20PeggedVariableCriteriaIncentive", erc20PeggedVariableCriteriaIncentive);
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(newDeploy, "ERC20PeggedVariableCriteriaIncentive_2", erc20PeggedVariableCriteriaIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
_registerIfNew(newDeploy, "ERC20PeggedVariableCriteriaIncentive", erc20PeggedVariableCriteriaIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
}

function _deployERC20VariableIncentive(BoostRegistry registry) internal returns (address erc20VariableIncentive) {
Expand All @@ -143,7 +143,7 @@ contract ModuleBaseDeployer is ScriptUtils {
deployJson = deployJsonKey.serialize("ERC20VariableIncentive", erc20VariableIncentive);
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(
newDeploy, "ERC20VariableIncentive_2", erc20VariableIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE
newDeploy, "ERC20VariableIncentive", erc20VariableIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE
);
}

Expand All @@ -158,7 +158,7 @@ contract ModuleBaseDeployer is ScriptUtils {
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(
newDeploy,
"ERC20VariableCriteriaIncentive_2",
"ERC20VariableCriteriaIncentive",
erc20VariableCriteriaIncentive,
registry,
ABoostRegistry.RegistryType.INCENTIVE
Expand All @@ -171,7 +171,7 @@ contract ModuleBaseDeployer is ScriptUtils {
console.log("CGDAIncentive: ", cgdaIncentive);
deployJson = deployJsonKey.serialize("CGDAIncentive", cgdaIncentive);
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(newDeploy, "CGDAIncentive_2", cgdaIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
_registerIfNew(newDeploy, "CGDAIncentive", cgdaIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
}

function _deployPointsIncentive(BoostRegistry registry) internal returns (address pointsIncentive) {
Expand All @@ -180,7 +180,7 @@ contract ModuleBaseDeployer is ScriptUtils {
console.log("PointsIncentive: ", pointsIncentive);
deployJson = deployJsonKey.serialize("PointsIncentive", pointsIncentive);
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(newDeploy, "PointsIncentive_2", pointsIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
_registerIfNew(newDeploy, "PointsIncentive", pointsIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE);
}

function _deployAllowListIncentive(BoostRegistry registry) internal returns (address allowListIncentive) {
Expand All @@ -190,7 +190,7 @@ contract ModuleBaseDeployer is ScriptUtils {
deployJson = deployJsonKey.serialize("AllowListIncentive", allowListIncentive);
bool newDeploy = _deploy2(initCode, "");
_registerIfNew(
newDeploy, "AllowListIncentive_2", allowListIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE
newDeploy, "AllowListIncentive", allowListIncentive, registry, ABoostRegistry.RegistryType.INCENTIVE
);
}

Expand Down

0 comments on commit 68ffa7b

Please sign in to comment.