Skip to content

Commit

Permalink
feat(secrets): use ALCHEMY_API_KEY if present (#646)
Browse files Browse the repository at this point in the history
* feat: use alchemy

* feat: use alchemy

* docs: add example env 💄

* fix: use alchemy key

fix: remove alchemy api key
  • Loading branch information
sakulstra authored Oct 16, 2024
1 parent 19449be commit 483e27d
Show file tree
Hide file tree
Showing 47 changed files with 611 additions and 394 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALCHEMY_API_KEY=
12 changes: 1 addition & 11 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,7 @@ jobs:
- name: verify
run: yarn check:sanity
env:
RPC_MAINNET: ${{ secrets.RPC_MAINNET }}
RPC_POLYGON: ${{ secrets.RPC_POLYGON }}
RPC_AVALANCHE: ${{ secrets.RPC_AVALANCHE }}
RPC_OPTIMISM: ${{ secrets.RPC_OPTIMISM }}
RPC_ARBITRUM: ${{ secrets.RPC_ARBITRUM }}
RPC_BASE: ${{ secrets.RPC_BASE }}
RPC_GNOSIS: ${{ secrets.RPC_GNOSIS }}
RPC_BNB: ${{ secrets.RPC_BNB }}
RPC_METIS: ${{ secrets.RPC_METIS }}
RPC_SCROLL: ${{ secrets.RPC_SCROLL }}
RPC_FANTOM: ${{ secrets.RPC_FANTOM }}
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
verification:
runs-on: ubuntu-latest
permissions:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@ In any case you need to run `yarn generate:addresses` afterwards and commit the
This repository will try to use public rpcs.
For some networks they are not very reliable though, therefore you can set `RPC_<NETWORK>` in your .env to use a private rpc.
Check https://github.com/bgd-labs/aave-address-book/blob/main/scripts/clients.ts#L39 for the chain naming convention.
Alternatively you can provide an `ALCHEMY_API_KEY` which will use alchemy as a fallback if no exact RPC is specified.
98 changes: 85 additions & 13 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ address,name,chainId
0xbaA999AC55EAce41CcAE355c77809e68Bb345170,AaveV3Ethereum POOL_ADDRESSES_PROVIDER_REGISTRY,1
0x64b761D848206f447Fe2dd461b0c635Ec39EbB27,AaveV3Ethereum POOL_CONFIGURATOR,1
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Ethereum POOL_CONFIGURATOR_IMPL,1
0x1f64488c2C4686771dafA75915274d27878B667a,AaveV3Ethereum POOL_IMPL,1
0xeF434E4573b90b6ECd4a00f4888381e4D0CC5Ccd,AaveV3Ethereum POOL_IMPL,1
0x35bb522b102326ea3F1141661dF4626C87000e3E,AaveV3Ethereum REPAY_WITH_COLLATERAL_ADAPTER,1
0xF3911922bd054Bf6f4d6A02B8ADAC444921B0c51,AaveV3Ethereum RISK_STEWARD,1
0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034,AaveV3Ethereum SAVINGS_DAI_TOKEN_WRAPPER,1
Expand Down Expand Up @@ -666,7 +666,7 @@ address,name,chainId
0xbaA999AC55EAce41CcAE355c77809e68Bb345170,AaveV3EthereumEtherFi POOL_ADDRESSES_PROVIDER_REGISTRY,1
0x8438F4D29D895d75C86BDC25360c25eF0607E65d,AaveV3EthereumEtherFi POOL_CONFIGURATOR,1
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3EthereumEtherFi POOL_CONFIGURATOR_IMPL,1
0x54b63fa80D6D657Bc77a5fbE56EA6bFAfB6E5A5d,AaveV3EthereumEtherFi POOL_IMPL,1
0x3d881c2Dc90F00e7A52F06155f77FBEC63A779c7,AaveV3EthereumEtherFi POOL_IMPL,1
0x23b282c49C88d9161aae14b5eD777B976A5Ae65D,AaveV3EthereumEtherFi REPAY_WITH_COLLATERAL_ADAPTER,1
0x7FbBCCFB548c110226fEF5BEc816Ea04B5170EA3,AaveV3EthereumEtherFi RISK_STEWARD,1
0x1Ff525426800279843B71C0F818594DeCdC3b522,AaveV3EthereumEtherFi STATIC_A_TOKEN_FACTORY,1
Expand Down Expand Up @@ -712,7 +712,7 @@ address,name,chainId
0xC6cAB8D39D93DC0Bd5986E7Ce5Bb956E30103A43,AaveV3EthereumLido POOL_ADDRESSES_PROVIDER_REGISTRY,1
0x342631c6CeFC9cfbf97b2fe4aa242a236e1fd517,AaveV3EthereumLido POOL_CONFIGURATOR,1
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3EthereumLido POOL_CONFIGURATOR_IMPL,1
0xF96e23D32584536552C70D99664D4B17F373229c,AaveV3EthereumLido POOL_IMPL,1
0xf5b4664CB6D13189345119c60a948cdc7785d0FE,AaveV3EthereumLido POOL_IMPL,1
0x66E1aBdb06e7363a618D65a910c540dfED23754f,AaveV3EthereumLido REPAY_WITH_COLLATERAL_ADAPTER,1
0x45C4f8b32927eFFdf1dA3cA42498504947dd4d0D,AaveV3EthereumLido RISK_STEWARD,1
0xD0887AA7fEBC8962c622493646195e7c76D94fCE,AaveV3EthereumLido SWAP_COLLATERAL_ADAPTER,1
Expand Down Expand Up @@ -871,7 +871,7 @@ address,name,chainId
0x770ef9f4fe897e59daCc474EF11238303F9552b6,AaveV3Optimism POOL_ADDRESSES_PROVIDER_REGISTRY,10
0x8145eddDf43f50276641b55bd3AD95944510021E,AaveV3Optimism POOL_CONFIGURATOR,10
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Optimism POOL_CONFIGURATOR_IMPL,10
0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4,AaveV3Optimism POOL_IMPL,10
0x7A7eF57479123f26DB6a0e3EFbF8A3562EDD65BE,AaveV3Optimism POOL_IMPL,10
0xE229d5DE4BD5beEAf12d427B5B57BFe66abD2c3b,AaveV3Optimism PRICE_ORACLE_SENTINEL,10
0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16,AaveV3Optimism REPAY_WITH_COLLATERAL_ADAPTER,10
0x9062F78b631f33D24Ed058cBc116A653452ea82A,AaveV3Optimism RISK_STEWARD,10
Expand Down Expand Up @@ -957,7 +957,7 @@ address,name,chainId
0x117684358D990E42Eb1649E7e8C4691951dc1E71,AaveV3BNB POOL_ADDRESSES_PROVIDER_REGISTRY,56
0x67bdF23C7fCE7C65fF7415Ba3F2520B45D6f9584,AaveV3BNB POOL_CONFIGURATOR,56
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3BNB POOL_CONFIGURATOR_IMPL,56
0xE498675A3dd5aB2Cab72986dc7AA9B2AE87Acec4,AaveV3BNB POOL_IMPL,56
0xB769c2A9259B3Eedaf120d8643C4C7EAe977fd7f,AaveV3BNB POOL_IMPL,56
0x5598BbFA2f4fE8151f45bBA0a3edE1b54B51a0a9,AaveV3BNB REPAY_WITH_COLLATERAL_ADAPTER,56
0x45918bB1D3F73904a30Ffc3eD11CdB1c05eBF726,AaveV3BNB RISK_STEWARD,56
0x326aB0868bD279382Be2DF5E228Cb8AF38649AB4,AaveV3BNB STATIC_A_TOKEN_FACTORY,56
Expand Down Expand Up @@ -1044,7 +1044,7 @@ address,name,chainId
0x1236010CECea55998384e795B59815D871f5f94d,AaveV3Gnosis POOL_ADDRESSES_PROVIDER_REGISTRY,100
0x7304979ec9E4EaA0273b6A037a31c4e9e5A75D16,AaveV3Gnosis POOL_CONFIGURATOR,100
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Gnosis POOL_CONFIGURATOR_IMPL,100
0x8a48EF9287c402C119c14a5f6897F6dFdc12cb45,AaveV3Gnosis POOL_IMPL,100
0xF2C312BfAF4CF0429DB4DA15a0cf5F770Ea3E770,AaveV3Gnosis POOL_IMPL,100
0x0b9cA640284cf2636577703f785D5aEEc466BC56,AaveV3Gnosis RISK_STEWARD,100
0x02e9b27599C4Bf8f789d34b6E65C51092c3d9FA6,AaveV3Gnosis STATIC_A_TOKEN_FACTORY,100
0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16,AaveV3Gnosis UI_INCENTIVE_DATA_PROVIDER,100
Expand Down Expand Up @@ -1295,7 +1295,7 @@ address,name,chainId
0x770ef9f4fe897e59daCc474EF11238303F9552b6,AaveV3Polygon POOL_ADDRESSES_PROVIDER_REGISTRY,137
0x8145eddDf43f50276641b55bd3AD95944510021E,AaveV3Polygon POOL_CONFIGURATOR,137
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Polygon POOL_CONFIGURATOR_IMPL,137
0x1f69d4700B34A1D9F92E55235df414FcC02A8306,AaveV3Polygon POOL_IMPL,137
0x5DFb8c777C19d3cEdcDc7398d2EeF1FB0b9b05c9,AaveV3Polygon POOL_IMPL,137
0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16,AaveV3Polygon REPAY_WITH_COLLATERAL_ADAPTER,137
0xfF33BEcB9ECFE4328D4f9C37bE0F07b2CFe976E3,AaveV3Polygon RISK_STEWARD,137
0x397202AB0b4E7C954ac0c493c00749C517210953,AaveV3Polygon STATIC_A_TOKEN_FACTORY,137
Expand Down Expand Up @@ -1327,6 +1327,78 @@ address,name,chainId
0xB4e496f70602fE2AC6Ae511D028BA4D194773B29,MiscPolygon TRANSPARENT_PROXY_FACTORY,137
0xdEd6C522d803E35f65318a9a4d7333a22d582199,MiscPolygon stMATIC_RATE_PROVIDER,137
0x3Ea1eC855fBda8bA0396975eC260AD2e9B2Bc01c,MiscPolygon wstETH_stETH_AGGREGATOR,137
0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654,AaveV3Fantom AAVE_PROTOCOL_DATA_PROVIDER,250
0x39CB97b105173b56b5a2b4b33AD25d6a50E6c949,AaveV3Fantom ACL_ADMIN,250
0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B,AaveV3Fantom ACL_MANAGER,250
0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E,AaveV3Fantom ASSETS DAI UNDERLYING,250
0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE,AaveV3Fantom ASSETS DAI A_TOKEN,250
0x8619d80FB0141ba7F184CbF22fd724116D9f7ffC,AaveV3Fantom ASSETS DAI V_TOKEN,250
0xA9F3C3caE095527061e6d270DBE163693e6fda9D,AaveV3Fantom ASSETS DAI INTEREST_RATE_STRATEGY,250
0x91d5DEFAFfE2854C7D02F50c80FA1fdc8A721e52,AaveV3Fantom ASSETS DAI ORACLE,250
0xb3654dc3D10Ea7645f8319668E8F54d2574FBdC8,AaveV3Fantom ASSETS LINK UNDERLYING,250
0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530,AaveV3Fantom ASSETS LINK A_TOKEN,250
0x953A573793604aF8d41F306FEb8274190dB4aE0e,AaveV3Fantom ASSETS LINK V_TOKEN,250
0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521,AaveV3Fantom ASSETS LINK INTEREST_RATE_STRATEGY,250
0x221C773d8647BC3034e91a0c47062e26D20d97B4,AaveV3Fantom ASSETS LINK ORACLE,250
0x04068DA6C83AFCFA0e13ba15A6696662335D5B75,AaveV3Fantom ASSETS USDC UNDERLYING,250
0x625E7708f30cA75bfd92586e17077590C60eb4cD,AaveV3Fantom ASSETS USDC A_TOKEN,250
0xFCCf3cAbbe80101232d343252614b6A3eE81C989,AaveV3Fantom ASSETS USDC V_TOKEN,250
0xf4a0039F2d4a2EaD5216AbB6Ae4C4C3AA2dB9b82,AaveV3Fantom ASSETS USDC INTEREST_RATE_STRATEGY,250
0x2553f4eeb82d5A26427b8d1106C51499CBa5D99c,AaveV3Fantom ASSETS USDC ORACLE,250
0x321162Cd933E2Be498Cd2267a90534A804051b11,AaveV3Fantom ASSETS BTC UNDERLYING,250
0x078f358208685046a11C85e8ad32895DED33A249,AaveV3Fantom ASSETS BTC A_TOKEN,250
0x92b42c66840C7AD907b4BF74879FF3eF7c529473,AaveV3Fantom ASSETS BTC V_TOKEN,250
0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521,AaveV3Fantom ASSETS BTC INTEREST_RATE_STRATEGY,250
0x8e94C22142F4A64b99022ccDd994f4e9EC86E4B4,AaveV3Fantom ASSETS BTC ORACLE,250
0x74b23882a30290451A17c44f4F05243b6b58C76d,AaveV3Fantom ASSETS ETH UNDERLYING,250
0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8,AaveV3Fantom ASSETS ETH A_TOKEN,250
0x0c84331e39d6658Cd6e6b9ba04736cC4c4734351,AaveV3Fantom ASSETS ETH V_TOKEN,250
0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521,AaveV3Fantom ASSETS ETH INTEREST_RATE_STRATEGY,250
0x11DdD3d147E5b83D01cee7070027092397d63658,AaveV3Fantom ASSETS ETH ORACLE,250
0x049d68029688eAbF473097a2fC38ef61633A3C7A,AaveV3Fantom ASSETS fUSDT UNDERLYING,250
0x6ab707Aca953eDAeFBc4fD23bA73294241490620,AaveV3Fantom ASSETS fUSDT A_TOKEN,250
0xfb00AC187a8Eb5AFAE4eACE434F493Eb62672df7,AaveV3Fantom ASSETS fUSDT V_TOKEN,250
0xf4a0039F2d4a2EaD5216AbB6Ae4C4C3AA2dB9b82,AaveV3Fantom ASSETS fUSDT INTEREST_RATE_STRATEGY,250
0xF64b636c5dFe1d3555A847341cDC449f612307d0,AaveV3Fantom ASSETS fUSDT ORACLE,250
0x6a07A792ab2965C72a5B8088d3a069A7aC3a993B,AaveV3Fantom ASSETS AAVE UNDERLYING,250
0xf329e36C7bF6E5E86ce2150875a84Ce77f477375,AaveV3Fantom ASSETS AAVE A_TOKEN,250
0xE80761Ea617F66F96274eA5e8c37f03960ecC679,AaveV3Fantom ASSETS AAVE V_TOKEN,250
0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521,AaveV3Fantom ASSETS AAVE INTEREST_RATE_STRATEGY,250
0xE6ecF7d2361B6459cBb3b4fb065E0eF4B175Fe74,AaveV3Fantom ASSETS AAVE ORACLE,250
0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83,AaveV3Fantom ASSETS WFTM UNDERLYING,250
0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97,AaveV3Fantom ASSETS WFTM A_TOKEN,250
0x4a1c3aD6Ed28a636ee1751C69071f6be75DEb8B8,AaveV3Fantom ASSETS WFTM V_TOKEN,250
0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521,AaveV3Fantom ASSETS WFTM INTEREST_RATE_STRATEGY,250
0xf4766552D15AE4d256Ad41B6cf2933482B0680dc,AaveV3Fantom ASSETS WFTM ORACLE,250
0x1E4F97b9f9F913c46F1632781732927B9019C68b,AaveV3Fantom ASSETS CRV UNDERLYING,250
0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf,AaveV3Fantom ASSETS CRV A_TOKEN,250
0x77CA01483f379E58174739308945f044e1a764dc,AaveV3Fantom ASSETS CRV V_TOKEN,250
0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521,AaveV3Fantom ASSETS CRV INTEREST_RATE_STRATEGY,250
0xa141D7E3B44594cc65142AE5F2C7844Abea66D2B,AaveV3Fantom ASSETS CRV ORACLE,250
0xae75A438b2E0cB8Bb01Ec1E1e376De11D44477CC,AaveV3Fantom ASSETS SUSHI UNDERLYING,250
0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA,AaveV3Fantom ASSETS SUSHI A_TOKEN,250
0x34e2eD44EF7466D5f9E0b782B5c08b57475e7907,AaveV3Fantom ASSETS SUSHI V_TOKEN,250
0x4aa694e6c06D6162d95BE98a2Df6a521d5A7b521,AaveV3Fantom ASSETS SUSHI INTEREST_RATE_STRATEGY,250
0xCcc059a1a17577676c8673952Dc02070D29e5a66,AaveV3Fantom ASSETS SUSHI ORACLE,250
0xBe85413851D195fC6341619cD68BfDc26a25b928,AaveV3Fantom COLLECTOR,250
0xa5ba6E5EC19a1Bf23C857991c857dB62b2Aa187B,AaveV3Fantom DEFAULT_A_TOKEN_IMPL_REV_1,250
0x929EC64c34a17401F460460D4B9390518E5B473e,AaveV3Fantom DEFAULT_INCENTIVES_CONTROLLER,250
0x81387c40EB75acB02757C1Ae55D5936E78c9dEd3,AaveV3Fantom DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,250
0x048f2228D7Bf6776f99aB50cB1b1eaB4D1d4cA73,AaveV3Fantom EMISSION_MANAGER,250
0xfd6f3c1845604C8AE6c6E402ad17fb9885160754,AaveV3Fantom ORACLE,250
0x794a61358D6845594F94dc1DB02A252b5b4814aD,AaveV3Fantom POOL,250
0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb,AaveV3Fantom POOL_ADDRESSES_PROVIDER,250
0x770ef9f4fe897e59daCc474EF11238303F9552b6,AaveV3Fantom POOL_ADDRESSES_PROVIDER_REGISTRY,250
0x8145eddDf43f50276641b55bd3AD95944510021E,AaveV3Fantom POOL_CONFIGURATOR,250
0xD6FA681E22306b0F4E605B979b7c9a1dFa865ade,AaveV3Fantom POOL_CONFIGURATOR_IMPL,250
0xDF9e4ABdbd94107932265319479643D3B05809dc,AaveV3Fantom POOL_IMPL,250
0x1408401B2A7E28cB747b3e258D0831Fc926bAC51,AaveV3Fantom REPAY_WITH_COLLATERAL_ADAPTER,250
0xE387c6053CE8EC9f8C3fa5cE085Af73114a695d3,AaveV3Fantom SWAP_COLLATERAL_ADAPTER,250
0x67Da261c14fd94cE7fDd77a0A8476E5b244089A9,AaveV3Fantom UI_INCENTIVE_DATA_PROVIDER,250
0xddf65434502E459C22263BE2ed7cF0f1FaFD44c0,AaveV3Fantom UI_POOL_DATA_PROVIDER,250
0xBc790382B3686abffE4be14A030A96aC6154023a,AaveV3Fantom WALLET_BALANCE_PROVIDER,250
0x1DcDA4de2Bf6c7AD9a34788D22aE6b7d55016e1f,AaveV3Fantom WETH_GATEWAY,250
0x9abf798f5314BFd793A9E57A654BEd35af4A1D60,MiscFantom PARASWAP_FEE_CLAIMER,250
0x5F2A704cE47B373c908fE8A29514249469b52b99,AaveV3ZkSync AAVE_PROTOCOL_DATA_PROVIDER,324
0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020,AaveV3ZkSync ACL_ADMIN,324
0xc6150b63c2F02528d4A969a248710A4658ed7928,AaveV3ZkSync ACL_MANAGER,324
Expand Down Expand Up @@ -1367,7 +1439,7 @@ address,name,chainId
0x0753E3637ddC6efc40759D9c347251046644F25F,AaveV3ZkSync POOL_ADDRESSES_PROVIDER_REGISTRY,324
0x0207d31b4377C74bEC37356aaD83E3dCc979F40E,AaveV3ZkSync POOL_CONFIGURATOR,324
0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d,AaveV3ZkSync POOL_CONFIGURATOR_IMPL,324
0x3Db69F17e682a8E6f029a90c8DD04A4689B988b9,AaveV3ZkSync POOL_IMPL,324
0x79Bef43a562047B8FDF6335b28Fa61820A442fD6,AaveV3ZkSync POOL_IMPL,324
0xDeDee21f34eff4e2902B95A106855834a608e19a,AaveV3ZkSync RISK_STEWARD,324
0x1Bc8dbF1f5aF8094Aa166098131116CaAd6B22F9,AaveV3ZkSync STATIC_A_TOKEN_FACTORY,324
0x430Ef10d29237a0f061f9F7753fCe1cd1F5cF0e1,AaveV3ZkSync UI_INCENTIVE_DATA_PROVIDER,324
Expand Down Expand Up @@ -1431,7 +1503,7 @@ address,name,chainId
0x9E7B73ffD9D2026F3ff4212c29E209E09C8A91F5,AaveV3Metis POOL_ADDRESSES_PROVIDER_REGISTRY,1088
0x69FEE8F261E004453BE0800BC9039717528645A6,AaveV3Metis POOL_CONFIGURATOR,1088
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Metis POOL_CONFIGURATOR_IMPL,1088
0xC89fBD2a15e88A72A76428DA00dDBBE47cb4EBB0,AaveV3Metis POOL_IMPL,1088
0xcA311Dce5b11436c7Bd7b3847E77adE29F829F8e,AaveV3Metis POOL_IMPL,1088
0x2B5EA1604BAbb7B730120950Cb13951f3525828A,AaveV3Metis PRICE_ORACLE_SENTINEL,1088
0xF73F2634b43344d86921DA3391d4EF0d5675Dd63,AaveV3Metis RISK_STEWARD,1088
0x9C62AdC332888F56998542415c38D7CDf3Ff7619,AaveV3Metis STATIC_A_TOKEN_FACTORY,1088
Expand Down Expand Up @@ -1517,7 +1589,7 @@ address,name,chainId
0x2f6571d3Eb9a4e350C68C36bCD2afe39530078E2,AaveV3Base POOL_ADDRESSES_PROVIDER_REGISTRY,8453
0x5731a04B1E775f0fdd454Bf70f3335886e9A96be,AaveV3Base POOL_CONFIGURATOR,8453
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Base POOL_CONFIGURATOR_IMPL,8453
0xDea262629b7D28722Ad4189c515f93c996D2Cd72,AaveV3Base POOL_IMPL,8453
0x3a9C471F13C9cA1eBDf440cf713C8404e498F9C3,AaveV3Base POOL_IMPL,8453
0x943AcD0c93d7a8Bee7dA5Fd0DC3d0028237074d6,AaveV3Base PRICE_ORACLE_SENTINEL,8453
0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4,AaveV3Base REPAY_WITH_COLLATERAL_ADAPTER,8453
0x963C0b3dFF5C35b171CcC11DAC006a605E42BeD2,AaveV3Base RISK_STEWARD,8453
Expand Down Expand Up @@ -1663,7 +1735,7 @@ address,name,chainId
0x770ef9f4fe897e59daCc474EF11238303F9552b6,AaveV3Arbitrum POOL_ADDRESSES_PROVIDER_REGISTRY,42161
0x8145eddDf43f50276641b55bd3AD95944510021E,AaveV3Arbitrum POOL_CONFIGURATOR,42161
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Arbitrum POOL_CONFIGURATOR_IMPL,42161
0xb7F64c31f1c9c2c0a4b1a7fDA9Ce0Aed487DF9F4,AaveV3Arbitrum POOL_IMPL,42161
0x7A7eF57479123f26DB6a0e3EFbF8A3562EDD65BE,AaveV3Arbitrum POOL_IMPL,42161
0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b,AaveV3Arbitrum PRICE_ORACLE_SENTINEL,42161
0xcC47c4Fe1F7f29ff31A8b62197023aC8553C7896,AaveV3Arbitrum RATES_FACTORY,42161
0xE28E2c8d240dd5eBd0adcab86fbD79df7a052034,AaveV3Arbitrum REPAY_WITH_COLLATERAL_ADAPTER,42161
Expand Down Expand Up @@ -1843,7 +1915,7 @@ address,name,chainId
0x770ef9f4fe897e59daCc474EF11238303F9552b6,AaveV3Avalanche POOL_ADDRESSES_PROVIDER_REGISTRY,43114
0x8145eddDf43f50276641b55bd3AD95944510021E,AaveV3Avalanche POOL_CONFIGURATOR,43114
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Avalanche POOL_CONFIGURATOR_IMPL,43114
0x1f69d4700B34A1D9F92E55235df414FcC02A8306,AaveV3Avalanche POOL_IMPL,43114
0x5DFb8c777C19d3cEdcDc7398d2EeF1FB0b9b05c9,AaveV3Avalanche POOL_IMPL,43114
0xab22988D93d5F942fC6B6c6Ea285744809D1d9Cc,AaveV3Avalanche PROOF_OF_RESERVE,43114
0x80f2c02224a2E548FC67c0bF705eBFA825dd5439,AaveV3Avalanche PROOF_OF_RESERVE_AGGREGATOR,43114
0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16,AaveV3Avalanche REPAY_WITH_COLLATERAL_ADAPTER,43114
Expand Down Expand Up @@ -1913,7 +1985,7 @@ address,name,chainId
0xFBedc64AeE24921cb43004312B9eF367a4162b57,AaveV3Scroll POOL_ADDRESSES_PROVIDER_REGISTRY,534352
0x32BCab42a2bb5AC577D24b425D46d8b8e0Df9b7f,AaveV3Scroll POOL_CONFIGURATOR,534352
0x4816b2C2895f97fB918f1aE7Da403750a0eE372e,AaveV3Scroll POOL_CONFIGURATOR_IMPL,534352
0xE8Ba6eD06F0c00885754704108a72A54a5E5b764,AaveV3Scroll POOL_IMPL,534352
0xcB2107Ace932591C57EB5D07A135F1F3Dd613Dc0,AaveV3Scroll POOL_IMPL,534352
0xfD0Ba55775C1e53f50736FA5528d8aa45FBcA391,AaveV3Scroll PRICE_ORACLE_SENTINEL,534352
0x5E27B8EfDe76814795a07c8a378FcdF09715850b,AaveV3Scroll RISK_STEWARD,534352
0x970b77b96D94966939a8F867c2BfC2aC0310C0e7,AaveV3Scroll STATIC_A_TOKEN_FACTORY,534352
Expand Down
4 changes: 2 additions & 2 deletions scripts/checks/configEngine.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {getContract} from 'viem';
import {CHAIN_ID_CLIENT_MAP} from '../clients';
import {getClient} from '../clients';
import {IAaveV3ConfigEngine_ABI} from '../../src/ts/abis/IAaveV3ConfigEngine';

export async function check(lib: string, addresses: Record<string, any>) {
// Aave V2 has a different type, being deprecated we don't validate it
if (addresses.CONFIG_ENGINE && lib.startsWith('AaveV3')) {
const client = CHAIN_ID_CLIENT_MAP[addresses.CHAIN_ID];
const client = getClient(addresses.CHAIN_ID);
if (!client.chain?.testnet) {
const engineContract = getContract({
abi: IAaveV3ConfigEngine_ABI,
Expand Down
4 changes: 2 additions & 2 deletions scripts/checks/stataFactory.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {getContract} from 'viem';
import {CHAIN_ID_CLIENT_MAP} from '../clients';
import {getClient} from '../clients';

export async function check(lib: string, addresses: Record<string, any>) {
if (addresses.STATIC_A_TOKEN_FACTORY) {
const client = CHAIN_ID_CLIENT_MAP[addresses.CHAIN_ID];
const client = getClient(addresses.CHAIN_ID);
const factory = getContract({
abi: [
{
Expand Down
4 changes: 2 additions & 2 deletions scripts/checks/wethGateway.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {getContract} from 'viem';
import {CHAIN_ID_CLIENT_MAP} from '../clients';
import {getClient} from '../clients';
import {IOwnable_ABI} from '../../src/ts/abis/IOwnable';
import {getGovernance} from './utils';

export async function check(lib: string, addresses: Record<string, any>) {
if (addresses.WETH_GATEWAY) {
const client = CHAIN_ID_CLIENT_MAP[addresses.CHAIN_ID];
const client = getClient(addresses.CHAIN_ID);
// on testnets owners are usually not governance
if (!client.chain?.testnet) {
const gateway = getContract({
Expand Down
Loading

0 comments on commit 483e27d

Please sign in to comment.