@super-protocol/sdk-js 3.15.2 → 3.15.3-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/dist/cjs/RIGenerator.js +2 -2
- package/dist/cjs/TIIGenerator.js +4 -4
- package/dist/cjs/TeeInputGeneratorBase.d.ts +2 -2
- package/dist/cjs/TeeInputGeneratorBase.js +5 -5
- package/dist/cjs/certificates/serializer.d.ts +5 -3
- package/dist/cjs/certificates/serializer.js +26 -11
- package/dist/cjs/certificates/types.d.ts +1 -1
- package/dist/cjs/constants.d.ts +1 -0
- package/dist/cjs/constants.js +3 -2
- package/dist/cjs/contracts/abi.d.ts +799 -708
- package/dist/cjs/contracts/abi.js +966 -854
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +3 -5
- package/dist/cjs/models/Provider.d.ts +0 -1
- package/dist/cjs/models/Provider.js +1 -7
- package/dist/cjs/models/TCB.d.ts +1 -28
- package/dist/cjs/models/TCB.js +1 -61
- package/dist/cjs/models/TeeOffer.d.ts +3 -18
- package/dist/cjs/models/TeeOffer.js +14 -100
- package/dist/cjs/staticModels/Consensus.d.ts +5 -16
- package/dist/cjs/staticModels/Consensus.js +16 -86
- package/dist/cjs/staticModels/TeeOffers.d.ts +0 -6
- package/dist/cjs/staticModels/TeeOffers.js +3 -14
- package/dist/cjs/tee/TeeBlockVerifier.d.ts +7 -2
- package/dist/cjs/tee/TeeBlockVerifier.js +6 -18
- package/dist/cjs/tee/statuses.d.ts +0 -7
- package/dist/cjs/tee/statuses.js +2 -10
- package/dist/cjs/types/Consensus.d.ts +5 -31
- package/dist/cjs/types/Consensus.js +2 -10
- package/dist/cjs/utils/helper.d.ts +4 -4
- package/dist/cjs/utils/helper.js +24 -34
- package/dist/mjs/RIGenerator.js +2 -2
- package/dist/mjs/TIIGenerator.js +4 -4
- package/dist/mjs/TeeInputGeneratorBase.d.ts +2 -2
- package/dist/mjs/TeeInputGeneratorBase.js +5 -5
- package/dist/mjs/certificates/serializer.d.ts +5 -3
- package/dist/mjs/certificates/serializer.js +26 -11
- package/dist/mjs/certificates/types.d.ts +1 -1
- package/dist/mjs/constants.d.ts +1 -0
- package/dist/mjs/constants.js +2 -1
- package/dist/mjs/contracts/abi.d.ts +799 -708
- package/dist/mjs/contracts/abi.js +964 -852
- package/dist/mjs/index.d.ts +0 -1
- package/dist/mjs/index.js +1 -2
- package/dist/mjs/models/Provider.d.ts +0 -1
- package/dist/mjs/models/Provider.js +1 -7
- package/dist/mjs/models/TCB.d.ts +1 -28
- package/dist/mjs/models/TCB.js +2 -62
- package/dist/mjs/models/TeeOffer.d.ts +3 -18
- package/dist/mjs/models/TeeOffer.js +9 -95
- package/dist/mjs/staticModels/Consensus.d.ts +5 -16
- package/dist/mjs/staticModels/Consensus.js +17 -87
- package/dist/mjs/staticModels/TeeOffers.d.ts +0 -6
- package/dist/mjs/staticModels/TeeOffers.js +4 -15
- package/dist/mjs/tee/TeeBlockVerifier.d.ts +7 -2
- package/dist/mjs/tee/TeeBlockVerifier.js +6 -18
- package/dist/mjs/tee/statuses.d.ts +0 -7
- package/dist/mjs/tee/statuses.js +1 -9
- package/dist/mjs/types/Consensus.d.ts +5 -31
- package/dist/mjs/types/Consensus.js +1 -9
- package/dist/mjs/utils/helper.d.ts +4 -4
- package/dist/mjs/utils/helper.js +21 -31
- package/package.json +2 -2
- package/dist/cjs/tee/QuoteValidator.d.ts +0 -46
- package/dist/cjs/tee/QuoteValidator.js +0 -456
- package/dist/cjs/tee/TcbSerializer.d.ts +0 -20
- package/dist/cjs/tee/TcbSerializer.js +0 -27
- package/dist/mjs/tee/QuoteValidator.d.ts +0 -46
- package/dist/mjs/tee/QuoteValidator.js +0 -449
- package/dist/mjs/tee/TcbSerializer.d.ts +0 -20
- package/dist/mjs/tee/TcbSerializer.js +0 -23
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
1
|
+
export declare const MrEnclaveBlacklisted: "MrEnclaveBlacklisted";
|
|
2
|
+
export declare const MrSignerBlacklisted: "MrSignerBlacklisted";
|
|
3
|
+
export declare const SerialNumberBlacklisted: "SerialNumberBlacklisted";
|
|
4
|
+
export declare const SetRootCert: "SetRootCert";
|
|
5
|
+
export declare const TcbAdded: "TcbAdded";
|
|
5
6
|
export declare const DepositPartLocked: "DepositPartLocked";
|
|
6
7
|
export declare const DepositPartUnlocked: "DepositPartUnlocked";
|
|
7
8
|
export declare const DepositReplenished: "DepositReplenished";
|
|
@@ -63,7 +64,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
63
64
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
64
65
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
65
66
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
66
|
-
export type AbiEvent = typeof
|
|
67
|
+
export type AbiEvent = typeof MrEnclaveBlacklisted | typeof MrSignerBlacklisted | typeof SerialNumberBlacklisted | typeof SetRootCert | typeof TcbAdded | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof ProfitWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof OfferVersionAdded | typeof OfferVersionDeleted | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderChangeWithdrawn | typeof OrderDepositRefilled | typeof OrderProfitWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof RewardsClaimed | typeof SetValueOfferIgnored | typeof ProviderDepositTokenUpdated | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof DepositConfiscated | typeof RewardConfiscated | typeof RewardTokenChanged | typeof StorageLocked | typeof TokenInfoUpdated | typeof TokenRemoved | typeof ValueRewardsEnabled | typeof OptionAdded | typeof OptionDeleted | typeof OptionUpdated | typeof TeeSlotAdded | typeof TeeSlotDeleted | typeof TeeSlotUpdated | typeof TcbRewardUnlocked | typeof WarningMessage | typeof ValueSlotAdded | typeof ValueSlotDeleted | typeof ValueSlotUpdated | typeof DiamondCut | typeof OwnershipTransferred | typeof LoaderSecretAccessPublicKeySessionUpdated | typeof LoaderSessionKeyUpdated | typeof OfferResourceCreated | typeof OrderResourceCreated | typeof OfferStorageRequestCanceled | typeof OfferStorageRequestCreated | typeof SecretRequestCreated;
|
|
67
68
|
export declare const abi: readonly [{
|
|
68
69
|
readonly inputs: readonly [{
|
|
69
70
|
readonly internalType: "uint256";
|
|
@@ -236,247 +237,243 @@ export declare const abi: readonly [{
|
|
|
236
237
|
readonly anonymous: false;
|
|
237
238
|
readonly inputs: readonly [{
|
|
238
239
|
readonly indexed: true;
|
|
239
|
-
readonly internalType: "
|
|
240
|
-
readonly name: "
|
|
241
|
-
readonly type: "
|
|
240
|
+
readonly internalType: "bytes32";
|
|
241
|
+
readonly name: "mrEnclave";
|
|
242
|
+
readonly type: "bytes32";
|
|
242
243
|
}, {
|
|
243
244
|
readonly indexed: true;
|
|
244
|
-
readonly internalType: "
|
|
245
|
-
readonly name: "
|
|
246
|
-
readonly type: "
|
|
245
|
+
readonly internalType: "bool";
|
|
246
|
+
readonly name: "isBlacklisted";
|
|
247
|
+
readonly type: "bool";
|
|
247
248
|
}];
|
|
248
|
-
readonly name: "
|
|
249
|
+
readonly name: "MrEnclaveBlacklisted";
|
|
249
250
|
readonly type: "event";
|
|
250
251
|
}, {
|
|
251
252
|
readonly anonymous: false;
|
|
252
253
|
readonly inputs: readonly [{
|
|
253
254
|
readonly indexed: true;
|
|
254
|
-
readonly internalType: "
|
|
255
|
-
readonly name: "
|
|
256
|
-
readonly type: "
|
|
255
|
+
readonly internalType: "bytes32";
|
|
256
|
+
readonly name: "mrSigner";
|
|
257
|
+
readonly type: "bytes32";
|
|
257
258
|
}, {
|
|
258
259
|
readonly indexed: true;
|
|
259
|
-
readonly internalType: "
|
|
260
|
-
readonly name: "
|
|
261
|
-
readonly type: "
|
|
260
|
+
readonly internalType: "bool";
|
|
261
|
+
readonly name: "isBlacklisted";
|
|
262
|
+
readonly type: "bool";
|
|
262
263
|
}];
|
|
263
|
-
readonly name: "
|
|
264
|
+
readonly name: "MrSignerBlacklisted";
|
|
264
265
|
readonly type: "event";
|
|
265
266
|
}, {
|
|
266
267
|
readonly anonymous: false;
|
|
267
268
|
readonly inputs: readonly [{
|
|
268
269
|
readonly indexed: true;
|
|
269
|
-
readonly internalType: "
|
|
270
|
-
readonly name: "
|
|
271
|
-
readonly type: "
|
|
270
|
+
readonly internalType: "bytes";
|
|
271
|
+
readonly name: "serialNumber";
|
|
272
|
+
readonly type: "bytes";
|
|
272
273
|
}, {
|
|
273
274
|
readonly indexed: true;
|
|
274
|
-
readonly internalType: "
|
|
275
|
-
readonly name: "
|
|
276
|
-
readonly type: "
|
|
275
|
+
readonly internalType: "bool";
|
|
276
|
+
readonly name: "isBlacklisted";
|
|
277
|
+
readonly type: "bool";
|
|
277
278
|
}];
|
|
278
|
-
readonly name: "
|
|
279
|
+
readonly name: "SerialNumberBlacklisted";
|
|
279
280
|
readonly type: "event";
|
|
280
281
|
}, {
|
|
282
|
+
readonly anonymous: false;
|
|
281
283
|
readonly inputs: readonly [{
|
|
284
|
+
readonly indexed: true;
|
|
282
285
|
readonly internalType: "uint256";
|
|
283
|
-
readonly name: "
|
|
284
|
-
readonly type: "uint256";
|
|
285
|
-
}];
|
|
286
|
-
readonly name: "addTcbToSupply";
|
|
287
|
-
readonly outputs: readonly [];
|
|
288
|
-
readonly stateMutability: "nonpayable";
|
|
289
|
-
readonly type: "function";
|
|
290
|
-
}, {
|
|
291
|
-
readonly inputs: readonly [{
|
|
292
|
-
readonly internalType: "enum TcbVerifiedStatus[]";
|
|
293
|
-
readonly name: "marks";
|
|
294
|
-
readonly type: "uint8[]";
|
|
295
|
-
}, {
|
|
296
|
-
readonly internalType: "uint256";
|
|
297
|
-
readonly name: "tcbId";
|
|
298
|
-
readonly type: "uint256";
|
|
299
|
-
}];
|
|
300
|
-
readonly name: "applyTcbMarks";
|
|
301
|
-
readonly outputs: readonly [];
|
|
302
|
-
readonly stateMutability: "nonpayable";
|
|
303
|
-
readonly type: "function";
|
|
304
|
-
}, {
|
|
305
|
-
readonly inputs: readonly [{
|
|
306
|
-
readonly internalType: "uint256";
|
|
307
|
-
readonly name: "tcbId";
|
|
308
|
-
readonly type: "uint256";
|
|
309
|
-
}];
|
|
310
|
-
readonly name: "assignLastBlocksToCheck";
|
|
311
|
-
readonly outputs: readonly [];
|
|
312
|
-
readonly stateMutability: "nonpayable";
|
|
313
|
-
readonly type: "function";
|
|
314
|
-
}, {
|
|
315
|
-
readonly inputs: readonly [{
|
|
316
|
-
readonly internalType: "uint256";
|
|
317
|
-
readonly name: "tcbId";
|
|
318
|
-
readonly type: "uint256";
|
|
319
|
-
}];
|
|
320
|
-
readonly name: "assignSuspiciousBlocksToCheck";
|
|
321
|
-
readonly outputs: readonly [];
|
|
322
|
-
readonly stateMutability: "nonpayable";
|
|
323
|
-
readonly type: "function";
|
|
324
|
-
}, {
|
|
325
|
-
readonly inputs: readonly [{
|
|
326
|
-
readonly internalType: "uint256";
|
|
327
|
-
readonly name: "teeOfferId";
|
|
328
|
-
readonly type: "uint256";
|
|
329
|
-
}];
|
|
330
|
-
readonly name: "getActualTcbId";
|
|
331
|
-
readonly outputs: readonly [{
|
|
332
|
-
readonly internalType: "uint256";
|
|
333
|
-
readonly name: "";
|
|
286
|
+
readonly name: "serialNumber";
|
|
334
287
|
readonly type: "uint256";
|
|
335
288
|
}];
|
|
336
|
-
readonly
|
|
337
|
-
readonly type: "
|
|
289
|
+
readonly name: "SetRootCert";
|
|
290
|
+
readonly type: "event";
|
|
338
291
|
}, {
|
|
339
292
|
readonly inputs: readonly [];
|
|
340
|
-
readonly name: "
|
|
293
|
+
readonly name: "getCertsBlacklist";
|
|
341
294
|
readonly outputs: readonly [{
|
|
342
|
-
readonly internalType: "
|
|
343
|
-
readonly name: "";
|
|
344
|
-
readonly type: "
|
|
345
|
-
}, {
|
|
346
|
-
readonly internalType: "uint8";
|
|
347
|
-
readonly name: "";
|
|
348
|
-
readonly type: "uint8";
|
|
349
|
-
}, {
|
|
350
|
-
readonly internalType: "uint8";
|
|
351
|
-
readonly name: "";
|
|
352
|
-
readonly type: "uint8";
|
|
295
|
+
readonly internalType: "bytes[]";
|
|
296
|
+
readonly name: "bySerialNumber";
|
|
297
|
+
readonly type: "bytes[]";
|
|
353
298
|
}, {
|
|
354
|
-
readonly internalType: "
|
|
355
|
-
readonly name: "";
|
|
356
|
-
readonly type: "
|
|
299
|
+
readonly internalType: "bytes32[]";
|
|
300
|
+
readonly name: "byMrEnclave";
|
|
301
|
+
readonly type: "bytes32[]";
|
|
357
302
|
}, {
|
|
358
|
-
readonly internalType: "
|
|
359
|
-
readonly name: "";
|
|
360
|
-
readonly type: "
|
|
303
|
+
readonly internalType: "bytes32[]";
|
|
304
|
+
readonly name: "byMrSigner";
|
|
305
|
+
readonly type: "bytes32[]";
|
|
361
306
|
}];
|
|
362
|
-
readonly stateMutability: "
|
|
307
|
+
readonly stateMutability: "view";
|
|
363
308
|
readonly type: "function";
|
|
364
309
|
}, {
|
|
365
310
|
readonly inputs: readonly [{
|
|
366
311
|
readonly internalType: "uint256";
|
|
367
|
-
readonly name: "
|
|
368
|
-
readonly type: "uint256";
|
|
369
|
-
}];
|
|
370
|
-
readonly name: "getInitializedTcbId";
|
|
371
|
-
readonly outputs: readonly [{
|
|
372
|
-
readonly internalType: "uint256";
|
|
373
|
-
readonly name: "";
|
|
312
|
+
readonly name: "rootCertId";
|
|
374
313
|
readonly type: "uint256";
|
|
375
314
|
}];
|
|
376
|
-
readonly
|
|
377
|
-
readonly type: "function";
|
|
378
|
-
}, {
|
|
379
|
-
readonly inputs: readonly [];
|
|
380
|
-
readonly name: "getLastBlockTable";
|
|
315
|
+
readonly name: "getRootCert";
|
|
381
316
|
readonly outputs: readonly [{
|
|
382
|
-
readonly
|
|
317
|
+
readonly components: readonly [{
|
|
318
|
+
readonly internalType: "bytes[]";
|
|
319
|
+
readonly name: "nonSerializedParts";
|
|
320
|
+
readonly type: "bytes[]";
|
|
321
|
+
}, {
|
|
322
|
+
readonly internalType: "bytes";
|
|
323
|
+
readonly name: "expirationDate";
|
|
324
|
+
readonly type: "bytes";
|
|
325
|
+
}, {
|
|
326
|
+
readonly internalType: "bytes";
|
|
327
|
+
readonly name: "ca";
|
|
328
|
+
readonly type: "bytes";
|
|
329
|
+
}, {
|
|
330
|
+
readonly internalType: "bytes32";
|
|
331
|
+
readonly name: "userData";
|
|
332
|
+
readonly type: "bytes32";
|
|
333
|
+
}, {
|
|
334
|
+
readonly internalType: "bytes";
|
|
335
|
+
readonly name: "publicKey";
|
|
336
|
+
readonly type: "bytes";
|
|
337
|
+
}, {
|
|
338
|
+
readonly internalType: "bytes";
|
|
339
|
+
readonly name: "serialNumber";
|
|
340
|
+
readonly type: "bytes";
|
|
341
|
+
}, {
|
|
342
|
+
readonly internalType: "bytes32";
|
|
343
|
+
readonly name: "mrEnclave";
|
|
344
|
+
readonly type: "bytes32";
|
|
345
|
+
}, {
|
|
346
|
+
readonly internalType: "bytes32";
|
|
347
|
+
readonly name: "mrSigner";
|
|
348
|
+
readonly type: "bytes32";
|
|
349
|
+
}, {
|
|
350
|
+
readonly internalType: "bytes";
|
|
351
|
+
readonly name: "signature";
|
|
352
|
+
readonly type: "bytes";
|
|
353
|
+
}];
|
|
354
|
+
readonly internalType: "struct ChunkedX509Cert";
|
|
383
355
|
readonly name: "";
|
|
384
|
-
readonly type: "
|
|
356
|
+
readonly type: "tuple";
|
|
385
357
|
}];
|
|
386
358
|
readonly stateMutability: "view";
|
|
387
359
|
readonly type: "function";
|
|
388
360
|
}, {
|
|
389
|
-
readonly inputs: readonly [
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
readonly
|
|
393
|
-
|
|
394
|
-
readonly
|
|
361
|
+
readonly inputs: readonly [{
|
|
362
|
+
readonly internalType: "bytes";
|
|
363
|
+
readonly name: "serialNumber";
|
|
364
|
+
readonly type: "bytes";
|
|
365
|
+
}, {
|
|
366
|
+
readonly internalType: "bytes32";
|
|
367
|
+
readonly name: "mrEnclave";
|
|
368
|
+
readonly type: "bytes32";
|
|
369
|
+
}, {
|
|
370
|
+
readonly internalType: "bytes32";
|
|
371
|
+
readonly name: "mrSigner";
|
|
372
|
+
readonly type: "bytes32";
|
|
395
373
|
}];
|
|
396
|
-
readonly
|
|
397
|
-
readonly type: "function";
|
|
398
|
-
}, {
|
|
399
|
-
readonly inputs: readonly [];
|
|
400
|
-
readonly name: "getSuspiciousBlockTable";
|
|
374
|
+
readonly name: "isCertBlacklisted";
|
|
401
375
|
readonly outputs: readonly [{
|
|
402
|
-
readonly internalType: "
|
|
376
|
+
readonly internalType: "bool";
|
|
403
377
|
readonly name: "";
|
|
404
|
-
readonly type: "
|
|
378
|
+
readonly type: "bool";
|
|
405
379
|
}];
|
|
406
380
|
readonly stateMutability: "view";
|
|
407
381
|
readonly type: "function";
|
|
408
382
|
}, {
|
|
409
|
-
readonly inputs: readonly [
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
383
|
+
readonly inputs: readonly [{
|
|
384
|
+
readonly components: readonly [{
|
|
385
|
+
readonly internalType: "bytes";
|
|
386
|
+
readonly name: "item";
|
|
387
|
+
readonly type: "bytes";
|
|
388
|
+
}, {
|
|
389
|
+
readonly internalType: "bool";
|
|
390
|
+
readonly name: "isBlacklisted";
|
|
391
|
+
readonly type: "bool";
|
|
392
|
+
}];
|
|
393
|
+
readonly internalType: "struct BytesBlacklist[]";
|
|
394
|
+
readonly name: "serialNumberChanges";
|
|
395
|
+
readonly type: "tuple[]";
|
|
396
|
+
}, {
|
|
397
|
+
readonly components: readonly [{
|
|
398
|
+
readonly internalType: "bytes32";
|
|
399
|
+
readonly name: "item";
|
|
400
|
+
readonly type: "bytes32";
|
|
401
|
+
}, {
|
|
402
|
+
readonly internalType: "bool";
|
|
403
|
+
readonly name: "isBlacklisted";
|
|
404
|
+
readonly type: "bool";
|
|
405
|
+
}];
|
|
406
|
+
readonly internalType: "struct Bytes32Blacklist[]";
|
|
407
|
+
readonly name: "mrEnclaveChanges";
|
|
408
|
+
readonly type: "tuple[]";
|
|
409
|
+
}, {
|
|
410
|
+
readonly components: readonly [{
|
|
411
|
+
readonly internalType: "bytes32";
|
|
412
|
+
readonly name: "item";
|
|
413
|
+
readonly type: "bytes32";
|
|
414
|
+
}, {
|
|
415
|
+
readonly internalType: "bool";
|
|
416
|
+
readonly name: "isBlacklisted";
|
|
417
|
+
readonly type: "bool";
|
|
418
|
+
}];
|
|
419
|
+
readonly internalType: "struct Bytes32Blacklist[]";
|
|
420
|
+
readonly name: "mrSignerChanges";
|
|
421
|
+
readonly type: "tuple[]";
|
|
415
422
|
}];
|
|
416
|
-
readonly
|
|
423
|
+
readonly name: "setCertsBlacklist";
|
|
424
|
+
readonly outputs: readonly [];
|
|
425
|
+
readonly stateMutability: "nonpayable";
|
|
417
426
|
readonly type: "function";
|
|
418
427
|
}, {
|
|
419
428
|
readonly inputs: readonly [{
|
|
420
|
-
readonly internalType: "uint256";
|
|
421
|
-
readonly name: "tcbId";
|
|
422
|
-
readonly type: "uint256";
|
|
423
|
-
}];
|
|
424
|
-
readonly name: "getTcbById";
|
|
425
|
-
readonly outputs: readonly [{
|
|
426
429
|
readonly components: readonly [{
|
|
427
|
-
readonly internalType: "
|
|
428
|
-
readonly name: "
|
|
429
|
-
readonly type: "
|
|
430
|
-
}, {
|
|
431
|
-
readonly internalType: "uint256";
|
|
432
|
-
readonly name: "lastBlocksTakenAmount";
|
|
433
|
-
readonly type: "uint256";
|
|
434
|
-
}, {
|
|
435
|
-
readonly internalType: "uint256";
|
|
436
|
-
readonly name: "suspiciousBlocksTakenAmount";
|
|
437
|
-
readonly type: "uint256";
|
|
430
|
+
readonly internalType: "bytes[]";
|
|
431
|
+
readonly name: "nonSerializedParts";
|
|
432
|
+
readonly type: "bytes[]";
|
|
438
433
|
}, {
|
|
439
|
-
readonly internalType: "
|
|
440
|
-
readonly name: "
|
|
441
|
-
readonly type: "
|
|
434
|
+
readonly internalType: "bytes";
|
|
435
|
+
readonly name: "expirationDate";
|
|
436
|
+
readonly type: "bytes";
|
|
442
437
|
}, {
|
|
443
|
-
readonly internalType: "
|
|
444
|
-
readonly name: "
|
|
445
|
-
readonly type: "
|
|
438
|
+
readonly internalType: "bytes";
|
|
439
|
+
readonly name: "ca";
|
|
440
|
+
readonly type: "bytes";
|
|
446
441
|
}, {
|
|
447
|
-
readonly internalType: "
|
|
448
|
-
readonly name: "
|
|
449
|
-
readonly type: "
|
|
442
|
+
readonly internalType: "bytes32";
|
|
443
|
+
readonly name: "userData";
|
|
444
|
+
readonly type: "bytes32";
|
|
450
445
|
}, {
|
|
451
|
-
readonly internalType: "
|
|
452
|
-
readonly name: "
|
|
453
|
-
readonly type: "
|
|
446
|
+
readonly internalType: "bytes";
|
|
447
|
+
readonly name: "publicKey";
|
|
448
|
+
readonly type: "bytes";
|
|
454
449
|
}, {
|
|
455
|
-
readonly internalType: "
|
|
456
|
-
readonly name: "
|
|
457
|
-
readonly type: "
|
|
450
|
+
readonly internalType: "bytes";
|
|
451
|
+
readonly name: "serialNumber";
|
|
452
|
+
readonly type: "bytes";
|
|
458
453
|
}, {
|
|
459
|
-
readonly internalType: "
|
|
460
|
-
readonly name: "
|
|
461
|
-
readonly type: "
|
|
454
|
+
readonly internalType: "bytes32";
|
|
455
|
+
readonly name: "mrEnclave";
|
|
456
|
+
readonly type: "bytes32";
|
|
462
457
|
}, {
|
|
463
|
-
readonly internalType: "
|
|
464
|
-
readonly name: "
|
|
465
|
-
readonly type: "
|
|
458
|
+
readonly internalType: "bytes32";
|
|
459
|
+
readonly name: "mrSigner";
|
|
460
|
+
readonly type: "bytes32";
|
|
466
461
|
}, {
|
|
467
|
-
readonly internalType: "
|
|
468
|
-
readonly name: "
|
|
469
|
-
readonly type: "
|
|
462
|
+
readonly internalType: "bytes";
|
|
463
|
+
readonly name: "signature";
|
|
464
|
+
readonly type: "bytes";
|
|
470
465
|
}];
|
|
471
|
-
readonly internalType: "struct
|
|
472
|
-
readonly name: "
|
|
466
|
+
readonly internalType: "struct ChunkedX509Cert";
|
|
467
|
+
readonly name: "cert";
|
|
473
468
|
readonly type: "tuple";
|
|
474
469
|
}];
|
|
475
|
-
readonly
|
|
470
|
+
readonly name: "setRootCert";
|
|
471
|
+
readonly outputs: readonly [];
|
|
472
|
+
readonly stateMutability: "nonpayable";
|
|
476
473
|
readonly type: "function";
|
|
477
474
|
}, {
|
|
478
475
|
readonly inputs: readonly [];
|
|
479
|
-
readonly name: "
|
|
476
|
+
readonly name: "totalRootCertificates";
|
|
480
477
|
readonly outputs: readonly [{
|
|
481
478
|
readonly internalType: "uint256";
|
|
482
479
|
readonly name: "";
|
|
@@ -486,166 +483,178 @@ export declare const abi: readonly [{
|
|
|
486
483
|
readonly type: "function";
|
|
487
484
|
}, {
|
|
488
485
|
readonly inputs: readonly [{
|
|
489
|
-
readonly internalType: "uint256[]";
|
|
490
|
-
readonly name: "tcbIds";
|
|
491
|
-
readonly type: "uint256[]";
|
|
492
|
-
}];
|
|
493
|
-
readonly name: "getTcbsEpochIndex";
|
|
494
|
-
readonly outputs: readonly [{
|
|
495
|
-
readonly internalType: "uint256[]";
|
|
496
|
-
readonly name: "epochIndexes";
|
|
497
|
-
readonly type: "uint256[]";
|
|
498
|
-
}];
|
|
499
|
-
readonly stateMutability: "view";
|
|
500
|
-
readonly type: "function";
|
|
501
|
-
}, {
|
|
502
|
-
readonly inputs: readonly [{
|
|
503
|
-
readonly internalType: "uint256[]";
|
|
504
|
-
readonly name: "tcbIds";
|
|
505
|
-
readonly type: "uint256[]";
|
|
506
|
-
}];
|
|
507
|
-
readonly name: "getTcbsPublicData";
|
|
508
|
-
readonly outputs: readonly [{
|
|
509
486
|
readonly components: readonly [{
|
|
510
|
-
readonly internalType: "
|
|
511
|
-
readonly name: "
|
|
512
|
-
readonly type: "
|
|
487
|
+
readonly internalType: "bytes[]";
|
|
488
|
+
readonly name: "nonSerializedParts";
|
|
489
|
+
readonly type: "bytes[]";
|
|
513
490
|
}, {
|
|
514
|
-
readonly internalType: "
|
|
515
|
-
readonly name: "
|
|
516
|
-
readonly type: "
|
|
491
|
+
readonly internalType: "bytes";
|
|
492
|
+
readonly name: "expirationDate";
|
|
493
|
+
readonly type: "bytes";
|
|
494
|
+
}, {
|
|
495
|
+
readonly internalType: "bytes";
|
|
496
|
+
readonly name: "ca";
|
|
497
|
+
readonly type: "bytes";
|
|
517
498
|
}, {
|
|
518
499
|
readonly internalType: "bytes32";
|
|
519
|
-
readonly name: "
|
|
500
|
+
readonly name: "userData";
|
|
520
501
|
readonly type: "bytes32";
|
|
521
502
|
}, {
|
|
522
|
-
readonly internalType: "
|
|
523
|
-
readonly name: "
|
|
524
|
-
readonly type: "
|
|
503
|
+
readonly internalType: "bytes";
|
|
504
|
+
readonly name: "publicKey";
|
|
505
|
+
readonly type: "bytes";
|
|
506
|
+
}, {
|
|
507
|
+
readonly internalType: "bytes";
|
|
508
|
+
readonly name: "serialNumber";
|
|
509
|
+
readonly type: "bytes";
|
|
510
|
+
}, {
|
|
511
|
+
readonly internalType: "bytes32";
|
|
512
|
+
readonly name: "mrEnclave";
|
|
513
|
+
readonly type: "bytes32";
|
|
514
|
+
}, {
|
|
515
|
+
readonly internalType: "bytes32";
|
|
516
|
+
readonly name: "mrSigner";
|
|
517
|
+
readonly type: "bytes32";
|
|
518
|
+
}, {
|
|
519
|
+
readonly internalType: "bytes";
|
|
520
|
+
readonly name: "signature";
|
|
521
|
+
readonly type: "bytes";
|
|
525
522
|
}];
|
|
526
|
-
readonly internalType: "struct
|
|
527
|
-
readonly name: "";
|
|
528
|
-
readonly type: "tuple
|
|
523
|
+
readonly internalType: "struct ChunkedX509Cert";
|
|
524
|
+
readonly name: "cert";
|
|
525
|
+
readonly type: "tuple";
|
|
526
|
+
}, {
|
|
527
|
+
readonly internalType: "bytes";
|
|
528
|
+
readonly name: "caPubKey";
|
|
529
|
+
readonly type: "bytes";
|
|
530
|
+
}];
|
|
531
|
+
readonly name: "verifyCert";
|
|
532
|
+
readonly outputs: readonly [{
|
|
533
|
+
readonly internalType: "bytes32";
|
|
534
|
+
readonly name: "certHash";
|
|
535
|
+
readonly type: "bytes32";
|
|
529
536
|
}];
|
|
530
537
|
readonly stateMutability: "view";
|
|
531
538
|
readonly type: "function";
|
|
532
539
|
}, {
|
|
533
540
|
readonly inputs: readonly [{
|
|
534
|
-
readonly internalType: "uint256[]";
|
|
535
|
-
readonly name: "tcbIds";
|
|
536
|
-
readonly type: "uint256[]";
|
|
537
|
-
}];
|
|
538
|
-
readonly name: "getTcbsUtilityData";
|
|
539
|
-
readonly outputs: readonly [{
|
|
540
541
|
readonly components: readonly [{
|
|
541
|
-
readonly internalType: "
|
|
542
|
-
readonly name: "
|
|
543
|
-
readonly type: "
|
|
542
|
+
readonly internalType: "bytes[]";
|
|
543
|
+
readonly name: "nonSerializedParts";
|
|
544
|
+
readonly type: "bytes[]";
|
|
544
545
|
}, {
|
|
545
|
-
readonly internalType: "
|
|
546
|
-
readonly name: "
|
|
547
|
-
readonly type: "
|
|
546
|
+
readonly internalType: "bytes";
|
|
547
|
+
readonly name: "expirationDate";
|
|
548
|
+
readonly type: "bytes";
|
|
548
549
|
}, {
|
|
549
|
-
readonly internalType: "
|
|
550
|
-
readonly name: "
|
|
551
|
-
readonly type: "
|
|
550
|
+
readonly internalType: "bytes";
|
|
551
|
+
readonly name: "ca";
|
|
552
|
+
readonly type: "bytes";
|
|
553
|
+
}, {
|
|
554
|
+
readonly internalType: "bytes32";
|
|
555
|
+
readonly name: "userData";
|
|
556
|
+
readonly type: "bytes32";
|
|
557
|
+
}, {
|
|
558
|
+
readonly internalType: "bytes";
|
|
559
|
+
readonly name: "publicKey";
|
|
560
|
+
readonly type: "bytes";
|
|
561
|
+
}, {
|
|
562
|
+
readonly internalType: "bytes";
|
|
563
|
+
readonly name: "serialNumber";
|
|
564
|
+
readonly type: "bytes";
|
|
565
|
+
}, {
|
|
566
|
+
readonly internalType: "bytes32";
|
|
567
|
+
readonly name: "mrEnclave";
|
|
568
|
+
readonly type: "bytes32";
|
|
569
|
+
}, {
|
|
570
|
+
readonly internalType: "bytes32";
|
|
571
|
+
readonly name: "mrSigner";
|
|
572
|
+
readonly type: "bytes32";
|
|
573
|
+
}, {
|
|
574
|
+
readonly internalType: "bytes";
|
|
575
|
+
readonly name: "signature";
|
|
576
|
+
readonly type: "bytes";
|
|
552
577
|
}];
|
|
553
|
-
readonly internalType: "struct
|
|
554
|
-
readonly name: "";
|
|
578
|
+
readonly internalType: "struct ChunkedX509Cert[]";
|
|
579
|
+
readonly name: "certsChain";
|
|
555
580
|
readonly type: "tuple[]";
|
|
556
|
-
}];
|
|
557
|
-
readonly stateMutability: "view";
|
|
558
|
-
readonly type: "function";
|
|
559
|
-
}, {
|
|
560
|
-
readonly inputs: readonly [{
|
|
561
|
-
readonly internalType: "uint256";
|
|
562
|
-
readonly name: "teeOfferId";
|
|
563
|
-
readonly type: "uint256";
|
|
564
581
|
}, {
|
|
565
|
-
readonly internalType: "bytes32";
|
|
566
|
-
readonly name: "newDeviceId";
|
|
567
|
-
readonly type: "bytes32";
|
|
568
|
-
}];
|
|
569
|
-
readonly name: "initializeTcb";
|
|
570
|
-
readonly outputs: readonly [];
|
|
571
|
-
readonly stateMutability: "nonpayable";
|
|
572
|
-
readonly type: "function";
|
|
573
|
-
}, {
|
|
574
|
-
readonly inputs: readonly [{
|
|
575
582
|
readonly internalType: "uint256";
|
|
576
|
-
readonly name: "
|
|
583
|
+
readonly name: "rootCertId";
|
|
577
584
|
readonly type: "uint256";
|
|
578
585
|
}];
|
|
579
|
-
readonly name: "
|
|
586
|
+
readonly name: "verifyCertChain";
|
|
580
587
|
readonly outputs: readonly [{
|
|
581
|
-
readonly internalType: "bool";
|
|
582
|
-
readonly name: "";
|
|
583
|
-
readonly type: "bool";
|
|
584
|
-
}];
|
|
585
|
-
readonly stateMutability: "view";
|
|
586
|
-
readonly type: "function";
|
|
587
|
-
}, {
|
|
588
|
-
readonly inputs: readonly [{
|
|
589
|
-
readonly internalType: "uint256";
|
|
590
|
-
readonly name: "teeOfferId";
|
|
591
|
-
readonly type: "uint256";
|
|
592
|
-
}, {
|
|
593
588
|
readonly internalType: "bytes32";
|
|
594
|
-
readonly name: "
|
|
589
|
+
readonly name: "leafCertHash";
|
|
595
590
|
readonly type: "bytes32";
|
|
596
591
|
}];
|
|
597
|
-
readonly name: "isTcbCreationAvailable";
|
|
598
|
-
readonly outputs: readonly [{
|
|
599
|
-
readonly internalType: "bool";
|
|
600
|
-
readonly name: "offerNotBlocked";
|
|
601
|
-
readonly type: "bool";
|
|
602
|
-
}, {
|
|
603
|
-
readonly internalType: "bool";
|
|
604
|
-
readonly name: "newEpochStarted";
|
|
605
|
-
readonly type: "bool";
|
|
606
|
-
}, {
|
|
607
|
-
readonly internalType: "bool";
|
|
608
|
-
readonly name: "halfEpochPassed";
|
|
609
|
-
readonly type: "bool";
|
|
610
|
-
}, {
|
|
611
|
-
readonly internalType: "bool";
|
|
612
|
-
readonly name: "benchmarkVerified";
|
|
613
|
-
readonly type: "bool";
|
|
614
|
-
}];
|
|
615
592
|
readonly stateMutability: "view";
|
|
616
593
|
readonly type: "function";
|
|
617
594
|
}, {
|
|
595
|
+
readonly anonymous: false;
|
|
618
596
|
readonly inputs: readonly [{
|
|
597
|
+
readonly indexed: true;
|
|
619
598
|
readonly internalType: "uint256";
|
|
620
599
|
readonly name: "tcbId";
|
|
621
600
|
readonly type: "uint256";
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
readonly
|
|
626
|
-
readonly
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
readonly
|
|
630
|
-
readonly type: "function";
|
|
631
|
-
}, {
|
|
632
|
-
readonly inputs: readonly [{
|
|
633
|
-
readonly internalType: "uint256";
|
|
634
|
-
readonly name: "offerId";
|
|
635
|
-
readonly type: "uint256";
|
|
636
|
-
}];
|
|
637
|
-
readonly name: "isTeeOfferVerified";
|
|
638
|
-
readonly outputs: readonly [{
|
|
639
|
-
readonly internalType: "bool";
|
|
640
|
-
readonly name: "";
|
|
641
|
-
readonly type: "bool";
|
|
642
|
-
}];
|
|
643
|
-
readonly stateMutability: "view";
|
|
644
|
-
readonly type: "function";
|
|
601
|
+
}, {
|
|
602
|
+
readonly indexed: true;
|
|
603
|
+
readonly internalType: "address";
|
|
604
|
+
readonly name: "action";
|
|
605
|
+
readonly type: "address";
|
|
606
|
+
}];
|
|
607
|
+
readonly name: "TcbAdded";
|
|
608
|
+
readonly type: "event";
|
|
645
609
|
}, {
|
|
646
610
|
readonly inputs: readonly [{
|
|
611
|
+
readonly components: readonly [{
|
|
612
|
+
readonly internalType: "bytes[]";
|
|
613
|
+
readonly name: "nonSerializedParts";
|
|
614
|
+
readonly type: "bytes[]";
|
|
615
|
+
}, {
|
|
616
|
+
readonly internalType: "bytes";
|
|
617
|
+
readonly name: "expirationDate";
|
|
618
|
+
readonly type: "bytes";
|
|
619
|
+
}, {
|
|
620
|
+
readonly internalType: "bytes";
|
|
621
|
+
readonly name: "ca";
|
|
622
|
+
readonly type: "bytes";
|
|
623
|
+
}, {
|
|
624
|
+
readonly internalType: "bytes32";
|
|
625
|
+
readonly name: "userData";
|
|
626
|
+
readonly type: "bytes32";
|
|
627
|
+
}, {
|
|
628
|
+
readonly internalType: "bytes";
|
|
629
|
+
readonly name: "publicKey";
|
|
630
|
+
readonly type: "bytes";
|
|
631
|
+
}, {
|
|
632
|
+
readonly internalType: "bytes";
|
|
633
|
+
readonly name: "serialNumber";
|
|
634
|
+
readonly type: "bytes";
|
|
635
|
+
}, {
|
|
636
|
+
readonly internalType: "bytes32";
|
|
637
|
+
readonly name: "mrEnclave";
|
|
638
|
+
readonly type: "bytes32";
|
|
639
|
+
}, {
|
|
640
|
+
readonly internalType: "bytes32";
|
|
641
|
+
readonly name: "mrSigner";
|
|
642
|
+
readonly type: "bytes32";
|
|
643
|
+
}, {
|
|
644
|
+
readonly internalType: "bytes";
|
|
645
|
+
readonly name: "signature";
|
|
646
|
+
readonly type: "bytes";
|
|
647
|
+
}];
|
|
648
|
+
readonly internalType: "struct ChunkedX509Cert[]";
|
|
649
|
+
readonly name: "certsChain";
|
|
650
|
+
readonly type: "tuple[]";
|
|
651
|
+
}, {
|
|
647
652
|
readonly internalType: "uint256";
|
|
648
|
-
readonly name: "
|
|
653
|
+
readonly name: "rootCertId";
|
|
654
|
+
readonly type: "uint256";
|
|
655
|
+
}, {
|
|
656
|
+
readonly internalType: "uint256";
|
|
657
|
+
readonly name: "teeOfferId";
|
|
649
658
|
readonly type: "uint256";
|
|
650
659
|
}, {
|
|
651
660
|
readonly components: readonly [{
|
|
@@ -668,6 +677,10 @@ export declare const abi: readonly [{
|
|
|
668
677
|
readonly internalType: "uint64";
|
|
669
678
|
readonly name: "networkSize";
|
|
670
679
|
readonly type: "uint64";
|
|
680
|
+
}, {
|
|
681
|
+
readonly internalType: "uint64";
|
|
682
|
+
readonly name: "vramSize";
|
|
683
|
+
readonly type: "uint64";
|
|
671
684
|
}, {
|
|
672
685
|
readonly internalType: "uint32";
|
|
673
686
|
readonly name: "cpuMark";
|
|
@@ -688,81 +701,79 @@ export declare const abi: readonly [{
|
|
|
688
701
|
readonly internalType: "uint32";
|
|
689
702
|
readonly name: "networkMark";
|
|
690
703
|
readonly type: "uint32";
|
|
704
|
+
}, {
|
|
705
|
+
readonly components: readonly [{
|
|
706
|
+
readonly internalType: "bytes16";
|
|
707
|
+
readonly name: "vendorId";
|
|
708
|
+
readonly type: "bytes16";
|
|
709
|
+
}, {
|
|
710
|
+
readonly internalType: "uint128";
|
|
711
|
+
readonly name: "cpuFamily";
|
|
712
|
+
readonly type: "uint128";
|
|
713
|
+
}, {
|
|
714
|
+
readonly internalType: "uint128";
|
|
715
|
+
readonly name: "model";
|
|
716
|
+
readonly type: "uint128";
|
|
717
|
+
}, {
|
|
718
|
+
readonly internalType: "bytes16";
|
|
719
|
+
readonly name: "modelName";
|
|
720
|
+
readonly type: "bytes16";
|
|
721
|
+
}, {
|
|
722
|
+
readonly internalType: "uint32";
|
|
723
|
+
readonly name: "totalPhysicalCores";
|
|
724
|
+
readonly type: "uint32";
|
|
725
|
+
}, {
|
|
726
|
+
readonly internalType: "uint32";
|
|
727
|
+
readonly name: "baseFreq";
|
|
728
|
+
readonly type: "uint32";
|
|
729
|
+
}, {
|
|
730
|
+
readonly internalType: "uint32";
|
|
731
|
+
readonly name: "maxFreq";
|
|
732
|
+
readonly type: "uint32";
|
|
733
|
+
}];
|
|
734
|
+
readonly internalType: "struct CpuInfo";
|
|
735
|
+
readonly name: "cpuInfo";
|
|
736
|
+
readonly type: "tuple";
|
|
691
737
|
}];
|
|
692
|
-
readonly internalType: "struct
|
|
738
|
+
readonly internalType: "struct ConsensusBenchmarkView";
|
|
693
739
|
readonly name: "benchmark";
|
|
694
740
|
readonly type: "tuple";
|
|
695
|
-
}, {
|
|
696
|
-
readonly internalType: "string";
|
|
697
|
-
readonly name: "properties";
|
|
698
|
-
readonly type: "string";
|
|
699
|
-
}, {
|
|
700
|
-
readonly internalType: "bytes32";
|
|
701
|
-
readonly name: "deviceId";
|
|
702
|
-
readonly type: "bytes32";
|
|
703
|
-
}, {
|
|
704
|
-
readonly internalType: "string";
|
|
705
|
-
readonly name: "quote";
|
|
706
|
-
readonly type: "string";
|
|
707
741
|
}, {
|
|
708
742
|
readonly internalType: "string";
|
|
709
743
|
readonly name: "pubKey";
|
|
710
744
|
readonly type: "string";
|
|
711
745
|
}];
|
|
712
|
-
readonly name: "
|
|
746
|
+
readonly name: "addTcb";
|
|
713
747
|
readonly outputs: readonly [];
|
|
714
748
|
readonly stateMutability: "nonpayable";
|
|
715
749
|
readonly type: "function";
|
|
716
750
|
}, {
|
|
717
751
|
readonly inputs: readonly [{
|
|
718
|
-
readonly internalType: "
|
|
719
|
-
readonly name: "
|
|
720
|
-
readonly type: "
|
|
721
|
-
}, {
|
|
722
|
-
readonly internalType: "enum TcbStatus";
|
|
723
|
-
readonly name: "status";
|
|
724
|
-
readonly type: "uint8";
|
|
752
|
+
readonly internalType: "bytes32";
|
|
753
|
+
readonly name: "leafCertHash";
|
|
754
|
+
readonly type: "bytes32";
|
|
725
755
|
}];
|
|
726
|
-
readonly name: "
|
|
727
|
-
readonly outputs: readonly [
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
readonly inputs: readonly [{
|
|
732
|
-
readonly internalType: "uint8";
|
|
733
|
-
readonly name: "bits";
|
|
734
|
-
readonly type: "uint8";
|
|
735
|
-
}, {
|
|
736
|
-
readonly internalType: "uint256";
|
|
737
|
-
readonly name: "value";
|
|
738
|
-
readonly type: "uint256";
|
|
756
|
+
readonly name: "certHashIsUnique";
|
|
757
|
+
readonly outputs: readonly [{
|
|
758
|
+
readonly internalType: "bool";
|
|
759
|
+
readonly name: "";
|
|
760
|
+
readonly type: "bool";
|
|
739
761
|
}];
|
|
740
|
-
readonly
|
|
741
|
-
readonly type: "
|
|
762
|
+
readonly stateMutability: "view";
|
|
763
|
+
readonly type: "function";
|
|
742
764
|
}, {
|
|
743
|
-
readonly anonymous: false;
|
|
744
765
|
readonly inputs: readonly [{
|
|
745
|
-
readonly indexed: false;
|
|
746
766
|
readonly internalType: "uint256";
|
|
747
|
-
readonly name: "
|
|
767
|
+
readonly name: "teeOfferId";
|
|
748
768
|
readonly type: "uint256";
|
|
749
|
-
}, {
|
|
750
|
-
readonly indexed: true;
|
|
751
|
-
readonly internalType: "address";
|
|
752
|
-
readonly name: "provider";
|
|
753
|
-
readonly type: "address";
|
|
754
769
|
}];
|
|
755
|
-
readonly name: "
|
|
756
|
-
readonly
|
|
757
|
-
}, {
|
|
758
|
-
readonly inputs: readonly [{
|
|
770
|
+
readonly name: "getActualTcbId";
|
|
771
|
+
readonly outputs: readonly [{
|
|
759
772
|
readonly internalType: "uint256";
|
|
760
|
-
readonly name: "
|
|
773
|
+
readonly name: "";
|
|
761
774
|
readonly type: "uint256";
|
|
762
775
|
}];
|
|
763
|
-
readonly
|
|
764
|
-
readonly outputs: readonly [];
|
|
765
|
-
readonly stateMutability: "nonpayable";
|
|
776
|
+
readonly stateMutability: "view";
|
|
766
777
|
readonly type: "function";
|
|
767
778
|
}, {
|
|
768
779
|
readonly inputs: readonly [{
|
|
@@ -770,49 +781,154 @@ export declare const abi: readonly [{
|
|
|
770
781
|
readonly name: "tcbId";
|
|
771
782
|
readonly type: "uint256";
|
|
772
783
|
}];
|
|
773
|
-
readonly name: "
|
|
774
|
-
readonly outputs: readonly [
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
784
|
+
readonly name: "getTcbById";
|
|
785
|
+
readonly outputs: readonly [{
|
|
786
|
+
readonly components: readonly [{
|
|
787
|
+
readonly internalType: "uint256";
|
|
788
|
+
readonly name: "previousTcb";
|
|
789
|
+
readonly type: "uint256";
|
|
790
|
+
}, {
|
|
791
|
+
readonly internalType: "uint256";
|
|
792
|
+
readonly name: "lastBlocksTakenAmount_DEPRECATED";
|
|
793
|
+
readonly type: "uint256";
|
|
794
|
+
}, {
|
|
795
|
+
readonly internalType: "uint256";
|
|
796
|
+
readonly name: "suspiciousBlocksTakenAmount_DEPRECATED";
|
|
797
|
+
readonly type: "uint256";
|
|
798
|
+
}, {
|
|
799
|
+
readonly internalType: "uint256";
|
|
800
|
+
readonly name: "epochIndex";
|
|
801
|
+
readonly type: "uint256";
|
|
802
|
+
}, {
|
|
803
|
+
readonly internalType: "uint64";
|
|
804
|
+
readonly name: "timeAdded";
|
|
805
|
+
readonly type: "uint64";
|
|
806
|
+
}, {
|
|
807
|
+
readonly internalType: "enum TcbStatus";
|
|
808
|
+
readonly name: "status";
|
|
809
|
+
readonly type: "uint8";
|
|
810
|
+
}, {
|
|
811
|
+
readonly internalType: "uint16";
|
|
812
|
+
readonly name: "negative_DEPRECATED";
|
|
813
|
+
readonly type: "uint16";
|
|
814
|
+
}, {
|
|
815
|
+
readonly internalType: "uint16";
|
|
816
|
+
readonly name: "positive_DEPRECATED";
|
|
817
|
+
readonly type: "uint16";
|
|
818
|
+
}, {
|
|
819
|
+
readonly internalType: "bool";
|
|
820
|
+
readonly name: "lastBlocksTaken_DEPRECATED";
|
|
821
|
+
readonly type: "bool";
|
|
822
|
+
}, {
|
|
823
|
+
readonly internalType: "bool";
|
|
824
|
+
readonly name: "suspiciousBlocksTaken_DEPRECATED";
|
|
825
|
+
readonly type: "bool";
|
|
826
|
+
}, {
|
|
827
|
+
readonly internalType: "bool";
|
|
828
|
+
readonly name: "checked_DEPRECATED";
|
|
829
|
+
readonly type: "bool";
|
|
830
|
+
}, {
|
|
831
|
+
readonly components: readonly [{
|
|
832
|
+
readonly internalType: "bytes[]";
|
|
833
|
+
readonly name: "nonSerializedParts";
|
|
834
|
+
readonly type: "bytes[]";
|
|
835
|
+
}, {
|
|
836
|
+
readonly internalType: "bytes";
|
|
837
|
+
readonly name: "expirationDate";
|
|
838
|
+
readonly type: "bytes";
|
|
839
|
+
}, {
|
|
840
|
+
readonly internalType: "bytes";
|
|
841
|
+
readonly name: "ca";
|
|
842
|
+
readonly type: "bytes";
|
|
843
|
+
}, {
|
|
844
|
+
readonly internalType: "bytes32";
|
|
845
|
+
readonly name: "userData";
|
|
846
|
+
readonly type: "bytes32";
|
|
847
|
+
}, {
|
|
848
|
+
readonly internalType: "bytes";
|
|
849
|
+
readonly name: "publicKey";
|
|
850
|
+
readonly type: "bytes";
|
|
851
|
+
}, {
|
|
852
|
+
readonly internalType: "bytes";
|
|
853
|
+
readonly name: "serialNumber";
|
|
854
|
+
readonly type: "bytes";
|
|
855
|
+
}, {
|
|
856
|
+
readonly internalType: "bytes32";
|
|
857
|
+
readonly name: "mrEnclave";
|
|
858
|
+
readonly type: "bytes32";
|
|
859
|
+
}, {
|
|
860
|
+
readonly internalType: "bytes32";
|
|
861
|
+
readonly name: "mrSigner";
|
|
862
|
+
readonly type: "bytes32";
|
|
863
|
+
}, {
|
|
864
|
+
readonly internalType: "bytes";
|
|
865
|
+
readonly name: "signature";
|
|
866
|
+
readonly type: "bytes";
|
|
867
|
+
}];
|
|
868
|
+
readonly internalType: "struct ChunkedX509Cert[]";
|
|
869
|
+
readonly name: "certsChain";
|
|
870
|
+
readonly type: "tuple[]";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "uint256";
|
|
873
|
+
readonly name: "rootCertId";
|
|
874
|
+
readonly type: "uint256";
|
|
875
|
+
}];
|
|
876
|
+
readonly internalType: "struct Tcb";
|
|
877
|
+
readonly name: "response";
|
|
878
|
+
readonly type: "tuple";
|
|
782
879
|
}];
|
|
783
|
-
readonly
|
|
784
|
-
readonly outputs: readonly [];
|
|
785
|
-
readonly stateMutability: "nonpayable";
|
|
880
|
+
readonly stateMutability: "view";
|
|
786
881
|
readonly type: "function";
|
|
787
882
|
}, {
|
|
788
|
-
readonly inputs: readonly [
|
|
883
|
+
readonly inputs: readonly [];
|
|
884
|
+
readonly name: "getTcbsCount";
|
|
885
|
+
readonly outputs: readonly [{
|
|
789
886
|
readonly internalType: "uint256";
|
|
790
|
-
readonly name: "
|
|
887
|
+
readonly name: "";
|
|
791
888
|
readonly type: "uint256";
|
|
792
889
|
}];
|
|
793
|
-
readonly
|
|
794
|
-
readonly outputs: readonly [];
|
|
795
|
-
readonly stateMutability: "nonpayable";
|
|
890
|
+
readonly stateMutability: "view";
|
|
796
891
|
readonly type: "function";
|
|
797
892
|
}, {
|
|
798
893
|
readonly inputs: readonly [{
|
|
799
|
-
readonly internalType: "uint256";
|
|
800
|
-
readonly name: "
|
|
801
|
-
readonly type: "uint256";
|
|
894
|
+
readonly internalType: "uint256[]";
|
|
895
|
+
readonly name: "tcbIds";
|
|
896
|
+
readonly type: "uint256[]";
|
|
802
897
|
}];
|
|
803
|
-
readonly name: "
|
|
804
|
-
readonly outputs: readonly [
|
|
805
|
-
|
|
898
|
+
readonly name: "getTcbsEpochIndex";
|
|
899
|
+
readonly outputs: readonly [{
|
|
900
|
+
readonly internalType: "uint256[]";
|
|
901
|
+
readonly name: "epochIndexes";
|
|
902
|
+
readonly type: "uint256[]";
|
|
903
|
+
}];
|
|
904
|
+
readonly stateMutability: "view";
|
|
806
905
|
readonly type: "function";
|
|
807
906
|
}, {
|
|
808
907
|
readonly inputs: readonly [{
|
|
809
|
-
readonly internalType: "uint256";
|
|
810
|
-
readonly name: "
|
|
811
|
-
readonly type: "uint256";
|
|
908
|
+
readonly internalType: "uint256[]";
|
|
909
|
+
readonly name: "tcbIds";
|
|
910
|
+
readonly type: "uint256[]";
|
|
812
911
|
}];
|
|
813
|
-
readonly name: "
|
|
814
|
-
readonly outputs: readonly [
|
|
815
|
-
|
|
912
|
+
readonly name: "getTcbsUtilityData";
|
|
913
|
+
readonly outputs: readonly [{
|
|
914
|
+
readonly components: readonly [{
|
|
915
|
+
readonly internalType: "uint256";
|
|
916
|
+
readonly name: "teeOfferId";
|
|
917
|
+
readonly type: "uint256";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "string";
|
|
920
|
+
readonly name: "pubKey";
|
|
921
|
+
readonly type: "string";
|
|
922
|
+
}, {
|
|
923
|
+
readonly internalType: "string";
|
|
924
|
+
readonly name: "quote_DEPRECATED";
|
|
925
|
+
readonly type: "string";
|
|
926
|
+
}];
|
|
927
|
+
readonly internalType: "struct TcbUtilityData[]";
|
|
928
|
+
readonly name: "";
|
|
929
|
+
readonly type: "tuple[]";
|
|
930
|
+
}];
|
|
931
|
+
readonly stateMutability: "view";
|
|
816
932
|
readonly type: "function";
|
|
817
933
|
}, {
|
|
818
934
|
readonly inputs: readonly [{
|
|
@@ -820,19 +936,39 @@ export declare const abi: readonly [{
|
|
|
820
936
|
readonly name: "tcbId";
|
|
821
937
|
readonly type: "uint256";
|
|
822
938
|
}];
|
|
823
|
-
readonly name: "
|
|
824
|
-
readonly outputs: readonly [
|
|
825
|
-
|
|
939
|
+
readonly name: "isTcbBanned";
|
|
940
|
+
readonly outputs: readonly [{
|
|
941
|
+
readonly internalType: "bool";
|
|
942
|
+
readonly name: "";
|
|
943
|
+
readonly type: "bool";
|
|
944
|
+
}];
|
|
945
|
+
readonly stateMutability: "view";
|
|
826
946
|
readonly type: "function";
|
|
827
947
|
}, {
|
|
828
948
|
readonly inputs: readonly [{
|
|
829
949
|
readonly internalType: "uint256";
|
|
830
|
-
readonly name: "
|
|
950
|
+
readonly name: "teeOfferId";
|
|
831
951
|
readonly type: "uint256";
|
|
952
|
+
}, {
|
|
953
|
+
readonly internalType: "string";
|
|
954
|
+
readonly name: "pubKey";
|
|
955
|
+
readonly type: "string";
|
|
956
|
+
}];
|
|
957
|
+
readonly name: "isTcbCreationAvailable";
|
|
958
|
+
readonly outputs: readonly [{
|
|
959
|
+
readonly internalType: "bool";
|
|
960
|
+
readonly name: "offerNotBlocked";
|
|
961
|
+
readonly type: "bool";
|
|
962
|
+
}, {
|
|
963
|
+
readonly internalType: "bool";
|
|
964
|
+
readonly name: "newEpochStarted";
|
|
965
|
+
readonly type: "bool";
|
|
966
|
+
}, {
|
|
967
|
+
readonly internalType: "bool";
|
|
968
|
+
readonly name: "halfEpochPassed";
|
|
969
|
+
readonly type: "bool";
|
|
832
970
|
}];
|
|
833
|
-
readonly
|
|
834
|
-
readonly outputs: readonly [];
|
|
835
|
-
readonly stateMutability: "nonpayable";
|
|
971
|
+
readonly stateMutability: "view";
|
|
836
972
|
readonly type: "function";
|
|
837
973
|
}, {
|
|
838
974
|
readonly inputs: readonly [{
|
|
@@ -1225,6 +1361,18 @@ export declare const abi: readonly [{
|
|
|
1225
1361
|
readonly outputs: readonly [];
|
|
1226
1362
|
readonly stateMutability: "nonpayable";
|
|
1227
1363
|
readonly type: "function";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly inputs: readonly [{
|
|
1366
|
+
readonly internalType: "uint8";
|
|
1367
|
+
readonly name: "bits";
|
|
1368
|
+
readonly type: "uint8";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly internalType: "uint256";
|
|
1371
|
+
readonly name: "value";
|
|
1372
|
+
readonly type: "uint256";
|
|
1373
|
+
}];
|
|
1374
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
1375
|
+
readonly type: "error";
|
|
1228
1376
|
}, {
|
|
1229
1377
|
readonly anonymous: false;
|
|
1230
1378
|
readonly inputs: readonly [{
|
|
@@ -1439,31 +1587,6 @@ export declare const abi: readonly [{
|
|
|
1439
1587
|
readonly internalType: "struct TeeOfferInfo";
|
|
1440
1588
|
readonly name: "info";
|
|
1441
1589
|
readonly type: "tuple";
|
|
1442
|
-
}, {
|
|
1443
|
-
readonly components: readonly [{
|
|
1444
|
-
readonly internalType: "uint64";
|
|
1445
|
-
readonly name: "cpuCores";
|
|
1446
|
-
readonly type: "uint64";
|
|
1447
|
-
}, {
|
|
1448
|
-
readonly internalType: "uint64";
|
|
1449
|
-
readonly name: "ram";
|
|
1450
|
-
readonly type: "uint64";
|
|
1451
|
-
}, {
|
|
1452
|
-
readonly internalType: "uint64";
|
|
1453
|
-
readonly name: "diskUsage";
|
|
1454
|
-
readonly type: "uint64";
|
|
1455
|
-
}, {
|
|
1456
|
-
readonly internalType: "uint64";
|
|
1457
|
-
readonly name: "gpuCores";
|
|
1458
|
-
readonly type: "uint64";
|
|
1459
|
-
}, {
|
|
1460
|
-
readonly internalType: "uint64";
|
|
1461
|
-
readonly name: "vram";
|
|
1462
|
-
readonly type: "uint64";
|
|
1463
|
-
}];
|
|
1464
|
-
readonly internalType: "struct SlotInfo";
|
|
1465
|
-
readonly name: "slotInfo";
|
|
1466
|
-
readonly type: "tuple";
|
|
1467
1590
|
}, {
|
|
1468
1591
|
readonly components: readonly [{
|
|
1469
1592
|
readonly internalType: "string";
|
|
@@ -1717,6 +1840,25 @@ export declare const abi: readonly [{
|
|
|
1717
1840
|
readonly outputs: readonly [];
|
|
1718
1841
|
readonly stateMutability: "nonpayable";
|
|
1719
1842
|
readonly type: "function";
|
|
1843
|
+
}, {
|
|
1844
|
+
readonly inputs: readonly [{
|
|
1845
|
+
readonly internalType: "uint256";
|
|
1846
|
+
readonly name: "offerId";
|
|
1847
|
+
readonly type: "uint256";
|
|
1848
|
+
}, {
|
|
1849
|
+
readonly components: readonly [{
|
|
1850
|
+
readonly internalType: "string";
|
|
1851
|
+
readonly name: "data";
|
|
1852
|
+
readonly type: "string";
|
|
1853
|
+
}];
|
|
1854
|
+
readonly internalType: "struct OptionInfo";
|
|
1855
|
+
readonly name: "newOptionInfo";
|
|
1856
|
+
readonly type: "tuple";
|
|
1857
|
+
}];
|
|
1858
|
+
readonly name: "setTeeOfferHardwareOptionInfo";
|
|
1859
|
+
readonly outputs: readonly [];
|
|
1860
|
+
readonly stateMutability: "nonpayable";
|
|
1861
|
+
readonly type: "function";
|
|
1720
1862
|
}, {
|
|
1721
1863
|
readonly inputs: readonly [{
|
|
1722
1864
|
readonly internalType: "uint256";
|
|
@@ -1747,17 +1889,8 @@ export declare const abi: readonly [{
|
|
|
1747
1889
|
readonly internalType: "struct SlotInfo";
|
|
1748
1890
|
readonly name: "newSlotInfo";
|
|
1749
1891
|
readonly type: "tuple";
|
|
1750
|
-
}, {
|
|
1751
|
-
readonly components: readonly [{
|
|
1752
|
-
readonly internalType: "string";
|
|
1753
|
-
readonly name: "data";
|
|
1754
|
-
readonly type: "string";
|
|
1755
|
-
}];
|
|
1756
|
-
readonly internalType: "struct OptionInfo";
|
|
1757
|
-
readonly name: "newOptionInfo";
|
|
1758
|
-
readonly type: "tuple";
|
|
1759
1892
|
}];
|
|
1760
|
-
readonly name: "
|
|
1893
|
+
readonly name: "setTeeOfferHardwareSlotInfo";
|
|
1761
1894
|
readonly outputs: readonly [];
|
|
1762
1895
|
readonly stateMutability: "nonpayable";
|
|
1763
1896
|
readonly type: "function";
|
|
@@ -5570,15 +5703,101 @@ export declare const abi: readonly [{
|
|
|
5570
5703
|
}, {
|
|
5571
5704
|
readonly inputs: readonly [{
|
|
5572
5705
|
readonly internalType: "uint256";
|
|
5573
|
-
readonly name: "
|
|
5706
|
+
readonly name: "teeOfferId";
|
|
5574
5707
|
readonly type: "uint256";
|
|
5708
|
+
}, {
|
|
5709
|
+
readonly components: readonly [{
|
|
5710
|
+
readonly internalType: "uint64";
|
|
5711
|
+
readonly name: "cpuSize";
|
|
5712
|
+
readonly type: "uint64";
|
|
5713
|
+
}, {
|
|
5714
|
+
readonly internalType: "uint64";
|
|
5715
|
+
readonly name: "ramSize";
|
|
5716
|
+
readonly type: "uint64";
|
|
5717
|
+
}, {
|
|
5718
|
+
readonly internalType: "uint64";
|
|
5719
|
+
readonly name: "gpuSize";
|
|
5720
|
+
readonly type: "uint64";
|
|
5721
|
+
}, {
|
|
5722
|
+
readonly internalType: "uint64";
|
|
5723
|
+
readonly name: "diskSize";
|
|
5724
|
+
readonly type: "uint64";
|
|
5725
|
+
}, {
|
|
5726
|
+
readonly internalType: "uint64";
|
|
5727
|
+
readonly name: "networkSize";
|
|
5728
|
+
readonly type: "uint64";
|
|
5729
|
+
}, {
|
|
5730
|
+
readonly internalType: "uint64";
|
|
5731
|
+
readonly name: "vramSize";
|
|
5732
|
+
readonly type: "uint64";
|
|
5733
|
+
}, {
|
|
5734
|
+
readonly internalType: "uint32";
|
|
5735
|
+
readonly name: "cpuMark";
|
|
5736
|
+
readonly type: "uint32";
|
|
5737
|
+
}, {
|
|
5738
|
+
readonly internalType: "uint32";
|
|
5739
|
+
readonly name: "ramMark";
|
|
5740
|
+
readonly type: "uint32";
|
|
5741
|
+
}, {
|
|
5742
|
+
readonly internalType: "uint32";
|
|
5743
|
+
readonly name: "gpuMark";
|
|
5744
|
+
readonly type: "uint32";
|
|
5745
|
+
}, {
|
|
5746
|
+
readonly internalType: "uint32";
|
|
5747
|
+
readonly name: "diskMark";
|
|
5748
|
+
readonly type: "uint32";
|
|
5749
|
+
}, {
|
|
5750
|
+
readonly internalType: "uint32";
|
|
5751
|
+
readonly name: "networkMark";
|
|
5752
|
+
readonly type: "uint32";
|
|
5753
|
+
}, {
|
|
5754
|
+
readonly components: readonly [{
|
|
5755
|
+
readonly internalType: "bytes16";
|
|
5756
|
+
readonly name: "vendorId";
|
|
5757
|
+
readonly type: "bytes16";
|
|
5758
|
+
}, {
|
|
5759
|
+
readonly internalType: "uint128";
|
|
5760
|
+
readonly name: "cpuFamily";
|
|
5761
|
+
readonly type: "uint128";
|
|
5762
|
+
}, {
|
|
5763
|
+
readonly internalType: "uint128";
|
|
5764
|
+
readonly name: "model";
|
|
5765
|
+
readonly type: "uint128";
|
|
5766
|
+
}, {
|
|
5767
|
+
readonly internalType: "bytes16";
|
|
5768
|
+
readonly name: "modelName";
|
|
5769
|
+
readonly type: "bytes16";
|
|
5770
|
+
}, {
|
|
5771
|
+
readonly internalType: "uint32";
|
|
5772
|
+
readonly name: "totalPhysicalCores";
|
|
5773
|
+
readonly type: "uint32";
|
|
5774
|
+
}, {
|
|
5775
|
+
readonly internalType: "uint32";
|
|
5776
|
+
readonly name: "baseFreq";
|
|
5777
|
+
readonly type: "uint32";
|
|
5778
|
+
}, {
|
|
5779
|
+
readonly internalType: "uint32";
|
|
5780
|
+
readonly name: "maxFreq";
|
|
5781
|
+
readonly type: "uint32";
|
|
5782
|
+
}];
|
|
5783
|
+
readonly internalType: "struct CpuInfo";
|
|
5784
|
+
readonly name: "cpuInfo";
|
|
5785
|
+
readonly type: "tuple";
|
|
5786
|
+
}];
|
|
5787
|
+
readonly internalType: "struct ConsensusBenchmarkView";
|
|
5788
|
+
readonly name: "benchmark";
|
|
5789
|
+
readonly type: "tuple";
|
|
5575
5790
|
}, {
|
|
5576
5791
|
readonly internalType: "uint256";
|
|
5577
|
-
readonly name: "
|
|
5792
|
+
readonly name: "tcbId";
|
|
5578
5793
|
readonly type: "uint256";
|
|
5579
5794
|
}];
|
|
5580
5795
|
readonly name: "addTcbToEpoch";
|
|
5581
|
-
readonly outputs: readonly [
|
|
5796
|
+
readonly outputs: readonly [{
|
|
5797
|
+
readonly internalType: "uint256";
|
|
5798
|
+
readonly name: "epochIndex";
|
|
5799
|
+
readonly type: "uint256";
|
|
5800
|
+
}];
|
|
5582
5801
|
readonly stateMutability: "nonpayable";
|
|
5583
5802
|
readonly type: "function";
|
|
5584
5803
|
}, {
|
|
@@ -5659,6 +5878,10 @@ export declare const abi: readonly [{
|
|
|
5659
5878
|
readonly internalType: "uint64";
|
|
5660
5879
|
readonly name: "networkSize";
|
|
5661
5880
|
readonly type: "uint64";
|
|
5881
|
+
}, {
|
|
5882
|
+
readonly internalType: "uint64";
|
|
5883
|
+
readonly name: "vramSize";
|
|
5884
|
+
readonly type: "uint64";
|
|
5662
5885
|
}, {
|
|
5663
5886
|
readonly internalType: "uint32";
|
|
5664
5887
|
readonly name: "cpuMark";
|
|
@@ -5679,8 +5902,41 @@ export declare const abi: readonly [{
|
|
|
5679
5902
|
readonly internalType: "uint32";
|
|
5680
5903
|
readonly name: "networkMark";
|
|
5681
5904
|
readonly type: "uint32";
|
|
5905
|
+
}, {
|
|
5906
|
+
readonly components: readonly [{
|
|
5907
|
+
readonly internalType: "bytes16";
|
|
5908
|
+
readonly name: "vendorId";
|
|
5909
|
+
readonly type: "bytes16";
|
|
5910
|
+
}, {
|
|
5911
|
+
readonly internalType: "uint128";
|
|
5912
|
+
readonly name: "cpuFamily";
|
|
5913
|
+
readonly type: "uint128";
|
|
5914
|
+
}, {
|
|
5915
|
+
readonly internalType: "uint128";
|
|
5916
|
+
readonly name: "model";
|
|
5917
|
+
readonly type: "uint128";
|
|
5918
|
+
}, {
|
|
5919
|
+
readonly internalType: "bytes16";
|
|
5920
|
+
readonly name: "modelName";
|
|
5921
|
+
readonly type: "bytes16";
|
|
5922
|
+
}, {
|
|
5923
|
+
readonly internalType: "uint32";
|
|
5924
|
+
readonly name: "totalPhysicalCores";
|
|
5925
|
+
readonly type: "uint32";
|
|
5926
|
+
}, {
|
|
5927
|
+
readonly internalType: "uint32";
|
|
5928
|
+
readonly name: "baseFreq";
|
|
5929
|
+
readonly type: "uint32";
|
|
5930
|
+
}, {
|
|
5931
|
+
readonly internalType: "uint32";
|
|
5932
|
+
readonly name: "maxFreq";
|
|
5933
|
+
readonly type: "uint32";
|
|
5934
|
+
}];
|
|
5935
|
+
readonly internalType: "struct CpuInfo";
|
|
5936
|
+
readonly name: "cpuInfo";
|
|
5937
|
+
readonly type: "tuple";
|
|
5682
5938
|
}];
|
|
5683
|
-
readonly internalType: "struct
|
|
5939
|
+
readonly internalType: "struct ConsensusBenchmarkView";
|
|
5684
5940
|
readonly name: "";
|
|
5685
5941
|
readonly type: "tuple";
|
|
5686
5942
|
}];
|
|
@@ -5754,100 +6010,33 @@ export declare const abi: readonly [{
|
|
|
5754
6010
|
}, {
|
|
5755
6011
|
readonly internalType: "uint256";
|
|
5756
6012
|
readonly name: "previousValuableEpochPosition";
|
|
5757
|
-
readonly type: "uint256";
|
|
5758
|
-
}];
|
|
5759
|
-
readonly name: "getValueReward";
|
|
5760
|
-
readonly outputs: readonly [{
|
|
5761
|
-
readonly internalType: "uint256";
|
|
5762
|
-
readonly name: "reward";
|
|
5763
|
-
readonly type: "uint256";
|
|
5764
|
-
}];
|
|
5765
|
-
readonly stateMutability: "view";
|
|
5766
|
-
readonly type: "function";
|
|
5767
|
-
}, {
|
|
5768
|
-
readonly inputs: readonly [{
|
|
5769
|
-
readonly internalType: "uint256";
|
|
5770
|
-
readonly name: "tcbReward";
|
|
5771
|
-
readonly type: "uint256";
|
|
5772
|
-
}];
|
|
5773
|
-
readonly name: "increaseClaimedByUnlockTcbReward";
|
|
5774
|
-
readonly outputs: readonly [];
|
|
5775
|
-
readonly stateMutability: "nonpayable";
|
|
5776
|
-
readonly type: "function";
|
|
5777
|
-
}, {
|
|
5778
|
-
readonly inputs: readonly [{
|
|
5779
|
-
readonly internalType: "uint256";
|
|
5780
|
-
readonly name: "compensation";
|
|
5781
|
-
readonly type: "uint256";
|
|
5782
|
-
}, {
|
|
5783
|
-
readonly internalType: "bool";
|
|
5784
|
-
readonly name: "updateRewardAccounting";
|
|
5785
|
-
readonly type: "bool";
|
|
5786
|
-
}];
|
|
5787
|
-
readonly name: "increaseNextEpochCompensation";
|
|
5788
|
-
readonly outputs: readonly [];
|
|
5789
|
-
readonly stateMutability: "nonpayable";
|
|
5790
|
-
readonly type: "function";
|
|
5791
|
-
}, {
|
|
5792
|
-
readonly inputs: readonly [{
|
|
5793
|
-
readonly internalType: "uint256";
|
|
5794
|
-
readonly name: "epochIndex";
|
|
5795
|
-
readonly type: "uint256";
|
|
5796
|
-
}, {
|
|
5797
|
-
readonly internalType: "uint256";
|
|
5798
|
-
readonly name: "teeOfferId";
|
|
5799
|
-
readonly type: "uint256";
|
|
5800
|
-
}, {
|
|
5801
|
-
readonly components: readonly [{
|
|
5802
|
-
readonly internalType: "uint64";
|
|
5803
|
-
readonly name: "cpuSize";
|
|
5804
|
-
readonly type: "uint64";
|
|
5805
|
-
}, {
|
|
5806
|
-
readonly internalType: "uint64";
|
|
5807
|
-
readonly name: "ramSize";
|
|
5808
|
-
readonly type: "uint64";
|
|
5809
|
-
}, {
|
|
5810
|
-
readonly internalType: "uint64";
|
|
5811
|
-
readonly name: "gpuSize";
|
|
5812
|
-
readonly type: "uint64";
|
|
5813
|
-
}, {
|
|
5814
|
-
readonly internalType: "uint64";
|
|
5815
|
-
readonly name: "diskSize";
|
|
5816
|
-
readonly type: "uint64";
|
|
5817
|
-
}, {
|
|
5818
|
-
readonly internalType: "uint64";
|
|
5819
|
-
readonly name: "networkSize";
|
|
5820
|
-
readonly type: "uint64";
|
|
5821
|
-
}, {
|
|
5822
|
-
readonly internalType: "uint32";
|
|
5823
|
-
readonly name: "cpuMark";
|
|
5824
|
-
readonly type: "uint32";
|
|
5825
|
-
}, {
|
|
5826
|
-
readonly internalType: "uint32";
|
|
5827
|
-
readonly name: "ramMark";
|
|
5828
|
-
readonly type: "uint32";
|
|
5829
|
-
}, {
|
|
5830
|
-
readonly internalType: "uint32";
|
|
5831
|
-
readonly name: "gpuMark";
|
|
5832
|
-
readonly type: "uint32";
|
|
5833
|
-
}, {
|
|
5834
|
-
readonly internalType: "uint32";
|
|
5835
|
-
readonly name: "diskMark";
|
|
5836
|
-
readonly type: "uint32";
|
|
5837
|
-
}, {
|
|
5838
|
-
readonly internalType: "uint32";
|
|
5839
|
-
readonly name: "networkMark";
|
|
5840
|
-
readonly type: "uint32";
|
|
5841
|
-
}];
|
|
5842
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
5843
|
-
readonly name: "benchmark";
|
|
5844
|
-
readonly type: "tuple";
|
|
5845
|
-
}, {
|
|
6013
|
+
readonly type: "uint256";
|
|
6014
|
+
}];
|
|
6015
|
+
readonly name: "getValueReward";
|
|
6016
|
+
readonly outputs: readonly [{
|
|
5846
6017
|
readonly internalType: "uint256";
|
|
5847
|
-
readonly name: "
|
|
6018
|
+
readonly name: "reward";
|
|
6019
|
+
readonly type: "uint256";
|
|
6020
|
+
}];
|
|
6021
|
+
readonly stateMutability: "view";
|
|
6022
|
+
readonly type: "function";
|
|
6023
|
+
}, {
|
|
6024
|
+
readonly inputs: readonly [{
|
|
6025
|
+
readonly internalType: "uint256";
|
|
6026
|
+
readonly name: "tcbReward";
|
|
6027
|
+
readonly type: "uint256";
|
|
6028
|
+
}];
|
|
6029
|
+
readonly name: "increaseClaimedByUnlockTcbReward";
|
|
6030
|
+
readonly outputs: readonly [];
|
|
6031
|
+
readonly stateMutability: "nonpayable";
|
|
6032
|
+
readonly type: "function";
|
|
6033
|
+
}, {
|
|
6034
|
+
readonly inputs: readonly [{
|
|
6035
|
+
readonly internalType: "uint256";
|
|
6036
|
+
readonly name: "compensation";
|
|
5848
6037
|
readonly type: "uint256";
|
|
5849
6038
|
}];
|
|
5850
|
-
readonly name: "
|
|
6039
|
+
readonly name: "increaseNextEpochCompensation";
|
|
5851
6040
|
readonly outputs: readonly [];
|
|
5852
6041
|
readonly stateMutability: "nonpayable";
|
|
5853
6042
|
readonly type: "function";
|
|
@@ -5994,6 +6183,10 @@ export declare const abi: readonly [{
|
|
|
5994
6183
|
readonly internalType: "uint64";
|
|
5995
6184
|
readonly name: "networkSize";
|
|
5996
6185
|
readonly type: "uint64";
|
|
6186
|
+
}, {
|
|
6187
|
+
readonly internalType: "uint64";
|
|
6188
|
+
readonly name: "vramSize";
|
|
6189
|
+
readonly type: "uint64";
|
|
5997
6190
|
}, {
|
|
5998
6191
|
readonly internalType: "uint32";
|
|
5999
6192
|
readonly name: "cpuMark";
|
|
@@ -6014,8 +6207,41 @@ export declare const abi: readonly [{
|
|
|
6014
6207
|
readonly internalType: "uint32";
|
|
6015
6208
|
readonly name: "networkMark";
|
|
6016
6209
|
readonly type: "uint32";
|
|
6210
|
+
}, {
|
|
6211
|
+
readonly components: readonly [{
|
|
6212
|
+
readonly internalType: "bytes16";
|
|
6213
|
+
readonly name: "vendorId";
|
|
6214
|
+
readonly type: "bytes16";
|
|
6215
|
+
}, {
|
|
6216
|
+
readonly internalType: "uint128";
|
|
6217
|
+
readonly name: "cpuFamily";
|
|
6218
|
+
readonly type: "uint128";
|
|
6219
|
+
}, {
|
|
6220
|
+
readonly internalType: "uint128";
|
|
6221
|
+
readonly name: "model";
|
|
6222
|
+
readonly type: "uint128";
|
|
6223
|
+
}, {
|
|
6224
|
+
readonly internalType: "bytes16";
|
|
6225
|
+
readonly name: "modelName";
|
|
6226
|
+
readonly type: "bytes16";
|
|
6227
|
+
}, {
|
|
6228
|
+
readonly internalType: "uint32";
|
|
6229
|
+
readonly name: "totalPhysicalCores";
|
|
6230
|
+
readonly type: "uint32";
|
|
6231
|
+
}, {
|
|
6232
|
+
readonly internalType: "uint32";
|
|
6233
|
+
readonly name: "baseFreq";
|
|
6234
|
+
readonly type: "uint32";
|
|
6235
|
+
}, {
|
|
6236
|
+
readonly internalType: "uint32";
|
|
6237
|
+
readonly name: "maxFreq";
|
|
6238
|
+
readonly type: "uint32";
|
|
6239
|
+
}];
|
|
6240
|
+
readonly internalType: "struct CpuInfo";
|
|
6241
|
+
readonly name: "cpuInfo";
|
|
6242
|
+
readonly type: "tuple";
|
|
6017
6243
|
}];
|
|
6018
|
-
readonly internalType: "struct
|
|
6244
|
+
readonly internalType: "struct ConsensusBenchmarkView[]";
|
|
6019
6245
|
readonly name: "benchmarks";
|
|
6020
6246
|
readonly type: "tuple[]";
|
|
6021
6247
|
}];
|
|
@@ -6337,6 +6563,10 @@ export declare const abi: readonly [{
|
|
|
6337
6563
|
readonly internalType: "uint32";
|
|
6338
6564
|
readonly name: "networkMark";
|
|
6339
6565
|
readonly type: "uint32";
|
|
6566
|
+
}, {
|
|
6567
|
+
readonly internalType: "uint32";
|
|
6568
|
+
readonly name: "totalPhysicalCores";
|
|
6569
|
+
readonly type: "uint32";
|
|
6340
6570
|
}];
|
|
6341
6571
|
readonly internalType: "struct ConsensusBenchmark";
|
|
6342
6572
|
readonly name: "benchmark";
|
|
@@ -6349,6 +6579,39 @@ export declare const abi: readonly [{
|
|
|
6349
6579
|
readonly internalType: "bool";
|
|
6350
6580
|
readonly name: "benchmarkAdded";
|
|
6351
6581
|
readonly type: "bool";
|
|
6582
|
+
}, {
|
|
6583
|
+
readonly components: readonly [{
|
|
6584
|
+
readonly internalType: "uint64";
|
|
6585
|
+
readonly name: "vramSize";
|
|
6586
|
+
readonly type: "uint64";
|
|
6587
|
+
}, {
|
|
6588
|
+
readonly internalType: "bytes16";
|
|
6589
|
+
readonly name: "vendorId";
|
|
6590
|
+
readonly type: "bytes16";
|
|
6591
|
+
}, {
|
|
6592
|
+
readonly internalType: "uint32";
|
|
6593
|
+
readonly name: "baseFreq";
|
|
6594
|
+
readonly type: "uint32";
|
|
6595
|
+
}, {
|
|
6596
|
+
readonly internalType: "uint32";
|
|
6597
|
+
readonly name: "maxFreq";
|
|
6598
|
+
readonly type: "uint32";
|
|
6599
|
+
}, {
|
|
6600
|
+
readonly internalType: "uint128";
|
|
6601
|
+
readonly name: "cpuFamily";
|
|
6602
|
+
readonly type: "uint128";
|
|
6603
|
+
}, {
|
|
6604
|
+
readonly internalType: "uint128";
|
|
6605
|
+
readonly name: "model";
|
|
6606
|
+
readonly type: "uint128";
|
|
6607
|
+
}, {
|
|
6608
|
+
readonly internalType: "bytes16";
|
|
6609
|
+
readonly name: "modelName";
|
|
6610
|
+
readonly type: "bytes16";
|
|
6611
|
+
}];
|
|
6612
|
+
readonly internalType: "struct ConsensusBenchmark2";
|
|
6613
|
+
readonly name: "benchmark2";
|
|
6614
|
+
readonly type: "tuple";
|
|
6352
6615
|
}];
|
|
6353
6616
|
readonly internalType: "struct ProviderRewardsStorageAccessor.TeeOffer";
|
|
6354
6617
|
readonly name: "";
|
|
@@ -8444,28 +8707,10 @@ export declare const abi: readonly [{
|
|
|
8444
8707
|
}, {
|
|
8445
8708
|
readonly inputs: readonly [{
|
|
8446
8709
|
readonly internalType: "uint256";
|
|
8447
|
-
readonly name: "
|
|
8448
|
-
readonly type: "uint256";
|
|
8449
|
-
}, {
|
|
8450
|
-
readonly internalType: "bytes32";
|
|
8451
|
-
readonly name: "deviceId";
|
|
8452
|
-
readonly type: "bytes32";
|
|
8453
|
-
}];
|
|
8454
|
-
readonly name: "banTeeOffer";
|
|
8455
|
-
readonly outputs: readonly [];
|
|
8456
|
-
readonly stateMutability: "nonpayable";
|
|
8457
|
-
readonly type: "function";
|
|
8458
|
-
}, {
|
|
8459
|
-
readonly inputs: readonly [{
|
|
8460
|
-
readonly internalType: "uint256";
|
|
8461
|
-
readonly name: "teeOfferId";
|
|
8710
|
+
readonly name: "tcbId";
|
|
8462
8711
|
readonly type: "uint256";
|
|
8463
|
-
}, {
|
|
8464
|
-
readonly internalType: "bytes32";
|
|
8465
|
-
readonly name: "deviceId";
|
|
8466
|
-
readonly type: "bytes32";
|
|
8467
8712
|
}];
|
|
8468
|
-
readonly name: "
|
|
8713
|
+
readonly name: "banTcb";
|
|
8469
8714
|
readonly outputs: readonly [];
|
|
8470
8715
|
readonly stateMutability: "nonpayable";
|
|
8471
8716
|
readonly type: "function";
|
|
@@ -8475,7 +8720,7 @@ export declare const abi: readonly [{
|
|
|
8475
8720
|
readonly name: "teeOfferId";
|
|
8476
8721
|
readonly type: "uint256";
|
|
8477
8722
|
}];
|
|
8478
|
-
readonly name: "
|
|
8723
|
+
readonly name: "banTeeOffer";
|
|
8479
8724
|
readonly outputs: readonly [];
|
|
8480
8725
|
readonly stateMutability: "nonpayable";
|
|
8481
8726
|
readonly type: "function";
|
|
@@ -8493,20 +8738,6 @@ export declare const abi: readonly [{
|
|
|
8493
8738
|
}];
|
|
8494
8739
|
readonly stateMutability: "view";
|
|
8495
8740
|
readonly type: "function";
|
|
8496
|
-
}, {
|
|
8497
|
-
readonly inputs: readonly [{
|
|
8498
|
-
readonly internalType: "bytes32";
|
|
8499
|
-
readonly name: "deviceId";
|
|
8500
|
-
readonly type: "bytes32";
|
|
8501
|
-
}];
|
|
8502
|
-
readonly name: "getTeeOfferByDeviceId";
|
|
8503
|
-
readonly outputs: readonly [{
|
|
8504
|
-
readonly internalType: "uint256";
|
|
8505
|
-
readonly name: "";
|
|
8506
|
-
readonly type: "uint256";
|
|
8507
|
-
}];
|
|
8508
|
-
readonly stateMutability: "view";
|
|
8509
|
-
readonly type: "function";
|
|
8510
8741
|
}, {
|
|
8511
8742
|
readonly inputs: readonly [{
|
|
8512
8743
|
readonly internalType: "uint256";
|
|
@@ -8527,65 +8758,28 @@ export declare const abi: readonly [{
|
|
|
8527
8758
|
readonly name: "teeOfferId";
|
|
8528
8759
|
readonly type: "uint256";
|
|
8529
8760
|
}];
|
|
8530
|
-
readonly name: "
|
|
8761
|
+
readonly name: "getTotalLockedOfferAmount";
|
|
8531
8762
|
readonly outputs: readonly [{
|
|
8532
|
-
readonly
|
|
8533
|
-
readonly internalType: "uint64";
|
|
8534
|
-
readonly name: "cpuSize";
|
|
8535
|
-
readonly type: "uint64";
|
|
8536
|
-
}, {
|
|
8537
|
-
readonly internalType: "uint64";
|
|
8538
|
-
readonly name: "ramSize";
|
|
8539
|
-
readonly type: "uint64";
|
|
8540
|
-
}, {
|
|
8541
|
-
readonly internalType: "uint64";
|
|
8542
|
-
readonly name: "gpuSize";
|
|
8543
|
-
readonly type: "uint64";
|
|
8544
|
-
}, {
|
|
8545
|
-
readonly internalType: "uint64";
|
|
8546
|
-
readonly name: "diskSize";
|
|
8547
|
-
readonly type: "uint64";
|
|
8548
|
-
}, {
|
|
8549
|
-
readonly internalType: "uint64";
|
|
8550
|
-
readonly name: "networkSize";
|
|
8551
|
-
readonly type: "uint64";
|
|
8552
|
-
}, {
|
|
8553
|
-
readonly internalType: "uint32";
|
|
8554
|
-
readonly name: "cpuMark";
|
|
8555
|
-
readonly type: "uint32";
|
|
8556
|
-
}, {
|
|
8557
|
-
readonly internalType: "uint32";
|
|
8558
|
-
readonly name: "ramMark";
|
|
8559
|
-
readonly type: "uint32";
|
|
8560
|
-
}, {
|
|
8561
|
-
readonly internalType: "uint32";
|
|
8562
|
-
readonly name: "gpuMark";
|
|
8563
|
-
readonly type: "uint32";
|
|
8564
|
-
}, {
|
|
8565
|
-
readonly internalType: "uint32";
|
|
8566
|
-
readonly name: "diskMark";
|
|
8567
|
-
readonly type: "uint32";
|
|
8568
|
-
}, {
|
|
8569
|
-
readonly internalType: "uint32";
|
|
8570
|
-
readonly name: "networkMark";
|
|
8571
|
-
readonly type: "uint32";
|
|
8572
|
-
}];
|
|
8573
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
8763
|
+
readonly internalType: "uint256";
|
|
8574
8764
|
readonly name: "";
|
|
8575
|
-
readonly type: "
|
|
8765
|
+
readonly type: "uint256";
|
|
8576
8766
|
}];
|
|
8577
8767
|
readonly stateMutability: "view";
|
|
8578
8768
|
readonly type: "function";
|
|
8579
8769
|
}, {
|
|
8580
8770
|
readonly inputs: readonly [{
|
|
8581
8771
|
readonly internalType: "uint256";
|
|
8582
|
-
readonly name: "
|
|
8772
|
+
readonly name: "tcbId";
|
|
8583
8773
|
readonly type: "uint256";
|
|
8584
8774
|
}];
|
|
8585
|
-
readonly name: "
|
|
8775
|
+
readonly name: "isTcbProfitAvailable";
|
|
8586
8776
|
readonly outputs: readonly [{
|
|
8777
|
+
readonly internalType: "bool";
|
|
8778
|
+
readonly name: "available";
|
|
8779
|
+
readonly type: "bool";
|
|
8780
|
+
}, {
|
|
8587
8781
|
readonly internalType: "uint256";
|
|
8588
|
-
readonly name: "";
|
|
8782
|
+
readonly name: "amount";
|
|
8589
8783
|
readonly type: "uint256";
|
|
8590
8784
|
}];
|
|
8591
8785
|
readonly stateMutability: "view";
|
|
@@ -8596,25 +8790,11 @@ export declare const abi: readonly [{
|
|
|
8596
8790
|
readonly name: "teeOfferId";
|
|
8597
8791
|
readonly type: "uint256";
|
|
8598
8792
|
}];
|
|
8599
|
-
readonly name: "
|
|
8600
|
-
readonly outputs: readonly [];
|
|
8601
|
-
readonly stateMutability: "nonpayable";
|
|
8602
|
-
readonly type: "function";
|
|
8603
|
-
}, {
|
|
8604
|
-
readonly inputs: readonly [{
|
|
8605
|
-
readonly internalType: "uint256";
|
|
8606
|
-
readonly name: "tcbId";
|
|
8607
|
-
readonly type: "uint256";
|
|
8608
|
-
}];
|
|
8609
|
-
readonly name: "isTcbProfitAvailable";
|
|
8793
|
+
readonly name: "isTeeOfferBanned";
|
|
8610
8794
|
readonly outputs: readonly [{
|
|
8611
8795
|
readonly internalType: "bool";
|
|
8612
|
-
readonly name: "
|
|
8796
|
+
readonly name: "";
|
|
8613
8797
|
readonly type: "bool";
|
|
8614
|
-
}, {
|
|
8615
|
-
readonly internalType: "uint256";
|
|
8616
|
-
readonly name: "amount";
|
|
8617
|
-
readonly type: "uint256";
|
|
8618
8798
|
}];
|
|
8619
8799
|
readonly stateMutability: "view";
|
|
8620
8800
|
readonly type: "function";
|
|
@@ -8636,20 +8816,6 @@ export declare const abi: readonly [{
|
|
|
8636
8816
|
readonly outputs: readonly [];
|
|
8637
8817
|
readonly stateMutability: "nonpayable";
|
|
8638
8818
|
readonly type: "function";
|
|
8639
|
-
}, {
|
|
8640
|
-
readonly inputs: readonly [{
|
|
8641
|
-
readonly internalType: "uint256";
|
|
8642
|
-
readonly name: "teeOfferId";
|
|
8643
|
-
readonly type: "uint256";
|
|
8644
|
-
}, {
|
|
8645
|
-
readonly internalType: "bytes32";
|
|
8646
|
-
readonly name: "deviceId";
|
|
8647
|
-
readonly type: "bytes32";
|
|
8648
|
-
}];
|
|
8649
|
-
readonly name: "setTeeDeviceId";
|
|
8650
|
-
readonly outputs: readonly [];
|
|
8651
|
-
readonly stateMutability: "nonpayable";
|
|
8652
|
-
readonly type: "function";
|
|
8653
8819
|
}, {
|
|
8654
8820
|
readonly inputs: readonly [{
|
|
8655
8821
|
readonly internalType: "uint256";
|
|
@@ -8674,61 +8840,6 @@ export declare const abi: readonly [{
|
|
|
8674
8840
|
}];
|
|
8675
8841
|
readonly stateMutability: "nonpayable";
|
|
8676
8842
|
readonly type: "function";
|
|
8677
|
-
}, {
|
|
8678
|
-
readonly inputs: readonly [{
|
|
8679
|
-
readonly internalType: "uint256";
|
|
8680
|
-
readonly name: "teeOfferId";
|
|
8681
|
-
readonly type: "uint256";
|
|
8682
|
-
}, {
|
|
8683
|
-
readonly components: readonly [{
|
|
8684
|
-
readonly internalType: "uint64";
|
|
8685
|
-
readonly name: "cpuSize";
|
|
8686
|
-
readonly type: "uint64";
|
|
8687
|
-
}, {
|
|
8688
|
-
readonly internalType: "uint64";
|
|
8689
|
-
readonly name: "ramSize";
|
|
8690
|
-
readonly type: "uint64";
|
|
8691
|
-
}, {
|
|
8692
|
-
readonly internalType: "uint64";
|
|
8693
|
-
readonly name: "gpuSize";
|
|
8694
|
-
readonly type: "uint64";
|
|
8695
|
-
}, {
|
|
8696
|
-
readonly internalType: "uint64";
|
|
8697
|
-
readonly name: "diskSize";
|
|
8698
|
-
readonly type: "uint64";
|
|
8699
|
-
}, {
|
|
8700
|
-
readonly internalType: "uint64";
|
|
8701
|
-
readonly name: "networkSize";
|
|
8702
|
-
readonly type: "uint64";
|
|
8703
|
-
}, {
|
|
8704
|
-
readonly internalType: "uint32";
|
|
8705
|
-
readonly name: "cpuMark";
|
|
8706
|
-
readonly type: "uint32";
|
|
8707
|
-
}, {
|
|
8708
|
-
readonly internalType: "uint32";
|
|
8709
|
-
readonly name: "ramMark";
|
|
8710
|
-
readonly type: "uint32";
|
|
8711
|
-
}, {
|
|
8712
|
-
readonly internalType: "uint32";
|
|
8713
|
-
readonly name: "gpuMark";
|
|
8714
|
-
readonly type: "uint32";
|
|
8715
|
-
}, {
|
|
8716
|
-
readonly internalType: "uint32";
|
|
8717
|
-
readonly name: "diskMark";
|
|
8718
|
-
readonly type: "uint32";
|
|
8719
|
-
}, {
|
|
8720
|
-
readonly internalType: "uint32";
|
|
8721
|
-
readonly name: "networkMark";
|
|
8722
|
-
readonly type: "uint32";
|
|
8723
|
-
}];
|
|
8724
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
8725
|
-
readonly name: "benchmark";
|
|
8726
|
-
readonly type: "tuple";
|
|
8727
|
-
}];
|
|
8728
|
-
readonly name: "updateVerifiedTeeBenchmark";
|
|
8729
|
-
readonly outputs: readonly [];
|
|
8730
|
-
readonly stateMutability: "nonpayable";
|
|
8731
|
-
readonly type: "function";
|
|
8732
8843
|
}, {
|
|
8733
8844
|
readonly anonymous: false;
|
|
8734
8845
|
readonly inputs: readonly [{
|
|
@@ -11432,26 +11543,6 @@ export declare const abi: readonly [{
|
|
|
11432
11543
|
}];
|
|
11433
11544
|
readonly stateMutability: "view";
|
|
11434
11545
|
readonly type: "function";
|
|
11435
|
-
}, {
|
|
11436
|
-
readonly inputs: readonly [{
|
|
11437
|
-
readonly internalType: "uint256";
|
|
11438
|
-
readonly name: "tcbId";
|
|
11439
|
-
readonly type: "uint256";
|
|
11440
|
-
}];
|
|
11441
|
-
readonly name: "updateLastBlocks";
|
|
11442
|
-
readonly outputs: readonly [];
|
|
11443
|
-
readonly stateMutability: "nonpayable";
|
|
11444
|
-
readonly type: "function";
|
|
11445
|
-
}, {
|
|
11446
|
-
readonly inputs: readonly [{
|
|
11447
|
-
readonly internalType: "uint256";
|
|
11448
|
-
readonly name: "tcbId";
|
|
11449
|
-
readonly type: "uint256";
|
|
11450
|
-
}];
|
|
11451
|
-
readonly name: "updateSuspicious";
|
|
11452
|
-
readonly outputs: readonly [];
|
|
11453
|
-
readonly stateMutability: "nonpayable";
|
|
11454
|
-
readonly type: "function";
|
|
11455
11546
|
}, {
|
|
11456
11547
|
readonly inputs: readonly [{
|
|
11457
11548
|
readonly internalType: "address";
|