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 ui pool data provider abis #276

Merged
merged 2 commits into from
Nov 2, 2023
Merged
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
6 changes: 5 additions & 1 deletion scripts/configs/abis.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ChainId} from '../generator/chains';
import {governanceConfigMainnet} from './governance/ethereum';
import {mainnetProtoV2Pool, mainnetProtoV3Pool} from './pools/ethereum';

export const ABI_INTERFACES = [
'IAaveGovernanceV2',
Expand Down Expand Up @@ -41,4 +41,8 @@ export const DOWNLOAD_ABI_INTERFACES = [
address: governanceConfigMainnet.ADDRESSES.VM_DATA_HELPER,
name: 'IVotingMachineDataHelper',
},
{
address: mainnetProtoV3Pool.additionalAddresses.UI_POOL_DATA_PROVIDER,
name: 'IUiPoolDataProvider',
},
];
2 changes: 2 additions & 0 deletions scripts/configs/governance/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const governanceConfigGoerli: GovernanceConfig = {
PC_DATA_HELPER: '0xbd2db358f3C82F2883132A6584e22F38A979e768',
META_DELEGATE_HELPER: '0x1966133c190475E8385Dc1b4150B5f81c70DC578',
GOV_DATA_HELPER: '0x160e2d1456B815d6a3d281218538dd6E2e3C841f',
GOVERNANCE_POWER_STRATEGY: '0x1ba21Fb1bDF4234CAe0AD1e02cF6750d7938E358',
},
};

Expand All @@ -47,5 +48,6 @@ export const governanceConfigMainnet: GovernanceConfig = {
VM_DATA_HELPER: '0x77976B51569896523EE215962Ee91ff236Fa50E8',
META_DELEGATE_HELPER: '0x94363B11b37BC3ffe43AB09cff5A010352FE85dC',
EMERGENCY_REGISTRY: '0x73C6Fb358dDA8e84D50e98A98F7c0dF32e15C7e9',
GOVERNANCE_POWER_STRATEGY: '0xa198Fac58E02A5C5F8F7e877895d50cFa9ad1E04',
},
};
1 change: 1 addition & 0 deletions scripts/configs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export type GovernanceV3Addresses = {
PC_DATA_HELPER?: Hex;
META_DELEGATE_HELPER?: Hex;
EMERGENCY_REGISTRY?: Hex;
GOVERNANCE_POWER_STRATEGY?: Hex;
};

export interface GovernanceConfig {
Expand Down
17 changes: 13 additions & 4 deletions scripts/generateABIs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ import {ABI_INTERFACES, DOWNLOAD_ABI_INTERFACES} from './configs/abis';

const awaitableExec = util.promisify(exec);

export async function generateABIs() {
export async function generateABIs(removeExisting: boolean) {
if (existsSync('./src/ts/abis')) {
rmSync('./src/ts/abis', {recursive: true});
if (removeExisting) {
rmSync('./src/ts/abis', {recursive: true});
mkdirSync('./src/ts/abis');
}
} else {
mkdirSync('./src/ts/abis');
}
mkdirSync('./src/ts/abis');
for (const INTERFACE of ABI_INTERFACES) {
const {stdout, stderr} = await awaitableExec(`forge inspect ${INTERFACE} abi`);
if (stderr) {
Expand All @@ -25,13 +29,18 @@ export async function generateABIs() {
);
}
for (const INTERFACE of DOWNLOAD_ABI_INTERFACES) {
const fileName = `./src/ts/abis/${INTERFACE.name}.ts`;
if (existsSync(fileName)) {
console.log(`skipping download of abi ${INTERFACE.name} as it already exists`);
continue;
}
const {stdout, stderr} = await awaitableExec(`cast interface -j ${INTERFACE.address}`);
if (stderr) {
throw new Error(`Failed to generate abi for ${INTERFACE.name} from ${INTERFACE.address}`);
}
const varName = `${INTERFACE.name}_ABI`;
writeFileSync(
`./src/ts/abis/${INTERFACE.name}.ts`,
fileName,
prefixWithGeneratedWarning(
`export const ${varName} = ${JSON.stringify(JSON.parse(stdout.trim()), null, 2)} as const;`,
),
Expand Down
9 changes: 5 additions & 4 deletions scripts/generator/governanceV3Generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ function getGovernancePowerStrategy(governance: Address, publicClient: PublicCli
async function getGovernanceV3Addresses({CHAIN_ID, ADDRESSES}: GovernanceConfig) {
let addresses: Addresses = {...ADDRESSES};
if (ADDRESSES.GOVERNANCE) {
addresses.GOVERNANCE_POWER_STRATEGY = await getGovernancePowerStrategy(
ADDRESSES.GOVERNANCE,
RPC_PROVIDERS[CHAIN_ID],
);
// TODO: comment back in when governance v3 is live
// addresses.GOVERNANCE_POWER_STRATEGY = await getGovernancePowerStrategy(
// ADDRESSES.GOVERNANCE,
// RPC_PROVIDERS[CHAIN_ID],
// );
addresses.GOVERNANCE = {value: addresses.GOVERNANCE, type: 'IGovernanceCore'};
}

Expand Down
4 changes: 2 additions & 2 deletions scripts/generator/protocolV2Generator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {Hex, PublicClient, getContract} from 'viem';
import {AddressInfo, PoolConfig, ReserveData} from '../configs/types';
import {UI_POOL_DATA_PROVIDER_ABI} from '../abi/uipooldata_provider';
import {RPC_PROVIDERS} from './clients';
import {appendFileSync, writeFileSync} from 'fs';
import {
Expand All @@ -15,6 +14,7 @@ import {LENDING_POOL_V2_ABI} from '../abi/lending_pool_v2_abi';
import {A_TOKEN_V2_ABI} from '../abi/aToken_v2_abi';
import {INCENTIVES_CONTROLLER_ABI} from '../abi/incentivesController_abi';
import {generateAssetsLibrary} from './assetsLibraryGenerator';
import {IUiPoolDataProvider_ABI} from '../../src/ts/abis/IUiPoolDataProvider';

export interface PoolV2Addresses {
POOL_ADDRESSES_PROVIDER: AddressInfo;
Expand Down Expand Up @@ -106,7 +106,7 @@ export async function getPoolV2Addresses(pool: PoolConfig): Promise<PoolV2Addres
if (pool.additionalAddresses.UI_POOL_DATA_PROVIDER) {
const uiPoolDataProvider = getContract({
address: pool.additionalAddresses.UI_POOL_DATA_PROVIDER,
abi: UI_POOL_DATA_PROVIDER_ABI,
abi: IUiPoolDataProvider_ABI,
publicClient,
});
reservesData = (
Expand Down
4 changes: 2 additions & 2 deletions scripts/generator/protocolV3Generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {Hex, PublicClient, getContract, zeroAddress} from 'viem';
import {AddressInfo, Addresses, PoolConfig, ReserveData} from '../configs/types';
import {ADDRESS_PROVIDER_V3_ABI} from '../abi/address_provider_v3_abi';
import {REWARDS_CONTROLLER_ABI} from '../abi/rewardsController_v3_abi';
import {UI_POOL_DATA_PROVIDER_ABI} from '../abi/uipooldata_provider';
import {STATIC_A_TOKEN_FACTORY_ABI} from '../abi/static_a_token_factory_abi';
import {A_TOKEN_V3_ABI} from '../abi/aToken_v3_abi';
import {VARIABLE_DEBT_TOKEN_ABI} from '../abi/variableDebtToken_v3_abi';
Expand All @@ -22,6 +21,7 @@ import {
} from './utils';
import {generateAssetsLibrary} from './assetsLibraryGenerator';
import {ChainId} from './chains';
import {IUiPoolDataProvider_ABI} from '../../src/ts/abis/IUiPoolDataProvider';

export interface PoolV3Addresses {
POOL_ADDRESSES_PROVIDER: AddressInfo;
Expand Down Expand Up @@ -164,7 +164,7 @@ export async function getPoolV3Addresses(
if (pool.additionalAddresses.UI_POOL_DATA_PROVIDER) {
const uiPoolDataProvider = getContract({
address: pool.additionalAddresses.UI_POOL_DATA_PROVIDER,
abi: UI_POOL_DATA_PROVIDER_ABI,
abi: IUiPoolDataProvider_ABI,
publicClient,
});
const staticATokenFactoryContract = pool.additionalAddresses.STATIC_A_TOKEN_FACTORY
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2Avalanche.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ library AaveV2Avalanche {
IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IAaveProtocolDataProvider(0x65285E9dfab318f57051ab2b139ccCf232945451);

// https://snowtrace.io/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
address internal constant POOL_ADMIN = 0xa35b76E4935449E33C56aB24b23fcd3246f13470;
// https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090
address internal constant POOL_ADMIN = 0x3C06dce358add17aAf230f2234bCCC4afd50d090;

// https://snowtrace.io/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
address internal constant EMERGENCY_ADMIN = 0xa35b76E4935449E33C56aB24b23fcd3246f13470;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ library AaveV2Ethereum {
IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IAaveProtocolDataProvider(0x057835Ad21a177dbdd3090bB1CAE03EaCF78Fc6d);

// https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5
address internal constant POOL_ADMIN = 0xEE56e2B3D491590B5b31738cC34d5232F378a8D5;
// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A
address internal constant POOL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A;

// https://etherscan.io/address/0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633
address internal constant EMERGENCY_ADMIN = 0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2EthereumAMM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ library AaveV2EthereumAMM {
IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IAaveProtocolDataProvider(0x0000000000000000000000000000000000000000);

// https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5
address internal constant POOL_ADMIN = 0xEE56e2B3D491590B5b31738cC34d5232F378a8D5;
// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A
address internal constant POOL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A;

// https://etherscan.io/address/0xB9062896ec3A615a4e4444DF183F0531a77218AE
address internal constant EMERGENCY_ADMIN = 0xB9062896ec3A615a4e4444DF183F0531a77218AE;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV2Polygon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ library AaveV2Polygon {
IAaveProtocolDataProvider internal constant AAVE_PROTOCOL_DATA_PROVIDER =
IAaveProtocolDataProvider(0x7551b5D2763519d4e37e8B81929D336De671d46d);

// https://polygonscan.com/address/0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772
address internal constant POOL_ADMIN = 0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772;
// https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233
address internal constant POOL_ADMIN = 0xDf7d0e6454DB638881302729F5ba99936EaAB233;

// https://polygonscan.com/address/0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58
address internal constant EMERGENCY_ADMIN = 0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58;
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Arbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV3Arbitrum {
IACLManager internal constant ACL_MANAGER =
IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B);

// https://arbiscan.io/address/0x7d9103572bE58FfE99dc390E8246f02dcAe6f611
address internal constant ACL_ADMIN = 0x7d9103572bE58FfE99dc390E8246f02dcAe6f611;
// https://arbiscan.io/address/0xFF1137243698CaA18EE364Cc966CF0e02A4e6327
address internal constant ACL_ADMIN = 0xFF1137243698CaA18EE364Cc966CF0e02A4e6327;

// https://arbiscan.io/address/0x053D55f9B5AF8694c503EB288a1B7E552f590710
ICollector internal constant COLLECTOR = ICollector(0x053D55f9B5AF8694c503EB288a1B7E552f590710);
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Avalanche.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV3Avalanche {
IACLManager internal constant ACL_MANAGER =
IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B);

// https://snowtrace.io/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
address internal constant ACL_ADMIN = 0xa35b76E4935449E33C56aB24b23fcd3246f13470;
// https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090
address internal constant ACL_ADMIN = 0x3C06dce358add17aAf230f2234bCCC4afd50d090;

// https://snowtrace.io/address/0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0
ICollector internal constant COLLECTOR = ICollector(0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0);
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV3Base {
IACLManager internal constant ACL_MANAGER =
IACLManager(0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33);

// https://basescan.org/address/0xA9F30e6ED4098e9439B2ac8aEA2d3fc26BcEbb45
address internal constant ACL_ADMIN = 0xA9F30e6ED4098e9439B2ac8aEA2d3fc26BcEbb45;
// https://basescan.org/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a
address internal constant ACL_ADMIN = 0x9390B1735def18560c509E2d0bc090E9d6BA257a;

// https://basescan.org/address/0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057
ICollector internal constant COLLECTOR = ICollector(0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057);
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV3Ethereum {
IACLManager internal constant ACL_MANAGER =
IACLManager(0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0);

// https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5
address internal constant ACL_ADMIN = 0xEE56e2B3D491590B5b31738cC34d5232F378a8D5;
// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A
address internal constant ACL_ADMIN = 0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A;

// https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c
ICollector internal constant COLLECTOR = ICollector(0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c);
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Metis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV3Metis {
IACLManager internal constant ACL_MANAGER =
IACLManager(0xcDCb65fc657B701a5100a12eFB663978E7e8fFB8);

// https://andromeda-explorer.metis.io/address/0x8EC77963068474a45016938Deb95E603Ca82a029
address internal constant ACL_ADMIN = 0x8EC77963068474a45016938Deb95E603Ca82a029;
// https://andromeda-explorer.metis.io/address/0x6fD45D32375d5aDB8D76275A3932c740F03a8718
address internal constant ACL_ADMIN = 0x6fD45D32375d5aDB8D76275A3932c740F03a8718;

// https://andromeda-explorer.metis.io/address/0xB5b64c7E00374e766272f8B442Cd261412D4b118
ICollector internal constant COLLECTOR = ICollector(0xB5b64c7E00374e766272f8B442Cd261412D4b118);
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Optimism.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV3Optimism {
IACLManager internal constant ACL_MANAGER =
IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B);

// https://explorer.optimism.io/address/0x7d9103572bE58FfE99dc390E8246f02dcAe6f611
address internal constant ACL_ADMIN = 0x7d9103572bE58FfE99dc390E8246f02dcAe6f611;
// https://explorer.optimism.io/address/0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf
address internal constant ACL_ADMIN = 0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf;

// https://explorer.optimism.io/address/0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf
ICollector internal constant COLLECTOR = ICollector(0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf);
Expand Down
4 changes: 2 additions & 2 deletions src/AaveV3Polygon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ library AaveV3Polygon {
IACLManager internal constant ACL_MANAGER =
IACLManager(0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B);

// https://polygonscan.com/address/0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772
address internal constant ACL_ADMIN = 0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772;
// https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233
address internal constant ACL_ADMIN = 0xDf7d0e6454DB638881302729F5ba99936EaAB233;

// https://polygonscan.com/address/0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383
ICollector internal constant COLLECTOR = ICollector(0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383);
Expand Down
1 change: 1 addition & 0 deletions src/ts/AaveAddressBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@ export {IPayloadsControllerDataHelper_ABI} from './abis/IPayloadsControllerDataH
export {IGovernanceDataHelper_ABI} from './abis/IGovernanceDataHelper';
export {IMetaDelegateHelper_ABI} from './abis/IMetaDelegateHelper';
export {IVotingMachineDataHelper_ABI} from './abis/IVotingMachineDataHelper';
export {IUiPoolDataProvider_ABI} from './abis/IUiPoolDataProvider';
4 changes: 2 additions & 2 deletions src/ts/AaveV2Avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const LENDING_RATE_ORACLE = '0xc34254642B504484465F38Cb1CC396d45a9c7c80';
// IAaveProtocolDataProvider https://snowtrace.io/address/0x65285E9dfab318f57051ab2b139ccCf232945451
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x65285E9dfab318f57051ab2b139ccCf232945451';

// https://snowtrace.io/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
export const POOL_ADMIN = '0xa35b76E4935449E33C56aB24b23fcd3246f13470';
// https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090
export const POOL_ADMIN = '0x3C06dce358add17aAf230f2234bCCC4afd50d090';

// https://snowtrace.io/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
export const EMERGENCY_ADMIN = '0xa35b76E4935449E33C56aB24b23fcd3246f13470';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const LENDING_RATE_ORACLE = '0x8A32f49FFbA88aba6EFF96F45D8BD1D4b3f35c7D';
// IAaveProtocolDataProvider https://etherscan.io/address/0x057835Ad21a177dbdd3090bB1CAE03EaCF78Fc6d
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x057835Ad21a177dbdd3090bB1CAE03EaCF78Fc6d';

// https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5
export const POOL_ADMIN = '0xEE56e2B3D491590B5b31738cC34d5232F378a8D5';
// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A
export const POOL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A';

// https://etherscan.io/address/0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633
export const EMERGENCY_ADMIN = '0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2EthereumAMM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const LENDING_RATE_ORACLE = '0x8A32f49FFbA88aba6EFF96F45D8BD1D4b3f35c7D';
// IAaveProtocolDataProvider https://etherscan.io/address/0x0000000000000000000000000000000000000000
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x0000000000000000000000000000000000000000';

// https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5
export const POOL_ADMIN = '0xEE56e2B3D491590B5b31738cC34d5232F378a8D5';
// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A
export const POOL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A';

// https://etherscan.io/address/0xB9062896ec3A615a4e4444DF183F0531a77218AE
export const EMERGENCY_ADMIN = '0xB9062896ec3A615a4e4444DF183F0531a77218AE';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV2Polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const LENDING_RATE_ORACLE = '0x17F73aEaD876CC4059089ff815EDA37052960dFB';
// IAaveProtocolDataProvider https://polygonscan.com/address/0x7551b5D2763519d4e37e8B81929D336De671d46d
export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7551b5D2763519d4e37e8B81929D336De671d46d';

// https://polygonscan.com/address/0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772
export const POOL_ADMIN = '0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772';
// https://polygonscan.com/address/0xDf7d0e6454DB638881302729F5ba99936EaAB233
export const POOL_ADMIN = '0xDf7d0e6454DB638881302729F5ba99936EaAB233';

// https://polygonscan.com/address/0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58
export const EMERGENCY_ADMIN = '0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const AAVE_PROTOCOL_DATA_PROVIDER = '0x6b4E260b765B3cA1514e618C0215A6B783
// IACLManager https://arbiscan.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B
export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B';

// https://arbiscan.io/address/0x7d9103572bE58FfE99dc390E8246f02dcAe6f611
export const ACL_ADMIN = '0x7d9103572bE58FfE99dc390E8246f02dcAe6f611';
// https://arbiscan.io/address/0xFF1137243698CaA18EE364Cc966CF0e02A4e6327
export const ACL_ADMIN = '0xFF1137243698CaA18EE364Cc966CF0e02A4e6327';

// ICollector https://arbiscan.io/address/0x053D55f9B5AF8694c503EB288a1B7E552f590710
export const COLLECTOR = '0x053D55f9B5AF8694c503EB288a1B7E552f590710';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const AAVE_PROTOCOL_DATA_PROVIDER = '0x50ddd0Cd4266299527d25De9CBb55fE0EB
// IACLManager https://snowtrace.io/address/0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B
export const ACL_MANAGER = '0xa72636CbcAa8F5FF95B2cc47F3CDEe83F3294a0B';

// https://snowtrace.io/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
export const ACL_ADMIN = '0xa35b76E4935449E33C56aB24b23fcd3246f13470';
// https://snowtrace.io/address/0x3C06dce358add17aAf230f2234bCCC4afd50d090
export const ACL_ADMIN = '0x3C06dce358add17aAf230f2234bCCC4afd50d090';

// ICollector https://snowtrace.io/address/0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0
export const COLLECTOR = '0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const AAVE_PROTOCOL_DATA_PROVIDER = '0x2d8A3C5677189723C4cB8873CfC9C8976F
// IACLManager https://basescan.org/address/0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33
export const ACL_MANAGER = '0x43955b0899Ab7232E3a454cf84AedD22Ad46FD33';

// https://basescan.org/address/0xA9F30e6ED4098e9439B2ac8aEA2d3fc26BcEbb45
export const ACL_ADMIN = '0xA9F30e6ED4098e9439B2ac8aEA2d3fc26BcEbb45';
// https://basescan.org/address/0x9390B1735def18560c509E2d0bc090E9d6BA257a
export const ACL_ADMIN = '0x9390B1735def18560c509E2d0bc090E9d6BA257a';

// ICollector https://basescan.org/address/0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057
export const COLLECTOR = '0xBA9424d650A4F5c80a0dA641254d1AcCE2A37057';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/AaveV3Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const AAVE_PROTOCOL_DATA_PROVIDER = '0x7B4EB56E7CD4b454BA8ff71E4518426369
// IACLManager https://etherscan.io/address/0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0
export const ACL_MANAGER = '0xc2aaCf6553D20d1e9d78E365AAba8032af9c85b0';

// https://etherscan.io/address/0xEE56e2B3D491590B5b31738cC34d5232F378a8D5
export const ACL_ADMIN = '0xEE56e2B3D491590B5b31738cC34d5232F378a8D5';
// https://etherscan.io/address/0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A
export const ACL_ADMIN = '0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A';

// ICollector https://etherscan.io/address/0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c
export const COLLECTOR = '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c';
Expand Down
Loading
Loading