@gardenfi/orderbook 0.2.0-beta.35 → 0.2.0-beta.37

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 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"},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;
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_0xdfe6d9363ee96152d39391009a6723819d9e25eb:{name:"iBTC",decimals:8,symbol:"iBTC",chain:e.Chains.arbitrum_sepolia,logo:"https://garden-finance.imgix.net/token-images/dlcBTCIcon.svg",tokenAddress:"0x685437f025c5f33a94818408c286bc1f023201fc",atomicSwapAddress:"0xdfe6d9363ee96152d39391009a6723819d9e25eb"},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:"Tether USD",decimals:8,symbol:"USDT",chain:e.Chains.base_sepolia,logo:"https://garden-finance.imgix.net/token-images/usdt.svg",tokenAddress:"0xD72Fc3e7D52301b3e5f7d4E3366F88d5C8747520",atomicSwapAddress:"0xB391CA6D0A76CD2A927bC314856E8a374a225CFc"},base_sepolia_0xbcdad29ac77e5bb27fd528ab0045af630259fe4f:{name:"iBTC",decimals:8,symbol:"iBTC",chain:e.Chains.base_sepolia,logo:"https://garden-finance.imgix.net/token-images/dlcBTCIcon.svg",tokenAddress:"0x0b0D554D9573bAe1a7556d220847f45182918B28",atomicSwapAddress:"0xbcdad29ac77e5bb27fd528ab0045af630259fe4f"},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 s = {
2
+ const t = {
3
3
  id: 31338,
4
4
  name: "Arbitrum Localnet",
5
5
  nativeCurrency: {
@@ -13,7 +13,7 @@ const s = {
13
13
  }
14
14
  },
15
15
  testnet: !0
16
- }, i = {
16
+ }, d = {
17
17
  id: 31337,
18
18
  name: "Ethereum Localnet",
19
19
  nativeCurrency: {
@@ -27,7 +27,7 @@ const s = {
27
27
  }
28
28
  },
29
29
  testnet: !0
30
- }, d = {
30
+ }, i = {
31
31
  name: "Bitcoin Regtest",
32
32
  decimals: 8,
33
33
  symbol: "BTC",
@@ -89,6 +89,15 @@ const s = {
89
89
  tokenAddress: "0x13DCec0762EcC5E666c207ab44Dc768e5e33070F",
90
90
  atomicSwapAddress: "0xD5FeDb4ceCB0F1D32788a190d9EB47D94D23eE4e"
91
91
  },
92
+ arbitrum_sepolia_0xdfe6d9363ee96152d39391009a6723819d9e25eb: {
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: "0x685437f025c5f33a94818408c286bc1f023201fc",
99
+ atomicSwapAddress: "0xdfe6d9363ee96152d39391009a6723819d9e25eb"
100
+ },
92
101
  base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf: {
93
102
  name: "Wrapped Bitcoin",
94
103
  decimals: 8,
@@ -99,14 +108,23 @@ const s = {
99
108
  atomicSwapAddress: "0x00ab86f54F436CfE15253845F139955ae0C00bAf"
100
109
  },
101
110
  base_sepolia_0xb391ca6d0a76cd2a927bc314856e8a374a225cfc: {
102
- name: "Wrapped Bitcoin",
111
+ name: "Tether USD",
103
112
  decimals: 8,
104
- symbol: "WBTC",
113
+ symbol: "USDT",
105
114
  chain: e.base_sepolia,
106
- logo: "https://garden-finance.imgix.net/token-images/wbtc.svg",
115
+ logo: "https://garden-finance.imgix.net/token-images/usdt.svg",
107
116
  tokenAddress: "0xD72Fc3e7D52301b3e5f7d4E3366F88d5C8747520",
108
117
  atomicSwapAddress: "0xB391CA6D0A76CD2A927bC314856E8a374a225CFc"
109
118
  },
119
+ base_sepolia_0xbcdad29ac77e5bb27fd528ab0045af630259fe4f: {
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: "0x0b0D554D9573bAe1a7556d220847f45182918B28",
126
+ atomicSwapAddress: "0xbcdad29ac77e5bb27fd528ab0045af630259fe4f"
127
+ },
110
128
  bera_testnet_0x1dc94fdcad8aee13cfd34db8a26d26e31572805c: {
111
129
  name: "Wrapped Bitcoin",
112
130
  decimals: 8,
@@ -147,10 +165,10 @@ const s = {
147
165
  }
148
166
  };
149
167
  export {
150
- s as ArbitrumLocalnet,
151
- i as EthereumLocalnet,
168
+ t as ArbitrumLocalnet,
169
+ d as EthereumLocalnet,
152
170
  n as SupportedAssets,
153
171
  a as WBTCArbitrumLocalnetAsset,
154
172
  c as WBTCEthereumLocalnetAsset,
155
- d as bitcoinRegtestAsset
173
+ i as bitcoinRegtestAsset
156
174
  };
@@ -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_0xdfe6d9363ee96152d39391009a6723819d9e25eb: Asset;
19
20
  base_sepolia_0x00ab86f54f436cfe15253845f139955ae0c00baf: Asset;
20
21
  base_sepolia_0xb391ca6d0a76cd2a927bc314856e8a374a225cfc: Asset;
22
+ base_sepolia_0xbcdad29ac77e5bb27fd528ab0045af630259fe4f: Asset;
21
23
  bera_testnet_0x1dc94fdcad8aee13cfd34db8a26d26e31572805c: Asset;
22
24
  };
23
25
  mainnet: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gardenfi/orderbook",
3
- "version": "0.2.0-beta.35",
3
+ "version": "0.2.0-beta.37",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",