@gardenfi/orderbook 0.2.0-beta.26 → 0.2.0-beta.27
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 +14 -5
- package/dist/src/lib/constants.d.ts +1 -0
- 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"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index3.cjs"),t={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"},s={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:s},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"}},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=t;exports.EthereumLocalnet=c;exports.SupportedAssets=n;exports.WBTCArbitrumLocalnetAsset=a;exports.WBTCEthereumLocalnetAsset=s;exports.bitcoinRegtestAsset=i;
|
package/dist/index5.js
CHANGED
|
@@ -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
|
+
}, d = {
|
|
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,15 @@ 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"
|
|
100
109
|
}
|
|
101
110
|
},
|
|
102
111
|
mainnet: {
|
|
@@ -131,8 +140,8 @@ const s = {
|
|
|
131
140
|
export {
|
|
132
141
|
s as ArbitrumLocalnet,
|
|
133
142
|
i as EthereumLocalnet,
|
|
134
|
-
|
|
143
|
+
d as SupportedAssets,
|
|
135
144
|
a as WBTCArbitrumLocalnetAsset,
|
|
136
|
-
|
|
145
|
+
c as WBTCEthereumLocalnetAsset,
|
|
137
146
|
n as bitcoinRegtestAsset
|
|
138
147
|
};
|
|
@@ -17,6 +17,7 @@ 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;
|
|
20
21
|
};
|
|
21
22
|
mainnet: {
|
|
22
23
|
bitcoin_primary: Asset;
|