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: celo addresses #369

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scripts/configs/governance/celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {ChainId} from '@bgd-labs/js-utils';
import {GovernanceConfig} from '../types';

export const governanceConfigCelo: GovernanceConfig = {
name: 'Celo',
CHAIN_ID: ChainId.celo,
ADDRESSES: {
CROSS_CHAIN_CONTROLLER: '0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79',
PAYLOADS_CONTROLLER: '0xa70964C9952b08559d5Cb977B44930f4f36bFA9d',
PC_DATA_HELPER: '0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424',
},
};
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/js-utils';
import {NetworkAddresses} from '../types';

export const celoAddresses: NetworkAddresses = {
name: 'Celo',
chainId: ChainId.celo,
addresses: {
TRANSPARENT_PROXY_FACTORY: '0xb172a90A7C238969CE9B27cc19D13b60A91e7F00',
PROTOCOL_GUARDIAN: '0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6',
PROXY_ADMIN: '0x01d678F1bbE148C96e7501F1Ac41661904F84F61'
},
};
24 changes: 24 additions & 0 deletions scripts/configs/pools/celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import {ChainId} from '@bgd-labs/js-utils';
import {PoolConfig} from '../types';

export const celoProtoV3: PoolConfig = {
name: 'Celo',
chainId: ChainId.celo,
POOL_ADDRESSES_PROVIDER: '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D',
additionalAddresses: {
CAPS_PLUS_RISK_STEWARD: '0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022',
FREEZING_STEWARD: '0xcb0670258e5961CCA85D8F71D29C1167Ef20De99',
CONFIG_ENGINE: '0x3238FC1d642b60F41a35f62570237656C85F4744',
POOL_ADDRESSES_PROVIDER_REGISTRY: '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9',
RATES_FACTORY: '0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213',
UI_INCENTIVE_DATA_PROVIDER: '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C',
UI_POOL_DATA_PROVIDER: '0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85',
WALLET_BALANCE_PROVIDER: '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671'
},
initial: {
COLLECTOR: '0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9',
DEFAULT_A_TOKEN_IMPL: '0x6c23bAF050ec192afc0B967a93b83e6c5405df43',
DEFAULT_VARIABLE_DEBT_TOKEN_IMPL: '0x777fBA024bA1228fDa76149A4ff8B23475ed057D',
DEFAULT_STABLE_DEBT_TOKEN_IMPL: '0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b',
},
};
6 changes: 6 additions & 0 deletions scripts/generateAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import {
polygonProtoV3,
} from './configs/pools/polygon';
import {scrollSepoliaProtoV3, scrollProtoV3} from './configs/pools/scroll';
import {celoProtoV3} from './configs/pools/celo';
import {generateGovernanceLibrary} from './generator/governanceV3Generator';
import {generateProtocolV2Library} from './generator/protocolV2Generator';
import {generateProtocolV3Library} from './generator/protocolV3Generator';
Expand Down Expand Up @@ -59,9 +60,11 @@ import {gnosisAddresses} from './configs/networks/gnosis';
import {bnbAddresses} from './configs/networks/bnb';
import {scrollAddresses} from './configs/networks/scroll';
import {polygonZkEvmAddresses} from './configs/networks/polygonZkEvm';
import {celoAddresses} from './configs/networks/celo';
import {governanceConfigScroll} from './configs/governance/scroll';
import {governanceConfigPolygonZkEvm} from './configs/governance/polygonZkEvm';
import {generateTokenList} from './generator/generateTokenList';
import {governanceConfigCelo} from './configs/governance/celo';

async function main() {
// cleanup ts artifacts
Expand Down Expand Up @@ -91,6 +94,7 @@ async function main() {
governanceConfigGnosis,
governanceConfigScroll,
governanceConfigPolygonZkEvm,
governanceConfigCelo,
].map((config) => generateGovernanceLibrary(config)),
);
const v2LibraryNames = await Promise.all(
Expand Down Expand Up @@ -120,6 +124,7 @@ async function main() {
gnosisProtoV3,
polygonZkEvmProtoV3,
bnbProtoV3,
celoProtoV3,
arbitrumProtoV3,
optimismProtoV3,
scrollProtoV3,
Expand All @@ -146,6 +151,7 @@ async function main() {
bnbAddresses,
scrollAddresses,
polygonZkEvmAddresses,
celoAddresses,
sepoliaAddresses,
mumbaiAddresses,
].map((addresses) => generateNetworkAddresses(addresses));
Expand Down
3 changes: 3 additions & 0 deletions src/AaveAddressBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {GovernanceV3BNB} from './GovernanceV3BNB.sol';
import {GovernanceV3Gnosis} from './GovernanceV3Gnosis.sol';
import {GovernanceV3Scroll} from './GovernanceV3Scroll.sol';
import {GovernanceV3PolygonZkEvm} from './GovernanceV3PolygonZkEvm.sol';
import {GovernanceV3Celo} from './GovernanceV3Celo.sol';
import {AaveV2EthereumAMM} from './AaveV2EthereumAMM.sol';
import {AaveV2EthereumArc} from './AaveV2EthereumArc.sol';
import {AaveV2Ethereum} from './AaveV2Ethereum.sol';
Expand All @@ -36,6 +37,7 @@ import {AaveV3Metis} from './AaveV3Metis.sol';
import {AaveV3Gnosis} from './AaveV3Gnosis.sol';
import {AaveV3PolygonZkEvm} from './AaveV3PolygonZkEvm.sol';
import {AaveV3BNB} from './AaveV3BNB.sol';
import {AaveV3Celo} from './AaveV3Celo.sol';
import {AaveV3Arbitrum} from './AaveV3Arbitrum.sol';
import {AaveV3Optimism} from './AaveV3Optimism.sol';
import {AaveV3Scroll} from './AaveV3Scroll.sol';
Expand All @@ -55,6 +57,7 @@ import {MiscGnosis} from './MiscGnosis.sol';
import {MiscBNB} from './MiscBNB.sol';
import {MiscScroll} from './MiscScroll.sol';
import {MiscPolygonZkEvm} from './MiscPolygonZkEvm.sol';
import {MiscCelo} from './MiscCelo.sol';
import {MiscSepolia} from './MiscSepolia.sol';
import {MiscMumbai} from './MiscMumbai.sol';
import {AaveGovernanceV2} from './AaveGovernanceV2.sol';
Expand Down
86 changes: 86 additions & 0 deletions src/AaveV3Celo.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
// 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://explorer.celo.org/mainnet/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D
IPoolAddressesProvider internal constant POOL_ADDRESSES_PROVIDER =
IPoolAddressesProvider(0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D);

// https://explorer.celo.org/mainnet/address/0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA
IPool internal constant POOL = IPool(0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA);

// https://explorer.celo.org/mainnet/address/0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d
IPoolConfigurator internal constant POOL_CONFIGURATOR =
IPoolConfigurator(0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d);

// https://explorer.celo.org/mainnet/address/0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1
IAaveOracle internal constant ORACLE = IAaveOracle(0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1);

// https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000
address internal constant PRICE_ORACLE_SENTINEL = 0x0000000000000000000000000000000000000000;

// https://explorer.celo.org/mainnet/address/0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697
IPoolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IPoolDataProvider(0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697);

// https://explorer.celo.org/mainnet/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741
IACLManager internal constant ACL_MANAGER =
IACLManager(0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741);

// https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant ACL_ADMIN = 0x1dF462e2712496373A347f8ad10802a5E95f053D;

// https://explorer.celo.org/mainnet/address/0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9
ICollector internal constant COLLECTOR = ICollector(0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9);

// https://explorer.celo.org/mainnet/address/0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF
address internal constant DEFAULT_INCENTIVES_CONTROLLER =
0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF;

// https://explorer.celo.org/mainnet/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43
address internal constant DEFAULT_A_TOKEN_IMPL_REV_1 = 0x6c23bAF050ec192afc0B967a93b83e6c5405df43;

// https://explorer.celo.org/mainnet/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D
address internal constant DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 =
0x777fBA024bA1228fDa76149A4ff8B23475ed057D;

// https://explorer.celo.org/mainnet/address/0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b
address internal constant DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 =
0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b;

// https://explorer.celo.org/mainnet/address/0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E
address internal constant EMISSION_MANAGER = 0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E;

// https://explorer.celo.org/mainnet/address/0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022
address internal constant CAPS_PLUS_RISK_STEWARD = 0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022;

// https://explorer.celo.org/mainnet/address/0xcb0670258e5961CCA85D8F71D29C1167Ef20De99
address internal constant FREEZING_STEWARD = 0xcb0670258e5961CCA85D8F71D29C1167Ef20De99;

// https://explorer.celo.org/mainnet/address/0x3238FC1d642b60F41a35f62570237656C85F4744
address internal constant CONFIG_ENGINE = 0x3238FC1d642b60F41a35f62570237656C85F4744;

// https://explorer.celo.org/mainnet/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9
address internal constant POOL_ADDRESSES_PROVIDER_REGISTRY =
0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9;

// https://explorer.celo.org/mainnet/address/0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213
address internal constant RATES_FACTORY = 0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213;

// https://explorer.celo.org/mainnet/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C
address internal constant UI_INCENTIVE_DATA_PROVIDER = 0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C;

// https://explorer.celo.org/mainnet/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85
address internal constant UI_POOL_DATA_PROVIDER = 0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85;

// https://explorer.celo.org/mainnet/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671
address internal constant WALLET_BALANCE_PROVIDER = 0xB1532b76D054c9F9E61b25c4d91f69B4133E4671;
}

library AaveV3CeloAssets {}

library AaveV3CeloEModes {}
23 changes: 23 additions & 0 deletions src/GovernanceV3Celo.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// 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://explorer.celo.org/mainnet/address/0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79
address internal constant CROSS_CHAIN_CONTROLLER = 0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79;

// https://explorer.celo.org/mainnet/address/0xa70964C9952b08559d5Cb977B44930f4f36bFA9d
IPayloadsControllerCore internal constant PAYLOADS_CONTROLLER =
IPayloadsControllerCore(0xa70964C9952b08559d5Cb977B44930f4f36bFA9d);

// https://explorer.celo.org/mainnet/address/0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424
address internal constant PC_DATA_HELPER = 0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424;

// https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
address internal constant EXECUTOR_LVL_1 = 0x1dF462e2712496373A347f8ad10802a5E95f053D;

// https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000
address internal constant EXECUTOR_LVL_2 = 0x0000000000000000000000000000000000000000;
}
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://explorer.celo.org/mainnet/address/0xb172a90A7C238969CE9B27cc19D13b60A91e7F00
address internal constant TRANSPARENT_PROXY_FACTORY = 0xb172a90A7C238969CE9B27cc19D13b60A91e7F00;

// https://explorer.celo.org/mainnet/address/0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6
address internal constant PROTOCOL_GUARDIAN = 0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6;

// https://explorer.celo.org/mainnet/address/0x01d678F1bbE148C96e7501F1Ac41661904F84F61
address internal constant PROXY_ADMIN = 0x01d678F1bbE148C96e7501F1Ac41661904F84F61;
}
3 changes: 3 additions & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export * as GovernanceV3BNB from './GovernanceV3BNB';
export * as GovernanceV3Gnosis from './GovernanceV3Gnosis';
export * as GovernanceV3Scroll from './GovernanceV3Scroll';
export * as GovernanceV3PolygonZkEvm from './GovernanceV3PolygonZkEvm';
export * as GovernanceV3Celo from './GovernanceV3Celo';
export * as AaveV2EthereumAMM from './AaveV2EthereumAMM';
export * as AaveV2EthereumArc from './AaveV2EthereumArc';
export * as AaveV2Ethereum from './AaveV2Ethereum';
Expand All @@ -33,6 +34,7 @@ export * as AaveV3Metis from './AaveV3Metis';
export * as AaveV3Gnosis from './AaveV3Gnosis';
export * as AaveV3PolygonZkEvm from './AaveV3PolygonZkEvm';
export * as AaveV3BNB from './AaveV3BNB';
export * as AaveV3Celo from './AaveV3Celo';
export * as AaveV3Arbitrum from './AaveV3Arbitrum';
export * as AaveV3Optimism from './AaveV3Optimism';
export * as AaveV3Scroll from './AaveV3Scroll';
Expand All @@ -52,6 +54,7 @@ export * as MiscGnosis from './MiscGnosis';
export * as MiscBNB from './MiscBNB';
export * as MiscScroll from './MiscScroll';
export * as MiscPolygonZkEvm from './MiscPolygonZkEvm';
export * as MiscCelo from './MiscCelo';
export * as MiscSepolia from './MiscSepolia';
export * as MiscMumbai from './MiscMumbai';
export * as AaveGovernanceV2 from './AaveGovernanceV2';
Expand Down
70 changes: 70 additions & 0 deletions src/ts/AaveV3Celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// IPoolAddressesProvider https://explorer.celo.org/mainnet/address/0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D
export const POOL_ADDRESSES_PROVIDER = '0x4172E6aAEC070ACB31aaCE343A58c93E4C70f44D';

// IPool https://explorer.celo.org/mainnet/address/0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA
export const POOL = '0x2816cf15F6d2A220E789aA011D5EE4eB6c47FEbA';

// IPoolConfigurator https://explorer.celo.org/mainnet/address/0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d
export const POOL_CONFIGURATOR = '0x4f221e5c0B7103f7e3291E10097de6D9e3BfC02d';

// IAaveOracle https://explorer.celo.org/mainnet/address/0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1
export const ORACLE = '0x4F6f44325828D2A40724A0a966F33d75cD1DF7c1';

// https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000
export const PRICE_ORACLE_SENTINEL = '0x0000000000000000000000000000000000000000';

// IPoolDataProvider https://explorer.celo.org/mainnet/address/0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x39bc1bfDa2130d6Bb6DBEfd366939b4c7aa7C697';

// IACLManager https://explorer.celo.org/mainnet/address/0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741
export const ACL_MANAGER = '0x501B4c19dd9C2e06E94dA7b6D5Ed4ddA013EC741';

// https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
export const ACL_ADMIN = '0x1dF462e2712496373A347f8ad10802a5E95f053D';

// ICollector https://explorer.celo.org/mainnet/address/0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9
export const COLLECTOR = '0x9138E2cAdFEB23AFFdc0419F2912CaB8F135dba9';

// https://explorer.celo.org/mainnet/address/0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF
export const DEFAULT_INCENTIVES_CONTROLLER = '0xD93e3Ae8f69D04d484d1652Ca569d4b0522414DF';

// https://explorer.celo.org/mainnet/address/0x6c23bAF050ec192afc0B967a93b83e6c5405df43
export const DEFAULT_A_TOKEN_IMPL_REV_1 = '0x6c23bAF050ec192afc0B967a93b83e6c5405df43';

// https://explorer.celo.org/mainnet/address/0x777fBA024bA1228fDa76149A4ff8B23475ed057D
export const DEFAULT_VARIABLE_DEBT_TOKEN_IMPL_REV_1 = '0x777fBA024bA1228fDa76149A4ff8B23475ed057D';

// https://explorer.celo.org/mainnet/address/0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b
export const DEFAULT_STABLE_DEBT_TOKEN_IMPL_REV_1 = '0x29B8Edc8a5158e8eBD7Dea3473517AB079260a0b';

// https://explorer.celo.org/mainnet/address/0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E
export const EMISSION_MANAGER = '0xb50881a9e7Ca0d1c08A59f4da1dE2f3D75B1E34E';

// https://explorer.celo.org/mainnet/address/0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022
export const CAPS_PLUS_RISK_STEWARD = '0xd44fdBf583E67Adb84e530Ae5cC784ad5315f022';

// https://explorer.celo.org/mainnet/address/0xcb0670258e5961CCA85D8F71D29C1167Ef20De99
export const FREEZING_STEWARD = '0xcb0670258e5961CCA85D8F71D29C1167Ef20De99';

// https://explorer.celo.org/mainnet/address/0x3238FC1d642b60F41a35f62570237656C85F4744
export const CONFIG_ENGINE = '0x3238FC1d642b60F41a35f62570237656C85F4744';

// https://explorer.celo.org/mainnet/address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9
export const POOL_ADDRESSES_PROVIDER_REGISTRY = '0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9';

// https://explorer.celo.org/mainnet/address/0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213
export const RATES_FACTORY = '0x83E0E6095a318446b313f7D27e0c33Ed1e9c0213';

// https://explorer.celo.org/mainnet/address/0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C
export const UI_INCENTIVE_DATA_PROVIDER = '0x25Ec457d1778b0E5316e7f38f3c22baF413F1A8C';

// https://explorer.celo.org/mainnet/address/0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85
export const UI_POOL_DATA_PROVIDER = '0x6eD1c70aa357fB8a7e1Eac85aa59e33287Df8f85';

// https://explorer.celo.org/mainnet/address/0xB1532b76D054c9F9E61b25c4d91f69B4133E4671
export const WALLET_BALANCE_PROVIDER = '0xB1532b76D054c9F9E61b25c4d91f69B4133E4671';

export const CHAIN_ID = 42220;
export const ASSETS = {} as const;
export const E_MODES = {} as const;
16 changes: 16 additions & 0 deletions src/ts/GovernanceV3Celo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// https://explorer.celo.org/mainnet/address/0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79
export const CROSS_CHAIN_CONTROLLER = '0x4A5f4b29C0407E5Feb323305e121f563c7bC4d79';

// IPayloadsControllerCore https://explorer.celo.org/mainnet/address/0xa70964C9952b08559d5Cb977B44930f4f36bFA9d
export const PAYLOADS_CONTROLLER = '0xa70964C9952b08559d5Cb977B44930f4f36bFA9d';

// https://explorer.celo.org/mainnet/address/0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424
export const PC_DATA_HELPER = '0xf438e33dCCEE260ee4371F9dceF408b0d7DBe424';

// https://explorer.celo.org/mainnet/address/0x1dF462e2712496373A347f8ad10802a5E95f053D
export const EXECUTOR_LVL_1 = '0x1dF462e2712496373A347f8ad10802a5E95f053D';

// https://explorer.celo.org/mainnet/address/0x0000000000000000000000000000000000000000
export const EXECUTOR_LVL_2 = '0x0000000000000000000000000000000000000000';

export const CHAIN_ID = 42220;
11 changes: 11 additions & 0 deletions src/ts/MiscCelo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
// https://explorer.celo.org/mainnet/address/0xb172a90A7C238969CE9B27cc19D13b60A91e7F00
export const TRANSPARENT_PROXY_FACTORY = '0xb172a90A7C238969CE9B27cc19D13b60A91e7F00';

// https://explorer.celo.org/mainnet/address/0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6
export const PROTOCOL_GUARDIAN = '0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6';

// https://explorer.celo.org/mainnet/address/0x01d678F1bbE148C96e7501F1Ac41661904F84F61
export const PROXY_ADMIN = '0x01d678F1bbE148C96e7501F1Ac41661904F84F61';

export const CHAIN_ID = 42220;
Loading