Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Celo addresses #770

Merged
merged 14 commits into from
Feb 19, 2025
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ALCHEMY_API_KEY=
ETHERSCAN_API_KEY=
7 changes: 6 additions & 1 deletion .github/workflows/test-release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ on:
jobs:
test-solidity:
uses: bgd-labs/github-workflows/.github/workflows/foundry-test.yml@main
secrets: inherit
secrets:
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
with:
compareLcov: false
compareGas: false

test-js:
uses: bgd-labs/github-workflows/.github/workflows/test-node.yml@main
if: github.event.pull_request.head.repo.full_name == github.repository
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"start": "tsx scripts/generateABIs.ts && tsx scripts/generateAddresses.ts && npm run prettier",
"build": "tsup",
"test": "vitest run tests",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"test:snapshot": "npx vitest -u"
},
"repository": {
"type": "git",
Expand Down
29 changes: 29 additions & 0 deletions safe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1950,6 +1950,35 @@ address,name,chainId
0xEB0682d148e874553008730f0686ea89db7DA412,MiscArbitrum TRANSPARENT_PROXY_FACTORY,42161
0xF3272CAfe65b190e76caAF483db13424a3e23dD2,MiscArbitrum rETH_ETH_AGGREGATOR,42161
0xB1552C5e96B312d0Bf8b554186F846C40614a540,MiscArbitrum wstETH_stETH_AGGREGATOR,42161
0x33b7d355613110b4E842f5f7057Ccd36fb4cee28,AaveV3Celo AAVE_PROTOCOL_DATA_PROVIDER,42220
0x1dF462e2712496373A347f8ad10802a5E95f053D,AaveV3Celo ACL_ADMIN,42220
0x7a12dCfd73C1B4cddf294da4cFce75FcaBBa314C,AaveV3Celo ACL_MANAGER,42220
0xC959439207dA5341B74aDcdAC59016aa9Be7E9E7,AaveV3Celo COLLECTOR,42220
0xB25a5D144626a0D488e52AE717A051a2E9997076,AaveV3Celo CONFIG_ENGINE,42220
0x3F662AA079a9619F10BFF4848910195C52CB2fb4,AaveV3Celo DEFAULT_A_TOKEN_IMPL_REV_1,42220
0x4725A0FdbEB14A77964bC1C221eE3a7982263103,AaveV3Celo DEFAULT_INCENTIVES_CONTROLLER,42220
0x8Ff70eE5F8b607844A094a938E4DeD76aEbca5f0,AaveV3Celo DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1,42220
0x9e04Cb339163b06068397d9b6af2dA78440954e0,AaveV3Celo EMISSION_MANAGER,42220
0x1e693D088ceFD1E95ba4c4a5F7EeA41a1Ec37e8b,AaveV3Celo ORACLE,42220
0x3E59A31363E2ad014dcbc521c4a0d5757d9f3402,AaveV3Celo POOL,42220
0x9F7Cf9417D5251C59fE94fB9147feEe1aAd9Cea5,AaveV3Celo POOL_ADDRESSES_PROVIDER,42220
0xB4B6939D0804DCE8d0Ac3e59b2eD5C072829d56b,AaveV3Celo POOL_ADDRESSES_PROVIDER_REGISTRY,42220
0x7567E3434CC1BEf724AB595e6072367Ef4914691,AaveV3Celo POOL_CONFIGURATOR,42220
0x87f6224536d9BD1d4FE6052e06f9647B51843e33,AaveV3Celo POOL_CONFIGURATOR_IMPL,42220
0x44D38b18a99E50E51B99F05C1f418Db26Ded315f,AaveV3Celo POOL_IMPL,42220
0x3A1Ea5fB3098b9767E0e85D63E28A5c0EAa44099,AaveV3Celo UI_INCENTIVE_DATA_PROVIDER,42220
0xf07fFd12b119b921C4a2ce8d4A13C5d1E3000d6e,AaveV3Celo UI_POOL_DATA_PROVIDER,42220
0xB91DA65093d54a1a7cb0fe684860F568A5E57123,AaveV3Celo WALLET_BALANCE_PROVIDER,42220
0x91b21900E91CD302EBeD05E45D8f270ddAED944d,GovernanceV3Celo CL_EMERGENCY_ORACLE,42220
0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd,GovernanceV3Celo CROSS_CHAIN_CONTROLLER,42220
0x1dF462e2712496373A347f8ad10802a5E95f053D,GovernanceV3Celo EXECUTOR_LVL_1,42220
0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E,GovernanceV3Celo GOVERNANCE_GUARDIAN,42220
0xbE815420A63A413BB8D508d8022C0FF150Ea7C39,GovernanceV3Celo GRANULAR_GUARDIAN,42220
0xE48E10834C04E394A04BF22a565D063D40b9FA42,GovernanceV3Celo PAYLOADS_CONTROLLER,42220
0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a,GovernanceV3Celo PC_DATA_HELPER,42220
0x88E7aB6ee481Cf92e548c0e1169F824F99142c85,MiscCelo PROTOCOL_GUARDIAN,42220
0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0,MiscCelo PROXY_ADMIN,42220
0x1Be33D186a081eFDf15310e4bdEd81E828C47f9b,MiscCelo TRANSPARENT_PROXY_FACTORY,42220
0x65285E9dfab318f57051ab2b139ccCf232945451,AaveV2Avalanche AAVE_PROTOCOL_DATA_PROVIDER,43114
0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB,AaveV2Avalanche ASSETS WETHe UNDERLYING,43114
0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21,AaveV2Avalanche ASSETS WETHe A_TOKEN,43114
Expand Down
15 changes: 15 additions & 0 deletions scripts/configs/governance/celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {GovernanceConfig} from '../types';
import {ChainId} from '@bgd-labs/rpc-env';

export const governanceConfigCelo: GovernanceConfig = {
name: 'Celo',
CHAIN_ID: ChainId.celo,
ADDRESSES: {
CROSS_CHAIN_CONTROLLER: '0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd',
CL_EMERGENCY_ORACLE: '0x91b21900E91CD302EBeD05E45D8f270ddAED944d',
PAYLOADS_CONTROLLER: '0xE48E10834C04E394A04BF22a565D063D40b9FA42',
PC_DATA_HELPER: '0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a',
GRANULAR_GUARDIAN: '0xbE815420A63A413BB8D508d8022C0FF150Ea7C39',
GOVERNANCE_GUARDIAN: '0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E',
},
};
12 changes: 12 additions & 0 deletions scripts/configs/networks/celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {ChainId} from '@bgd-labs/rpc-env';
import {NetworkAddresses} from '../types';

export const celoAddresses: NetworkAddresses = {
name: 'Celo',
chainId: ChainId.celo,
addresses: {
TRANSPARENT_PROXY_FACTORY: '0x1Be33D186a081eFDf15310e4bdEd81E828C47f9b',
PROXY_ADMIN: '0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0',
PROTOCOL_GUARDIAN: '0x88E7aB6ee481Cf92e548c0e1169F824F99142c85',
},
};
21 changes: 21 additions & 0 deletions scripts/configs/pools/celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import {ChainId} from '@bgd-labs/rpc-env';
import {PoolConfig} from '../types';

export const celoProtoV3: PoolConfig = {
name: 'Celo',
chainId: ChainId.celo,
POOL_ADDRESSES_PROVIDER: '0x9F7Cf9417D5251C59fE94fB9147feEe1aAd9Cea5',
additionalAddresses: {
CONFIG_ENGINE: '0xB25a5D144626a0D488e52AE717A051a2E9997076',
POOL_ADDRESSES_PROVIDER_REGISTRY: '0xB4B6939D0804DCE8d0Ac3e59b2eD5C072829d56b',
UI_INCENTIVE_DATA_PROVIDER: '0x3A1Ea5fB3098b9767E0e85D63E28A5c0EAa44099',
UI_POOL_DATA_PROVIDER: '0xf07fFd12b119b921C4a2ce8d4A13C5d1E3000d6e',
WALLET_BALANCE_PROVIDER: '0xB91DA65093d54a1a7cb0fe684860F568A5E57123',
// STATA_FACTORY: '0x33992721c565dA3248bd3af80524e054F5F05b42',
},
initial: {
COLLECTOR: '0xC959439207dA5341B74aDcdAC59016aa9Be7E9E7',
DEFAULT_A_TOKEN_IMPL: '0x3F662AA079a9619F10BFF4848910195C52CB2fb4',
DEFAULT_VARIABLE_DEBT_TOKEN_IMPL: '0x8Ff70eE5F8b607844A094a938E4DeD76aEbca5f0'
},
};
6 changes: 6 additions & 0 deletions scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {polygonProtoV2, polygonProtoV3} from './configs/pools/polygon';
import {scrollSepoliaProtoV3, scrollProtoV3} from './configs/pools/scroll';
import {zkSyncProtoV3} from './configs/pools/zksync';
import {lineaProtoV3} from './configs/pools/linea';
import {celoProtoV3} from './configs/pools/celo';
import {mantleProtoV3} from './configs/pools/mantle';
import {sonicProtoV3} from './configs/pools/sonic';
import {generateGovernanceLibrary} from './generator/governanceV3Generator';
Expand All @@ -44,6 +45,7 @@ import {generateABIImports} from './generator/abis';
import {governanceConfigMetis} from './configs/governance/metis';
import {governanceConfigBase} from './configs/governance/base';
import {governanceConfigBNB} from './configs/governance/bnb';
import {governanceConfigCelo} from './configs/governance/celo';
import {governanceConfigGnosis} from './configs/governance/gnosis';
import {baseAddresses, baseSepoliaAddresses} from './configs/networks/base';
import {generateNetworkAddresses} from './generator/networkGenerator';
Expand All @@ -56,6 +58,7 @@ import {optimismAddresses, optimismSepoliaAddresses} from './configs/networks/op
import {metisAddresses} from './configs/networks/metis';
import {gnosisAddresses} from './configs/networks/gnosis';
import {bnbAddresses} from './configs/networks/bnb';
import {celoAddresses} from './configs/networks/celo';
import {scrollAddresses} from './configs/networks/scroll';
import {polygonZkEvmAddresses} from './configs/networks/polygonZkEvm';
import {governanceConfigScroll} from './configs/governance/scroll';
Expand Down Expand Up @@ -103,6 +106,7 @@ async function main() {
governanceConfigScroll,
governanceConfigPolygonZkEvm,
governanceConfigZkSync,
governanceConfigCelo,
governanceConfigLinea,
governanceConfigMantle,
governanceConfigSonic,
Expand Down Expand Up @@ -146,6 +150,7 @@ async function main() {
lidoEthereumMainnetProtoV3Pool,
etherFiEthereumMainnetProtoV3Pool,
lineaProtoV3,
celoProtoV3,
mantleProtoV3,
sonicProtoV3,
].map((config) => generateProtocolV3Library(config)),
Expand All @@ -170,6 +175,7 @@ async function main() {
metisAddresses,
gnosisAddresses,
bnbAddresses,
celoAddresses,
scrollAddresses,
polygonZkEvmAddresses,
sepoliaAddresses,
Expand Down
97 changes: 97 additions & 0 deletions src/AaveV3Celo.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

import {IPoolAddressesProvider, IPool, IPoolConfigurator, IAaveOracle, IPoolDataProvider, IACLManager} from './AaveV3.sol';
import {ICollector} from './common/ICollector.sol';
library AaveV3Celo {
// https://celoscan.io/address/0x9F7Cf9417D5251C59fE94fB9147feEe1aAd9Cea5
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER =
IPoolAddressesProvider(0x9F7Cf9417D5251C59fE94fB9147feEe1aAd9Cea5);

// https://celoscan.io/address/0x3E59A31363E2ad014dcbc521c4a0d5757d9f3402
IPool internal constant POOL = IPool(0x3E59A31363E2ad014dcbc521c4a0d5757d9f3402);

// https://celoscan.io/address/0x7567E3434CC1BEf724AB595e6072367Ef4914691
IPoolConfigurator internal constant POOL_CONFIGURATOR =
IPoolConfigurator(0x7567E3434CC1BEf724AB595e6072367Ef4914691);

// https://celoscan.io/address/0x1e693D088ceFD1E95ba4c4a5F7EeA41a1Ec37e8b
IAaveOracle internal constant ORACLE = IAaveOracle(0x1e693D088ceFD1E95ba4c4a5F7EeA41a1Ec37e8b);

// https://celoscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D;

// https://celoscan.io/address/0x7a12dCfd73C1B4cddf294da4cFce75FcaBBa314C
IACLManager internal constant ACL_MANAGER =
IACLManager(0x7a12dCfd73C1B4cddf294da4cFce75FcaBBa314C);

// https://celoscan.io/address/0x33b7d355613110b4E842f5f7057Ccd36fb4cee28
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IPoolDataProvider(0x33b7d355613110b4E842f5f7057Ccd36fb4cee28);

// https://celoscan.io/address/0x44D38b18a99E50E51B99F05C1f418Db26Ded315f
address internal constant POOL_IMPL = 0x44D38b18a99E50E51B99F05C1f418Db26Ded315f;

// https://celoscan.io/address/0x87f6224536d9BD1d4FE6052e06f9647B51843e33
address internal constant POOL_CONFIGURATOR_IMPL = 0x87f6224536d9BD1d4FE6052e06f9647B51843e33;

// https://celoscan.io/address/0x4725A0FdbEB14A77964bC1C221eE3a7982263103
address internal constant DEFAULT_INCENTIVES_CONTROLLER =
0x4725A0FdbEB14A77964bC1C221eE3a7982263103;

// https://celoscan.io/address/0x9e04Cb339163b06068397d9b6af2dA78440954e0
address internal constant EMISSION_MANAGER = 0x9e04Cb339163b06068397d9b6af2dA78440954e0;

// https://celoscan.io/address/0xC959439207dA5341B74aDcdAC59016aa9Be7E9E7
ICollector internal constant COLLECTOR = ICollector(0xC959439207dA5341B74aDcdAC59016aa9Be7E9E7);

// https://celoscan.io/address/0x3F662AA079a9619F10BFF4848910195C52CB2fb4
address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x3F662AA079a9619F10BFF4848910195C52CB2fb4;

// https://celoscan.io/address/0x8Ff70eE5F8b607844A094a938E4DeD76aEbca5f0
address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 =
0x8Ff70eE5F8b607844A094a938E4DeD76aEbca5f0;

// https://celoscan.io/address/0xB25a5D144626a0D488e52AE717A051a2E9997076
address internal constant CONFIG_ENGINE = 0xB25a5D144626a0D488e52AE717A051a2E9997076;

// https://celoscan.io/address/0xB4B6939D0804DCE8d0Ac3e59b2eD5C072829d56b
address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY =
0xB4B6939D0804DCE8d0Ac3e59b2eD5C072829d56b;

// https://celoscan.io/address/0x3A1Ea5fB3098b9767E0e85D63E28A5c0EAa44099
address internal constant UI_INCENTIVE_DATA_PROVIDER = 0x3A1Ea5fB3098b9767E0e85D63E28A5c0EAa44099;

// https://celoscan.io/address/0xf07fFd12b119b921C4a2ce8d4A13C5d1E3000d6e
address internal constant UI_POOL_DATA_PROVIDER = 0xf07fFd12b119b921C4a2ce8d4A13C5d1E3000d6e;

// https://celoscan.io/address/0xB91DA65093d54a1a7cb0fe684860F568A5E57123
address internal constant WALLET_BALANCE_PROVIDER = 0xB91DA65093d54a1a7cb0fe684860F568A5E57123;
}
library AaveV3CeloAssets {}
library AaveV3CeloEModes {
uint8 internal constant NONE = 0;
}
library AaveV3CeloExternalLibraries {
// https://celoscan.io/address/0x0b3486805D3bda7ACb2d5aa7E26f0b68aF647bc5
address internal constant FLASHLOAN_LOGIC = 0x0b3486805D3bda7ACb2d5aa7E26f0b68aF647bc5;

// https://celoscan.io/address/0xAB3218d0900Ba992084a6592b43f66926D4F5757
address internal constant BORROW_LOGIC = 0xAB3218d0900Ba992084a6592b43f66926D4F5757;

// https://celoscan.io/address/0x028a1Bc3769209345C9476aFBa72EE4274Cd2A5A
address internal constant BRIDGE_LOGIC = 0x028a1Bc3769209345C9476aFBa72EE4274Cd2A5A;

// https://celoscan.io/address/0xc463D0Ef209A60318F6aF2e8D29958a665d89B1e
address internal constant E_MODE_LOGIC = 0xc463D0Ef209A60318F6aF2e8D29958a665d89B1e;

// https://celoscan.io/address/0x70Ac8F684eED3769960b2f863e405afc90CabCD4
address internal constant LIQUIDATION_LOGIC = 0x70Ac8F684eED3769960b2f863e405afc90CabCD4;

// https://celoscan.io/address/0x50B8ed003a371cc498c57518e3581a059834c70c
address internal constant POOL_LOGIC = 0x50B8ed003a371cc498c57518e3581a059834c70c;

// https://celoscan.io/address/0x0742d8afd443B9D9B0587536d3750Ef94d69e4b7
address internal constant SUPPLY_LOGIC = 0x0742d8afd443B9D9B0587536d3750Ef94d69e4b7;
}
28 changes: 28 additions & 0 deletions src/GovernanceV3Celo.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
import {IGovernanceCore, IPayloadsControllerCore, IDataWarehouse, IVotingStrategy} from './GovernanceV3.sol';
library GovernanceV3Celo {
// https://celoscan.io/address/0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd
address internal constant CROSS_CHAIN_CONTROLLER = 0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd;

// https://celoscan.io/address/0x91b21900E91CD302EBeD05E45D8f270ddAED944d
address internal constant CL_EMERGENCY_ORACLE = 0x91b21900E91CD302EBeD05E45D8f270ddAED944d;

// https://celoscan.io/address/0xE48E10834C04E394A04BF22a565D063D40b9FA42
IPayloadsControllerCore internal constant PAYLOADS_CONTROLLER =
IPayloadsControllerCore(0xE48E10834C04E394A04BF22a565D063D40b9FA42);

// https://celoscan.io/address/0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a
address internal constant PC_DATA_HELPER = 0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a;

// https://celoscan.io/address/0xbE815420A63A413BB8D508d8022C0FF150Ea7C39
address internal constant GRANULAR_GUARDIAN = 0xbE815420A63A413BB8D508d8022C0FF150Ea7C39;

// https://celoscan.io/address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E
address internal constant GOVERNANCE_GUARDIAN = 0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E;

// https://celoscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant EXECUTOR_LVL_1 = 0x1dF462e2712496373A347f8ad10802a5E95f053D;
}
14 changes: 14 additions & 0 deletions src/MiscCelo.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

library MiscCelo {
// https://celoscan.io/address/0x1Be33D186a081eFDf15310e4bdEd81E828C47f9b
address internal constant TRANSPARENT_PROXY_FACTORY = 0x1Be33D186a081eFDf15310e4bdEd81E828C47f9b;

// https://celoscan.io/address/0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0
address internal constant PROXY_ADMIN = 0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0;

// https://celoscan.io/address/0x88E7aB6ee481Cf92e548c0e1169F824F99142c85
address internal constant PROTOCOL_GUARDIAN = 0x88E7aB6ee481Cf92e548c0e1169F824F99142c85;
}
3 changes: 3 additions & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export * as GovernanceV3Gnosis from './GovernanceV3Gnosis';
export * as GovernanceV3Scroll from './GovernanceV3Scroll';
export * as GovernanceV3PolygonZkEvm from './GovernanceV3PolygonZkEvm';
export * as GovernanceV3ZkSync from './GovernanceV3ZkSync';
export * as GovernanceV3Celo from './GovernanceV3Celo';
export * as GovernanceV3Linea from './GovernanceV3Linea';
export * as GovernanceV3Mantle from './GovernanceV3Mantle';
export * as GovernanceV3Sonic from './GovernanceV3Sonic';
Expand Down Expand Up @@ -46,6 +47,7 @@ export * as AaveV3Harmony from './AaveV3Harmony';
export * as AaveV3EthereumLido from './AaveV3EthereumLido';
export * as AaveV3EthereumEtherFi from './AaveV3EthereumEtherFi';
export * as AaveV3Linea from './AaveV3Linea';
export * as AaveV3Celo from './AaveV3Celo';
export * as AaveV3Mantle from './AaveV3Mantle';
export * as AaveV3Sonic from './AaveV3Sonic';
export * as MiscArbitrum from './MiscArbitrum';
Expand All @@ -62,6 +64,7 @@ export * as MiscPolygon from './MiscPolygon';
export * as MiscMetis from './MiscMetis';
export * as MiscGnosis from './MiscGnosis';
export * as MiscBNB from './MiscBNB';
export * as MiscCelo from './MiscCelo';
export * as MiscScroll from './MiscScroll';
export * as MiscPolygonZkEvm from './MiscPolygonZkEvm';
export * as MiscSepolia from './MiscSepolia';
Expand Down
62 changes: 62 additions & 0 deletions src/ts/AaveV3Celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// IPoolAddressesProvider https://celoscan.io/address/0x9F7Cf9417D5251C59fE94fB9147feEe1aAd9Cea5
export const POOL_ADDRESSES_PROVIDER = '0x9F7Cf9417D5251C59fE94fB9147feEe1aAd9Cea5';

// IPool https://celoscan.io/address/0x3E59A31363E2ad014dcbc521c4a0d5757d9f3402
export const POOL = '0x3E59A31363E2ad014dcbc521c4a0d5757d9f3402';

// IPoolConfigurator https://celoscan.io/address/0x7567E3434CC1BEf724AB595e6072367Ef4914691
export const POOL_CONFIGURATOR = '0x7567E3434CC1BEf724AB595e6072367Ef4914691';

// IAaveOracle https://celoscan.io/address/0x1e693D088ceFD1E95ba4c4a5F7EeA41a1Ec37e8b
export const ORACLE = '0x1e693D088ceFD1E95ba4c4a5F7EeA41a1Ec37e8b';

// https://celoscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D';

// IACLManager https://celoscan.io/address/0x7a12dCfd73C1B4cddf294da4cFce75FcaBBa314C
export const ACL_MANAGER = '0x7a12dCfd73C1B4cddf294da4cFce75FcaBBa314C';

// IPoolDataProvider https://celoscan.io/address/0x33b7d355613110b4E842f5f7057Ccd36fb4cee28
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x33b7d355613110b4E842f5f7057Ccd36fb4cee28';

// https://celoscan.io/address/0x44D38b18a99E50E51B99F05C1f418Db26Ded315f
export const POOL_IMPL = '0x44D38b18a99E50E51B99F05C1f418Db26Ded315f';

// https://celoscan.io/address/0x87f6224536d9BD1d4FE6052e06f9647B51843e33
export const POOL_CONFIGURATOR_IMPL = '0x87f6224536d9BD1d4FE6052e06f9647B51843e33';

// https://celoscan.io/address/0x4725A0FdbEB14A77964bC1C221eE3a7982263103
export const DEFAULT_INCENTIVES_CONTROLLER = '0x4725A0FdbEB14A77964bC1C221eE3a7982263103';

// https://celoscan.io/address/0x9e04Cb339163b06068397d9b6af2dA78440954e0
export const EMISSION_MANAGER = '0x9e04Cb339163b06068397d9b6af2dA78440954e0';

// ICollector https://celoscan.io/address/0xC959439207dA5341B74aDcdAC59016aa9Be7E9E7
export const COLLECTOR = '0xC959439207dA5341B74aDcdAC59016aa9Be7E9E7';

// https://celoscan.io/address/0x3F662AA079a9619F10BFF4848910195C52CB2fb4
export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x3F662AA079a9619F10BFF4848910195C52CB2fb4';

// https://celoscan.io/address/0x8Ff70eE5F8b607844A094a938E4DeD76aEbca5f0
export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x8Ff70eE5F8b607844A094a938E4DeD76aEbca5f0';

// https://celoscan.io/address/0xB25a5D144626a0D488e52AE717A051a2E9997076
export const CONFIG_ENGINE = '0xB25a5D144626a0D488e52AE717A051a2E9997076';

// https://celoscan.io/address/0xB4B6939D0804DCE8d0Ac3e59b2eD5C072829d56b
export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0xB4B6939D0804DCE8d0Ac3e59b2eD5C072829d56b';

// https://celoscan.io/address/0x3A1Ea5fB3098b9767E0e85D63E28A5c0EAa44099
export const UI_INCENTIVE_DATA_PROVIDER = '0x3A1Ea5fB3098b9767E0e85D63E28A5c0EAa44099';

// https://celoscan.io/address/0xf07fFd12b119b921C4a2ce8d4A13C5d1E3000d6e
export const UI_POOL_DATA_PROVIDER = '0xf07fFd12b119b921C4a2ce8d4A13C5d1E3000d6e';

// https://celoscan.io/address/0xB91DA65093d54a1a7cb0fe684860F568A5E57123
export const WALLET_BALANCE_PROVIDER = '0xB91DA65093d54a1a7cb0fe684860F568A5E57123';

export const CHAIN_ID = 42220;
export const ASSETS = {} as const;
export const E_MODES = {} as const;
export const EXTERNAL_LIBRARIES = {} as const;
Loading
Loading