@bouncetech/contracts 1.1.0 → 1.2.1
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.
|
@@ -130,6 +130,10 @@ export declare const leveragedTokenHelperAbi: readonly [{
|
|
|
130
130
|
readonly name: "mintPaused";
|
|
131
131
|
readonly type: "bool";
|
|
132
132
|
readonly internalType: "bool";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "isStandbyMode";
|
|
135
|
+
readonly type: "bool";
|
|
136
|
+
readonly internalType: "bool";
|
|
133
137
|
}];
|
|
134
138
|
}];
|
|
135
139
|
readonly stateMutability: "view";
|
|
@@ -214,6 +218,10 @@ export declare const leveragedTokenHelperAbi: readonly [{
|
|
|
214
218
|
readonly name: "mintPaused";
|
|
215
219
|
readonly type: "bool";
|
|
216
220
|
readonly internalType: "bool";
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "isStandbyMode";
|
|
223
|
+
readonly type: "bool";
|
|
224
|
+
readonly internalType: "bool";
|
|
217
225
|
}];
|
|
218
226
|
}];
|
|
219
227
|
readonly stateMutability: "view";
|
|
@@ -293,6 +301,10 @@ export declare const leveragedTokenHelperAbi: readonly [{
|
|
|
293
301
|
readonly name: "blockTimestamp";
|
|
294
302
|
readonly type: "uint256";
|
|
295
303
|
readonly internalType: "uint256";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "l1BlockNumber";
|
|
306
|
+
readonly type: "uint256";
|
|
307
|
+
readonly internalType: "uint256";
|
|
296
308
|
}, {
|
|
297
309
|
readonly name: "tokens";
|
|
298
310
|
readonly type: "tuple[]";
|
|
@@ -341,4 +353,8 @@ export declare const leveragedTokenHelperAbi: readonly [{
|
|
|
341
353
|
readonly type: "error";
|
|
342
354
|
readonly name: "DivisionByZero";
|
|
343
355
|
readonly inputs: readonly [];
|
|
356
|
+
}, {
|
|
357
|
+
readonly type: "error";
|
|
358
|
+
readonly name: "PrecompileLib__L1BlockNumberPrecompileFailed";
|
|
359
|
+
readonly inputs: readonly [];
|
|
344
360
|
}];
|
|
@@ -171,6 +171,11 @@ exports.leveragedTokenHelperAbi = [
|
|
|
171
171
|
type: "bool",
|
|
172
172
|
internalType: "bool",
|
|
173
173
|
},
|
|
174
|
+
{
|
|
175
|
+
name: "isStandbyMode",
|
|
176
|
+
type: "bool",
|
|
177
|
+
internalType: "bool",
|
|
178
|
+
},
|
|
174
179
|
],
|
|
175
180
|
},
|
|
176
181
|
],
|
|
@@ -279,6 +284,11 @@ exports.leveragedTokenHelperAbi = [
|
|
|
279
284
|
type: "bool",
|
|
280
285
|
internalType: "bool",
|
|
281
286
|
},
|
|
287
|
+
{
|
|
288
|
+
name: "isStandbyMode",
|
|
289
|
+
type: "bool",
|
|
290
|
+
internalType: "bool",
|
|
291
|
+
},
|
|
282
292
|
],
|
|
283
293
|
},
|
|
284
294
|
],
|
|
@@ -381,6 +391,11 @@ exports.leveragedTokenHelperAbi = [
|
|
|
381
391
|
type: "uint256",
|
|
382
392
|
internalType: "uint256",
|
|
383
393
|
},
|
|
394
|
+
{
|
|
395
|
+
name: "l1BlockNumber",
|
|
396
|
+
type: "uint256",
|
|
397
|
+
internalType: "uint256",
|
|
398
|
+
},
|
|
384
399
|
{
|
|
385
400
|
name: "tokens",
|
|
386
401
|
type: "tuple[]",
|
|
@@ -443,4 +458,9 @@ exports.leveragedTokenHelperAbi = [
|
|
|
443
458
|
name: "DivisionByZero",
|
|
444
459
|
inputs: [],
|
|
445
460
|
},
|
|
461
|
+
{
|
|
462
|
+
type: "error",
|
|
463
|
+
name: "PrecompileLib__L1BlockNumberPrecompileFailed",
|
|
464
|
+
inputs: [],
|
|
465
|
+
},
|
|
446
466
|
];
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const FACTORY_ADDRESS = "0xeD8bCDe433EB7c4B69DB1235483bf0Edb726Fc
|
|
|
3
3
|
export declare const GLOBAL_STORAGE_ADDRESS = "0xa07d06383c1863c8A54d427aC890643d76cc03ff";
|
|
4
4
|
export declare const GLOBAL_STORAGE_HELPER_ADDRESS = "0x99836aCBD207d5BCa57E3Fe0448bD1AB0A4BDf5C";
|
|
5
5
|
export declare const HYPERLIQUID_HANDLER_ADDRESS = "0xE57F983f3F317b2feF5585E660ed24980Ba7C3dA";
|
|
6
|
-
export declare const LEVERAGED_TOKEN_HELPER_ADDRESS = "
|
|
6
|
+
export declare const LEVERAGED_TOKEN_HELPER_ADDRESS = "0x16cd3D707E0D32794889A530fEbF6bC4232711e5";
|
|
7
7
|
export declare const LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = "0x20132f1804Df40Acc9b5115F47191016a5258721";
|
|
8
8
|
export declare const REFERRALS_ADDRESS = "0xfD3A6323878Fc991447CcDd4c644ab419afC6f76";
|
|
9
9
|
export declare const USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
|
|
@@ -2458,6 +2458,10 @@ export declare const LEVERAGED_TOKEN_HELPER_ABI: readonly [{
|
|
|
2458
2458
|
readonly name: "mintPaused";
|
|
2459
2459
|
readonly type: "bool";
|
|
2460
2460
|
readonly internalType: "bool";
|
|
2461
|
+
}, {
|
|
2462
|
+
readonly name: "isStandbyMode";
|
|
2463
|
+
readonly type: "bool";
|
|
2464
|
+
readonly internalType: "bool";
|
|
2461
2465
|
}];
|
|
2462
2466
|
}];
|
|
2463
2467
|
readonly stateMutability: "view";
|
|
@@ -2542,6 +2546,10 @@ export declare const LEVERAGED_TOKEN_HELPER_ABI: readonly [{
|
|
|
2542
2546
|
readonly name: "mintPaused";
|
|
2543
2547
|
readonly type: "bool";
|
|
2544
2548
|
readonly internalType: "bool";
|
|
2549
|
+
}, {
|
|
2550
|
+
readonly name: "isStandbyMode";
|
|
2551
|
+
readonly type: "bool";
|
|
2552
|
+
readonly internalType: "bool";
|
|
2545
2553
|
}];
|
|
2546
2554
|
}];
|
|
2547
2555
|
readonly stateMutability: "view";
|
|
@@ -2621,6 +2629,10 @@ export declare const LEVERAGED_TOKEN_HELPER_ABI: readonly [{
|
|
|
2621
2629
|
readonly name: "blockTimestamp";
|
|
2622
2630
|
readonly type: "uint256";
|
|
2623
2631
|
readonly internalType: "uint256";
|
|
2632
|
+
}, {
|
|
2633
|
+
readonly name: "l1BlockNumber";
|
|
2634
|
+
readonly type: "uint256";
|
|
2635
|
+
readonly internalType: "uint256";
|
|
2624
2636
|
}, {
|
|
2625
2637
|
readonly name: "tokens";
|
|
2626
2638
|
readonly type: "tuple[]";
|
|
@@ -2669,6 +2681,10 @@ export declare const LEVERAGED_TOKEN_HELPER_ABI: readonly [{
|
|
|
2669
2681
|
readonly type: "error";
|
|
2670
2682
|
readonly name: "DivisionByZero";
|
|
2671
2683
|
readonly inputs: readonly [];
|
|
2684
|
+
}, {
|
|
2685
|
+
readonly type: "error";
|
|
2686
|
+
readonly name: "PrecompileLib__L1BlockNumberPrecompileFailed";
|
|
2687
|
+
readonly inputs: readonly [];
|
|
2672
2688
|
}];
|
|
2673
2689
|
export declare const REFERRALS_ABI: readonly [{
|
|
2674
2690
|
readonly type: "constructor";
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.FACTORY_ADDRESS = "0xeD8bCDe433EB7c4B69DB1235483bf0Edb726Fc1B";
|
|
|
14
14
|
exports.GLOBAL_STORAGE_ADDRESS = "0xa07d06383c1863c8A54d427aC890643d76cc03ff";
|
|
15
15
|
exports.GLOBAL_STORAGE_HELPER_ADDRESS = "0x99836aCBD207d5BCa57E3Fe0448bD1AB0A4BDf5C";
|
|
16
16
|
exports.HYPERLIQUID_HANDLER_ADDRESS = "0xE57F983f3F317b2feF5585E660ed24980Ba7C3dA";
|
|
17
|
-
exports.LEVERAGED_TOKEN_HELPER_ADDRESS = "
|
|
17
|
+
exports.LEVERAGED_TOKEN_HELPER_ADDRESS = "0x16cd3D707E0D32794889A530fEbF6bC4232711e5";
|
|
18
18
|
exports.LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = "0x20132f1804Df40Acc9b5115F47191016a5258721";
|
|
19
19
|
exports.REFERRALS_ADDRESS = "0xfD3A6323878Fc991447CcDd4c644ab419afC6f76";
|
|
20
20
|
exports.USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
|
package/package.json
CHANGED