@super-protocol/sdk-js 2.2.0-beta.53 → 2.2.0-beta.55

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.
@@ -17,11 +17,11 @@ exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = 3000;
17
17
  exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = 10000;
18
18
  exports.POLYGON_MAIN_CHAIN_ID = 137;
19
19
  exports.POLYGON_AMOY_CHAIN_ID = 80002;
20
- exports.AMOY_TX_COST_LIMIT = BigInt('5000000000000000000');
20
+ exports.AMOY_TX_COST_LIMIT = BigInt('500000000000000000');
21
21
  exports.AMOY_TX_GAS_LIMIT = BigInt('5000000');
22
22
  exports.ZERO_HASH = {
23
23
  hash: '0000000000000000000000000000000000000000000000000000000000000000',
24
24
  algo: dto_js_1.HashAlgorithm.SHA256,
25
25
  encoding: dto_js_1.Encoding.base64,
26
26
  };
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtREFBdUU7QUFFMUQsUUFBQSxvQkFBb0IsR0FBRyx1QkFBdUIsQ0FBQztBQUMvQyxRQUFBLGVBQWUsR0FBRyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDbEMsUUFBQSxlQUFlLEdBQUcsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0FBQ3JDLFFBQUEseUJBQXlCLEdBQUcsQ0FBQyxDQUFDO0FBQzlCLFFBQUEseUJBQXlCLEdBQUcsR0FBRyxDQUFDO0FBQ2hDLFFBQUEsYUFBYSxHQUFHLEVBQUUsQ0FBQztBQUNuQixRQUFBLFlBQVksR0FBRyxFQUFFLENBQUM7QUFDbEIsUUFBQSx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QUcsQ0FBQyxDQUFDO0FBQzlCLFFBQUEseUJBQXlCLEdBQUcsR0FBRyxDQUFDO0FBQ2hDLFFBQUEsYUFBYSxHQUFHLEVBQUUsQ0FBQztBQUNuQixRQUFBLFlBQVksR0FBRyxFQUFFLENBQUM7QUFDbEIsUUFBQSxPQUFPLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLENBQUM7QUFDdkIsUUFBQSwrQkFBK0IsR0FBRyxHQUFHLENBQUM7QUFDdEMsUUFBQSx3QkFBd0IsR0FBRyw0Q0FBNEMsQ0FBQztBQUN4RSxRQUFBLDhCQUE4QixHQUFHLEVBQUUsQ0FBQztBQUNwQyxRQUFBLDhCQUE4QixHQUFHLElBQUksQ0FBQztBQUN0QyxRQUFBLGdDQUFnQyxHQUFHLEtBQUssQ0FBQztBQUN6QyxRQUFBLHFCQUFxQixHQUFHLEdBQUcsQ0FBQztBQUM1QixRQUFBLHFCQUFxQixHQUFHLEtBQUssQ0FBQztBQUM5QixRQUFBLGtCQUFrQixHQUFHLE1BQU0sQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDO0FBQ2xELFFBQUEsaUJBQWlCLEdBQUcsTUFBTSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0FBQ3RDLFFBQUEsU0FBUyxHQUFTO0lBQzdCLElBQUksRUFBRSxrRUFBa0U7SUFDeEUsSUFBSSxFQUFFLHNCQUFhLENBQUMsTUFBTTtJQUMxQixRQUFRLEVBQUUsaUJBQVEsQ0FBQyxNQUFNO0NBQzFCLENBQUMifQ==
@@ -3149,6 +3149,24 @@ export declare const abi: readonly [{
3149
3149
  }];
3150
3150
  readonly name: "OrderProfitUnlocked";
3151
3151
  readonly type: "event";
3152
+ }, {
3153
+ readonly inputs: readonly [{
3154
+ readonly internalType: "uint256";
3155
+ readonly name: "orderId";
3156
+ readonly type: "uint256";
3157
+ }, {
3158
+ readonly internalType: "uint256";
3159
+ readonly name: "amount";
3160
+ readonly type: "uint256";
3161
+ }];
3162
+ readonly name: "debitOrderDepositByApp";
3163
+ readonly outputs: readonly [{
3164
+ readonly internalType: "uint256";
3165
+ readonly name: "";
3166
+ readonly type: "uint256";
3167
+ }];
3168
+ readonly stateMutability: "nonpayable";
3169
+ readonly type: "function";
3152
3170
  }, {
3153
3171
  readonly inputs: readonly [{
3154
3172
  readonly internalType: "uint256";
@@ -3784,6 +3802,20 @@ export declare const abi: readonly [{
3784
3802
  }];
3785
3803
  readonly stateMutability: "view";
3786
3804
  readonly type: "function";
3805
+ }, {
3806
+ readonly inputs: readonly [{
3807
+ readonly internalType: "uint256";
3808
+ readonly name: "orderId";
3809
+ readonly type: "uint256";
3810
+ }];
3811
+ readonly name: "getOrderConsumer";
3812
+ readonly outputs: readonly [{
3813
+ readonly internalType: "address";
3814
+ readonly name: "";
3815
+ readonly type: "address";
3816
+ }];
3817
+ readonly stateMutability: "view";
3818
+ readonly type: "function";
3787
3819
  }, {
3788
3820
  readonly inputs: readonly [{
3789
3821
  readonly internalType: "uint256";
@@ -7047,6 +7079,10 @@ export declare const abi: readonly [{
7047
7079
  readonly internalType: "string";
7048
7080
  readonly name: "solutionHash";
7049
7081
  readonly type: "string";
7082
+ }, {
7083
+ readonly internalType: "bool";
7084
+ readonly name: "previousDataCopied";
7085
+ readonly type: "bool";
7050
7086
  }];
7051
7087
  readonly internalType: "struct OfferResource";
7052
7088
  readonly name: "";
@@ -7123,6 +7159,10 @@ export declare const abi: readonly [{
7123
7159
  readonly internalType: "string";
7124
7160
  readonly name: "solutionHash";
7125
7161
  readonly type: "string";
7162
+ }, {
7163
+ readonly internalType: "bool";
7164
+ readonly name: "previousDataCopied";
7165
+ readonly type: "bool";
7126
7166
  }];
7127
7167
  readonly internalType: "struct OfferResource[]";
7128
7168
  readonly name: "";
@@ -7199,6 +7239,10 @@ export declare const abi: readonly [{
7199
7239
  readonly internalType: "string";
7200
7240
  readonly name: "solutionHash";
7201
7241
  readonly type: "string";
7242
+ }, {
7243
+ readonly internalType: "bool";
7244
+ readonly name: "previousDataCopied";
7245
+ readonly type: "bool";
7202
7246
  }];
7203
7247
  readonly internalType: "struct OfferResource[]";
7204
7248
  readonly name: "";
@@ -7279,6 +7323,10 @@ export declare const abi: readonly [{
7279
7323
  readonly internalType: "string";
7280
7324
  readonly name: "solutionHash";
7281
7325
  readonly type: "string";
7326
+ }, {
7327
+ readonly internalType: "bool";
7328
+ readonly name: "previousDataCopied";
7329
+ readonly type: "bool";
7282
7330
  }];
7283
7331
  readonly internalType: "struct OfferResource[]";
7284
7332
  readonly name: "";
@@ -7381,6 +7429,90 @@ export declare const abi: readonly [{
7381
7429
  readonly internalType: "string";
7382
7430
  readonly name: "solutionHash";
7383
7431
  readonly type: "string";
7432
+ }, {
7433
+ readonly internalType: "bool";
7434
+ readonly name: "previousDataCopied";
7435
+ readonly type: "bool";
7436
+ }];
7437
+ readonly internalType: "struct OfferResource";
7438
+ readonly name: "resource";
7439
+ readonly type: "tuple";
7440
+ }, {
7441
+ readonly internalType: "uint32";
7442
+ readonly name: "n";
7443
+ readonly type: "uint32";
7444
+ }];
7445
+ readonly name: "incrementReplicationFactor";
7446
+ readonly outputs: readonly [];
7447
+ readonly stateMutability: "nonpayable";
7448
+ readonly type: "function";
7449
+ }, {
7450
+ readonly inputs: readonly [{
7451
+ readonly components: readonly [{
7452
+ readonly internalType: "uint256";
7453
+ readonly name: "offerId";
7454
+ readonly type: "uint256";
7455
+ }, {
7456
+ readonly internalType: "uint256";
7457
+ readonly name: "teeOfferIssuerId";
7458
+ readonly type: "uint256";
7459
+ }, {
7460
+ readonly internalType: "uint256";
7461
+ readonly name: "teeOfferKeeperId";
7462
+ readonly type: "uint256";
7463
+ }, {
7464
+ readonly internalType: "uint256";
7465
+ readonly name: "storageOrderId";
7466
+ readonly type: "uint256";
7467
+ }, {
7468
+ readonly internalType: "uint64";
7469
+ readonly name: "offerVersion";
7470
+ readonly type: "uint64";
7471
+ }, {
7472
+ readonly internalType: "uint32";
7473
+ readonly name: "timestamp";
7474
+ readonly type: "uint32";
7475
+ }, {
7476
+ readonly internalType: "uint32";
7477
+ readonly name: "signedTime";
7478
+ readonly type: "uint32";
7479
+ }, {
7480
+ readonly components: readonly [{
7481
+ readonly internalType: "string";
7482
+ readonly name: "der";
7483
+ readonly type: "string";
7484
+ }, {
7485
+ readonly internalType: "bytes32";
7486
+ readonly name: "r";
7487
+ readonly type: "bytes32";
7488
+ }, {
7489
+ readonly internalType: "bytes32";
7490
+ readonly name: "s";
7491
+ readonly type: "bytes32";
7492
+ }, {
7493
+ readonly internalType: "uint8";
7494
+ readonly name: "v";
7495
+ readonly type: "uint8";
7496
+ }];
7497
+ readonly internalType: "struct Signature";
7498
+ readonly name: "signature";
7499
+ readonly type: "tuple";
7500
+ }, {
7501
+ readonly internalType: "string";
7502
+ readonly name: "signedEncryptedData";
7503
+ readonly type: "string";
7504
+ }, {
7505
+ readonly internalType: "enum OfferType";
7506
+ readonly name: "offerType";
7507
+ readonly type: "uint8";
7508
+ }, {
7509
+ readonly internalType: "string";
7510
+ readonly name: "solutionHash";
7511
+ readonly type: "string";
7512
+ }, {
7513
+ readonly internalType: "bool";
7514
+ readonly name: "previousDataCopied";
7515
+ readonly type: "bool";
7384
7516
  }];
7385
7517
  readonly internalType: "struct OfferResource";
7386
7518
  readonly name: "resource";
@@ -7579,6 +7711,10 @@ export declare const abi: readonly [{
7579
7711
  readonly internalType: "uint32";
7580
7712
  readonly name: "timestamp";
7581
7713
  readonly type: "uint32";
7714
+ }, {
7715
+ readonly internalType: "bool";
7716
+ readonly name: "copyPreviousData";
7717
+ readonly type: "bool";
7582
7718
  }];
7583
7719
  readonly internalType: "struct OfferStorageRequest[]";
7584
7720
  readonly name: "";
@@ -7634,6 +7770,10 @@ export declare const abi: readonly [{
7634
7770
  readonly internalType: "uint32";
7635
7771
  readonly name: "timestamp";
7636
7772
  readonly type: "uint32";
7773
+ }, {
7774
+ readonly internalType: "bool";
7775
+ readonly name: "copyPreviousData";
7776
+ readonly type: "bool";
7637
7777
  }];
7638
7778
  readonly internalType: "struct OfferStorageRequest";
7639
7779
  readonly name: "";
@@ -7679,6 +7819,10 @@ export declare const abi: readonly [{
7679
7819
  readonly internalType: "uint32";
7680
7820
  readonly name: "timestamp";
7681
7821
  readonly type: "uint32";
7822
+ }, {
7823
+ readonly internalType: "bool";
7824
+ readonly name: "copyPreviousData";
7825
+ readonly type: "bool";
7682
7826
  }];
7683
7827
  readonly internalType: "struct OfferStorageRequest";
7684
7828
  readonly name: "request";