diff --git a/packages/lib-ethers/deployments/default/mainnet.json b/packages/lib-ethers/deployments/default/mainnet.json new file mode 100644 index 000000000..ac4844800 --- /dev/null +++ b/packages/lib-ethers/deployments/default/mainnet.json @@ -0,0 +1,30 @@ +{ + "chainId": 1, + "version": "5174ecd0da4842157aba989499200d690b7e374f", + "deploymentDate": 1617611590000, + "bootstrapPeriod": 1209600, + "totalStabilityPoolLQTYReward": "32000000", + "_priceFeedIsTestnet": false, + "_uniTokenIsMock": false, + "_isDev": false, + "addresses": { + "activePool": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", + "borrowerOperations": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", + "troveManager": "0xA39739EF8b0231DbFA0DcdA07d7e29faAbCf4bb2", + "collSurplusPool": "0x3D32e8b97Ed5881324241Cf03b2DA5E2EBcE5521", + "communityIssuance": "0xD8c9D9071123a059C6E0A945cF0e0c82b508d816", + "defaultPool": "0x896a3F03176f05CFbb4f006BfCd8723F2B0D741C", + "hintHelpers": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", + "lockupContractFactory": "0x2eBeF24dA09489218Ba2BECb01867F6DaAeDcD4B", + "lqtyStaking": "0x4f9Fbb3f1E99B56e0Fe2892e623Ed36A76Fc605d", + "priceFeed": "0x4c517D4e2C851CA76d7eC94B805269Df0f2201De", + "sortedTroves": "0x8FdD3fbFEb32b28fb73555518f8b361bCeA741A6", + "stabilityPool": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", + "gasPool": "0x9555b042F969E561855e5F28cB1230819149A8d9", + "unipool": "0xd37a77E71ddF3373a79BE2eBB76B6c4808bDF0d5", + "lusdToken": "0x5f98805A4E8be255a32880FDeC7F6728C6568bA0", + "lqtyToken": "0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D", + "multiTroveGetter": "0xFc92d0E9Fa35df17E3A6d9F40716ca2cE749922B", + "uniToken": "0xF20EF17b889b437C151eB5bA15A47bFc62bfF469" + } +} diff --git a/packages/lib-ethers/src/EthersLiquityConnection.ts b/packages/lib-ethers/src/EthersLiquityConnection.ts index 4cc684e86..b9bef9add 100644 --- a/packages/lib-ethers/src/EthersLiquityConnection.ts +++ b/packages/lib-ethers/src/EthersLiquityConnection.ts @@ -9,6 +9,7 @@ import goerli from "../deployments/goerli.json"; import kovan from "../deployments/kovan.json"; import rinkeby from "../deployments/rinkeby.json"; import ropsten from "../deployments/ropsten.json"; +import mainnet from "../deployments/mainnet.json"; import { EthersProvider, EthersSigner } from "./types"; @@ -26,6 +27,7 @@ const dev = devOrNull as _LiquityDeploymentJSON | null; const deployments: { [chainId: number]: _LiquityDeploymentJSON | undefined; } = { + [mainnet.chainId]: mainnet, [ropsten.chainId]: ropsten, [rinkeby.chainId]: rinkeby, [goerli.chainId]: goerli,