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: added aave merkle distributor #280

Merged
merged 1 commit into from
Nov 3, 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
1 change: 1 addition & 0 deletions scripts/configs/networks/avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export const avalancheAddresses: NetworkAddresses = {
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0xa35b76E4935449E33C56aB24b23fcd3246f13470',
AAVE_MERKLE_DISTRIBUTOR: '0xA065d5A299E618CD84a87641d5eEbC7916Fdf32E',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ export const ethereumAddresses: NetworkAddresses<{
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7',
PROTOCOL_GUARDIAN: '0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633',
AAVE_MERKLE_DISTRIBUTOR: '0xa88c6D90eAe942291325f9ae3c66f3563B93FE10',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export const optimismAddresses: NetworkAddresses = {
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0xe50c8c619d05ff98b22adf991f17602c774f785c',
AAVE_MERKLE_DISTRIBUTOR: '0x1685D81212580DD4cDA287616C2f6F4794927e18',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ export const polygonAddresses: NetworkAddresses<{AAVE_POL_ETH_BRIDGE: Hex}> = {
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58',
AAVE_MERKLE_DISTRIBUTOR: '0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b',
},
};
1 change: 1 addition & 0 deletions scripts/configs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@ export interface NetworkAddresses<T extends Record<string, AddressInfo> = {}> {
PROXY_ADMIN?: Hex;
CREATE_3_FACTORY?: Hex;
PROTOCOL_GUARDIAN?: Hex;
AAVE_MERKLE_DISTRIBUTOR?: Hex;
} & T;
}
3 changes: 3 additions & 0 deletions src/MiscAvalanche.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ library MiscAvalanche {

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

// https://snowtrace.io/address/0xA065d5A299E618CD84a87641d5eEbC7916Fdf32E
address internal constant AAVE_MERKLE_DISTRIBUTOR = 0xA065d5A299E618CD84a87641d5eEbC7916Fdf32E;
}
3 changes: 3 additions & 0 deletions src/MiscEthereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ library MiscEthereum {

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

// https://etherscan.io/address/0xa88c6D90eAe942291325f9ae3c66f3563B93FE10
address internal constant AAVE_MERKLE_DISTRIBUTOR = 0xa88c6D90eAe942291325f9ae3c66f3563B93FE10;
}
3 changes: 3 additions & 0 deletions src/MiscOptimism.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ library MiscOptimism {

// https://explorer.optimism.io/address/0xE50c8C619d05ff98b22Adf991F17602C774F785c
address internal constant PROTOCOL_GUARDIAN = 0xE50c8C619d05ff98b22Adf991F17602C774F785c;

// https://explorer.optimism.io/address/0x1685D81212580DD4cDA287616C2f6F4794927e18
address internal constant AAVE_MERKLE_DISTRIBUTOR = 0x1685D81212580DD4cDA287616C2f6F4794927e18;
}
3 changes: 3 additions & 0 deletions src/MiscPolygon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ library MiscPolygon {

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

// https://polygonscan.com/address/0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b
address internal constant AAVE_MERKLE_DISTRIBUTOR = 0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b;
}
3 changes: 3 additions & 0 deletions src/ts/MiscAvalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

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

// https://snowtrace.io/address/0xA065d5A299E618CD84a87641d5eEbC7916Fdf32E
export const AAVE_MERKLE_DISTRIBUTOR = '0xA065d5A299E618CD84a87641d5eEbC7916Fdf32E';
3 changes: 3 additions & 0 deletions src/ts/MiscEthereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ export const CREATE_3_FACTORY = '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7';

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

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

// https://explorer.optimism.io/address/0xE50c8C619d05ff98b22Adf991F17602C774F785c
export const PROTOCOL_GUARDIAN = '0xE50c8C619d05ff98b22Adf991F17602C774F785c';

// https://explorer.optimism.io/address/0x1685D81212580DD4cDA287616C2f6F4794927e18
export const AAVE_MERKLE_DISTRIBUTOR = '0x1685D81212580DD4cDA287616C2f6F4794927e18';
3 changes: 3 additions & 0 deletions src/ts/MiscPolygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

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

// https://polygonscan.com/address/0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b
export const AAVE_MERKLE_DISTRIBUTOR = '0x7A9ff54A6eE4a21223036890bB8c4ea2D62c686b';