@super-protocol/sdk-js 3.16.4 → 3.17.0
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.d.ts +3 -2
- package/dist/cjs/RIGenerator.js +7 -6
- package/dist/cjs/TIIGenerator.d.ts +2 -2
- package/dist/cjs/TIIGenerator.js +32 -4
- package/dist/cjs/TeeInputGeneratorBase.d.ts +3 -3
- 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/connectors/BaseConnector.d.ts +3 -3
- package/dist/cjs/connectors/BaseConnector.js +1 -1
- package/dist/cjs/connectors/BlockchainConnector.js +3 -3
- package/dist/cjs/connectors/BlockchainEventsListener.d.ts +2 -2
- package/dist/cjs/connectors/BlockchainEventsListener.js +3 -2
- package/dist/cjs/constants.d.ts +1 -3
- package/dist/cjs/constants.js +3 -7
- package/dist/cjs/contracts/abi.d.ts +1067 -1137
- package/dist/cjs/contracts/abi.js +1408 -1500
- package/dist/cjs/crypto/Crypto.d.ts +10 -13
- package/dist/cjs/crypto/Crypto.js +14 -17
- package/dist/cjs/crypto/nodejs/AES.d.ts +1 -1
- package/dist/cjs/crypto/nodejs/AES.js +2 -2
- package/dist/cjs/crypto/nodejs/ARIA.d.ts +1 -1
- package/dist/cjs/crypto/nodejs/ARIA.js +2 -2
- package/dist/cjs/errors/index.d.ts +1 -0
- package/dist/cjs/errors/index.js +4 -2
- package/dist/cjs/errors/insufficient-funds.error.d.ts +19 -0
- package/dist/cjs/errors/insufficient-funds.error.js +57 -0
- package/dist/cjs/index.d.ts +3 -6
- package/dist/cjs/index.js +6 -9
- package/dist/cjs/models/Offer.d.ts +16 -1
- package/dist/cjs/models/Offer.js +59 -9
- package/dist/cjs/models/Order.d.ts +1 -1
- package/dist/cjs/models/Order.js +11 -15
- 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 +20 -106
- package/dist/cjs/providers/storage/S3StorageProvider.js +5 -5
- package/dist/cjs/providers/storage/StorageKeyValueAdapter.d.ts +1 -1
- package/dist/cjs/providers/storage/StorageKeyValueAdapter.js +7 -7
- package/dist/cjs/providers/storage/fs-storage-provider.js +35 -15
- package/dist/cjs/providers/storage/parseStorageCredentials.d.ts +1 -2
- package/dist/cjs/staticModels/Consensus.d.ts +5 -16
- package/dist/cjs/staticModels/Consensus.js +17 -86
- package/dist/cjs/staticModels/Offers.d.ts +4 -1
- package/dist/cjs/staticModels/Offers.js +9 -8
- package/dist/cjs/staticModels/OffersCommon.d.ts +3 -1
- package/dist/cjs/staticModels/OffersCommon.js +6 -2
- package/dist/cjs/staticModels/Orders.js +12 -11
- package/dist/cjs/staticModels/ProviderRewards.js +2 -2
- package/dist/cjs/staticModels/StaticModel.js +5 -5
- package/dist/cjs/staticModels/SuperproToken.d.ts +7 -7
- package/dist/cjs/staticModels/SuperproToken.js +3 -3
- package/dist/cjs/staticModels/TeeOffers.d.ts +1 -7
- package/dist/cjs/staticModels/TeeOffers.js +11 -20
- package/dist/cjs/store.d.ts +0 -1
- package/dist/cjs/store.js +1 -2
- package/dist/cjs/tee/TeeBlockVerifier.d.ts +1 -2
- package/dist/cjs/tee/TeeBlockVerifier.js +17 -24
- package/dist/cjs/tee/TeeCertificateService.d.ts +1 -1
- package/dist/cjs/tee/TeeCertificateService.js +6 -10
- package/dist/cjs/tee/statuses.d.ts +0 -7
- package/dist/cjs/tee/statuses.js +2 -10
- package/dist/cjs/types/Consensus.d.ts +10 -31
- package/dist/cjs/types/Consensus.js +2 -10
- package/dist/cjs/types/Offer.d.ts +5 -0
- package/dist/cjs/types/Order.d.ts +26 -21
- package/dist/cjs/types/Order.js +24 -17
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/cjs/types/index.js +1 -2
- package/dist/cjs/utils/CryptoKeysTransformer.js +5 -5
- package/dist/cjs/utils/TxManager.js +21 -5
- package/dist/cjs/utils/helper.d.ts +2 -8
- package/dist/cjs/utils/helper.js +6 -75
- package/dist/cjs/utils/helpers/OrderArgsHelper.d.ts +2 -2
- package/dist/cjs/utils/helpers/OrderArgsHelper.js +5 -5
- package/dist/cjs/utils/helpers/index.d.ts +1 -0
- package/dist/cjs/utils/helpers/index.js +2 -1
- package/dist/cjs/utils/helpers/streamToBuffer.d.ts +4 -0
- package/dist/cjs/utils/helpers/streamToBuffer.js +13 -0
- package/dist/cjs/utils/order/versify.js +1 -7
- package/dist/cjs/utils/rent-calculator/rent-calculator.js +2 -3
- package/dist/cjs/utils/rent-calculator/types.d.ts +0 -1
- package/dist/cjs/utils/tcb.d.ts +2 -0
- package/dist/cjs/utils/tcb.js +13 -0
- package/dist/cjs/utils/types.d.ts +0 -5
- package/dist/mjs/RIGenerator.d.ts +3 -2
- package/dist/mjs/RIGenerator.js +8 -7
- package/dist/mjs/TIIGenerator.d.ts +2 -2
- package/dist/mjs/TIIGenerator.js +32 -4
- package/dist/mjs/TeeInputGeneratorBase.d.ts +3 -3
- 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/connectors/BaseConnector.d.ts +3 -3
- package/dist/mjs/connectors/BaseConnector.js +1 -1
- package/dist/mjs/connectors/BlockchainConnector.js +3 -3
- package/dist/mjs/connectors/BlockchainEventsListener.d.ts +2 -2
- package/dist/mjs/connectors/BlockchainEventsListener.js +3 -2
- package/dist/mjs/constants.d.ts +1 -3
- package/dist/mjs/constants.js +2 -6
- package/dist/mjs/contracts/abi.d.ts +1067 -1137
- package/dist/mjs/contracts/abi.js +1406 -1498
- package/dist/mjs/crypto/Crypto.d.ts +10 -13
- package/dist/mjs/crypto/Crypto.js +14 -17
- package/dist/mjs/crypto/nodejs/AES.d.ts +1 -1
- package/dist/mjs/crypto/nodejs/AES.js +2 -2
- package/dist/mjs/crypto/nodejs/ARIA.d.ts +1 -1
- package/dist/mjs/crypto/nodejs/ARIA.js +2 -2
- package/dist/mjs/errors/index.d.ts +1 -0
- package/dist/mjs/errors/index.js +2 -1
- package/dist/mjs/errors/insufficient-funds.error.d.ts +19 -0
- package/dist/mjs/errors/insufficient-funds.error.js +53 -0
- package/dist/mjs/index.d.ts +3 -6
- package/dist/mjs/index.js +4 -7
- package/dist/mjs/models/Offer.d.ts +16 -1
- package/dist/mjs/models/Offer.js +53 -3
- package/dist/mjs/models/Order.d.ts +1 -1
- package/dist/mjs/models/Order.js +11 -15
- 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 +13 -99
- package/dist/mjs/providers/storage/S3StorageProvider.js +5 -5
- package/dist/mjs/providers/storage/StorageKeyValueAdapter.d.ts +1 -1
- package/dist/mjs/providers/storage/StorageKeyValueAdapter.js +7 -7
- package/dist/mjs/providers/storage/fs-storage-provider.js +35 -15
- package/dist/mjs/providers/storage/parseStorageCredentials.d.ts +1 -2
- package/dist/mjs/staticModels/Consensus.d.ts +5 -16
- package/dist/mjs/staticModels/Consensus.js +18 -87
- package/dist/mjs/staticModels/Offers.d.ts +4 -1
- package/dist/mjs/staticModels/Offers.js +9 -8
- package/dist/mjs/staticModels/OffersCommon.d.ts +3 -1
- package/dist/mjs/staticModels/OffersCommon.js +6 -2
- package/dist/mjs/staticModels/Orders.js +12 -11
- package/dist/mjs/staticModels/ProviderRewards.js +3 -3
- package/dist/mjs/staticModels/StaticModel.js +5 -5
- package/dist/mjs/staticModels/SuperproToken.d.ts +7 -7
- package/dist/mjs/staticModels/SuperproToken.js +3 -3
- package/dist/mjs/staticModels/TeeOffers.d.ts +1 -7
- package/dist/mjs/staticModels/TeeOffers.js +12 -21
- package/dist/mjs/store.d.ts +0 -1
- package/dist/mjs/store.js +2 -3
- package/dist/mjs/tee/TeeBlockVerifier.d.ts +1 -2
- package/dist/mjs/tee/TeeBlockVerifier.js +17 -24
- package/dist/mjs/tee/TeeCertificateService.d.ts +1 -1
- package/dist/mjs/tee/TeeCertificateService.js +7 -11
- package/dist/mjs/tee/statuses.d.ts +0 -7
- package/dist/mjs/tee/statuses.js +1 -9
- package/dist/mjs/types/Consensus.d.ts +10 -31
- package/dist/mjs/types/Consensus.js +1 -9
- package/dist/mjs/types/Offer.d.ts +5 -0
- package/dist/mjs/types/Order.d.ts +26 -21
- package/dist/mjs/types/Order.js +21 -17
- package/dist/mjs/types/index.d.ts +0 -1
- package/dist/mjs/types/index.js +1 -2
- package/dist/mjs/utils/CryptoKeysTransformer.js +5 -5
- package/dist/mjs/utils/TxManager.js +21 -5
- package/dist/mjs/utils/helper.d.ts +2 -8
- package/dist/mjs/utils/helper.js +5 -68
- package/dist/mjs/utils/helpers/OrderArgsHelper.d.ts +2 -2
- package/dist/mjs/utils/helpers/OrderArgsHelper.js +5 -5
- package/dist/mjs/utils/helpers/index.d.ts +1 -0
- package/dist/mjs/utils/helpers/index.js +2 -1
- package/dist/mjs/utils/helpers/streamToBuffer.d.ts +4 -0
- package/dist/mjs/utils/helpers/streamToBuffer.js +9 -0
- package/dist/mjs/utils/order/versify.js +1 -7
- package/dist/mjs/utils/rent-calculator/rent-calculator.js +2 -3
- package/dist/mjs/utils/rent-calculator/types.d.ts +0 -1
- package/dist/mjs/utils/tcb.d.ts +2 -0
- package/dist/mjs/utils/tcb.js +9 -0
- package/dist/mjs/utils/types.d.ts +0 -5
- package/package.json +8 -9
- package/dist/cjs/contracts/Campaign.d.ts +0 -1198
- package/dist/cjs/contracts/Campaign.js +0 -1554
- package/dist/cjs/contracts/adminCertificateHelperAbi.d.ts +0 -316
- package/dist/cjs/contracts/adminCertificateHelperAbi.js +0 -410
- package/dist/cjs/proto/TeeDeviceInfo.d.ts +0 -292
- package/dist/cjs/proto/TeeDeviceInfo.js +0 -491
- package/dist/cjs/staticModels/AdminCertificateHelper.d.ts +0 -24
- package/dist/cjs/staticModels/AdminCertificateHelper.js +0 -99
- package/dist/cjs/staticModels/Campaign.d.ts +0 -62
- package/dist/cjs/staticModels/Campaign.js +0 -318
- 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/cjs/types/Campaign.d.ts +0 -55
- package/dist/cjs/types/Campaign.js +0 -17
- package/dist/cjs/utils/admin-service.d.ts +0 -13
- package/dist/cjs/utils/admin-service.js +0 -73
- package/dist/mjs/contracts/Campaign.d.ts +0 -1198
- package/dist/mjs/contracts/Campaign.js +0 -1551
- package/dist/mjs/contracts/adminCertificateHelperAbi.d.ts +0 -316
- package/dist/mjs/contracts/adminCertificateHelperAbi.js +0 -407
- package/dist/mjs/proto/TeeDeviceInfo.d.ts +0 -292
- package/dist/mjs/proto/TeeDeviceInfo.js +0 -485
- package/dist/mjs/staticModels/AdminCertificateHelper.d.ts +0 -24
- package/dist/mjs/staticModels/AdminCertificateHelper.js +0 -92
- package/dist/mjs/staticModels/Campaign.d.ts +0 -62
- package/dist/mjs/staticModels/Campaign.js +0 -313
- 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
- package/dist/mjs/types/Campaign.d.ts +0 -55
- package/dist/mjs/types/Campaign.js +0 -14
- package/dist/mjs/utils/admin-service.d.ts +0 -13
- package/dist/mjs/utils/admin-service.js +0 -66
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const TcbBanned: "TcbBanned";
|
|
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";
|
|
7
6
|
export declare const DepositPartLocked: "DepositPartLocked";
|
|
8
7
|
export declare const DepositPartUnlocked: "DepositPartUnlocked";
|
|
9
8
|
export declare const DepositReplenished: "DepositReplenished";
|
|
@@ -65,90 +64,28 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
65
64
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
66
65
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
67
66
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
68
|
-
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;
|
|
69
68
|
export declare const abi: readonly [{
|
|
70
|
-
readonly anonymous: false;
|
|
71
69
|
readonly inputs: readonly [{
|
|
72
|
-
readonly indexed: true;
|
|
73
|
-
readonly internalType: "address";
|
|
74
|
-
readonly name: "owner";
|
|
75
|
-
readonly type: "address";
|
|
76
|
-
}, {
|
|
77
|
-
readonly indexed: true;
|
|
78
|
-
readonly internalType: "address";
|
|
79
|
-
readonly name: "spender";
|
|
80
|
-
readonly type: "address";
|
|
81
|
-
}, {
|
|
82
|
-
readonly indexed: false;
|
|
83
70
|
readonly internalType: "uint256";
|
|
84
|
-
readonly name: "value";
|
|
85
|
-
readonly type: "uint256";
|
|
86
|
-
}];
|
|
87
|
-
readonly name: "Approval";
|
|
88
|
-
readonly type: "event";
|
|
89
|
-
}, {
|
|
90
|
-
readonly anonymous: false;
|
|
91
|
-
readonly inputs: readonly [{
|
|
92
|
-
readonly indexed: true;
|
|
93
|
-
readonly internalType: "address";
|
|
94
71
|
readonly name: "from";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}, {
|
|
97
|
-
readonly indexed: true;
|
|
98
|
-
readonly internalType: "address";
|
|
99
|
-
readonly name: "to";
|
|
100
|
-
readonly type: "address";
|
|
101
|
-
}, {
|
|
102
|
-
readonly indexed: false;
|
|
103
|
-
readonly internalType: "uint256";
|
|
104
|
-
readonly name: "value";
|
|
105
|
-
readonly type: "uint256";
|
|
106
|
-
}];
|
|
107
|
-
readonly name: "Transfer";
|
|
108
|
-
readonly type: "event";
|
|
109
|
-
}, {
|
|
110
|
-
readonly inputs: readonly [{
|
|
111
|
-
readonly internalType: "address";
|
|
112
|
-
readonly name: "owner";
|
|
113
|
-
readonly type: "address";
|
|
114
|
-
}, {
|
|
115
|
-
readonly internalType: "address";
|
|
116
|
-
readonly name: "spender";
|
|
117
|
-
readonly type: "address";
|
|
118
|
-
}];
|
|
119
|
-
readonly name: "allowance";
|
|
120
|
-
readonly outputs: readonly [{
|
|
121
|
-
readonly internalType: "uint256";
|
|
122
|
-
readonly name: "";
|
|
123
72
|
readonly type: "uint256";
|
|
124
|
-
}];
|
|
125
|
-
readonly stateMutability: "view";
|
|
126
|
-
readonly type: "function";
|
|
127
|
-
}, {
|
|
128
|
-
readonly inputs: readonly [{
|
|
129
|
-
readonly internalType: "address";
|
|
130
|
-
readonly name: "spender";
|
|
131
|
-
readonly type: "address";
|
|
132
73
|
}, {
|
|
133
74
|
readonly internalType: "uint256";
|
|
134
|
-
readonly name: "
|
|
75
|
+
readonly name: "to";
|
|
135
76
|
readonly type: "uint256";
|
|
136
77
|
}];
|
|
137
|
-
readonly name: "
|
|
78
|
+
readonly name: "getListOfActiveOffersRange";
|
|
138
79
|
readonly outputs: readonly [{
|
|
139
|
-
readonly internalType: "
|
|
80
|
+
readonly internalType: "uint256[]";
|
|
140
81
|
readonly name: "";
|
|
141
|
-
readonly type: "
|
|
82
|
+
readonly type: "uint256[]";
|
|
142
83
|
}];
|
|
143
|
-
readonly stateMutability: "
|
|
84
|
+
readonly stateMutability: "view";
|
|
144
85
|
readonly type: "function";
|
|
145
86
|
}, {
|
|
146
|
-
readonly inputs: readonly [
|
|
147
|
-
|
|
148
|
-
readonly name: "account";
|
|
149
|
-
readonly type: "address";
|
|
150
|
-
}];
|
|
151
|
-
readonly name: "balanceOf";
|
|
87
|
+
readonly inputs: readonly [];
|
|
88
|
+
readonly name: "getListOfActiveOffersSize";
|
|
152
89
|
readonly outputs: readonly [{
|
|
153
90
|
readonly internalType: "uint256";
|
|
154
91
|
readonly name: "";
|
|
@@ -157,74 +94,70 @@ export declare const abi: readonly [{
|
|
|
157
94
|
readonly stateMutability: "view";
|
|
158
95
|
readonly type: "function";
|
|
159
96
|
}, {
|
|
160
|
-
readonly inputs: readonly [
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
readonly
|
|
164
|
-
readonly name: "";
|
|
165
|
-
readonly type: "uint8";
|
|
97
|
+
readonly inputs: readonly [{
|
|
98
|
+
readonly internalType: "uint256";
|
|
99
|
+
readonly name: "offerId";
|
|
100
|
+
readonly type: "uint256";
|
|
166
101
|
}];
|
|
167
|
-
readonly
|
|
102
|
+
readonly name: "onOfferDisabled";
|
|
103
|
+
readonly outputs: readonly [];
|
|
104
|
+
readonly stateMutability: "nonpayable";
|
|
168
105
|
readonly type: "function";
|
|
169
106
|
}, {
|
|
170
107
|
readonly inputs: readonly [{
|
|
171
|
-
readonly internalType: "address";
|
|
172
|
-
readonly name: "spender";
|
|
173
|
-
readonly type: "address";
|
|
174
|
-
}, {
|
|
175
108
|
readonly internalType: "uint256";
|
|
176
|
-
readonly name: "
|
|
109
|
+
readonly name: "offerId";
|
|
177
110
|
readonly type: "uint256";
|
|
178
111
|
}];
|
|
179
|
-
readonly name: "
|
|
180
|
-
readonly outputs: readonly [
|
|
181
|
-
readonly internalType: "bool";
|
|
182
|
-
readonly name: "";
|
|
183
|
-
readonly type: "bool";
|
|
184
|
-
}];
|
|
112
|
+
readonly name: "onOfferEnabled";
|
|
113
|
+
readonly outputs: readonly [];
|
|
185
114
|
readonly stateMutability: "nonpayable";
|
|
186
115
|
readonly type: "function";
|
|
187
116
|
}, {
|
|
188
117
|
readonly inputs: readonly [{
|
|
189
|
-
readonly internalType: "
|
|
190
|
-
readonly name: "
|
|
191
|
-
readonly type: "
|
|
118
|
+
readonly internalType: "uint256";
|
|
119
|
+
readonly name: "orderId";
|
|
120
|
+
readonly type: "uint256";
|
|
192
121
|
}, {
|
|
193
122
|
readonly internalType: "uint256";
|
|
194
|
-
readonly name: "
|
|
123
|
+
readonly name: "offerId";
|
|
195
124
|
readonly type: "uint256";
|
|
196
125
|
}];
|
|
197
|
-
readonly name: "
|
|
198
|
-
readonly outputs: readonly [
|
|
199
|
-
readonly internalType: "bool";
|
|
200
|
-
readonly name: "";
|
|
201
|
-
readonly type: "bool";
|
|
202
|
-
}];
|
|
126
|
+
readonly name: "addOrderToActiveList";
|
|
127
|
+
readonly outputs: readonly [];
|
|
203
128
|
readonly stateMutability: "nonpayable";
|
|
204
129
|
readonly type: "function";
|
|
205
130
|
}, {
|
|
206
131
|
readonly inputs: readonly [];
|
|
207
|
-
readonly name: "
|
|
132
|
+
readonly name: "getActiveOffersCount";
|
|
208
133
|
readonly outputs: readonly [{
|
|
209
|
-
readonly internalType: "
|
|
134
|
+
readonly internalType: "uint256";
|
|
210
135
|
readonly name: "";
|
|
211
|
-
readonly type: "
|
|
136
|
+
readonly type: "uint256";
|
|
212
137
|
}];
|
|
213
138
|
readonly stateMutability: "view";
|
|
214
139
|
readonly type: "function";
|
|
215
140
|
}, {
|
|
216
|
-
readonly inputs: readonly [
|
|
217
|
-
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly internalType: "uint256";
|
|
143
|
+
readonly name: "from";
|
|
144
|
+
readonly type: "uint256";
|
|
145
|
+
}, {
|
|
146
|
+
readonly internalType: "uint256";
|
|
147
|
+
readonly name: "to";
|
|
148
|
+
readonly type: "uint256";
|
|
149
|
+
}];
|
|
150
|
+
readonly name: "getActiveOffersList";
|
|
218
151
|
readonly outputs: readonly [{
|
|
219
|
-
readonly internalType: "
|
|
152
|
+
readonly internalType: "uint256[]";
|
|
220
153
|
readonly name: "";
|
|
221
|
-
readonly type: "
|
|
154
|
+
readonly type: "uint256[]";
|
|
222
155
|
}];
|
|
223
156
|
readonly stateMutability: "view";
|
|
224
157
|
readonly type: "function";
|
|
225
158
|
}, {
|
|
226
159
|
readonly inputs: readonly [];
|
|
227
|
-
readonly name: "
|
|
160
|
+
readonly name: "getActiveOrdersCount";
|
|
228
161
|
readonly outputs: readonly [{
|
|
229
162
|
readonly internalType: "uint256";
|
|
230
163
|
readonly name: "";
|
|
@@ -234,128 +167,42 @@ export declare const abi: readonly [{
|
|
|
234
167
|
readonly type: "function";
|
|
235
168
|
}, {
|
|
236
169
|
readonly inputs: readonly [{
|
|
237
|
-
readonly internalType: "address";
|
|
238
|
-
readonly name: "to";
|
|
239
|
-
readonly type: "address";
|
|
240
|
-
}, {
|
|
241
170
|
readonly internalType: "uint256";
|
|
242
|
-
readonly name: "
|
|
171
|
+
readonly name: "offerId";
|
|
243
172
|
readonly type: "uint256";
|
|
244
173
|
}];
|
|
245
|
-
readonly name: "
|
|
174
|
+
readonly name: "getActiveOrdersCountByOffer";
|
|
246
175
|
readonly outputs: readonly [{
|
|
247
|
-
readonly internalType: "bool";
|
|
248
|
-
readonly name: "";
|
|
249
|
-
readonly type: "bool";
|
|
250
|
-
}];
|
|
251
|
-
readonly stateMutability: "nonpayable";
|
|
252
|
-
readonly type: "function";
|
|
253
|
-
}, {
|
|
254
|
-
readonly inputs: readonly [{
|
|
255
|
-
readonly internalType: "address";
|
|
256
|
-
readonly name: "from";
|
|
257
|
-
readonly type: "address";
|
|
258
|
-
}, {
|
|
259
|
-
readonly internalType: "address";
|
|
260
|
-
readonly name: "to";
|
|
261
|
-
readonly type: "address";
|
|
262
|
-
}, {
|
|
263
176
|
readonly internalType: "uint256";
|
|
264
|
-
readonly name: "amount";
|
|
265
|
-
readonly type: "uint256";
|
|
266
|
-
}];
|
|
267
|
-
readonly name: "transferFrom";
|
|
268
|
-
readonly outputs: readonly [{
|
|
269
|
-
readonly internalType: "bool";
|
|
270
177
|
readonly name: "";
|
|
271
|
-
readonly type: "
|
|
178
|
+
readonly type: "uint256";
|
|
272
179
|
}];
|
|
273
|
-
readonly stateMutability: "
|
|
180
|
+
readonly stateMutability: "view";
|
|
274
181
|
readonly type: "function";
|
|
275
182
|
}, {
|
|
276
183
|
readonly inputs: readonly [{
|
|
277
184
|
readonly internalType: "uint256";
|
|
278
|
-
readonly name: "
|
|
185
|
+
readonly name: "from";
|
|
279
186
|
readonly type: "uint256";
|
|
280
|
-
}];
|
|
281
|
-
readonly name: "burn";
|
|
282
|
-
readonly outputs: readonly [];
|
|
283
|
-
readonly stateMutability: "nonpayable";
|
|
284
|
-
readonly type: "function";
|
|
285
|
-
}, {
|
|
286
|
-
readonly inputs: readonly [{
|
|
287
|
-
readonly internalType: "address";
|
|
288
|
-
readonly name: "account";
|
|
289
|
-
readonly type: "address";
|
|
290
187
|
}, {
|
|
291
188
|
readonly internalType: "uint256";
|
|
292
|
-
readonly name: "
|
|
189
|
+
readonly name: "to";
|
|
293
190
|
readonly type: "uint256";
|
|
294
191
|
}];
|
|
295
|
-
readonly name: "
|
|
296
|
-
readonly outputs: readonly [];
|
|
297
|
-
readonly stateMutability: "nonpayable";
|
|
298
|
-
readonly type: "function";
|
|
299
|
-
}, {
|
|
300
|
-
readonly inputs: readonly [];
|
|
301
|
-
readonly name: "DOMAIN_SEPARATOR";
|
|
302
|
-
readonly outputs: readonly [{
|
|
303
|
-
readonly internalType: "bytes32";
|
|
304
|
-
readonly name: "";
|
|
305
|
-
readonly type: "bytes32";
|
|
306
|
-
}];
|
|
307
|
-
readonly stateMutability: "view";
|
|
308
|
-
readonly type: "function";
|
|
309
|
-
}, {
|
|
310
|
-
readonly inputs: readonly [{
|
|
311
|
-
readonly internalType: "address";
|
|
312
|
-
readonly name: "owner";
|
|
313
|
-
readonly type: "address";
|
|
314
|
-
}];
|
|
315
|
-
readonly name: "nonces";
|
|
192
|
+
readonly name: "getActiveOrdersList";
|
|
316
193
|
readonly outputs: readonly [{
|
|
317
|
-
readonly internalType: "uint256";
|
|
194
|
+
readonly internalType: "uint256[]";
|
|
318
195
|
readonly name: "";
|
|
319
|
-
readonly type: "uint256";
|
|
196
|
+
readonly type: "uint256[]";
|
|
320
197
|
}];
|
|
321
198
|
readonly stateMutability: "view";
|
|
322
199
|
readonly type: "function";
|
|
323
200
|
}, {
|
|
324
201
|
readonly inputs: readonly [{
|
|
325
|
-
readonly internalType: "address";
|
|
326
|
-
readonly name: "owner";
|
|
327
|
-
readonly type: "address";
|
|
328
|
-
}, {
|
|
329
|
-
readonly internalType: "address";
|
|
330
|
-
readonly name: "spender";
|
|
331
|
-
readonly type: "address";
|
|
332
|
-
}, {
|
|
333
|
-
readonly internalType: "uint256";
|
|
334
|
-
readonly name: "value";
|
|
335
|
-
readonly type: "uint256";
|
|
336
|
-
}, {
|
|
337
202
|
readonly internalType: "uint256";
|
|
338
|
-
readonly name: "
|
|
203
|
+
readonly name: "offerId";
|
|
339
204
|
readonly type: "uint256";
|
|
340
205
|
}, {
|
|
341
|
-
readonly internalType: "uint8";
|
|
342
|
-
readonly name: "v";
|
|
343
|
-
readonly type: "uint8";
|
|
344
|
-
}, {
|
|
345
|
-
readonly internalType: "bytes32";
|
|
346
|
-
readonly name: "r";
|
|
347
|
-
readonly type: "bytes32";
|
|
348
|
-
}, {
|
|
349
|
-
readonly internalType: "bytes32";
|
|
350
|
-
readonly name: "s";
|
|
351
|
-
readonly type: "bytes32";
|
|
352
|
-
}];
|
|
353
|
-
readonly name: "permit";
|
|
354
|
-
readonly outputs: readonly [];
|
|
355
|
-
readonly stateMutability: "nonpayable";
|
|
356
|
-
readonly type: "function";
|
|
357
|
-
}, {
|
|
358
|
-
readonly inputs: readonly [{
|
|
359
206
|
readonly internalType: "uint256";
|
|
360
207
|
readonly name: "from";
|
|
361
208
|
readonly type: "uint256";
|
|
@@ -364,7 +211,7 @@ export declare const abi: readonly [{
|
|
|
364
211
|
readonly name: "to";
|
|
365
212
|
readonly type: "uint256";
|
|
366
213
|
}];
|
|
367
|
-
readonly name: "
|
|
214
|
+
readonly name: "getActiveOrdersListByOffer";
|
|
368
215
|
readonly outputs: readonly [{
|
|
369
216
|
readonly internalType: "uint256[]";
|
|
370
217
|
readonly name: "";
|
|
@@ -372,153 +219,17 @@ export declare const abi: readonly [{
|
|
|
372
219
|
}];
|
|
373
220
|
readonly stateMutability: "view";
|
|
374
221
|
readonly type: "function";
|
|
375
|
-
}, {
|
|
376
|
-
readonly inputs: readonly [];
|
|
377
|
-
readonly name: "getListOfActiveOffersSize";
|
|
378
|
-
readonly outputs: readonly [{
|
|
379
|
-
readonly internalType: "uint256";
|
|
380
|
-
readonly name: "";
|
|
381
|
-
readonly type: "uint256";
|
|
382
|
-
}];
|
|
383
|
-
readonly stateMutability: "view";
|
|
384
|
-
readonly type: "function";
|
|
385
222
|
}, {
|
|
386
223
|
readonly inputs: readonly [{
|
|
387
224
|
readonly internalType: "uint256";
|
|
388
|
-
readonly name: "
|
|
225
|
+
readonly name: "orderId";
|
|
389
226
|
readonly type: "uint256";
|
|
390
|
-
}
|
|
391
|
-
readonly name: "onOfferDisabled";
|
|
392
|
-
readonly outputs: readonly [];
|
|
393
|
-
readonly stateMutability: "nonpayable";
|
|
394
|
-
readonly type: "function";
|
|
395
|
-
}, {
|
|
396
|
-
readonly inputs: readonly [{
|
|
227
|
+
}, {
|
|
397
228
|
readonly internalType: "uint256";
|
|
398
229
|
readonly name: "offerId";
|
|
399
230
|
readonly type: "uint256";
|
|
400
231
|
}];
|
|
401
|
-
readonly name: "
|
|
402
|
-
readonly outputs: readonly [];
|
|
403
|
-
readonly stateMutability: "nonpayable";
|
|
404
|
-
readonly type: "function";
|
|
405
|
-
}, {
|
|
406
|
-
readonly inputs: readonly [{
|
|
407
|
-
readonly internalType: "uint256";
|
|
408
|
-
readonly name: "orderId";
|
|
409
|
-
readonly type: "uint256";
|
|
410
|
-
}, {
|
|
411
|
-
readonly internalType: "uint256";
|
|
412
|
-
readonly name: "offerId";
|
|
413
|
-
readonly type: "uint256";
|
|
414
|
-
}];
|
|
415
|
-
readonly name: "addOrderToActiveList";
|
|
416
|
-
readonly outputs: readonly [];
|
|
417
|
-
readonly stateMutability: "nonpayable";
|
|
418
|
-
readonly type: "function";
|
|
419
|
-
}, {
|
|
420
|
-
readonly inputs: readonly [];
|
|
421
|
-
readonly name: "getActiveOffersCount";
|
|
422
|
-
readonly outputs: readonly [{
|
|
423
|
-
readonly internalType: "uint256";
|
|
424
|
-
readonly name: "";
|
|
425
|
-
readonly type: "uint256";
|
|
426
|
-
}];
|
|
427
|
-
readonly stateMutability: "view";
|
|
428
|
-
readonly type: "function";
|
|
429
|
-
}, {
|
|
430
|
-
readonly inputs: readonly [{
|
|
431
|
-
readonly internalType: "uint256";
|
|
432
|
-
readonly name: "from";
|
|
433
|
-
readonly type: "uint256";
|
|
434
|
-
}, {
|
|
435
|
-
readonly internalType: "uint256";
|
|
436
|
-
readonly name: "to";
|
|
437
|
-
readonly type: "uint256";
|
|
438
|
-
}];
|
|
439
|
-
readonly name: "getActiveOffersList";
|
|
440
|
-
readonly outputs: readonly [{
|
|
441
|
-
readonly internalType: "uint256[]";
|
|
442
|
-
readonly name: "";
|
|
443
|
-
readonly type: "uint256[]";
|
|
444
|
-
}];
|
|
445
|
-
readonly stateMutability: "view";
|
|
446
|
-
readonly type: "function";
|
|
447
|
-
}, {
|
|
448
|
-
readonly inputs: readonly [];
|
|
449
|
-
readonly name: "getActiveOrdersCount";
|
|
450
|
-
readonly outputs: readonly [{
|
|
451
|
-
readonly internalType: "uint256";
|
|
452
|
-
readonly name: "";
|
|
453
|
-
readonly type: "uint256";
|
|
454
|
-
}];
|
|
455
|
-
readonly stateMutability: "view";
|
|
456
|
-
readonly type: "function";
|
|
457
|
-
}, {
|
|
458
|
-
readonly inputs: readonly [{
|
|
459
|
-
readonly internalType: "uint256";
|
|
460
|
-
readonly name: "offerId";
|
|
461
|
-
readonly type: "uint256";
|
|
462
|
-
}];
|
|
463
|
-
readonly name: "getActiveOrdersCountByOffer";
|
|
464
|
-
readonly outputs: readonly [{
|
|
465
|
-
readonly internalType: "uint256";
|
|
466
|
-
readonly name: "";
|
|
467
|
-
readonly type: "uint256";
|
|
468
|
-
}];
|
|
469
|
-
readonly stateMutability: "view";
|
|
470
|
-
readonly type: "function";
|
|
471
|
-
}, {
|
|
472
|
-
readonly inputs: readonly [{
|
|
473
|
-
readonly internalType: "uint256";
|
|
474
|
-
readonly name: "from";
|
|
475
|
-
readonly type: "uint256";
|
|
476
|
-
}, {
|
|
477
|
-
readonly internalType: "uint256";
|
|
478
|
-
readonly name: "to";
|
|
479
|
-
readonly type: "uint256";
|
|
480
|
-
}];
|
|
481
|
-
readonly name: "getActiveOrdersList";
|
|
482
|
-
readonly outputs: readonly [{
|
|
483
|
-
readonly internalType: "uint256[]";
|
|
484
|
-
readonly name: "";
|
|
485
|
-
readonly type: "uint256[]";
|
|
486
|
-
}];
|
|
487
|
-
readonly stateMutability: "view";
|
|
488
|
-
readonly type: "function";
|
|
489
|
-
}, {
|
|
490
|
-
readonly inputs: readonly [{
|
|
491
|
-
readonly internalType: "uint256";
|
|
492
|
-
readonly name: "offerId";
|
|
493
|
-
readonly type: "uint256";
|
|
494
|
-
}, {
|
|
495
|
-
readonly internalType: "uint256";
|
|
496
|
-
readonly name: "from";
|
|
497
|
-
readonly type: "uint256";
|
|
498
|
-
}, {
|
|
499
|
-
readonly internalType: "uint256";
|
|
500
|
-
readonly name: "to";
|
|
501
|
-
readonly type: "uint256";
|
|
502
|
-
}];
|
|
503
|
-
readonly name: "getActiveOrdersListByOffer";
|
|
504
|
-
readonly outputs: readonly [{
|
|
505
|
-
readonly internalType: "uint256[]";
|
|
506
|
-
readonly name: "";
|
|
507
|
-
readonly type: "uint256[]";
|
|
508
|
-
}];
|
|
509
|
-
readonly stateMutability: "view";
|
|
510
|
-
readonly type: "function";
|
|
511
|
-
}, {
|
|
512
|
-
readonly inputs: readonly [{
|
|
513
|
-
readonly internalType: "uint256";
|
|
514
|
-
readonly name: "orderId";
|
|
515
|
-
readonly type: "uint256";
|
|
516
|
-
}, {
|
|
517
|
-
readonly internalType: "uint256";
|
|
518
|
-
readonly name: "offerId";
|
|
519
|
-
readonly type: "uint256";
|
|
520
|
-
}];
|
|
521
|
-
readonly name: "removeOrderFromActiveList";
|
|
232
|
+
readonly name: "removeOrderFromActiveList";
|
|
522
233
|
readonly outputs: readonly [];
|
|
523
234
|
readonly stateMutability: "nonpayable";
|
|
524
235
|
readonly type: "function";
|
|
@@ -526,247 +237,243 @@ export declare const abi: readonly [{
|
|
|
526
237
|
readonly anonymous: false;
|
|
527
238
|
readonly inputs: readonly [{
|
|
528
239
|
readonly indexed: true;
|
|
529
|
-
readonly internalType: "
|
|
530
|
-
readonly name: "
|
|
531
|
-
readonly type: "
|
|
240
|
+
readonly internalType: "bytes32";
|
|
241
|
+
readonly name: "mrEnclave";
|
|
242
|
+
readonly type: "bytes32";
|
|
532
243
|
}, {
|
|
533
244
|
readonly indexed: true;
|
|
534
|
-
readonly internalType: "
|
|
535
|
-
readonly name: "
|
|
536
|
-
readonly type: "
|
|
245
|
+
readonly internalType: "bool";
|
|
246
|
+
readonly name: "isBlacklisted";
|
|
247
|
+
readonly type: "bool";
|
|
537
248
|
}];
|
|
538
|
-
readonly name: "
|
|
249
|
+
readonly name: "MrEnclaveBlacklisted";
|
|
539
250
|
readonly type: "event";
|
|
540
251
|
}, {
|
|
541
252
|
readonly anonymous: false;
|
|
542
253
|
readonly inputs: readonly [{
|
|
543
254
|
readonly indexed: true;
|
|
544
|
-
readonly internalType: "
|
|
545
|
-
readonly name: "
|
|
546
|
-
readonly type: "
|
|
255
|
+
readonly internalType: "bytes32";
|
|
256
|
+
readonly name: "mrSigner";
|
|
257
|
+
readonly type: "bytes32";
|
|
547
258
|
}, {
|
|
548
259
|
readonly indexed: true;
|
|
549
|
-
readonly internalType: "
|
|
550
|
-
readonly name: "
|
|
551
|
-
readonly type: "
|
|
260
|
+
readonly internalType: "bool";
|
|
261
|
+
readonly name: "isBlacklisted";
|
|
262
|
+
readonly type: "bool";
|
|
552
263
|
}];
|
|
553
|
-
readonly name: "
|
|
264
|
+
readonly name: "MrSignerBlacklisted";
|
|
554
265
|
readonly type: "event";
|
|
555
266
|
}, {
|
|
556
267
|
readonly anonymous: false;
|
|
557
268
|
readonly inputs: readonly [{
|
|
558
269
|
readonly indexed: true;
|
|
559
|
-
readonly internalType: "
|
|
560
|
-
readonly name: "
|
|
561
|
-
readonly type: "
|
|
270
|
+
readonly internalType: "bytes";
|
|
271
|
+
readonly name: "serialNumber";
|
|
272
|
+
readonly type: "bytes";
|
|
562
273
|
}, {
|
|
563
274
|
readonly indexed: true;
|
|
564
|
-
readonly internalType: "
|
|
565
|
-
readonly name: "
|
|
566
|
-
readonly type: "
|
|
275
|
+
readonly internalType: "bool";
|
|
276
|
+
readonly name: "isBlacklisted";
|
|
277
|
+
readonly type: "bool";
|
|
567
278
|
}];
|
|
568
|
-
readonly name: "
|
|
279
|
+
readonly name: "SerialNumberBlacklisted";
|
|
569
280
|
readonly type: "event";
|
|
570
281
|
}, {
|
|
282
|
+
readonly anonymous: false;
|
|
571
283
|
readonly inputs: readonly [{
|
|
284
|
+
readonly indexed: true;
|
|
572
285
|
readonly internalType: "uint256";
|
|
573
|
-
readonly name: "
|
|
574
|
-
readonly type: "uint256";
|
|
575
|
-
}];
|
|
576
|
-
readonly name: "addTcbToSupply";
|
|
577
|
-
readonly outputs: readonly [];
|
|
578
|
-
readonly stateMutability: "nonpayable";
|
|
579
|
-
readonly type: "function";
|
|
580
|
-
}, {
|
|
581
|
-
readonly inputs: readonly [{
|
|
582
|
-
readonly internalType: "enum TcbVerifiedStatus[]";
|
|
583
|
-
readonly name: "marks";
|
|
584
|
-
readonly type: "uint8[]";
|
|
585
|
-
}, {
|
|
586
|
-
readonly internalType: "uint256";
|
|
587
|
-
readonly name: "tcbId";
|
|
588
|
-
readonly type: "uint256";
|
|
589
|
-
}];
|
|
590
|
-
readonly name: "applyTcbMarks";
|
|
591
|
-
readonly outputs: readonly [];
|
|
592
|
-
readonly stateMutability: "nonpayable";
|
|
593
|
-
readonly type: "function";
|
|
594
|
-
}, {
|
|
595
|
-
readonly inputs: readonly [{
|
|
596
|
-
readonly internalType: "uint256";
|
|
597
|
-
readonly name: "tcbId";
|
|
598
|
-
readonly type: "uint256";
|
|
599
|
-
}];
|
|
600
|
-
readonly name: "assignLastBlocksToCheck";
|
|
601
|
-
readonly outputs: readonly [];
|
|
602
|
-
readonly stateMutability: "nonpayable";
|
|
603
|
-
readonly type: "function";
|
|
604
|
-
}, {
|
|
605
|
-
readonly inputs: readonly [{
|
|
606
|
-
readonly internalType: "uint256";
|
|
607
|
-
readonly name: "tcbId";
|
|
608
|
-
readonly type: "uint256";
|
|
609
|
-
}];
|
|
610
|
-
readonly name: "assignSuspiciousBlocksToCheck";
|
|
611
|
-
readonly outputs: readonly [];
|
|
612
|
-
readonly stateMutability: "nonpayable";
|
|
613
|
-
readonly type: "function";
|
|
614
|
-
}, {
|
|
615
|
-
readonly inputs: readonly [{
|
|
616
|
-
readonly internalType: "uint256";
|
|
617
|
-
readonly name: "teeOfferId";
|
|
618
|
-
readonly type: "uint256";
|
|
619
|
-
}];
|
|
620
|
-
readonly name: "getActualTcbId";
|
|
621
|
-
readonly outputs: readonly [{
|
|
622
|
-
readonly internalType: "uint256";
|
|
623
|
-
readonly name: "";
|
|
286
|
+
readonly name: "serialNumber";
|
|
624
287
|
readonly type: "uint256";
|
|
625
288
|
}];
|
|
626
|
-
readonly
|
|
627
|
-
readonly type: "
|
|
289
|
+
readonly name: "SetRootCert";
|
|
290
|
+
readonly type: "event";
|
|
628
291
|
}, {
|
|
629
292
|
readonly inputs: readonly [];
|
|
630
|
-
readonly name: "
|
|
293
|
+
readonly name: "getCertsBlacklist";
|
|
631
294
|
readonly outputs: readonly [{
|
|
632
|
-
readonly internalType: "
|
|
633
|
-
readonly name: "";
|
|
634
|
-
readonly type: "
|
|
635
|
-
}, {
|
|
636
|
-
readonly internalType: "uint8";
|
|
637
|
-
readonly name: "";
|
|
638
|
-
readonly type: "uint8";
|
|
639
|
-
}, {
|
|
640
|
-
readonly internalType: "uint8";
|
|
641
|
-
readonly name: "";
|
|
642
|
-
readonly type: "uint8";
|
|
295
|
+
readonly internalType: "bytes[]";
|
|
296
|
+
readonly name: "bySerialNumber";
|
|
297
|
+
readonly type: "bytes[]";
|
|
643
298
|
}, {
|
|
644
|
-
readonly internalType: "
|
|
645
|
-
readonly name: "";
|
|
646
|
-
readonly type: "
|
|
299
|
+
readonly internalType: "bytes32[]";
|
|
300
|
+
readonly name: "byMrEnclave";
|
|
301
|
+
readonly type: "bytes32[]";
|
|
647
302
|
}, {
|
|
648
|
-
readonly internalType: "
|
|
649
|
-
readonly name: "";
|
|
650
|
-
readonly type: "
|
|
303
|
+
readonly internalType: "bytes32[]";
|
|
304
|
+
readonly name: "byMrSigner";
|
|
305
|
+
readonly type: "bytes32[]";
|
|
651
306
|
}];
|
|
652
|
-
readonly stateMutability: "
|
|
307
|
+
readonly stateMutability: "view";
|
|
653
308
|
readonly type: "function";
|
|
654
309
|
}, {
|
|
655
310
|
readonly inputs: readonly [{
|
|
656
311
|
readonly internalType: "uint256";
|
|
657
|
-
readonly name: "
|
|
658
|
-
readonly type: "uint256";
|
|
659
|
-
}];
|
|
660
|
-
readonly name: "getInitializedTcbId";
|
|
661
|
-
readonly outputs: readonly [{
|
|
662
|
-
readonly internalType: "uint256";
|
|
663
|
-
readonly name: "";
|
|
312
|
+
readonly name: "rootCertId";
|
|
664
313
|
readonly type: "uint256";
|
|
665
314
|
}];
|
|
666
|
-
readonly
|
|
667
|
-
readonly type: "function";
|
|
668
|
-
}, {
|
|
669
|
-
readonly inputs: readonly [];
|
|
670
|
-
readonly name: "getLastBlockTable";
|
|
315
|
+
readonly name: "getRootCert";
|
|
671
316
|
readonly outputs: readonly [{
|
|
672
|
-
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";
|
|
673
355
|
readonly name: "";
|
|
674
|
-
readonly type: "
|
|
356
|
+
readonly type: "tuple";
|
|
675
357
|
}];
|
|
676
358
|
readonly stateMutability: "view";
|
|
677
359
|
readonly type: "function";
|
|
678
360
|
}, {
|
|
679
|
-
readonly inputs: readonly [
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
readonly
|
|
683
|
-
|
|
684
|
-
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";
|
|
685
373
|
}];
|
|
686
|
-
readonly
|
|
687
|
-
readonly type: "function";
|
|
688
|
-
}, {
|
|
689
|
-
readonly inputs: readonly [];
|
|
690
|
-
readonly name: "getSuspiciousBlockTable";
|
|
374
|
+
readonly name: "isCertBlacklisted";
|
|
691
375
|
readonly outputs: readonly [{
|
|
692
|
-
readonly internalType: "
|
|
376
|
+
readonly internalType: "bool";
|
|
693
377
|
readonly name: "";
|
|
694
|
-
readonly type: "
|
|
378
|
+
readonly type: "bool";
|
|
695
379
|
}];
|
|
696
380
|
readonly stateMutability: "view";
|
|
697
381
|
readonly type: "function";
|
|
698
382
|
}, {
|
|
699
|
-
readonly inputs: readonly [
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
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[]";
|
|
705
422
|
}];
|
|
706
|
-
readonly
|
|
423
|
+
readonly name: "setCertsBlacklist";
|
|
424
|
+
readonly outputs: readonly [];
|
|
425
|
+
readonly stateMutability: "nonpayable";
|
|
707
426
|
readonly type: "function";
|
|
708
427
|
}, {
|
|
709
428
|
readonly inputs: readonly [{
|
|
710
|
-
readonly internalType: "uint256";
|
|
711
|
-
readonly name: "tcbId";
|
|
712
|
-
readonly type: "uint256";
|
|
713
|
-
}];
|
|
714
|
-
readonly name: "getTcbById";
|
|
715
|
-
readonly outputs: readonly [{
|
|
716
429
|
readonly components: readonly [{
|
|
717
|
-
readonly internalType: "
|
|
718
|
-
readonly name: "
|
|
719
|
-
readonly type: "
|
|
430
|
+
readonly internalType: "bytes[]";
|
|
431
|
+
readonly name: "nonSerializedParts";
|
|
432
|
+
readonly type: "bytes[]";
|
|
720
433
|
}, {
|
|
721
|
-
readonly internalType: "
|
|
722
|
-
readonly name: "
|
|
723
|
-
readonly type: "
|
|
434
|
+
readonly internalType: "bytes";
|
|
435
|
+
readonly name: "expirationDate";
|
|
436
|
+
readonly type: "bytes";
|
|
724
437
|
}, {
|
|
725
|
-
readonly internalType: "
|
|
726
|
-
readonly name: "
|
|
727
|
-
readonly type: "
|
|
438
|
+
readonly internalType: "bytes";
|
|
439
|
+
readonly name: "ca";
|
|
440
|
+
readonly type: "bytes";
|
|
728
441
|
}, {
|
|
729
|
-
readonly internalType: "
|
|
730
|
-
readonly name: "
|
|
731
|
-
readonly type: "
|
|
732
|
-
}, {
|
|
733
|
-
readonly internalType: "uint64";
|
|
734
|
-
readonly name: "timeAdded";
|
|
735
|
-
readonly type: "uint64";
|
|
736
|
-
}, {
|
|
737
|
-
readonly internalType: "enum TcbStatus";
|
|
738
|
-
readonly name: "status";
|
|
739
|
-
readonly type: "uint8";
|
|
442
|
+
readonly internalType: "bytes32";
|
|
443
|
+
readonly name: "userData";
|
|
444
|
+
readonly type: "bytes32";
|
|
740
445
|
}, {
|
|
741
|
-
readonly internalType: "
|
|
742
|
-
readonly name: "
|
|
743
|
-
readonly type: "
|
|
446
|
+
readonly internalType: "bytes";
|
|
447
|
+
readonly name: "publicKey";
|
|
448
|
+
readonly type: "bytes";
|
|
744
449
|
}, {
|
|
745
|
-
readonly internalType: "
|
|
746
|
-
readonly name: "
|
|
747
|
-
readonly type: "
|
|
450
|
+
readonly internalType: "bytes";
|
|
451
|
+
readonly name: "serialNumber";
|
|
452
|
+
readonly type: "bytes";
|
|
748
453
|
}, {
|
|
749
|
-
readonly internalType: "
|
|
750
|
-
readonly name: "
|
|
751
|
-
readonly type: "
|
|
454
|
+
readonly internalType: "bytes32";
|
|
455
|
+
readonly name: "mrEnclave";
|
|
456
|
+
readonly type: "bytes32";
|
|
752
457
|
}, {
|
|
753
|
-
readonly internalType: "
|
|
754
|
-
readonly name: "
|
|
755
|
-
readonly type: "
|
|
458
|
+
readonly internalType: "bytes32";
|
|
459
|
+
readonly name: "mrSigner";
|
|
460
|
+
readonly type: "bytes32";
|
|
756
461
|
}, {
|
|
757
|
-
readonly internalType: "
|
|
758
|
-
readonly name: "
|
|
759
|
-
readonly type: "
|
|
462
|
+
readonly internalType: "bytes";
|
|
463
|
+
readonly name: "signature";
|
|
464
|
+
readonly type: "bytes";
|
|
760
465
|
}];
|
|
761
|
-
readonly internalType: "struct
|
|
762
|
-
readonly name: "
|
|
466
|
+
readonly internalType: "struct ChunkedX509Cert";
|
|
467
|
+
readonly name: "cert";
|
|
763
468
|
readonly type: "tuple";
|
|
764
469
|
}];
|
|
765
|
-
readonly
|
|
470
|
+
readonly name: "setRootCert";
|
|
471
|
+
readonly outputs: readonly [];
|
|
472
|
+
readonly stateMutability: "nonpayable";
|
|
766
473
|
readonly type: "function";
|
|
767
474
|
}, {
|
|
768
475
|
readonly inputs: readonly [];
|
|
769
|
-
readonly name: "
|
|
476
|
+
readonly name: "totalRootCertificates";
|
|
770
477
|
readonly outputs: readonly [{
|
|
771
478
|
readonly internalType: "uint256";
|
|
772
479
|
readonly name: "";
|
|
@@ -776,166 +483,178 @@ export declare const abi: readonly [{
|
|
|
776
483
|
readonly type: "function";
|
|
777
484
|
}, {
|
|
778
485
|
readonly inputs: readonly [{
|
|
779
|
-
readonly internalType: "uint256[]";
|
|
780
|
-
readonly name: "tcbIds";
|
|
781
|
-
readonly type: "uint256[]";
|
|
782
|
-
}];
|
|
783
|
-
readonly name: "getTcbsEpochIndex";
|
|
784
|
-
readonly outputs: readonly [{
|
|
785
|
-
readonly internalType: "uint256[]";
|
|
786
|
-
readonly name: "epochIndexes";
|
|
787
|
-
readonly type: "uint256[]";
|
|
788
|
-
}];
|
|
789
|
-
readonly stateMutability: "view";
|
|
790
|
-
readonly type: "function";
|
|
791
|
-
}, {
|
|
792
|
-
readonly inputs: readonly [{
|
|
793
|
-
readonly internalType: "uint256[]";
|
|
794
|
-
readonly name: "tcbIds";
|
|
795
|
-
readonly type: "uint256[]";
|
|
796
|
-
}];
|
|
797
|
-
readonly name: "getTcbsPublicData";
|
|
798
|
-
readonly outputs: readonly [{
|
|
799
486
|
readonly components: readonly [{
|
|
800
|
-
readonly internalType: "
|
|
801
|
-
readonly name: "
|
|
802
|
-
readonly type: "
|
|
487
|
+
readonly internalType: "bytes[]";
|
|
488
|
+
readonly name: "nonSerializedParts";
|
|
489
|
+
readonly type: "bytes[]";
|
|
803
490
|
}, {
|
|
804
|
-
readonly internalType: "
|
|
805
|
-
readonly name: "
|
|
806
|
-
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";
|
|
807
498
|
}, {
|
|
808
499
|
readonly internalType: "bytes32";
|
|
809
|
-
readonly name: "
|
|
500
|
+
readonly name: "userData";
|
|
810
501
|
readonly type: "bytes32";
|
|
811
502
|
}, {
|
|
812
|
-
readonly internalType: "
|
|
813
|
-
readonly name: "
|
|
814
|
-
readonly type: "
|
|
815
|
-
}];
|
|
816
|
-
readonly internalType: "struct TcbPublicData[]";
|
|
817
|
-
readonly name: "";
|
|
818
|
-
readonly type: "tuple[]";
|
|
819
|
-
}];
|
|
820
|
-
readonly stateMutability: "view";
|
|
821
|
-
readonly type: "function";
|
|
822
|
-
}, {
|
|
823
|
-
readonly inputs: readonly [{
|
|
824
|
-
readonly internalType: "uint256[]";
|
|
825
|
-
readonly name: "tcbIds";
|
|
826
|
-
readonly type: "uint256[]";
|
|
827
|
-
}];
|
|
828
|
-
readonly name: "getTcbsUtilityData";
|
|
829
|
-
readonly outputs: readonly [{
|
|
830
|
-
readonly components: readonly [{
|
|
831
|
-
readonly internalType: "uint256";
|
|
832
|
-
readonly name: "teeOfferId";
|
|
833
|
-
readonly type: "uint256";
|
|
503
|
+
readonly internalType: "bytes";
|
|
504
|
+
readonly name: "publicKey";
|
|
505
|
+
readonly type: "bytes";
|
|
834
506
|
}, {
|
|
835
|
-
readonly internalType: "
|
|
836
|
-
readonly name: "
|
|
837
|
-
readonly type: "
|
|
507
|
+
readonly internalType: "bytes";
|
|
508
|
+
readonly name: "serialNumber";
|
|
509
|
+
readonly type: "bytes";
|
|
838
510
|
}, {
|
|
839
|
-
readonly internalType: "
|
|
840
|
-
readonly name: "
|
|
841
|
-
readonly type: "
|
|
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";
|
|
842
522
|
}];
|
|
843
|
-
readonly internalType: "struct
|
|
844
|
-
readonly name: "";
|
|
845
|
-
readonly type: "tuple
|
|
846
|
-
}];
|
|
847
|
-
readonly stateMutability: "view";
|
|
848
|
-
readonly type: "function";
|
|
849
|
-
}, {
|
|
850
|
-
readonly inputs: readonly [{
|
|
851
|
-
readonly internalType: "uint256";
|
|
852
|
-
readonly name: "teeOfferId";
|
|
853
|
-
readonly type: "uint256";
|
|
523
|
+
readonly internalType: "struct ChunkedX509Cert";
|
|
524
|
+
readonly name: "cert";
|
|
525
|
+
readonly type: "tuple";
|
|
854
526
|
}, {
|
|
855
|
-
readonly internalType: "
|
|
856
|
-
readonly name: "
|
|
857
|
-
readonly type: "
|
|
858
|
-
}];
|
|
859
|
-
readonly name: "initializeTcb";
|
|
860
|
-
readonly outputs: readonly [];
|
|
861
|
-
readonly stateMutability: "nonpayable";
|
|
862
|
-
readonly type: "function";
|
|
863
|
-
}, {
|
|
864
|
-
readonly inputs: readonly [{
|
|
865
|
-
readonly internalType: "uint256";
|
|
866
|
-
readonly name: "offerId";
|
|
867
|
-
readonly type: "uint256";
|
|
527
|
+
readonly internalType: "bytes";
|
|
528
|
+
readonly name: "caPubKey";
|
|
529
|
+
readonly type: "bytes";
|
|
868
530
|
}];
|
|
869
|
-
readonly name: "
|
|
531
|
+
readonly name: "verifyCert";
|
|
870
532
|
readonly outputs: readonly [{
|
|
871
|
-
readonly internalType: "
|
|
872
|
-
readonly name: "";
|
|
873
|
-
readonly type: "
|
|
533
|
+
readonly internalType: "bytes32";
|
|
534
|
+
readonly name: "certHash";
|
|
535
|
+
readonly type: "bytes32";
|
|
874
536
|
}];
|
|
875
537
|
readonly stateMutability: "view";
|
|
876
538
|
readonly type: "function";
|
|
877
539
|
}, {
|
|
878
540
|
readonly inputs: readonly [{
|
|
879
|
-
readonly
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
541
|
+
readonly components: readonly [{
|
|
542
|
+
readonly internalType: "bytes[]";
|
|
543
|
+
readonly name: "nonSerializedParts";
|
|
544
|
+
readonly type: "bytes[]";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "bytes";
|
|
547
|
+
readonly name: "expirationDate";
|
|
548
|
+
readonly type: "bytes";
|
|
549
|
+
}, {
|
|
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";
|
|
577
|
+
}];
|
|
578
|
+
readonly internalType: "struct ChunkedX509Cert[]";
|
|
579
|
+
readonly name: "certsChain";
|
|
580
|
+
readonly type: "tuple[]";
|
|
900
581
|
}, {
|
|
901
|
-
readonly internalType: "bool";
|
|
902
|
-
readonly name: "benchmarkVerified";
|
|
903
|
-
readonly type: "bool";
|
|
904
|
-
}];
|
|
905
|
-
readonly stateMutability: "view";
|
|
906
|
-
readonly type: "function";
|
|
907
|
-
}, {
|
|
908
|
-
readonly inputs: readonly [{
|
|
909
582
|
readonly internalType: "uint256";
|
|
910
|
-
readonly name: "
|
|
583
|
+
readonly name: "rootCertId";
|
|
911
584
|
readonly type: "uint256";
|
|
912
585
|
}];
|
|
913
|
-
readonly name: "
|
|
586
|
+
readonly name: "verifyCertChain";
|
|
914
587
|
readonly outputs: readonly [{
|
|
915
|
-
readonly internalType: "
|
|
916
|
-
readonly name: "";
|
|
917
|
-
readonly type: "
|
|
588
|
+
readonly internalType: "bytes32";
|
|
589
|
+
readonly name: "leafCertHash";
|
|
590
|
+
readonly type: "bytes32";
|
|
918
591
|
}];
|
|
919
592
|
readonly stateMutability: "view";
|
|
920
593
|
readonly type: "function";
|
|
921
594
|
}, {
|
|
595
|
+
readonly anonymous: false;
|
|
922
596
|
readonly inputs: readonly [{
|
|
597
|
+
readonly indexed: true;
|
|
923
598
|
readonly internalType: "uint256";
|
|
924
|
-
readonly name: "
|
|
599
|
+
readonly name: "tcbId";
|
|
925
600
|
readonly type: "uint256";
|
|
601
|
+
}, {
|
|
602
|
+
readonly indexed: true;
|
|
603
|
+
readonly internalType: "address";
|
|
604
|
+
readonly name: "action";
|
|
605
|
+
readonly type: "address";
|
|
926
606
|
}];
|
|
927
|
-
readonly name: "
|
|
928
|
-
readonly
|
|
929
|
-
readonly internalType: "bool";
|
|
930
|
-
readonly name: "";
|
|
931
|
-
readonly type: "bool";
|
|
932
|
-
}];
|
|
933
|
-
readonly stateMutability: "view";
|
|
934
|
-
readonly type: "function";
|
|
607
|
+
readonly name: "TcbAdded";
|
|
608
|
+
readonly type: "event";
|
|
935
609
|
}, {
|
|
936
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
|
+
}, {
|
|
937
652
|
readonly internalType: "uint256";
|
|
938
|
-
readonly name: "
|
|
653
|
+
readonly name: "rootCertId";
|
|
654
|
+
readonly type: "uint256";
|
|
655
|
+
}, {
|
|
656
|
+
readonly internalType: "uint256";
|
|
657
|
+
readonly name: "teeOfferId";
|
|
939
658
|
readonly type: "uint256";
|
|
940
659
|
}, {
|
|
941
660
|
readonly components: readonly [{
|
|
@@ -958,6 +677,10 @@ export declare const abi: readonly [{
|
|
|
958
677
|
readonly internalType: "uint64";
|
|
959
678
|
readonly name: "networkSize";
|
|
960
679
|
readonly type: "uint64";
|
|
680
|
+
}, {
|
|
681
|
+
readonly internalType: "uint64";
|
|
682
|
+
readonly name: "vramSize";
|
|
683
|
+
readonly type: "uint64";
|
|
961
684
|
}, {
|
|
962
685
|
readonly internalType: "uint32";
|
|
963
686
|
readonly name: "cpuMark";
|
|
@@ -978,69 +701,79 @@ export declare const abi: readonly [{
|
|
|
978
701
|
readonly internalType: "uint32";
|
|
979
702
|
readonly name: "networkMark";
|
|
980
703
|
readonly type: "uint32";
|
|
704
|
+
}, {
|
|
705
|
+
readonly components: readonly [{
|
|
706
|
+
readonly internalType: "string";
|
|
707
|
+
readonly name: "vendorId";
|
|
708
|
+
readonly type: "string";
|
|
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: "string";
|
|
719
|
+
readonly name: "modelName";
|
|
720
|
+
readonly type: "string";
|
|
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";
|
|
981
737
|
}];
|
|
982
|
-
readonly internalType: "struct
|
|
738
|
+
readonly internalType: "struct ConsensusBenchmarkView";
|
|
983
739
|
readonly name: "benchmark";
|
|
984
740
|
readonly type: "tuple";
|
|
985
|
-
}, {
|
|
986
|
-
readonly internalType: "string";
|
|
987
|
-
readonly name: "properties";
|
|
988
|
-
readonly type: "string";
|
|
989
|
-
}, {
|
|
990
|
-
readonly internalType: "bytes32";
|
|
991
|
-
readonly name: "deviceId";
|
|
992
|
-
readonly type: "bytes32";
|
|
993
|
-
}, {
|
|
994
|
-
readonly internalType: "string";
|
|
995
|
-
readonly name: "quote";
|
|
996
|
-
readonly type: "string";
|
|
997
741
|
}, {
|
|
998
742
|
readonly internalType: "string";
|
|
999
743
|
readonly name: "pubKey";
|
|
1000
744
|
readonly type: "string";
|
|
1001
745
|
}];
|
|
1002
|
-
readonly name: "
|
|
746
|
+
readonly name: "addTcb";
|
|
1003
747
|
readonly outputs: readonly [];
|
|
1004
748
|
readonly stateMutability: "nonpayable";
|
|
1005
749
|
readonly type: "function";
|
|
1006
750
|
}, {
|
|
1007
751
|
readonly inputs: readonly [{
|
|
1008
|
-
readonly internalType: "
|
|
1009
|
-
readonly name: "
|
|
1010
|
-
readonly type: "
|
|
1011
|
-
}, {
|
|
1012
|
-
readonly internalType: "enum TcbStatus";
|
|
1013
|
-
readonly name: "status";
|
|
1014
|
-
readonly type: "uint8";
|
|
752
|
+
readonly internalType: "bytes32";
|
|
753
|
+
readonly name: "leafCertHash";
|
|
754
|
+
readonly type: "bytes32";
|
|
1015
755
|
}];
|
|
1016
|
-
readonly name: "
|
|
1017
|
-
readonly outputs: readonly [
|
|
1018
|
-
|
|
756
|
+
readonly name: "certHashIsUnique";
|
|
757
|
+
readonly outputs: readonly [{
|
|
758
|
+
readonly internalType: "bool";
|
|
759
|
+
readonly name: "";
|
|
760
|
+
readonly type: "bool";
|
|
761
|
+
}];
|
|
762
|
+
readonly stateMutability: "view";
|
|
1019
763
|
readonly type: "function";
|
|
1020
764
|
}, {
|
|
1021
|
-
readonly anonymous: false;
|
|
1022
765
|
readonly inputs: readonly [{
|
|
1023
|
-
readonly indexed: false;
|
|
1024
766
|
readonly internalType: "uint256";
|
|
1025
|
-
readonly name: "
|
|
767
|
+
readonly name: "teeOfferId";
|
|
1026
768
|
readonly type: "uint256";
|
|
1027
|
-
}, {
|
|
1028
|
-
readonly indexed: true;
|
|
1029
|
-
readonly internalType: "address";
|
|
1030
|
-
readonly name: "provider";
|
|
1031
|
-
readonly type: "address";
|
|
1032
769
|
}];
|
|
1033
|
-
readonly name: "
|
|
1034
|
-
readonly
|
|
1035
|
-
}, {
|
|
1036
|
-
readonly inputs: readonly [{
|
|
770
|
+
readonly name: "getActualTcbId";
|
|
771
|
+
readonly outputs: readonly [{
|
|
1037
772
|
readonly internalType: "uint256";
|
|
1038
|
-
readonly name: "
|
|
773
|
+
readonly name: "";
|
|
1039
774
|
readonly type: "uint256";
|
|
1040
775
|
}];
|
|
1041
|
-
readonly
|
|
1042
|
-
readonly outputs: readonly [];
|
|
1043
|
-
readonly stateMutability: "nonpayable";
|
|
776
|
+
readonly stateMutability: "view";
|
|
1044
777
|
readonly type: "function";
|
|
1045
778
|
}, {
|
|
1046
779
|
readonly inputs: readonly [{
|
|
@@ -1048,39 +781,154 @@ export declare const abi: readonly [{
|
|
|
1048
781
|
readonly name: "tcbId";
|
|
1049
782
|
readonly type: "uint256";
|
|
1050
783
|
}];
|
|
1051
|
-
readonly name: "
|
|
1052
|
-
readonly outputs: readonly [
|
|
1053
|
-
|
|
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";
|
|
879
|
+
}];
|
|
880
|
+
readonly stateMutability: "view";
|
|
1054
881
|
readonly type: "function";
|
|
1055
882
|
}, {
|
|
1056
|
-
readonly inputs: readonly [
|
|
883
|
+
readonly inputs: readonly [];
|
|
884
|
+
readonly name: "getTcbsCount";
|
|
885
|
+
readonly outputs: readonly [{
|
|
1057
886
|
readonly internalType: "uint256";
|
|
1058
|
-
readonly name: "
|
|
887
|
+
readonly name: "";
|
|
1059
888
|
readonly type: "uint256";
|
|
1060
889
|
}];
|
|
1061
|
-
readonly
|
|
1062
|
-
readonly outputs: readonly [];
|
|
1063
|
-
readonly stateMutability: "nonpayable";
|
|
890
|
+
readonly stateMutability: "view";
|
|
1064
891
|
readonly type: "function";
|
|
1065
892
|
}, {
|
|
1066
893
|
readonly inputs: readonly [{
|
|
1067
|
-
readonly internalType: "uint256";
|
|
1068
|
-
readonly name: "
|
|
1069
|
-
readonly type: "uint256";
|
|
894
|
+
readonly internalType: "uint256[]";
|
|
895
|
+
readonly name: "tcbIds";
|
|
896
|
+
readonly type: "uint256[]";
|
|
1070
897
|
}];
|
|
1071
|
-
readonly name: "
|
|
1072
|
-
readonly outputs: readonly [
|
|
1073
|
-
|
|
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";
|
|
1074
905
|
readonly type: "function";
|
|
1075
906
|
}, {
|
|
1076
907
|
readonly inputs: readonly [{
|
|
1077
|
-
readonly internalType: "uint256";
|
|
1078
|
-
readonly name: "
|
|
1079
|
-
readonly type: "uint256";
|
|
908
|
+
readonly internalType: "uint256[]";
|
|
909
|
+
readonly name: "tcbIds";
|
|
910
|
+
readonly type: "uint256[]";
|
|
1080
911
|
}];
|
|
1081
|
-
readonly name: "
|
|
1082
|
-
readonly outputs: readonly [
|
|
1083
|
-
|
|
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";
|
|
1084
932
|
readonly type: "function";
|
|
1085
933
|
}, {
|
|
1086
934
|
readonly inputs: readonly [{
|
|
@@ -1088,30 +936,48 @@ export declare const abi: readonly [{
|
|
|
1088
936
|
readonly name: "tcbId";
|
|
1089
937
|
readonly type: "uint256";
|
|
1090
938
|
}];
|
|
1091
|
-
readonly name: "
|
|
1092
|
-
readonly outputs: readonly [
|
|
1093
|
-
|
|
939
|
+
readonly name: "isTcbBanned";
|
|
940
|
+
readonly outputs: readonly [{
|
|
941
|
+
readonly internalType: "bool";
|
|
942
|
+
readonly name: "";
|
|
943
|
+
readonly type: "bool";
|
|
944
|
+
}];
|
|
945
|
+
readonly stateMutability: "view";
|
|
1094
946
|
readonly type: "function";
|
|
1095
947
|
}, {
|
|
1096
948
|
readonly inputs: readonly [{
|
|
1097
949
|
readonly internalType: "uint256";
|
|
1098
|
-
readonly name: "
|
|
950
|
+
readonly name: "teeOfferId";
|
|
1099
951
|
readonly type: "uint256";
|
|
952
|
+
}, {
|
|
953
|
+
readonly internalType: "string";
|
|
954
|
+
readonly name: "pubKey";
|
|
955
|
+
readonly type: "string";
|
|
1100
956
|
}];
|
|
1101
|
-
readonly name: "
|
|
1102
|
-
readonly outputs: readonly [
|
|
1103
|
-
|
|
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";
|
|
970
|
+
}];
|
|
971
|
+
readonly stateMutability: "view";
|
|
1104
972
|
readonly type: "function";
|
|
1105
973
|
}, {
|
|
1106
974
|
readonly inputs: readonly [{
|
|
1107
|
-
readonly internalType: "
|
|
1108
|
-
readonly name: "
|
|
1109
|
-
readonly type: "
|
|
975
|
+
readonly internalType: "address";
|
|
976
|
+
readonly name: "token";
|
|
977
|
+
readonly type: "address";
|
|
1110
978
|
}];
|
|
1111
|
-
readonly name: "
|
|
1112
|
-
readonly
|
|
1113
|
-
readonly stateMutability: "nonpayable";
|
|
1114
|
-
readonly type: "function";
|
|
979
|
+
readonly name: "SafeERC20FailedOperation";
|
|
980
|
+
readonly type: "error";
|
|
1115
981
|
}, {
|
|
1116
982
|
readonly anonymous: false;
|
|
1117
983
|
readonly inputs: readonly [{
|
|
@@ -1495,6 +1361,18 @@ export declare const abi: readonly [{
|
|
|
1495
1361
|
readonly outputs: readonly [];
|
|
1496
1362
|
readonly stateMutability: "nonpayable";
|
|
1497
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";
|
|
1498
1376
|
}, {
|
|
1499
1377
|
readonly anonymous: false;
|
|
1500
1378
|
readonly inputs: readonly [{
|
|
@@ -1672,6 +1550,10 @@ export declare const abi: readonly [{
|
|
|
1672
1550
|
readonly internalType: "bool";
|
|
1673
1551
|
readonly name: "enabled";
|
|
1674
1552
|
readonly type: "bool";
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly internalType: "address";
|
|
1555
|
+
readonly name: "offerActionAccount";
|
|
1556
|
+
readonly type: "address";
|
|
1675
1557
|
}];
|
|
1676
1558
|
readonly internalType: "struct Offer";
|
|
1677
1559
|
readonly name: "offer";
|
|
@@ -1705,31 +1587,6 @@ export declare const abi: readonly [{
|
|
|
1705
1587
|
readonly internalType: "struct TeeOfferInfo";
|
|
1706
1588
|
readonly name: "info";
|
|
1707
1589
|
readonly type: "tuple";
|
|
1708
|
-
}, {
|
|
1709
|
-
readonly components: readonly [{
|
|
1710
|
-
readonly internalType: "uint64";
|
|
1711
|
-
readonly name: "cpuCores";
|
|
1712
|
-
readonly type: "uint64";
|
|
1713
|
-
}, {
|
|
1714
|
-
readonly internalType: "uint64";
|
|
1715
|
-
readonly name: "ram";
|
|
1716
|
-
readonly type: "uint64";
|
|
1717
|
-
}, {
|
|
1718
|
-
readonly internalType: "uint64";
|
|
1719
|
-
readonly name: "diskUsage";
|
|
1720
|
-
readonly type: "uint64";
|
|
1721
|
-
}, {
|
|
1722
|
-
readonly internalType: "uint64";
|
|
1723
|
-
readonly name: "gpuCores";
|
|
1724
|
-
readonly type: "uint64";
|
|
1725
|
-
}, {
|
|
1726
|
-
readonly internalType: "uint64";
|
|
1727
|
-
readonly name: "vram";
|
|
1728
|
-
readonly type: "uint64";
|
|
1729
|
-
}];
|
|
1730
|
-
readonly internalType: "struct SlotInfo";
|
|
1731
|
-
readonly name: "slotInfo";
|
|
1732
|
-
readonly type: "tuple";
|
|
1733
1590
|
}, {
|
|
1734
1591
|
readonly components: readonly [{
|
|
1735
1592
|
readonly internalType: "string";
|
|
@@ -1762,6 +1619,10 @@ export declare const abi: readonly [{
|
|
|
1762
1619
|
readonly internalType: "bool";
|
|
1763
1620
|
readonly name: "enabled";
|
|
1764
1621
|
readonly type: "bool";
|
|
1622
|
+
}, {
|
|
1623
|
+
readonly internalType: "address";
|
|
1624
|
+
readonly name: "offerActionAccount";
|
|
1625
|
+
readonly type: "address";
|
|
1765
1626
|
}];
|
|
1766
1627
|
readonly internalType: "struct Offer";
|
|
1767
1628
|
readonly name: "offer";
|
|
@@ -1892,6 +1753,20 @@ export declare const abi: readonly [{
|
|
|
1892
1753
|
readonly outputs: readonly [];
|
|
1893
1754
|
readonly stateMutability: "nonpayable";
|
|
1894
1755
|
readonly type: "function";
|
|
1756
|
+
}, {
|
|
1757
|
+
readonly inputs: readonly [{
|
|
1758
|
+
readonly internalType: "uint256";
|
|
1759
|
+
readonly name: "offerId";
|
|
1760
|
+
readonly type: "uint256";
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly internalType: "address";
|
|
1763
|
+
readonly name: "newOfferActionAccount";
|
|
1764
|
+
readonly type: "address";
|
|
1765
|
+
}];
|
|
1766
|
+
readonly name: "setOfferActionAccount";
|
|
1767
|
+
readonly outputs: readonly [];
|
|
1768
|
+
readonly stateMutability: "nonpayable";
|
|
1769
|
+
readonly type: "function";
|
|
1895
1770
|
}, {
|
|
1896
1771
|
readonly inputs: readonly [{
|
|
1897
1772
|
readonly internalType: "uint256";
|
|
@@ -1965,6 +1840,25 @@ export declare const abi: readonly [{
|
|
|
1965
1840
|
readonly outputs: readonly [];
|
|
1966
1841
|
readonly stateMutability: "nonpayable";
|
|
1967
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";
|
|
1968
1862
|
}, {
|
|
1969
1863
|
readonly inputs: readonly [{
|
|
1970
1864
|
readonly internalType: "uint256";
|
|
@@ -1995,17 +1889,8 @@ export declare const abi: readonly [{
|
|
|
1995
1889
|
readonly internalType: "struct SlotInfo";
|
|
1996
1890
|
readonly name: "newSlotInfo";
|
|
1997
1891
|
readonly type: "tuple";
|
|
1998
|
-
}, {
|
|
1999
|
-
readonly components: readonly [{
|
|
2000
|
-
readonly internalType: "string";
|
|
2001
|
-
readonly name: "data";
|
|
2002
|
-
readonly type: "string";
|
|
2003
|
-
}];
|
|
2004
|
-
readonly internalType: "struct OptionInfo";
|
|
2005
|
-
readonly name: "newOptionInfo";
|
|
2006
|
-
readonly type: "tuple";
|
|
2007
1892
|
}];
|
|
2008
|
-
readonly name: "
|
|
1893
|
+
readonly name: "setTeeOfferHardwareSlotInfo";
|
|
2009
1894
|
readonly outputs: readonly [];
|
|
2010
1895
|
readonly stateMutability: "nonpayable";
|
|
2011
1896
|
readonly type: "function";
|
|
@@ -2208,6 +2093,10 @@ export declare const abi: readonly [{
|
|
|
2208
2093
|
readonly internalType: "bool";
|
|
2209
2094
|
readonly name: "enabled";
|
|
2210
2095
|
readonly type: "bool";
|
|
2096
|
+
}, {
|
|
2097
|
+
readonly internalType: "address";
|
|
2098
|
+
readonly name: "offerActionAccount";
|
|
2099
|
+
readonly type: "address";
|
|
2211
2100
|
}];
|
|
2212
2101
|
readonly internalType: "struct Offer";
|
|
2213
2102
|
readonly name: "offer";
|
|
@@ -2281,6 +2170,10 @@ export declare const abi: readonly [{
|
|
|
2281
2170
|
readonly internalType: "bool";
|
|
2282
2171
|
readonly name: "enabled";
|
|
2283
2172
|
readonly type: "bool";
|
|
2173
|
+
}, {
|
|
2174
|
+
readonly internalType: "address";
|
|
2175
|
+
readonly name: "offerActionAccount";
|
|
2176
|
+
readonly type: "address";
|
|
2284
2177
|
}];
|
|
2285
2178
|
readonly internalType: "struct Offer";
|
|
2286
2179
|
readonly name: "offer";
|
|
@@ -2353,6 +2246,22 @@ export declare const abi: readonly [{
|
|
|
2353
2246
|
}];
|
|
2354
2247
|
readonly stateMutability: "view";
|
|
2355
2248
|
readonly type: "function";
|
|
2249
|
+
}, {
|
|
2250
|
+
readonly inputs: readonly [{
|
|
2251
|
+
readonly internalType: "int256";
|
|
2252
|
+
readonly name: "value";
|
|
2253
|
+
readonly type: "int256";
|
|
2254
|
+
}];
|
|
2255
|
+
readonly name: "SafeCastOverflowedIntToUint";
|
|
2256
|
+
readonly type: "error";
|
|
2257
|
+
}, {
|
|
2258
|
+
readonly inputs: readonly [{
|
|
2259
|
+
readonly internalType: "uint256";
|
|
2260
|
+
readonly name: "value";
|
|
2261
|
+
readonly type: "uint256";
|
|
2262
|
+
}];
|
|
2263
|
+
readonly name: "SafeCastOverflowedUintToInt";
|
|
2264
|
+
readonly type: "error";
|
|
2356
2265
|
}, {
|
|
2357
2266
|
readonly inputs: readonly [{
|
|
2358
2267
|
readonly internalType: "uint256";
|
|
@@ -2367,6 +2276,20 @@ export declare const abi: readonly [{
|
|
|
2367
2276
|
}];
|
|
2368
2277
|
readonly stateMutability: "view";
|
|
2369
2278
|
readonly type: "function";
|
|
2279
|
+
}, {
|
|
2280
|
+
readonly inputs: readonly [{
|
|
2281
|
+
readonly internalType: "uint256";
|
|
2282
|
+
readonly name: "offerId";
|
|
2283
|
+
readonly type: "uint256";
|
|
2284
|
+
}];
|
|
2285
|
+
readonly name: "getOfferActionAccount";
|
|
2286
|
+
readonly outputs: readonly [{
|
|
2287
|
+
readonly internalType: "address";
|
|
2288
|
+
readonly name: "";
|
|
2289
|
+
readonly type: "address";
|
|
2290
|
+
}];
|
|
2291
|
+
readonly stateMutability: "view";
|
|
2292
|
+
readonly type: "function";
|
|
2370
2293
|
}, {
|
|
2371
2294
|
readonly inputs: readonly [{
|
|
2372
2295
|
readonly internalType: "uint256";
|
|
@@ -3000,6 +2923,41 @@ export declare const abi: readonly [{
|
|
|
3000
2923
|
}];
|
|
3001
2924
|
readonly stateMutability: "view";
|
|
3002
2925
|
readonly type: "function";
|
|
2926
|
+
}, {
|
|
2927
|
+
readonly inputs: readonly [{
|
|
2928
|
+
readonly internalType: "uint256";
|
|
2929
|
+
readonly name: "offerId";
|
|
2930
|
+
readonly type: "uint256";
|
|
2931
|
+
}, {
|
|
2932
|
+
readonly internalType: "uint256";
|
|
2933
|
+
readonly name: "from";
|
|
2934
|
+
readonly type: "uint256";
|
|
2935
|
+
}, {
|
|
2936
|
+
readonly internalType: "uint256";
|
|
2937
|
+
readonly name: "to";
|
|
2938
|
+
readonly type: "uint256";
|
|
2939
|
+
}, {
|
|
2940
|
+
readonly components: readonly [{
|
|
2941
|
+
readonly internalType: "bool";
|
|
2942
|
+
readonly name: "includeNew";
|
|
2943
|
+
readonly type: "bool";
|
|
2944
|
+
}, {
|
|
2945
|
+
readonly internalType: "bool";
|
|
2946
|
+
readonly name: "includeDeleted";
|
|
2947
|
+
readonly type: "bool";
|
|
2948
|
+
}];
|
|
2949
|
+
readonly internalType: "struct OfferVersionFilter";
|
|
2950
|
+
readonly name: "filter";
|
|
2951
|
+
readonly type: "tuple";
|
|
2952
|
+
}];
|
|
2953
|
+
readonly name: "getOfferVersionsIdsFiltered";
|
|
2954
|
+
readonly outputs: readonly [{
|
|
2955
|
+
readonly internalType: "uint256[]";
|
|
2956
|
+
readonly name: "";
|
|
2957
|
+
readonly type: "uint256[]";
|
|
2958
|
+
}];
|
|
2959
|
+
readonly stateMutability: "view";
|
|
2960
|
+
readonly type: "function";
|
|
3003
2961
|
}, {
|
|
3004
2962
|
readonly inputs: readonly [{
|
|
3005
2963
|
readonly internalType: "enum OfferType";
|
|
@@ -3049,6 +3007,10 @@ export declare const abi: readonly [{
|
|
|
3049
3007
|
readonly internalType: "bool";
|
|
3050
3008
|
readonly name: "enabled";
|
|
3051
3009
|
readonly type: "bool";
|
|
3010
|
+
}, {
|
|
3011
|
+
readonly internalType: "address";
|
|
3012
|
+
readonly name: "offerActionAccount";
|
|
3013
|
+
readonly type: "address";
|
|
3052
3014
|
}];
|
|
3053
3015
|
readonly internalType: "struct Offer";
|
|
3054
3016
|
readonly name: "offer";
|
|
@@ -3177,6 +3139,10 @@ export declare const abi: readonly [{
|
|
|
3177
3139
|
readonly internalType: "bool";
|
|
3178
3140
|
readonly name: "enabled";
|
|
3179
3141
|
readonly type: "bool";
|
|
3142
|
+
}, {
|
|
3143
|
+
readonly internalType: "address";
|
|
3144
|
+
readonly name: "offerActionAccount";
|
|
3145
|
+
readonly type: "address";
|
|
3180
3146
|
}];
|
|
3181
3147
|
readonly internalType: "struct Offer";
|
|
3182
3148
|
readonly name: "offer";
|
|
@@ -3668,7 +3634,7 @@ export declare const abi: readonly [{
|
|
|
3668
3634
|
readonly type: "uint256[]";
|
|
3669
3635
|
}, {
|
|
3670
3636
|
readonly internalType: "uint256";
|
|
3671
|
-
readonly name: "
|
|
3637
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
3672
3638
|
readonly type: "uint256";
|
|
3673
3639
|
}, {
|
|
3674
3640
|
readonly internalType: "uint64[]";
|
|
@@ -3676,7 +3642,7 @@ export declare const abi: readonly [{
|
|
|
3676
3642
|
readonly type: "uint64[]";
|
|
3677
3643
|
}, {
|
|
3678
3644
|
readonly internalType: "uint64";
|
|
3679
|
-
readonly name: "
|
|
3645
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
3680
3646
|
readonly type: "uint64";
|
|
3681
3647
|
}];
|
|
3682
3648
|
readonly internalType: "struct OrderArgs";
|
|
@@ -3769,7 +3735,7 @@ export declare const abi: readonly [{
|
|
|
3769
3735
|
readonly type: "uint256[]";
|
|
3770
3736
|
}, {
|
|
3771
3737
|
readonly internalType: "uint256";
|
|
3772
|
-
readonly name: "
|
|
3738
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
3773
3739
|
readonly type: "uint256";
|
|
3774
3740
|
}, {
|
|
3775
3741
|
readonly internalType: "uint64[]";
|
|
@@ -3777,7 +3743,7 @@ export declare const abi: readonly [{
|
|
|
3777
3743
|
readonly type: "uint64[]";
|
|
3778
3744
|
}, {
|
|
3779
3745
|
readonly internalType: "uint64";
|
|
3780
|
-
readonly name: "
|
|
3746
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
3781
3747
|
readonly type: "uint64";
|
|
3782
3748
|
}];
|
|
3783
3749
|
readonly internalType: "struct OrderArgs";
|
|
@@ -3870,7 +3836,7 @@ export declare const abi: readonly [{
|
|
|
3870
3836
|
readonly type: "uint256[]";
|
|
3871
3837
|
}, {
|
|
3872
3838
|
readonly internalType: "uint256";
|
|
3873
|
-
readonly name: "
|
|
3839
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
3874
3840
|
readonly type: "uint256";
|
|
3875
3841
|
}, {
|
|
3876
3842
|
readonly internalType: "uint64[]";
|
|
@@ -3878,7 +3844,7 @@ export declare const abi: readonly [{
|
|
|
3878
3844
|
readonly type: "uint64[]";
|
|
3879
3845
|
}, {
|
|
3880
3846
|
readonly internalType: "uint64";
|
|
3881
|
-
readonly name: "
|
|
3847
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
3882
3848
|
readonly type: "uint64";
|
|
3883
3849
|
}];
|
|
3884
3850
|
readonly internalType: "struct OrderArgs";
|
|
@@ -3976,7 +3942,7 @@ export declare const abi: readonly [{
|
|
|
3976
3942
|
readonly type: "uint256[]";
|
|
3977
3943
|
}, {
|
|
3978
3944
|
readonly internalType: "uint256";
|
|
3979
|
-
readonly name: "
|
|
3945
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
3980
3946
|
readonly type: "uint256";
|
|
3981
3947
|
}, {
|
|
3982
3948
|
readonly internalType: "uint64[]";
|
|
@@ -3984,7 +3950,7 @@ export declare const abi: readonly [{
|
|
|
3984
3950
|
readonly type: "uint64[]";
|
|
3985
3951
|
}, {
|
|
3986
3952
|
readonly internalType: "uint64";
|
|
3987
|
-
readonly name: "
|
|
3953
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
3988
3954
|
readonly type: "uint64";
|
|
3989
3955
|
}];
|
|
3990
3956
|
readonly internalType: "struct OrderArgs";
|
|
@@ -4682,20 +4648,6 @@ export declare const abi: readonly [{
|
|
|
4682
4648
|
}];
|
|
4683
4649
|
readonly stateMutability: "view";
|
|
4684
4650
|
readonly type: "function";
|
|
4685
|
-
}, {
|
|
4686
|
-
readonly inputs: readonly [{
|
|
4687
|
-
readonly internalType: "uint256";
|
|
4688
|
-
readonly name: "orderId";
|
|
4689
|
-
readonly type: "uint256";
|
|
4690
|
-
}];
|
|
4691
|
-
readonly name: "calculateOrderOutputReserve";
|
|
4692
|
-
readonly outputs: readonly [{
|
|
4693
|
-
readonly internalType: "uint256";
|
|
4694
|
-
readonly name: "";
|
|
4695
|
-
readonly type: "uint256";
|
|
4696
|
-
}];
|
|
4697
|
-
readonly stateMutability: "view";
|
|
4698
|
-
readonly type: "function";
|
|
4699
4651
|
}, {
|
|
4700
4652
|
readonly inputs: readonly [{
|
|
4701
4653
|
readonly internalType: "uint256";
|
|
@@ -4881,6 +4833,20 @@ export declare const abi: readonly [{
|
|
|
4881
4833
|
}];
|
|
4882
4834
|
readonly stateMutability: "view";
|
|
4883
4835
|
readonly type: "function";
|
|
4836
|
+
}, {
|
|
4837
|
+
readonly inputs: readonly [{
|
|
4838
|
+
readonly internalType: "uint256";
|
|
4839
|
+
readonly name: "orderId";
|
|
4840
|
+
readonly type: "uint256";
|
|
4841
|
+
}];
|
|
4842
|
+
readonly name: "getBillingStartDate";
|
|
4843
|
+
readonly outputs: readonly [{
|
|
4844
|
+
readonly internalType: "uint256";
|
|
4845
|
+
readonly name: "";
|
|
4846
|
+
readonly type: "uint256";
|
|
4847
|
+
}];
|
|
4848
|
+
readonly stateMutability: "view";
|
|
4849
|
+
readonly type: "function";
|
|
4884
4850
|
}, {
|
|
4885
4851
|
readonly inputs: readonly [{
|
|
4886
4852
|
readonly internalType: "uint256";
|
|
@@ -4984,10 +4950,6 @@ export declare const abi: readonly [{
|
|
|
4984
4950
|
readonly internalType: "uint256";
|
|
4985
4951
|
readonly name: "currentCost";
|
|
4986
4952
|
readonly type: "uint256";
|
|
4987
|
-
}, {
|
|
4988
|
-
readonly internalType: "uint256";
|
|
4989
|
-
readonly name: "orderOutputReserve";
|
|
4990
|
-
readonly type: "uint256";
|
|
4991
4953
|
}, {
|
|
4992
4954
|
readonly internalType: "uint256";
|
|
4993
4955
|
readonly name: "totalDepositSpent";
|
|
@@ -5052,7 +5014,7 @@ export declare const abi: readonly [{
|
|
|
5052
5014
|
readonly type: "uint256[]";
|
|
5053
5015
|
}, {
|
|
5054
5016
|
readonly internalType: "uint256";
|
|
5055
|
-
readonly name: "
|
|
5017
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
5056
5018
|
readonly type: "uint256";
|
|
5057
5019
|
}, {
|
|
5058
5020
|
readonly internalType: "uint64[]";
|
|
@@ -5060,7 +5022,7 @@ export declare const abi: readonly [{
|
|
|
5060
5022
|
readonly type: "uint64[]";
|
|
5061
5023
|
}, {
|
|
5062
5024
|
readonly internalType: "uint64";
|
|
5063
|
-
readonly name: "
|
|
5025
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
5064
5026
|
readonly type: "uint64";
|
|
5065
5027
|
}];
|
|
5066
5028
|
readonly internalType: "struct OrderArgs";
|
|
@@ -5226,7 +5188,7 @@ export declare const abi: readonly [{
|
|
|
5226
5188
|
readonly type: "uint256[]";
|
|
5227
5189
|
}, {
|
|
5228
5190
|
readonly internalType: "uint256";
|
|
5229
|
-
readonly name: "
|
|
5191
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
5230
5192
|
readonly type: "uint256";
|
|
5231
5193
|
}, {
|
|
5232
5194
|
readonly internalType: "uint64[]";
|
|
@@ -5234,7 +5196,7 @@ export declare const abi: readonly [{
|
|
|
5234
5196
|
readonly type: "uint64[]";
|
|
5235
5197
|
}, {
|
|
5236
5198
|
readonly internalType: "uint64";
|
|
5237
|
-
readonly name: "
|
|
5199
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
5238
5200
|
readonly type: "uint64";
|
|
5239
5201
|
}];
|
|
5240
5202
|
readonly internalType: "struct OrderArgs";
|
|
@@ -5592,6 +5554,20 @@ export declare const abi: readonly [{
|
|
|
5592
5554
|
}];
|
|
5593
5555
|
readonly stateMutability: "view";
|
|
5594
5556
|
readonly type: "function";
|
|
5557
|
+
}, {
|
|
5558
|
+
readonly inputs: readonly [{
|
|
5559
|
+
readonly internalType: "uint256";
|
|
5560
|
+
readonly name: "orderId";
|
|
5561
|
+
readonly type: "uint256";
|
|
5562
|
+
}];
|
|
5563
|
+
readonly name: "isBlockingSuborder";
|
|
5564
|
+
readonly outputs: readonly [{
|
|
5565
|
+
readonly internalType: "bool";
|
|
5566
|
+
readonly name: "";
|
|
5567
|
+
readonly type: "bool";
|
|
5568
|
+
}];
|
|
5569
|
+
readonly stateMutability: "view";
|
|
5570
|
+
readonly type: "function";
|
|
5595
5571
|
}, {
|
|
5596
5572
|
readonly inputs: readonly [{
|
|
5597
5573
|
readonly internalType: "uint256";
|
|
@@ -5648,6 +5624,18 @@ export declare const abi: readonly [{
|
|
|
5648
5624
|
}];
|
|
5649
5625
|
readonly stateMutability: "view";
|
|
5650
5626
|
readonly type: "function";
|
|
5627
|
+
}, {
|
|
5628
|
+
readonly inputs: readonly [{
|
|
5629
|
+
readonly internalType: "uint8";
|
|
5630
|
+
readonly name: "bits";
|
|
5631
|
+
readonly type: "uint8";
|
|
5632
|
+
}, {
|
|
5633
|
+
readonly internalType: "int256";
|
|
5634
|
+
readonly name: "value";
|
|
5635
|
+
readonly type: "int256";
|
|
5636
|
+
}];
|
|
5637
|
+
readonly name: "SafeCastOverflowedIntDowncast";
|
|
5638
|
+
readonly type: "error";
|
|
5651
5639
|
}, {
|
|
5652
5640
|
readonly anonymous: false;
|
|
5653
5641
|
readonly inputs: readonly [{
|
|
@@ -5705,25 +5693,111 @@ export declare const abi: readonly [{
|
|
|
5705
5693
|
readonly type: "uint256";
|
|
5706
5694
|
}, {
|
|
5707
5695
|
readonly internalType: "uint256";
|
|
5708
|
-
readonly name: "teeOfferId";
|
|
5696
|
+
readonly name: "teeOfferId";
|
|
5697
|
+
readonly type: "uint256";
|
|
5698
|
+
}];
|
|
5699
|
+
readonly name: "addEpochDamage";
|
|
5700
|
+
readonly outputs: readonly [];
|
|
5701
|
+
readonly stateMutability: "nonpayable";
|
|
5702
|
+
readonly type: "function";
|
|
5703
|
+
}, {
|
|
5704
|
+
readonly inputs: readonly [{
|
|
5705
|
+
readonly internalType: "uint256";
|
|
5706
|
+
readonly name: "teeOfferId";
|
|
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: "string";
|
|
5756
|
+
readonly name: "vendorId";
|
|
5757
|
+
readonly type: "string";
|
|
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: "string";
|
|
5768
|
+
readonly name: "modelName";
|
|
5769
|
+
readonly type: "string";
|
|
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";
|
|
5790
|
+
}, {
|
|
5791
|
+
readonly internalType: "uint256";
|
|
5792
|
+
readonly name: "tcbId";
|
|
5709
5793
|
readonly type: "uint256";
|
|
5710
5794
|
}];
|
|
5711
|
-
readonly name: "
|
|
5712
|
-
readonly outputs: readonly [
|
|
5713
|
-
readonly stateMutability: "nonpayable";
|
|
5714
|
-
readonly type: "function";
|
|
5715
|
-
}, {
|
|
5716
|
-
readonly inputs: readonly [{
|
|
5795
|
+
readonly name: "addTcbToEpoch";
|
|
5796
|
+
readonly outputs: readonly [{
|
|
5717
5797
|
readonly internalType: "uint256";
|
|
5718
5798
|
readonly name: "epochIndex";
|
|
5719
5799
|
readonly type: "uint256";
|
|
5720
|
-
}, {
|
|
5721
|
-
readonly internalType: "uint256";
|
|
5722
|
-
readonly name: "teeOfferId";
|
|
5723
|
-
readonly type: "uint256";
|
|
5724
5800
|
}];
|
|
5725
|
-
readonly name: "addTcbToEpoch";
|
|
5726
|
-
readonly outputs: readonly [];
|
|
5727
5801
|
readonly stateMutability: "nonpayable";
|
|
5728
5802
|
readonly type: "function";
|
|
5729
5803
|
}, {
|
|
@@ -5804,6 +5878,10 @@ export declare const abi: readonly [{
|
|
|
5804
5878
|
readonly internalType: "uint64";
|
|
5805
5879
|
readonly name: "networkSize";
|
|
5806
5880
|
readonly type: "uint64";
|
|
5881
|
+
}, {
|
|
5882
|
+
readonly internalType: "uint64";
|
|
5883
|
+
readonly name: "vramSize";
|
|
5884
|
+
readonly type: "uint64";
|
|
5807
5885
|
}, {
|
|
5808
5886
|
readonly internalType: "uint32";
|
|
5809
5887
|
readonly name: "cpuMark";
|
|
@@ -5824,8 +5902,41 @@ export declare const abi: readonly [{
|
|
|
5824
5902
|
readonly internalType: "uint32";
|
|
5825
5903
|
readonly name: "networkMark";
|
|
5826
5904
|
readonly type: "uint32";
|
|
5905
|
+
}, {
|
|
5906
|
+
readonly components: readonly [{
|
|
5907
|
+
readonly internalType: "string";
|
|
5908
|
+
readonly name: "vendorId";
|
|
5909
|
+
readonly type: "string";
|
|
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: "string";
|
|
5920
|
+
readonly name: "modelName";
|
|
5921
|
+
readonly type: "string";
|
|
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";
|
|
5827
5938
|
}];
|
|
5828
|
-
readonly internalType: "struct
|
|
5939
|
+
readonly internalType: "struct ConsensusBenchmarkView";
|
|
5829
5940
|
readonly name: "";
|
|
5830
5941
|
readonly type: "tuple";
|
|
5831
5942
|
}];
|
|
@@ -5924,78 +6035,11 @@ export declare const abi: readonly [{
|
|
|
5924
6035
|
readonly internalType: "uint256";
|
|
5925
6036
|
readonly name: "compensation";
|
|
5926
6037
|
readonly type: "uint256";
|
|
5927
|
-
}, {
|
|
5928
|
-
readonly internalType: "bool";
|
|
5929
|
-
readonly name: "updateRewardAccounting";
|
|
5930
|
-
readonly type: "bool";
|
|
5931
6038
|
}];
|
|
5932
6039
|
readonly name: "increaseNextEpochCompensation";
|
|
5933
6040
|
readonly outputs: readonly [];
|
|
5934
6041
|
readonly stateMutability: "nonpayable";
|
|
5935
6042
|
readonly type: "function";
|
|
5936
|
-
}, {
|
|
5937
|
-
readonly inputs: readonly [{
|
|
5938
|
-
readonly internalType: "uint256";
|
|
5939
|
-
readonly name: "epochIndex";
|
|
5940
|
-
readonly type: "uint256";
|
|
5941
|
-
}, {
|
|
5942
|
-
readonly internalType: "uint256";
|
|
5943
|
-
readonly name: "teeOfferId";
|
|
5944
|
-
readonly type: "uint256";
|
|
5945
|
-
}, {
|
|
5946
|
-
readonly components: readonly [{
|
|
5947
|
-
readonly internalType: "uint64";
|
|
5948
|
-
readonly name: "cpuSize";
|
|
5949
|
-
readonly type: "uint64";
|
|
5950
|
-
}, {
|
|
5951
|
-
readonly internalType: "uint64";
|
|
5952
|
-
readonly name: "ramSize";
|
|
5953
|
-
readonly type: "uint64";
|
|
5954
|
-
}, {
|
|
5955
|
-
readonly internalType: "uint64";
|
|
5956
|
-
readonly name: "gpuSize";
|
|
5957
|
-
readonly type: "uint64";
|
|
5958
|
-
}, {
|
|
5959
|
-
readonly internalType: "uint64";
|
|
5960
|
-
readonly name: "diskSize";
|
|
5961
|
-
readonly type: "uint64";
|
|
5962
|
-
}, {
|
|
5963
|
-
readonly internalType: "uint64";
|
|
5964
|
-
readonly name: "networkSize";
|
|
5965
|
-
readonly type: "uint64";
|
|
5966
|
-
}, {
|
|
5967
|
-
readonly internalType: "uint32";
|
|
5968
|
-
readonly name: "cpuMark";
|
|
5969
|
-
readonly type: "uint32";
|
|
5970
|
-
}, {
|
|
5971
|
-
readonly internalType: "uint32";
|
|
5972
|
-
readonly name: "ramMark";
|
|
5973
|
-
readonly type: "uint32";
|
|
5974
|
-
}, {
|
|
5975
|
-
readonly internalType: "uint32";
|
|
5976
|
-
readonly name: "gpuMark";
|
|
5977
|
-
readonly type: "uint32";
|
|
5978
|
-
}, {
|
|
5979
|
-
readonly internalType: "uint32";
|
|
5980
|
-
readonly name: "diskMark";
|
|
5981
|
-
readonly type: "uint32";
|
|
5982
|
-
}, {
|
|
5983
|
-
readonly internalType: "uint32";
|
|
5984
|
-
readonly name: "networkMark";
|
|
5985
|
-
readonly type: "uint32";
|
|
5986
|
-
}];
|
|
5987
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
5988
|
-
readonly name: "benchmark";
|
|
5989
|
-
readonly type: "tuple";
|
|
5990
|
-
}, {
|
|
5991
|
-
readonly internalType: "uint256";
|
|
5992
|
-
readonly name: "tcbId";
|
|
5993
|
-
readonly type: "uint256";
|
|
5994
|
-
}];
|
|
5995
|
-
readonly name: "initializeTeeOffer";
|
|
5996
|
-
readonly outputs: readonly [];
|
|
5997
|
-
readonly stateMutability: "nonpayable";
|
|
5998
|
-
readonly type: "function";
|
|
5999
6043
|
}, {
|
|
6000
6044
|
readonly inputs: readonly [{
|
|
6001
6045
|
readonly internalType: "uint256";
|
|
@@ -6139,6 +6183,10 @@ export declare const abi: readonly [{
|
|
|
6139
6183
|
readonly internalType: "uint64";
|
|
6140
6184
|
readonly name: "networkSize";
|
|
6141
6185
|
readonly type: "uint64";
|
|
6186
|
+
}, {
|
|
6187
|
+
readonly internalType: "uint64";
|
|
6188
|
+
readonly name: "vramSize";
|
|
6189
|
+
readonly type: "uint64";
|
|
6142
6190
|
}, {
|
|
6143
6191
|
readonly internalType: "uint32";
|
|
6144
6192
|
readonly name: "cpuMark";
|
|
@@ -6159,8 +6207,41 @@ export declare const abi: readonly [{
|
|
|
6159
6207
|
readonly internalType: "uint32";
|
|
6160
6208
|
readonly name: "networkMark";
|
|
6161
6209
|
readonly type: "uint32";
|
|
6210
|
+
}, {
|
|
6211
|
+
readonly components: readonly [{
|
|
6212
|
+
readonly internalType: "string";
|
|
6213
|
+
readonly name: "vendorId";
|
|
6214
|
+
readonly type: "string";
|
|
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: "string";
|
|
6225
|
+
readonly name: "modelName";
|
|
6226
|
+
readonly type: "string";
|
|
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";
|
|
6162
6243
|
}];
|
|
6163
|
-
readonly internalType: "struct
|
|
6244
|
+
readonly internalType: "struct ConsensusBenchmarkView[]";
|
|
6164
6245
|
readonly name: "benchmarks";
|
|
6165
6246
|
readonly type: "tuple[]";
|
|
6166
6247
|
}];
|
|
@@ -6482,6 +6563,10 @@ export declare const abi: readonly [{
|
|
|
6482
6563
|
readonly internalType: "uint32";
|
|
6483
6564
|
readonly name: "networkMark";
|
|
6484
6565
|
readonly type: "uint32";
|
|
6566
|
+
}, {
|
|
6567
|
+
readonly internalType: "uint32";
|
|
6568
|
+
readonly name: "totalPhysicalCores";
|
|
6569
|
+
readonly type: "uint32";
|
|
6485
6570
|
}];
|
|
6486
6571
|
readonly internalType: "struct ConsensusBenchmark";
|
|
6487
6572
|
readonly name: "benchmark";
|
|
@@ -6494,6 +6579,39 @@ export declare const abi: readonly [{
|
|
|
6494
6579
|
readonly internalType: "bool";
|
|
6495
6580
|
readonly name: "benchmarkAdded";
|
|
6496
6581
|
readonly type: "bool";
|
|
6582
|
+
}, {
|
|
6583
|
+
readonly components: readonly [{
|
|
6584
|
+
readonly internalType: "uint128";
|
|
6585
|
+
readonly name: "cpuFamily";
|
|
6586
|
+
readonly type: "uint128";
|
|
6587
|
+
}, {
|
|
6588
|
+
readonly internalType: "uint128";
|
|
6589
|
+
readonly name: "model";
|
|
6590
|
+
readonly type: "uint128";
|
|
6591
|
+
}, {
|
|
6592
|
+
readonly internalType: "uint64";
|
|
6593
|
+
readonly name: "vramSize";
|
|
6594
|
+
readonly type: "uint64";
|
|
6595
|
+
}, {
|
|
6596
|
+
readonly internalType: "uint32";
|
|
6597
|
+
readonly name: "baseFreq";
|
|
6598
|
+
readonly type: "uint32";
|
|
6599
|
+
}, {
|
|
6600
|
+
readonly internalType: "uint32";
|
|
6601
|
+
readonly name: "maxFreq";
|
|
6602
|
+
readonly type: "uint32";
|
|
6603
|
+
}, {
|
|
6604
|
+
readonly internalType: "string";
|
|
6605
|
+
readonly name: "vendorId";
|
|
6606
|
+
readonly type: "string";
|
|
6607
|
+
}, {
|
|
6608
|
+
readonly internalType: "string";
|
|
6609
|
+
readonly name: "modelName";
|
|
6610
|
+
readonly type: "string";
|
|
6611
|
+
}];
|
|
6612
|
+
readonly internalType: "struct ConsensusBenchmark2";
|
|
6613
|
+
readonly name: "benchmark2";
|
|
6614
|
+
readonly type: "tuple";
|
|
6497
6615
|
}];
|
|
6498
6616
|
readonly internalType: "struct ProviderRewardsStorageAccessor.TeeOffer";
|
|
6499
6617
|
readonly name: "";
|
|
@@ -8589,28 +8707,10 @@ export declare const abi: readonly [{
|
|
|
8589
8707
|
}, {
|
|
8590
8708
|
readonly inputs: readonly [{
|
|
8591
8709
|
readonly internalType: "uint256";
|
|
8592
|
-
readonly name: "
|
|
8593
|
-
readonly type: "uint256";
|
|
8594
|
-
}, {
|
|
8595
|
-
readonly internalType: "bytes32";
|
|
8596
|
-
readonly name: "deviceId";
|
|
8597
|
-
readonly type: "bytes32";
|
|
8598
|
-
}];
|
|
8599
|
-
readonly name: "banTeeOffer";
|
|
8600
|
-
readonly outputs: readonly [];
|
|
8601
|
-
readonly stateMutability: "nonpayable";
|
|
8602
|
-
readonly type: "function";
|
|
8603
|
-
}, {
|
|
8604
|
-
readonly inputs: readonly [{
|
|
8605
|
-
readonly internalType: "uint256";
|
|
8606
|
-
readonly name: "teeOfferId";
|
|
8710
|
+
readonly name: "tcbId";
|
|
8607
8711
|
readonly type: "uint256";
|
|
8608
|
-
}, {
|
|
8609
|
-
readonly internalType: "bytes32";
|
|
8610
|
-
readonly name: "deviceId";
|
|
8611
|
-
readonly type: "bytes32";
|
|
8612
8712
|
}];
|
|
8613
|
-
readonly name: "
|
|
8713
|
+
readonly name: "banTcb";
|
|
8614
8714
|
readonly outputs: readonly [];
|
|
8615
8715
|
readonly stateMutability: "nonpayable";
|
|
8616
8716
|
readonly type: "function";
|
|
@@ -8620,7 +8720,7 @@ export declare const abi: readonly [{
|
|
|
8620
8720
|
readonly name: "teeOfferId";
|
|
8621
8721
|
readonly type: "uint256";
|
|
8622
8722
|
}];
|
|
8623
|
-
readonly name: "
|
|
8723
|
+
readonly name: "banTeeOffer";
|
|
8624
8724
|
readonly outputs: readonly [];
|
|
8625
8725
|
readonly stateMutability: "nonpayable";
|
|
8626
8726
|
readonly type: "function";
|
|
@@ -8638,86 +8738,17 @@ export declare const abi: readonly [{
|
|
|
8638
8738
|
}];
|
|
8639
8739
|
readonly stateMutability: "view";
|
|
8640
8740
|
readonly type: "function";
|
|
8641
|
-
}, {
|
|
8642
|
-
readonly inputs: readonly [{
|
|
8643
|
-
readonly internalType: "bytes32";
|
|
8644
|
-
readonly name: "deviceId";
|
|
8645
|
-
readonly type: "bytes32";
|
|
8646
|
-
}];
|
|
8647
|
-
readonly name: "getTeeOfferByDeviceId";
|
|
8648
|
-
readonly outputs: readonly [{
|
|
8649
|
-
readonly internalType: "uint256";
|
|
8650
|
-
readonly name: "";
|
|
8651
|
-
readonly type: "uint256";
|
|
8652
|
-
}];
|
|
8653
|
-
readonly stateMutability: "view";
|
|
8654
|
-
readonly type: "function";
|
|
8655
|
-
}, {
|
|
8656
|
-
readonly inputs: readonly [{
|
|
8657
|
-
readonly internalType: "uint256";
|
|
8658
|
-
readonly name: "teeOfferId";
|
|
8659
|
-
readonly type: "uint256";
|
|
8660
|
-
}];
|
|
8661
|
-
readonly name: "getTeeOfferViolationRate";
|
|
8662
|
-
readonly outputs: readonly [{
|
|
8663
|
-
readonly internalType: "uint256";
|
|
8664
|
-
readonly name: "";
|
|
8665
|
-
readonly type: "uint256";
|
|
8666
|
-
}];
|
|
8667
|
-
readonly stateMutability: "view";
|
|
8668
|
-
readonly type: "function";
|
|
8669
8741
|
}, {
|
|
8670
8742
|
readonly inputs: readonly [{
|
|
8671
8743
|
readonly internalType: "uint256";
|
|
8672
8744
|
readonly name: "teeOfferId";
|
|
8673
8745
|
readonly type: "uint256";
|
|
8674
8746
|
}];
|
|
8675
|
-
readonly name: "
|
|
8747
|
+
readonly name: "getTeeOfferViolationRate";
|
|
8676
8748
|
readonly outputs: readonly [{
|
|
8677
|
-
readonly
|
|
8678
|
-
readonly internalType: "uint64";
|
|
8679
|
-
readonly name: "cpuSize";
|
|
8680
|
-
readonly type: "uint64";
|
|
8681
|
-
}, {
|
|
8682
|
-
readonly internalType: "uint64";
|
|
8683
|
-
readonly name: "ramSize";
|
|
8684
|
-
readonly type: "uint64";
|
|
8685
|
-
}, {
|
|
8686
|
-
readonly internalType: "uint64";
|
|
8687
|
-
readonly name: "gpuSize";
|
|
8688
|
-
readonly type: "uint64";
|
|
8689
|
-
}, {
|
|
8690
|
-
readonly internalType: "uint64";
|
|
8691
|
-
readonly name: "diskSize";
|
|
8692
|
-
readonly type: "uint64";
|
|
8693
|
-
}, {
|
|
8694
|
-
readonly internalType: "uint64";
|
|
8695
|
-
readonly name: "networkSize";
|
|
8696
|
-
readonly type: "uint64";
|
|
8697
|
-
}, {
|
|
8698
|
-
readonly internalType: "uint32";
|
|
8699
|
-
readonly name: "cpuMark";
|
|
8700
|
-
readonly type: "uint32";
|
|
8701
|
-
}, {
|
|
8702
|
-
readonly internalType: "uint32";
|
|
8703
|
-
readonly name: "ramMark";
|
|
8704
|
-
readonly type: "uint32";
|
|
8705
|
-
}, {
|
|
8706
|
-
readonly internalType: "uint32";
|
|
8707
|
-
readonly name: "gpuMark";
|
|
8708
|
-
readonly type: "uint32";
|
|
8709
|
-
}, {
|
|
8710
|
-
readonly internalType: "uint32";
|
|
8711
|
-
readonly name: "diskMark";
|
|
8712
|
-
readonly type: "uint32";
|
|
8713
|
-
}, {
|
|
8714
|
-
readonly internalType: "uint32";
|
|
8715
|
-
readonly name: "networkMark";
|
|
8716
|
-
readonly type: "uint32";
|
|
8717
|
-
}];
|
|
8718
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
8749
|
+
readonly internalType: "uint256";
|
|
8719
8750
|
readonly name: "";
|
|
8720
|
-
readonly type: "
|
|
8751
|
+
readonly type: "uint256";
|
|
8721
8752
|
}];
|
|
8722
8753
|
readonly stateMutability: "view";
|
|
8723
8754
|
readonly type: "function";
|
|
@@ -8735,16 +8766,6 @@ export declare const abi: readonly [{
|
|
|
8735
8766
|
}];
|
|
8736
8767
|
readonly stateMutability: "view";
|
|
8737
8768
|
readonly type: "function";
|
|
8738
|
-
}, {
|
|
8739
|
-
readonly inputs: readonly [{
|
|
8740
|
-
readonly internalType: "uint256";
|
|
8741
|
-
readonly name: "teeOfferId";
|
|
8742
|
-
readonly type: "uint256";
|
|
8743
|
-
}];
|
|
8744
|
-
readonly name: "incrTeeOfferViolationRate";
|
|
8745
|
-
readonly outputs: readonly [];
|
|
8746
|
-
readonly stateMutability: "nonpayable";
|
|
8747
|
-
readonly type: "function";
|
|
8748
8769
|
}, {
|
|
8749
8770
|
readonly inputs: readonly [{
|
|
8750
8771
|
readonly internalType: "uint256";
|
|
@@ -8763,6 +8784,20 @@ export declare const abi: readonly [{
|
|
|
8763
8784
|
}];
|
|
8764
8785
|
readonly stateMutability: "view";
|
|
8765
8786
|
readonly type: "function";
|
|
8787
|
+
}, {
|
|
8788
|
+
readonly inputs: readonly [{
|
|
8789
|
+
readonly internalType: "uint256";
|
|
8790
|
+
readonly name: "teeOfferId";
|
|
8791
|
+
readonly type: "uint256";
|
|
8792
|
+
}];
|
|
8793
|
+
readonly name: "isTeeOfferBanned";
|
|
8794
|
+
readonly outputs: readonly [{
|
|
8795
|
+
readonly internalType: "bool";
|
|
8796
|
+
readonly name: "";
|
|
8797
|
+
readonly type: "bool";
|
|
8798
|
+
}];
|
|
8799
|
+
readonly stateMutability: "view";
|
|
8800
|
+
readonly type: "function";
|
|
8766
8801
|
}, {
|
|
8767
8802
|
readonly inputs: readonly [{
|
|
8768
8803
|
readonly internalType: "uint256";
|
|
@@ -8781,20 +8816,6 @@ export declare const abi: readonly [{
|
|
|
8781
8816
|
readonly outputs: readonly [];
|
|
8782
8817
|
readonly stateMutability: "nonpayable";
|
|
8783
8818
|
readonly type: "function";
|
|
8784
|
-
}, {
|
|
8785
|
-
readonly inputs: readonly [{
|
|
8786
|
-
readonly internalType: "uint256";
|
|
8787
|
-
readonly name: "teeOfferId";
|
|
8788
|
-
readonly type: "uint256";
|
|
8789
|
-
}, {
|
|
8790
|
-
readonly internalType: "bytes32";
|
|
8791
|
-
readonly name: "deviceId";
|
|
8792
|
-
readonly type: "bytes32";
|
|
8793
|
-
}];
|
|
8794
|
-
readonly name: "setTeeDeviceId";
|
|
8795
|
-
readonly outputs: readonly [];
|
|
8796
|
-
readonly stateMutability: "nonpayable";
|
|
8797
|
-
readonly type: "function";
|
|
8798
8819
|
}, {
|
|
8799
8820
|
readonly inputs: readonly [{
|
|
8800
8821
|
readonly internalType: "uint256";
|
|
@@ -8819,61 +8840,6 @@ export declare const abi: readonly [{
|
|
|
8819
8840
|
}];
|
|
8820
8841
|
readonly stateMutability: "nonpayable";
|
|
8821
8842
|
readonly type: "function";
|
|
8822
|
-
}, {
|
|
8823
|
-
readonly inputs: readonly [{
|
|
8824
|
-
readonly internalType: "uint256";
|
|
8825
|
-
readonly name: "teeOfferId";
|
|
8826
|
-
readonly type: "uint256";
|
|
8827
|
-
}, {
|
|
8828
|
-
readonly components: readonly [{
|
|
8829
|
-
readonly internalType: "uint64";
|
|
8830
|
-
readonly name: "cpuSize";
|
|
8831
|
-
readonly type: "uint64";
|
|
8832
|
-
}, {
|
|
8833
|
-
readonly internalType: "uint64";
|
|
8834
|
-
readonly name: "ramSize";
|
|
8835
|
-
readonly type: "uint64";
|
|
8836
|
-
}, {
|
|
8837
|
-
readonly internalType: "uint64";
|
|
8838
|
-
readonly name: "gpuSize";
|
|
8839
|
-
readonly type: "uint64";
|
|
8840
|
-
}, {
|
|
8841
|
-
readonly internalType: "uint64";
|
|
8842
|
-
readonly name: "diskSize";
|
|
8843
|
-
readonly type: "uint64";
|
|
8844
|
-
}, {
|
|
8845
|
-
readonly internalType: "uint64";
|
|
8846
|
-
readonly name: "networkSize";
|
|
8847
|
-
readonly type: "uint64";
|
|
8848
|
-
}, {
|
|
8849
|
-
readonly internalType: "uint32";
|
|
8850
|
-
readonly name: "cpuMark";
|
|
8851
|
-
readonly type: "uint32";
|
|
8852
|
-
}, {
|
|
8853
|
-
readonly internalType: "uint32";
|
|
8854
|
-
readonly name: "ramMark";
|
|
8855
|
-
readonly type: "uint32";
|
|
8856
|
-
}, {
|
|
8857
|
-
readonly internalType: "uint32";
|
|
8858
|
-
readonly name: "gpuMark";
|
|
8859
|
-
readonly type: "uint32";
|
|
8860
|
-
}, {
|
|
8861
|
-
readonly internalType: "uint32";
|
|
8862
|
-
readonly name: "diskMark";
|
|
8863
|
-
readonly type: "uint32";
|
|
8864
|
-
}, {
|
|
8865
|
-
readonly internalType: "uint32";
|
|
8866
|
-
readonly name: "networkMark";
|
|
8867
|
-
readonly type: "uint32";
|
|
8868
|
-
}];
|
|
8869
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
8870
|
-
readonly name: "benchmark";
|
|
8871
|
-
readonly type: "tuple";
|
|
8872
|
-
}];
|
|
8873
|
-
readonly name: "updateVerifiedTeeBenchmark";
|
|
8874
|
-
readonly outputs: readonly [];
|
|
8875
|
-
readonly stateMutability: "nonpayable";
|
|
8876
|
-
readonly type: "function";
|
|
8877
8843
|
}, {
|
|
8878
8844
|
readonly anonymous: false;
|
|
8879
8845
|
readonly inputs: readonly [{
|
|
@@ -9457,7 +9423,7 @@ export declare const abi: readonly [{
|
|
|
9457
9423
|
readonly type: "uint256[]";
|
|
9458
9424
|
}, {
|
|
9459
9425
|
readonly internalType: "uint256";
|
|
9460
|
-
readonly name: "
|
|
9426
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
9461
9427
|
readonly type: "uint256";
|
|
9462
9428
|
}, {
|
|
9463
9429
|
readonly internalType: "uint64[]";
|
|
@@ -9465,7 +9431,7 @@ export declare const abi: readonly [{
|
|
|
9465
9431
|
readonly type: "uint64[]";
|
|
9466
9432
|
}, {
|
|
9467
9433
|
readonly internalType: "uint64";
|
|
9468
|
-
readonly name: "
|
|
9434
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
9469
9435
|
readonly type: "uint64";
|
|
9470
9436
|
}];
|
|
9471
9437
|
readonly internalType: "struct OrderArgs";
|
|
@@ -9545,7 +9511,7 @@ export declare const abi: readonly [{
|
|
|
9545
9511
|
readonly type: "uint256[]";
|
|
9546
9512
|
}, {
|
|
9547
9513
|
readonly internalType: "uint256";
|
|
9548
|
-
readonly name: "
|
|
9514
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
9549
9515
|
readonly type: "uint256";
|
|
9550
9516
|
}, {
|
|
9551
9517
|
readonly internalType: "uint64[]";
|
|
@@ -9553,7 +9519,7 @@ export declare const abi: readonly [{
|
|
|
9553
9519
|
readonly type: "uint64[]";
|
|
9554
9520
|
}, {
|
|
9555
9521
|
readonly internalType: "uint64";
|
|
9556
|
-
readonly name: "
|
|
9522
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
9557
9523
|
readonly type: "uint64";
|
|
9558
9524
|
}];
|
|
9559
9525
|
readonly internalType: "struct OrderArgs";
|
|
@@ -9640,7 +9606,7 @@ export declare const abi: readonly [{
|
|
|
9640
9606
|
readonly type: "uint256[]";
|
|
9641
9607
|
}, {
|
|
9642
9608
|
readonly internalType: "uint256";
|
|
9643
|
-
readonly name: "
|
|
9609
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
9644
9610
|
readonly type: "uint256";
|
|
9645
9611
|
}, {
|
|
9646
9612
|
readonly internalType: "uint64[]";
|
|
@@ -9648,7 +9614,7 @@ export declare const abi: readonly [{
|
|
|
9648
9614
|
readonly type: "uint64[]";
|
|
9649
9615
|
}, {
|
|
9650
9616
|
readonly internalType: "uint64";
|
|
9651
|
-
readonly name: "
|
|
9617
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
9652
9618
|
readonly type: "uint64";
|
|
9653
9619
|
}];
|
|
9654
9620
|
readonly internalType: "struct OrderArgs";
|
|
@@ -9728,7 +9694,7 @@ export declare const abi: readonly [{
|
|
|
9728
9694
|
readonly type: "uint256[]";
|
|
9729
9695
|
}, {
|
|
9730
9696
|
readonly internalType: "uint256";
|
|
9731
|
-
readonly name: "
|
|
9697
|
+
readonly name: "outputOfferId_DEPRECATED";
|
|
9732
9698
|
readonly type: "uint256";
|
|
9733
9699
|
}, {
|
|
9734
9700
|
readonly internalType: "uint64[]";
|
|
@@ -9736,7 +9702,7 @@ export declare const abi: readonly [{
|
|
|
9736
9702
|
readonly type: "uint64[]";
|
|
9737
9703
|
}, {
|
|
9738
9704
|
readonly internalType: "uint64";
|
|
9739
|
-
readonly name: "
|
|
9705
|
+
readonly name: "outputOfferVersion_DEPRECATED";
|
|
9740
9706
|
readonly type: "uint64";
|
|
9741
9707
|
}];
|
|
9742
9708
|
readonly internalType: "struct OrderArgs";
|
|
@@ -9769,26 +9735,6 @@ export declare const abi: readonly [{
|
|
|
9769
9735
|
readonly outputs: readonly [];
|
|
9770
9736
|
readonly stateMutability: "nonpayable";
|
|
9771
9737
|
readonly type: "function";
|
|
9772
|
-
}, {
|
|
9773
|
-
readonly inputs: readonly [];
|
|
9774
|
-
readonly name: "deployer";
|
|
9775
|
-
readonly outputs: readonly [{
|
|
9776
|
-
readonly internalType: "address";
|
|
9777
|
-
readonly name: "";
|
|
9778
|
-
readonly type: "address";
|
|
9779
|
-
}];
|
|
9780
|
-
readonly stateMutability: "view";
|
|
9781
|
-
readonly type: "function";
|
|
9782
|
-
}, {
|
|
9783
|
-
readonly inputs: readonly [];
|
|
9784
|
-
readonly name: "deploymentBlockNumber";
|
|
9785
|
-
readonly outputs: readonly [{
|
|
9786
|
-
readonly internalType: "uint64";
|
|
9787
|
-
readonly name: "";
|
|
9788
|
-
readonly type: "uint64";
|
|
9789
|
-
}];
|
|
9790
|
-
readonly stateMutability: "view";
|
|
9791
|
-
readonly type: "function";
|
|
9792
9738
|
}, {
|
|
9793
9739
|
readonly anonymous: false;
|
|
9794
9740
|
readonly inputs: readonly [{
|
|
@@ -9983,12 +9929,6 @@ export declare const abi: readonly [{
|
|
|
9983
9929
|
readonly outputs: readonly [];
|
|
9984
9930
|
readonly stateMutability: "nonpayable";
|
|
9985
9931
|
readonly type: "function";
|
|
9986
|
-
}, {
|
|
9987
|
-
readonly inputs: readonly [];
|
|
9988
|
-
readonly name: "init";
|
|
9989
|
-
readonly outputs: readonly [];
|
|
9990
|
-
readonly stateMutability: "nonpayable";
|
|
9991
|
-
readonly type: "function";
|
|
9992
9932
|
}, {
|
|
9993
9933
|
readonly anonymous: false;
|
|
9994
9934
|
readonly inputs: readonly [{
|
|
@@ -11605,67 +11545,47 @@ export declare const abi: readonly [{
|
|
|
11605
11545
|
readonly type: "function";
|
|
11606
11546
|
}, {
|
|
11607
11547
|
readonly inputs: readonly [{
|
|
11608
|
-
readonly internalType: "
|
|
11609
|
-
readonly name: "
|
|
11610
|
-
readonly type: "
|
|
11548
|
+
readonly internalType: "address";
|
|
11549
|
+
readonly name: "owner";
|
|
11550
|
+
readonly type: "address";
|
|
11551
|
+
}, {
|
|
11552
|
+
readonly internalType: "address";
|
|
11553
|
+
readonly name: "spender";
|
|
11554
|
+
readonly type: "address";
|
|
11611
11555
|
}];
|
|
11612
|
-
readonly name: "
|
|
11613
|
-
readonly outputs: readonly [
|
|
11614
|
-
readonly stateMutability: "nonpayable";
|
|
11615
|
-
readonly type: "function";
|
|
11616
|
-
}, {
|
|
11617
|
-
readonly inputs: readonly [{
|
|
11556
|
+
readonly name: "allowance";
|
|
11557
|
+
readonly outputs: readonly [{
|
|
11618
11558
|
readonly internalType: "uint256";
|
|
11619
|
-
readonly name: "
|
|
11559
|
+
readonly name: "";
|
|
11620
11560
|
readonly type: "uint256";
|
|
11621
11561
|
}];
|
|
11622
|
-
readonly
|
|
11623
|
-
readonly outputs: readonly [];
|
|
11624
|
-
readonly stateMutability: "nonpayable";
|
|
11562
|
+
readonly stateMutability: "view";
|
|
11625
11563
|
readonly type: "function";
|
|
11626
11564
|
}, {
|
|
11627
11565
|
readonly inputs: readonly [{
|
|
11628
11566
|
readonly internalType: "address";
|
|
11629
|
-
readonly name: "
|
|
11567
|
+
readonly name: "spender";
|
|
11630
11568
|
readonly type: "address";
|
|
11631
|
-
}
|
|
11632
|
-
readonly name: "confiscateSecurityDeposit";
|
|
11633
|
-
readonly outputs: readonly [];
|
|
11634
|
-
readonly stateMutability: "nonpayable";
|
|
11635
|
-
readonly type: "function";
|
|
11636
|
-
}, {
|
|
11637
|
-
readonly inputs: readonly [{
|
|
11569
|
+
}, {
|
|
11638
11570
|
readonly internalType: "uint256";
|
|
11639
|
-
readonly name: "
|
|
11571
|
+
readonly name: "amount";
|
|
11640
11572
|
readonly type: "uint256";
|
|
11641
11573
|
}];
|
|
11642
|
-
readonly name: "
|
|
11643
|
-
readonly outputs: readonly [];
|
|
11644
|
-
readonly stateMutability: "nonpayable";
|
|
11645
|
-
readonly type: "function";
|
|
11646
|
-
}, {
|
|
11647
|
-
readonly inputs: readonly [];
|
|
11648
|
-
readonly name: "clear";
|
|
11649
|
-
readonly outputs: readonly [];
|
|
11650
|
-
readonly stateMutability: "nonpayable";
|
|
11651
|
-
readonly type: "function";
|
|
11652
|
-
}, {
|
|
11653
|
-
readonly inputs: readonly [];
|
|
11654
|
-
readonly name: "getAll";
|
|
11574
|
+
readonly name: "approve";
|
|
11655
11575
|
readonly outputs: readonly [{
|
|
11656
|
-
readonly internalType: "
|
|
11576
|
+
readonly internalType: "bool";
|
|
11657
11577
|
readonly name: "";
|
|
11658
|
-
readonly type: "
|
|
11578
|
+
readonly type: "bool";
|
|
11659
11579
|
}];
|
|
11660
|
-
readonly stateMutability: "
|
|
11580
|
+
readonly stateMutability: "nonpayable";
|
|
11661
11581
|
readonly type: "function";
|
|
11662
11582
|
}, {
|
|
11663
11583
|
readonly inputs: readonly [{
|
|
11664
|
-
readonly internalType: "
|
|
11665
|
-
readonly name: "
|
|
11666
|
-
readonly type: "
|
|
11584
|
+
readonly internalType: "address";
|
|
11585
|
+
readonly name: "account";
|
|
11586
|
+
readonly type: "address";
|
|
11667
11587
|
}];
|
|
11668
|
-
readonly name: "
|
|
11588
|
+
readonly name: "balanceOf";
|
|
11669
11589
|
readonly outputs: readonly [{
|
|
11670
11590
|
readonly internalType: "uint256";
|
|
11671
11591
|
readonly name: "";
|
|
@@ -11674,47 +11594,57 @@ export declare const abi: readonly [{
|
|
|
11674
11594
|
readonly stateMutability: "view";
|
|
11675
11595
|
readonly type: "function";
|
|
11676
11596
|
}, {
|
|
11677
|
-
readonly inputs: readonly [
|
|
11678
|
-
|
|
11679
|
-
|
|
11680
|
-
readonly
|
|
11681
|
-
|
|
11682
|
-
readonly
|
|
11597
|
+
readonly inputs: readonly [{
|
|
11598
|
+
readonly internalType: "address";
|
|
11599
|
+
readonly name: "account";
|
|
11600
|
+
readonly type: "address";
|
|
11601
|
+
}, {
|
|
11602
|
+
readonly internalType: "uint256";
|
|
11603
|
+
readonly name: "amount";
|
|
11604
|
+
readonly type: "uint256";
|
|
11683
11605
|
}];
|
|
11684
|
-
readonly
|
|
11606
|
+
readonly name: "burnFrom";
|
|
11607
|
+
readonly outputs: readonly [];
|
|
11608
|
+
readonly stateMutability: "nonpayable";
|
|
11685
11609
|
readonly type: "function";
|
|
11686
11610
|
}, {
|
|
11687
11611
|
readonly inputs: readonly [{
|
|
11612
|
+
readonly internalType: "address";
|
|
11613
|
+
readonly name: "to";
|
|
11614
|
+
readonly type: "address";
|
|
11615
|
+
}, {
|
|
11688
11616
|
readonly internalType: "uint256";
|
|
11689
|
-
readonly name: "
|
|
11617
|
+
readonly name: "amount";
|
|
11690
11618
|
readonly type: "uint256";
|
|
11691
11619
|
}];
|
|
11692
|
-
readonly name: "
|
|
11620
|
+
readonly name: "transfer";
|
|
11693
11621
|
readonly outputs: readonly [{
|
|
11694
11622
|
readonly internalType: "bool";
|
|
11695
11623
|
readonly name: "";
|
|
11696
11624
|
readonly type: "bool";
|
|
11697
11625
|
}];
|
|
11698
|
-
readonly stateMutability: "
|
|
11626
|
+
readonly stateMutability: "nonpayable";
|
|
11699
11627
|
readonly type: "function";
|
|
11700
11628
|
}, {
|
|
11701
11629
|
readonly inputs: readonly [{
|
|
11630
|
+
readonly internalType: "address";
|
|
11631
|
+
readonly name: "from";
|
|
11632
|
+
readonly type: "address";
|
|
11633
|
+
}, {
|
|
11634
|
+
readonly internalType: "address";
|
|
11635
|
+
readonly name: "to";
|
|
11636
|
+
readonly type: "address";
|
|
11637
|
+
}, {
|
|
11702
11638
|
readonly internalType: "uint256";
|
|
11703
|
-
readonly name: "
|
|
11639
|
+
readonly name: "amount";
|
|
11704
11640
|
readonly type: "uint256";
|
|
11705
11641
|
}];
|
|
11706
|
-
readonly name: "
|
|
11707
|
-
readonly outputs: readonly [
|
|
11708
|
-
|
|
11709
|
-
readonly type: "function";
|
|
11710
|
-
}, {
|
|
11711
|
-
readonly inputs: readonly [{
|
|
11712
|
-
readonly internalType: "address";
|
|
11642
|
+
readonly name: "transferFrom";
|
|
11643
|
+
readonly outputs: readonly [{
|
|
11644
|
+
readonly internalType: "bool";
|
|
11713
11645
|
readonly name: "";
|
|
11714
|
-
readonly type: "
|
|
11646
|
+
readonly type: "bool";
|
|
11715
11647
|
}];
|
|
11716
|
-
readonly name: "addWhitelistAddress";
|
|
11717
|
-
readonly outputs: readonly [];
|
|
11718
11648
|
readonly stateMutability: "nonpayable";
|
|
11719
11649
|
readonly type: "function";
|
|
11720
11650
|
}];
|