Skip to content

Commit

Permalink
Network deployment: Mode (balancer#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
jubeira authored May 22, 2024
1 parent e3d88d0 commit 6d2aaf5
Show file tree
Hide file tree
Showing 58 changed files with 723 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
ZKEVM_RPC_ENDPOINT: ${{ secrets.ZKEVM_RPC_ENDPOINT }}
BASE_RPC_ENDPOINT: ${{ secrets.BASE_RPC_ENDPOINT }}
FRAXTAL_RPC_ENDPOINT: ${{ secrets.FRAXTAL_RPC_ENDPOINT }}
MODE_RPC_ENDPOINT: ${{ secrets.MODE_RPC_ENDPOINT }}
SEPOLIA_RPC_ENDPOINT: ${{ secrets.SEPOLIA_RPC_ENDPOINT }}
- name: Test
run: yarn test --bail
22 changes: 21 additions & 1 deletion .github/workflows/deployment-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,16 @@ jobs:
FRAXTAL_RPC_ENDPOINT: ${{ secrets.FRAXTAL_RPC_ENDPOINT }}
with:
network-name: fraxtal
check-mode-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Mode Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
MODE_RPC_ENDPOINT: ${{ secrets.MODE_RPC_ENDPOINT }}
with:
network-name: mode
check-sepolia-deployments:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -225,9 +235,19 @@ jobs:
- name: Check Fraxtal Action IDs
uses: ./.github/actions/check-network-action-ids
env:
FRAXTAL_RPC_ENDPOINT: ${{ secrets.fraxtal_RPC_ENDPOINT }}
FRAXTAL_RPC_ENDPOINT: ${{ secrets.FRAXTAL_RPC_ENDPOINT }}
with:
network-name: fraxtal
check-mode-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Mode Action IDs
uses: ./.github/actions/check-network-action-ids
env:
MODE_RPC_ENDPOINT: ${{ secrets.MODE_RPC_ENDPOINT }}
with:
network-name: mode
check-sepolia-action-ids:
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/timelock-authorizer-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,17 @@ jobs:
with:
network-name: fraxtal

verify-mode-timelock-authorizer-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Verify Mode Timelock Authorizer Configuration
uses: ./.github/actions/verify-network-timelock-authorizer-config
env:
MODE_RPC_ENDPOINT: ${{ secrets.MODE_RPC_ENDPOINT }}
with:
network-name: mode

verify-sepolia-timelock-authorizer-config:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

### New Deployments

- Deployed contracts to Fraxtal.
- Deployed `TimelockAuthorizer` and `TimelockAuthorizerMigrator` to Goerli.
- Deployed contracts to Fraxtal with veBAL support.
- Deployed contracts to Mode without veBAL support.
- Deployed `BatchRelayerLibrary` V5 to all networks.
- Deployed `L2BalancerPseudoMinter` to all networks except Ethereum.
- Deployed `VotingEscrowDelegationProxy` and `NullVotingEscrow` to all networks except Ethereum.
Expand Down
4 changes: 4 additions & 0 deletions DEPLOYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ This data is accessed via the [`local-networks-config`](https://www.npmjs.com/pa
"fraxtal": {
"url": "https://fraxtal.rpc.endpoint/myAPIKey",
"verificationAPIKey": "fraxtal-etherscan-API-key"
},
"mode": {
"url": "https://mode.rpc.endpoint/myAPIKey",
"verificationAPIKey": "mode-etherscan-API-key"
}
},
"defaultConfig": {
Expand Down
271 changes: 271 additions & 0 deletions action-ids/mode/action-ids.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions addresses/.supported-networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@
"fraxtal": {
"chainId": 252,
"block-explorer": "https://fraxscan.com"
},
"mode": {
"chainId": 34443,
"block-explorer": "https://modescan.io"
}
}
242 changes: 242 additions & 0 deletions addresses/mode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
{
"20210418-authorizer": {
"contracts": [
{
"name": "Authorizer",
"address": "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5"
}
],
"status": "ACTIVE"
},
"20210418-vault": {
"contracts": [
{
"name": "Vault",
"address": "0xBA12222222228d8Ba445958a75a0704d566BF2C8"
},
{
"name": "ProtocolFeesCollector",
"address": "0xce88686553686DA562CE7Cea497CE749DA109f9F"
},
{
"name": "BalancerHelpers",
"address": "0x8E9aa87E45e92bad84D5F8DD1bff34Fb92637dE9"
}
],
"status": "ACTIVE"
},
"20211202-no-protocol-fee-lbp": {
"contracts": [
{
"name": "NoProtocolFeeLiquidityBootstrappingPoolFactory",
"address": "0xE42FFA682A26EF8F25891db4882932711D42e467"
},
{
"name": "MockLiquidityBootstrappingPool",
"address": "0x197868C915E50cD7eB34EB2F56009E0BF9aa09EB"
}
],
"status": "ACTIVE"
},
"20220325-authorizer-adaptor": {
"contracts": [
{
"name": "AuthorizerAdaptor",
"address": "0xf23b4DB826DbA14c0e857029dfF076b1c0264843"
}
],
"status": "ACTIVE"
},
"20220517-protocol-fee-withdrawer": {
"contracts": [
{
"name": "ProtocolFeesWithdrawer",
"address": "0x9Ac3E70dB606659Bf32D4BdFbb687AD193FD1F5B"
}
],
"status": "ACTIVE"
},
"20220721-balancer-queries": {
"contracts": [
{
"name": "BalancerQueries",
"address": "0x36caC20dd805d128c1a6Dd16eeA845C574b5A17C"
}
],
"status": "ACTIVE"
},
"20220725-protocol-fee-percentages-provider": {
"contracts": [
{
"name": "ProtocolFeePercentagesProvider",
"address": "0x85a80afee867aDf27B50BdB7b76DA70f1E853062"
}
],
"status": "ACTIVE"
},
"20221123-pool-recovery-helper": {
"contracts": [
{
"name": "PoolRecoveryHelper",
"address": "0x4132f7AcC9dB7A6cF7BE2Dd3A9DC8b30C7E6E6c8"
}
],
"status": "ACTIVE"
},
"20221124-authorizer-adaptor-entrypoint": {
"contracts": [
{
"name": "AuthorizerAdaptorEntrypoint",
"address": "0x76578ecf9a141296Ec657847fb45B0585bCDa3a6"
}
],
"status": "ACTIVE"
},
"20230223-protocol-id-registry": {
"contracts": [
{
"name": "ProtocolIdRegistry",
"address": "0xb9F8AB3ED3F3aCBa64Bc6cd2DcA74B7F38fD7B88"
}
],
"status": "ACTIVE"
},
"20230316-child-chain-gauge-factory-v2": {
"contracts": [
{
"name": "ChildChainGauge",
"address": "0xE3881627B8DeeBCCF9c23B291430a549Fc0bE5F7"
},
{
"name": "ChildChainGaugeFactory",
"address": "0x4fb47126Fa83A8734991E41B942Ac29A3266C968"
}
],
"status": "ACTIVE"
},
"20230316-l2-balancer-pseudo-minter": {
"contracts": [
{
"name": "L2BalancerPseudoMinter",
"address": "0x5cF4928a3205728bd12830E1840F7DB85c62a4B9"
}
],
"status": "ACTIVE"
},
"20230316-l2-ve-delegation-proxy": {
"contracts": [
{
"name": "NullVotingEscrow",
"address": "0x9dd5Db2d38b50bEF682cE532bCca5DfD203915E1"
},
{
"name": "VotingEscrowDelegationProxy",
"address": "0x9805dcfD25e6De36bad8fe9D3Fe2c9b44B764102"
}
],
"status": "ACTIVE"
},
"20230320-weighted-pool-v4": {
"contracts": [
{
"name": "WeightedPoolFactory",
"address": "0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68"
},
{
"name": "MockWeightedPool",
"address": "0xCb528CFe5EfC65a77901d20B3E899Ecd9A8190b7"
}
],
"status": "ACTIVE"
},
"20230411-managed-pool-v2": {
"contracts": [
{
"name": "ManagedPoolAddRemoveTokenLib",
"address": "0x81cFAE226343B24BA12EC6521Db2C79E7aeeb310"
},
{
"name": "CircuitBreakerLib",
"address": "0xa523f47A933D5020b23629dDf689695AA94612Dc"
},
{
"name": "ManagedPoolAmmLib",
"address": "0x6817149cb753BF529565B4D023d7507eD2ff4Bc0"
},
{
"name": "ExternalWeightedMath",
"address": "0x6B5dA774890Db7B7b96C6f44e6a4b0F657399E2e"
},
{
"name": "RecoveryModeHelper",
"address": "0x7Ba29fE8E83dd6097A7298075C4AFfdBda3121cC"
},
{
"name": "ManagedPoolFactory",
"address": "0x043A2daD730d585C44FB79D2614F295D2d625412"
},
{
"name": "MockManagedPool",
"address": "0xB227B52B20a755B8b724c63E8Ac8d42Ff0FD64Fd"
}
],
"status": "ACTIVE"
},
"20230414-authorizer-wrapper": {
"contracts": [
{
"name": "AuthorizerWithAdaptorValidation",
"address": "0x013D4382F291be5688AFBcc741Ee8A24C66B2C92"
}
],
"status": "ACTIVE"
},
"20230613-balancer-pool-data-queries": {
"contracts": [
{
"name": "BalancerPoolDataQueries",
"address": "0x7A2535f5fB47b8e44c02Ef5D9990588313fe8F05"
}
],
"status": "ACTIVE"
},
"20230717-chainlink-rate-provider-factory": {
"contracts": [
{
"name": "ChainlinkRateProviderFactory",
"address": "0x96484f2aBF5e58b15176dbF1A799627B53F13B6d"
}
],
"status": "ACTIVE"
},
"20231031-batch-relayer-v6": {
"contracts": [
{
"name": "BatchRelayerLibrary",
"address": "0x662112B8CB18889e81459b92CA0f894a2ef2c1B8"
},
{
"name": "BatchRelayerQueryLibrary",
"address": "0x4DdFc173C8F67808AE8F7913DccFfa6bdBFE5b0e"
},
{
"name": "BalancerRelayer",
"address": "0xb541765F540447646A9545E0A4800A0Bacf9E13D"
}
],
"status": "ACTIVE"
},
"20240223-composable-stable-pool-v6": {
"contracts": [
{
"name": "ComposableStablePoolFactory",
"address": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd"
},
{
"name": "MockComposableStablePool",
"address": "0xaFCFA565B8e00A3b3EB789dfa19261ed7DCA42C7"
}
],
"status": "ACTIVE"
}
}
3 changes: 3 additions & 0 deletions ci/prepare-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ if (process.env.CI) {
},
"fraxtal": {
"url": "${process.env.FRAXTAL_RPC_ENDPOINT}"
},
"mode": {
"url": "${process.env.MODE_RPC_ENDPOINT}"
}
},
"defaultConfig": {
Expand Down
34 changes: 34 additions & 0 deletions deployment-txs/mode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5": "0x6160c87cfcb84c68b6925517f18e6744c4d33a5d5b4ba441653b6fda01d13f6b",
"0xBA12222222228d8Ba445958a75a0704d566BF2C8": "0x2f9431a5750a1ac17fa0cfaf6b8111c0500199cf0362b7a9eca802cc8af41c33",
"0x8E9aa87E45e92bad84D5F8DD1bff34Fb92637dE9": "0x26691973d95b6f55347420066067f99fc6c9115e75f29f78b6c5d3eb9a8b977f",
"0xE42FFA682A26EF8F25891db4882932711D42e467": "0x70a5fcdccecee12eab1ebd4f1fbdb4a387580eaac8493567a707b61686742bb4",
"0x197868C915E50cD7eB34EB2F56009E0BF9aa09EB": "0x2667341fc88e515b693137ea9cc08b78abe05babb25c78a84c4cab49e189dd2f",
"0x9Ac3E70dB606659Bf32D4BdFbb687AD193FD1F5B": "0x32a45798f0cb063b2d6eeef980eb5469c1756c2f9294c90934785157e3b7e872",
"0x36caC20dd805d128c1a6Dd16eeA845C574b5A17C": "0x8a1d95f932e864fb6bb032c3c8c29b7ebccd48c446bbe967167213bad0835687",
"0x85a80afee867aDf27B50BdB7b76DA70f1E853062": "0xe3a2e5fff12ba974ad2d23dcc3b3607fbc7e89dd26adea4f1e810f4a45a51a8c",
"0x4132f7AcC9dB7A6cF7BE2Dd3A9DC8b30C7E6E6c8": "0xdd8edaafc396d5d8f39161a4feff07e2c6bf3c9f9c95d96b61141dfbbf3f6aad",
"0xf23b4DB826DbA14c0e857029dfF076b1c0264843": "0x2038610611470d52d705468b9f526530d85303951e6d83f60a87b837d294f90e",
"0x76578ecf9a141296Ec657847fb45B0585bCDa3a6": "0x6070964868bd3a29604e7946c58450e2793d7c290c66143efcb383807a035f96",
"0xb9F8AB3ED3F3aCBa64Bc6cd2DcA74B7F38fD7B88": "0x6b544e27859a79026f8f837c08ce5bd1448109a3d09fc0e2d3445a333c8d9283",
"0x9dd5Db2d38b50bEF682cE532bCca5DfD203915E1": "0x6d83c5de55cf307dd98554df2bdfdee1c525b0b6e4e4dc4bb075160df7e364c6",
"0x9805dcfD25e6De36bad8fe9D3Fe2c9b44B764102": "0x35963cf92f772b8ed0ed4ae528975f31eff39cd7a5d7e93e386d46bf1dd9ff58",
"0x5cF4928a3205728bd12830E1840F7DB85c62a4B9": "0x76987b46b3c9040b03aa05e3f210d698b6828688b7802689ab0676afa049ba2c",
"0xE3881627B8DeeBCCF9c23B291430a549Fc0bE5F7": "0x6ed285f336bf6224d6d01c4d7aa65e51063f5829940c5c5463cc3b02d1f2d84f",
"0x4fb47126Fa83A8734991E41B942Ac29A3266C968": "0xb69a5cbdeb47d0b652319d57c9b97d724c489485311fe7a61fab5c2e5e0d300a",
"0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68": "0x7807994937da0b0ad70e667ca6f080ace34dae1ac8442a624acf3341b7956b37",
"0xCb528CFe5EfC65a77901d20B3E899Ecd9A8190b7": "0x20f9583fcba0b35844ae5ca87e4a258e1924474da5cfc6f3fd7d37bd2f0ff283",
"0x81cFAE226343B24BA12EC6521Db2C79E7aeeb310": "0xd39eac0dd4a6f4630fba03dc77fb2c9abac4e99060fe339290b02d7c52eda105",
"0xa523f47A933D5020b23629dDf689695AA94612Dc": "0xeb775c1b72adbdd8c78450b078617bb5ebd323f0043cf55c5dfc2e7d6b28be08",
"0x6817149cb753BF529565B4D023d7507eD2ff4Bc0": "0xde3519dc80dd4e9a160eccb8cb0ad371ece7ffa6f62944340f1f00ba3f3ad0b8",
"0x6B5dA774890Db7B7b96C6f44e6a4b0F657399E2e": "0xb2ecbda89dbbbe779cc80869dd51ca5eecd1956007411e0fb6dd8a39f9a75b05",
"0x7Ba29fE8E83dd6097A7298075C4AFfdBda3121cC": "0x222be6ec51b640f7eb71b0bf6b4a6582933f9a84d8c9eb7feed0ce741d77df4e",
"0x043A2daD730d585C44FB79D2614F295D2d625412": "0x0073fb5b67223c19763d8fb1fa4ce9933ad7abac73d57f1ae6735d180eaa04eb",
"0xB227B52B20a755B8b724c63E8Ac8d42Ff0FD64Fd": "0xbb3764187b257112665e6ad13c6c83e7dfd923dd7c8034144b89eb26c7a68bcc",
"0x013D4382F291be5688AFBcc741Ee8A24C66B2C92": "0x97c6a66542152445124ed767cf23f541e5036bcc3397f039894e98c111b6b850",
"0x7A2535f5fB47b8e44c02Ef5D9990588313fe8F05": "0xcd395b3a2d2a09a6b9c40b727323c7a05f14b2a0a231ebd7b8c02511e42c779c",
"0x96484f2aBF5e58b15176dbF1A799627B53F13B6d": "0xaeee679ab2970292b086f39934734f9a7a8ef15ff19b7fe7bd3eda521845e734",
"0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd": "0x039e6975e3d91200a747ae415368dd24e8b5d5cfd1877d3bdb611dc69f0e83a0",
"0xaFCFA565B8e00A3b3EB789dfa19261ed7DCA42C7": "0x17e45bc2a7fdd007fc56b88d66ff24f87b5f585f2a24da51d5b7ed3cc136438c",
"0x662112B8CB18889e81459b92CA0f894a2ef2c1B8": "0x97d9a7adfd062e9d37c7fb2fd6f0a67db2b44841e2c41dcd02f2c8c3701279df"
}
Loading

0 comments on commit 6d2aaf5

Please sign in to comment.