Skip to content

Commit

Permalink
init new addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Jul 23, 2024
1 parent 6b23f5b commit bafd9a7
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
44 changes: 44 additions & 0 deletions data/addresses.mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
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 bafd9a7

Please sign in to comment.