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

fix: add protocol guardian #275

Merged
merged 1 commit 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
1 change: 1 addition & 0 deletions scripts/configs/networks/arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const arbitrumAddresses: NetworkAddresses = {
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0xbbd9f90699c1fa0d7a65870d241dd1f1217c96eb',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/avalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const avalancheAddresses: NetworkAddresses = {
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0xa35b76E4935449E33C56aB24b23fcd3246f13470',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const baseAddresses: NetworkAddresses = {
TRANSPARENT_PROXY_FACTORY: '0x05225Cd708bCa9253789C1374e4337a019e99D56',
PROXY_ADMIN: '0xc85b1E333aecc99340b2320493Fe2d22b8734795',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ export const ethereumAddresses: NetworkAddresses<{
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7',
PROTOCOL_GUARDIAN: '0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export const gnosisAddresses: NetworkAddresses = {
TRANSPARENT_PROXY_FACTORY: '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A',
PROXY_ADMIN: '0xe892E40C92c2E4D281Be59b2E6300F271d824E75',
CREATE_3_FACTORY: '0x2cC41488f4494c5e11cB6cbA82199442B9f495B6',
PROTOCOL_GUARDIAN: '0xF163b8698821cefbD33Cf449764d69Ea445cE23D',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/metis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export const metisAddresses: NetworkAddresses = {
TRANSPARENT_PROXY_FACTORY: '0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB',
PROXY_ADMIN: '0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97',
CREATE_3_FACTORY: '0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A',
PROTOCOL_GUARDIAN: '0xF6Db48C5968A9eBCB935786435530f28e32Cc501',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const optimismAddresses: NetworkAddresses = {
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0xe50c8c619d05ff98b22adf991f17602c774f785c',
},
};
1 change: 1 addition & 0 deletions scripts/configs/networks/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export const polygonAddresses: NetworkAddresses<{AAVE_POL_ETH_BRIDGE: Hex}> = {
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29',
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476',
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32',
PROTOCOL_GUARDIAN: '0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58',
},
};
1 change: 1 addition & 0 deletions scripts/configs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@ export interface NetworkAddresses<T extends Record<string, AddressInfo> = {}> {
TRANSPARENT_PROXY_FACTORY?: Hex;
PROXY_ADMIN?: Hex;
CREATE_3_FACTORY?: Hex;
PROTOCOL_GUARDIAN?: Hex;
} & T;
}
3 changes: 3 additions & 0 deletions src/MiscArbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ library MiscArbitrum {

// https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://arbiscan.io/address/0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb
address internal constant PROTOCOL_GUARDIAN = 0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb;
}
3 changes: 3 additions & 0 deletions src/MiscAvalanche.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ library MiscAvalanche {

// https://snowtrace.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

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

// https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

// https://basescan.org/address/0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A
address internal constant PROTOCOL_GUARDIAN = 0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A;
}
3 changes: 3 additions & 0 deletions src/MiscEthereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ library MiscEthereum {

// https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7
address internal constant CREATE_3_FACTORY = 0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7;

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

// https://blockscout.com/xdai/mainnet/address/0x2cC41488f4494c5e11cB6cbA82199442B9f495B6
address internal constant CREATE_3_FACTORY = 0x2cC41488f4494c5e11cB6cbA82199442B9f495B6;

// https://blockscout.com/xdai/mainnet/address/0xF163b8698821cefbD33Cf449764d69Ea445cE23D
address internal constant PROTOCOL_GUARDIAN = 0xF163b8698821cefbD33Cf449764d69Ea445cE23D;
}
3 changes: 3 additions & 0 deletions src/MiscMetis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ library MiscMetis {

// https://andromeda-explorer.metis.io/address/0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A
address internal constant CREATE_3_FACTORY = 0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A;

// https://andromeda-explorer.metis.io/address/0xF6Db48C5968A9eBCB935786435530f28e32Cc501
address internal constant PROTOCOL_GUARDIAN = 0xF6Db48C5968A9eBCB935786435530f28e32Cc501;
}
3 changes: 3 additions & 0 deletions src/MiscOptimism.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ library MiscOptimism {

// https://explorer.optimism.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
address internal constant CREATE_3_FACTORY = 0x3b56998Ec06477704622ca8e2eA1b4db134cec32;

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

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

// https://polygonscan.com/address/0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58
address internal constant PROTOCOL_GUARDIAN = 0x1450F2898D6bA2710C98BE9CAF3041330eD5ae58;
}
3 changes: 3 additions & 0 deletions src/ts/MiscArbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';

// https://arbiscan.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://arbiscan.io/address/0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb
export const PROTOCOL_GUARDIAN = '0xbbd9f90699c1FA0D7A65870D241DD1f1217c96Eb';
3 changes: 3 additions & 0 deletions src/ts/MiscAvalanche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';

// https://snowtrace.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://snowtrace.io/address/0xa35b76E4935449E33C56aB24b23fcd3246f13470
export const PROTOCOL_GUARDIAN = '0xa35b76E4935449E33C56aB24b23fcd3246f13470';
3 changes: 3 additions & 0 deletions src/ts/MiscBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ export const PROXY_ADMIN = '0xc85b1E333aecc99340b2320493Fe2d22b8734795';

// https://basescan.org/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://basescan.org/address/0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A
export const PROTOCOL_GUARDIAN = '0x9e10C0A1Eb8FF6a0AaA53a62C7a338f35D7D9a2A';
3 changes: 3 additions & 0 deletions src/ts/MiscEthereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';

// https://etherscan.io/address/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7
export const CREATE_3_FACTORY = '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7';

// https://etherscan.io/address/0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633
export const PROTOCOL_GUARDIAN = '0xCA76Ebd8617a03126B6FB84F9b1c1A0fB71C2633';
3 changes: 3 additions & 0 deletions src/ts/MiscGnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ export const PROXY_ADMIN = '0xe892E40C92c2E4D281Be59b2E6300F271d824E75';

// https://blockscout.com/xdai/mainnet/address/0x2cC41488f4494c5e11cB6cbA82199442B9f495B6
export const CREATE_3_FACTORY = '0x2cC41488f4494c5e11cB6cbA82199442B9f495B6';

// https://blockscout.com/xdai/mainnet/address/0xF163b8698821cefbD33Cf449764d69Ea445cE23D
export const PROTOCOL_GUARDIAN = '0xF163b8698821cefbD33Cf449764d69Ea445cE23D';
3 changes: 3 additions & 0 deletions src/ts/MiscMetis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ export const PROXY_ADMIN = '0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97';

// https://andromeda-explorer.metis.io/address/0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A
export const CREATE_3_FACTORY = '0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A';

// https://andromeda-explorer.metis.io/address/0xF6Db48C5968A9eBCB935786435530f28e32Cc501
export const PROTOCOL_GUARDIAN = '0xF6Db48C5968A9eBCB935786435530f28e32Cc501';
3 changes: 3 additions & 0 deletions src/ts/MiscOptimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';

// https://explorer.optimism.io/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

// https://explorer.optimism.io/address/0xE50c8C619d05ff98b22Adf991F17602C774F785c
export const PROTOCOL_GUARDIAN = '0xE50c8C619d05ff98b22Adf991F17602C774F785c';
3 changes: 3 additions & 0 deletions src/ts/MiscPolygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ export const PROXY_ADMIN = '0xD3cF979e676265e4f6379749DECe4708B9A22476';

// https://polygonscan.com/address/0x3b56998Ec06477704622ca8e2eA1b4db134cec32
export const CREATE_3_FACTORY = '0x3b56998Ec06477704622ca8e2eA1b4db134cec32';

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