@swapkit/types 0.0.0-nightly-20240404190857 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +16 -0
- package/dist/index.js +3 -965
- package/dist/index.js.map +10 -10
- package/dist/types/chains/_createChain.d.ts +28 -0
- package/dist/types/chains/_createChain.d.ts.map +1 -0
- package/dist/types/chains/cosmos.d.ts +185 -0
- package/dist/types/chains/cosmos.d.ts.map +1 -0
- package/dist/types/chains/evm.d.ts +134 -0
- package/dist/types/chains/evm.d.ts.map +1 -0
- package/dist/types/chains/index.d.ts +411 -0
- package/dist/types/chains/index.d.ts.map +1 -0
- package/dist/types/chains/others.d.ts +77 -0
- package/dist/types/chains/others.d.ts.map +1 -0
- package/dist/types/chains/substrate.d.ts +28 -0
- package/dist/types/chains/substrate.d.ts.map +1 -0
- package/dist/types/chains/utxo.d.ts +76 -0
- package/dist/types/chains/utxo.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +11 -19
- package/src/abis/erc20.ts +0 -99
- package/src/abis/tcEthVault.ts +0 -496
- package/src/chainflip.ts +0 -30
- package/src/commonTypes.ts +0 -144
- package/src/index.ts +0 -7
- package/src/network.ts +0 -324
- package/src/thorchain.ts +0 -26
- package/src/transactions.ts +0 -22
- package/src/wallet.ts +0 -28
package/dist/index.js.map
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../src/
|
|
3
|
+
"sources": ["../src/chains/_createChain.ts", "../src/chains/cosmos.ts", "../src/chains/evm.ts", "../src/chains/others.ts", "../src/chains/substrate.ts", "../src/chains/utxo.ts", "../src/chains/index.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"
|
|
6
|
-
"export const TCEthereumVaultAbi = [\n {\n inputs: [{ internalType: \"address\", name: \"rune\", type: \"address\" }],\n stateMutability: \"nonpayable\",\n type: \"constructor\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"Deposit\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"oldVault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"newVault\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferAllowance\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"vault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferOut\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"vault\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"target\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"address\", name: \"finalAsset\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amountOutMin\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferOutAndCall\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"oldVault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"newVault\", type: \"address\" },\n {\n components: [\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n ],\n indexed: false,\n internalType: \"struct THORChain_Router.Coin[]\",\n name: \"coins\",\n type: \"tuple[]\",\n },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"VaultTransfer\",\n type: \"event\",\n },\n {\n inputs: [],\n name: \"RUNE\",\n outputs: [{ internalType: \"address\", name: \"\", type: \"address\" }],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"deposit\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n { internalType: \"uint256\", name: \"expiration\", type: \"uint256\" },\n ],\n name: \"depositWithExpiry\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"router\", type: \"address\" },\n { internalType: \"address payable\", name: \"asgard\", type: \"address\" },\n {\n components: [\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n ],\n internalType: \"struct THORChain_Router.Coin[]\",\n name: \"coins\",\n type: \"tuple[]\",\n },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"returnVaultAssets\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"router\", type: \"address\" },\n { internalType: \"address\", name: \"newVault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferAllowance\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"to\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferOut\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"aggregator\", type: \"address\" },\n { internalType: \"address\", name: \"finalToken\", type: \"address\" },\n { internalType: \"address\", name: \"to\", type: \"address\" },\n { internalType: \"uint256\", name: \"amountOutMin\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferOutAndCall\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"token\", type: \"address\" },\n ],\n name: \"vaultAllowance\",\n outputs: [{ internalType: \"uint256\", name: \"amount\", type: \"uint256\" }],\n stateMutability: \"view\",\n type: \"function\",\n },\n];\n\nexport const TCAvalancheDepositABI = [\n { inputs: [], stateMutability: \"nonpayable\", type: \"constructor\" },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"Deposit\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"oldVault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"newVault\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferAllowance\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"vault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferOut\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"vault\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"target\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"address\", name: \"finalAsset\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amountOutMin\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferOutAndCall\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"oldVault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"newVault\", type: \"address\" },\n {\n components: [\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n ],\n indexed: false,\n internalType: \"struct AvaxRouter.Coin[]\",\n name: \"coins\",\n type: \"tuple[]\",\n },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"VaultTransfer\",\n type: \"event\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"deposit\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n { internalType: \"uint256\", name: \"expiration\", type: \"uint256\" },\n ],\n name: \"depositWithExpiry\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"router\", type: \"address\" },\n { internalType: \"address payable\", name: \"asgard\", type: \"address\" },\n {\n components: [\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n ],\n internalType: \"struct AvaxRouter.Coin[]\",\n name: \"coins\",\n type: \"tuple[]\",\n },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"returnVaultAssets\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"router\", type: \"address\" },\n { internalType: \"address\", name: \"newVault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferAllowance\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"to\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferOut\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"target\", type: \"address\" },\n { internalType: \"address\", name: \"finalToken\", type: \"address\" },\n { internalType: \"address\", name: \"to\", type: \"address\" },\n { internalType: \"uint256\", name: \"amountOutMin\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferOutAndCall\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"token\", type: \"address\" },\n ],\n name: \"vaultAllowance\",\n outputs: [{ internalType: \"uint256\", name: \"amount\", type: \"uint256\" }],\n stateMutability: \"view\",\n type: \"function\",\n },\n];\n\nexport const TCBscDepositABI = [\n { inputs: [], stateMutability: \"nonpayable\", type: \"constructor\" },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"Deposit\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"oldVault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"newVault\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferAllowance\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"vault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"asset\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferOut\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"vault\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"target\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { indexed: false, internalType: \"address\", name: \"finalAsset\", type: \"address\" },\n { indexed: false, internalType: \"address\", name: \"to\", type: \"address\" },\n { indexed: false, internalType: \"uint256\", name: \"amountOutMin\", type: \"uint256\" },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"TransferOutAndCall\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: \"address\", name: \"oldVault\", type: \"address\" },\n { indexed: true, internalType: \"address\", name: \"newVault\", type: \"address\" },\n {\n components: [\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n ],\n indexed: false,\n internalType: \"struct THORChain_Router.Coin[]\",\n name: \"coins\",\n type: \"tuple[]\",\n },\n { indexed: false, internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"VaultTransfer\",\n type: \"event\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n { internalType: \"uint256\", name: \"expiration\", type: \"uint256\" },\n ],\n name: \"depositWithExpiry\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"router\", type: \"address\" },\n { internalType: \"address payable\", name: \"asgard\", type: \"address\" },\n {\n components: [\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n ],\n internalType: \"struct THORChain_Router.Coin[]\",\n name: \"coins\",\n type: \"tuple[]\",\n },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"returnVaultAssets\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"router\", type: \"address\" },\n { internalType: \"address\", name: \"newVault\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferAllowance\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"to\", type: \"address\" },\n { internalType: \"address\", name: \"asset\", type: \"address\" },\n { internalType: \"uint256\", name: \"amount\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferOut\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address payable\", name: \"target\", type: \"address\" },\n { internalType: \"address\", name: \"finalToken\", type: \"address\" },\n { internalType: \"address\", name: \"to\", type: \"address\" },\n { internalType: \"uint256\", name: \"amountOutMin\", type: \"uint256\" },\n { internalType: \"string\", name: \"memo\", type: \"string\" },\n ],\n name: \"transferOutAndCall\",\n outputs: [],\n stateMutability: \"payable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"vault\", type: \"address\" },\n { internalType: \"address\", name: \"token\", type: \"address\" },\n ],\n name: \"vaultAllowance\",\n outputs: [{ internalType: \"uint256\", name: \"amount\", type: \"uint256\" }],\n stateMutability: \"view\",\n type: \"function\",\n },\n];\n",
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
"type ChainIdHexType<T> = T extends { chainIdHex: infer U } ? (U extends string ? U : undefined) : undefined;\n\nexport function createChain<\n const Name extends string,\n const Chain extends string,\n const Type extends \"utxo\" | \"evm\" | \"cosmos\" | \"substrate\" | \"others\",\n const ChainId extends string,\n const Params extends {\n baseDecimal: number;\n blockExplorerUrl: string;\n chain: Chain;\n chainId: ChainId;\n explorerUrl: string;\n name: Name;\n nativeCurrency: string;\n rpcUrl: string;\n type: Type;\n } & ({ chainIdHex: string } | { chainIdHex?: never }),\n>(params: Params): Params & { chainIdHex: ChainIdHexType<Params> } {\n return params as Params & { chainIdHex: ChainIdHexType<Params> };\n}\n\ntype ExtractChains<T extends readonly any[]> = T extends readonly [...infer Items]\n ? { [K in keyof Items]: Items[K] extends { chain: infer C } ? C : never }\n : never;\n\nexport function mapChains<T extends readonly any[]>(chains: T) {\n return chains.map(({ chain }) => chain) as ExtractChains<T>;\n}\n",
|
|
6
|
+
"import { createChain, mapChains } from \"./_createChain\";\n\nconst type = \"cosmos\";\n\nexport const GAIAConfig = createChain({\n baseDecimal: 6,\n blockExplorerUrl: \"https://www.mintscan.io/cosmos\",\n chain: \"GAIA\",\n chainId: \"cosmoshub-4\",\n explorerUrl: \"https://www.mintscan.io/cosmos\",\n name: \"Cosmos\",\n nativeCurrency: \"ATOM\",\n rpcUrl: \"https://cosmos-rpc.publicnode.com:443\",\n type,\n});\n\nexport const THORConfig = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://runescan.io\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n explorerUrl: \"https://runescan.io\",\n name: \"THORChain\",\n nativeCurrency: \"RUNE\",\n rpcUrl: \"https://rpc.thorswap.net\",\n type,\n});\n\nexport const StagenetTHORConfig = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://runescan.io\",\n chain: \"THOR\",\n chainId: \"thorchain-stagenet-v2\",\n explorerUrl: \"https://runescan.io\",\n name: \"THORChain\",\n nativeCurrency: \"RUNE\",\n rpcUrl: \"https://rpc.thorswap.net\",\n type,\n});\n\nexport const MAYAConfig = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://www.mayascan.org\",\n chain: \"MAYA\",\n chainId: \"mayachain-mainnet-v1\",\n explorerUrl: \"https://www.mayascan.org\",\n name: \"Maya\",\n nativeCurrency: \"CACAO\",\n rpcUrl: \"https://tendermint.mayachain.info\",\n type,\n});\n\nexport const StagenetMAYAConfig = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://www.mayascan.org\",\n chain: \"MAYA\",\n chainId: \"mayachain-stagenet-v1\",\n explorerUrl: \"https://www.mayascan.org\",\n name: \"Maya\",\n nativeCurrency: \"CACAO\",\n rpcUrl: \"https://tendermint.mayachain.info\",\n type,\n});\n\nexport const KUJIConfig = createChain({\n baseDecimal: 6,\n blockExplorerUrl: \"https://finder.kujira.network/kaiyo-1\",\n chain: \"KUJI\",\n chainId: \"kaiyo-1\",\n explorerUrl: \"https://finder.kujira.network/kaiyo-1\",\n name: \"Kujira\",\n nativeCurrency: \"KUJI\",\n rpcUrl: \"https://kujira-rpc.ibs.team\",\n type,\n});\n\nexport const NOBLEConfig = createChain({\n baseDecimal: 6,\n blockExplorerUrl: \"https://www.mintscan.io/noble\",\n chain: \"NOBLE\",\n chainId: \"noble-1\",\n explorerUrl: \"https://www.mintscan.io/noble\",\n name: \"Noble\",\n nativeCurrency: \"USDC\",\n rpcUrl: \"https://noble-rpc.polkachu.com\",\n type,\n});\n\nexport const CosmosChainConfigs = [GAIAConfig, THORConfig, MAYAConfig, KUJIConfig, NOBLEConfig] as const;\nexport const CosmosChains = mapChains(CosmosChainConfigs);\nexport type CosmosChain = (typeof CosmosChains)[number];\n\nexport const StagenetCosmosChainConfigs = [StagenetTHORConfig, StagenetMAYAConfig] as const;\nexport const StagenetCosmosChains = mapChains(StagenetCosmosChainConfigs);\nexport type StagenetCosmosChain = (typeof StagenetCosmosChains)[number];\n\nexport const CosmosChainPrefixes: Record<CosmosChain, string> = {\n [GAIAConfig.chain]: \"cosmos\",\n [THORConfig.chain]: \"thor\",\n [MAYAConfig.chain]: \"maya\",\n [KUJIConfig.chain]: \"kujira\",\n [NOBLEConfig.chain]: \"noble\",\n};\n\nexport const TCLikeChains = [\n THORConfig.chain,\n MAYAConfig.chain,\n StagenetTHORConfig.chain,\n StagenetMAYAConfig.chain,\n] as const;\nexport type TCLikeChain = (typeof TCLikeChains)[number];\n",
|
|
7
|
+
"import { createChain, mapChains } from \"./_createChain\";\n\nconst type = \"evm\";\n\nconst ETHConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://etherscan.io\",\n chain: \"ETH\",\n chainId: \"1\",\n chainIdHex: \"0x1\",\n explorerUrl: \"https://etherscan.io\",\n name: \"Ethereum\",\n nativeCurrency: \"ETH\",\n rpcUrl: \"https://ethereum-rpc.publicnode.com\",\n type,\n});\n\nconst BSCConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://bscscan.com\",\n chain: \"BSC\",\n chainId: \"56\",\n chainIdHex: \"0x38\",\n explorerUrl: \"https://bscscan.com\",\n name: \"BinanceSmartChain\",\n nativeCurrency: \"BNB\",\n rpcUrl: \"https://bsc-dataseed.binance.org\",\n type,\n});\n\nconst AVAXConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://snowtrace.io\",\n chain: \"AVAX\",\n chainId: \"43114\",\n chainIdHex: \"0xa86a\",\n explorerUrl: \"https://snowtrace.io\",\n name: \"Avalanche\",\n nativeCurrency: \"AVAX\",\n rpcUrl: \"https://api.avax.network/ext/bc/C/rpc\",\n type,\n});\n\nconst POLConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://polygonscan.com\",\n chain: \"POL\",\n chainId: \"137\",\n chainIdHex: \"0x89\",\n explorerUrl: \"https://polygonscan.com\",\n name: \"Polygon\",\n nativeCurrency: \"POL\",\n rpcUrl: \"https://polygon-rpc.com\",\n type,\n});\n\nconst ARBConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://arbiscan.io\",\n chain: \"ARB\",\n chainId: \"42161\",\n chainIdHex: \"0xa4b1\",\n explorerUrl: \"https://arbiscan.io\",\n name: \"Arbitrum\",\n nativeCurrency: \"ETH\",\n rpcUrl: \"https://arb1.arbitrum.io/rpc\",\n type,\n});\n\nconst OPConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://optimistic.etherscan.io\",\n chain: \"OP\",\n chainId: \"10\",\n chainIdHex: \"0xa\",\n explorerUrl: \"https://optimistic.etherscan.io\",\n name: \"Optimism\",\n nativeCurrency: \"ETH\",\n rpcUrl: \"https://mainnet.optimism.io\",\n type,\n});\n\nconst BASEConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://basescan.org\",\n chain: \"BASE\",\n chainId: \"8453\",\n chainIdHex: \"0x2105\",\n explorerUrl: \"https://basescan.org\",\n name: \"Base\",\n nativeCurrency: \"ETH\",\n rpcUrl: \"https://base-rpc.publicnode.com\",\n type,\n});\n\nconst GNOConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://gnosisscan.io\",\n chain: \"GNO\",\n chainId: \"100\",\n chainIdHex: \"0x64\",\n explorerUrl: \"https://gnosisscan.io\",\n name: \"Gnosis\",\n nativeCurrency: \"xDAI\",\n rpcUrl: \"https://gnosis-rpc.publicnode.com\",\n type,\n});\n\nconst AURORAConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://explorer.mainnet.aurora.dev\",\n chain: \"AURORA\",\n chainId: \"1313161554\",\n chainIdHex: \"0x4e454152\",\n explorerUrl: \"https://explorer.mainnet.aurora.dev\",\n name: \"Aurora\",\n nativeCurrency: \"ETH\",\n rpcUrl: \"https://aurora-rpc.publicnode.com\",\n type,\n});\n\nconst BERAConfig = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://berascan.com\",\n chain: \"BERA\",\n chainId: \"80094\",\n chainIdHex: \"0x138de\",\n explorerUrl: \"https://berascan.com\",\n name: \"Berachain\",\n nativeCurrency: \"BERA\",\n rpcUrl: \"https://berachain-rpc.publicnode.com\",\n type,\n});\n\nexport const EVMChainConfigs = [\n ETHConfig,\n BSCConfig,\n AVAXConfig,\n POLConfig,\n ARBConfig,\n OPConfig,\n BASEConfig,\n GNOConfig,\n AURORAConfig,\n BERAConfig,\n] as const;\n\nexport const EVMChains = mapChains(EVMChainConfigs);\nexport type EVMChain = (typeof EVMChains)[number];\n",
|
|
8
|
+
"import { createChain, mapChains } from \"./_createChain\";\n\nconst type = \"others\";\n\nconst NEAR = createChain({\n baseDecimal: 24,\n blockExplorerUrl: \"https://nearblocks.io\",\n chain: \"NEAR\",\n chainId: \"near\",\n explorerUrl: \"https://nearblocks.io\",\n name: \"Near\",\n nativeCurrency: \"NEAR\",\n rpcUrl: \"https://rpc.mainnet.near.org\",\n type,\n});\n\nconst XRD = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://dashboard.radixdlt.com\",\n chain: \"XRD\",\n chainId: \"radix-mainnet\",\n explorerUrl: \"https://dashboard.radixdlt.com\",\n name: \"Radix\",\n nativeCurrency: \"XRD\",\n rpcUrl: \"https://radix-mainnet.rpc.grove.city/v1/326002fc/core\",\n type,\n});\n\nconst XRP = createChain({\n baseDecimal: 6,\n blockExplorerUrl: \"https://livenet.xrpl.org/\",\n chain: \"XRP\",\n chainId: \"ripple\",\n explorerUrl: \"https://livenet.xrpl.org/\",\n name: \"Ripple\",\n nativeCurrency: \"XRP\",\n rpcUrl: \"wss://xrpl.ws/\",\n type,\n});\n\nconst SOL = createChain({\n baseDecimal: 9,\n blockExplorerUrl: \"https://solscan.io\",\n chain: \"SOL\",\n chainId: \"solana\",\n explorerUrl: \"https://solscan.io\",\n name: \"Solana\",\n nativeCurrency: \"SOL\",\n rpcUrl: \"https://solana-rpc.publicnode.com\",\n type,\n});\n\nconst TRON = createChain({\n baseDecimal: 6,\n blockExplorerUrl: \"https://tronscan.org\",\n chain: \"TRON\",\n chainId: \"728126428\",\n chainIdHex: \"0x2b6653dc\",\n explorerUrl: \"https://tronscan.org\",\n name: \"Tron\",\n nativeCurrency: \"TRX\",\n rpcUrl: \"https://tron-rpc.publicnode.com\",\n type,\n});\n\nconst FIAT = createChain({\n baseDecimal: 2,\n blockExplorerUrl: \"\",\n chain: \"FIAT\",\n chainId: \"fiat\",\n explorerUrl: \"\",\n name: \"Fiat\",\n nativeCurrency: \"USD\",\n rpcUrl: \"\",\n type,\n});\n\nexport const OtherChainConfigs = [NEAR, XRD, XRP, SOL, TRON, FIAT] as const;\nexport const OtherChains = mapChains(OtherChainConfigs);\nexport type OtherChain = (typeof OtherChains)[number];\n",
|
|
9
|
+
"import { createChain, mapChains } from \"./_createChain\";\n\nconst type = \"substrate\";\n\nconst DOT = createChain({\n baseDecimal: 10,\n blockExplorerUrl: \"https://polkadot.subscan.io\",\n chain: \"DOT\",\n chainId: \"polkadot\",\n explorerUrl: \"https://polkadot.subscan.io\",\n name: \"Polkadot\",\n nativeCurrency: \"DOT\",\n rpcUrl: \"wss://rpc.polkadot.io\",\n type,\n});\n\nconst FLIP = createChain({\n baseDecimal: 18,\n blockExplorerUrl: \"https://explorer.polkascan.io/polkadot\",\n chain: \"FLIP\",\n chainId: \"chainflip\",\n explorerUrl: \"https://explorer.polkascan.io/polkadot\",\n name: \"Chainflip\",\n nativeCurrency: \"FLIP\",\n rpcUrl: \"wss://mainnet-archive.chainflip.io\",\n type,\n});\n\nexport const SubstrateChainConfigs = [DOT, FLIP] as const;\nexport const SubstrateChains = mapChains(SubstrateChainConfigs);\nexport type SubstrateChain = (typeof SubstrateChains)[number];\n",
|
|
10
|
+
"import { createChain, mapChains } from \"./_createChain\";\n\nconst BTC = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://blockchair.com/bitcoin\",\n chain: \"BTC\",\n chainId: \"bitcoin\",\n explorerUrl: \"https://blockchair.com/bitcoin\",\n name: \"Bitcoin\",\n nativeCurrency: \"BTC\",\n rpcUrl: \"https://bitcoin-rpc.publicnode.com\",\n type: \"utxo\",\n});\n\nconst BCH = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://www.blockchair.com/bitcoin-cash\",\n chain: \"BCH\",\n chainId: \"bitcoincash\",\n explorerUrl: \"https://www.blockchair.com/bitcoin-cash\",\n name: \"BitcoinCash\",\n nativeCurrency: \"BCH\",\n rpcUrl: \"https://node-router.thorswap.net/bitcoin-cash\",\n type: \"utxo\",\n});\n\nconst LTC = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://blockchair.com/litecoin\",\n chain: \"LTC\",\n chainId: \"litecoin\",\n explorerUrl: \"https://blockchair.com/litecoin\",\n name: \"Litecoin\",\n nativeCurrency: \"LTC\",\n rpcUrl: \"https://node-router.thorswap.net/litecoin\",\n type: \"utxo\",\n});\n\nconst DOGE = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://blockchair.com/dogecoin\",\n chain: \"DOGE\",\n chainId: \"dogecoin\",\n explorerUrl: \"https://blockchair.com/dogecoin\",\n name: \"Dogecoin\",\n nativeCurrency: \"DOGE\",\n rpcUrl: \"https://node-router.thorswap.net/dogecoin\",\n type: \"utxo\",\n});\n\nconst DASH = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://blockchair.com/dash\",\n chain: \"DASH\",\n chainId: \"dash\",\n explorerUrl: \"https://blockchair.com/dash\",\n name: \"Dash\",\n nativeCurrency: \"DASH\",\n rpcUrl: \"https://dash-rpc.publicnode.com\",\n type: \"utxo\",\n});\n\nconst ZEC = createChain({\n baseDecimal: 8,\n blockExplorerUrl: \"https://blockchair.com/zcash\",\n chain: \"ZEC\",\n chainId: \"zcash\",\n explorerUrl: \"https://blockchair.com/zcash\",\n name: \"Zcash\",\n nativeCurrency: \"ZEC\",\n rpcUrl: \"https://api.tatum.io/v3/blockchain/node/zcash-mainnet/t-6894a2ae7fc90cccfd3ce71b-2fce88aa7f4a41a5b1e93874\",\n type: \"utxo\",\n});\n\nexport const UTXOChainConfigs = [BTC, BCH, LTC, DOGE, DASH, ZEC] as const;\nexport const UTXOChains = mapChains(UTXOChainConfigs);\nexport type UTXOChain = (typeof UTXOChains)[number];\n",
|
|
11
|
+
"import { mapChains } from \"./_createChain\";\nimport { CosmosChainConfigs, StagenetCosmosChainConfigs } from \"./cosmos\";\nimport { EVMChainConfigs } from \"./evm\";\nimport { OtherChainConfigs } from \"./others\";\nimport { SubstrateChainConfigs } from \"./substrate\";\nimport { UTXOChainConfigs } from \"./utxo\";\n\nexport * from \"./cosmos\";\nexport * from \"./evm\";\nexport * from \"./others\";\nexport * from \"./substrate\";\nexport * from \"./utxo\";\n\nexport const AllChainConfigs = [\n ...UTXOChainConfigs,\n ...EVMChainConfigs,\n ...CosmosChainConfigs,\n ...SubstrateChainConfigs,\n ...OtherChainConfigs,\n].sort((a, b) => a.chain.localeCompare(b.chain));\nexport type AllChainConfigs = typeof AllChainConfigs;\nexport const AllChains = mapChains(AllChainConfigs);\n\nexport const StagenetChainConfigs = [...StagenetCosmosChainConfigs].sort((a, b) => a.chain.localeCompare(b.chain));\nexport type StagenetChainConfigs = typeof StagenetChainConfigs;\nexport const StagenetChains = mapChains(StagenetChainConfigs);\n\nexport const Chain = Object.fromEntries(AllChainConfigs.map(({ name, chain }) => [name, chain] as const)) as {\n readonly [K in AllChainConfigs[number][\"name\"]]: Extract<AllChainConfigs[number], { name: K }>[\"chain\"];\n};\n\nexport type Chain = AllChainConfigs[number][\"chain\"];\nexport const ChainId = Object.fromEntries(AllChainConfigs.map(({ chainId, chain }) => [chain, chainId] as const)) as {\n readonly [K in AllChainConfigs[number][\"chain\"]]: Extract<AllChainConfigs[number], { chain: K }>[\"chainId\"];\n};\nexport type ChainId = AllChainConfigs[number][\"chainId\"];\n\nexport const StagenetChain = Object.fromEntries(\n StagenetChainConfigs.map(({ name, chain }) => [name, `${chain}_STAGENET`]),\n) as {\n readonly [K in StagenetChainConfigs[number][\"name\"]]: `${StagenetChainConfigs[number][\"chain\"]}_STAGENET`;\n};\nexport type StagenetChain = StagenetChainConfigs[number][\"chain\"];\n\ntype ChainConfigMap = {\n [K in AllChainConfigs[number][\"chain\"]]: Extract<AllChainConfigs[number], { chain: K }>;\n};\n\nconst chainConfigMap = new Map<AllChainConfigs[number][\"chain\"], AllChainConfigs[number]>(\n AllChainConfigs.map((config) => [config.chain, config]),\n);\n\nexport function getChainConfig<T extends AllChainConfigs[number][\"chain\"]>(chain: T): ChainConfigMap[T] {\n const chainConfig = chainConfigMap.get(chain);\n\n return (chainConfig || {}) as ChainConfigMap[T];\n}\n"
|
|
12
12
|
],
|
|
13
|
-
"mappings": ";AAAO,IAAM,WAAW;AAAA,EACtB,EAAE,QAAQ,CAAC,GAAG,iBAAiB,cAAc,MAAM,cAAc;AAAA,EACjE;AAAA,IACE,WAAW;AAAA,IACX,QAAQ;AAAA,MACN,EAAE,SAAS,MAAM,cAAc,WAAW,MAAM,SAAS,MAAM,UAAU;AAAA,MACzE,EAAE,SAAS,MAAM,cAAc,WAAW,MAAM,WAAW,MAAM,UAAU;AAAA,MAC3E,EAAE,SAAS,OAAO,cAAc,WAAW,MAAM,SAAS,MAAM,UAAU;AAAA,IAC5E;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,WAAW;AAAA,IACX,QAAQ;AAAA,MACN,EAAE,SAAS,MAAM,cAAc,WAAW,MAAM,QAAQ,MAAM,UAAU;AAAA,MACxE,EAAE,SAAS,MAAM,cAAc,WAAW,MAAM,MAAM,MAAM,UAAU;AAAA,MACtE,EAAE,SAAS,OAAO,cAAc,WAAW,MAAM,SAAS,MAAM,UAAU;AAAA,IAC5E;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,MACN,EAAE,cAAc,WAAW,MAAM,IAAI,MAAM,UAAU;AAAA,MACrD,EAAE,cAAc,WAAW,MAAM,IAAI,MAAM,UAAU;AAAA,IACvD;AAAA,IACA,MAAM;AAAA,IACN,SAAS,CAAC,EAAE,cAAc,WAAW,MAAM,IAAI,MAAM,UAAU,CAAC;AAAA,IAChE,iBAAiB;AAAA,IACjB,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,MACN,EAAE,cAAc,WAAW,MAAM,WAAW,MAAM,UAAU;AAAA,MAC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3
|
+
} ? (U extends string ? U : undefined) : undefined;
|
|
4
|
+
export declare function createChain<const Name extends string, const Chain extends string, const Type extends "utxo" | "evm" | "cosmos" | "substrate" | "others", const ChainId extends string, const Params extends {
|
|
5
|
+
baseDecimal: number;
|
|
6
|
+
blockExplorerUrl: string;
|
|
7
|
+
chain: Chain;
|
|
8
|
+
chainId: ChainId;
|
|
9
|
+
explorerUrl: string;
|
|
10
|
+
name: Name;
|
|
11
|
+
nativeCurrency: string;
|
|
12
|
+
rpcUrl: string;
|
|
13
|
+
type: Type;
|
|
14
|
+
} & ({
|
|
15
|
+
chainIdHex: string;
|
|
16
|
+
} | {
|
|
17
|
+
chainIdHex?: never;
|
|
18
|
+
})>(params: Params): Params & {
|
|
19
|
+
chainIdHex: ChainIdHexType<Params>;
|
|
20
|
+
};
|
|
21
|
+
type ExtractChains<T extends readonly any[]> = T extends readonly [...infer Items] ? {
|
|
22
|
+
[K in keyof Items]: Items[K] extends {
|
|
23
|
+
chain: infer C;
|
|
24
|
+
} ? C : never;
|
|
25
|
+
} : never;
|
|
26
|
+
export declare function mapChains<T extends readonly any[]>(chains: T): ExtractChains<T>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=_createChain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_createChain.d.ts","sourceRoot":"","sources":["../../../src/chains/_createChain.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,SAAS;IAAE,UAAU,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC;AAE5G,wBAAgB,WAAW,CACzB,KAAK,CAAC,IAAI,SAAS,MAAM,EACzB,KAAK,CAAC,KAAK,SAAS,MAAM,EAC1B,KAAK,CAAC,IAAI,SAAS,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,EACrE,KAAK,CAAC,OAAO,SAAS,MAAM,EAC5B,KAAK,CAAC,MAAM,SAAS;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;CACZ,GAAG,CAAC;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,UAAU,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,EACrD,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG;IAAE,UAAU,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;CAAE,CAEjE;AAED,KAAK,aAAa,CAAC,CAAC,SAAS,SAAS,GAAG,EAAE,IAAI,CAAC,SAAS,SAAS,CAAC,GAAG,MAAM,KAAK,CAAC,GAC9E;KAAG,CAAC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,SAAS;QAAE,KAAK,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,KAAK;CAAE,GACvE,KAAK,CAAC;AAEV,wBAAgB,SAAS,CAAC,CAAC,SAAS,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,GAChB,aAAa,CAAC,CAAC,CAAC,CAC5D"}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
export declare const GAIAConfig: {
|
|
2
|
+
readonly baseDecimal: 6;
|
|
3
|
+
readonly blockExplorerUrl: "https://www.mintscan.io/cosmos";
|
|
4
|
+
readonly chain: "GAIA";
|
|
5
|
+
readonly chainId: "cosmoshub-4";
|
|
6
|
+
readonly explorerUrl: "https://www.mintscan.io/cosmos";
|
|
7
|
+
readonly name: "Cosmos";
|
|
8
|
+
readonly nativeCurrency: "ATOM";
|
|
9
|
+
readonly rpcUrl: "https://cosmos-rpc.publicnode.com:443";
|
|
10
|
+
readonly type: "cosmos";
|
|
11
|
+
} & {
|
|
12
|
+
chainIdHex: undefined;
|
|
13
|
+
};
|
|
14
|
+
export declare const THORConfig: {
|
|
15
|
+
readonly baseDecimal: 8;
|
|
16
|
+
readonly blockExplorerUrl: "https://runescan.io";
|
|
17
|
+
readonly chain: "THOR";
|
|
18
|
+
readonly chainId: "thorchain-1";
|
|
19
|
+
readonly explorerUrl: "https://runescan.io";
|
|
20
|
+
readonly name: "THORChain";
|
|
21
|
+
readonly nativeCurrency: "RUNE";
|
|
22
|
+
readonly rpcUrl: "https://rpc.thorswap.net";
|
|
23
|
+
readonly type: "cosmos";
|
|
24
|
+
} & {
|
|
25
|
+
chainIdHex: undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare const StagenetTHORConfig: {
|
|
28
|
+
readonly baseDecimal: 8;
|
|
29
|
+
readonly blockExplorerUrl: "https://runescan.io";
|
|
30
|
+
readonly chain: "THOR";
|
|
31
|
+
readonly chainId: "thorchain-stagenet-v2";
|
|
32
|
+
readonly explorerUrl: "https://runescan.io";
|
|
33
|
+
readonly name: "THORChain";
|
|
34
|
+
readonly nativeCurrency: "RUNE";
|
|
35
|
+
readonly rpcUrl: "https://rpc.thorswap.net";
|
|
36
|
+
readonly type: "cosmos";
|
|
37
|
+
} & {
|
|
38
|
+
chainIdHex: undefined;
|
|
39
|
+
};
|
|
40
|
+
export declare const MAYAConfig: {
|
|
41
|
+
readonly baseDecimal: 8;
|
|
42
|
+
readonly blockExplorerUrl: "https://www.mayascan.org";
|
|
43
|
+
readonly chain: "MAYA";
|
|
44
|
+
readonly chainId: "mayachain-mainnet-v1";
|
|
45
|
+
readonly explorerUrl: "https://www.mayascan.org";
|
|
46
|
+
readonly name: "Maya";
|
|
47
|
+
readonly nativeCurrency: "CACAO";
|
|
48
|
+
readonly rpcUrl: "https://tendermint.mayachain.info";
|
|
49
|
+
readonly type: "cosmos";
|
|
50
|
+
} & {
|
|
51
|
+
chainIdHex: undefined;
|
|
52
|
+
};
|
|
53
|
+
export declare const StagenetMAYAConfig: {
|
|
54
|
+
readonly baseDecimal: 8;
|
|
55
|
+
readonly blockExplorerUrl: "https://www.mayascan.org";
|
|
56
|
+
readonly chain: "MAYA";
|
|
57
|
+
readonly chainId: "mayachain-stagenet-v1";
|
|
58
|
+
readonly explorerUrl: "https://www.mayascan.org";
|
|
59
|
+
readonly name: "Maya";
|
|
60
|
+
readonly nativeCurrency: "CACAO";
|
|
61
|
+
readonly rpcUrl: "https://tendermint.mayachain.info";
|
|
62
|
+
readonly type: "cosmos";
|
|
63
|
+
} & {
|
|
64
|
+
chainIdHex: undefined;
|
|
65
|
+
};
|
|
66
|
+
export declare const KUJIConfig: {
|
|
67
|
+
readonly baseDecimal: 6;
|
|
68
|
+
readonly blockExplorerUrl: "https://finder.kujira.network/kaiyo-1";
|
|
69
|
+
readonly chain: "KUJI";
|
|
70
|
+
readonly chainId: "kaiyo-1";
|
|
71
|
+
readonly explorerUrl: "https://finder.kujira.network/kaiyo-1";
|
|
72
|
+
readonly name: "Kujira";
|
|
73
|
+
readonly nativeCurrency: "KUJI";
|
|
74
|
+
readonly rpcUrl: "https://kujira-rpc.ibs.team";
|
|
75
|
+
readonly type: "cosmos";
|
|
76
|
+
} & {
|
|
77
|
+
chainIdHex: undefined;
|
|
78
|
+
};
|
|
79
|
+
export declare const NOBLEConfig: {
|
|
80
|
+
readonly baseDecimal: 6;
|
|
81
|
+
readonly blockExplorerUrl: "https://www.mintscan.io/noble";
|
|
82
|
+
readonly chain: "NOBLE";
|
|
83
|
+
readonly chainId: "noble-1";
|
|
84
|
+
readonly explorerUrl: "https://www.mintscan.io/noble";
|
|
85
|
+
readonly name: "Noble";
|
|
86
|
+
readonly nativeCurrency: "USDC";
|
|
87
|
+
readonly rpcUrl: "https://noble-rpc.polkachu.com";
|
|
88
|
+
readonly type: "cosmos";
|
|
89
|
+
} & {
|
|
90
|
+
chainIdHex: undefined;
|
|
91
|
+
};
|
|
92
|
+
export declare const CosmosChainConfigs: readonly [{
|
|
93
|
+
readonly baseDecimal: 6;
|
|
94
|
+
readonly blockExplorerUrl: "https://www.mintscan.io/cosmos";
|
|
95
|
+
readonly chain: "GAIA";
|
|
96
|
+
readonly chainId: "cosmoshub-4";
|
|
97
|
+
readonly explorerUrl: "https://www.mintscan.io/cosmos";
|
|
98
|
+
readonly name: "Cosmos";
|
|
99
|
+
readonly nativeCurrency: "ATOM";
|
|
100
|
+
readonly rpcUrl: "https://cosmos-rpc.publicnode.com:443";
|
|
101
|
+
readonly type: "cosmos";
|
|
102
|
+
} & {
|
|
103
|
+
chainIdHex: undefined;
|
|
104
|
+
}, {
|
|
105
|
+
readonly baseDecimal: 8;
|
|
106
|
+
readonly blockExplorerUrl: "https://runescan.io";
|
|
107
|
+
readonly chain: "THOR";
|
|
108
|
+
readonly chainId: "thorchain-1";
|
|
109
|
+
readonly explorerUrl: "https://runescan.io";
|
|
110
|
+
readonly name: "THORChain";
|
|
111
|
+
readonly nativeCurrency: "RUNE";
|
|
112
|
+
readonly rpcUrl: "https://rpc.thorswap.net";
|
|
113
|
+
readonly type: "cosmos";
|
|
114
|
+
} & {
|
|
115
|
+
chainIdHex: undefined;
|
|
116
|
+
}, {
|
|
117
|
+
readonly baseDecimal: 8;
|
|
118
|
+
readonly blockExplorerUrl: "https://www.mayascan.org";
|
|
119
|
+
readonly chain: "MAYA";
|
|
120
|
+
readonly chainId: "mayachain-mainnet-v1";
|
|
121
|
+
readonly explorerUrl: "https://www.mayascan.org";
|
|
122
|
+
readonly name: "Maya";
|
|
123
|
+
readonly nativeCurrency: "CACAO";
|
|
124
|
+
readonly rpcUrl: "https://tendermint.mayachain.info";
|
|
125
|
+
readonly type: "cosmos";
|
|
126
|
+
} & {
|
|
127
|
+
chainIdHex: undefined;
|
|
128
|
+
}, {
|
|
129
|
+
readonly baseDecimal: 6;
|
|
130
|
+
readonly blockExplorerUrl: "https://finder.kujira.network/kaiyo-1";
|
|
131
|
+
readonly chain: "KUJI";
|
|
132
|
+
readonly chainId: "kaiyo-1";
|
|
133
|
+
readonly explorerUrl: "https://finder.kujira.network/kaiyo-1";
|
|
134
|
+
readonly name: "Kujira";
|
|
135
|
+
readonly nativeCurrency: "KUJI";
|
|
136
|
+
readonly rpcUrl: "https://kujira-rpc.ibs.team";
|
|
137
|
+
readonly type: "cosmos";
|
|
138
|
+
} & {
|
|
139
|
+
chainIdHex: undefined;
|
|
140
|
+
}, {
|
|
141
|
+
readonly baseDecimal: 6;
|
|
142
|
+
readonly blockExplorerUrl: "https://www.mintscan.io/noble";
|
|
143
|
+
readonly chain: "NOBLE";
|
|
144
|
+
readonly chainId: "noble-1";
|
|
145
|
+
readonly explorerUrl: "https://www.mintscan.io/noble";
|
|
146
|
+
readonly name: "Noble";
|
|
147
|
+
readonly nativeCurrency: "USDC";
|
|
148
|
+
readonly rpcUrl: "https://noble-rpc.polkachu.com";
|
|
149
|
+
readonly type: "cosmos";
|
|
150
|
+
} & {
|
|
151
|
+
chainIdHex: undefined;
|
|
152
|
+
}];
|
|
153
|
+
export declare const CosmosChains: ["GAIA", "THOR", "MAYA", "KUJI", "NOBLE"];
|
|
154
|
+
export type CosmosChain = (typeof CosmosChains)[number];
|
|
155
|
+
export declare const StagenetCosmosChainConfigs: readonly [{
|
|
156
|
+
readonly baseDecimal: 8;
|
|
157
|
+
readonly blockExplorerUrl: "https://runescan.io";
|
|
158
|
+
readonly chain: "THOR";
|
|
159
|
+
readonly chainId: "thorchain-stagenet-v2";
|
|
160
|
+
readonly explorerUrl: "https://runescan.io";
|
|
161
|
+
readonly name: "THORChain";
|
|
162
|
+
readonly nativeCurrency: "RUNE";
|
|
163
|
+
readonly rpcUrl: "https://rpc.thorswap.net";
|
|
164
|
+
readonly type: "cosmos";
|
|
165
|
+
} & {
|
|
166
|
+
chainIdHex: undefined;
|
|
167
|
+
}, {
|
|
168
|
+
readonly baseDecimal: 8;
|
|
169
|
+
readonly blockExplorerUrl: "https://www.mayascan.org";
|
|
170
|
+
readonly chain: "MAYA";
|
|
171
|
+
readonly chainId: "mayachain-stagenet-v1";
|
|
172
|
+
readonly explorerUrl: "https://www.mayascan.org";
|
|
173
|
+
readonly name: "Maya";
|
|
174
|
+
readonly nativeCurrency: "CACAO";
|
|
175
|
+
readonly rpcUrl: "https://tendermint.mayachain.info";
|
|
176
|
+
readonly type: "cosmos";
|
|
177
|
+
} & {
|
|
178
|
+
chainIdHex: undefined;
|
|
179
|
+
}];
|
|
180
|
+
export declare const StagenetCosmosChains: ["THOR", "MAYA"];
|
|
181
|
+
export type StagenetCosmosChain = (typeof StagenetCosmosChains)[number];
|
|
182
|
+
export declare const CosmosChainPrefixes: Record<CosmosChain, string>;
|
|
183
|
+
export declare const TCLikeChains: readonly ["THOR", "MAYA", "THOR", "MAYA"];
|
|
184
|
+
export type TCLikeChain = (typeof TCLikeChains)[number];
|
|
185
|
+
//# sourceMappingURL=cosmos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cosmos.d.ts","sourceRoot":"","sources":["../../../src/chains/cosmos.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;CAUrB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;CAUrB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;CAU7B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;CAUrB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;CAU7B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;CAUrB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;CAUtB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyE,CAAC;AACzG,eAAO,MAAM,YAAY,2CAAgC,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAExD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAAoD,CAAC;AAC5F,eAAO,MAAM,oBAAoB,kBAAwC,CAAC;AAC1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAM3D,CAAC;AAEF,eAAO,MAAM,YAAY,2CAKf,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
export declare const EVMChainConfigs: readonly [{
|
|
2
|
+
readonly baseDecimal: 18;
|
|
3
|
+
readonly blockExplorerUrl: "https://etherscan.io";
|
|
4
|
+
readonly chain: "ETH";
|
|
5
|
+
readonly chainId: "1";
|
|
6
|
+
readonly chainIdHex: "0x1";
|
|
7
|
+
readonly explorerUrl: "https://etherscan.io";
|
|
8
|
+
readonly name: "Ethereum";
|
|
9
|
+
readonly nativeCurrency: "ETH";
|
|
10
|
+
readonly rpcUrl: "https://ethereum-rpc.publicnode.com";
|
|
11
|
+
readonly type: "evm";
|
|
12
|
+
} & {
|
|
13
|
+
chainIdHex: "0x1";
|
|
14
|
+
}, {
|
|
15
|
+
readonly baseDecimal: 18;
|
|
16
|
+
readonly blockExplorerUrl: "https://bscscan.com";
|
|
17
|
+
readonly chain: "BSC";
|
|
18
|
+
readonly chainId: "56";
|
|
19
|
+
readonly chainIdHex: "0x38";
|
|
20
|
+
readonly explorerUrl: "https://bscscan.com";
|
|
21
|
+
readonly name: "BinanceSmartChain";
|
|
22
|
+
readonly nativeCurrency: "BNB";
|
|
23
|
+
readonly rpcUrl: "https://bsc-dataseed.binance.org";
|
|
24
|
+
readonly type: "evm";
|
|
25
|
+
} & {
|
|
26
|
+
chainIdHex: "0x38";
|
|
27
|
+
}, {
|
|
28
|
+
readonly baseDecimal: 18;
|
|
29
|
+
readonly blockExplorerUrl: "https://snowtrace.io";
|
|
30
|
+
readonly chain: "AVAX";
|
|
31
|
+
readonly chainId: "43114";
|
|
32
|
+
readonly chainIdHex: "0xa86a";
|
|
33
|
+
readonly explorerUrl: "https://snowtrace.io";
|
|
34
|
+
readonly name: "Avalanche";
|
|
35
|
+
readonly nativeCurrency: "AVAX";
|
|
36
|
+
readonly rpcUrl: "https://api.avax.network/ext/bc/C/rpc";
|
|
37
|
+
readonly type: "evm";
|
|
38
|
+
} & {
|
|
39
|
+
chainIdHex: "0xa86a";
|
|
40
|
+
}, {
|
|
41
|
+
readonly baseDecimal: 18;
|
|
42
|
+
readonly blockExplorerUrl: "https://polygonscan.com";
|
|
43
|
+
readonly chain: "POL";
|
|
44
|
+
readonly chainId: "137";
|
|
45
|
+
readonly chainIdHex: "0x89";
|
|
46
|
+
readonly explorerUrl: "https://polygonscan.com";
|
|
47
|
+
readonly name: "Polygon";
|
|
48
|
+
readonly nativeCurrency: "POL";
|
|
49
|
+
readonly rpcUrl: "https://polygon-rpc.com";
|
|
50
|
+
readonly type: "evm";
|
|
51
|
+
} & {
|
|
52
|
+
chainIdHex: "0x89";
|
|
53
|
+
}, {
|
|
54
|
+
readonly baseDecimal: 18;
|
|
55
|
+
readonly blockExplorerUrl: "https://arbiscan.io";
|
|
56
|
+
readonly chain: "ARB";
|
|
57
|
+
readonly chainId: "42161";
|
|
58
|
+
readonly chainIdHex: "0xa4b1";
|
|
59
|
+
readonly explorerUrl: "https://arbiscan.io";
|
|
60
|
+
readonly name: "Arbitrum";
|
|
61
|
+
readonly nativeCurrency: "ETH";
|
|
62
|
+
readonly rpcUrl: "https://arb1.arbitrum.io/rpc";
|
|
63
|
+
readonly type: "evm";
|
|
64
|
+
} & {
|
|
65
|
+
chainIdHex: "0xa4b1";
|
|
66
|
+
}, {
|
|
67
|
+
readonly baseDecimal: 18;
|
|
68
|
+
readonly blockExplorerUrl: "https://optimistic.etherscan.io";
|
|
69
|
+
readonly chain: "OP";
|
|
70
|
+
readonly chainId: "10";
|
|
71
|
+
readonly chainIdHex: "0xa";
|
|
72
|
+
readonly explorerUrl: "https://optimistic.etherscan.io";
|
|
73
|
+
readonly name: "Optimism";
|
|
74
|
+
readonly nativeCurrency: "ETH";
|
|
75
|
+
readonly rpcUrl: "https://mainnet.optimism.io";
|
|
76
|
+
readonly type: "evm";
|
|
77
|
+
} & {
|
|
78
|
+
chainIdHex: "0xa";
|
|
79
|
+
}, {
|
|
80
|
+
readonly baseDecimal: 18;
|
|
81
|
+
readonly blockExplorerUrl: "https://basescan.org";
|
|
82
|
+
readonly chain: "BASE";
|
|
83
|
+
readonly chainId: "8453";
|
|
84
|
+
readonly chainIdHex: "0x2105";
|
|
85
|
+
readonly explorerUrl: "https://basescan.org";
|
|
86
|
+
readonly name: "Base";
|
|
87
|
+
readonly nativeCurrency: "ETH";
|
|
88
|
+
readonly rpcUrl: "https://base-rpc.publicnode.com";
|
|
89
|
+
readonly type: "evm";
|
|
90
|
+
} & {
|
|
91
|
+
chainIdHex: "0x2105";
|
|
92
|
+
}, {
|
|
93
|
+
readonly baseDecimal: 18;
|
|
94
|
+
readonly blockExplorerUrl: "https://gnosisscan.io";
|
|
95
|
+
readonly chain: "GNO";
|
|
96
|
+
readonly chainId: "100";
|
|
97
|
+
readonly chainIdHex: "0x64";
|
|
98
|
+
readonly explorerUrl: "https://gnosisscan.io";
|
|
99
|
+
readonly name: "Gnosis";
|
|
100
|
+
readonly nativeCurrency: "xDAI";
|
|
101
|
+
readonly rpcUrl: "https://gnosis-rpc.publicnode.com";
|
|
102
|
+
readonly type: "evm";
|
|
103
|
+
} & {
|
|
104
|
+
chainIdHex: "0x64";
|
|
105
|
+
}, {
|
|
106
|
+
readonly baseDecimal: 18;
|
|
107
|
+
readonly blockExplorerUrl: "https://explorer.mainnet.aurora.dev";
|
|
108
|
+
readonly chain: "AURORA";
|
|
109
|
+
readonly chainId: "1313161554";
|
|
110
|
+
readonly chainIdHex: "0x4e454152";
|
|
111
|
+
readonly explorerUrl: "https://explorer.mainnet.aurora.dev";
|
|
112
|
+
readonly name: "Aurora";
|
|
113
|
+
readonly nativeCurrency: "ETH";
|
|
114
|
+
readonly rpcUrl: "https://aurora-rpc.publicnode.com";
|
|
115
|
+
readonly type: "evm";
|
|
116
|
+
} & {
|
|
117
|
+
chainIdHex: "0x4e454152";
|
|
118
|
+
}, {
|
|
119
|
+
readonly baseDecimal: 18;
|
|
120
|
+
readonly blockExplorerUrl: "https://berascan.com";
|
|
121
|
+
readonly chain: "BERA";
|
|
122
|
+
readonly chainId: "80094";
|
|
123
|
+
readonly chainIdHex: "0x138de";
|
|
124
|
+
readonly explorerUrl: "https://berascan.com";
|
|
125
|
+
readonly name: "Berachain";
|
|
126
|
+
readonly nativeCurrency: "BERA";
|
|
127
|
+
readonly rpcUrl: "https://berachain-rpc.publicnode.com";
|
|
128
|
+
readonly type: "evm";
|
|
129
|
+
} & {
|
|
130
|
+
chainIdHex: "0x138de";
|
|
131
|
+
}];
|
|
132
|
+
export declare const EVMChains: ["ETH", "BSC", "AVAX", "POL", "ARB", "OP", "BASE", "GNO", "AURORA", "BERA"];
|
|
133
|
+
export type EVMChain = (typeof EVMChains)[number];
|
|
134
|
+
//# sourceMappingURL=evm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../../src/chains/evm.ts"],"names":[],"mappings":"AAsIA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlB,CAAC;AAEX,eAAO,MAAM,SAAS,6EAA6B,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC"}
|