Skip to content

Commit 37b6b63

Browse files
committed
code refactor
1 parent 761f254 commit 37b6b63

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/artexswap_xyz/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
const { uniTvlExports } = require('../helper/unknownTokens')
22
module.exports = uniTvlExports({
3-
'artela': '0xb1F3A78eaE0A85a0940AC87FCF98db8d05225FB9'
3+
'artela': '0xa65f38efbE4b0b602C9FEBE887448263547aaeeD'
44
})

projects/helper/env.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,7 @@ const DEFAULTS = {
1717
MULTIVERSX_RPC: 'https://api.multiversx.com',
1818
ANKR_API_KEY: '79258ce7f7ee046decc3b5292a24eb4bf7c910d7e39b691384c7ce0cfb839a01',
1919
RENEC_RPC: "https://api-mainnet-beta.renec.foundation:8899/",
20-
FLOW_RPC: "https://rest-mainnet.onflow.org",
21-
ELSM_RPC: "https://rpc.elysiumchain.tech",
22-
ARTELA_RPC: "https://node-euro.artela.network/rpc,https://node-hongkong.artela.network/rpc,https://node-us-2.artela.network/rpc",
23-
ARTELA_RPC_MULTICALL: "0x80BC476a33a1b40a788dcC9bfe9dFdae9723b872",
24-
ZERO_NETWORK_RPC_MULTICALL: "0x0307F341a18f1FC1f63a7Ceeac970245A08C5a80",
25-
PLUME_RPC_MULTICALL: "0xcA11bde05977b3631167028862bE2a173976CA11",
26-
ABSTRACT_RPC_MULTICALL: "0xaa4de41dba0ca5dcbb288b7cc6b708f3aac759e7",
27-
ABSTRACT_RPC: "https://api.mainnet.abs.xyz",
28-
BERACHAIN_RPC: "https://rpc.berachain.com",
29-
BERACHAIN_RPC_MULTICALL: "0xcA11bde05977b3631167028862bE2a173976CA11",
30-
SILICON_ZK_RPC_MULTICALL: "0x566da61a4D0841a67bA8F2c7e5975885fa0Af4DA",
20+
ARTELA_RPC_MULTICALL: "0x6d761c3fe633c67b1d3a55678b04eb4ad11c4642", // one set in sdk is wrong
3121
}
3222

3323
const ENV_KEYS = [

projects/helper/tokenMapping.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ const fixBalancesTokens = {
4545
ozone: {
4646
// '0x83048f0bf34feed8ced419455a4320a735a92e9d': { coingeckoId: "ozonechain", decimals: 18 }, // was mapped to wrong chain
4747
},
48+
artela: {
49+
'0x891986cf778004c86c5f2d8c18198635f725a5ce': { coingeckoId: "artela-network", decimals: 18 }
50+
}
4851
}
4952

5053
ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) })

0 commit comments

Comments
 (0)