@super-protocol/sdk-js 2.2.0-beta.80 → 2.2.0-beta.82
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/cjs/analytics/transports/AxiosTransport.js +1 -1
- package/dist/cjs/contracts/abi.d.ts +48 -76
- package/dist/cjs/contracts/abi.js +6395 -6432
- package/dist/cjs/models/Provider.js +1 -1
- package/dist/cjs/providers/storage/IStorageProvider.d.ts +1 -1
- package/dist/cjs/providers/storage/S3StorageProvider.d.ts +1 -1
- package/dist/cjs/providers/storage/S3StorageProvider.js +47 -21
- package/dist/cjs/staticModels/Orders.js +3 -2
- package/dist/cjs/types/SlotInfo.d.ts +1 -0
- package/dist/cjs/utils/NonceTracker.js +1 -1
- package/dist/cjs/utils/helper.js +3 -1
- package/dist/cjs/utils/helpers/OrderArgsHelper.js +18 -8
- package/dist/mjs/analytics/transports/AxiosTransport.js +1 -1
- package/dist/mjs/contracts/abi.d.ts +48 -76
- package/dist/mjs/contracts/abi.js +6395 -6432
- package/dist/mjs/models/Provider.js +1 -1
- package/dist/mjs/providers/storage/IStorageProvider.d.ts +1 -1
- package/dist/mjs/providers/storage/S3StorageProvider.d.ts +1 -1
- package/dist/mjs/providers/storage/S3StorageProvider.js +47 -21
- package/dist/mjs/staticModels/Orders.js +3 -2
- package/dist/mjs/store.js +2 -2
- package/dist/mjs/types/SlotInfo.d.ts +1 -0
- package/dist/mjs/utils/NonceTracker.js +1 -1
- package/dist/mjs/utils/helper.js +3 -1
- package/dist/mjs/utils/helpers/OrderArgsHelper.js +18 -8
- package/package.json +1 -1
|
@@ -57,4 +57,4 @@ class AxiosTransport {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
exports.default = AxiosTransport;
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXhpb3NUcmFuc3BvcnQuanMi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0FBQyxRQUFRLEVBQUUsSUFBSSxDQUFDLE9BQU8sRUFBRSxFQUFFLE9BQU8sRUFBRSxJQUFJLEVBQUUsQ0FBQyxFQUFFO2lCQUN6RyxDQUFDLENBQUM7WUFDTCxDQUFDO1lBQ0QsTUFBTSxJQUFJLGtDQUFjLENBQUMsRUFBRSxJQUFJLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRyxHQUFhLEVBQUUsT0FBTyxFQUFFLENBQUMsQ0FBQztRQUM3RSxDQUFDO0lBQ0gsQ0FBQztDQUNGO0FBekJELGlDQXlCQyJ9
|
|
@@ -1530,6 +1530,10 @@ export declare const abi: readonly [{
|
|
|
1530
1530
|
readonly internalType: "uint64";
|
|
1531
1531
|
readonly name: "gpuCores";
|
|
1532
1532
|
readonly type: "uint64";
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly internalType: "uint64";
|
|
1535
|
+
readonly name: "vram";
|
|
1536
|
+
readonly type: "uint64";
|
|
1533
1537
|
}];
|
|
1534
1538
|
readonly internalType: "struct SlotInfo";
|
|
1535
1539
|
readonly name: "slotInfo";
|
|
@@ -1732,6 +1736,10 @@ export declare const abi: readonly [{
|
|
|
1732
1736
|
readonly internalType: "uint64";
|
|
1733
1737
|
readonly name: "gpuCores";
|
|
1734
1738
|
readonly type: "uint64";
|
|
1739
|
+
}, {
|
|
1740
|
+
readonly internalType: "uint64";
|
|
1741
|
+
readonly name: "vram";
|
|
1742
|
+
readonly type: "uint64";
|
|
1735
1743
|
}];
|
|
1736
1744
|
readonly internalType: "struct SlotInfo";
|
|
1737
1745
|
readonly name: "newSlotInfo";
|
|
@@ -2287,6 +2295,10 @@ export declare const abi: readonly [{
|
|
|
2287
2295
|
readonly internalType: "uint64";
|
|
2288
2296
|
readonly name: "gpuCores";
|
|
2289
2297
|
readonly type: "uint64";
|
|
2298
|
+
}, {
|
|
2299
|
+
readonly internalType: "uint64";
|
|
2300
|
+
readonly name: "vram";
|
|
2301
|
+
readonly type: "uint64";
|
|
2290
2302
|
}];
|
|
2291
2303
|
readonly internalType: "struct SlotInfo";
|
|
2292
2304
|
readonly name: "";
|
|
@@ -3970,6 +3982,10 @@ export declare const abi: readonly [{
|
|
|
3970
3982
|
readonly internalType: "uint64";
|
|
3971
3983
|
readonly name: "gpuCores";
|
|
3972
3984
|
readonly type: "uint64";
|
|
3985
|
+
}, {
|
|
3986
|
+
readonly internalType: "uint64";
|
|
3987
|
+
readonly name: "vram";
|
|
3988
|
+
readonly type: "uint64";
|
|
3973
3989
|
}];
|
|
3974
3990
|
readonly internalType: "struct SlotInfo";
|
|
3975
3991
|
readonly name: "";
|
|
@@ -5237,6 +5253,10 @@ export declare const abi: readonly [{
|
|
|
5237
5253
|
readonly internalType: "uint64";
|
|
5238
5254
|
readonly name: "gpuCores";
|
|
5239
5255
|
readonly type: "uint64";
|
|
5256
|
+
}, {
|
|
5257
|
+
readonly internalType: "uint64";
|
|
5258
|
+
readonly name: "vram";
|
|
5259
|
+
readonly type: "uint64";
|
|
5240
5260
|
}];
|
|
5241
5261
|
readonly internalType: "struct SlotInfo";
|
|
5242
5262
|
readonly name: "info";
|
|
@@ -5324,6 +5344,10 @@ export declare const abi: readonly [{
|
|
|
5324
5344
|
readonly internalType: "uint64";
|
|
5325
5345
|
readonly name: "gpuCores";
|
|
5326
5346
|
readonly type: "uint64";
|
|
5347
|
+
}, {
|
|
5348
|
+
readonly internalType: "uint64";
|
|
5349
|
+
readonly name: "vram";
|
|
5350
|
+
readonly type: "uint64";
|
|
5327
5351
|
}];
|
|
5328
5352
|
readonly internalType: "struct SlotInfo";
|
|
5329
5353
|
readonly name: "info";
|
|
@@ -5393,6 +5417,10 @@ export declare const abi: readonly [{
|
|
|
5393
5417
|
readonly internalType: "uint64";
|
|
5394
5418
|
readonly name: "gpuCores";
|
|
5395
5419
|
readonly type: "uint64";
|
|
5420
|
+
}, {
|
|
5421
|
+
readonly internalType: "uint64";
|
|
5422
|
+
readonly name: "vram";
|
|
5423
|
+
readonly type: "uint64";
|
|
5396
5424
|
}];
|
|
5397
5425
|
readonly internalType: "struct SlotInfo";
|
|
5398
5426
|
readonly name: "info";
|
|
@@ -5493,6 +5521,10 @@ export declare const abi: readonly [{
|
|
|
5493
5521
|
readonly internalType: "uint64";
|
|
5494
5522
|
readonly name: "gpuCores";
|
|
5495
5523
|
readonly type: "uint64";
|
|
5524
|
+
}, {
|
|
5525
|
+
readonly internalType: "uint64";
|
|
5526
|
+
readonly name: "vram";
|
|
5527
|
+
readonly type: "uint64";
|
|
5496
5528
|
}];
|
|
5497
5529
|
readonly internalType: "struct SlotInfo";
|
|
5498
5530
|
readonly name: "info";
|
|
@@ -5822,6 +5854,10 @@ export declare const abi: readonly [{
|
|
|
5822
5854
|
readonly internalType: "uint64";
|
|
5823
5855
|
readonly name: "gpuCores";
|
|
5824
5856
|
readonly type: "uint64";
|
|
5857
|
+
}, {
|
|
5858
|
+
readonly internalType: "uint64";
|
|
5859
|
+
readonly name: "vram";
|
|
5860
|
+
readonly type: "uint64";
|
|
5825
5861
|
}];
|
|
5826
5862
|
readonly internalType: "struct SlotInfo";
|
|
5827
5863
|
readonly name: "info";
|
|
@@ -5922,6 +5958,10 @@ export declare const abi: readonly [{
|
|
|
5922
5958
|
readonly internalType: "uint64";
|
|
5923
5959
|
readonly name: "gpuCores";
|
|
5924
5960
|
readonly type: "uint64";
|
|
5961
|
+
}, {
|
|
5962
|
+
readonly internalType: "uint64";
|
|
5963
|
+
readonly name: "vram";
|
|
5964
|
+
readonly type: "uint64";
|
|
5925
5965
|
}];
|
|
5926
5966
|
readonly internalType: "struct SlotInfo";
|
|
5927
5967
|
readonly name: "info";
|
|
@@ -6000,6 +6040,10 @@ export declare const abi: readonly [{
|
|
|
6000
6040
|
readonly internalType: "uint64";
|
|
6001
6041
|
readonly name: "gpuCores";
|
|
6002
6042
|
readonly type: "uint64";
|
|
6043
|
+
}, {
|
|
6044
|
+
readonly internalType: "uint64";
|
|
6045
|
+
readonly name: "vram";
|
|
6046
|
+
readonly type: "uint64";
|
|
6003
6047
|
}];
|
|
6004
6048
|
readonly internalType: "struct SlotInfo";
|
|
6005
6049
|
readonly name: "info";
|
|
@@ -6109,6 +6153,10 @@ export declare const abi: readonly [{
|
|
|
6109
6153
|
readonly internalType: "uint64";
|
|
6110
6154
|
readonly name: "gpuCores";
|
|
6111
6155
|
readonly type: "uint64";
|
|
6156
|
+
}, {
|
|
6157
|
+
readonly internalType: "uint64";
|
|
6158
|
+
readonly name: "vram";
|
|
6159
|
+
readonly type: "uint64";
|
|
6112
6160
|
}];
|
|
6113
6161
|
readonly internalType: "struct SlotInfo";
|
|
6114
6162
|
readonly name: "info";
|
|
@@ -7517,82 +7565,6 @@ export declare const abi: readonly [{
|
|
|
7517
7565
|
readonly internalType: "struct OfferResource";
|
|
7518
7566
|
readonly name: "resource";
|
|
7519
7567
|
readonly type: "tuple";
|
|
7520
|
-
}, {
|
|
7521
|
-
readonly internalType: "uint32";
|
|
7522
|
-
readonly name: "n";
|
|
7523
|
-
readonly type: "uint32";
|
|
7524
|
-
}];
|
|
7525
|
-
readonly name: "incrementReplicationFactor";
|
|
7526
|
-
readonly outputs: readonly [];
|
|
7527
|
-
readonly stateMutability: "nonpayable";
|
|
7528
|
-
readonly type: "function";
|
|
7529
|
-
}, {
|
|
7530
|
-
readonly inputs: readonly [{
|
|
7531
|
-
readonly components: readonly [{
|
|
7532
|
-
readonly internalType: "uint256";
|
|
7533
|
-
readonly name: "offerId";
|
|
7534
|
-
readonly type: "uint256";
|
|
7535
|
-
}, {
|
|
7536
|
-
readonly internalType: "uint256";
|
|
7537
|
-
readonly name: "teeOfferIssuerId";
|
|
7538
|
-
readonly type: "uint256";
|
|
7539
|
-
}, {
|
|
7540
|
-
readonly internalType: "uint256";
|
|
7541
|
-
readonly name: "teeOfferKeeperId";
|
|
7542
|
-
readonly type: "uint256";
|
|
7543
|
-
}, {
|
|
7544
|
-
readonly internalType: "uint256";
|
|
7545
|
-
readonly name: "storageOrderId";
|
|
7546
|
-
readonly type: "uint256";
|
|
7547
|
-
}, {
|
|
7548
|
-
readonly internalType: "uint64";
|
|
7549
|
-
readonly name: "offerVersion";
|
|
7550
|
-
readonly type: "uint64";
|
|
7551
|
-
}, {
|
|
7552
|
-
readonly internalType: "uint32";
|
|
7553
|
-
readonly name: "timestamp";
|
|
7554
|
-
readonly type: "uint32";
|
|
7555
|
-
}, {
|
|
7556
|
-
readonly internalType: "uint32";
|
|
7557
|
-
readonly name: "signedTime";
|
|
7558
|
-
readonly type: "uint32";
|
|
7559
|
-
}, {
|
|
7560
|
-
readonly components: readonly [{
|
|
7561
|
-
readonly internalType: "string";
|
|
7562
|
-
readonly name: "der";
|
|
7563
|
-
readonly type: "string";
|
|
7564
|
-
}, {
|
|
7565
|
-
readonly internalType: "bytes32";
|
|
7566
|
-
readonly name: "r";
|
|
7567
|
-
readonly type: "bytes32";
|
|
7568
|
-
}, {
|
|
7569
|
-
readonly internalType: "bytes32";
|
|
7570
|
-
readonly name: "s";
|
|
7571
|
-
readonly type: "bytes32";
|
|
7572
|
-
}, {
|
|
7573
|
-
readonly internalType: "uint8";
|
|
7574
|
-
readonly name: "v";
|
|
7575
|
-
readonly type: "uint8";
|
|
7576
|
-
}];
|
|
7577
|
-
readonly internalType: "struct Signature";
|
|
7578
|
-
readonly name: "signature";
|
|
7579
|
-
readonly type: "tuple";
|
|
7580
|
-
}, {
|
|
7581
|
-
readonly internalType: "string";
|
|
7582
|
-
readonly name: "signedEncryptedData";
|
|
7583
|
-
readonly type: "string";
|
|
7584
|
-
}, {
|
|
7585
|
-
readonly internalType: "enum OfferType";
|
|
7586
|
-
readonly name: "offerType";
|
|
7587
|
-
readonly type: "uint8";
|
|
7588
|
-
}, {
|
|
7589
|
-
readonly internalType: "string";
|
|
7590
|
-
readonly name: "solutionHash";
|
|
7591
|
-
readonly type: "string";
|
|
7592
|
-
}];
|
|
7593
|
-
readonly internalType: "struct OfferResource";
|
|
7594
|
-
readonly name: "resource";
|
|
7595
|
-
readonly type: "tuple";
|
|
7596
7568
|
}];
|
|
7597
7569
|
readonly name: "setOfferResource";
|
|
7598
7570
|
readonly outputs: readonly [];
|