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 aave cl robot operator #459

Merged
merged 2 commits into from
Jun 6, 2024
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
1 change: 1 addition & 0 deletions scripts/configs/networks/arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const arbitrumAddresses: NetworkAddresses<{
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
AAVE_CL_ROBOT_OPERATOR: '0xaa944aD95e51CB83C1f35FAEEDfC7d2c31B0BB4d',
PROTOCOL_GUARDIAN: '0xbbd9f90699c1fa0d7a65870d241dd1f1217c96eb',
wstETH_stETH_AGGREGATOR: '0xB1552C5e96B312d0Bf8b554186F846C40614a540',
rETH_ETH_AGGREGATOR: '0xF3272CAfe65b190e76caAF483db13424a3e23dD2',
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/networks/avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const avalancheAddresses: NetworkAddresses = {
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
AAVE_CL_ROBOT_OPERATOR: '0x06d958772304e7220fc3E463756CE01Ed0D24db2',
PROTOCOL_GUARDIAN: '0xa35b76E4935449E33C56aB24b23fcd3246f13470',
AAVE_MERKLE_DISTRIBUTOR: '0xA065d5A299E618CD84a87641d5eEbC7916Fdf32E',
},
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/networks/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const baseAddresses: NetworkAddresses<{
TRANSPARENT_PROXY_FACTORY: '0x05225Cd708bCa9253789C1374e4337a019e99D56',
PROXY_ADMIN: '0xc85b1E333aecc99340b2320493Fe2d22b8734795',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
AAVE_CL_ROBOT_OPERATOR: '0x88db99eeBb390a2a4DcAC2E1DDb09c07E911C5C3',
PROTOCOL_GUARDIAN: '0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A',
wstETH_stETH_AGGREGATOR: '0xB88BAc61a4Ca37C43a3725912B1f472c9A5bc061',
cbETH_ETH_AGGREGATOR: '0x868a501e68F3D1E89CfC0D22F6b22E8dabce5F04',
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/networks/bnb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export const bnbAddresses: NetworkAddresses = {
PARASWAP_FEE_CLAIMER: '0xAe940e61E9863178b71500c9B5faE2a04Da361a1',
PROXY_ADMIN: '0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
AAVE_CL_ROBOT_OPERATOR: '0x51Bd3d6011Dd0BD88Ee1bEA1a67be799A6A09D79',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const ethereumAddresses: NetworkAddresses<{
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7',
AAVE_CL_ROBOT_OPERATOR: '0x1cDF8879eC8bE012bA959EB515b11008E0cb6323',
PROTOCOL_GUARDIAN: '0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633',
AAVE_MERKLE_DISTRIBUTOR: '0xa88c6D90eAe942291325f9ae3c66f3563B93FE10',
GHO_TOKEN: '0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f',
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/networks/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const optimismAddresses: NetworkAddresses<{
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
AAVE_CL_ROBOT_OPERATOR: '0x55Cf9583D7D30DC4936bAee1f747591dBECe5df7',
PROTOCOL_GUARDIAN: '0xe50c8c619d05ff98b22adf991f17602c774f785c',
AAVE_MERKLE_DISTRIBUTOR: '0x1685D81212580DD4cDA287616C2f6F4794927e18',
wstETH_stETH_AGGREGATOR: '0xe59EBa0D492cA53C6f46015EEa00517F2707dc77',
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/networks/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const polygonAddresses: NetworkAddresses<{
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
AAVE_CL_ROBOT_OPERATOR: '0xB4C212f5cD17E200019b07e6B1fDf124d35DBCf5',
PROTOCOL_GUARDIAN: '0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58',
AAVE_MERKLE_DISTRIBUTOR: '0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b',
wstETH_stETH_AGGREGATOR: '0x3Ea1eC855fBda8bA0396975eC260AD2e9B2Bc01c',
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export interface NetworkAddresses<T extends Record<string, AddressInfo> = {}> {
CREATE_3_FACTORY?: Hex;
PROTOCOL_GUARDIAN?: Hex;
AAVE_MERKLE_DISTRIBUTOR?: Hex;
AAVE_CL_ROBOT_OPERATOR?: Hex;
GHO_TOKEN?: Hex;
GHO_FLASHMINTER_FACILITATOR?: Hex;
GSM_REGISTRY?: Hex;
Expand Down
3 changes: 3 additions & 0 deletions src/MiscArbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ library MiscArbitrum {
// https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://arbiscan.io/address/0xaa944aD95e51CB83C1f35FAEEDfC7d2c31B0BB4d
address internal constant AAVE_CL_ROBOT_OPERATOR = 0xaa944aD95e51CB83C1f35FAEEDfC7d2c31B0BB4d;

// https://arbiscan.io/address/0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb
address internal constant PROTOCOL_GUARDIAN = 0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb;

Expand Down
3 changes: 3 additions & 0 deletions src/MiscAvalanche.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ library MiscAvalanche {
// https://snowscan.xyz/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://snowscan.xyz/address/0x06d958772304e7220fc3E463756CE01Ed0D24db2
address internal constant AAVE_CL_ROBOT_OPERATOR = 0x06d958772304e7220fc3E463756CE01Ed0D24db2;

// https://snowscan.xyz/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
address internal constant PROTOCOL_GUARDIAN = 0xa35b76E4935449E33C56aB24b23fcd3246f13470;

Expand Down
3 changes: 3 additions & 0 deletions src/MiscBNB.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ library MiscBNB {

// https://bscscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://bscscan.com/address/0x51Bd3d6011Dd0BD88Ee1bEA1a67be799A6A09D79
address internal constant AAVE_CL_ROBOT_OPERATOR = 0x51Bd3d6011Dd0BD88Ee1bEA1a67be799A6A09D79;
}
3 changes: 3 additions & 0 deletions src/MiscBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ library MiscBase {
// https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://basescan.org/address/0x88db99eeBb390a2a4DcAC2E1DDb09c07E911C5C3
address internal constant AAVE_CL_ROBOT_OPERATOR = 0x88db99eeBb390a2a4DcAC2E1DDb09c07E911C5C3;

// https://basescan.org/address/0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A
address internal constant PROTOCOL_GUARDIAN = 0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A;

Expand Down
3 changes: 3 additions & 0 deletions src/MiscEthereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ library MiscEthereum {
// https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7
address internal constant CREATE_3_FACTORY = 0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7;

// https://etherscan.io/address/0x1cDF8879eC8bE012bA959EB515b11008E0cb6323
address internal constant AAVE_CL_ROBOT_OPERATOR = 0x1cDF8879eC8bE012bA959EB515b11008E0cb6323;

// https://etherscan.io/address/0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633
address internal constant PROTOCOL_GUARDIAN = 0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633;

Expand Down
3 changes: 3 additions & 0 deletions src/MiscOptimism.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ library MiscOptimism {
// https://optimistic.etherscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://optimistic.etherscan.io/address/0x55Cf9583D7D30DC4936bAee1f747591dBECe5df7
address internal constant AAVE_CL_ROBOT_OPERATOR = 0x55Cf9583D7D30DC4936bAee1f747591dBECe5df7;

// https://optimistic.etherscan.io/address/0xE50c8C619d05ff98b22Adf991F17602C774F785c
address internal constant PROTOCOL_GUARDIAN = 0xE50c8C619d05ff98b22Adf991F17602C774F785c;

Expand Down
3 changes: 3 additions & 0 deletions src/MiscPolygon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ library MiscPolygon {
// https://polygonscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://polygonscan.com/address/0xB4C212f5cD17E200019b07e6B1fDf124d35DBCf5
address internal constant AAVE_CL_ROBOT_OPERATOR = 0xB4C212f5cD17E200019b07e6B1fDf124d35DBCf5;

// https://polygonscan.com/address/0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58
address internal constant PROTOCOL_GUARDIAN = 0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58;

Expand Down
3 changes: 3 additions & 0 deletions src/ts/MiscArbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';
// https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://arbiscan.io/address/0xaa944aD95e51CB83C1f35FAEEDfC7d2c31B0BB4d
export const AAVE_CL_ROBOT_OPERATOR = '0xaa944aD95e51CB83C1f35FAEEDfC7d2c31B0BB4d';

// https://arbiscan.io/address/0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb
export const PROTOCOL_GUARDIAN = '0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb';

Expand Down
3 changes: 3 additions & 0 deletions src/ts/MiscAvalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';
// https://snowscan.xyz/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://snowscan.xyz/address/0x06d958772304e7220fc3E463756CE01Ed0D24db2
export const AAVE_CL_ROBOT_OPERATOR = '0x06d958772304e7220fc3E463756CE01Ed0D24db2';

// https://snowscan.xyz/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
export const PROTOCOL_GUARDIAN = '0xa35b76E4935449E33C56aB24b23fcd3246f13470';

Expand Down
3 changes: 3 additions & 0 deletions src/ts/MiscBNB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ export const PROXY_ADMIN = '0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c';
// https://bscscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://bscscan.com/address/0x51Bd3d6011Dd0BD88Ee1bEA1a67be799A6A09D79
export const AAVE_CL_ROBOT_OPERATOR = '0x51Bd3d6011Dd0BD88Ee1bEA1a67be799A6A09D79';

export const CHAIN_ID = 56;
3 changes: 3 additions & 0 deletions src/ts/MiscBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export const PROXY_ADMIN = '0xc85b1E333aecc99340b2320493Fe2d22b8734795';
// https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://basescan.org/address/0x88db99eeBb390a2a4DcAC2E1DDb09c07E911C5C3
export const AAVE_CL_ROBOT_OPERATOR = '0x88db99eeBb390a2a4DcAC2E1DDb09c07E911C5C3';

// https://basescan.org/address/0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A
export const PROTOCOL_GUARDIAN = '0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A';

Expand Down
3 changes: 3 additions & 0 deletions src/ts/MiscEthereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';
// https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7
export const CREATE_3_FACTORY = '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7';

// https://etherscan.io/address/0x1cDF8879eC8bE012bA959EB515b11008E0cb6323
export const AAVE_CL_ROBOT_OPERATOR = '0x1cDF8879eC8bE012bA959EB515b11008E0cb6323';

// https://etherscan.io/address/0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633
export const PROTOCOL_GUARDIAN = '0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633';

Expand Down
3 changes: 3 additions & 0 deletions src/ts/MiscOptimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';
// https://optimistic.etherscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://optimistic.etherscan.io/address/0x55Cf9583D7D30DC4936bAee1f747591dBECe5df7
export const AAVE_CL_ROBOT_OPERATOR = '0x55Cf9583D7D30DC4936bAee1f747591dBECe5df7';

// https://optimistic.etherscan.io/address/0xE50c8C619d05ff98b22Adf991F17602C774F785c
export const PROTOCOL_GUARDIAN = '0xE50c8C619d05ff98b22Adf991F17602C774F785c';

Expand Down
3 changes: 3 additions & 0 deletions src/ts/MiscPolygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';
// https://polygonscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://polygonscan.com/address/0xB4C212f5cD17E200019b07e6B1fDf124d35DBCf5
export const AAVE_CL_ROBOT_OPERATOR = '0xB4C212f5cD17E200019b07e6B1fDf124d35DBCf5';

// https://polygonscan.com/address/0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58
export const PROTOCOL_GUARDIAN = '0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58';

Expand Down
Loading