-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add @casimir/env to dev scripts and deployment
- Loading branch information
1 parent
a143e35
commit 6a4c2c1
Showing
14 changed files
with
162 additions
and
114 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,30 +1,41 @@ | ||
const ETHEREUM_CONTRACT_ADDRESSES = { | ||
const ETHEREUM_CONTRACTS = { | ||
TESTNET: { | ||
FunctionsOracleFactory: '0xfA2D8643D87E625004bcA263Bcd2002255fDD4BB', | ||
FunctionsOracle: '0xF89a8DDFdb39C6BB3125bBeA3BB356B40A99b46f', | ||
FunctionsBillingRegistry: '0x6310Cc8288aE5f70E914363c72F7d2e1D1C8533d', | ||
CasimirPoolBeacon: '0x98A6f99c1bD042b4B1B5C03755805a7FFac902e1', | ||
CasimirRegistryBeacon: '0x3FB35C4de1a1AeA102B192d28391227C93305cA5', | ||
CasimirUpkeepBeacon: '0x12CCBd11A592Bc7ad0405c15c90c8419b390E814', | ||
CasimirManager: '0x813aA99639F77A275b5bD5E12904cCd48826C19F', | ||
CasimirRegistry: '0x97d5b6F9801D2CdCB492e567b1246a837Cd8d2D4', | ||
CasimirUpkeep: '0x1A4f46e5209b71C11aeb6776fD161B80174B2a63', | ||
CasimirViews: '0xc9F69bD5F43153FB485cBF1DB907EE1eb28c9B29' | ||
} | ||
} | ||
MANAGER_ADDRESS: '0x813aA99639F77A275b5bD5E12904cCd48826C19F', | ||
REGISTRY_ADDRESS: '0x97d5b6F9801D2CdCB492e567b1246a837Cd8d2D4', | ||
UPKEEP_ADDRESS: '0x1A4f46e5209b71C11aeb6776fD161B80174B2a63', | ||
VIEWS_ADDRESS: '0xc9F69bD5F43153FB485cBF1DB907EE1eb28c9B29', | ||
|
||
enum ETHEREUM_FORK_URL { | ||
MAINNET = 'https://mainnet.infura.io/v3/46a379ac6895489f812f33beb726b03b', | ||
TESTNET = 'https://goerli.infura.io/v3/46a379ac6895489f812f33beb726b03b' | ||
FUNCTIONS_ORACLE_FACTORY_ADDRESS: '0xfA2D8643D87E625004bcA263Bcd2002255fDD4BB', | ||
FUNCTIONS_ORACLE_ADDRESS: '0xF89a8DDFdb39C6BB3125bBeA3BB356B40A99b46f', | ||
FUNCTIONS_BILLING_REGISTRY_ADDRESS: '0x6310Cc8288aE5f70E914363c72F7d2e1D1C8533d', | ||
|
||
POOL_BEACON_ADDRESS: '0x98A6f99c1bD042b4B1B5C03755805a7FFac902e1', | ||
REGISTRY_BEACON_ADDRESS: '0x3FB35C4de1a1AeA102B192d28391227C93305cA5', | ||
UPKEEP_BEACON_ADDRESS: '0x12CCBd11A592Bc7ad0405c15c90c8419b390E814', | ||
|
||
BEACON_DEPOSIT_ADDRESS: '0x07b39F4fDE4A38bACe212b546dAc87C58DfE3fDC', | ||
DAO_ORACLE_ADDRESS: '', | ||
LINK_ETH_FEED_ADDRESS: '0xb4c4a493AB6356497713A78FFA6c60FB53517c63', | ||
KEEPER_REGISTRAR_ADDRESS: '0x57A4a13b35d25EE78e084168aBaC5ad360252467', | ||
KEEPER_REGISTRY_ADDRESS: '0xE16Df59B887e3Caa439E0b29B42bA2e7976FD8b2', | ||
LINK_TOKEN_ADDRESS: '0x326C977E6efc84E512bB9C30f76E30c160eD06FB', | ||
SSV_NETWORK_ADDRESS: '0xC3CD9A0aE89Fff83b71b58b6512D43F8a41f363D', | ||
SSV_VIEWS_ADDRESS: '0xAE2C84c48272F5a1746150ef333D5E5B51F68763', | ||
SSV_TOKEN_ADDRESS: '0x3a9f01091C446bdE031E39ea8354647AFef091E7', | ||
SWAP_FACTORY_ADDRESS: '0x1F98431c8aD98523631AE4a59f267346ea31F984', | ||
SWAP_ROUTER_ADDRESS: '0xE592427A0AEce92De3Edee1F18E0157C05861564', | ||
WETH_TOKEN_ADDRESS: '0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6' | ||
} | ||
} | ||
|
||
enum ETHEREUM_NETWORK_NAME { | ||
MAINNET = 'mainnet', | ||
TESTNET = 'goerli' | ||
} | ||
enum ETHEREUM_NETWORK_URL { | ||
|
||
enum ETHEREUM_RPC_URL { | ||
MAINNET = 'https://mainnet.infura.io/v3/46a379ac6895489f812f33beb726b03b', | ||
TESTNET = 'https://goerli.infura.io/v3/46a379ac6895489f812f33beb726b03b' | ||
} | ||
|
||
export { ETHEREUM_CONTRACT_ADDRESSES, ETHEREUM_FORK_URL, ETHEREUM_NETWORK_NAME, ETHEREUM_NETWORK_URL } | ||
export { ETHEREUM_CONTRACTS, ETHEREUM_NETWORK_NAME, ETHEREUM_RPC_URL } |
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
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
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
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
Oops, something went wrong.