@bolt-liquidity-hq/sui-client 0.1.0-beta.39 → 0.1.0-beta.41
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/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -4
package/dist/index.cjs
CHANGED
|
@@ -78,7 +78,7 @@ var MainnetContracts = {
|
|
|
78
78
|
oracle: "0xfa3975b98f3d0e3df18ed88ae6e69db31836b3f4212df02fae144b1e5a89ca8e",
|
|
79
79
|
router: " "
|
|
80
80
|
};
|
|
81
|
-
var MainnetPackageId = "
|
|
81
|
+
var MainnetPackageId = "0xf6a6d2492e7b575f3551602652bcd4ff72cc522a42ad5bbfd8c248ed545c4b1b";
|
|
82
82
|
var MainnetPoolGlobalConfigId = "0x7bcd5035a991f42fa84c5a42216b5638cb3f1a8c4f065063093b0a3d5f165d63";
|
|
83
83
|
var MainnetNativeTokenDenom = SUI_TOKEN_DENOM;
|
|
84
84
|
var MainnetAssets = {
|
|
@@ -144,7 +144,7 @@ var TestnetContracts = {
|
|
|
144
144
|
oracle: "0xe8e476fe20a196ca0767c9eb23478a480ede693a8fb10cbcdc65f8b1729e261a",
|
|
145
145
|
router: " "
|
|
146
146
|
};
|
|
147
|
-
var TestnetPackageId = "
|
|
147
|
+
var TestnetPackageId = "0x2611c1198833f94af603ee58ed68688bd396d207e33dc556ebf4db4bbb4862d9";
|
|
148
148
|
var TestnetPoolGlobalConfigId = "0x103589b87a991dd40b42d62c0c2200687a09bb20a234ed307eaececc8fc759b7";
|
|
149
149
|
var TestnetNativeTokenDenom = SUI_TOKEN_DENOM;
|
|
150
150
|
var TestnetAssets = {
|
|
@@ -1130,7 +1130,7 @@ var getPrices = async (client) => {
|
|
|
1130
1130
|
baseDenom: (0, import_utils8.normalizeStructTag)(pairKey.base.name),
|
|
1131
1131
|
quoteDenom: (0, import_utils8.normalizeStructTag)(pairKey.quote.name),
|
|
1132
1132
|
price: (0, import_bignumber3.BigNumber)(fields.price).shiftedBy(-18).toFixed(),
|
|
1133
|
-
expiryTime: fields.expiry
|
|
1133
|
+
expiryTime: (0, import_bignumber3.BigNumber)(fields.expiry).times(1e6).toFixed()
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
@@ -1239,7 +1239,7 @@ var getAllBaseLiquidity = async (client) => {
|
|
|
1239
1239
|
// src/lib/router/get-all-quotes-for-user.ts
|
|
1240
1240
|
var import_core10 = require("@bolt-liquidity-hq/core");
|
|
1241
1241
|
var getAllQuotesForUser = async (_client, _lpAddress) => {
|
|
1242
|
-
throw new import_core10.NotImplementedError("
|
|
1242
|
+
throw new import_core10.NotImplementedError("getAllQuotesForUser on Sui Client");
|
|
1243
1243
|
};
|
|
1244
1244
|
|
|
1245
1245
|
// src/lib/router/get-pool-by-denom.ts
|