forked from anyswap/anyswap-crosschain
-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from Exzo-Network/main
Add Exzo Network Mainnet
- Loading branch information
Showing
4 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import {formatSwapTokenList, getLocalRPC} from './methods' | ||
import {tokenListUrl, VERSION, USE_VERSION} from '../constant' | ||
|
||
export const XZO_MAIN_CHAINID = 1229 | ||
export const XZO_MAINNET = getLocalRPC(XZO_MAIN_CHAINID, 'https://evm.exzo.network') | ||
export const XZO_MAIN_EXPLORER = 'https://evm.exzoscan.io' | ||
|
||
export const tokenList = [] | ||
export const testTokenList = [] | ||
|
||
const symbol = 'XZO' | ||
|
||
const bridgeToken = { | ||
[VERSION.V1]: { | ||
bridgeInitToken: '', | ||
bridgeInitChain: '', | ||
}, | ||
[VERSION.V5]: { | ||
bridgeInitToken: '', | ||
bridgeInitChain: '56', | ||
nativeToken: '', | ||
crossBridgeInitToken: '' | ||
}, | ||
[VERSION.V7]: { | ||
bridgeInitToken: '', | ||
bridgeInitChain: '56', | ||
nativeToken: '', | ||
crossBridgeInitToken: '' | ||
}, | ||
} | ||
|
||
export default { | ||
[XZO_MAIN_CHAINID]: { | ||
tokenListUrl: tokenListUrl + XZO_MAIN_CHAINID, | ||
tokenList: formatSwapTokenList(symbol, tokenList), | ||
...bridgeToken[USE_VERSION], | ||
wrappedToken: '0xb48344E930106cED3413BA69669CaD8b6DD4e1A5', | ||
swapRouterToken: '', | ||
swapInitToken: '', | ||
multicalToken: '0x2250191beF1EC106CFbAdbE9f3E926B7066a94d7', | ||
v1FactoryToken: '', | ||
v2FactoryToken: '', | ||
timelock: '', | ||
nodeRpc: XZO_MAINNET, | ||
nodeRpcList: [ | ||
XZO_MAINNET, | ||
], | ||
chainID: XZO_MAIN_CHAINID, | ||
lookHash: XZO_MAIN_EXPLORER + '/tx/', | ||
lookAddr: XZO_MAIN_EXPLORER + '/address/', | ||
lookBlock: XZO_MAIN_EXPLORER + '/block/', | ||
explorer: XZO_MAIN_EXPLORER, | ||
symbol: symbol, | ||
name: 'Exzo', | ||
networkName: 'Exzo Network', | ||
type: 'main', | ||
label: XZO_MAIN_CHAINID, | ||
isSwitch: 1, | ||
suffix: 'XZO', | ||
anyToken: '' | ||
}, | ||
} |