Skip to content

Commit

Permalink
chore: add data for Polygon go-live (#246)
Browse files Browse the repository at this point in the history
Co-authored-by: skosito <skostic9242@gmail.com>
  • Loading branch information
lumtis and skosito authored Jul 30, 2024
1 parent 2ea8f56 commit 161a0d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/address.tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export const nonZetaAddress: NonZetaAddress[] = [
"weth9",
];

export declare type ZetaProtocolMainNetwork = "bsc_mainnet" | "eth_mainnet" | "zeta_mainnet";
export const zetaProtocolMainNetworks: ZetaProtocolMainNetwork[] = ["eth_mainnet", "bsc_mainnet", "zeta_mainnet"];
export declare type ZetaProtocolMainNetwork = "bsc_mainnet" | "eth_mainnet" | "zeta_mainnet" | "polygon_mainnet";
export const zetaProtocolMainNetworks: ZetaProtocolMainNetwork[] = ["eth_mainnet", "bsc_mainnet", "polygon_mainnet", "zeta_mainnet"];

export declare type ZetaProtocolNetwork = ZetaProtocolMainNetwork | ZetaProtocolTestNetwork;
export const zetaProtocolNetworks: ZetaProtocolNetwork[] = [...zetaProtocolTestNetworks, ...zetaProtocolMainNetworks];
Expand Down
6 changes: 6 additions & 0 deletions lib/contracts.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ export const MAX_ETH_ADDRESS = "0xffffffffffffffffffffffffffffffffffffffff";

// dev: this values should be calculated using get-salt script
const SALT_NUMBERS = {
polygon_mainnet: {
zetaConnector: "0",
zetaConsumer: "0",
zetaERC20Custody: "0",
zetaToken: "0",
},
baobab_testnet: {
zetaConnector: "71733",
zetaConsumer: "0",
Expand Down

0 comments on commit 161a0d4

Please sign in to comment.