Skip to content

Commit

Permalink
update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Sep 27, 2023
1 parent afbab03 commit 881edba
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
36 changes: 18 additions & 18 deletions data/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -121,4 +121,4 @@
"uniswapv2Router02": "0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe"
}
}
}
}
12 changes: 6 additions & 6 deletions lib/contracts.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ export const getZetaTokenConsumerUniV3Strategy = async (params: GetContractParam

export type GetContractParams<Factory extends ContractFactory> =
| {
deployParams: Parameters<Factory["deploy"]>;
existingContractAddress?: null;
}
deployParams: Parameters<Factory["deploy"]>;
existingContractAddress?: null;
}
| {
deployParams?: null;
existingContractAddress: string;
};
deployParams?: null;
existingContractAddress: string;
};

export const getContract = async <Factory extends ContractFactory, Contract extends BaseContract>({
contractName,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@
},
"types": "./dist/lib/index.d.ts",
"version": "0.0.8"
}
}

0 comments on commit 881edba

Please sign in to comment.