@super-protocol/sdk-js 2.2.0-beta.3 → 2.2.0-beta.30
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/contracts/abi.d.ts +69 -11
- package/dist/cjs/contracts/abi.js +87 -13
- package/dist/cjs/crypto/index.d.ts +1 -0
- package/dist/cjs/crypto/index.js +16 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/staticModels/LoaderSecretsPublicKeys.d.ts +1 -1
- package/dist/cjs/staticModels/LoaderSecretsPublicKeys.js +9 -5
- package/dist/cjs/staticModels/LoaderSessions.d.ts +3 -3
- package/dist/cjs/staticModels/LoaderSessions.js +11 -7
- package/dist/cjs/staticModels/OfferResources.d.ts +5 -6
- package/dist/cjs/staticModels/OfferResources.js +22 -14
- package/dist/cjs/staticModels/OffersStorageAllocated.d.ts +1 -1
- package/dist/cjs/staticModels/OffersStorageAllocated.js +8 -4
- package/dist/cjs/staticModels/OffersStorageRequests.d.ts +1 -1
- package/dist/cjs/staticModels/OffersStorageRequests.js +10 -5
- package/dist/cjs/staticModels/SecretRequests.d.ts +1 -1
- package/dist/cjs/staticModels/SecretRequests.js +10 -6
- package/dist/cjs/staticModels/TeeOffers.js +2 -2
- package/dist/cjs/types/DistributedSecretStorage.d.ts +3 -0
- package/dist/cjs/types/Superpro.d.ts +2 -1
- package/dist/cjs/types/Superpro.js +2 -1
- package/dist/cjs/utils/CryptoKeysTransformer.d.ts +11 -4
- package/dist/cjs/utils/CryptoKeysTransformer.js +87 -14
- package/dist/cjs/utils/helper.d.ts +7 -1
- package/dist/cjs/utils/helper.js +85 -2
- package/dist/mjs/contracts/abi.d.ts +69 -11
- package/dist/mjs/contracts/abi.js +87 -13
- package/dist/mjs/crypto/index.d.ts +1 -0
- package/dist/mjs/crypto/index.js +2 -1
- package/dist/mjs/index.d.ts +1 -0
- package/dist/mjs/index.js +2 -1
- package/dist/mjs/staticModels/LoaderSecretsPublicKeys.d.ts +1 -1
- package/dist/mjs/staticModels/LoaderSecretsPublicKeys.js +10 -6
- package/dist/mjs/staticModels/LoaderSessions.d.ts +3 -3
- package/dist/mjs/staticModels/LoaderSessions.js +12 -8
- package/dist/mjs/staticModels/OfferResources.d.ts +5 -6
- package/dist/mjs/staticModels/OfferResources.js +23 -15
- package/dist/mjs/staticModels/OffersStorageAllocated.d.ts +1 -1
- package/dist/mjs/staticModels/OffersStorageAllocated.js +9 -5
- package/dist/mjs/staticModels/OffersStorageRequests.d.ts +1 -1
- package/dist/mjs/staticModels/OffersStorageRequests.js +11 -6
- package/dist/mjs/staticModels/SecretRequests.d.ts +1 -1
- package/dist/mjs/staticModels/SecretRequests.js +11 -7
- package/dist/mjs/staticModels/TeeOffers.js +2 -2
- package/dist/mjs/types/DistributedSecretStorage.d.ts +3 -0
- package/dist/mjs/types/Superpro.d.ts +2 -1
- package/dist/mjs/types/Superpro.js +2 -1
- package/dist/mjs/utils/CryptoKeysTransformer.d.ts +11 -4
- package/dist/mjs/utils/CryptoKeysTransformer.js +87 -14
- package/dist/mjs/utils/helper.d.ts +7 -1
- package/dist/mjs/utils/helper.js +78 -1
- package/package.json +1 -1
|
@@ -6681,7 +6681,7 @@ export declare const abi: readonly [{
|
|
|
6681
6681
|
readonly name: "teeOfferId";
|
|
6682
6682
|
readonly type: "uint256";
|
|
6683
6683
|
}];
|
|
6684
|
-
readonly name: "
|
|
6684
|
+
readonly name: "removeLoaderKeys";
|
|
6685
6685
|
readonly outputs: readonly [];
|
|
6686
6686
|
readonly stateMutability: "nonpayable";
|
|
6687
6687
|
readonly type: "function";
|
|
@@ -7035,6 +7035,14 @@ export declare const abi: readonly [{
|
|
|
7035
7035
|
readonly internalType: "string";
|
|
7036
7036
|
readonly name: "signedEncryptedData";
|
|
7037
7037
|
readonly type: "string";
|
|
7038
|
+
}, {
|
|
7039
|
+
readonly internalType: "enum OfferType";
|
|
7040
|
+
readonly name: "offerType";
|
|
7041
|
+
readonly type: "uint8";
|
|
7042
|
+
}, {
|
|
7043
|
+
readonly internalType: "string";
|
|
7044
|
+
readonly name: "solutionHash";
|
|
7045
|
+
readonly type: "string";
|
|
7038
7046
|
}];
|
|
7039
7047
|
readonly internalType: "struct OfferResource";
|
|
7040
7048
|
readonly name: "";
|
|
@@ -7045,14 +7053,10 @@ export declare const abi: readonly [{
|
|
|
7045
7053
|
}, {
|
|
7046
7054
|
readonly inputs: readonly [{
|
|
7047
7055
|
readonly internalType: "uint256";
|
|
7048
|
-
readonly name: "
|
|
7056
|
+
readonly name: "teeOfferIssuerId";
|
|
7049
7057
|
readonly type: "uint256";
|
|
7050
|
-
}, {
|
|
7051
|
-
readonly internalType: "uint64";
|
|
7052
|
-
readonly name: "version";
|
|
7053
|
-
readonly type: "uint64";
|
|
7054
7058
|
}];
|
|
7055
|
-
readonly name: "
|
|
7059
|
+
readonly name: "getOfferResourcesByIssuerId";
|
|
7056
7060
|
readonly outputs: readonly [{
|
|
7057
7061
|
readonly components: readonly [{
|
|
7058
7062
|
readonly internalType: "uint256";
|
|
@@ -7107,6 +7111,14 @@ export declare const abi: readonly [{
|
|
|
7107
7111
|
readonly internalType: "string";
|
|
7108
7112
|
readonly name: "signedEncryptedData";
|
|
7109
7113
|
readonly type: "string";
|
|
7114
|
+
}, {
|
|
7115
|
+
readonly internalType: "enum OfferType";
|
|
7116
|
+
readonly name: "offerType";
|
|
7117
|
+
readonly type: "uint8";
|
|
7118
|
+
}, {
|
|
7119
|
+
readonly internalType: "string";
|
|
7120
|
+
readonly name: "solutionHash";
|
|
7121
|
+
readonly type: "string";
|
|
7110
7122
|
}];
|
|
7111
7123
|
readonly internalType: "struct OfferResource[]";
|
|
7112
7124
|
readonly name: "";
|
|
@@ -7117,10 +7129,10 @@ export declare const abi: readonly [{
|
|
|
7117
7129
|
}, {
|
|
7118
7130
|
readonly inputs: readonly [{
|
|
7119
7131
|
readonly internalType: "uint256";
|
|
7120
|
-
readonly name: "
|
|
7132
|
+
readonly name: "teeKeeperId";
|
|
7121
7133
|
readonly type: "uint256";
|
|
7122
7134
|
}];
|
|
7123
|
-
readonly name: "
|
|
7135
|
+
readonly name: "getOfferResourcesByKeeperId";
|
|
7124
7136
|
readonly outputs: readonly [{
|
|
7125
7137
|
readonly components: readonly [{
|
|
7126
7138
|
readonly internalType: "uint256";
|
|
@@ -7175,6 +7187,14 @@ export declare const abi: readonly [{
|
|
|
7175
7187
|
readonly internalType: "string";
|
|
7176
7188
|
readonly name: "signedEncryptedData";
|
|
7177
7189
|
readonly type: "string";
|
|
7190
|
+
}, {
|
|
7191
|
+
readonly internalType: "enum OfferType";
|
|
7192
|
+
readonly name: "offerType";
|
|
7193
|
+
readonly type: "uint8";
|
|
7194
|
+
}, {
|
|
7195
|
+
readonly internalType: "string";
|
|
7196
|
+
readonly name: "solutionHash";
|
|
7197
|
+
readonly type: "string";
|
|
7178
7198
|
}];
|
|
7179
7199
|
readonly internalType: "struct OfferResource[]";
|
|
7180
7200
|
readonly name: "";
|
|
@@ -7185,10 +7205,14 @@ export declare const abi: readonly [{
|
|
|
7185
7205
|
}, {
|
|
7186
7206
|
readonly inputs: readonly [{
|
|
7187
7207
|
readonly internalType: "uint256";
|
|
7188
|
-
readonly name: "
|
|
7208
|
+
readonly name: "offerId";
|
|
7189
7209
|
readonly type: "uint256";
|
|
7210
|
+
}, {
|
|
7211
|
+
readonly internalType: "uint64";
|
|
7212
|
+
readonly name: "version";
|
|
7213
|
+
readonly type: "uint64";
|
|
7190
7214
|
}];
|
|
7191
|
-
readonly name: "
|
|
7215
|
+
readonly name: "getOfferResourcesByOfferVersion";
|
|
7192
7216
|
readonly outputs: readonly [{
|
|
7193
7217
|
readonly components: readonly [{
|
|
7194
7218
|
readonly internalType: "uint256";
|
|
@@ -7243,6 +7267,14 @@ export declare const abi: readonly [{
|
|
|
7243
7267
|
readonly internalType: "string";
|
|
7244
7268
|
readonly name: "signedEncryptedData";
|
|
7245
7269
|
readonly type: "string";
|
|
7270
|
+
}, {
|
|
7271
|
+
readonly internalType: "enum OfferType";
|
|
7272
|
+
readonly name: "offerType";
|
|
7273
|
+
readonly type: "uint8";
|
|
7274
|
+
}, {
|
|
7275
|
+
readonly internalType: "string";
|
|
7276
|
+
readonly name: "solutionHash";
|
|
7277
|
+
readonly type: "string";
|
|
7246
7278
|
}];
|
|
7247
7279
|
readonly internalType: "struct OfferResource[]";
|
|
7248
7280
|
readonly name: "";
|
|
@@ -7264,6 +7296,24 @@ export declare const abi: readonly [{
|
|
|
7264
7296
|
}];
|
|
7265
7297
|
readonly stateMutability: "view";
|
|
7266
7298
|
readonly type: "function";
|
|
7299
|
+
}, {
|
|
7300
|
+
readonly inputs: readonly [{
|
|
7301
|
+
readonly internalType: "uint256";
|
|
7302
|
+
readonly name: "offerId";
|
|
7303
|
+
readonly type: "uint256";
|
|
7304
|
+
}, {
|
|
7305
|
+
readonly internalType: "uint32";
|
|
7306
|
+
readonly name: "offerVersion";
|
|
7307
|
+
readonly type: "uint32";
|
|
7308
|
+
}];
|
|
7309
|
+
readonly name: "getReplicationFactorFulfilled";
|
|
7310
|
+
readonly outputs: readonly [{
|
|
7311
|
+
readonly internalType: "uint32";
|
|
7312
|
+
readonly name: "";
|
|
7313
|
+
readonly type: "uint32";
|
|
7314
|
+
}];
|
|
7315
|
+
readonly stateMutability: "view";
|
|
7316
|
+
readonly type: "function";
|
|
7267
7317
|
}, {
|
|
7268
7318
|
readonly inputs: readonly [{
|
|
7269
7319
|
readonly components: readonly [{
|
|
@@ -7319,6 +7369,14 @@ export declare const abi: readonly [{
|
|
|
7319
7369
|
readonly internalType: "string";
|
|
7320
7370
|
readonly name: "signedEncryptedData";
|
|
7321
7371
|
readonly type: "string";
|
|
7372
|
+
}, {
|
|
7373
|
+
readonly internalType: "enum OfferType";
|
|
7374
|
+
readonly name: "offerType";
|
|
7375
|
+
readonly type: "uint8";
|
|
7376
|
+
}, {
|
|
7377
|
+
readonly internalType: "string";
|
|
7378
|
+
readonly name: "solutionHash";
|
|
7379
|
+
readonly type: "string";
|
|
7322
7380
|
}];
|
|
7323
7381
|
readonly internalType: "struct OfferResource";
|
|
7324
7382
|
readonly name: "resource";
|