diff --git a/data/addresses.mainnet.json b/data/addresses.mainnet.json index 5911c8c0..dd2801e7 100644 --- a/data/addresses.mainnet.json +++ b/data/addresses.mainnet.json @@ -118,6 +118,50 @@ "chain_name": "bsc_mainnet", "type": "zetaToken" }, + + { + "address": "", + "category": "messaging", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "connector" + }, + { + "address": "", + "category": "omnichain", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "erc20Custody" + }, + { + "address": "", + "category": "messaging", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "pauser" + }, + { + "address": "", + "category": "omnichain", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "tss" + }, + { + "address": "", + "category": "omnichain", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "tssUpdater" + }, + { + "address": "", + "category": "messaging", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "zetaToken" + }, + { "address": "0x239e96c8f17C85c30100AC26F635Ea15f23E9c67", "category": "messaging", diff --git a/lib/address.tools.ts b/lib/address.tools.ts index ccf0d8a5..08bfeaaf 100644 --- a/lib/address.tools.ts +++ b/lib/address.tools.ts @@ -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]; diff --git a/lib/contracts.constants.ts b/lib/contracts.constants.ts index 06b90cac..bb689f57 100644 --- a/lib/contracts.constants.ts +++ b/lib/contracts.constants.ts @@ -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",