@strkfarm/sdk 1.1.12 → 1.1.14
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.browser.global.js +9 -9
- package/dist/index.browser.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
- package/src/global.ts +1 -1
- package/src/strategies/ekubo-cl-vault.tsx +2 -2
|
@@ -49170,7 +49170,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
49170
49170
|
name: "xLBTC",
|
|
49171
49171
|
symbol: "xLBTC",
|
|
49172
49172
|
logo: "https://assets.strkfarm.com/integrations/tokens/xlbtc.svg",
|
|
49173
|
-
address: ContractAddr.from("
|
|
49173
|
+
address: ContractAddr.from("0x07dd3c80de9fcc5545f0cb83678826819c79619ed7992cc06ff81fc67cd2efe0"),
|
|
49174
49174
|
decimals: 8,
|
|
49175
49175
|
coingeckId: void 0,
|
|
49176
49176
|
displayDecimals: 6,
|
|
@@ -51385,7 +51385,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
51385
51385
|
oid: Uint8Array.from([6, 9, 96, 134, 72, 1, 101, 3, 4, 2, suffix])
|
|
51386
51386
|
});
|
|
51387
51387
|
|
|
51388
|
-
// node_modules
|
|
51388
|
+
// node_modules/@scure/starknet/node_modules/@noble/curves/utils.js
|
|
51389
51389
|
var _0n7 = /* @__PURE__ */ BigInt(0);
|
|
51390
51390
|
var _1n7 = /* @__PURE__ */ BigInt(1);
|
|
51391
51391
|
function abool2(value, title = "") {
|
|
@@ -51531,7 +51531,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
51531
51531
|
};
|
|
51532
51532
|
}
|
|
51533
51533
|
|
|
51534
|
-
// node_modules
|
|
51534
|
+
// node_modules/@scure/starknet/node_modules/@noble/curves/abstract/modular.js
|
|
51535
51535
|
var _0n8 = /* @__PURE__ */ BigInt(0);
|
|
51536
51536
|
var _1n8 = /* @__PURE__ */ BigInt(1);
|
|
51537
51537
|
var _2n6 = /* @__PURE__ */ BigInt(2);
|
|
@@ -51909,7 +51909,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
51909
51909
|
return isLE2 ? numberToBytesLE2(reduced, fieldLen) : numberToBytesBE2(reduced, fieldLen);
|
|
51910
51910
|
}
|
|
51911
51911
|
|
|
51912
|
-
// node_modules
|
|
51912
|
+
// node_modules/@scure/starknet/node_modules/@noble/curves/abstract/poseidon.js
|
|
51913
51913
|
function assertValidPosOpts(opts) {
|
|
51914
51914
|
const { Fp, roundsFull } = opts;
|
|
51915
51915
|
validateField2(Fp);
|
|
@@ -52077,7 +52077,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
52077
52077
|
var hmac2 = (hash2, key, message) => new _HMAC(hash2, key).update(message).digest();
|
|
52078
52078
|
hmac2.create = (hash2, key) => new _HMAC(hash2, key);
|
|
52079
52079
|
|
|
52080
|
-
// node_modules
|
|
52080
|
+
// node_modules/@scure/starknet/node_modules/@noble/curves/abstract/curve.js
|
|
52081
52081
|
var _0n9 = /* @__PURE__ */ BigInt(0);
|
|
52082
52082
|
var _1n9 = /* @__PURE__ */ BigInt(1);
|
|
52083
52083
|
function negateCt(condition, item) {
|
|
@@ -52310,7 +52310,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
52310
52310
|
};
|
|
52311
52311
|
}
|
|
52312
52312
|
|
|
52313
|
-
// node_modules
|
|
52313
|
+
// node_modules/@scure/starknet/node_modules/@noble/curves/abstract/weierstrass.js
|
|
52314
52314
|
var divNearest2 = (num2, den) => (num2 + (num2 >= 0 ? den : -den) / _2n7) / den;
|
|
52315
52315
|
function _splitEndoScalar(k, basis, n) {
|
|
52316
52316
|
const [[a1, b1], [a2, b2]] = basis;
|
|
@@ -53446,7 +53446,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
53446
53446
|
/* @__PURE__ */ oidNist(1)
|
|
53447
53447
|
);
|
|
53448
53448
|
|
|
53449
|
-
// node_modules
|
|
53449
|
+
// node_modules/@scure/starknet/index.js
|
|
53450
53450
|
var CURVE_ORDER2 = BigInt("3618502788666131213697322783095070105526743751716087489154079457884512865583");
|
|
53451
53451
|
var MAX_VALUE2 = BigInt("0x800000000000000000000000000000000000000000000000000000000000000");
|
|
53452
53452
|
var nBitLength2 = 252;
|
|
@@ -68196,9 +68196,9 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68196
68196
|
name: "Ekubo xLBTC/LBTC",
|
|
68197
68197
|
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
68198
68198
|
address: ContractAddr.from(
|
|
68199
|
-
"
|
|
68199
|
+
"0x314c4653ab1aa01f5465773cb879f525d7e369a137bc3ae084761aee99a1712"
|
|
68200
68200
|
),
|
|
68201
|
-
launchBlock:
|
|
68201
|
+
launchBlock: 2412442,
|
|
68202
68202
|
// must be same order as poolKey token0 and token1
|
|
68203
68203
|
depositTokens: [
|
|
68204
68204
|
Global.getDefaultTokens().find((t) => t.symbol === "LBTC"),
|
package/dist/index.browser.mjs
CHANGED
|
@@ -263,7 +263,7 @@ var defaultTokens = [{
|
|
|
263
263
|
name: "xLBTC",
|
|
264
264
|
symbol: "xLBTC",
|
|
265
265
|
logo: "https://assets.strkfarm.com/integrations/tokens/xlbtc.svg",
|
|
266
|
-
address: ContractAddr.from("
|
|
266
|
+
address: ContractAddr.from("0x07dd3c80de9fcc5545f0cb83678826819c79619ed7992cc06ff81fc67cd2efe0"),
|
|
267
267
|
decimals: 8,
|
|
268
268
|
coingeckId: void 0,
|
|
269
269
|
displayDecimals: 6,
|
|
@@ -16618,9 +16618,9 @@ var lstStrategies = [
|
|
|
16618
16618
|
name: "Ekubo xLBTC/LBTC",
|
|
16619
16619
|
description: /* @__PURE__ */ jsx3(Fragment2, {}),
|
|
16620
16620
|
address: ContractAddr.from(
|
|
16621
|
-
"
|
|
16621
|
+
"0x314c4653ab1aa01f5465773cb879f525d7e369a137bc3ae084761aee99a1712"
|
|
16622
16622
|
),
|
|
16623
|
-
launchBlock:
|
|
16623
|
+
launchBlock: 2412442,
|
|
16624
16624
|
// must be same order as poolKey token0 and token1
|
|
16625
16625
|
depositTokens: [
|
|
16626
16626
|
Global.getDefaultTokens().find((t) => t.symbol === "LBTC"),
|
package/dist/index.js
CHANGED
|
@@ -396,7 +396,7 @@ var defaultTokens = [{
|
|
|
396
396
|
name: "xLBTC",
|
|
397
397
|
symbol: "xLBTC",
|
|
398
398
|
logo: "https://assets.strkfarm.com/integrations/tokens/xlbtc.svg",
|
|
399
|
-
address: ContractAddr.from("
|
|
399
|
+
address: ContractAddr.from("0x07dd3c80de9fcc5545f0cb83678826819c79619ed7992cc06ff81fc67cd2efe0"),
|
|
400
400
|
decimals: 8,
|
|
401
401
|
coingeckId: void 0,
|
|
402
402
|
displayDecimals: 6,
|
|
@@ -16705,9 +16705,9 @@ var lstStrategies = [
|
|
|
16705
16705
|
name: "Ekubo xLBTC/LBTC",
|
|
16706
16706
|
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
16707
16707
|
address: ContractAddr.from(
|
|
16708
|
-
"
|
|
16708
|
+
"0x314c4653ab1aa01f5465773cb879f525d7e369a137bc3ae084761aee99a1712"
|
|
16709
16709
|
),
|
|
16710
|
-
launchBlock:
|
|
16710
|
+
launchBlock: 2412442,
|
|
16711
16711
|
// must be same order as poolKey token0 and token1
|
|
16712
16712
|
depositTokens: [
|
|
16713
16713
|
Global.getDefaultTokens().find((t) => t.symbol === "LBTC"),
|
package/dist/index.mjs
CHANGED
|
@@ -304,7 +304,7 @@ var defaultTokens = [{
|
|
|
304
304
|
name: "xLBTC",
|
|
305
305
|
symbol: "xLBTC",
|
|
306
306
|
logo: "https://assets.strkfarm.com/integrations/tokens/xlbtc.svg",
|
|
307
|
-
address: ContractAddr.from("
|
|
307
|
+
address: ContractAddr.from("0x07dd3c80de9fcc5545f0cb83678826819c79619ed7992cc06ff81fc67cd2efe0"),
|
|
308
308
|
decimals: 8,
|
|
309
309
|
coingeckId: void 0,
|
|
310
310
|
displayDecimals: 6,
|
|
@@ -16617,9 +16617,9 @@ var lstStrategies = [
|
|
|
16617
16617
|
name: "Ekubo xLBTC/LBTC",
|
|
16618
16618
|
description: /* @__PURE__ */ jsx3(Fragment2, {}),
|
|
16619
16619
|
address: ContractAddr.from(
|
|
16620
|
-
"
|
|
16620
|
+
"0x314c4653ab1aa01f5465773cb879f525d7e369a137bc3ae084761aee99a1712"
|
|
16621
16621
|
),
|
|
16622
|
-
launchBlock:
|
|
16622
|
+
launchBlock: 2412442,
|
|
16623
16623
|
// must be same order as poolKey token0 and token1
|
|
16624
16624
|
depositTokens: [
|
|
16625
16625
|
Global.getDefaultTokens().find((t) => t.symbol === "LBTC"),
|
package/package.json
CHANGED
package/src/global.ts
CHANGED
|
@@ -131,7 +131,7 @@ const defaultTokens: TokenInfo[] = [{
|
|
|
131
131
|
name: 'xLBTC',
|
|
132
132
|
symbol: 'xLBTC',
|
|
133
133
|
logo: 'https://assets.strkfarm.com/integrations/tokens/xlbtc.svg',
|
|
134
|
-
address: ContractAddr.from('
|
|
134
|
+
address: ContractAddr.from('0x07dd3c80de9fcc5545f0cb83678826819c79619ed7992cc06ff81fc67cd2efe0'),
|
|
135
135
|
decimals: 8,
|
|
136
136
|
coingeckId: undefined,
|
|
137
137
|
displayDecimals: 6,
|
|
@@ -1814,9 +1814,9 @@ const lstStrategies: IStrategyMetadata<CLVaultStrategySettings>[] = [
|
|
|
1814
1814
|
name: "Ekubo xLBTC/LBTC",
|
|
1815
1815
|
description: <></>,
|
|
1816
1816
|
address: ContractAddr.from(
|
|
1817
|
-
"
|
|
1817
|
+
"0x314c4653ab1aa01f5465773cb879f525d7e369a137bc3ae084761aee99a1712"
|
|
1818
1818
|
),
|
|
1819
|
-
launchBlock:
|
|
1819
|
+
launchBlock: 2412442,
|
|
1820
1820
|
// must be same order as poolKey token0 and token1
|
|
1821
1821
|
depositTokens: [
|
|
1822
1822
|
Global.getDefaultTokens().find((t) => t.symbol === "LBTC")!,
|