From 161a0d4a7eb21575f88de206ebf18738ad43bef4 Mon Sep 17 00:00:00 2001 From: Lucas Bertrand Date: Tue, 30 Jul 2024 20:54:34 +0200 Subject: [PATCH] chore: add data for Polygon go-live (#246) Co-authored-by: skosito --- lib/address.tools.ts | 4 ++-- lib/contracts.constants.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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",