@gardenfi/orderbook 0.2.0-beta.22 → 0.2.0-beta.24
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/index5.cjs +1 -1
- package/dist/index5.js +8 -9
- package/dist/src/lib/constants.d.ts +11 -3
- package/package.json +1 -1
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"},
|
|
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"},t={name:"WBTC Arbitrum Localnet",decimals:8,symbol:"WBTC",chain:e.Chains.arbitrum_localnet,atomicSwapAddress:"0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",tokenAddress:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512"},a={name:"WBTC Ethereum Localnet",decimals:8,symbol:"WBTC",chain:e.Chains.ethereum_localnet,atomicSwapAddress:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",tokenAddress:"0x5FbDB2315678afecb367f032d93F642f64180aa3"},n={localnet:{arbitrum_localnet_0xdc64a140aa3e981100a9beca4e685f962f0cf6c9:t,ethereum_localnet_0xe7f1725e7734ce288f8367e1bb143e90bb3f0512:a},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"}}};exports.ArbitrumLocalnet=s;exports.EthereumLocalnet=c;exports.SupportedAssets=n;exports.WBTCArbitrumLocalnetAsset=t;exports.WBTCEthereumLocalnetAsset=a;exports.bitcoinRegtestAsset=i;
|
package/dist/index5.js
CHANGED
|
@@ -50,11 +50,11 @@ const s = {
|
|
|
50
50
|
tokenAddress: "0x5FbDB2315678afecb367f032d93F642f64180aa3"
|
|
51
51
|
}, d = {
|
|
52
52
|
localnet: {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
arbitrum_localnet_0xdc64a140aa3e981100a9beca4e685f962f0cf6c9: a,
|
|
54
|
+
ethereum_localnet_0xe7f1725e7734ce288f8367e1bb143e90bb3f0512: t
|
|
55
55
|
},
|
|
56
56
|
testnet: {
|
|
57
|
-
|
|
57
|
+
bitcoin_testnet_primary: {
|
|
58
58
|
name: "BTC",
|
|
59
59
|
decimals: 8,
|
|
60
60
|
symbol: "BTC",
|
|
@@ -62,7 +62,7 @@ const s = {
|
|
|
62
62
|
tokenAddress: "primary",
|
|
63
63
|
atomicSwapAddress: "primary"
|
|
64
64
|
},
|
|
65
|
-
|
|
65
|
+
ethereum_sepolia_0x3c6a17b8cd92976d1d91e491c93c98cd81998265: {
|
|
66
66
|
name: "Wrapped Bitcoin",
|
|
67
67
|
decimals: 8,
|
|
68
68
|
symbol: "WBTC",
|
|
@@ -71,7 +71,7 @@ const s = {
|
|
|
71
71
|
tokenAddress: "0x4D68da063577F98C55166c7AF6955cF58a97b20A",
|
|
72
72
|
atomicSwapAddress: "0x3C6a17b8cD92976D1D91E491c93c98cd81998265"
|
|
73
73
|
},
|
|
74
|
-
|
|
74
|
+
arbitrum_sepolia_0x1cd0bbd55fd66b4c5f7dfe434efd009c09e628d1: {
|
|
75
75
|
name: "Wrapped Bitcoin",
|
|
76
76
|
decimals: 8,
|
|
77
77
|
symbol: "WBTC",
|
|
@@ -80,7 +80,7 @@ const s = {
|
|
|
80
80
|
tokenAddress: "0x00ab86f54F436CfE15253845F139955ae0C00bAf",
|
|
81
81
|
atomicSwapAddress: "0x1cd0bBd55fD66B4C5F7dfE434eFD009C09e628d1"
|
|
82
82
|
},
|
|
83
|
-
|
|
83
|
+
arbitrum_sepolia_0xd5fedb4cecb0f1d32788a190d9eb47d94d23ee4e: {
|
|
84
84
|
name: "Seed",
|
|
85
85
|
decimals: 18,
|
|
86
86
|
symbol: "SEED",
|
|
@@ -89,7 +89,7 @@ const s = {
|
|
|
89
89
|
tokenAddress: "0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",
|
|
90
90
|
atomicSwapAddress: "0xD5FeDb4ceCB0F1D32788a190d9EB47D94D23eE4e"
|
|
91
91
|
},
|
|
92
|
-
|
|
92
|
+
base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf: {
|
|
93
93
|
name: "Wrapped Bitcoin",
|
|
94
94
|
decimals: 8,
|
|
95
95
|
symbol: "WBTC",
|
|
@@ -98,8 +98,7 @@ const s = {
|
|
|
98
98
|
tokenAddress: "0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",
|
|
99
99
|
atomicSwapAddress: "0x00ab86f54F436CfE15253845F139955ae0C00bAf"
|
|
100
100
|
}
|
|
101
|
-
}
|
|
102
|
-
mainnet: {}
|
|
101
|
+
}
|
|
103
102
|
};
|
|
104
103
|
export {
|
|
105
104
|
s as ArbitrumLocalnet,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chain } from 'viem';
|
|
2
|
-
import { Asset
|
|
2
|
+
import { Asset } from './asset';
|
|
3
3
|
|
|
4
4
|
export declare const ArbitrumLocalnet: Chain;
|
|
5
5
|
export declare const EthereumLocalnet: Chain;
|
|
@@ -7,8 +7,16 @@ export declare const bitcoinRegtestAsset: Asset;
|
|
|
7
7
|
export declare const WBTCArbitrumLocalnetAsset: Asset;
|
|
8
8
|
export declare const WBTCEthereumLocalnetAsset: Asset;
|
|
9
9
|
type SupportedAssets = {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
localnet: {
|
|
11
|
+
arbitrum_localnet_0xdc64a140aa3e981100a9beca4e685f962f0cf6c9: Asset;
|
|
12
|
+
ethereum_localnet_0xe7f1725e7734ce288f8367e1bb143e90bb3f0512: Asset;
|
|
13
|
+
};
|
|
14
|
+
testnet: {
|
|
15
|
+
bitcoin_testnet_primary: Asset;
|
|
16
|
+
ethereum_sepolia_0x3c6a17b8cd92976d1d91e491c93c98cd81998265: Asset;
|
|
17
|
+
arbitrum_sepolia_0x1cd0bbd55fd66b4c5f7dfe434efd009c09e628d1: Asset;
|
|
18
|
+
arbitrum_sepolia_0xd5fedb4cecb0f1d32788a190d9eb47d94d23ee4e: Asset;
|
|
19
|
+
base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf: Asset;
|
|
12
20
|
};
|
|
13
21
|
};
|
|
14
22
|
export declare const SupportedAssets: SupportedAssets;
|