@super-protocol/sdk-js 2.1.2 → 2.1.4-beta.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.
- package/build/contracts/abi.d.ts +107 -33
- package/build/contracts/abi.js +131 -34
- package/build/models/Order.js +19 -19
- package/build/staticModels/Offers.js +1 -1
- package/build/staticModels/Orders.js +11 -27
- package/build/types/Order.d.ts +14 -2
- package/build/types/Order.js +45 -2
- package/package.json +1 -1
package/build/contracts/abi.d.ts
CHANGED
|
@@ -3118,15 +3118,15 @@ export declare const abi: readonly [{
|
|
|
3118
3118
|
readonly type: "uint256";
|
|
3119
3119
|
}, {
|
|
3120
3120
|
readonly internalType: "string";
|
|
3121
|
-
readonly name: "
|
|
3121
|
+
readonly name: "fieldsDataBlob";
|
|
3122
3122
|
readonly type: "string";
|
|
3123
3123
|
}, {
|
|
3124
3124
|
readonly internalType: "string";
|
|
3125
|
-
readonly name: "
|
|
3125
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
3126
3126
|
readonly type: "string";
|
|
3127
3127
|
}, {
|
|
3128
3128
|
readonly internalType: "string";
|
|
3129
|
-
readonly name: "
|
|
3129
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
3130
3130
|
readonly type: "string";
|
|
3131
3131
|
}, {
|
|
3132
3132
|
readonly internalType: "enum OrderStatus";
|
|
@@ -3211,15 +3211,15 @@ export declare const abi: readonly [{
|
|
|
3211
3211
|
readonly type: "uint256";
|
|
3212
3212
|
}, {
|
|
3213
3213
|
readonly internalType: "string";
|
|
3214
|
-
readonly name: "
|
|
3214
|
+
readonly name: "fieldsDataBlob";
|
|
3215
3215
|
readonly type: "string";
|
|
3216
3216
|
}, {
|
|
3217
3217
|
readonly internalType: "string";
|
|
3218
|
-
readonly name: "
|
|
3218
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
3219
3219
|
readonly type: "string";
|
|
3220
3220
|
}, {
|
|
3221
3221
|
readonly internalType: "string";
|
|
3222
|
-
readonly name: "
|
|
3222
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
3223
3223
|
readonly type: "string";
|
|
3224
3224
|
}, {
|
|
3225
3225
|
readonly internalType: "enum OrderStatus";
|
|
@@ -3304,15 +3304,15 @@ export declare const abi: readonly [{
|
|
|
3304
3304
|
readonly type: "uint256";
|
|
3305
3305
|
}, {
|
|
3306
3306
|
readonly internalType: "string";
|
|
3307
|
-
readonly name: "
|
|
3307
|
+
readonly name: "fieldsDataBlob";
|
|
3308
3308
|
readonly type: "string";
|
|
3309
3309
|
}, {
|
|
3310
3310
|
readonly internalType: "string";
|
|
3311
|
-
readonly name: "
|
|
3311
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
3312
3312
|
readonly type: "string";
|
|
3313
3313
|
}, {
|
|
3314
3314
|
readonly internalType: "string";
|
|
3315
|
-
readonly name: "
|
|
3315
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
3316
3316
|
readonly type: "string";
|
|
3317
3317
|
}, {
|
|
3318
3318
|
readonly internalType: "enum OrderStatus";
|
|
@@ -3406,15 +3406,15 @@ export declare const abi: readonly [{
|
|
|
3406
3406
|
readonly type: "uint256";
|
|
3407
3407
|
}, {
|
|
3408
3408
|
readonly internalType: "string";
|
|
3409
|
-
readonly name: "
|
|
3409
|
+
readonly name: "fieldsDataBlob";
|
|
3410
3410
|
readonly type: "string";
|
|
3411
3411
|
}, {
|
|
3412
3412
|
readonly internalType: "string";
|
|
3413
|
-
readonly name: "
|
|
3413
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
3414
3414
|
readonly type: "string";
|
|
3415
3415
|
}, {
|
|
3416
3416
|
readonly internalType: "string";
|
|
3417
|
-
readonly name: "
|
|
3417
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
3418
3418
|
readonly type: "string";
|
|
3419
3419
|
}, {
|
|
3420
3420
|
readonly internalType: "enum OrderStatus";
|
|
@@ -4139,15 +4139,15 @@ export declare const abi: readonly [{
|
|
|
4139
4139
|
readonly type: "uint256";
|
|
4140
4140
|
}, {
|
|
4141
4141
|
readonly internalType: "string";
|
|
4142
|
-
readonly name: "
|
|
4142
|
+
readonly name: "fieldsDataBlob";
|
|
4143
4143
|
readonly type: "string";
|
|
4144
4144
|
}, {
|
|
4145
4145
|
readonly internalType: "string";
|
|
4146
|
-
readonly name: "
|
|
4146
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
4147
4147
|
readonly type: "string";
|
|
4148
4148
|
}, {
|
|
4149
4149
|
readonly internalType: "string";
|
|
4150
|
-
readonly name: "
|
|
4150
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
4151
4151
|
readonly type: "string";
|
|
4152
4152
|
}, {
|
|
4153
4153
|
readonly internalType: "enum OrderStatus";
|
|
@@ -6628,15 +6628,15 @@ export declare const abi: readonly [{
|
|
|
6628
6628
|
readonly type: "uint256";
|
|
6629
6629
|
}, {
|
|
6630
6630
|
readonly internalType: "string";
|
|
6631
|
-
readonly name: "
|
|
6631
|
+
readonly name: "fieldsDataBlob";
|
|
6632
6632
|
readonly type: "string";
|
|
6633
6633
|
}, {
|
|
6634
6634
|
readonly internalType: "string";
|
|
6635
|
-
readonly name: "
|
|
6635
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
6636
6636
|
readonly type: "string";
|
|
6637
6637
|
}, {
|
|
6638
6638
|
readonly internalType: "string";
|
|
6639
|
-
readonly name: "
|
|
6639
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
6640
6640
|
readonly type: "string";
|
|
6641
6641
|
}, {
|
|
6642
6642
|
readonly internalType: "enum OrderStatus";
|
|
@@ -6703,15 +6703,15 @@ export declare const abi: readonly [{
|
|
|
6703
6703
|
readonly type: "uint256";
|
|
6704
6704
|
}, {
|
|
6705
6705
|
readonly internalType: "string";
|
|
6706
|
-
readonly name: "
|
|
6706
|
+
readonly name: "fieldsDataBlob";
|
|
6707
6707
|
readonly type: "string";
|
|
6708
6708
|
}, {
|
|
6709
6709
|
readonly internalType: "string";
|
|
6710
|
-
readonly name: "
|
|
6710
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
6711
6711
|
readonly type: "string";
|
|
6712
6712
|
}, {
|
|
6713
6713
|
readonly internalType: "string";
|
|
6714
|
-
readonly name: "
|
|
6714
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
6715
6715
|
readonly type: "string";
|
|
6716
6716
|
}, {
|
|
6717
6717
|
readonly internalType: "enum OrderStatus";
|
|
@@ -8122,15 +8122,15 @@ export declare const abi: readonly [{
|
|
|
8122
8122
|
readonly type: "uint256";
|
|
8123
8123
|
}, {
|
|
8124
8124
|
readonly internalType: "string";
|
|
8125
|
-
readonly name: "
|
|
8125
|
+
readonly name: "fieldsDataBlob";
|
|
8126
8126
|
readonly type: "string";
|
|
8127
8127
|
}, {
|
|
8128
8128
|
readonly internalType: "string";
|
|
8129
|
-
readonly name: "
|
|
8129
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
8130
8130
|
readonly type: "string";
|
|
8131
8131
|
}, {
|
|
8132
8132
|
readonly internalType: "string";
|
|
8133
|
-
readonly name: "
|
|
8133
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
8134
8134
|
readonly type: "string";
|
|
8135
8135
|
}, {
|
|
8136
8136
|
readonly internalType: "enum OrderStatus";
|
|
@@ -8219,15 +8219,15 @@ export declare const abi: readonly [{
|
|
|
8219
8219
|
readonly type: "uint256";
|
|
8220
8220
|
}, {
|
|
8221
8221
|
readonly internalType: "string";
|
|
8222
|
-
readonly name: "
|
|
8222
|
+
readonly name: "fieldsDataBlob";
|
|
8223
8223
|
readonly type: "string";
|
|
8224
8224
|
}, {
|
|
8225
8225
|
readonly internalType: "string";
|
|
8226
|
-
readonly name: "
|
|
8226
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
8227
8227
|
readonly type: "string";
|
|
8228
8228
|
}, {
|
|
8229
8229
|
readonly internalType: "string";
|
|
8230
|
-
readonly name: "
|
|
8230
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
8231
8231
|
readonly type: "string";
|
|
8232
8232
|
}, {
|
|
8233
8233
|
readonly internalType: "enum OrderStatus";
|
|
@@ -8323,15 +8323,15 @@ export declare const abi: readonly [{
|
|
|
8323
8323
|
readonly type: "uint256";
|
|
8324
8324
|
}, {
|
|
8325
8325
|
readonly internalType: "string";
|
|
8326
|
-
readonly name: "
|
|
8326
|
+
readonly name: "fieldsDataBlob";
|
|
8327
8327
|
readonly type: "string";
|
|
8328
8328
|
}, {
|
|
8329
8329
|
readonly internalType: "string";
|
|
8330
|
-
readonly name: "
|
|
8330
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
8331
8331
|
readonly type: "string";
|
|
8332
8332
|
}, {
|
|
8333
8333
|
readonly internalType: "string";
|
|
8334
|
-
readonly name: "
|
|
8334
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
8335
8335
|
readonly type: "string";
|
|
8336
8336
|
}, {
|
|
8337
8337
|
readonly internalType: "enum OrderStatus";
|
|
@@ -8546,15 +8546,15 @@ export declare const abi: readonly [{
|
|
|
8546
8546
|
readonly type: "uint256";
|
|
8547
8547
|
}, {
|
|
8548
8548
|
readonly internalType: "string";
|
|
8549
|
-
readonly name: "
|
|
8549
|
+
readonly name: "fieldsDataBlob";
|
|
8550
8550
|
readonly type: "string";
|
|
8551
8551
|
}, {
|
|
8552
8552
|
readonly internalType: "string";
|
|
8553
|
-
readonly name: "
|
|
8553
|
+
readonly name: "encryptedRequirements_DEPRECATED";
|
|
8554
8554
|
readonly type: "string";
|
|
8555
8555
|
}, {
|
|
8556
8556
|
readonly internalType: "string";
|
|
8557
|
-
readonly name: "
|
|
8557
|
+
readonly name: "encryptedArgs_DEPRECATED";
|
|
8558
8558
|
readonly type: "string";
|
|
8559
8559
|
}, {
|
|
8560
8560
|
readonly internalType: "enum OrderStatus";
|
|
@@ -9608,6 +9608,80 @@ export declare const abi: readonly [{
|
|
|
9608
9608
|
}];
|
|
9609
9609
|
readonly stateMutability: "view";
|
|
9610
9610
|
readonly type: "function";
|
|
9611
|
+
}, {
|
|
9612
|
+
readonly inputs: readonly [{
|
|
9613
|
+
readonly internalType: "uint256";
|
|
9614
|
+
readonly name: "item";
|
|
9615
|
+
readonly type: "uint256";
|
|
9616
|
+
}];
|
|
9617
|
+
readonly name: "add";
|
|
9618
|
+
readonly outputs: readonly [];
|
|
9619
|
+
readonly stateMutability: "nonpayable";
|
|
9620
|
+
readonly type: "function";
|
|
9621
|
+
}, {
|
|
9622
|
+
readonly inputs: readonly [];
|
|
9623
|
+
readonly name: "clear";
|
|
9624
|
+
readonly outputs: readonly [];
|
|
9625
|
+
readonly stateMutability: "nonpayable";
|
|
9626
|
+
readonly type: "function";
|
|
9627
|
+
}, {
|
|
9628
|
+
readonly inputs: readonly [];
|
|
9629
|
+
readonly name: "getAll";
|
|
9630
|
+
readonly outputs: readonly [{
|
|
9631
|
+
readonly internalType: "uint256[]";
|
|
9632
|
+
readonly name: "";
|
|
9633
|
+
readonly type: "uint256[]";
|
|
9634
|
+
}];
|
|
9635
|
+
readonly stateMutability: "view";
|
|
9636
|
+
readonly type: "function";
|
|
9637
|
+
}, {
|
|
9638
|
+
readonly inputs: readonly [{
|
|
9639
|
+
readonly internalType: "uint256";
|
|
9640
|
+
readonly name: "item";
|
|
9641
|
+
readonly type: "uint256";
|
|
9642
|
+
}];
|
|
9643
|
+
readonly name: "getItemIndex";
|
|
9644
|
+
readonly outputs: readonly [{
|
|
9645
|
+
readonly internalType: "uint256";
|
|
9646
|
+
readonly name: "";
|
|
9647
|
+
readonly type: "uint256";
|
|
9648
|
+
}];
|
|
9649
|
+
readonly stateMutability: "view";
|
|
9650
|
+
readonly type: "function";
|
|
9651
|
+
}, {
|
|
9652
|
+
readonly inputs: readonly [];
|
|
9653
|
+
readonly name: "isEmpty";
|
|
9654
|
+
readonly outputs: readonly [{
|
|
9655
|
+
readonly internalType: "bool";
|
|
9656
|
+
readonly name: "";
|
|
9657
|
+
readonly type: "bool";
|
|
9658
|
+
}];
|
|
9659
|
+
readonly stateMutability: "view";
|
|
9660
|
+
readonly type: "function";
|
|
9661
|
+
}, {
|
|
9662
|
+
readonly inputs: readonly [{
|
|
9663
|
+
readonly internalType: "uint256";
|
|
9664
|
+
readonly name: "item";
|
|
9665
|
+
readonly type: "uint256";
|
|
9666
|
+
}];
|
|
9667
|
+
readonly name: "isExists";
|
|
9668
|
+
readonly outputs: readonly [{
|
|
9669
|
+
readonly internalType: "bool";
|
|
9670
|
+
readonly name: "";
|
|
9671
|
+
readonly type: "bool";
|
|
9672
|
+
}];
|
|
9673
|
+
readonly stateMutability: "view";
|
|
9674
|
+
readonly type: "function";
|
|
9675
|
+
}, {
|
|
9676
|
+
readonly inputs: readonly [{
|
|
9677
|
+
readonly internalType: "uint256";
|
|
9678
|
+
readonly name: "item";
|
|
9679
|
+
readonly type: "uint256";
|
|
9680
|
+
}];
|
|
9681
|
+
readonly name: "remove";
|
|
9682
|
+
readonly outputs: readonly [];
|
|
9683
|
+
readonly stateMutability: "nonpayable";
|
|
9684
|
+
readonly type: "function";
|
|
9611
9685
|
}, {
|
|
9612
9686
|
readonly anonymous: false;
|
|
9613
9687
|
readonly inputs: readonly [{
|