@gardenfi/orderbook 0.2.0-beta.26 → 0.2.0-beta.28
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/index3.cjs +1 -1
- package/dist/index3.js +14 -12
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +25 -7
- package/dist/src/lib/asset.d.ts +3 -2
- package/dist/src/lib/constants.d.ts +2 -0
- package/package.json +1 -1
package/dist/index3.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=(e=>(e.Bitcoin="Bitcoin",e.EVM="EVM",e))(i||{}),o=(e=>(e.mainnet="mainnet",e.testnet="testnet",e.localnet="localnet",e))(o||{});const t={bitcoin:"bitcoin",bitcoin_testnet:"bitcoin_testnet",bitcoin_regtest:"bitcoin_regtest",ethereum:"ethereum",base:"base",ethereum_arbitrum:"ethereum_arbitrum",ethereum_sepolia:"ethereum_sepolia",arbitrum_localnet:"arbitrum_localnet",arbitrum_sepolia:"arbitrum_sepolia",ethereum_localnet:"ethereum_localnet",base_sepolia:"base_sepolia"},a=e=>!(e===t.ethereum_sepolia||e===t.bitcoin_testnet||e===t.bitcoin_regtest||e===t.arbitrum_localnet||e===t.ethereum_localnet||e===t.arbitrum_sepolia||e===t.base_sepolia),n=e=>e===t.bitcoin||e===t.bitcoin_testnet||e===t.bitcoin_regtest,s=e=>e===t.ethereum||e===t.ethereum_arbitrum||e===t.ethereum_sepolia||e===t.ethereum_localnet||e===t.arbitrum_localnet||e===t.arbitrum_sepolia||e===t.base_sepolia||e===t.base,r={[t.bitcoin]:288,[t.bitcoin_testnet]:288,[t.bitcoin_regtest]:288,[t.ethereum]:14400,[t.ethereum_arbitrum]:14400,[t.ethereum_sepolia]:14400,[t.arbitrum_localnet]:14400,[t.arbitrum_sepolia]:14400,[t.ethereum_localnet]:14400,[t.base_sepolia]:14400,[t.base]:86400},u=e=>{if(n(e))return"Bitcoin";if(s(e))return"EVM";throw new Error("Invalid or unsupported chain")},l=e=>{if(!r[e])throw new Error("Invalid or unsupported chain");return r[e]};exports.BlockchainType=i;exports.Chains=t;exports.NetworkType=o;exports.TimeLocks=r;exports.getBlockchainType=u;exports.getTimeLock=l;exports.isBitcoin=n;exports.isEVM=s;exports.isMainnet=a;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=(e=>(e.Bitcoin="Bitcoin",e.EVM="EVM",e))(i||{}),o=(e=>(e.mainnet="mainnet",e.testnet="testnet",e.localnet="localnet",e))(o||{});const t={bitcoin:"bitcoin",bitcoin_testnet:"bitcoin_testnet",bitcoin_regtest:"bitcoin_regtest",ethereum:"ethereum",base:"base",ethereum_arbitrum:"ethereum_arbitrum",ethereum_sepolia:"ethereum_sepolia",arbitrum_localnet:"arbitrum_localnet",arbitrum_sepolia:"arbitrum_sepolia",ethereum_localnet:"ethereum_localnet",base_sepolia:"base_sepolia",bera_testnet:"bera_testnet"},a=e=>!(e===t.ethereum_sepolia||e===t.bitcoin_testnet||e===t.bitcoin_regtest||e===t.arbitrum_localnet||e===t.ethereum_localnet||e===t.arbitrum_sepolia||e===t.base_sepolia),n=e=>e===t.bitcoin||e===t.bitcoin_testnet||e===t.bitcoin_regtest,s=e=>e===t.ethereum||e===t.ethereum_arbitrum||e===t.ethereum_sepolia||e===t.ethereum_localnet||e===t.arbitrum_localnet||e===t.arbitrum_sepolia||e===t.base_sepolia||e===t.base||e===t.bera_testnet,r={[t.bitcoin]:288,[t.bitcoin_testnet]:288,[t.bitcoin_regtest]:288,[t.ethereum]:14400,[t.ethereum_arbitrum]:14400,[t.ethereum_sepolia]:14400,[t.arbitrum_localnet]:14400,[t.arbitrum_sepolia]:14400,[t.ethereum_localnet]:14400,[t.base_sepolia]:14400,[t.base]:86400,[t.bera_testnet]:0},u=e=>{if(n(e))return"Bitcoin";if(s(e))return"EVM";throw new Error("Invalid or unsupported chain")},l=e=>{if(!r[e])throw new Error("Invalid or unsupported chain");return r[e]};exports.BlockchainType=i;exports.Chains=t;exports.NetworkType=o;exports.TimeLocks=r;exports.getBlockchainType=u;exports.getTimeLock=l;exports.isBitcoin=n;exports.isEVM=s;exports.isMainnet=a;
|
package/dist/index3.js
CHANGED
|
@@ -10,8 +10,9 @@ const t = {
|
|
|
10
10
|
arbitrum_localnet: "arbitrum_localnet",
|
|
11
11
|
arbitrum_sepolia: "arbitrum_sepolia",
|
|
12
12
|
ethereum_localnet: "ethereum_localnet",
|
|
13
|
-
base_sepolia: "base_sepolia"
|
|
14
|
-
|
|
13
|
+
base_sepolia: "base_sepolia",
|
|
14
|
+
bera_testnet: "bera_testnet"
|
|
15
|
+
}, a = (e) => !(e === t.ethereum_sepolia || e === t.bitcoin_testnet || e === t.bitcoin_regtest || e === t.arbitrum_localnet || e === t.ethereum_localnet || e === t.arbitrum_sepolia || e === t.base_sepolia), s = (e) => e === t.bitcoin || e === t.bitcoin_testnet || e === t.bitcoin_regtest, n = (e) => e === t.ethereum || e === t.ethereum_arbitrum || e === t.ethereum_sepolia || e === t.ethereum_localnet || e === t.arbitrum_localnet || e === t.arbitrum_sepolia || e === t.base_sepolia || e === t.base || e === t.bera_testnet, r = {
|
|
15
16
|
[t.bitcoin]: 288,
|
|
16
17
|
[t.bitcoin_testnet]: 288,
|
|
17
18
|
[t.bitcoin_regtest]: 288,
|
|
@@ -22,12 +23,13 @@ const t = {
|
|
|
22
23
|
[t.arbitrum_sepolia]: 14400,
|
|
23
24
|
[t.ethereum_localnet]: 14400,
|
|
24
25
|
[t.base_sepolia]: 14400,
|
|
25
|
-
[t.base]: 86400
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
if (s(e)) return "
|
|
26
|
+
[t.base]: 86400,
|
|
27
|
+
[t.bera_testnet]: 0
|
|
28
|
+
}, u = (e) => {
|
|
29
|
+
if (s(e)) return "Bitcoin";
|
|
30
|
+
if (n(e)) return "EVM";
|
|
29
31
|
throw new Error("Invalid or unsupported chain");
|
|
30
|
-
},
|
|
32
|
+
}, _ = (e) => {
|
|
31
33
|
if (!r[e]) throw new Error("Invalid or unsupported chain");
|
|
32
34
|
return r[e];
|
|
33
35
|
};
|
|
@@ -36,9 +38,9 @@ export {
|
|
|
36
38
|
t as Chains,
|
|
37
39
|
o as NetworkType,
|
|
38
40
|
r as TimeLocks,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
u as getBlockchainType,
|
|
42
|
+
_ as getTimeLock,
|
|
43
|
+
s as isBitcoin,
|
|
44
|
+
n as isEVM,
|
|
45
|
+
a as isMainnet
|
|
44
46
|
};
|
package/dist/index5.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index3.cjs"),s={id:31338,name:"Arbitrum Localnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:8546/"]}},testnet:!0},c={id:31337,name:"Ethereum Localnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:8545/"]}},testnet:!0},i={name:"Bitcoin Regtest",decimals:8,symbol:"BTC",chain:e.Chains.bitcoin_regtest,atomicSwapAddress:"primary",tokenAddress:"primary"},a={name:"WBTC Arbitrum Localnet",decimals:8,symbol:"WBTC",chain:e.Chains.arbitrum_localnet,atomicSwapAddress:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",tokenAddress:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512"},t={name:"WBTC Ethereum Localnet",decimals:8,symbol:"WBTC",chain:e.Chains.ethereum_localnet,atomicSwapAddress:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",tokenAddress:"0x5FbDB2315678afecb367f032d93F642f64180aa3"},n={localnet:{arbitrum_localnet_0xdc64a140aa3e981100a9beca4e685f962f0cf6c9:a,ethereum_localnet_0xe7f1725e7734ce288f8367e1bb143e90bb3f0512:t},testnet:{bitcoin_testnet_primary:{name:"BTC",decimals:8,symbol:"BTC",chain:e.Chains.bitcoin_testnet,tokenAddress:"primary",atomicSwapAddress:"primary"},ethereum_sepolia_0x3c6a17b8cd92976d1d91e491c93c98cd81998265:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",chain:e.Chains.ethereum_sepolia,logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",tokenAddress:"0x4D68da063577F98C55166c7AF6955cF58a97b20A",atomicSwapAddress:"0x3C6a17b8cD92976D1D91E491c93c98cd81998265"},arbitrum_sepolia_0x1cd0bbd55fd66b4c5f7dfe434efd009c09e628d1:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",chain:e.Chains.arbitrum_sepolia,tokenAddress:"0x00ab86f54F436CfE15253845F139955ae0C00bAf",atomicSwapAddress:"0x1cd0bBd55fD66B4C5F7dfE434eFD009C09e628d1"},arbitrum_sepolia_0xd5fedb4cecb0f1d32788a190d9eb47d94d23ee4e:{name:"Seed",decimals:18,symbol:"SEED",chain:e.Chains.arbitrum_sepolia,logo:"https://garden-finance.imgix.net/token-images/seed.svg",tokenAddress:"0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",atomicSwapAddress:"0xD5FeDb4ceCB0F1D32788a190d9EB47D94D23eE4e"},base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",chain:e.Chains.base_sepolia,logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",tokenAddress:"0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",atomicSwapAddress:"0x00ab86f54F436CfE15253845F139955ae0C00bAf"}},mainnet:{bitcoin_primary:{name:"BTC",decimals:8,symbol:"BTC",chain:e.Chains.bitcoin,tokenAddress:"primary",atomicSwapAddress:"primary"},base_0x13dcec0762ecc5e666c207ab44dc768e5e33070f:{name:"Coinbase Bitcoin",decimals:8,symbol:"cbBTC",chain:e.Chains.base,logo:"https://coin-images.coingecko.com/coins/images/51336/large/cbbtc.png?1730814747",tokenAddress:"0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",atomicSwapAddress:"0x13DCec0762EcC5E666c207ab44Dc768e5e33070F"},base_0x00ab86f54f436cfe15253845f139955ae0c00baf:{name:"USD Coin",decimals:6,symbol:"USDC",chain:e.Chains.base,logo:"https://garden-finance.imgix.net/token-images/usdc.svg",tokenAddress:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",atomicSwapAddress:"0x00ab86f54F436CfE15253845F139955ae0C00bAf"}}};exports.ArbitrumLocalnet=s;exports.EthereumLocalnet=c;exports.SupportedAssets=n;exports.WBTCArbitrumLocalnetAsset=a;exports.WBTCEthereumLocalnetAsset=t;exports.bitcoinRegtestAsset=i;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index3.cjs"),s={id:31338,name:"Arbitrum Localnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:8546/"]}},testnet:!0},c={id:31337,name:"Ethereum Localnet",nativeCurrency:{name:"Ethereum",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["http://localhost:8545/"]}},testnet:!0},i={name:"Bitcoin Regtest",decimals:8,symbol:"BTC",chain:e.Chains.bitcoin_regtest,atomicSwapAddress:"primary",tokenAddress:"primary"},a={name:"WBTC Arbitrum Localnet",decimals:8,symbol:"WBTC",chain:e.Chains.arbitrum_localnet,atomicSwapAddress:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",tokenAddress:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512"},t={name:"WBTC Ethereum Localnet",decimals:8,symbol:"WBTC",chain:e.Chains.ethereum_localnet,atomicSwapAddress:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",tokenAddress:"0x5FbDB2315678afecb367f032d93F642f64180aa3"},n={localnet:{arbitrum_localnet_0xdc64a140aa3e981100a9beca4e685f962f0cf6c9:a,ethereum_localnet_0xe7f1725e7734ce288f8367e1bb143e90bb3f0512:t},testnet:{bitcoin_testnet_primary:{name:"BTC",decimals:8,symbol:"BTC",chain:e.Chains.bitcoin_testnet,tokenAddress:"primary",atomicSwapAddress:"primary"},ethereum_sepolia_0x3c6a17b8cd92976d1d91e491c93c98cd81998265:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",chain:e.Chains.ethereum_sepolia,logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",tokenAddress:"0x4D68da063577F98C55166c7AF6955cF58a97b20A",atomicSwapAddress:"0x3C6a17b8cD92976D1D91E491c93c98cd81998265"},arbitrum_sepolia_0x1cd0bbd55fd66b4c5f7dfe434efd009c09e628d1:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",chain:e.Chains.arbitrum_sepolia,tokenAddress:"0x00ab86f54F436CfE15253845F139955ae0C00bAf",atomicSwapAddress:"0x1cd0bBd55fD66B4C5F7dfE434eFD009C09e628d1"},arbitrum_sepolia_0xd5fedb4cecb0f1d32788a190d9eb47d94d23ee4e:{name:"Seed",decimals:18,symbol:"SEED",chain:e.Chains.arbitrum_sepolia,logo:"https://garden-finance.imgix.net/token-images/seed.svg",tokenAddress:"0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",atomicSwapAddress:"0xD5FeDb4ceCB0F1D32788a190d9EB47D94D23eE4e"},base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",chain:e.Chains.base_sepolia,logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",tokenAddress:"0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",atomicSwapAddress:"0x00ab86f54F436CfE15253845F139955ae0C00bAf"},base_sepolia_0xb391ca6d0a76cd2a927bc314856e8a374a225cfc:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",chain:e.Chains.base_sepolia,logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",tokenAddress:"0xD72Fc3e7D52301b3e5f7d4E3366F88d5C8747520",atomicSwapAddress:"0xB391CA6D0A76CD2A927bC314856E8a374a225CFc"},bera_testnet_0x1dc94fdcad8aee13cfd34db8a26d26e31572805c:{name:"Wrapped Bitcoin",decimals:8,symbol:"WBTC",chain:e.Chains.bera_testnet,logo:"https://garden-finance.imgix.net/token-images/wbtc.svg",tokenAddress:"0x00ab86f54F436CfE15253845F139955ae0C00bAf",atomicSwapAddress:"0x1dC94FdcAd8Aee13cfd34Db8a26d26E31572805c"}},mainnet:{bitcoin_primary:{name:"BTC",decimals:8,symbol:"BTC",chain:e.Chains.bitcoin,tokenAddress:"primary",atomicSwapAddress:"primary"},base_0x13dcec0762ecc5e666c207ab44dc768e5e33070f:{name:"Coinbase Bitcoin",decimals:8,symbol:"cbBTC",chain:e.Chains.base,logo:"https://coin-images.coingecko.com/coins/images/51336/large/cbbtc.png?1730814747",tokenAddress:"0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",atomicSwapAddress:"0x13DCec0762EcC5E666c207ab44Dc768e5e33070F"},base_0x00ab86f54f436cfe15253845f139955ae0c00baf:{name:"USD Coin",decimals:6,symbol:"USDC",chain:e.Chains.base,logo:"https://garden-finance.imgix.net/token-images/usdc.svg",tokenAddress:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",atomicSwapAddress:"0x00ab86f54F436CfE15253845F139955ae0C00bAf"}}};exports.ArbitrumLocalnet=s;exports.EthereumLocalnet=c;exports.SupportedAssets=n;exports.WBTCArbitrumLocalnetAsset=a;exports.WBTCEthereumLocalnetAsset=t;exports.bitcoinRegtestAsset=i;
|
package/dist/index5.js
CHANGED
|
@@ -27,7 +27,7 @@ const s = {
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
testnet: !0
|
|
30
|
-
},
|
|
30
|
+
}, d = {
|
|
31
31
|
name: "Bitcoin Regtest",
|
|
32
32
|
decimals: 8,
|
|
33
33
|
symbol: "BTC",
|
|
@@ -41,17 +41,17 @@ const s = {
|
|
|
41
41
|
chain: e.arbitrum_localnet,
|
|
42
42
|
atomicSwapAddress: "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",
|
|
43
43
|
tokenAddress: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512"
|
|
44
|
-
},
|
|
44
|
+
}, c = {
|
|
45
45
|
name: "WBTC Ethereum Localnet",
|
|
46
46
|
decimals: 8,
|
|
47
47
|
symbol: "WBTC",
|
|
48
48
|
chain: e.ethereum_localnet,
|
|
49
49
|
atomicSwapAddress: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
50
50
|
tokenAddress: "0x5FbDB2315678afecb367f032d93F642f64180aa3"
|
|
51
|
-
},
|
|
51
|
+
}, n = {
|
|
52
52
|
localnet: {
|
|
53
53
|
arbitrum_localnet_0xdc64a140aa3e981100a9beca4e685f962f0cf6c9: a,
|
|
54
|
-
ethereum_localnet_0xe7f1725e7734ce288f8367e1bb143e90bb3f0512:
|
|
54
|
+
ethereum_localnet_0xe7f1725e7734ce288f8367e1bb143e90bb3f0512: c
|
|
55
55
|
},
|
|
56
56
|
testnet: {
|
|
57
57
|
bitcoin_testnet_primary: {
|
|
@@ -97,6 +97,24 @@ const s = {
|
|
|
97
97
|
logo: "https://garden-finance.imgix.net/token-images/wbtc.svg",
|
|
98
98
|
tokenAddress: "0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",
|
|
99
99
|
atomicSwapAddress: "0x00ab86f54F436CfE15253845F139955ae0C00bAf"
|
|
100
|
+
},
|
|
101
|
+
base_sepolia_0xb391ca6d0a76cd2a927bc314856e8a374a225cfc: {
|
|
102
|
+
name: "Wrapped Bitcoin",
|
|
103
|
+
decimals: 8,
|
|
104
|
+
symbol: "WBTC",
|
|
105
|
+
chain: e.base_sepolia,
|
|
106
|
+
logo: "https://garden-finance.imgix.net/token-images/wbtc.svg",
|
|
107
|
+
tokenAddress: "0xD72Fc3e7D52301b3e5f7d4E3366F88d5C8747520",
|
|
108
|
+
atomicSwapAddress: "0xB391CA6D0A76CD2A927bC314856E8a374a225CFc"
|
|
109
|
+
},
|
|
110
|
+
bera_testnet_0x1dc94fdcad8aee13cfd34db8a26d26e31572805c: {
|
|
111
|
+
name: "Wrapped Bitcoin",
|
|
112
|
+
decimals: 8,
|
|
113
|
+
symbol: "WBTC",
|
|
114
|
+
chain: e.bera_testnet,
|
|
115
|
+
logo: "https://garden-finance.imgix.net/token-images/wbtc.svg",
|
|
116
|
+
tokenAddress: "0x00ab86f54F436CfE15253845F139955ae0C00bAf",
|
|
117
|
+
atomicSwapAddress: "0x1dC94FdcAd8Aee13cfd34Db8a26d26E31572805c"
|
|
100
118
|
}
|
|
101
119
|
},
|
|
102
120
|
mainnet: {
|
|
@@ -131,8 +149,8 @@ const s = {
|
|
|
131
149
|
export {
|
|
132
150
|
s as ArbitrumLocalnet,
|
|
133
151
|
i as EthereumLocalnet,
|
|
134
|
-
|
|
152
|
+
n as SupportedAssets,
|
|
135
153
|
a as WBTCArbitrumLocalnetAsset,
|
|
136
|
-
|
|
137
|
-
|
|
154
|
+
c as WBTCEthereumLocalnetAsset,
|
|
155
|
+
d as bitcoinRegtestAsset
|
|
138
156
|
};
|
package/dist/src/lib/asset.d.ts
CHANGED
|
@@ -41,12 +41,13 @@ export declare const Chains: {
|
|
|
41
41
|
readonly arbitrum_sepolia: "arbitrum_sepolia";
|
|
42
42
|
readonly ethereum_localnet: "ethereum_localnet";
|
|
43
43
|
readonly base_sepolia: "base_sepolia";
|
|
44
|
+
readonly bera_testnet: "bera_testnet";
|
|
44
45
|
};
|
|
45
46
|
export type Chain = keyof typeof Chains;
|
|
46
47
|
export type EvmChain = keyof Omit<typeof Chains, 'bitcoin' | 'bitcoin_testnet' | 'bitcoin_regtest'>;
|
|
47
|
-
export declare const isMainnet: (chain: Chain) => chain is "bitcoin" | "ethereum" | "base" | "ethereum_arbitrum";
|
|
48
|
+
export declare const isMainnet: (chain: Chain) => chain is "bitcoin" | "ethereum" | "base" | "ethereum_arbitrum" | "bera_testnet";
|
|
48
49
|
export declare const isBitcoin: (chain: Chain) => chain is "bitcoin" | "bitcoin_testnet" | "bitcoin_regtest";
|
|
49
|
-
export declare const isEVM: (chain: Chain) => chain is "ethereum" | "base" | "ethereum_arbitrum" | "ethereum_sepolia" | "arbitrum_localnet" | "arbitrum_sepolia" | "ethereum_localnet" | "base_sepolia";
|
|
50
|
+
export declare const isEVM: (chain: Chain) => chain is "ethereum" | "base" | "ethereum_arbitrum" | "ethereum_sepolia" | "arbitrum_localnet" | "arbitrum_sepolia" | "ethereum_localnet" | "base_sepolia" | "bera_testnet";
|
|
50
51
|
export declare const TimeLocks: Record<Chain, number>;
|
|
51
52
|
export declare const getBlockchainType: (chain: Chain) => BlockchainType;
|
|
52
53
|
export declare const getTimeLock: (chain: Chain) => number;
|
|
@@ -17,6 +17,8 @@ type SupportedAssets = {
|
|
|
17
17
|
arbitrum_sepolia_0x1cd0bbd55fd66b4c5f7dfe434efd009c09e628d1: Asset;
|
|
18
18
|
arbitrum_sepolia_0xd5fedb4cecb0f1d32788a190d9eb47d94d23ee4e: Asset;
|
|
19
19
|
base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf: Asset;
|
|
20
|
+
base_sepolia_0xb391ca6d0a76cd2a927bc314856e8a374a225cfc: Asset;
|
|
21
|
+
bera_testnet_0x1dc94fdcad8aee13cfd34db8a26d26e31572805c: Asset;
|
|
20
22
|
};
|
|
21
23
|
mainnet: {
|
|
22
24
|
bitcoin_primary: Asset;
|