-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rename to config engine (#266)
* feat: rename to config engine * fix: rename listing to config engine * fix: remove misc addresses * fix: add imports if necessary * featmove remove AaveMisc
- Loading branch information
Showing
61 changed files
with
352 additions
and
470 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {ChainId} from '../../generator/chains'; | ||
import {NetworkAddresses} from '../types'; | ||
|
||
export const bnbAddresses: NetworkAddresses = { | ||
name: 'BNB', | ||
chainId: ChainId.bnb, | ||
addresses: { | ||
TRANSPARENT_PROXY_FACTORY: '0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A', | ||
PROXY_ADMIN: '0x39EBFfc7679c62Dfcc4A3E2c09Bcb0be255Ae63c', | ||
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', | ||
}, | ||
}; |
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,8 +1,28 @@ | ||
import {Hex} from 'viem'; | ||
import {ChainId} from '../../generator/chains'; | ||
import {NetworkAddresses} from '../types'; | ||
import {AddressInfo, NetworkAddresses} from '../types'; | ||
|
||
export const ethereumAddresses: NetworkAddresses = { | ||
export const ethereumAddresses: NetworkAddresses<{ | ||
ECOSYSTEM_RESERVE: Hex; | ||
AAVE_ECOSYSTEM_RESERVE_CONTROLLER: AddressInfo; | ||
PROXY_ADMIN_LONG: Hex; | ||
AAVE_SWAPPER: Hex; | ||
AAVE_POL_ETH_BRIDGE: Hex; | ||
}> = { | ||
name: 'Ethereum', | ||
chainId: ChainId.mainnet, | ||
addresses: {PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'}, | ||
addresses: { | ||
AAVE_ECOSYSTEM_RESERVE_CONTROLLER: { | ||
value: '0x3d569673dAa0575c936c7c67c4E6AedA69CC630C', | ||
type: 'IAaveEcosystemReserveController', | ||
}, | ||
ECOSYSTEM_RESERVE: '0x25F2226B597E8F9514B3F68F00f494cF4f286491', | ||
PROXY_ADMIN_LONG: '0x86C3FfeE349A7cFf7cA88C449717B1b133bfb517', | ||
AAVE_SWAPPER: '0x3ea64b1C0194524b48F9118462C8E9cd61a243c7', | ||
AAVE_POL_ETH_BRIDGE: '0xc928002904Ec475663A83063D492EA2aE09EbDA1', | ||
PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60', | ||
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', | ||
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476', | ||
CREATE_3_FACTORY: '0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7', | ||
}, | ||
}; |
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 '../../generator/chains'; | ||
import {NetworkAddresses} from '../types'; | ||
|
||
export const metisAddresses: NetworkAddresses = { | ||
name: 'Metis', | ||
chainId: ChainId.metis, | ||
addresses: { | ||
TRANSPARENT_PROXY_FACTORY: '0x1dad86dC5990BCE5bFe3A150A4E0ece990d6EBcB', | ||
PROXY_ADMIN: '0x1CabD986cBAbDf12E00128DFf03C80ee62C4fd97', | ||
CREATE_3_FACTORY: '0x2e649f6b54B07E210b31c9cC2eB8a0d5997c3D4A', | ||
}, | ||
}; |
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,8 +1,15 @@ | ||
import {Hex} from 'viem'; | ||
import {ChainId} from '../../generator/chains'; | ||
import {NetworkAddresses} from '../types'; | ||
|
||
export const polygonAddresses: NetworkAddresses = { | ||
export const polygonAddresses: NetworkAddresses<{AAVE_POL_ETH_BRIDGE: Hex}> = { | ||
name: 'Polygon', | ||
chainId: ChainId.polygon, | ||
addresses: {PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60'}, | ||
addresses: { | ||
AAVE_POL_ETH_BRIDGE: '0xc928002904Ec475663A83063D492EA2aE09EbDA1', | ||
PARASWAP_FEE_CLAIMER: '0x9abf798f5314BFd793A9E57A654BEd35af4A1D60', | ||
TRANSPARENT_PROXY_FACTORY: '0xB4e496f70602fE2AC6Ae511D028BA4D194773B29', | ||
PROXY_ADMIN: '0xD3cF979e676265e4f6379749DECe4708B9A22476', | ||
CREATE_3_FACTORY: '0x3b56998Ec06477704622ca8e2eA1b4db134cec32', | ||
}, | ||
}; |
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
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.