-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
152 additions
and
38 deletions.
There are no files selected for viewing
Submodule aave-v3-origin
updated
19 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {GovernanceConfig} from '../types'; | ||
import {ChainId} from '@bgd-labs/rpc-env'; | ||
|
||
export const governanceConfigCelo: GovernanceConfig = { | ||
name: 'Celo', | ||
CHAIN_ID: ChainId.celo, | ||
ADDRESSES: { | ||
CROSS_CHAIN_CONTROLLER: '0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd', | ||
CL_EMERGENCY_ORACLE: '0x91b21900E91CD302EBeD05E45D8f270ddAED944d', | ||
PAYLOADS_CONTROLLER: '0xE48E10834C04E394A04BF22a565D063D40b9FA42', | ||
PC_DATA_HELPER: '0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a', | ||
GRANULAR_GUARDIAN: '0xbE815420A63A413BB8D508d8022C0FF150Ea7C39', | ||
GOVERNANCE_GUARDIAN: '0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {ChainId} from '@bgd-labs/rpc-env'; | ||
import {NetworkAddresses} from '../types'; | ||
|
||
export const celoAddresses: NetworkAddresses = { | ||
name: 'Celo', | ||
chainId: ChainId.celo, | ||
addresses: { | ||
TRANSPARENT_PROXY_FACTORY: '0xAe13e4DA0952f0B8fE04E21df53716fCF799a923', | ||
PROXY_ADMIN: '0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0', | ||
PROTOCOL_GUARDIAN: '0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6', // TODO: change to new one once deployed | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// 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://celoscan.io/address/0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd | ||
address internal constant CROSS_CHAIN_CONTROLLER = 0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd; | ||
|
||
// https://celoscan.io/address/0x91b21900E91CD302EBeD05E45D8f270ddAED944d | ||
address internal constant CL_EMERGENCY_ORACLE = 0x91b21900E91CD302EBeD05E45D8f270ddAED944d; | ||
|
||
// https://celoscan.io/address/0xE48E10834C04E394A04BF22a565D063D40b9FA42 | ||
IPayloadsControllerCore internal constant PAYLOADS_CONTROLLER = | ||
IPayloadsControllerCore(0xE48E10834C04E394A04BF22a565D063D40b9FA42); | ||
|
||
// https://celoscan.io/address/0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a | ||
address internal constant PC_DATA_HELPER = 0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a; | ||
|
||
// https://celoscan.io/address/0xbE815420A63A413BB8D508d8022C0FF150Ea7C39 | ||
address internal constant GRANULAR_GUARDIAN = 0xbE815420A63A413BB8D508d8022C0FF150Ea7C39; | ||
|
||
// https://celoscan.io/address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E | ||
address internal constant GOVERNANCE_GUARDIAN = 0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E; | ||
|
||
// https://celoscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D | ||
address internal constant EXECUTOR_LVL_1 = 0x1dF462e2712496373A347f8ad10802a5E95f053D; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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://celoscan.io/address/0xAe13e4DA0952f0B8fE04E21df53716fCF799a923 | ||
address internal constant TRANSPARENT_PROXY_FACTORY = 0xAe13e4DA0952f0B8fE04E21df53716fCF799a923; | ||
|
||
// https://celoscan.io/address/0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0 | ||
address internal constant PROXY_ADMIN = 0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0; | ||
|
||
// https://celoscan.io/address/0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6 | ||
address internal constant PROTOCOL_GUARDIAN = 0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// https://celoscan.io/address/0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd | ||
export const CROSS_CHAIN_CONTROLLER = '0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd'; | ||
|
||
// https://celoscan.io/address/0x91b21900E91CD302EBeD05E45D8f270ddAED944d | ||
export const CL_EMERGENCY_ORACLE = '0x91b21900E91CD302EBeD05E45D8f270ddAED944d'; | ||
|
||
// IPayloadsControllerCore https://celoscan.io/address/0xE48E10834C04E394A04BF22a565D063D40b9FA42 | ||
export const PAYLOADS_CONTROLLER = '0xE48E10834C04E394A04BF22a565D063D40b9FA42'; | ||
|
||
// https://celoscan.io/address/0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a | ||
export const PC_DATA_HELPER = '0x8657Cd5a0957e8C5BE15c69C67078b5d730D720a'; | ||
|
||
// https://celoscan.io/address/0xbE815420A63A413BB8D508d8022C0FF150Ea7C39 | ||
export const GRANULAR_GUARDIAN = '0xbE815420A63A413BB8D508d8022C0FF150Ea7C39'; | ||
|
||
// https://celoscan.io/address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E | ||
export const GOVERNANCE_GUARDIAN = '0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E'; | ||
|
||
// https://celoscan.io/address/0x1dF462e2712496373A347f8ad10802a5E95f053D | ||
export const EXECUTOR_LVL_1 = '0x1dF462e2712496373A347f8ad10802a5E95f053D'; | ||
|
||
export const CHAIN_ID = 42220; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR | ||
// https://celoscan.io/address/0xAe13e4DA0952f0B8fE04E21df53716fCF799a923 | ||
export const TRANSPARENT_PROXY_FACTORY = '0xAe13e4DA0952f0B8fE04E21df53716fCF799a923'; | ||
|
||
// https://celoscan.io/address/0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0 | ||
export const PROXY_ADMIN = '0x54BDcc37c4143f944A3EE51C892a6cBDF305E7a0'; | ||
|
||
// https://celoscan.io/address/0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6 | ||
export const PROTOCOL_GUARDIAN = '0x38BC0ED9d90Bc2309A436f4ED6Ca6Bc4D5C0DFA6'; | ||
|
||
export const CHAIN_ID = 42220; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters