@super-protocol/sdk-js 2.0.6-beta.5 → 2.1.0
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/build/contracts/abi.d.ts +65 -1
- package/build/contracts/abi.js +82 -2
- package/build/models/Offer.js +5 -5
- package/build/models/Order.js +3 -3
- package/build/models/TeeOffer.js +5 -5
- package/build/staticModels/Deposits.js +5 -3
- package/build/staticModels/Orders.js +3 -2
- package/build/staticModels/TeeOffers.d.ts +1 -1
- package/build/staticModels/TeeOffers.js +9 -7
- package/build/types/SlotInfo.d.ts +1 -0
- package/build/utils/helper.d.ts +4 -4
- package/build/utils/helper.js +13 -11
- package/package.json +1 -1
package/build/contracts/abi.d.ts
CHANGED
|
@@ -1236,7 +1236,7 @@ export declare const abi: readonly [{
|
|
|
1236
1236
|
readonly type: "bool";
|
|
1237
1237
|
}];
|
|
1238
1238
|
readonly internalType: "struct Tcb";
|
|
1239
|
-
readonly name: "";
|
|
1239
|
+
readonly name: "response";
|
|
1240
1240
|
readonly type: "tuple";
|
|
1241
1241
|
}];
|
|
1242
1242
|
readonly stateMutability: "view";
|
|
@@ -1967,6 +1967,10 @@ export declare const abi: readonly [{
|
|
|
1967
1967
|
readonly internalType: "uint64";
|
|
1968
1968
|
readonly name: "diskUsage";
|
|
1969
1969
|
readonly type: "uint64";
|
|
1970
|
+
}, {
|
|
1971
|
+
readonly internalType: "uint64";
|
|
1972
|
+
readonly name: "gpuCores";
|
|
1973
|
+
readonly type: "uint64";
|
|
1970
1974
|
}];
|
|
1971
1975
|
readonly internalType: "struct SlotInfo";
|
|
1972
1976
|
readonly name: "slotInfo";
|
|
@@ -2165,6 +2169,10 @@ export declare const abi: readonly [{
|
|
|
2165
2169
|
readonly internalType: "uint64";
|
|
2166
2170
|
readonly name: "diskUsage";
|
|
2167
2171
|
readonly type: "uint64";
|
|
2172
|
+
}, {
|
|
2173
|
+
readonly internalType: "uint64";
|
|
2174
|
+
readonly name: "gpuCores";
|
|
2175
|
+
readonly type: "uint64";
|
|
2168
2176
|
}];
|
|
2169
2177
|
readonly internalType: "struct SlotInfo";
|
|
2170
2178
|
readonly name: "newSlotInfo";
|
|
@@ -2716,6 +2724,10 @@ export declare const abi: readonly [{
|
|
|
2716
2724
|
readonly internalType: "uint64";
|
|
2717
2725
|
readonly name: "diskUsage";
|
|
2718
2726
|
readonly type: "uint64";
|
|
2727
|
+
}, {
|
|
2728
|
+
readonly internalType: "uint64";
|
|
2729
|
+
readonly name: "gpuCores";
|
|
2730
|
+
readonly type: "uint64";
|
|
2719
2731
|
}];
|
|
2720
2732
|
readonly internalType: "struct SlotInfo";
|
|
2721
2733
|
readonly name: "";
|
|
@@ -4336,6 +4348,10 @@ export declare const abi: readonly [{
|
|
|
4336
4348
|
readonly internalType: "uint64";
|
|
4337
4349
|
readonly name: "diskUsage";
|
|
4338
4350
|
readonly type: "uint64";
|
|
4351
|
+
}, {
|
|
4352
|
+
readonly internalType: "uint64";
|
|
4353
|
+
readonly name: "gpuCores";
|
|
4354
|
+
readonly type: "uint64";
|
|
4339
4355
|
}];
|
|
4340
4356
|
readonly internalType: "struct SlotInfo";
|
|
4341
4357
|
readonly name: "";
|
|
@@ -5595,6 +5611,10 @@ export declare const abi: readonly [{
|
|
|
5595
5611
|
readonly internalType: "uint64";
|
|
5596
5612
|
readonly name: "diskUsage";
|
|
5597
5613
|
readonly type: "uint64";
|
|
5614
|
+
}, {
|
|
5615
|
+
readonly internalType: "uint64";
|
|
5616
|
+
readonly name: "gpuCores";
|
|
5617
|
+
readonly type: "uint64";
|
|
5598
5618
|
}];
|
|
5599
5619
|
readonly internalType: "struct SlotInfo";
|
|
5600
5620
|
readonly name: "info";
|
|
@@ -5678,6 +5698,10 @@ export declare const abi: readonly [{
|
|
|
5678
5698
|
readonly internalType: "uint64";
|
|
5679
5699
|
readonly name: "diskUsage";
|
|
5680
5700
|
readonly type: "uint64";
|
|
5701
|
+
}, {
|
|
5702
|
+
readonly internalType: "uint64";
|
|
5703
|
+
readonly name: "gpuCores";
|
|
5704
|
+
readonly type: "uint64";
|
|
5681
5705
|
}];
|
|
5682
5706
|
readonly internalType: "struct SlotInfo";
|
|
5683
5707
|
readonly name: "info";
|
|
@@ -5743,6 +5767,10 @@ export declare const abi: readonly [{
|
|
|
5743
5767
|
readonly internalType: "uint64";
|
|
5744
5768
|
readonly name: "diskUsage";
|
|
5745
5769
|
readonly type: "uint64";
|
|
5770
|
+
}, {
|
|
5771
|
+
readonly internalType: "uint64";
|
|
5772
|
+
readonly name: "gpuCores";
|
|
5773
|
+
readonly type: "uint64";
|
|
5746
5774
|
}];
|
|
5747
5775
|
readonly internalType: "struct SlotInfo";
|
|
5748
5776
|
readonly name: "info";
|
|
@@ -5839,6 +5867,10 @@ export declare const abi: readonly [{
|
|
|
5839
5867
|
readonly internalType: "uint64";
|
|
5840
5868
|
readonly name: "diskUsage";
|
|
5841
5869
|
readonly type: "uint64";
|
|
5870
|
+
}, {
|
|
5871
|
+
readonly internalType: "uint64";
|
|
5872
|
+
readonly name: "gpuCores";
|
|
5873
|
+
readonly type: "uint64";
|
|
5842
5874
|
}];
|
|
5843
5875
|
readonly internalType: "struct SlotInfo";
|
|
5844
5876
|
readonly name: "info";
|
|
@@ -6198,6 +6230,10 @@ export declare const abi: readonly [{
|
|
|
6198
6230
|
readonly internalType: "uint64";
|
|
6199
6231
|
readonly name: "diskUsage";
|
|
6200
6232
|
readonly type: "uint64";
|
|
6233
|
+
}, {
|
|
6234
|
+
readonly internalType: "uint64";
|
|
6235
|
+
readonly name: "gpuCores";
|
|
6236
|
+
readonly type: "uint64";
|
|
6201
6237
|
}];
|
|
6202
6238
|
readonly internalType: "struct SlotInfo";
|
|
6203
6239
|
readonly name: "info";
|
|
@@ -6294,6 +6330,10 @@ export declare const abi: readonly [{
|
|
|
6294
6330
|
readonly internalType: "uint64";
|
|
6295
6331
|
readonly name: "diskUsage";
|
|
6296
6332
|
readonly type: "uint64";
|
|
6333
|
+
}, {
|
|
6334
|
+
readonly internalType: "uint64";
|
|
6335
|
+
readonly name: "gpuCores";
|
|
6336
|
+
readonly type: "uint64";
|
|
6297
6337
|
}];
|
|
6298
6338
|
readonly internalType: "struct SlotInfo";
|
|
6299
6339
|
readonly name: "info";
|
|
@@ -6368,6 +6408,10 @@ export declare const abi: readonly [{
|
|
|
6368
6408
|
readonly internalType: "uint64";
|
|
6369
6409
|
readonly name: "diskUsage";
|
|
6370
6410
|
readonly type: "uint64";
|
|
6411
|
+
}, {
|
|
6412
|
+
readonly internalType: "uint64";
|
|
6413
|
+
readonly name: "gpuCores";
|
|
6414
|
+
readonly type: "uint64";
|
|
6371
6415
|
}];
|
|
6372
6416
|
readonly internalType: "struct SlotInfo";
|
|
6373
6417
|
readonly name: "info";
|
|
@@ -6473,6 +6517,10 @@ export declare const abi: readonly [{
|
|
|
6473
6517
|
readonly internalType: "uint64";
|
|
6474
6518
|
readonly name: "diskUsage";
|
|
6475
6519
|
readonly type: "uint64";
|
|
6520
|
+
}, {
|
|
6521
|
+
readonly internalType: "uint64";
|
|
6522
|
+
readonly name: "gpuCores";
|
|
6523
|
+
readonly type: "uint64";
|
|
6476
6524
|
}];
|
|
6477
6525
|
readonly internalType: "struct SlotInfo";
|
|
6478
6526
|
readonly name: "info";
|
|
@@ -7782,6 +7830,10 @@ export declare const abi: readonly [{
|
|
|
7782
7830
|
readonly internalType: "uint64";
|
|
7783
7831
|
readonly name: "diskUsage";
|
|
7784
7832
|
readonly type: "uint64";
|
|
7833
|
+
}, {
|
|
7834
|
+
readonly internalType: "uint64";
|
|
7835
|
+
readonly name: "gpuCores";
|
|
7836
|
+
readonly type: "uint64";
|
|
7785
7837
|
}];
|
|
7786
7838
|
readonly internalType: "struct SlotInfo";
|
|
7787
7839
|
readonly name: "";
|
|
@@ -8613,6 +8665,10 @@ export declare const abi: readonly [{
|
|
|
8613
8665
|
readonly internalType: "uint64";
|
|
8614
8666
|
readonly name: "diskUsage";
|
|
8615
8667
|
readonly type: "uint64";
|
|
8668
|
+
}, {
|
|
8669
|
+
readonly internalType: "uint64";
|
|
8670
|
+
readonly name: "gpuCores";
|
|
8671
|
+
readonly type: "uint64";
|
|
8616
8672
|
}];
|
|
8617
8673
|
readonly internalType: "struct SlotInfo";
|
|
8618
8674
|
readonly name: "";
|
|
@@ -9083,6 +9139,10 @@ export declare const abi: readonly [{
|
|
|
9083
9139
|
readonly internalType: "uint64";
|
|
9084
9140
|
readonly name: "diskUsage";
|
|
9085
9141
|
readonly type: "uint64";
|
|
9142
|
+
}, {
|
|
9143
|
+
readonly internalType: "uint64";
|
|
9144
|
+
readonly name: "gpuCores";
|
|
9145
|
+
readonly type: "uint64";
|
|
9086
9146
|
}];
|
|
9087
9147
|
readonly internalType: "struct SlotInfo";
|
|
9088
9148
|
readonly name: "info";
|
|
@@ -9144,6 +9204,10 @@ export declare const abi: readonly [{
|
|
|
9144
9204
|
readonly internalType: "uint64";
|
|
9145
9205
|
readonly name: "diskUsage";
|
|
9146
9206
|
readonly type: "uint64";
|
|
9207
|
+
}, {
|
|
9208
|
+
readonly internalType: "uint64";
|
|
9209
|
+
readonly name: "gpuCores";
|
|
9210
|
+
readonly type: "uint64";
|
|
9147
9211
|
}];
|
|
9148
9212
|
readonly internalType: "struct SlotInfo";
|
|
9149
9213
|
readonly name: "info";
|