Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Feb 5, 2024
1 parent cf1d56e commit 3284e13
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 69 deletions.
66 changes: 33 additions & 33 deletions data/addresses.mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,118 +46,118 @@
"asset": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
"category": "omnichain",
"chain_id": 7000,
"foreign_chain_id": "56",
"chain_name": "zeta_mainnet",
"type": "zrc20",
"symbol": "USDC.BSC",
"coin_type": "erc20",
"decimals": 18,
"description": "ZetaChain ZRC20 USDC on BSC"
"description": "ZetaChain ZRC20 USDC on BSC",
"foreign_chain_id": "56",
"symbol": "USDC.BSC",
"type": "zrc20"
},
{
"address": "0x0cbe0dF132a6c6B4a2974Fa1b7Fb953CF0Cc798a",
"asset": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"category": "omnichain",
"chain_id": 7000,
"foreign_chain_id": "1",
"chain_name": "zeta_mainnet",
"type": "zrc20",
"symbol": "USDC.ETH",
"coin_type": "erc20",
"decimals": 18,
"description": "ZetaChain ZRC20 USDC on ETH"
"description": "ZetaChain ZRC20 USDC on ETH",
"foreign_chain_id": "1",
"symbol": "USDC.ETH",
"type": "zrc20"
},
{
"address": "0x13A0c5930C028511Dc02665E7285134B6d11A5f4",
"asset": "",
"category": "omnichain",
"chain_id": 7000,
"foreign_chain_id": "8332",
"chain_name": "zeta_mainnet",
"type": "zrc20",
"symbol": "BTC.BTC",
"coin_type": "gas",
"decimals": 18,
"description": "ZetaChain ZRC20 BTC-btc_mainnet"
"description": "ZetaChain ZRC20 BTC-btc_mainnet",
"foreign_chain_id": "8332",
"symbol": "BTC.BTC",
"type": "zrc20"
},
{
"address": "0x48f80608B672DC30DC7e3dbBd0343c5F02C738Eb",
"asset": "",
"category": "omnichain",
"chain_id": 7000,
"foreign_chain_id": "56",
"chain_name": "zeta_mainnet",
"type": "zrc20",
"symbol": "BNB.BSC",
"coin_type": "gas",
"decimals": 18,
"description": "ZetaChain ZRC20 BNB-bsc_mainnet"
"description": "ZetaChain ZRC20 BNB-bsc_mainnet",
"foreign_chain_id": "56",
"symbol": "BNB.BSC",
"type": "zrc20"
},
{
"address": "0x7c8dDa80bbBE1254a7aACf3219EBe1481c6E01d7",
"asset": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"category": "omnichain",
"chain_id": 7000,
"foreign_chain_id": "1",
"chain_name": "zeta_mainnet",
"type": "zrc20",
"symbol": "USDT.ETH",
"coin_type": "erc20",
"decimals": 18,
"description": "ZetaChain ZRC20 USDT on ETH"
"description": "ZetaChain ZRC20 USDT on ETH",
"foreign_chain_id": "1",
"symbol": "USDT.ETH",
"type": "zrc20"
},
{
"address": "0x91d4F0D54090Df2D81e834c3c8CE71C6c865e79F",
"asset": "0x55d398326f99059ff775485246999027b3197955",
"category": "omnichain",
"chain_id": 7000,
"foreign_chain_id": "56",
"chain_name": "zeta_mainnet",
"type": "zrc20",
"symbol": "USDT.BSC",
"coin_type": "erc20",
"decimals": 18,
"description": "ZetaChain ZRC20 USDT on BSC"
"description": "ZetaChain ZRC20 USDT on BSC",
"foreign_chain_id": "56",
"symbol": "USDT.BSC",
"type": "zrc20"
},
{
"address": "0xd97B1de3619ed2c6BEb3860147E30cA8A7dC9891",
"asset": "",
"category": "omnichain",
"chain_id": 7000,
"foreign_chain_id": "1",
"chain_name": "zeta_mainnet",
"type": "zrc20",
"symbol": "ETH.ETH",
"coin_type": "gas",
"decimals": 18,
"description": "ZetaChain ZRC20 ETH-eth_mainnet"
"description": "ZetaChain ZRC20 ETH-eth_mainnet",
"foreign_chain_id": "1",
"symbol": "ETH.ETH",
"type": "zrc20"
},
{
"address": "0x9fd96203f7b22bCF72d9DCb40ff98302376cE09c",
"category": "omnichain",
"chain_id": 7000,
"chain_name": "zeta_mainnet",
"address": "0x9fd96203f7b22bCF72d9DCb40ff98302376cE09c",
"type": "uniswapv2Factory"
},
{
"address": "0x5F0b1a82749cb4E2278EC87F8BF6B618dC71a8bf",
"category": "omnichain",
"chain_id": 7000,
"chain_name": "zeta_mainnet",
"address": "0x5F0b1a82749cb4E2278EC87F8BF6B618dC71a8bf",
"type": "wZetaContract"
},
{
"address": "0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe",
"category": "omnichain",
"chain_id": 7000,
"chain_name": "zeta_mainnet",
"address": "0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe",
"type": "uniswapv2Router02"
},
{
"address": "0x735b14BB79463307AAcBED86DAf3322B1e6226aB",
"category": "omnichain",
"chain_id": 7000,
"chain_name": "zeta_mainnet",
"address": "0x735b14BB79463307AAcBED86DAf3322B1e6226aB",
"type": "fungibleModule"
},
{
Expand Down Expand Up @@ -230,4 +230,4 @@
"chain_name": "eth_mainnet",
"type": "pauser"
}
]
]
64 changes: 32 additions & 32 deletions data/addresses.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,118 +46,118 @@
"asset": "0x07865c6e87b9f70255377e024ace6630c1eaa37f",
"category": "omnichain",
"chain_id": 7001,
"foreign_chain_id": "5",
"chain_name": "zeta_testnet",
"type": "zrc20",
"symbol": "USDC",
"coin_type": "erc20",
"decimals": 18,
"description": "USDC-goerli_testnet"
"description": "USDC-goerli_testnet",
"foreign_chain_id": "5",
"symbol": "USDC",
"type": "zrc20"
},
{
"address": "0x13A0c5930C028511Dc02665E7285134B6d11A5f4",
"asset": "",
"category": "omnichain",
"chain_id": 7001,
"foreign_chain_id": "5",
"chain_name": "zeta_testnet",
"type": "zrc20",
"symbol": "gETH",
"coin_type": "gas",
"decimals": 18,
"description": "ETH-goerli_testnet"
"description": "ETH-goerli_testnet",
"foreign_chain_id": "5",
"symbol": "gETH",
"type": "zrc20"
},
{
"address": "0x48f80608B672DC30DC7e3dbBd0343c5F02C738Eb",
"asset": "",
"category": "omnichain",
"chain_id": 7001,
"foreign_chain_id": "80001",
"chain_name": "zeta_testnet",
"type": "zrc20",
"symbol": "tMATIC",
"coin_type": "gas",
"decimals": 18,
"description": "MATIC-mumbai_testnet"
"description": "MATIC-mumbai_testnet",
"foreign_chain_id": "80001",
"symbol": "tMATIC",
"type": "zrc20"
},
{
"address": "0x65a45c57636f9BcCeD4fe193A602008578BcA90b",
"asset": "",
"category": "omnichain",
"chain_id": 7001,
"foreign_chain_id": "18332",
"chain_name": "zeta_testnet",
"type": "zrc20",
"symbol": "tBTC",
"coin_type": "gas",
"decimals": 18,
"description": "BTC-btc_testnet-btc_testnet"
"description": "BTC-btc_testnet-btc_testnet",
"foreign_chain_id": "18332",
"symbol": "tBTC",
"type": "zrc20"
},
{
"address": "0x7c8dDa80bbBE1254a7aACf3219EBe1481c6E01d7",
"asset": "0x64544969ed7EBf5f083679233325356EbE738930",
"category": "omnichain",
"chain_id": 7001,
"foreign_chain_id": "97",
"chain_name": "zeta_testnet",
"type": "zrc20",
"symbol": "USDC",
"coin_type": "erc20",
"decimals": 18,
"description": "USDC-bsc_testnet"
"description": "USDC-bsc_testnet",
"foreign_chain_id": "97",
"symbol": "USDC",
"type": "zrc20"
},
{
"address": "0x91d4F0D54090Df2D81e834c3c8CE71C6c865e79F",
"asset": "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97",
"category": "omnichain",
"chain_id": 7001,
"foreign_chain_id": "80001",
"chain_name": "zeta_testnet",
"type": "zrc20",
"symbol": "USDC",
"coin_type": "erc20",
"decimals": 18,
"description": "USDC-mumbai_testnet"
"description": "USDC-mumbai_testnet",
"foreign_chain_id": "80001",
"symbol": "USDC",
"type": "zrc20"
},
{
"address": "0xd97B1de3619ed2c6BEb3860147E30cA8A7dC9891",
"asset": "",
"category": "omnichain",
"chain_id": 7001,
"foreign_chain_id": "97",
"chain_name": "zeta_testnet",
"type": "zrc20",
"symbol": "tBNB",
"coin_type": "gas",
"decimals": 18,
"description": "BNB-bsc_testnet"
"description": "BNB-bsc_testnet",
"foreign_chain_id": "97",
"symbol": "tBNB",
"type": "zrc20"
},
{
"address": "0x9fd96203f7b22bCF72d9DCb40ff98302376cE09c",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"address": "0x9fd96203f7b22bCF72d9DCb40ff98302376cE09c",
"type": "uniswapv2Factory"
},
{
"address": "0x5F0b1a82749cb4E2278EC87F8BF6B618dC71a8bf",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"address": "0x5F0b1a82749cb4E2278EC87F8BF6B618dC71a8bf",
"type": "wZetaContract"
},
{
"address": "0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"address": "0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe",
"type": "uniswapv2Router02"
},
{
"address": "0x735b14BB79463307AAcBED86DAf3322B1e6226aB",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"address": "0x735b14BB79463307AAcBED86DAf3322B1e6226aB",
"type": "fungibleModule"
},
{
Expand Down
8 changes: 4 additions & 4 deletions tasks/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ const fetchForeignCoinsData = async (chains: any, addresses: any, network: Netwo
asset: token.asset,
category: "omnichain",
chain_id,
foreign_chain_id: token.foreign_chain_id,
chain_name: network,
type: "zrc20",
symbol: token.symbol,
coin_type: token.coin_type.toLowerCase(),
decimals: 18,
description: token.name, // TODO: dynamically fetch from contract
description: token.name,
foreign_chain_id: token.foreign_chain_id,
symbol: token.symbol,
type: "zrc20", // TODO: dynamically fetch from contract
});
});
} else {
Expand Down

0 comments on commit 3284e13

Please sign in to comment.