@super-protocol/sdk-js 2.2.0-beta.4 → 2.2.0-beta.41

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.
Files changed (63) hide show
  1. package/dist/cjs/constants.d.ts +1 -0
  2. package/dist/cjs/constants.js +3 -2
  3. package/dist/cjs/contracts/abi.d.ts +135 -26
  4. package/dist/cjs/contracts/abi.js +172 -33
  5. package/dist/cjs/crypto/index.d.ts +1 -0
  6. package/dist/cjs/crypto/index.js +16 -1
  7. package/dist/cjs/index.d.ts +1 -0
  8. package/dist/cjs/index.js +2 -1
  9. package/dist/cjs/models/TCB.js +2 -2
  10. package/dist/cjs/models/TeeOffer.d.ts +3 -3
  11. package/dist/cjs/models/TeeOffer.js +15 -12
  12. package/dist/cjs/staticModels/LoaderSecretsPublicKeys.d.ts +1 -1
  13. package/dist/cjs/staticModels/LoaderSecretsPublicKeys.js +9 -5
  14. package/dist/cjs/staticModels/LoaderSessions.d.ts +3 -3
  15. package/dist/cjs/staticModels/LoaderSessions.js +11 -7
  16. package/dist/cjs/staticModels/OfferResources.d.ts +2 -2
  17. package/dist/cjs/staticModels/OfferResources.js +20 -10
  18. package/dist/cjs/staticModels/OffersStorageAllocated.d.ts +2 -3
  19. package/dist/cjs/staticModels/OffersStorageAllocated.js +15 -11
  20. package/dist/cjs/staticModels/OffersStorageRequests.d.ts +1 -1
  21. package/dist/cjs/staticModels/OffersStorageRequests.js +10 -5
  22. package/dist/cjs/staticModels/SecretRequests.d.ts +1 -1
  23. package/dist/cjs/staticModels/SecretRequests.js +14 -7
  24. package/dist/cjs/staticModels/TeeOffers.js +2 -2
  25. package/dist/cjs/types/DistributedSecretStorage.d.ts +5 -0
  26. package/dist/cjs/types/Superpro.d.ts +2 -1
  27. package/dist/cjs/types/Superpro.js +2 -1
  28. package/dist/cjs/utils/CryptoKeysTransformer.d.ts +11 -4
  29. package/dist/cjs/utils/CryptoKeysTransformer.js +87 -14
  30. package/dist/cjs/utils/helper.d.ts +7 -1
  31. package/dist/cjs/utils/helper.js +85 -2
  32. package/dist/mjs/constants.d.ts +1 -0
  33. package/dist/mjs/constants.js +2 -1
  34. package/dist/mjs/contracts/abi.d.ts +135 -26
  35. package/dist/mjs/contracts/abi.js +172 -33
  36. package/dist/mjs/crypto/index.d.ts +1 -0
  37. package/dist/mjs/crypto/index.js +2 -1
  38. package/dist/mjs/index.d.ts +1 -0
  39. package/dist/mjs/index.js +2 -1
  40. package/dist/mjs/models/TCB.js +2 -2
  41. package/dist/mjs/models/TeeOffer.d.ts +3 -3
  42. package/dist/mjs/models/TeeOffer.js +16 -13
  43. package/dist/mjs/staticModels/LoaderSecretsPublicKeys.d.ts +1 -1
  44. package/dist/mjs/staticModels/LoaderSecretsPublicKeys.js +10 -6
  45. package/dist/mjs/staticModels/LoaderSessions.d.ts +3 -3
  46. package/dist/mjs/staticModels/LoaderSessions.js +12 -8
  47. package/dist/mjs/staticModels/OfferResources.d.ts +2 -2
  48. package/dist/mjs/staticModels/OfferResources.js +21 -11
  49. package/dist/mjs/staticModels/OffersStorageAllocated.d.ts +2 -3
  50. package/dist/mjs/staticModels/OffersStorageAllocated.js +16 -12
  51. package/dist/mjs/staticModels/OffersStorageRequests.d.ts +1 -1
  52. package/dist/mjs/staticModels/OffersStorageRequests.js +11 -6
  53. package/dist/mjs/staticModels/SecretRequests.d.ts +1 -1
  54. package/dist/mjs/staticModels/SecretRequests.js +15 -8
  55. package/dist/mjs/staticModels/TeeOffers.js +2 -2
  56. package/dist/mjs/types/DistributedSecretStorage.d.ts +5 -0
  57. package/dist/mjs/types/Superpro.d.ts +2 -1
  58. package/dist/mjs/types/Superpro.js +2 -1
  59. package/dist/mjs/utils/CryptoKeysTransformer.d.ts +11 -4
  60. package/dist/mjs/utils/CryptoKeysTransformer.js +87 -14
  61. package/dist/mjs/utils/helper.d.ts +7 -1
  62. package/dist/mjs/utils/helper.js +78 -1
  63. package/package.json +1 -1
@@ -15,6 +15,7 @@ export declare const BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = 10000;
15
15
  export declare const POLYGON_MAIN_CHAIN_ID = 137;
16
16
  export declare const POLYGON_AMOY_CHAIN_ID = 80002;
17
17
  export declare const AMOY_TX_COST_LIMIT: bigint;
18
+ export declare const AMOY_TX_GAS_LIMIT: bigint;
18
19
  export declare const ZERO_HASH: Hash;
19
20
  export declare const HOUR_IN_MS: number;
20
21
  export declare const INACTIVE_TEE_OFFER_PERIOD_IN_HOURS: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TEE_OFFER_SELECT_FRESH_SIZE = exports.INACTIVE_TCB_PERIOD = exports.INACTIVE_TEE_OFFER_PERIOD_IN_HOURS = exports.HOUR_IN_MS = exports.ZERO_HASH = exports.AMOY_TX_COST_LIMIT = exports.POLYGON_AMOY_CHAIN_ID = exports.POLYGON_MAIN_CHAIN_ID = exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = exports.POLYGON_MATIC_EVENT_PATH = exports.BLOCK_SIZE_TO_FETCH_TRANSACTION = exports.ONE_DAY = exports.txIntervalMs = exports.txConcurrency = exports.defaultGasLimitMultiplier = exports.defaultGasPriceMultiplier = exports.defaultGasPrice = exports.defaultGasLimit = exports.defaultBlockchainUrl = void 0;
3
+ exports.TEE_OFFER_SELECT_FRESH_SIZE = exports.INACTIVE_TCB_PERIOD = exports.INACTIVE_TEE_OFFER_PERIOD_IN_HOURS = exports.HOUR_IN_MS = exports.ZERO_HASH = exports.AMOY_TX_GAS_LIMIT = exports.AMOY_TX_COST_LIMIT = exports.POLYGON_AMOY_CHAIN_ID = exports.POLYGON_MAIN_CHAIN_ID = exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = exports.POLYGON_MATIC_EVENT_PATH = exports.BLOCK_SIZE_TO_FETCH_TRANSACTION = exports.ONE_DAY = exports.txIntervalMs = exports.txConcurrency = exports.defaultGasLimitMultiplier = exports.defaultGasPriceMultiplier = exports.defaultGasPrice = exports.defaultGasLimit = exports.defaultBlockchainUrl = void 0;
4
4
  const dto_js_1 = require("@super-protocol/dto-js");
5
5
  exports.defaultBlockchainUrl = 'http://127.0.0.1:8545';
6
6
  exports.defaultGasLimit = BigInt(7000000);
@@ -18,6 +18,7 @@ exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = 10000;
18
18
  exports.POLYGON_MAIN_CHAIN_ID = 137;
19
19
  exports.POLYGON_AMOY_CHAIN_ID = 80002;
20
20
  exports.AMOY_TX_COST_LIMIT = BigInt('5000000000000000000');
21
+ exports.AMOY_TX_GAS_LIMIT = BigInt('5000000');
21
22
  exports.ZERO_HASH = {
22
23
  hash: '0000000000000000000000000000000000000000000000000000000000000000',
23
24
  algo: dto_js_1.HashAlgorithm.SHA256,
@@ -27,4 +28,4 @@ exports.HOUR_IN_MS = 60 * 60 * 1000;
27
28
  exports.INACTIVE_TEE_OFFER_PERIOD_IN_HOURS = Number(process.env.INACTIVE_PERIOD_TEE_OFFER_IN_HOURS ?? 25);
28
29
  exports.INACTIVE_TCB_PERIOD = exports.INACTIVE_TEE_OFFER_PERIOD_IN_HOURS * exports.HOUR_IN_MS;
29
30
  exports.TEE_OFFER_SELECT_FRESH_SIZE = Number(process.env.TEE_OFFER_SELECT_FRESH_SIZE ?? 100);
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtREFBdUU7QUFFMUQsUUFBQSxvQkFBb0IsR0FBRyx1QkF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QUFBLHFCQUFxQixHQUFHLEdBQUcsQ0FBQztBQUM1QixRQUFBLHFCQUFxQixHQUFHLEtBQUssQ0FBQztBQUM5QixRQUFBLGtCQUFrQixHQUFHLE1BQU0sQ0FBQyxxQkFBcUIsQ0FBQyxDQUFDO0FBQ25ELFFBQUEsaUJBQWlCLEdBQUcsTUFBTSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0FBQ3RDLFFBQUEsU0FBUyxHQUFTO0lBQzdCLElBQUksRUFBRSxrRUFBa0U7SUFDeEUsSUFBSSxFQUFFLHNCQUFhLENBQUMsTUFBTTtJQUMxQixRQUFRLEVBQUUsaUJBQVEsQ0FBQyxNQUFNO0NBQzFCLENBQUM7QUFDVyxRQUFBLFVBQVUsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLElBQUksQ0FBQztBQUM1QixRQUFBLGtDQUFrQyxHQUFHLE1BQU0sQ0FDdEQsT0FBTyxDQUFDLEdBQUcsQ0FBQyxrQ0FBa0MsSUFBSSxFQUFFLENBQ3JELENBQUM7QUFDVyxRQUFBLG1CQUFtQixHQUFHLDBDQUFrQyxHQUFHLGtCQUFVLENBQUM7QUFDdEUsUUFBQSwyQkFBMkIsR0FBRyxNQUFNLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQywyQkFBMkIsSUFBSSxHQUFHLENBQUMsQ0FBQyJ9
@@ -873,6 +873,10 @@ export declare const abi: readonly [{
873
873
  readonly internalType: "uint256";
874
874
  readonly name: "teeOfferId";
875
875
  readonly type: "uint256";
876
+ }, {
877
+ readonly internalType: "bytes32";
878
+ readonly name: "newDeviceId";
879
+ readonly type: "bytes32";
876
880
  }];
877
881
  readonly name: "initializeTcb";
878
882
  readonly outputs: readonly [];
@@ -897,6 +901,10 @@ export declare const abi: readonly [{
897
901
  readonly internalType: "uint256";
898
902
  readonly name: "teeOfferId";
899
903
  readonly type: "uint256";
904
+ }, {
905
+ readonly internalType: "bytes32";
906
+ readonly name: "deviceId";
907
+ readonly type: "bytes32";
900
908
  }];
901
909
  readonly name: "isTcbCreationAvailable";
902
910
  readonly outputs: readonly [{
@@ -5557,7 +5565,7 @@ export declare const abi: readonly [{
5557
5565
  readonly name: "teeOfferId";
5558
5566
  readonly type: "uint256";
5559
5567
  }];
5560
- readonly name: "confisacateAllRewards";
5568
+ readonly name: "confiscateAllRewards";
5561
5569
  readonly outputs: readonly [];
5562
5570
  readonly stateMutability: "nonpayable";
5563
5571
  readonly type: "function";
@@ -6675,16 +6683,6 @@ export declare const abi: readonly [{
6675
6683
  }];
6676
6684
  readonly name: "LoaderSessionKeyUpdated";
6677
6685
  readonly type: "event";
6678
- }, {
6679
- readonly inputs: readonly [{
6680
- readonly internalType: "uint256";
6681
- readonly name: "teeOfferId";
6682
- readonly type: "uint256";
6683
- }];
6684
- readonly name: "disableLoader";
6685
- readonly outputs: readonly [];
6686
- readonly stateMutability: "nonpayable";
6687
- readonly type: "function";
6688
6686
  }, {
6689
6687
  readonly inputs: readonly [];
6690
6688
  readonly name: "getDisabledLoaders";
@@ -6753,6 +6751,16 @@ export declare const abi: readonly [{
6753
6751
  }];
6754
6752
  readonly stateMutability: "view";
6755
6753
  readonly type: "function";
6754
+ }, {
6755
+ readonly inputs: readonly [{
6756
+ readonly internalType: "uint256";
6757
+ readonly name: "teeOfferId";
6758
+ readonly type: "uint256";
6759
+ }];
6760
+ readonly name: "removeLoaderKeys";
6761
+ readonly outputs: readonly [];
6762
+ readonly stateMutability: "nonpayable";
6763
+ readonly type: "function";
6756
6764
  }, {
6757
6765
  readonly inputs: readonly [{
6758
6766
  readonly components: readonly [{
@@ -6955,11 +6963,7 @@ export declare const abi: readonly [{
6955
6963
  readonly type: "uint32";
6956
6964
  }];
6957
6965
  readonly name: "createResourceOrder";
6958
- readonly outputs: readonly [{
6959
- readonly internalType: "uint256";
6960
- readonly name: "orderId";
6961
- readonly type: "uint256";
6962
- }];
6966
+ readonly outputs: readonly [];
6963
6967
  readonly stateMutability: "nonpayable";
6964
6968
  readonly type: "function";
6965
6969
  }, {
@@ -7035,6 +7039,14 @@ export declare const abi: readonly [{
7035
7039
  readonly internalType: "string";
7036
7040
  readonly name: "signedEncryptedData";
7037
7041
  readonly type: "string";
7042
+ }, {
7043
+ readonly internalType: "enum OfferType";
7044
+ readonly name: "offerType";
7045
+ readonly type: "uint8";
7046
+ }, {
7047
+ readonly internalType: "string";
7048
+ readonly name: "solutionHash";
7049
+ readonly type: "string";
7038
7050
  }];
7039
7051
  readonly internalType: "struct OfferResource";
7040
7052
  readonly name: "";
@@ -7045,14 +7057,10 @@ export declare const abi: readonly [{
7045
7057
  }, {
7046
7058
  readonly inputs: readonly [{
7047
7059
  readonly internalType: "uint256";
7048
- readonly name: "offerId";
7060
+ readonly name: "teeOfferIssuerId";
7049
7061
  readonly type: "uint256";
7050
- }, {
7051
- readonly internalType: "uint64";
7052
- readonly name: "version";
7053
- readonly type: "uint64";
7054
7062
  }];
7055
- readonly name: "getOfferResourcesByOfferVersion";
7063
+ readonly name: "getOfferResourcesByIssuerId";
7056
7064
  readonly outputs: readonly [{
7057
7065
  readonly components: readonly [{
7058
7066
  readonly internalType: "uint256";
@@ -7107,6 +7115,14 @@ export declare const abi: readonly [{
7107
7115
  readonly internalType: "string";
7108
7116
  readonly name: "signedEncryptedData";
7109
7117
  readonly type: "string";
7118
+ }, {
7119
+ readonly internalType: "enum OfferType";
7120
+ readonly name: "offerType";
7121
+ readonly type: "uint8";
7122
+ }, {
7123
+ readonly internalType: "string";
7124
+ readonly name: "solutionHash";
7125
+ readonly type: "string";
7110
7126
  }];
7111
7127
  readonly internalType: "struct OfferResource[]";
7112
7128
  readonly name: "";
@@ -7117,10 +7133,10 @@ export declare const abi: readonly [{
7117
7133
  }, {
7118
7134
  readonly inputs: readonly [{
7119
7135
  readonly internalType: "uint256";
7120
- readonly name: "teeOfferIssuerId";
7136
+ readonly name: "teeKeeperId";
7121
7137
  readonly type: "uint256";
7122
7138
  }];
7123
- readonly name: "getOfferResourcesByIssuerId";
7139
+ readonly name: "getOfferResourcesByKeeperId";
7124
7140
  readonly outputs: readonly [{
7125
7141
  readonly components: readonly [{
7126
7142
  readonly internalType: "uint256";
@@ -7175,6 +7191,14 @@ export declare const abi: readonly [{
7175
7191
  readonly internalType: "string";
7176
7192
  readonly name: "signedEncryptedData";
7177
7193
  readonly type: "string";
7194
+ }, {
7195
+ readonly internalType: "enum OfferType";
7196
+ readonly name: "offerType";
7197
+ readonly type: "uint8";
7198
+ }, {
7199
+ readonly internalType: "string";
7200
+ readonly name: "solutionHash";
7201
+ readonly type: "string";
7178
7202
  }];
7179
7203
  readonly internalType: "struct OfferResource[]";
7180
7204
  readonly name: "";
@@ -7185,10 +7209,14 @@ export declare const abi: readonly [{
7185
7209
  }, {
7186
7210
  readonly inputs: readonly [{
7187
7211
  readonly internalType: "uint256";
7188
- readonly name: "teeKeeperId";
7212
+ readonly name: "offerId";
7189
7213
  readonly type: "uint256";
7214
+ }, {
7215
+ readonly internalType: "uint64";
7216
+ readonly name: "version";
7217
+ readonly type: "uint64";
7190
7218
  }];
7191
- readonly name: "getOfferResourcesByKeeperId";
7219
+ readonly name: "getOfferResourcesByOfferVersion";
7192
7220
  readonly outputs: readonly [{
7193
7221
  readonly components: readonly [{
7194
7222
  readonly internalType: "uint256";
@@ -7243,6 +7271,14 @@ export declare const abi: readonly [{
7243
7271
  readonly internalType: "string";
7244
7272
  readonly name: "signedEncryptedData";
7245
7273
  readonly type: "string";
7274
+ }, {
7275
+ readonly internalType: "enum OfferType";
7276
+ readonly name: "offerType";
7277
+ readonly type: "uint8";
7278
+ }, {
7279
+ readonly internalType: "string";
7280
+ readonly name: "solutionHash";
7281
+ readonly type: "string";
7246
7282
  }];
7247
7283
  readonly internalType: "struct OfferResource[]";
7248
7284
  readonly name: "";
@@ -7264,6 +7300,24 @@ export declare const abi: readonly [{
7264
7300
  }];
7265
7301
  readonly stateMutability: "view";
7266
7302
  readonly type: "function";
7303
+ }, {
7304
+ readonly inputs: readonly [{
7305
+ readonly internalType: "uint256";
7306
+ readonly name: "offerId";
7307
+ readonly type: "uint256";
7308
+ }, {
7309
+ readonly internalType: "uint32";
7310
+ readonly name: "offerVersion";
7311
+ readonly type: "uint32";
7312
+ }];
7313
+ readonly name: "getReplicationFactorFulfilled";
7314
+ readonly outputs: readonly [{
7315
+ readonly internalType: "uint32";
7316
+ readonly name: "";
7317
+ readonly type: "uint32";
7318
+ }];
7319
+ readonly stateMutability: "view";
7320
+ readonly type: "function";
7267
7321
  }, {
7268
7322
  readonly inputs: readonly [{
7269
7323
  readonly components: readonly [{
@@ -7319,6 +7373,14 @@ export declare const abi: readonly [{
7319
7373
  readonly internalType: "string";
7320
7374
  readonly name: "signedEncryptedData";
7321
7375
  readonly type: "string";
7376
+ }, {
7377
+ readonly internalType: "enum OfferType";
7378
+ readonly name: "offerType";
7379
+ readonly type: "uint8";
7380
+ }, {
7381
+ readonly internalType: "string";
7382
+ readonly name: "solutionHash";
7383
+ readonly type: "string";
7322
7384
  }];
7323
7385
  readonly internalType: "struct OfferResource";
7324
7386
  readonly name: "resource";
@@ -7356,6 +7418,14 @@ export declare const abi: readonly [{
7356
7418
  readonly internalType: "uint32";
7357
7419
  readonly name: "timestamp";
7358
7420
  readonly type: "uint32";
7421
+ }, {
7422
+ readonly internalType: "uint64";
7423
+ readonly name: "offerVersion";
7424
+ readonly type: "uint64";
7425
+ }, {
7426
+ readonly internalType: "uint256";
7427
+ readonly name: "offerId";
7428
+ readonly type: "uint256";
7359
7429
  }];
7360
7430
  readonly internalType: "struct OfferStorageAllocated";
7361
7431
  readonly name: "";
@@ -7363,6 +7433,45 @@ export declare const abi: readonly [{
7363
7433
  }];
7364
7434
  readonly stateMutability: "view";
7365
7435
  readonly type: "function";
7436
+ }, {
7437
+ readonly inputs: readonly [{
7438
+ readonly internalType: "uint256";
7439
+ readonly name: "teeOfferIssurId";
7440
+ readonly type: "uint256";
7441
+ }];
7442
+ readonly name: "getStorageOrdersAllocatedByIssuer";
7443
+ readonly outputs: readonly [{
7444
+ readonly components: readonly [{
7445
+ readonly internalType: "uint256";
7446
+ readonly name: "teeOfferIssuerId";
7447
+ readonly type: "uint256";
7448
+ }, {
7449
+ readonly internalType: "uint256";
7450
+ readonly name: "storageOrderId";
7451
+ readonly type: "uint256";
7452
+ }, {
7453
+ readonly internalType: "uint32";
7454
+ readonly name: "distributionReplicationFactor";
7455
+ readonly type: "uint32";
7456
+ }, {
7457
+ readonly internalType: "uint32";
7458
+ readonly name: "timestamp";
7459
+ readonly type: "uint32";
7460
+ }, {
7461
+ readonly internalType: "uint64";
7462
+ readonly name: "offerVersion";
7463
+ readonly type: "uint64";
7464
+ }, {
7465
+ readonly internalType: "uint256";
7466
+ readonly name: "offerId";
7467
+ readonly type: "uint256";
7468
+ }];
7469
+ readonly internalType: "struct OfferStorageAllocated[]";
7470
+ readonly name: "";
7471
+ readonly type: "tuple[]";
7472
+ }];
7473
+ readonly stateMutability: "view";
7474
+ readonly type: "function";
7366
7475
  }, {
7367
7476
  readonly anonymous: false;
7368
7477
  readonly inputs: readonly [{