From a64a1672a281008ca7c9f5d1b03e9f3b59648adb Mon Sep 17 00:00:00 2001 From: johngrantuk Date: Wed, 8 May 2024 16:31:11 +0100 Subject: [PATCH 1/3] chore: Remove address book config and script. Update config values. --- balancer-js/package.json | 1 - balancer-js/src/lib/constants/addresses.json | 729 ------------------ balancer-js/src/lib/constants/config.ts | 180 ++++- .../src/lib/utils/generate-address-books.ts | 179 ----- 4 files changed, 138 insertions(+), 951 deletions(-) delete mode 100644 balancer-js/src/lib/constants/addresses.json delete mode 100644 balancer-js/src/lib/utils/generate-address-books.ts diff --git a/balancer-js/package.json b/balancer-js/package.json index 2ad8c5fb5..19e9d446b 100644 --- a/balancer-js/package.json +++ b/balancer-js/package.json @@ -20,7 +20,6 @@ "dist/" ], "scripts": { - "address-book:generate": "npx ts-node -P tsconfig.testing.json -r tsconfig-paths/register ./src/lib/utils/generate-address-books.ts", "build": "rimraf dist && rollup -c", "dev": "rollup -c -w", "test": "ts-mocha --paths --recursive -p tsconfig.testing.json 'src/**/*.spec.ts' --timeout 20000", diff --git a/balancer-js/src/lib/constants/addresses.json b/balancer-js/src/lib/constants/addresses.json deleted file mode 100644 index e92467009..000000000 --- a/balancer-js/src/lib/constants/addresses.json +++ /dev/null @@ -1,729 +0,0 @@ -{ - "1": { - "contracts": { - "aaveLinearPoolFactory": "0x0b576c1245f479506e7c8bbc4db4db07c1cd31f9", - "arbitrumRootGauge": "0x6337949cbc4825bbd09242c811770f6f6fee9ffc", - "arbitrumRootGaugeFactory": "0x1c99324edc771c82a0dccb780cc7dda0045e50e7", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0x8f42adbba1b16eaae3bb5754915e0d06059add75", - "authorizerAdaptorEntrypoint": "0xf5decdb1f3d1ee384908fbe16d2f0348ae43a9ea", - "authorizerWithAdaptorValidation": "0x6048a8c631fb7e77eca533cf9c29784e482391e7", - "avalancheRootGauge": "0xc57b4be50bf6bbe5f6a4fe379da342b32b37bf2f", - "avalancheRootGaugeFactory": "0x10f3e79911a490aa5b5d5cda6f111029c4eab5ac", - "bal": "0xba100000625a3754423978a60c9317c58a424e3d", - "balancerHelpers": "0x5addcca35b7a0d07c74063c48700c8590e87864e", - "balancerMinter": "0x239e55f427d44c3cc793f49bfb507ebe76638a2b", - "balancerQueries": "0xe39b5e3b6d74016b2f6a9673d7d7493b6df549d5", - "balancerRelayer": "0xfea793aa415061c483d2390414275ad314b3f621", - "balancerTokenAdmin": "0xf302f9f50958c5593770fdf4d4812309ff77414f", - "balTokenHolderFactory": "0xb848f50141f3d4255b37ac288c25c109104f2158", - "batchRelayerLibrary": "0xf77018c0d817da22cadbdf504c00c0d32ce1e5c2", - "circuitBreakerLib": "0x4967b3353cdf9e5c67421a3890d35f2f3bb50527", - "composableStablePoolFactory": "0xfada0f4547ab2de89d1304a668c39b3e09aa7c76", - "distributionScheduler": "0xbd35248f8325dd1cb2bbf9d01e80a6bb99a792dd", - "doubleEntrypointFixRelayer": "0xca96c4f198d343e251b1a01f3eba061ef3da73c1", - "erc4626LinearPoolFactory": "0x813ee7a840ce909e7fea2117a44a90b8063bd4fd", - "eulerLinearPoolFactory": "0x5f43fba61f63fa6bff101a0a0458cea917f6b347", - "externalWeightedMath": "0x3db89f0ca3b388f2bcdbccd2ff8e13c22459cf75", - "feeDistributor": "0xd3cf852898b21fc233251427c2dc93d3d604f3bb", - "gaugeAdder": "0x5dbad78818d4c8958eff2d5b95b28385a22113cd", - "gaugeController": "0xc128468b7ce63ea702c1f104d55a2566b13d3abd", - "gaugeWorkingBalanceHelper": "0xdab2583911e872a00a851fb80dcc78a4b46ba57c", - "gearboxLinearPoolFactory": "0x39a79eb449fc05c92c39aa6f0e9bfac03be8de5b", - "gnosisRootGauge": "0x05277ce7d1e365d660624612d8b8b9b55bfd4518", - "gnosisRootGaugeFactory": "0x2a18b396829bc29f66a1e59fadd7a0269a6605e8", - "l2GaugeCheckpointer": "0x343688c5cb92115a52ca485af7f62b4b7a2e9ccc", - "liquidityGaugeFactory": "0xf1665e19bc105be4edd3739f88315cc699cc5b65", - "liquidityGaugeV5": "0xe5f96070ca00cd54795416b1a4b4c2403231c548", - "managedPoolAddRemoveTokenLib": "0x4148bf5b0688ed0a87f317c6534cb841f503349e", - "managedPoolAmmLib": "0xb37646acbb1a91287721b2cdbe01ba0dba5e57a2", - "managedPoolFactory": "0xbf904f9f340745b4f0c4702c7b6ab1e808ea6b93", - "merkleOrchard": "0xe3881627b8deebccf9c23b291430a549fc0be5f7", - "mockAaveLendingPool": "0x28fa1e40011adf98898e8243b2a48bb21ebf0c29", - "mockAaveLinearPool": "0x4ce277df0feb5b4d07a0ca2adcf5326e4005239d", - "mockComposableStablePool": "0x5537f945d8c3fcfdc1b8deceebd220fad26afda8", - "mockErc4626LinearPool": "0x9516a2d25958edb8da246a320f2c7d94a0dbe25d", - "mockErc4626Token": "0xb99edc4b289b0f2284fcf3f66884191bdce29624", - "mockEulerLinearPool": "0xdec02e6642e2c999af429f5ce944653cad15e093", - "mockEulerToken": "0xc101dca301a4011c1f925e9622e749e550a1b667", - "mockGearboxDieselToken": "0xb7a32b67aadb3866cc5c2fabc6c6ab8a9027c3c1", - "mockGearboxLinearPool": "0x0d05aac44ac7dd3c7ba5d50be93eb884a057d234", - "mockGearboxVault": "0xc7b779ab638b7a59f490ac95199502343a81e006", - "mockManagedPool": "0xd0cbf6765997b7ca7be6440f5e305b2ec7b96065", - "mockShareToken": "0x192e67544694a7baa2dea94f9b1df58bb3395a12", - "mockSilo": "0x66c94ae8d795e98f69ca65ffac87b38b17be3ca2", - "mockSiloLinearPool": "0x74cbfaf94a3577c539a9dcee9870a6349a33b34f", - "mockSiloRepository": "0x8e2dfc5e111dbe14e9d725210b9342688dd51c6c", - "mockStaticAToken": "0x1f3c910c416ed2340150281c5eb93325c38817a1", - "mockWeightedPool": "0x8055b8c947de30130bc1ec750c8f345a50006b23", - "mockYearnLinearPool": "0xac5b4ef7ede2f2843a704e96dcaa637f4ba3dc3f", - "mockYearnTokenVault": "0x806e02dea8d4a0882cad9fa3fa75b212328692de", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x0f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e", - "omniVotingEscrowAdaptor": "0x96484f2abf5e58b15176dbf1a799627b53f13b6d", - "optimismRootGauge": "0xbc230b1a66a138cd9cfc7b352390025978dfadde", - "optimismRootGaugeFactory": "0x866d4b65694c66fbfd15dd6fa933d0a6b3940a36", - "polygonRootGauge": "0xfeb1a24c2752e53576133cdb718f25bc64ebdd52", - "polygonRootGaugeFactory": "0xa98bce70c92ad2ef3288dbcd659bc0d6b62f8f13", - "polygonZkEvmRootGauge": "0x45bf48d996d22afc9bc150df7fb4d13a49088602", - "polygonZkEvmRootGaugeFactory": "0x9bf951848288ccd87d06fac426150262cd3447de", - "poolRecoveryHelper": "0x1b300c86980a5195bcf49bd419a068d98dc133db", - "preseededVotingEscrowDelegation": "0xb496ff44746a8693a060fafd984da41b253f6790", - "protocolFeePercentagesProvider": "0x97207b095e4d5c9a6e4cfbfcd2c3358e03b90c4a", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0x5ef4c5352882b10893b70dbcaa0c000965bd23c5", - "protocolIdRegistry": "0xc3ccace87f6d3a81724075adcb5ddd85a8a1bb68", - "recoveryModeHelper": "0x7827108af2fd9910ea7cf361d9b827941fa7d809", - "siloLinearPoolFactory": "0x4e11aeec21baf1660b1a46472963cb3da7811c89", - "singleRecipientGauge": "0xb2007b8b7e0260042517f635cfd8e6dd2dd7f007", - "singleRecipientGaugeFactory": "0x4fb47126fa83a8734991e41b942ac29a3266c968", - "smartWalletChecker": "0x7869296efd0a76872fee62a058c8fbca5c1c826c", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "veBoostV2": "0x67f8df125b796b05895a6dc8ecf944b9556ecb0b", - "votingEscrow": "0xc128a9954e6c874ea3d62ce62b468ba073093f25", - "votingEscrowDelegation": "0x2e96068b3d5b5bae3d7515da4a1d2e52d08a2647", - "votingEscrowDelegationProxy": "0x6f5a2ee11e7a772aeb5114a20d0d7c0ff61eb8a0", - "votingEscrowRemapper": "0x83e443ef4f9963c77bd860f94500075556668cb8", - "weightedPoolFactory": "0x897888115ada5773e02aa29f775430bfb5f34c51", - "weth": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", - "wstEthRateProvider": "0x72d07d7dca67b8a406ad1ec34ce969c90bfee768", - "yearnLinearPoolFactory": "0x5f5222ffa40f2aed6380d022184d6ea67c776ee0" - }, - "tokens": { - "AAVE": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9", - "aFEI": "0x683923db55fead99a79fa01a27eec3cb19679cc3", - "aFRAX": "0xd4937682df3c8aef4fe912a96a74121c0829e664", - "ALCX": "0xdbdb4d16eda451d0503b854cf79d55697f90c8df", - "alUSD": "0xbc6da0fe9ad5f3b0d58160288917aa56653660e9", - "ANGLE": "0x31429d1856ad1377a8a0079410b297e1a9e214c2", - "AURA": "0xc0c293ce456ff0ed870add98a0828dd4d2903dbf", - "AURABAL": "0x616e8bfa43f920657b3497dbf40d6b1a02d4608d", - "aUSDC": "0xbcca60bb61934080951369a648fb03df4f96263c", - "aUSDT": "0x3ed3b47dd13ec9a98b44e6204a523e766b225811", - "aWBTC": "0x9ff58f4ffb29fa2266ab25e75e2a8b3503311656", - "BADGER": "0x3472a5a71965499acd81997a54bba8d852c6e53d", - "BAL": "0xba100000625a3754423978a60c9317c58a424e3d", - "BalWeth8020": "0x5c6ee304399dbdb9c8ef030ab642b10820db8f56", - "bb_a_usd": "0xa13a9247ea42d743238089903570127dda72fe44", - "cDAI": "0x5d3a536e4d6dbd6114cc1ead35777bab948e3643", - "cETH": "0x4ddc2d193948926d02f9b1fe9e1daa0718270ed5", - "COMP": "0xc00e94cb662c3520282e6f5717214004a7f26888", - "CRV": "0xd533a949740bb3306d119cc777fa900ba034cd52", - "cUSDC": "0x39aa39c021dfbae8fac545936693ac917d5e7563", - "CVX": "0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b", - "cvxCRV": "0x62b9c7356a2dc64a1969e19c23e4f579f9810aa7", - "DAI": "0x6b175474e89094c44da98b954eedeac495271d0f", - "DIGG": "0x798d1be841a82a273720ce31c822c61a67a601c3", - "DUSD": "0x5bc25f649fc4e26069ddf4cf4010f9f706c23831", - "ENS": "0xc18360217d8f7ab5e7c516566761ea12ce7f9d72", - "EURS": "0xdb25f211ab05b1c97d595516f45794528a807ad8", - "FARM": "0xa0246c9032bc3a600820415ae600c6388619a14d", - "FEI": "0x956f47f50a910163d8bf957cf5846d573e7f87ca", - "FRAX": "0x853d955acef822db058eb8505911ed77f175b99e", - "FTM": "0x4e15361fd6b4bb609fa63c81a2be19d873717870", - "FXS": "0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0", - "GEAR": "0xba3335588d9403515223f109edc4eb7269a9ab5d", - "GTC": "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f", - "LINK": "0x514910771af9ca656af840dff83e8264ecf986ca", - "MIM": "0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3", - "renBTC": "0xeb4c2781e4eba804ce9a9803c67d0893436bb27d", - "RETH": "0xae78736cd615f374d3085123a210448e74fc6393", - "sBTC": "0xfe18be6b3bd88a2d2a7f928d00292e7a9963cfc6", - "SPELL": "0x090185f2135308bad17527004364ebcc2d37e5f6", - "stkAAVE": "0x4da27a545c0c5b758a6ba100e3a049001de870f5", - "SUSHI": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2", - "USDC": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", - "USDT": "0xdac17f958d2ee523a2206206994597c13d831ec7", - "WBTC": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", - "WETH": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", - "xSUSHI": "0x8798249c2e607446efb7ad49ec89dd1865ff4272" - } - }, - "4": { - "contracts": { - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "balancerHelpers": "0x5addcca35b7a0d07c74063c48700c8590e87864e", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x41b953164995c11c81da73d212ed8af25741b7ac", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8" - }, - "tokens": {} - }, - "5": { - "contracts": { - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0x5d90225de345ee24d1d2b6f45de90b056f5265a1", - "authorizerAdaptorEntrypoint": "0xacaac3e6d6df918bf3c809dfc7d42de0e4a72d4c", - "authorizerWithAdaptorValidation": "0x8ea89804145c007e7d226001a96955ad53836087", - "bal": "0xfa8449189744799ad2ace7e0ebac8bb7575eff47", - "balancerHelpers": "0x5addcca35b7a0d07c74063c48700c8590e87864e", - "balancerMinter": "0xdf0399539a72e2689b8b2dd53c3c2a0883879fdd", - "balancerQueries": "0xe39b5e3b6d74016b2f6a9673d7d7493b6df549d5", - "balancerRelayer": "0x03f1ab8b19bce21eb06c364aec9e40322572a1e9", - "balancerTokenAdmin": "0x0f32d7d830e20809bcb9071581a696135dd472b7", - "balTokenHolderFactory": "0x45e617b07021b97407367624648d1a0a358a751a", - "batchRelayerLibrary": "0x45ffd460cc6642b8d8fb12373dfd77ceb0f4932b", - "childChainGauge": "0x6b5da774890db7b7b96c6f44e6a4b0f657399e2e", - "childChainGaugeFactory": "0x7ba29fe8e83dd6097a7298075c4affdbda3121cc", - "childChainGaugeRewardHelper": "0xc128a9954e6c874ea3d62ce62b468ba073093f25", - "childChainGaugeTokenAdder": "0x55b18f514d7f0c6c886d0c23ac72df5d3b5f8850", - "childChainLiquidityGaugeFactory": "0x393b918cc2ffa238732e83dd4ee52343f57d767b", - "childChainStreamer": "0x5b5b72d76b68f4bb1d2a10ef0fc77711f8ec7ed0", - "circuitBreakerLib": "0x9129e834e15ea19b6069e8f08a8ecfc13686b8dc", - "composableStablePoolFactory": "0x1802953277fd955f9a254b80aa0582f193cf1d77", - "distributionScheduler": "0x05a0bf0540f346b6dac25550738343beb51c0f65", - "doubleEntrypointFixRelayer": "0xbe9458ab5b6f289e524410141c8d5e20a6b035fe", - "eulerLinearPoolFactory": "0x813ee7a840ce909e7fea2117a44a90b8063bd4fd", - "externalWeightedMath": "0xdf9b5b00ef9bca66e9902bd813db14e4343be025", - "feeDistributor": "0x42b67611b208e2e9b4cc975f6d74c87b865ae066", - "gaugeAdder": "0x3f170631ed9821ca51a59d996ab095162438dc10", - "gaugeController": "0xbb1ce49b16d55a1f2c6e88102f32144c7334b116", - "gaugeWorkingBalanceHelper": "0xa7d524046ef89de9f8e4f2d7b029f66ccb738d48", - "l2BalancerPseudoMinter": "0x81cfae226343b24ba12ec6521db2c79e7aeeb310", - "l2LayerZeroBridgeForwarder": "0xef44d6786b2b4d544b7850fe67ce6381626bf2d6", - "liquidityGaugeFactory": "0x3b8ca519122cdd8efb272b0d3085453404b25bd0", - "liquidityGaugeV5": "0x2e96068b3d5b5bae3d7515da4a1d2e52d08a2647", - "managedPoolAddRemoveTokenLib": "0xacf05be5134d64d150d153818f8c67ee36996650", - "managedPoolAmmLib": "0xa69e0ccf150a29369d8bbc0b3f510849db7e8eee", - "managedPoolFactory": "0x03f3fb107e74f2eac9358862e91ad3c692712054", - "merkleOrchard": "0x5cf4928a3205728bd12830e1840f7db85c62a4b9", - "mockComposableStablePool": "0x5d343d374a769d1ab102e0418a516dadb08a86e4", - "mockEulerLinearPool": "0x43fa2c00419f60e18966aa043debd4701cb91b6d", - "mockEulerToken": "0xb99edc4b289b0f2284fcf3f66884191bdce29624", - "mockManagedPool": "0xff79b51ec2934dd1810a8e0325e3b08708720b26", - "mockShareToken": "0xb8bdcbf8ccf443d055d5ffe1d8154fac8187fc94", - "mockSilo": "0xa7a7e22398622bf71ff31dae5355ec7843b13806", - "mockSiloLinearPool": "0xbbb66a4fff47701ec6c528db615f5e7bf1abdaaf", - "mockSiloRepository": "0x7153de1a6d71360f07017838c28deca0d6c03e2a", - "mockWeightedPool": "0x072ed560cc042d7ab1c080a9e4fa8c6f4858deb3", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0xb0c726778c3ae4b3454d85557a48e8fa502bdd6a", - "nullVotingEscrow": "0xa523f47a933d5020b23629ddf689695aa94612dc", - "omniVotingEscrowAdaptor": "0x83e443ef4f9963c77bd860f94500075556668cb8", - "poolRecoveryHelper": "0x1cbbe6cea5e4fe7d69c586b4e362a646deef105d", - "preseededVotingEscrowDelegation": "0x7af980bdbc36d21ce228efabcca35707566a2be5", - "protocolFeePercentagesProvider": "0x0f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0x85153b639a35d6e6cf8b291aca237fbe67377154", - "protocolIdRegistry": "0x4fb47126fa83a8734991e41b942ac29a3266c968", - "recoveryModeHelper": "0x300ab2038eac391f26d9f895dc61f8f66a548833", - "rewardsOnlyGauge": "0x40bd3faef4268ea40f4c372d7f0a44c3efaaa6b1", - "siloLinearPoolFactory": "0x30fd8a0f7009f50616afdab4af91a0a2ef4eae49", - "singleRecipientGauge": "0x0e9addc34f93bccb45d1f744b9f9301285c5b48f", - "singleRecipientGaugeFactory": "0xe3881627b8deebccf9c23b291430a549fc0be5f7", - "smartWalletChecker": "0x1b6df1ff5db99f8a8a04d38f7478bab056fa35a7", - "testBalancerToken": "0xfa8449189744799ad2ace7e0ebac8bb7575eff47", - "timelockAuthorizer": "0x70e26f740bad6a2cdd762e2478496268882c21d4", - "timelockAuthorizerMigrator": "0x7159c4b96bfcfca232355b55778e85cf9e245192", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "veBoostV2": "0xd13afc362f619b840c8f4aac1d957ce219ef37ca", - "votingEscrow": "0x33a99dcc4c85c014cf12626959111d5898bbcabf", - "votingEscrowDelegation": "0xcff73979321788d59a6170ff012730db2087f31c", - "votingEscrowDelegationProxy": "0x6817149cb753bf529565b4d023d7507ed2ff4bc0", - "votingEscrowRemapper": "0x5dbad78818d4c8958eff2d5b95b28385a22113cd", - "weightedPoolFactory": "0x230a59f4d9adc147480f03b0d3fffecd56c3289a", - "weth": "0xdfcea9088c8a88a76ff74892c1457c17dfeef9c1", - "wstEthRateProvider": "0x80a94f458491ca88f09767e58a92fd23cbf1196f" - }, - "tokens": {} - }, - "10": { - "contracts": { - "aaveLinearPoolFactory": "0x7396f99b48e7436b152427bfa3dd6aa8c7c6d05b", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0x8f42adbba1b16eaae3bb5754915e0d06059add75", - "authorizerAdaptorEntrypoint": "0xed86ff0c507d3af5f35d3523b77c17415fcffacb", - "authorizerWithAdaptorValidation": "0xacf05be5134d64d150d153818f8c67ee36996650", - "bal": "0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921", - "balancerHelpers": "0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9", - "balancerQueries": "0xe39b5e3b6d74016b2f6a9673d7d7493b6df549d5", - "balancerRelayer": "0x03f1ab8b19bce21eb06c364aec9e40322572a1e9", - "batchRelayerLibrary": "0x45ffd460cc6642b8d8fb12373dfd77ceb0f4932b", - "childChainGauge": "0x81cfae226343b24ba12ec6521db2c79e7aeeb310", - "childChainGaugeFactory": "0xa523f47a933d5020b23629ddf689695aa94612dc", - "childChainGaugeRewardHelper": "0x8ab784368a1883da90d8513b48801e2db1cb2d5d", - "childChainGaugeTokenAdder": "0x6f5a2ee11e7a772aeb5114a20d0d7c0ff61eb8a0", - "childChainLiquidityGaugeFactory": "0x2e96068b3d5b5bae3d7515da4a1d2e52d08a2647", - "childChainStreamer": "0x239e55f427d44c3cc793f49bfb507ebe76638a2b", - "circuitBreakerLib": "0x2498a2b0d6462d2260eac50ae1c3e03f4829ba95", - "composableStablePoolFactory": "0x1802953277fd955f9a254b80aa0582f193cf1d77", - "doubleEntrypointFixRelayer": "0x3b8ca519122cdd8efb272b0d3085453404b25bd0", - "erc4626LinearPoolFactory": "0x7adbdabaa80f654568421887c12f09e0c7bd9629", - "externalWeightedMath": "0x8df317a729fcaa260306d7de28888932cb579b88", - "gaugeWorkingBalanceHelper": "0x9129e834e15ea19b6069e8f08a8ecfc13686b8dc", - "l2BalancerPseudoMinter": "0x4fb47126fa83a8734991e41b942ac29a3266c968", - "l2LayerZeroBridgeForwarder": "0xbef13d1e54d0c79da8b0ad704883e1cea7eb2100", - "managedPoolAddRemoveTokenLib": "0x59562f93c447656f6e4799fc1fc7c3d977c3324f", - "managedPoolAmmLib": "0xded7fef7d8ecdcb74f22f0169e1a9ec696e6695d", - "managedPoolFactory": "0x4c32a8a8fda4e24139b51b456b42290f51d6a1c4", - "mockAaveLendingPool": "0x533a16f90e7d3ca31dbc608e5ec54967710f0d2a", - "mockAaveLinearPool": "0x45d37982784f022a9864748b4e8750e1e7019604", - "mockComposableStablePool": "0x11a4cf51bb0bb4d925cadfda61fcda952d64889c", - "mockErc4626LinearPool": "0x2da61ef3cdcb97efb0f7099c02527fabfe94dee5", - "mockErc4626Token": "0x4be0e4d6184348c5ba845a4010528cfc779610b8", - "mockManagedPool": "0xb4af4fdd49da2a2ba9522eadcf86d407a69f19c8", - "mockStaticAToken": "0x8b7854708c0c54f9d7d1ff351d4f84e6de0e134c", - "mockWeightedPool": "0x62f5f9a446d198e8e4c84ee56e5217416720edaf", - "mockYearnLinearPool": "0x34557ef500bfc060b8e3f2da58ef725bb7d32202", - "mockYearnTokenVault": "0xb15608d28eb43378a7e7780add3fe9bc132baf40", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0xf302f9f50958c5593770fdf4d4812309ff77414f", - "nullVotingEscrow": "0xc3ccace87f6d3a81724075adcb5ddd85a8a1bb68", - "poolRecoveryHelper": "0x26743984e3357efc59f2fd6c1afdc310335a61c9", - "protocolFeePercentagesProvider": "0xacaac3e6d6df918bf3c809dfc7d42de0e4a72d4c", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0xc128a9954e6c874ea3d62ce62b468ba073093f25", - "protocolIdRegistry": "0x9805dcfd25e6de36bad8fe9d3fe2c9b44b764102", - "recoveryModeHelper": "0x3b1eb8eb7b43882b385ab30533d9a2bef9052a98", - "rewardsOnlyGauge": "0xc128468b7ce63ea702c1f104d55a2566b13d3abd", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "veBoostV2": "0x6817149cb753bf529565b4d023d7507ed2ff4bc0", - "votingEscrowDelegationProxy": "0x9da18982a33fd0c7051b19f0d7c76f2d5e7e017c", - "weightedPoolFactory": "0x230a59f4d9adc147480f03b0d3fffecd56c3289a", - "weth": "0x4200000000000000000000000000000000000006", - "yearnLinearPoolFactory": "0x19dfef0a828eec0c85fbb335aa65437417390b85" - }, - "tokens": {} - }, - "42": { - "contracts": { - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0x97207b095e4d5c9a6e4cfbfcd2c3358e03b90c4a", - "balancerHelpers": "0x94905e703fead7f0fd0eee355d267ee909784e6d", - "balancerMinter": "0x1bbfa323155526f54eec458571bb5a75e0c41507", - "balancerTokenAdmin": "0xab093cd16e765b5b23d34030aafaf026558e0a19", - "balTokenHolderFactory": "0xa98bce70c92ad2ef3288dbcd659bc0d6b62f8f13", - "childChainLiquidityGaugeFactory": "0xf9ac7b9df2b3454e841110cce5550bd5ac6f875f", - "childChainStreamer": "0x4de578134995bea8480d7696946217f356339ab8", - "gaugeController": "0x35c425234dc42e7402f54cc54573f77842963a56", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x1b57f637ce3408f1f834b0b70f9a595b062daea7", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "rewardsOnlyGauge": "0x868543bb787317632f94fcfe8eb85406b123590c", - "testBalancerToken": "0xa2d801064652a269d92ee2a59f3261155ec66830", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "votingEscrow": "0x16ba924752ef283c7946db8a122a6742aa35c1dc", - "votingEscrowDelegation": "0xdc6d62ae091ea77331542042a72e5e38b188837c", - "votingEscrowDelegationProxy": "0x98d0d0a65cbeccaa647a5a95cf27cf2f00e1231c", - "wstEthRateProvider": "0xd7fad3bd59d6477cbe1be7f646f7f1ba25b230f8" - }, - "tokens": {} - }, - "100": { - "contracts": { - "aaveLinearPoolFactory": "0x62aab12865d7281048c337d53a4dde9d770321e6", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0x5addcca35b7a0d07c74063c48700c8590e87864e", - "authorizerAdaptorEntrypoint": "0x8f42adbba1b16eaae3bb5754915e0d06059add75", - "authorizerWithAdaptorValidation": "0x03f3fb107e74f2eac9358862e91ad3c692712054", - "bal": "0x7ef541e2a22058048904fe5744f9c7e4c57af717", - "balancerHelpers": "0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9", - "balancerQueries": "0x0f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e", - "balancerRelayer": "0x3536fd480ca495ac91e698a703248a8915c137a3", - "batchRelayerLibrary": "0xb9ad3466cdd42015cc05d4804dc68d562b6a2065", - "childChainGauge": "0x96484f2abf5e58b15176dbf1a799627b53f13b6d", - "childChainGaugeFactory": "0x83e443ef4f9963c77bd860f94500075556668cb8", - "childChainGaugeRewardHelper": "0xf7d5dce55e6d47852f054697bab6a1b48a00ddbd", - "childChainGaugeTokenAdder": "0x1802953277fd955f9a254b80aa0582f193cf1d77", - "childChainLiquidityGaugeFactory": "0x809b79b53f18e9bc08a961ed4678b901ac93213a", - "childChainStreamer": "0x230a59f4d9adc147480f03b0d3fffecd56c3289a", - "circuitBreakerLib": "0x54f8f9d28e26fa5864cfa80f50a5df95fd85f46a", - "composableStablePoolFactory": "0xd87f44df0159dc78029ab9ca7d7e57e7249f5acd", - "externalWeightedMath": "0x9129e834e15ea19b6069e8f08a8ecfc13686b8dc", - "gaugeWorkingBalanceHelper": "0x682f0ddbfd41d1272982f64a499fb62d80e27589", - "l2BalancerPseudoMinter": "0xa8920455934da4d853faac1f94fe7bef72943ef1", - "l2LayerZeroBridgeForwarder": "0xeb151668006cd04dadd098afd0a82e78f77076c3", - "managedPoolAddRemoveTokenLib": "0x4c32a8a8fda4e24139b51b456b42290f51d6a1c4", - "managedPoolAmmLib": "0xacf05be5134d64d150d153818f8c67ee36996650", - "managedPoolFactory": "0xdf9b5b00ef9bca66e9902bd813db14e4343be025", - "mockAaveLendingPool": "0x040dba12bb3d5c0a73ddfe84c220be3ddba06966", - "mockAaveLinearPool": "0x1ac55c31dac78ca943cb8ebfca5945ce09e036e2", - "mockComposableStablePool": "0xf3678a0b54c61ccd88ce321c2e07f87ac75f08b9", - "mockManagedPool": "0xc061361fda32ff5b65f7d98acc9a87349d3f0768", - "mockStaticAToken": "0x35d8f4a4c0e95f3d925cb4cbbbf513a0172ed8a4", - "mockWeightedPool": "0xd8752f9b0a2c2813796abd2be212a32ffd656ef1", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x85a80afee867adf27b50bdb7b76da70f1e853062", - "nullVotingEscrow": "0x013d4382f291be5688afbcc741ee8a24c66b2c92", - "poolRecoveryHelper": "0xc3ccace87f6d3a81724075adcb5ddd85a8a1bb68", - "protocolFeePercentagesProvider": "0x41b953164995c11c81da73d212ed8af25741b7ac", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0xdae7e32adc5d490a43ccba1f0c736033f2b4efca", - "protocolIdRegistry": "0x6b5da774890db7b7b96c6f44e6a4b0f657399e2e", - "recoveryModeHelper": "0xa69e0ccf150a29369d8bbc0b3f510849db7e8eee", - "rewardsOnlyGauge": "0x45ffd460cc6642b8d8fb12373dfd77ceb0f4932b", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "veBoostV2": "0x5dbad78818d4c8958eff2d5b95b28385a22113cd", - "votingEscrowDelegationProxy": "0x7a2535f5fb47b8e44c02ef5d9990588313fe8f05", - "weightedPoolFactory": "0x6cad2ea22bfa7f4c14aae92e47f510cd5c509bc7", - "weth": "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d" - }, - "tokens": {} - }, - "137": { - "contracts": { - "aaveLinearPoolFactory": "0xab2372275809e15198a7968c7f324053867cdb0c", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0xc128468b7ce63ea702c1f104d55a2566b13d3abd", - "authorizerAdaptorEntrypoint": "0xab093cd16e765b5b23d34030aafaf026558e0a19", - "authorizerWithAdaptorValidation": "0x020301b0a99efb6816b41007765fb577259ec418", - "bal": "0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3", - "balancerHelpers": "0x239e55f427d44c3cc793f49bfb507ebe76638a2b", - "balancerQueries": "0xe39b5e3b6d74016b2f6a9673d7d7493b6df549d5", - "balancerRelayer": "0xd18d5d377eb23362e54fa496597d7e962d56c554", - "batchRelayerLibrary": "0x4271de2595c3d85d2d455c5778adf2d7ad54322c", - "childChainGauge": "0xc9b36096f5201ea332db35d6d195774ea0d5988f", - "childChainGaugeFactory": "0x22625eedd92c81a219a83e1dc48f88d54786b017", - "childChainGaugeRewardHelper": "0xaeb406b0e430bf5ea2dc0b9fe62e4e53f74b3a33", - "childChainGaugeTokenAdder": "0x1554ee754707d5c93b7934af404747aba521aaf2", - "childChainLiquidityGaugeFactory": "0x3b8ca519122cdd8efb272b0d3085453404b25bd0", - "childChainStreamer": "0x6f5a2ee11e7a772aeb5114a20d0d7c0ff61eb8a0", - "circuitBreakerLib": "0xedfd0a7005a7c72c44ff13bea370c86a9d11bee1", - "composableStablePoolFactory": "0x6ab5549bbd766a43afb687776ad8466f8b42f777", - "doubleEntrypointFixRelayer": "0x79d0011892fe558fc5a4ec7d4ca5db59069f460f", - "erc4626LinearPoolFactory": "0x5c5fcf8fbd4cd563ced27e7d066b88ee20e1867a", - "externalWeightedMath": "0x72ebafddc4c7d3eb702c81295d90a8b29f008a03", - "gaugeWorkingBalanceHelper": "0x08fd003d8f1892d4ec684e6c3ee0128081be461b", - "l2BalancerPseudoMinter": "0x47b489bf5836f83abd928c316f8e39bc0587b020", - "l2LayerZeroBridgeForwarder": "0xb98f54a74590a6e681ff664b2fa22ebffe1a929e", - "managedPoolAddRemoveTokenLib": "0xf553bf40db86c35f3058434039d51aad29c6180b", - "managedPoolAmmLib": "0xcefd59eedafa9ee8ccda1aaf944088e68b5bd890", - "managedPoolFactory": "0xb8dfa4fd0f083de2b7edc0d5eed5e684e54ba45d", - "merkleOrchard": "0xc3ccace87f6d3a81724075adcb5ddd85a8a1bb68", - "mockAaveLendingPool": "0x0df6bb26533eb86f371b1f70eecdd955420523c6", - "mockAaveLinearPool": "0x0889b240a5876aae745ac19f1771853671dc5d36", - "mockComposableStablePool": "0x0f25823cf786b78696b16536e2f2b9835289ab51", - "mockErc4626LinearPool": "0xc55ec796a4debe625d95436a3531f4950b11bdcf", - "mockErc4626Token": "0x19dfef0a828eec0c85fbb335aa65437417390b85", - "mockManagedPool": "0x074efd7806e6c28e8b6611075b1aa62c6c408090", - "mockStaticAToken": "0xe72b2780d3c57f781bd4e8572e200cd7e9a447c2", - "mockWeightedPool": "0xb77e03655ee894aade216a83d05511a9f9895126", - "mockYearnLinearPool": "0xdae301690004946424e41051ace1791083be42a1", - "mockYearnTokenVault": "0x28fa1e40011adf98898e8243b2a48bb21ebf0c29", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x41b953164995c11c81da73d212ed8af25741b7ac", - "nullVotingEscrow": "0x1311fbc9f60359639174c1e7cc2032dbdb5cc4d1", - "poolRecoveryHelper": "0x495f696430f4a51f7fcb98fbe68a9cb7a07fb1ba", - "protocolFeePercentagesProvider": "0x42ac0e6fa47385d55aff070d79ef0079868c48a6", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0xef44d6786b2b4d544b7850fe67ce6381626bf2d6", - "protocolIdRegistry": "0xa523f47a933d5020b23629ddf689695aa94612dc", - "recoveryModeHelper": "0x1eb79551ca0e83ec145608bc39a0c7f10ca21aa5", - "rewardsOnlyGauge": "0x2e96068b3d5b5bae3d7515da4a1d2e52d08a2647", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "veBoostV2": "0xd961e30156c2e0d0d925a0de45f931cb7815e970", - "votingEscrowDelegationProxy": "0x0f08eef2c785aa5e7539684af04755dec1347b7c", - "weightedPoolFactory": "0xfc8a407bba312ac761d8bfe04ce1201904842b76", - "weth": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270", - "yearnLinearPoolFactory": "0x0b576c1245f479506e7c8bbc4db4db07c1cd31f9" - }, - "tokens": { - "BAL": "0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3", - "USDC": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174", - "WBTC": "0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6", - "WETH": "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619", - "WMATIC": "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270" - } - }, - "1101": { - "contracts": { - "aaveLinearPoolFactory": "0x4b7b369989e613ff2c65768b7cf930cc927f901e", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0xdcdbf71a870cc60c6f9b621e28a7d3ffd6dd4965", - "authorizerAdaptorEntrypoint": "0xb9ad3466cdd42015cc05d4804dc68d562b6a2065", - "authorizerWithAdaptorValidation": "0x8df317a729fcaa260306d7de28888932cb579b88", - "bal": "0x120ef59b80774f02211563834d8e3b72cb1649d6", - "balancerHelpers": "0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9", - "balancerQueries": "0x809b79b53f18e9bc08a961ed4678b901ac93213a", - "balancerRelayer": "0x4678731dc41142a902a114ac5b2f77b63f4a259d", - "batchRelayerLibrary": "0x54f8f9d28e26fa5864cfa80f50a5df95fd85f46a", - "childChainGauge": "0x59562f93c447656f6e4799fc1fc7c3d977c3324f", - "childChainGaugeFactory": "0x2498a2b0d6462d2260eac50ae1c3e03f4829ba95", - "circuitBreakerLib": "0x9129e834e15ea19b6069e8f08a8ecfc13686b8dc", - "composableStablePoolFactory": "0x8ea89804145c007e7d226001a96955ad53836087", - "erc4626LinearPoolFactory": "0x6b1da720be2d11d95177ccfc40a917c2688f396c", - "externalWeightedMath": "0xdf9b5b00ef9bca66e9902bd813db14e4343be025", - "gaugeWorkingBalanceHelper": "0xef454a7b3f965d3f6723e462405246f8cd865425", - "gearboxLinearPoolFactory": "0x687b8c9b41e01be8b591725fac5d5f52d0564d79", - "l2BalancerPseudoMinter": "0x475d18169be8a89357a9ee3ab00ca386d20fa229", - "l2LayerZeroBridgeForwarder": "0xded7fef7d8ecdcb74f22f0169e1a9ec696e6695d", - "managedPoolAddRemoveTokenLib": "0xacf05be5134d64d150d153818f8c67ee36996650", - "managedPoolAmmLib": "0xa69e0ccf150a29369d8bbc0b3f510849db7e8eee", - "managedPoolFactory": "0xaf779e58dafb4307b998c7b3c9d3f788dfc80632", - "mockAaveLendingPool": "0x161f4014c27773840ccb4ec1957113e6dd028846", - "mockAaveLinearPool": "0xbfd65c6160cfd638a85c645e6e6d8acac5dac935", - "mockComposableStablePool": "0x6f5f794a3cef904b8517c4c311de2fa837ff24a0", - "mockErc4626LinearPool": "0xac4b72c01072a52b73ca71105504f1372efcce0d", - "mockErc4626Token": "0x0c6052254551eae3ecac77b01dfcf1025418828f", - "mockGearboxDieselToken": "0x698caed853be9cea96c268f565e2b61d3b2bcda4", - "mockGearboxLinearPool": "0x32f03464fdf909fdf3798f87ff3712b10c59bd86", - "mockGearboxVault": "0x88ed12a90142fdbfe2a28f7d5b48927254c7e760", - "mockLiquidityBootstrappingPool": "0x3c87ff3e9307dbebfae720e04c6439e49f79bf9b", - "mockManagedPool": "0x522ee506a2f63d0ae1d79d6f5dbd9d0bca32c866", - "mockStaticAToken": "0x4638ab64022927c9bd5947607459d13f57f1551c", - "mockWeightedPool": "0x78385153d2f356c87001f09bb5424137c618d38b", - "mockYearnLinearPool": "0x02c9dcb975262719a61f9b40bdf0987ead9add3a", - "mockYearnTokenVault": "0xdbf7b9f1d2bfba14e42709f84dda3187ee410e38", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x3b1eb8eb7b43882b385ab30533d9a2bef9052a98", - "nullVotingEscrow": "0xd87f44df0159dc78029ab9ca7d7e57e7249f5acd", - "poolRecoveryHelper": "0xf7d5dce55e6d47852f054697bab6a1b48a00ddbd", - "protocolFeePercentagesProvider": "0x1802953277fd955f9a254b80aa0582f193cf1d77", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0x230a59f4d9adc147480f03b0d3fffecd56c3289a", - "protocolIdRegistry": "0x6cad2ea22bfa7f4c14aae92e47f510cd5c509bc7", - "recoveryModeHelper": "0x300ab2038eac391f26d9f895dc61f8f66a548833", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "votingEscrowDelegationProxy": "0xc7e5ed1054a24ef31d827e6f86caa58b3bc168d7", - "weightedPoolFactory": "0x03f3fb107e74f2eac9358862e91ad3c692712054", - "weth": "0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9", - "yearnLinearPoolFactory": "0x44d33798dddcdabc93fe6a40c80588033dc502d3" - }, - "tokens": {} - }, - "8453": { - "contracts": { - "aaveLinearPoolFactory": "0x687b8c9b41e01be8b591725fac5d5f52d0564d79", - "authorizer": "0x809b79b53f18e9bc08a961ed4678b901ac93213a", - "authorizerAdaptor": "0x6cad2ea22bfa7f4c14aae92e47f510cd5c509bc7", - "authorizerAdaptorEntrypoint": "0x9129e834e15ea19b6069e8f08a8ecfc13686b8dc", - "authorizerWithAdaptorValidation": "0xa69e0ccf150a29369d8bbc0b3f510849db7e8eee", - "bal": "0x4158734d47fc9692176b5085e0f52ee0da5d47f1", - "balancerHelpers": "0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9", - "balancerQueries": "0x300ab2038eac391f26d9f895dc61f8f66a548833", - "balancerRelayer": "0x76f7204b62f554b79d444588edac9dfa7032c71a", - "batchRelayerLibrary": "0xdf9b5b00ef9bca66e9902bd813db14e4343be025", - "childChainGauge": "0x59562f93c447656f6e4799fc1fc7c3d977c3324f", - "childChainGaugeFactory": "0x2498a2b0d6462d2260eac50ae1c3e03f4829ba95", - "circuitBreakerLib": "0xef454a7b3f965d3f6723e462405246f8cd865425", - "composableStablePoolFactory": "0x8df317a729fcaa260306d7de28888932cb579b88", - "erc4626LinearPoolFactory": "0x161f4014c27773840ccb4ec1957113e6dd028846", - "externalWeightedMath": "0x7920bfa1b2041911b354747ca7a6cdd2dfc50cfd", - "gaugeWorkingBalanceHelper": "0xa7d524046ef89de9f8e4f2d7b029f66ccb738d48", - "gearboxLinearPoolFactory": "0x9dd32684176638d977883448a4c914311c07bd62", - "l2BalancerPseudoMinter": "0xc7e5ed1054a24ef31d827e6f86caa58b3bc168d7", - "l2LayerZeroBridgeForwarder": "0x8ea89804145c007e7d226001a96955ad53836087", - "managedPoolAddRemoveTokenLib": "0xb19382073c7a0addbb56ac6af1808fa49e377b75", - "managedPoolAmmLib": "0x7d2248f194755dca9a1887099394f39476d28c9a", - "managedPoolFactory": "0x9a62c91626d39d0216b3959112f9d4678e20134d", - "mockAaveLendingPool": "0x88ed12a90142fdbfe2a28f7d5b48927254c7e760", - "mockAaveLinearPool": "0x712e23a9b91aa30ee7997d1c7a1a285d4c7912d1", - "mockComposableStablePool": "0x7f6e9d6a4093af9d09bae92d24bfe42fc5369ae6", - "mockErc4626LinearPool": "0x1cc2e10c486ffb7228810b9c7c183d0cd92cdf44", - "mockErc4626Token": "0x4638ab64022927c9bd5947607459d13f57f1551c", - "mockGearboxDieselToken": "0xb521dd5c8e13fe202626cac98873fea2b7760ce4", - "mockGearboxLinearPool": "0x3c28a59356b473847aaa5e0b6f561636079213a6", - "mockGearboxVault": "0x79e435875ccee3cd9e8da23fe34f9a011d05ea6c", - "mockLiquidityBootstrappingPool": "", - "mockManagedPool": "0xe50ad96af9370d05d3c1ce85f17c31557b29c4ee", - "mockStaticAToken": "0x698caed853be9cea96c268f565e2b61d3b2bcda4", - "mockWeightedPool": "0xd9dbbfaa703f3c33838365ae00fe4eb22cdf8d46", - "mockYearnLinearPool": "0x369877467fc3b6774de4e11e0c0abbde70eb40fd", - "mockYearnTokenVault": "0xdbf7b9f1d2bfba14e42709f84dda3187ee410e38", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x0c6052254551eae3ecac77b01dfcf1025418828f", - "nullVotingEscrow": "0x475d18169be8a89357a9ee3ab00ca386d20fa229", - "poolRecoveryHelper": "0x03f3fb107e74f2eac9358862e91ad3c692712054", - "protocolFeePercentagesProvider": "0xded7fef7d8ecdcb74f22f0169e1a9ec696e6695d", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0xacf05be5134d64d150d153818f8c67ee36996650", - "protocolIdRegistry": "0x682f0ddbfd41d1272982f64a499fb62d80e27589", - "recoveryModeHelper": "0x313a8d36b1d90a4cba3a505fdc3480c3870be053", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "votingEscrowDelegationProxy": "0xd87f44df0159dc78029ab9ca7d7e57e7249f5acd", - "weightedPoolFactory": "0x4c32a8a8fda4e24139b51b456b42290f51d6a1c4", - "weth": "0x4200000000000000000000000000000000000006", - "yearnLinearPoolFactory": "0x44d33798dddcdabc93fe6a40c80588033dc502d3" - }, - "tokens": {} - }, - "42161": { - "contracts": { - "aaveLinearPoolFactory": "0x7396f99b48e7436b152427bfa3dd6aa8c7c6d05b", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0x0f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e", - "authorizerAdaptorEntrypoint": "0x97207b095e4d5c9a6e4cfbfcd2c3358e03b90c4a", - "authorizerWithAdaptorValidation": "0x6b1da720be2d11d95177ccfc40a917c2688f396c", - "bal": "0x040d1edc9569d4bab2d15287dc5a4f10f56a56b8", - "balancerHelpers": "0x77d46184d22ca6a3726a2f500c776767b6a3d6ab", - "balancerQueries": "0xe39b5e3b6d74016b2f6a9673d7d7493b6df549d5", - "balancerRelayer": "0x598ce0f1ab64b27256759ef99d883ee51138b9bd", - "batchRelayerLibrary": "0xd87f44df0159dc78029ab9ca7d7e57e7249f5acd", - "childChainGauge": "0xa523f47a933d5020b23629ddf689695aa94612dc", - "childChainGaugeFactory": "0x6817149cb753bf529565b4d023d7507ed2ff4bc0", - "childChainGaugeRewardHelper": "0xa0dabebaad1b243bbb243f933013d560819eb66f", - "childChainGaugeTokenAdder": "0xbfd9769b061e57e478690299011a028194d66e3c", - "childChainLiquidityGaugeFactory": "0xb08e16cfc07c684daa2f93c70323badb2a6cbfd2", - "childChainStreamer": "0xd7fad3bd59d6477cbe1be7f646f7f1ba25b230f8", - "circuitBreakerLib": "0xdf9b5b00ef9bca66e9902bd813db14e4343be025", - "composableStablePoolFactory": "0x2498a2b0d6462d2260eac50ae1c3e03f4829ba95", - "doubleEntrypointFixRelayer": "0x8e5698dc4897dc12243c8642e77b4f21349db97c", - "erc4626LinearPoolFactory": "0x7adbdabaa80f654568421887c12f09e0c7bd9629", - "externalWeightedMath": "0x03f3fb107e74f2eac9358862e91ad3c692712054", - "gaugeWorkingBalanceHelper": "0xea924b45a3fcdaadf4e5cfb1665823b8f8f2039b", - "l2BalancerPseudoMinter": "0xc3ccace87f6d3a81724075adcb5ddd85a8a1bb68", - "l2LayerZeroBridgeForwarder": "0x12ca9de662a7bf5dc89e034a5083ef751b08ede7", - "managedPoolAddRemoveTokenLib": "0xa69e0ccf150a29369d8bbc0b3f510849db7e8eee", - "managedPoolAmmLib": "0x300ab2038eac391f26d9f895dc61f8f66a548833", - "managedPoolFactory": "0x8ea89804145c007e7d226001a96955ad53836087", - "merkleOrchard": "0x9805dcfd25e6de36bad8fe9d3fe2c9b44b764102", - "mockAaveLendingPool": "0x533a16f90e7d3ca31dbc608e5ec54967710f0d2a", - "mockAaveLinearPool": "0x19b1c92631405a0a9495ccba0becf4f2e8e908bd", - "mockComposableStablePool": "0xff7e6b102516e071dcda763ee9d02c1515481db5", - "mockErc4626LinearPool": "0x3f53a862919ccfa023cb6ace91378a79fb0f6bf5", - "mockErc4626Token": "0x4be0e4d6184348c5ba845a4010528cfc779610b8", - "mockManagedPool": "0xf5a71257b331c02da1eae52151c3d600f16b76f0", - "mockStaticAToken": "0x8b7854708c0c54f9d7d1ff351d4f84e6de0e134c", - "mockWeightedPool": "0x129c6402ff88611aa59bf2e14b39e091822e2c9c", - "mockYearnLinearPool": "0x1fa7f727934226aedab636d62a084931b97d366b", - "mockYearnTokenVault": "0xb15608d28eb43378a7e7780add3fe9bc132baf40", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x1802953277fd955f9a254b80aa0582f193cf1d77", - "nullVotingEscrow": "0x9da18982a33fd0c7051b19f0d7c76f2d5e7e017c", - "poolRecoveryHelper": "0xb5e56cc3d2e38e53b1166175c59e921a37cdc1e2", - "protocolFeePercentagesProvider": "0x5ef4c5352882b10893b70dbcaa0c000965bd23c5", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0x70bbd023481788e443472e123ab963e5ebf58d06", - "protocolIdRegistry": "0x5cf4928a3205728bd12830e1840f7db85c62a4b9", - "recoveryModeHelper": "0x682f0ddbfd41d1272982f64a499fb62d80e27589", - "rewardsOnlyGauge": "0x41b953164995c11c81da73d212ed8af25741b7ac", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "veBoostV2": "0x6b5da774890db7b7b96c6f44e6a4b0f657399e2e", - "votingEscrowDelegationProxy": "0x81cfae226343b24ba12ec6521db2c79e7aeeb310", - "weightedPoolFactory": "0xc7e5ed1054a24ef31d827e6f86caa58b3bc168d7", - "weth": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1", - "yearnLinearPoolFactory": "0x19dfef0a828eec0c85fbb335aa65437417390b85" - }, - "tokens": { - "BADGER": "0xbfa641051ba0a0ad1b0acf549a89536a0d76472e", - "CRV": "0x11cdb42b0eb46d95f990bedd4695a6e3fa034978", - "LDO": "0x13ad51ed4f1b7e9dc168d8a00cb3f4ddd85efa60", - "renBTC": "0xdbf31df14b66535af65aac99c32e9ea844e14501", - "SUSHI": "0xd4d42f0b6def4ce0383636770ef773390d85c61a", - "USDC": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8", - "USDT": "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9", - "WBTC": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f", - "WETH": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1" - } - }, - "43114": { - "contracts": { - "aaveLinearPoolFactory": "0x6caf662b573f577de01165d2d38d1910bba41f8a", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0xdae7e32adc5d490a43ccba1f0c736033f2b4efca", - "authorizerAdaptorEntrypoint": "0x4e7bbd911cf1efa442bc1b2e9ea01ffe785412ec", - "authorizerWithAdaptorValidation": "0x8df317a729fcaa260306d7de28888932cb579b88", - "bal": "0xe15bcb9e0ea69e6ab9fa080c4c4a5632896298c3", - "balancerHelpers": "0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9", - "balancerQueries": "0xc128468b7ce63ea702c1f104d55a2566b13d3abd", - "balancerRelayer": "0x03f1ab8b19bce21eb06c364aec9e40322572a1e9", - "batchRelayerLibrary": "0x45ffd460cc6642b8d8fb12373dfd77ceb0f4932b", - "childChainGauge": "0x4b7b369989e613ff2c65768b7cf930cc927f901e", - "childChainGaugeFactory": "0x161f4014c27773840ccb4ec1957113e6dd028846", - "childChainGaugeRewardHelper": "0x2e96068b3d5b5bae3d7515da4a1d2e52d08a2647", - "childChainGaugeTokenAdder": "0xf302f9f50958c5593770fdf4d4812309ff77414f", - "childChainLiquidityGaugeFactory": "0xb08e16cfc07c684daa2f93c70323badb2a6cbfd2", - "childChainStreamer": "0xd7fad3bd59d6477cbe1be7f646f7f1ba25b230f8", - "circuitBreakerLib": "0x9129e834e15ea19b6069e8f08a8ecfc13686b8dc", - "composableStablePoolFactory": "0x3b1eb8eb7b43882b385ab30533d9a2bef9052a98", - "distributionScheduler": "0xc128a9954e6c874ea3d62ce62b468ba073093f25", - "erc4626LinearPoolFactory": "0x4507d91cd2c0d51d9b4f30bf0b93afc938a70ba5", - "externalWeightedMath": "0xdf9b5b00ef9bca66e9902bd813db14e4343be025", - "gaugeWorkingBalanceHelper": "0x687b8c9b41e01be8b591725fac5d5f52d0564d79", - "l2BalancerPseudoMinter": "0xea924b45a3fcdaadf4e5cfb1665823b8f8f2039b", - "l2LayerZeroBridgeForwarder": "0x4638ab64022927c9bd5947607459d13f57f1551c", - "managedPoolAddRemoveTokenLib": "0xacf05be5134d64d150d153818f8c67ee36996650", - "managedPoolAmmLib": "0xa69e0ccf150a29369d8bbc0b3f510849db7e8eee", - "managedPoolFactory": "0x03f3fb107e74f2eac9358862e91ad3c692712054", - "mockAaveLendingPool": "0x57ea28a99394978d060e483477c0fd9fb9afa96c", - "mockAaveLinearPool": "0xa826a114b0c7db4d1ff4a4be845a78998c64564c", - "mockComposableStablePool": "0xea4643102dfc03d5e382e7827bf767f6587e9965", - "mockErc4626LinearPool": "0xed3e2f496cbcd8e212192fb8d1499842f04a0d19", - "mockErc4626Token": "0x2ebe41e1aa44d61c206a94474932dadc7d3fd9e3", - "mockManagedPool": "0x3fb81f6fb0dd94c6fc7e138887f1ca4cdb5e2999", - "mockStaticAToken": "0xd8b6b96c88ad626eb6209c4876e3b14f45f8803a", - "mockWeightedPool": "0xb2b5b452d53401391155ea48c4451f6e9b0dd058", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x0f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e", - "nullVotingEscrow": "0x6b1da720be2d11d95177ccfc40a917c2688f396c", - "poolRecoveryHelper": "0x3b8ca519122cdd8efb272b0d3085453404b25bd0", - "protocolFeePercentagesProvider": "0x239e55f427d44c3cc793f49bfb507ebe76638a2b", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0x8f42adbba1b16eaae3bb5754915e0d06059add75", - "recoveryModeHelper": "0x300ab2038eac391f26d9f895dc61f8f66a548833", - "rewardsOnlyGauge": "0x41b953164995c11c81da73d212ed8af25741b7ac", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "votingEscrowDelegationProxy": "0x0c6052254551eae3ecac77b01dfcf1025418828f", - "weightedPoolFactory": "0x230a59f4d9adc147480f03b0d3fffecd56c3289a", - "weth": "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7" - }, - "tokens": {} - }, - "11155111": { - "contracts": { - "aaveLinearPoolFactory": "0xdf9b5b00ef9bca66e9902bd813db14e4343be025", - "authorizer": "0xa331d84ec860bf466b4cdccfb4ac09a1b43f3ae6", - "authorizerAdaptor": "0xdcdbf71a870cc60c6f9b621e28a7d3ffd6dd4965", - "authorizerAdaptorEntrypoint": "0xb9ad3466cdd42015cc05d4804dc68d562b6a2065", - "authorizerWithAdaptorValidation": "0xb521dd5c8e13fe202626cac98873fea2b7760ce4", - "bal": "0xb19382073c7a0addbb56ac6af1808fa49e377b75", - "balancerHelpers": "0xdae7e32adc5d490a43ccba1f0c736033f2b4efca", - "balancerMinter": "0x1783cd84b3d01854a96b4ed5843753c2ccbd574a", - "balancerQueries": "0x1802953277fd955f9a254b80aa0582f193cf1d77", - "balancerRelayer": "0x6d5342d716c13d9a3f072a2b11498624ade27f90", - "balancerTokenAdmin": "0x7d2248f194755dca9a1887099394f39476d28c9a", - "balTokenHolderFactory": "0xef454a7b3f965d3f6723e462405246f8cd865425", - "batchRelayerLibrary": "0x5f6848976c2914403b425f18b589a65772f082e3", - "childChainGauge": "0xc49ca921c4cd1117162eaeec0ee969649997950c", - "childChainGaugeFactory": "0xc370cd86d5488c1788b62f11b09adb0c47f47440", - "circuitBreakerLib": "0x4c0c450bedb9282a7a54fcb316c285e85a8c0265", - "composableStablePoolFactory": "0xa3fd20e29358c056b727657e83dfd139abbc9924", - "erc4626LinearPoolFactory": "0x59562f93c447656f6e4799fc1fc7c3d977c3324f", - "externalWeightedMath": "0x8246e571d88acd1346179cc3641de87fe3544d7a", - "feeDistributor": "0xa6971317fb06c76ef731601c64433a4846fca707", - "gaugeAdder": "0xe42ffa682a26ef8f25891db4882932711d42e467", - "gaugeController": "0x577e5993b9cc480f07f98b5ebd055604bd9071c4", - "gaugeWorkingBalanceHelper": "0x2e4abed3362a622c5f712bb183005a476b146bd3", - "gearboxLinearPoolFactory": "0x8df317a729fcaa260306d7de28888932cb579b88", - "l2BalancerPseudoMinter": "0xb51f7ffc97cedfb6922e8b9bbf3ef7575fafd630", - "l2LayerZeroBridgeForwarder": "0xc7e5ed1054a24ef31d827e6f86caa58b3bc168d7", - "liquidityGaugeFactory": "0x2ff226cd12c80511a641a6101f071d853a4e5363", - "liquidityGaugeV5": "0x82416ce6ea7dd4923d4a3ed70a79b4a432a382c4", - "managedPoolAddRemoveTokenLib": "0xc7416e4f3715467ddcf28dc409a9483b2e4d4f43", - "managedPoolAmmLib": "0xa30ade89e6af5b0ca515cd78e44f9ad0c63989b2", - "managedPoolFactory": "0x63e179c5b6d54b2c2e36b9ce4085ef5a8c86d50c", - "mockAaveLendingPool": "0x300ab2038eac391f26d9f895dc61f8f66a548833", - "mockAaveLinearPool": "0xe4efd99f3c03778ba913eb578c599329634e2bd7", - "mockComposableStablePool": "0xa8d865fe1d68a405b29f884358468c9b52d4841d", - "mockErc4626LinearPool": "0x0c2ead6f2dc2a9385187023f4cec5925337b330f", - "mockErc4626Token": "0x2498a2b0d6462d2260eac50ae1c3e03f4829ba95", - "mockGearboxDieselToken": "0x4c32a8a8fda4e24139b51b456b42290f51d6a1c4", - "mockGearboxLinearPool": "0x112a7b7ca66e6963c49bc523a415f7d8cdb806b9", - "mockGearboxVault": "0x3b1eb8eb7b43882b385ab30533d9a2bef9052a98", - "mockLiquidityBootstrappingPool": "0xe90472ffc41d7ddf8e3b456bba748e3f22c59c6f", - "mockManagedPool": "0xe458224ca8d6605c87b73e92aa5cb7a4e77770f3", - "mockShareToken": "0x0c6052254551eae3ecac77b01dfcf1025418828f", - "mockSilo": "0x6b1da720be2d11d95177ccfc40a917c2688f396c", - "mockSiloLinearPool": "0xa149cf2d795aab83a15673f5beade9361e4e3f65", - "mockSiloRepository": "0xa7d524046ef89de9f8e4f2d7b029f66ccb738d48", - "mockStaticAToken": "0x03f3fb107e74f2eac9358862e91ad3c692712054", - "mockWeightedPool": "0xf7a7e1f48fa43cb7919ff4eb362c5be78092df4a", - "mockYearnLinearPool": "0x016b7366f76aa2794097798b90cf239796aeff8d", - "mockYearnTokenVault": "0x9129e834e15ea19b6069e8f08a8ecfc13686b8dc", - "noProtocolFeeLiquidityBootstrappingPoolFactory": "0x45ffd460cc6642b8d8fb12373dfd77ceb0f4932b", - "nullVotingEscrow": "0x475d18169be8a89357a9ee3ab00ca386d20fa229", - "omniVotingEscrowAdaptor": "0xe39b5e3b6d74016b2f6a9673d7d7493b6df549d5", - "poolRecoveryHelper": "0x1b6f057520b4e826271d47b8bdab98e35af17e59", - "preseededVotingEscrowDelegation": "0xb1a4fe1c6d25a0ddab47431a92a723dd71d9021f", - "protocolFeePercentagesProvider": "0xf7d5dce55e6d47852f054697bab6a1b48a00ddbd", - "protocolFeesCollector": "0xce88686553686da562ce7cea497ce749da109f9f", - "protocolFeesWithdrawer": "0x809b79b53f18e9bc08a961ed4678b901ac93213a", - "protocolIdRegistry": "0x6cad2ea22bfa7f4c14aae92e47f510cd5c509bc7", - "recoveryModeHelper": "0x5419e785b83ad3539d3a8741c0abb77d90d8784e", - "siloLinearPoolFactory": "0x8ea89804145c007e7d226001a96955ad53836087", - "singleRecipientGauge": "0x9a5ddde7056ceffb03d9962c4549ac1c4ad1f985", - "singleRecipientGaugeFactory": "0x7ee4d172ae50c627a1bfa9a99e1260c54da26fdf", - "smartWalletChecker": "0x230a59f4d9adc147480f03b0d3fffecd56c3289a", - "testBalancerToken": "0xb19382073c7a0addbb56ac6af1808fa49e377b75", - "vault": "0xba12222222228d8ba445958a75a0704d566bf2c8", - "veBoostV2": "0x927906bbac747c13c75f6447fe8abb490eab456c", - "votingEscrow": "0x150a72e4d4d81bbf045565e232c50ed0931ad795", - "votingEscrowDelegation": "0x0c5538098ebe88175078972f514c9e101d325d4f", - "votingEscrowDelegationProxy": "0xd87f44df0159dc78029ab9ca7d7e57e7249f5acd", - "votingEscrowRemapper": "0xf24917fb88261a37cc57f686ebc831a5c0b9fd39", - "weightedPoolFactory": "0x7920bfa1b2041911b354747ca7a6cdd2dfc50cfd", - "weth": "0x7b79995e5f793a07bc00c21412e50ecae098e7f9", - "yearnLinearPoolFactory": "0xacf05be5134d64d150d153818f8c67ee36996650" - }, - "tokens": {} - } -} \ No newline at end of file diff --git a/balancer-js/src/lib/constants/config.ts b/balancer-js/src/lib/constants/config.ts index 9b051b458..3ef10a3e8 100644 --- a/balancer-js/src/lib/constants/config.ts +++ b/balancer-js/src/lib/constants/config.ts @@ -1,6 +1,5 @@ import { Network } from './network'; -import { BalancerNetworkConfig } from '@/types'; -import addressesByNetwork from './addresses.json'; +import type { BalancerNetworkConfig } from '@/types'; export const balancerVault = '0xBA12222222228d8Ba445958a75a0704d566BF2C8'; @@ -22,12 +21,27 @@ export const BALANCER_NETWORK_CONFIG: Record = { '0x8e5698dc4897dc12243c8642e77b4f21349db97c', veBalProxy: '0x6f5a2eE11E7a772AeB5114A20d0D7c0ff61EB8A0', gyroConfigProxy: '0xac89cc9d78bbad7eb3a02601b4d65daa1f908aa6', - ...addressesByNetwork[Network.MAINNET].contracts, + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', + balancerHelpers: '0x5addcca35b7a0d07c74063c48700c8590e87864e', + balancerMinter: '0x239e55f427d44c3cc793f49bfb507ebe76638a2b', + balancerRelayer: '0xfea793aa415061c483d2390414275ad314b3f621', + gaugeController: '0xc128468b7ce63ea702c1f104d55a2566b13d3abd', + feeDistributor: '0xd3cf852898b21fc233251427c2dc93d3d604f3bb', + protocolFeePercentagesProvider: + '0x97207b095e4d5c9a6e4cfbfcd2c3358e03b90c4a', + weightedPoolFactory: '0x897888115ada5773e02aa29f775430bfb5f34c51', + composableStablePoolFactory: + '0xfada0f4547ab2de89d1304a668c39b3e09aa7c76', + aaveLinearPoolFactory: '0x0b576c1245f479506e7c8bbc4db4db07c1cd31f9', + erc4626LinearPoolFactory: '0x813ee7a840ce909e7fea2117a44a90b8063bd4fd', + eulerLinearPoolFactory: '0x5f43fba61f63fa6bff101a0a0458cea917f6b347', + gearboxLinearPoolFactory: '0x39a79eb449fc05c92c39aa6f0e9bfac03be8de5b', + yearnLinearPoolFactory: '0x5f5222ffa40f2aed6380d022184d6ea67c776ee0', }, tokens: { - bal: addressesByNetwork[Network.MAINNET].contracts.bal, - wrappedNativeAsset: addressesByNetwork[Network.MAINNET].contracts.weth, - bbaUsd: addressesByNetwork[Network.MAINNET].tokens.bb_a_usd, + bal: '0xba100000625a3754423978a60c9317c58a424e3d', + wrappedNativeAsset: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', + bbaUsd: '0xa13a9247ea42d743238089903570127dda72fe44', lbpRaisingTokens: [ '0x6b175474e89094c44da98b954eedeac495271d0f', // DAI '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', // USDC @@ -36,7 +50,6 @@ export const BALANCER_NETWORK_CONFIG: Record = { stETH: '0xae7ab96520de3a18e5e111b5eaab095312d7fe84', wstETH: '0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0', veBal: '0xC128a9954e6c874eA3d62ce62B468bA073093F25', - ...addressesByNetwork[Network.MAINNET].tokens, }, }, urls: { @@ -100,17 +113,27 @@ export const BALANCER_NETWORK_CONFIG: Record = { poolDataQueries: '0x84813aA3e079A665C0B80F944427eE83cBA63617', gaugeClaimHelper: '0xaeb406b0e430bf5ea2dc0b9fe62e4e53f74b3a33', gyroConfigProxy: '0xfdc2e9e03f515804744a40d0f8d25c16e93fbe67', - ...addressesByNetwork[Network.POLYGON].contracts, + + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', + balancerHelpers: '0x239e55f427d44c3cc793f49bfb507ebe76638a2b', + balancerRelayer: '0xd18d5d377eb23362e54fa496597d7e962d56c554', + protocolFeePercentagesProvider: + '0x42ac0e6fa47385d55aff070d79ef0079868c48a6', + weightedPoolFactory: '0xfc8a407bba312ac761d8bfe04ce1201904842b76', + composableStablePoolFactory: + '0x6ab5549bbd766a43afb687776ad8466f8b42f777', + aaveLinearPoolFactory: '0xab2372275809e15198a7968c7f324053867cdb0c', + erc4626LinearPoolFactory: '0x5c5fcf8fbd4cd563ced27e7d066b88ee20e1867a', + yearnLinearPoolFactory: '0x0b576c1245f479506e7c8bbc4db4db07c1cd31f9', }, tokens: { - bal: addressesByNetwork[Network.POLYGON].contracts.bal, - wrappedNativeAsset: addressesByNetwork[Network.POLYGON].contracts.weth, + bal: '0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3', + wrappedNativeAsset: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619', lbpRaisingTokens: [ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063', // DAI '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', // USDC '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', // WMATIC ], - ...addressesByNetwork[Network.POLYGON].tokens, }, }, urls: { @@ -152,17 +175,26 @@ export const BALANCER_NETWORK_CONFIG: Record = { poolDataQueries: '0x7Ba29fE8E83dd6097A7298075C4AFfdBda3121cC', gaugeClaimHelper: '0xa0dabebaad1b243bbb243f933013d560819eb66f', gyroConfigProxy: '0x9b683ca24b0e013512e2566b68704dbe9677413c', - ...addressesByNetwork[Network.ARBITRUM].contracts, + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', + balancerHelpers: '0x77d46184d22ca6a3726a2f500c776767b6a3d6ab', + balancerRelayer: '0x598ce0f1ab64b27256759ef99d883ee51138b9bd', + protocolFeePercentagesProvider: + '0x5ef4c5352882b10893b70dbcaa0c000965bd23c5', + weightedPoolFactory: '0xc7e5ed1054a24ef31d827e6f86caa58b3bc168d7', + composableStablePoolFactory: + '0x2498a2b0d6462d2260eac50ae1c3e03f4829ba95', + aaveLinearPoolFactory: '0x7396f99b48e7436b152427bfa3dd6aa8c7c6d05b', + erc4626LinearPoolFactory: '0x7adbdabaa80f654568421887c12f09e0c7bd9629', + yearnLinearPoolFactory: '0x19dfef0a828eec0c85fbb335aa65437417390b85', }, tokens: { - bal: addressesByNetwork[Network.ARBITRUM].contracts.bal, - wrappedNativeAsset: addressesByNetwork[Network.ARBITRUM].contracts.weth, + bal: '0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8', + wrappedNativeAsset: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1', lbpRaisingTokens: [ '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1', // DAI '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8', // USDC '0x82af49447d8a07e3bd95bd0d56f35241523fbab1', // WETH ], - ...addressesByNetwork[Network.ARBITRUM].tokens, }, }, urls: { @@ -203,11 +235,20 @@ export const BALANCER_NETWORK_CONFIG: Record = { veBalProxy: '0xA1F107D1cD709514AE8A914eCB757E95f9cedB31', erc4626LinearPoolFactory: '0xba240c856498e2d7a70af4911aafae0d6b565a5b', aaveLinearPoolFactory: '0x76578ecf9a141296ec657847fb45b0585bcda3a6', - ...addressesByNetwork[Network.GOERLI].contracts, + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', + balancerHelpers: '0x5addcca35b7a0d07c74063c48700c8590e87864e', + balancerRelayer: '0x03f1ab8b19bce21eb06c364aec9e40322572a1e9', + gaugeController: '0xbb1ce49b16d55a1f2c6e88102f32144c7334b116', + feeDistributor: '0x42b67611b208e2e9b4cc975f6d74c87b865ae066', + protocolFeePercentagesProvider: + '0x0f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e', + weightedPoolFactory: '0x230a59f4d9adc147480f03b0d', + composableStablePoolFactory: + '0x1802953277fd955f9a254b80aa0582f193cf1d77', }, tokens: { - bal: addressesByNetwork[Network.GOERLI].contracts.bal, - wrappedNativeAsset: addressesByNetwork[Network.GOERLI].contracts.weth, + bal: '', + wrappedNativeAsset: '', }, }, urls: { @@ -240,17 +281,26 @@ export const BALANCER_NETWORK_CONFIG: Record = { multicall: '0x2dc0e2aa608532da689e89e237df582b783e552c', poolDataQueries: '0x6B5dA774890Db7B7b96C6f44e6a4b0F657399E2e', gyroConfigProxy: '0x32acb44fc929339b9f16f0449525cc590d2a23f3', - ...addressesByNetwork[Network.OPTIMISM].contracts, + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', + balancerHelpers: '0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9', + balancerRelayer: '0x03f1ab8b19bce21eb06c364aec9e40322572a1e9', + protocolFeePercentagesProvider: + '0xacaac3e6d6df918bf3c809dfc7d42de0e4a72d4c', + weightedPoolFactory: '0x230a59f4d9adc147480f03b0d3fffecd56c3289a', + composableStablePoolFactory: + '0x1802953277fd955f9a254b80aa0582f193cf1d77', + aaveLinearPoolFactory: '0x7396f99b48e7436b152427bfa3dd6aa8c7c6d05b', + erc4626LinearPoolFactory: '0x7adbdabaa80f654568421887c12f09e0c7bd9629', + yearnLinearPoolFactory: '0x19dfef0a828eec0c85fbb335aa65437417390b85', }, tokens: { bal: '0xfe8b128ba8c78aabc59d4c64cee7ff28e9379921', - wrappedNativeAsset: addressesByNetwork[Network.OPTIMISM].contracts.weth, + wrappedNativeAsset: '0x4200000000000000000000000000000000000006', lbpRaisingTokens: [ '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1', // DAI '0x7f5c764cbc14f9669b88837ca1490cca17c31607', // USDC '0x4200000000000000000000000000000000000006', // WETH ], - ...addressesByNetwork[Network.OPTIMISM].tokens, }, }, thirdParty: { @@ -282,12 +332,21 @@ export const BALANCER_NETWORK_CONFIG: Record = { contracts: { multicall: '0xbb6fab6b627947dae0a75808250d8b2652952cb5', poolDataQueries: '0x3f170631ed9821Ca51A59D996aB095162438DC10', - ...addressesByNetwork[Network.GNOSIS].contracts, + aaveLinearPoolFactory: '0x62aab12865d7281048c337d53a4dde9d770321e6', + balancerHelpers: '0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9', + balancerRelayer: '0x3536fd480ca495ac91e698a703248a8915c137a3', + protocolFeePercentagesProvider: + '0x41b953164995c11c81da73d212ed8af25741b7ac', + weightedPoolFactory: '0x6cad2ea22bfa7f4c14aae92e47f510cd5c509bc7', + composableStablePoolFactory: + '0xd87f44df0159dc78029ab9ca7d7e57e7249f5acd', + yearnLinearPoolFactory: '0x19dfef0a828eec0c85fbb335aa65437417390b85', + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', }, tokens: { - wrappedNativeAsset: addressesByNetwork[Network.GNOSIS].contracts.weth, - bal: addressesByNetwork[Network.GNOSIS].contracts.bal, - ...addressesByNetwork[Network.GNOSIS].tokens, + wrappedNativeAsset: '0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d', + bal: '0x7eF541E2a22058048904fE5744f9c7E4C57AF717', + wstETH: '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6', }, }, urls: { @@ -373,12 +432,23 @@ export const BALANCER_NETWORK_CONFIG: Record = { contracts: { multicall: '0xcA11bde05977b3631167028862bE2a173976CA11', poolDataQueries: '0x9805dcfD25e6De36bad8fe9D3Fe2c9b44B764102', - ...addressesByNetwork[Network.SEPOLIA].contracts, + aaveLinearPoolFactory: '0xdf9b5b00ef9bca66e9902bd813db14e4343be025', + balancerHelpers: '0xdae7e32adc5d490a43ccba1f0c736033f2b4efca', + balancerMinter: '0x1783cd84b3d01854a96b4ed5843753c2ccbd574a', + balancerRelayer: '0x6d5342d716c13d9a3f072a2b11498624ade27f90', + gaugeController: '0x577e5993b9cc480f07f98b5ebd055604bd9071c4', + feeDistributor: '0xa6971317fb06c76ef731601c64433a4846fca707', + protocolFeePercentagesProvider: + '0xf7d5dce55e6d47852f054697bab6a1b48a00ddbd', + weightedPoolFactory: '0x7920bfa1b2041911b354747ca7a6cdd2dfc50cfd', + composableStablePoolFactory: + '0xa3fd20e29358c056b727657e83dfd139abbc9924', + yearnLinearPoolFactory: '0xacf05be5134d64d150d153818f8c67ee36996650', + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', }, tokens: { - bal: addressesByNetwork[Network.SEPOLIA].contracts.bal, - wrappedNativeAsset: addressesByNetwork[Network.SEPOLIA].contracts.weth, - ...addressesByNetwork[Network.SEPOLIA].tokens, + bal: '0xb19382073c7a0addbb56ac6af1808fa49e377b75', + wrappedNativeAsset: '0x7b79995e5f793a07bc00c21412e50ecae098e7f9', }, }, urls: { @@ -402,12 +472,19 @@ export const BALANCER_NETWORK_CONFIG: Record = { balancerMinter: '0x475D18169BE8a89357A9ee3Ab00ca386d20fA229', multicall: '0xcA11bde05977b3631167028862bE2a173976CA11', poolDataQueries: '0xF24917fB88261a37Cc57F686eBC831a5c0B9fD39', - ...addressesByNetwork[Network.ZKEVM].contracts, + aaveLinearPoolFactory: '0x4b7b369989e613ff2c65768b7cf930cc927f901e', + protocolFeePercentagesProvider: + '0x1802953277fd955f9a254b80aa0582f193cf1d77', + weightedPoolFactory: '0x03f3fb107e74f2eac9358862e91ad3c692712054', + yearnLinearPoolFactory: '0x44d33798dddcdabc93fe6a40c80588033dc502d3', + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', + balancerHelpers: '', // TODO + balancerRelayer: '', // TODO }, tokens: { - bal: addressesByNetwork[Network.ZKEVM].contracts.bal, - wrappedNativeAsset: addressesByNetwork[Network.ZKEVM].contracts.weth, - ...addressesByNetwork[Network.ZKEVM].tokens, + bal: '0x120ef59b80774f02211563834d8e3b72cb1649d6', + wrappedNativeAsset: '0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9', + wstETH: '0x5d8cff95d7a57c0bf50b30b43c7cc0d52825d4a9', }, }, urls: { @@ -441,16 +518,26 @@ export const BALANCER_NETWORK_CONFIG: Record = { chainId: Network.AVALANCHE, //43114 addresses: { contracts: { + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', balancerMinter: '0xEa924b45a3fcDAAdf4E5cFB1665823B8F8F2039B', multicall: '0xcA11bde05977b3631167028862bE2a173976CA11', poolDataQueries: '0x67af5D428d38C5176a286a2371Df691cDD914Fb8', - ...addressesByNetwork[Network.AVALANCHE].contracts, + aaveLinearPoolFactory: '0x6caf662b573f577de01165d2d38d1910bba41f8a', + balancerHelpers: '0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9', + balancerRelayer: '0x03f1ab8b19bce21eb06c364aec9e40322572a1e9', + protocolFeePercentagesProvider: + '0x239e55f427d44c3cc793f49bfb507ebe76638a2b', + weightedPoolFactory: '0x230a59f4d9adc147480f03b0d3fffecd56c3289a', + composableStablePoolFactory: + '0x3b1eb8eb7b43882b385ab30533d9a2bef9052a98', + erc4626LinearPoolFactory: '0x4507d91cd2c0d51d9b4f30bf0b93afc938a70ba5', + eulerLinearPoolFactory: '', + gearboxLinearPoolFactory: '', + yearnLinearPoolFactory: '', }, tokens: { - bal: addressesByNetwork[Network.AVALANCHE].contracts.bal, - wrappedNativeAsset: - addressesByNetwork[Network.AVALANCHE].contracts.weth, - ...addressesByNetwork[Network.AVALANCHE].tokens, + bal: '0xe15bcb9e0ea69e6ab9fa080c4c4a5632896298c3', + wrappedNativeAsset: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7', }, }, urls: { @@ -487,12 +574,21 @@ export const BALANCER_NETWORK_CONFIG: Record = { balancerMinter: '0xc7E5ED1054A24Ef31D827E6F86caA58B3Bc168d7', multicall: '0xcA11bde05977b3631167028862bE2a173976CA11', poolDataQueries: '', - ...addressesByNetwork[Network.BASE].contracts, + balancerHelpers: '0x8e9aa87e45e92bad84d5f8dd1bff34fb92637de9', + balancerRelayer: '0x76f7204b62f554b79d444588edac9dfa7032c71a', + protocolFeePercentagesProvider: + '0xded7fef7d8ecdcb74f22f0169e1a9ec696e6695d', + weightedPoolFactory: '0x4c32a8a8fda4e24139b51b456b42290f51d6a1c4', + composableStablePoolFactory: + '0x8df317a729fcaa260306d7de28888932cb579b88', + aaveLinearPoolFactory: '0x687b8c9b41e01be8b591725fac5d5f52d0564d79', + erc4626LinearPoolFactory: '0x161f4014c27773840ccb4ec1957113e6dd028846', + yearnLinearPoolFactory: '0x44d33798dddcdabc93fe6a40c80588033dc502d3', + vault: '0xba12222222228d8ba445958a75a0704d566bf2c8', }, tokens: { - bal: addressesByNetwork[Network.BASE].contracts.bal, - wrappedNativeAsset: addressesByNetwork[Network.BASE].contracts.weth, - ...addressesByNetwork[Network.BASE].tokens, + bal: '0x4158734d47fc9692176b5085e0f52ee0da5d47f1', + wrappedNativeAsset: '0x4200000000000000000000000000000000000006', }, }, urls: { diff --git a/balancer-js/src/lib/utils/generate-address-books.ts b/balancer-js/src/lib/utils/generate-address-books.ts deleted file mode 100644 index c10b23f07..000000000 --- a/balancer-js/src/lib/utils/generate-address-books.ts +++ /dev/null @@ -1,179 +0,0 @@ -import axios from 'axios'; -import { Network } from '@/types'; -import _ from 'lodash'; -import * as fs from 'fs'; - -type AddressDictByNetwork = { - [key: string]: { - contracts: AddressDict; - tokens: AddressDict; - }; -}; - -type AddressDict = { - [key: string]: string; -}; - -const addressBookUrl = - 'https://raw.githubusercontent.com/BalancerMaxis/bal_addresses/main/outputs/addressbook.json'; - -const developAddressBookOutputUrl = - 'https://raw.githubusercontent.com/balancer/balancer-sdk/develop/balancer-js/src/lib/constants/address.json'; -const generateAddressesFile = async () => { - //Fetching the addresses - const addressBook = (await axios.get(addressBookUrl)).data; - //creating output empty object - let output: AddressDictByNetwork = {}; - //Getting the current addressBook from develop branch - let data; - try { - const response = await axios.get(developAddressBookOutputUrl); - data = response.data; - } catch (e) { - console.log( - 'Error fetching develop address book, will not provide log of changes' - ); - } - const developAddressBook = data; - - //Filtering the addressBook to get active addresses by network - Object.entries(Network) - .filter(([key]) => { - //removing number keys like '1', '42', '137', etc - return Number.isNaN(parseInt(key)); - }) - .map(([key, value]) => { - const networkActiveAddressBook = - addressBook['active'][key.toLowerCase()] ?? undefined; - if (!networkActiveAddressBook) { - return; - } - //Getting tokens from addressBook - const tokens = - typeof networkActiveAddressBook.tokens === 'object' - ? Object.entries( - networkActiveAddressBook.tokens as { [key: string]: string } - ) - .sort(sortEntriesAlphabetically) - //For the tokens it's not being applied the camelCase for the token names - .reduce(reduceWithLowerCaseAddress, {}) - : {}; - - const deploymentKeys = Object.keys(networkActiveAddressBook).filter( - (key) => { - //Getting keys from deployments by verifying if the first 8 digits are numbers - return key.match(/^[0-9]{8}/g); - } - ); - let contracts: { [key: string]: string } = {}; - deploymentKeys.map((dKey) => { - contracts = { - ...contracts, - ...(networkActiveAddressBook[dKey] as { [key: string]: string }), - }; - }); - output = { - ...output, - [value]: { - contracts: Object.entries(contracts) - .sort(sortEntriesAlphabetically) - .reduce(reduceWithCamelCaseKeyAndLowerCaseAddress, {}), - tokens, - }, - }; - if (developAddressBook) { - compareOutputWithDevelop(output[value], developAddressBook[value], key); - } - }); - //Writing the output to the file - fs.writeFile( - 'src/lib/constants/addresses.json', - JSON.stringify(output), - (err) => console.error(err) - ); - return 'Success! Address file generated on src/lib/constants/addresses.json'; -}; - -const reduceWithCamelCaseKeyAndLowerCaseAddress = ( - acc: Record | Record, - [key, value]: [string, string] -) => { - return { - ...acc, - [_.camelCase(key)]: value.toLocaleLowerCase(), - }; -}; - -const reduceWithLowerCaseAddress = ( - acc: Record | Record, - [key, value]: [string, string] -) => { - return { - ...acc, - [key]: value.toLocaleLowerCase(), - }; -}; -const sortEntriesAlphabetically = ( - [a]: [string, unknown], - [b]: [string, unknown] -) => { - return a.localeCompare(b); -}; - -const compareOutputWithDevelop = ( - output: { - contracts: AddressDict; - tokens: AddressDict; - }, - develop: { - contracts: AddressDict; - tokens: AddressDict; - }, - network: string -) => { - console.log('Comparing Contracts of network: ', network); - if (!develop?.contracts) { - console.log('New network: ' + network); - return; - } - const outputContractsKeys = Object.keys(output.contracts); - const developContractsKeys = Object.keys(develop.contracts); - outputContractsKeys.map((key) => { - if (developContractsKeys.includes(key)) { - if ( - output.contracts[key].toLowerCase() !== - develop.contracts[key].toLowerCase() - ) { - console.log( - `Contract ${key} has different addresses in develop and active` - ); - console.log('Develop: ', develop.contracts[key]); - console.log('Active: ', output.contracts[key]); - } - } else { - console.log(`Contract ${key} is new, not present in develop`); - console.log('Address: ', output.contracts[key]); - } - }); - //Do the same for output.tokens - const outputTokensKeys = Object.keys(output.tokens); - const developTokensKeys = Object.keys(develop.tokens); - outputTokensKeys.map((key) => { - if (developTokensKeys.includes(key)) { - if ( - output.tokens[key].toLowerCase() !== develop.tokens[key].toLowerCase() - ) { - console.log( - `Token ${key} has different addresses in develop and active` - ); - console.log('Develop: ', develop.tokens[key]); - console.log('Active: ', output.tokens[key]); - } - } else { - console.log(`Token ${key} is new, not present in develop`); - console.log('Address: ', output.tokens[key]); - } - }); -}; - -generateAddressesFile().then((r) => console.log(r)); From b85e275a6457cc2fc3891d78eba896d739bb6e83 Mon Sep 17 00:00:00 2001 From: johngrantuk Date: Thu, 9 May 2024 09:56:02 +0100 Subject: [PATCH 2/3] fix: Correct Polygon native asset. --- balancer-js/src/lib/constants/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balancer-js/src/lib/constants/config.ts b/balancer-js/src/lib/constants/config.ts index 3ef10a3e8..2983dd8d0 100644 --- a/balancer-js/src/lib/constants/config.ts +++ b/balancer-js/src/lib/constants/config.ts @@ -128,7 +128,7 @@ export const BALANCER_NETWORK_CONFIG: Record = { }, tokens: { bal: '0x9a71012b13ca4d3d0cdc72a177df3ef03b0e76a3', - wrappedNativeAsset: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619', + wrappedNativeAsset: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', lbpRaisingTokens: [ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063', // DAI '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', // USDC From aafe7e9017c77a22e9828ac18d890967eec9c3ad Mon Sep 17 00:00:00 2001 From: johngrantuk Date: Thu, 9 May 2024 09:57:36 +0100 Subject: [PATCH 3/3] test: Skip Goerli tests as no longer supported. --- balancer-js/src/modules/exits/exits.module.integration.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balancer-js/src/modules/exits/exits.module.integration.spec.ts b/balancer-js/src/modules/exits/exits.module.integration.spec.ts index bd35a25c9..0cbf58891 100644 --- a/balancer-js/src/modules/exits/exits.module.integration.spec.ts +++ b/balancer-js/src/modules/exits/exits.module.integration.spec.ts @@ -25,7 +25,7 @@ const poolAddresses = Object.values(ADDRESSES[network]).map( ); const addresses = ADDRESSES[network]; -describe('generalised exit execution', async function () { +describe.skip('generalised exit execution', async function () { this.timeout(120000); // Sets timeout for all tests within this scope to 2 minutes /*