diff --git a/data/addresses.json b/data/addresses.json index 7a7813e6..62f6d48b 100644 --- a/data/addresses.json +++ b/data/addresses.json @@ -19,6 +19,23 @@ "zetaTokenConsumerUniV2": "", "zetaTokenConsumerUniV3": "0xd886b7Af031F9a505310bA01951948BD1d673aF1" }, + "btc_testnet": { + "connector": "", + "immutableCreate2Factory": "", + "tss": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur", + "tssUpdater": "", + "zetaToken": "", + "zetaTokenConsumerUniV2": "", + "zetaTokenConsumerUniV3": "" + }, + "ethereum_mainnet": { + "connector": "", + "erc20Custody": "", + "immutableCreate2Factory": "0x095a03c6a68137fE9a566bBc3e552F299d8b886d", + "tss": "", + "tssUpdater": "", + "zetaToken": "" + }, "goerli_testnet": { "connector": "0x00005e3125aba53c5652f9f0ce1a4cf91d8b15ea", "erc20Custody": "0x000047f11c6e42293f433c82473532e869ce4ec5", @@ -47,23 +64,6 @@ "zetaToken": "0x5F0b1a82749cb4E2278EC87F8BF6B618dC71a8bf", "zetaTokenConsumerUniV2": "", "zetaTokenConsumerUniV3": "" - }, - "btc_testnet": { - "connector": "", - "immutableCreate2Factory": "", - "tss": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur", - "tssUpdater": "", - "zetaToken": "", - "zetaTokenConsumerUniV2": "", - "zetaTokenConsumerUniV3": "" - }, - "ethereum_mainnet": { - "connector": "", - "erc20Custody": "", - "immutableCreate2Factory": "0x095a03c6a68137fE9a566bBc3e552F299d8b886d", - "tss": "", - "tssUpdater": "", - "zetaToken": "" } }, "non_zeta": { @@ -121,4 +121,4 @@ "uniswapv2Router02": "0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe" } } -} \ No newline at end of file +} diff --git a/lib/contracts.helpers.ts b/lib/contracts.helpers.ts index 1bd7759b..d71337c1 100644 --- a/lib/contracts.helpers.ts +++ b/lib/contracts.helpers.ts @@ -144,13 +144,13 @@ export const getZetaTokenConsumerUniV3Strategy = async (params: GetContractParam export type GetContractParams = | { - deployParams: Parameters; - existingContractAddress?: null; - } + deployParams: Parameters; + existingContractAddress?: null; + } | { - deployParams?: null; - existingContractAddress: string; - }; + deployParams?: null; + existingContractAddress: string; + }; export const getContract = async ({ contractName, diff --git a/package.json b/package.json index 3df3a681..fa51346a 100644 --- a/package.json +++ b/package.json @@ -80,4 +80,4 @@ }, "types": "./dist/lib/index.d.ts", "version": "0.0.8" -} \ No newline at end of file +}