@gardenfi/orderbook 0.2.0-beta.35 → 0.2.0-beta.36
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 +20 -2
- package/dist/src/lib/constants.d.ts +2 -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"},arbitrum_sepolia_0x6e87ef92e68cfd5acb09482957483509756dcec2:{name:"iBTC",decimals:8,symbol:"iBTC",chain:e.Chains.arbitrum_sepolia,logo:"https://garden-finance.imgix.net/token-images/dlcBTCIcon.svg",tokenAddress:"0x8219B871534F29ff7434519287131a875e0D8eCa",atomicSwapAddress:"0x6e87eF92E68CFD5aCb09482957483509756DceC2"},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"},base_sepolia_0x48fad35812c3f47c161c59424f32f5164c9f3876:{name:"iBTC",decimals:8,symbol:"iBTC",chain:e.Chains.base_sepolia,logo:"https://garden-finance.imgix.net/token-images/dlcBTCIcon.svg",tokenAddress:"0xbaFb499B60F9E30fd82A54342cb7695C92F5B527",atomicSwapAddress:"0x48fAd35812C3F47c161C59424f32f5164C9F3876"},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=t;exports.EthereumLocalnet=c;exports.SupportedAssets=n;exports.WBTCArbitrumLocalnetAsset=a;exports.WBTCEthereumLocalnetAsset=s;exports.bitcoinRegtestAsset=i;
|
package/dist/index5.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chains as e } from "./index3.js";
|
|
2
|
-
const
|
|
2
|
+
const t = {
|
|
3
3
|
id: 31338,
|
|
4
4
|
name: "Arbitrum Localnet",
|
|
5
5
|
nativeCurrency: {
|
|
@@ -89,6 +89,15 @@ const s = {
|
|
|
89
89
|
tokenAddress: "0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",
|
|
90
90
|
atomicSwapAddress: "0xD5FeDb4ceCB0F1D32788a190d9EB47D94D23eE4e"
|
|
91
91
|
},
|
|
92
|
+
arbitrum_sepolia_0x6e87ef92e68cfd5acb09482957483509756dcec2: {
|
|
93
|
+
name: "iBTC",
|
|
94
|
+
decimals: 8,
|
|
95
|
+
symbol: "iBTC",
|
|
96
|
+
chain: e.arbitrum_sepolia,
|
|
97
|
+
logo: "https://garden-finance.imgix.net/token-images/dlcBTCIcon.svg",
|
|
98
|
+
tokenAddress: "0x8219B871534F29ff7434519287131a875e0D8eCa",
|
|
99
|
+
atomicSwapAddress: "0x6e87eF92E68CFD5aCb09482957483509756DceC2"
|
|
100
|
+
},
|
|
92
101
|
base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf: {
|
|
93
102
|
name: "Wrapped Bitcoin",
|
|
94
103
|
decimals: 8,
|
|
@@ -107,6 +116,15 @@ const s = {
|
|
|
107
116
|
tokenAddress: "0xD72Fc3e7D52301b3e5f7d4E3366F88d5C8747520",
|
|
108
117
|
atomicSwapAddress: "0xB391CA6D0A76CD2A927bC314856E8a374a225CFc"
|
|
109
118
|
},
|
|
119
|
+
base_sepolia_0x48fad35812c3f47c161c59424f32f5164c9f3876: {
|
|
120
|
+
name: "iBTC",
|
|
121
|
+
decimals: 8,
|
|
122
|
+
symbol: "iBTC",
|
|
123
|
+
chain: e.base_sepolia,
|
|
124
|
+
logo: "https://garden-finance.imgix.net/token-images/dlcBTCIcon.svg",
|
|
125
|
+
tokenAddress: "0xbaFb499B60F9E30fd82A54342cb7695C92F5B527",
|
|
126
|
+
atomicSwapAddress: "0x48fAd35812C3F47c161C59424f32f5164C9F3876"
|
|
127
|
+
},
|
|
110
128
|
bera_testnet_0x1dc94fdcad8aee13cfd34db8a26d26e31572805c: {
|
|
111
129
|
name: "Wrapped Bitcoin",
|
|
112
130
|
decimals: 8,
|
|
@@ -147,7 +165,7 @@ const s = {
|
|
|
147
165
|
}
|
|
148
166
|
};
|
|
149
167
|
export {
|
|
150
|
-
|
|
168
|
+
t as ArbitrumLocalnet,
|
|
151
169
|
i as EthereumLocalnet,
|
|
152
170
|
n as SupportedAssets,
|
|
153
171
|
a as WBTCArbitrumLocalnetAsset,
|
|
@@ -16,8 +16,10 @@ type SupportedAssets = {
|
|
|
16
16
|
ethereum_sepolia_0x3c6a17b8cd92976d1d91e491c93c98cd81998265: Asset;
|
|
17
17
|
arbitrum_sepolia_0x1cd0bbd55fd66b4c5f7dfe434efd009c09e628d1: Asset;
|
|
18
18
|
arbitrum_sepolia_0xd5fedb4cecb0f1d32788a190d9eb47d94d23ee4e: Asset;
|
|
19
|
+
arbitrum_sepolia_0x6e87ef92e68cfd5acb09482957483509756dcec2: Asset;
|
|
19
20
|
base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf: Asset;
|
|
20
21
|
base_sepolia_0xb391ca6d0a76cd2a927bc314856e8a374a225cfc: Asset;
|
|
22
|
+
base_sepolia_0x48fad35812c3f47c161c59424f32f5164c9f3876: Asset;
|
|
21
23
|
bera_testnet_0x1dc94fdcad8aee13cfd34db8a26d26e31572805c: Asset;
|
|
22
24
|
};
|
|
23
25
|
mainnet: {
|