@super-protocol/sdk-js 3.16.0-beta.3 → 3.16.0-beta.4
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/constants.d.ts +1 -0
- package/dist/cjs/constants.js +3 -2
- package/dist/cjs/contracts/adminCertificateHelperAbi.d.ts +316 -0
- package/dist/cjs/contracts/adminCertificateHelperAbi.js +410 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/staticModels/AdminCertificateHelper.d.ts +24 -0
- package/dist/cjs/staticModels/AdminCertificateHelper.js +99 -0
- package/dist/cjs/utils/admin-service.d.ts +13 -0
- package/dist/cjs/utils/admin-service.js +73 -0
- package/dist/cjs/utils/helper.d.ts +3 -0
- package/dist/cjs/utils/helper.js +20 -2
- package/dist/cjs/utils/types.d.ts +5 -0
- package/dist/mjs/constants.d.ts +1 -0
- package/dist/mjs/constants.js +2 -1
- package/dist/mjs/contracts/adminCertificateHelperAbi.d.ts +316 -0
- package/dist/mjs/contracts/adminCertificateHelperAbi.js +407 -0
- package/dist/mjs/index.d.ts +1 -0
- package/dist/mjs/index.js +2 -1
- package/dist/mjs/staticModels/AdminCertificateHelper.d.ts +24 -0
- package/dist/mjs/staticModels/AdminCertificateHelper.js +92 -0
- package/dist/mjs/utils/admin-service.d.ts +13 -0
- package/dist/mjs/utils/admin-service.js +66 -0
- package/dist/mjs/utils/helper.d.ts +3 -0
- package/dist/mjs/utils/helper.js +17 -2
- package/dist/mjs/utils/types.d.ts +5 -0
- package/package.json +1 -1
package/dist/cjs/constants.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const ONE_HOUR: number;
|
|
|
13
13
|
export declare const FIVE_MINUTES: number;
|
|
14
14
|
export declare const BLOCK_SIZE_TO_FETCH_TRANSACTION = 500;
|
|
15
15
|
export declare const POLYGON_MATIC_EVENT_PATH = "0x0000000000000000000000000000000000001010";
|
|
16
|
+
export declare const ZERO32_HEX: string;
|
|
16
17
|
export declare const BLOCKCHAIN_CALL_RETRY_ATTEMPTS = 20;
|
|
17
18
|
export declare const BLOCKCHAIN_CALL_RETRY_INTERVAL = 3000;
|
|
18
19
|
export declare const TRANSACTION_RETRY_ATTEMPTS = 3;
|
package/dist/cjs/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SUPERPROTOCOL_CA = exports.OID_OCSP_NONCE = exports.OID_OCSP_ISSUER_ACCESS_METHOD = exports.OID_OCSP_ACCESS_METHOD = exports.OID_CRL_DISTRIBUTION_POINTS = exports.OID_AUTHORITY_INFORMATION_ACCESS_EXTENSION = exports.OID_CUSTOM_EXTENSION_USER_DATA = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_WORKLOAD_INFO_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_SIGNATURE_KEY_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_HARDWARE_CONTEXT = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT = exports.TEE_LOADER_TRUSTED_CERTIFICATE = exports.OPBNB_MAX_PRIORITY_FEE_PER_GAS = exports.OPBNB_TX_GAS_LIMIT = exports.OPBNB_TEST_CHAIN_ID = exports.OPBNB_MAIN_CHAIN_ID = exports.TRUSTED_PKI_SOLUTION_HASHES = exports.TEE_PKI_TRUSTED_MRSIGNER = exports.TEE_LOADER_TRUSTED_MRSIGNER = exports.ZERO_HASH = exports.HTTPS_PORT = exports.DEFAULT_OFFER_VERSION = exports.AMOY_TX_GAS_LIMIT = exports.AMOY_TX_COST_LIMIT = exports.OCSP_URL = exports.POLYGON_MAIN_GASSTATION_URL = exports.POLYGON_AMOY_GASSTATION_URL = exports.POLYGON_AMOY_CHAIN_ID = exports.POLYGON_MAIN_CHAIN_ID = exports.MAX_RPC_BATCH_SIZE = exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = exports.TRANSACTION_RETRY_ATTEMPTS = exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = exports.POLYGON_MATIC_EVENT_PATH = exports.BLOCK_SIZE_TO_FETCH_TRANSACTION = exports.FIVE_MINUTES = exports.ONE_HOUR = exports.ONE_DAY = exports.txIntervalMs = exports.txConcurrency = exports.defaultMaxPriorityFeePerGasMultiplier = exports.defaultMaxFeePerGasMultiplier = exports.defaultGasLimitMultiplier = exports.defaultGasPriceMultiplier = exports.defaultGasPrice = exports.defaultGasLimit = exports.defaultBlockchainUrl = void 0;
|
|
3
|
+
exports.SUPERPROTOCOL_CA = exports.OID_OCSP_NONCE = exports.OID_OCSP_ISSUER_ACCESS_METHOD = exports.OID_OCSP_ACCESS_METHOD = exports.OID_CRL_DISTRIBUTION_POINTS = exports.OID_AUTHORITY_INFORMATION_ACCESS_EXTENSION = exports.OID_CUSTOM_EXTENSION_USER_DATA = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_WORKLOAD_INFO_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_SIGNATURE_KEY_HASH = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT_HARDWARE_CONTEXT = exports.OID_CUSTOM_EXTENSION_ORDER_REPORT = exports.TEE_LOADER_TRUSTED_CERTIFICATE = exports.OPBNB_MAX_PRIORITY_FEE_PER_GAS = exports.OPBNB_TX_GAS_LIMIT = exports.OPBNB_TEST_CHAIN_ID = exports.OPBNB_MAIN_CHAIN_ID = exports.TRUSTED_PKI_SOLUTION_HASHES = exports.TEE_PKI_TRUSTED_MRSIGNER = exports.TEE_LOADER_TRUSTED_MRSIGNER = exports.ZERO_HASH = exports.HTTPS_PORT = exports.DEFAULT_OFFER_VERSION = exports.AMOY_TX_GAS_LIMIT = exports.AMOY_TX_COST_LIMIT = exports.OCSP_URL = exports.POLYGON_MAIN_GASSTATION_URL = exports.POLYGON_AMOY_GASSTATION_URL = exports.POLYGON_AMOY_CHAIN_ID = exports.POLYGON_MAIN_CHAIN_ID = exports.MAX_RPC_BATCH_SIZE = exports.BLOCKCHAIN_BATCH_REQUEST_TIMEOUT = exports.TRANSACTION_RETRY_ATTEMPTS = exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = exports.ZERO32_HEX = exports.POLYGON_MATIC_EVENT_PATH = exports.BLOCK_SIZE_TO_FETCH_TRANSACTION = exports.FIVE_MINUTES = exports.ONE_HOUR = exports.ONE_DAY = exports.txIntervalMs = exports.txConcurrency = exports.defaultMaxPriorityFeePerGasMultiplier = exports.defaultMaxFeePerGasMultiplier = exports.defaultGasLimitMultiplier = exports.defaultGasPriceMultiplier = exports.defaultGasPrice = exports.defaultGasLimit = exports.defaultBlockchainUrl = void 0;
|
|
4
4
|
const dto_js_1 = require("@super-protocol/dto-js");
|
|
5
5
|
exports.defaultBlockchainUrl = 'http://127.0.0.1:8545';
|
|
6
6
|
exports.defaultGasLimit = BigInt(7000000);
|
|
@@ -16,6 +16,7 @@ exports.ONE_HOUR = 60 * 60;
|
|
|
16
16
|
exports.FIVE_MINUTES = 5 * 60;
|
|
17
17
|
exports.BLOCK_SIZE_TO_FETCH_TRANSACTION = 500;
|
|
18
18
|
exports.POLYGON_MATIC_EVENT_PATH = '0x0000000000000000000000000000000000001010';
|
|
19
|
+
exports.ZERO32_HEX = '0x' + '00'.repeat(32);
|
|
19
20
|
exports.BLOCKCHAIN_CALL_RETRY_ATTEMPTS = 20;
|
|
20
21
|
exports.BLOCKCHAIN_CALL_RETRY_INTERVAL = 3000;
|
|
21
22
|
exports.TRANSACTION_RETRY_ATTEMPTS = 3;
|
|
@@ -445,4 +446,4 @@ OVFXeEhSQXZaVUdPZFJRN2N2cVJYYXFJPQotLS0tLUVORCBDRVJUSUZJQ0FURS0t
|
|
|
445
446
|
LS0tCgAwCgYIKoZIzj0EAwIDSAAwRQIgDTaE8oMgfCSqhbOeqnn6FD2ypLS4arzW
|
|
446
447
|
th/G0VQ3e40CIQCEcpjpdAP63KCipYLE1UEmHJOBOvcKNjevt/2O9DkwXA==
|
|
447
448
|
-----END CERTIFICATE-----`;
|
|
448
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
449
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtREFBdUU7QUFFMUQsUUFBQSxvQkFBb0IsR0FBRyx1QkFBdUIsQ0FBQztBQUMvQyxRQUFBLGVBQWUsR0FBRyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDbEMsUUFBQSxlQUFlLEdBQUcsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0FBQ3JDLFFBQUEseUJBQXlCLEdBQUcsQ0FBQyxDQUFDO0FBQzlCLFFBQUEseUJBQXlCLEdBQUcsR0FBRyxDQUFDO0FBQ2hDLFFBQUEsNkJBQTZCLEdBQUcsQ0FBQyxDQUFDO0FBQ2xDLFFBQUEscUNBQXFDLEdBQUcsR0FBRyxDQUFDO0FBQzVDLFFBQUEsYUFBYSxHQUFHLEVBQUUsQ0FBQztBQUNuQixRQUFBLFlBQVksR0FBRyxFQUFFLENBQUM7QUFDbEIsUUFBQSxPQUFPLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLENBQUM7QUFDdkIsUUFBQSxRQUFRLEdBQUcsRUFBRSxHQUFHLEVBQUUsQ0FBQztBQUNuQixRQUFBLFlBQVksR0FBRyxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQ3RCLFFBQUEsK0JBQStCLEdBQUcsR0FBRyxDQUFDO0FBQ3RDLFFBQUEsd0JBQXdCLEdBQUcsNENBQTRDLENBQUM7QUFDeE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ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7MEJBd1dOLENBQUMifQ==
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
export declare const adminCertificateHelperAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "contract ICertVerifier";
|
|
4
|
+
readonly name: "_certVerifier";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}];
|
|
7
|
+
readonly stateMutability: "nonpayable";
|
|
8
|
+
readonly type: "constructor";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly name: "ECDSAInvalidSignature";
|
|
12
|
+
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly internalType: "uint256";
|
|
16
|
+
readonly name: "length";
|
|
17
|
+
readonly type: "uint256";
|
|
18
|
+
}];
|
|
19
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
20
|
+
readonly type: "error";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [{
|
|
23
|
+
readonly internalType: "bytes32";
|
|
24
|
+
readonly name: "s";
|
|
25
|
+
readonly type: "bytes32";
|
|
26
|
+
}];
|
|
27
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly anonymous: false;
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly indexed: true;
|
|
33
|
+
readonly internalType: "contract ICertVerifier";
|
|
34
|
+
readonly name: "oldCertVerifier";
|
|
35
|
+
readonly type: "address";
|
|
36
|
+
}, {
|
|
37
|
+
readonly indexed: true;
|
|
38
|
+
readonly internalType: "contract ICertVerifier";
|
|
39
|
+
readonly name: "newCertVerifier";
|
|
40
|
+
readonly type: "address";
|
|
41
|
+
}];
|
|
42
|
+
readonly name: "CertVerifierSet";
|
|
43
|
+
readonly type: "event";
|
|
44
|
+
}, {
|
|
45
|
+
readonly anonymous: false;
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly indexed: true;
|
|
48
|
+
readonly internalType: "address";
|
|
49
|
+
readonly name: "from";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
}, {
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "to";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "OwnershipTransferRequested";
|
|
58
|
+
readonly type: "event";
|
|
59
|
+
}, {
|
|
60
|
+
readonly anonymous: false;
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly indexed: true;
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
readonly name: "from";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}, {
|
|
67
|
+
readonly indexed: true;
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
readonly name: "to";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "OwnershipTransferred";
|
|
73
|
+
readonly type: "event";
|
|
74
|
+
}, {
|
|
75
|
+
readonly anonymous: false;
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly indexed: true;
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
readonly name: "oldAdmin";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
}, {
|
|
82
|
+
readonly indexed: true;
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly name: "newAdmin";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
}, {
|
|
87
|
+
readonly components: readonly [{
|
|
88
|
+
readonly internalType: "bytes[]";
|
|
89
|
+
readonly name: "nonSerializedParts";
|
|
90
|
+
readonly type: "bytes[]";
|
|
91
|
+
}, {
|
|
92
|
+
readonly internalType: "bytes";
|
|
93
|
+
readonly name: "expirationDate";
|
|
94
|
+
readonly type: "bytes";
|
|
95
|
+
}, {
|
|
96
|
+
readonly internalType: "bytes";
|
|
97
|
+
readonly name: "ca";
|
|
98
|
+
readonly type: "bytes";
|
|
99
|
+
}, {
|
|
100
|
+
readonly internalType: "bytes32";
|
|
101
|
+
readonly name: "userData";
|
|
102
|
+
readonly type: "bytes32";
|
|
103
|
+
}, {
|
|
104
|
+
readonly internalType: "bytes";
|
|
105
|
+
readonly name: "publicKey";
|
|
106
|
+
readonly type: "bytes";
|
|
107
|
+
}, {
|
|
108
|
+
readonly internalType: "bytes";
|
|
109
|
+
readonly name: "serialNumber";
|
|
110
|
+
readonly type: "bytes";
|
|
111
|
+
}, {
|
|
112
|
+
readonly internalType: "bytes32";
|
|
113
|
+
readonly name: "mrEnclave";
|
|
114
|
+
readonly type: "bytes32";
|
|
115
|
+
}, {
|
|
116
|
+
readonly internalType: "bytes32";
|
|
117
|
+
readonly name: "mrSigner";
|
|
118
|
+
readonly type: "bytes32";
|
|
119
|
+
}, {
|
|
120
|
+
readonly internalType: "bytes";
|
|
121
|
+
readonly name: "signature";
|
|
122
|
+
readonly type: "bytes";
|
|
123
|
+
}];
|
|
124
|
+
readonly indexed: false;
|
|
125
|
+
readonly internalType: "struct ChunkedX509Cert[]";
|
|
126
|
+
readonly name: "certsChain";
|
|
127
|
+
readonly type: "tuple[]";
|
|
128
|
+
}, {
|
|
129
|
+
readonly indexed: false;
|
|
130
|
+
readonly internalType: "uint256";
|
|
131
|
+
readonly name: "rootCertId";
|
|
132
|
+
readonly type: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "SetAdmin";
|
|
135
|
+
readonly type: "event";
|
|
136
|
+
}, {
|
|
137
|
+
readonly inputs: readonly [];
|
|
138
|
+
readonly name: "acceptOwnership";
|
|
139
|
+
readonly outputs: readonly [];
|
|
140
|
+
readonly stateMutability: "nonpayable";
|
|
141
|
+
readonly type: "function";
|
|
142
|
+
}, {
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly components: readonly [{
|
|
145
|
+
readonly internalType: "bytes[]";
|
|
146
|
+
readonly name: "nonSerializedParts";
|
|
147
|
+
readonly type: "bytes[]";
|
|
148
|
+
}, {
|
|
149
|
+
readonly internalType: "bytes";
|
|
150
|
+
readonly name: "expirationDate";
|
|
151
|
+
readonly type: "bytes";
|
|
152
|
+
}, {
|
|
153
|
+
readonly internalType: "bytes";
|
|
154
|
+
readonly name: "ca";
|
|
155
|
+
readonly type: "bytes";
|
|
156
|
+
}, {
|
|
157
|
+
readonly internalType: "bytes32";
|
|
158
|
+
readonly name: "userData";
|
|
159
|
+
readonly type: "bytes32";
|
|
160
|
+
}, {
|
|
161
|
+
readonly internalType: "bytes";
|
|
162
|
+
readonly name: "publicKey";
|
|
163
|
+
readonly type: "bytes";
|
|
164
|
+
}, {
|
|
165
|
+
readonly internalType: "bytes";
|
|
166
|
+
readonly name: "serialNumber";
|
|
167
|
+
readonly type: "bytes";
|
|
168
|
+
}, {
|
|
169
|
+
readonly internalType: "bytes32";
|
|
170
|
+
readonly name: "mrEnclave";
|
|
171
|
+
readonly type: "bytes32";
|
|
172
|
+
}, {
|
|
173
|
+
readonly internalType: "bytes32";
|
|
174
|
+
readonly name: "mrSigner";
|
|
175
|
+
readonly type: "bytes32";
|
|
176
|
+
}, {
|
|
177
|
+
readonly internalType: "bytes";
|
|
178
|
+
readonly name: "signature";
|
|
179
|
+
readonly type: "bytes";
|
|
180
|
+
}];
|
|
181
|
+
readonly internalType: "struct ChunkedX509Cert[]";
|
|
182
|
+
readonly name: "_certsChain";
|
|
183
|
+
readonly type: "tuple[]";
|
|
184
|
+
}, {
|
|
185
|
+
readonly internalType: "uint256";
|
|
186
|
+
readonly name: "_rootCertId";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
}, {
|
|
189
|
+
readonly internalType: "bytes";
|
|
190
|
+
readonly name: "signature";
|
|
191
|
+
readonly type: "bytes";
|
|
192
|
+
}];
|
|
193
|
+
readonly name: "addAdmin";
|
|
194
|
+
readonly outputs: readonly [];
|
|
195
|
+
readonly stateMutability: "nonpayable";
|
|
196
|
+
readonly type: "function";
|
|
197
|
+
}, {
|
|
198
|
+
readonly inputs: readonly [];
|
|
199
|
+
readonly name: "getAdminData";
|
|
200
|
+
readonly outputs: readonly [{
|
|
201
|
+
readonly internalType: "address";
|
|
202
|
+
readonly name: "_admin";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}, {
|
|
205
|
+
readonly components: readonly [{
|
|
206
|
+
readonly internalType: "bytes[]";
|
|
207
|
+
readonly name: "nonSerializedParts";
|
|
208
|
+
readonly type: "bytes[]";
|
|
209
|
+
}, {
|
|
210
|
+
readonly internalType: "bytes";
|
|
211
|
+
readonly name: "expirationDate";
|
|
212
|
+
readonly type: "bytes";
|
|
213
|
+
}, {
|
|
214
|
+
readonly internalType: "bytes";
|
|
215
|
+
readonly name: "ca";
|
|
216
|
+
readonly type: "bytes";
|
|
217
|
+
}, {
|
|
218
|
+
readonly internalType: "bytes32";
|
|
219
|
+
readonly name: "userData";
|
|
220
|
+
readonly type: "bytes32";
|
|
221
|
+
}, {
|
|
222
|
+
readonly internalType: "bytes";
|
|
223
|
+
readonly name: "publicKey";
|
|
224
|
+
readonly type: "bytes";
|
|
225
|
+
}, {
|
|
226
|
+
readonly internalType: "bytes";
|
|
227
|
+
readonly name: "serialNumber";
|
|
228
|
+
readonly type: "bytes";
|
|
229
|
+
}, {
|
|
230
|
+
readonly internalType: "bytes32";
|
|
231
|
+
readonly name: "mrEnclave";
|
|
232
|
+
readonly type: "bytes32";
|
|
233
|
+
}, {
|
|
234
|
+
readonly internalType: "bytes32";
|
|
235
|
+
readonly name: "mrSigner";
|
|
236
|
+
readonly type: "bytes32";
|
|
237
|
+
}, {
|
|
238
|
+
readonly internalType: "bytes";
|
|
239
|
+
readonly name: "signature";
|
|
240
|
+
readonly type: "bytes";
|
|
241
|
+
}];
|
|
242
|
+
readonly internalType: "struct ChunkedX509Cert[]";
|
|
243
|
+
readonly name: "_certsChain";
|
|
244
|
+
readonly type: "tuple[]";
|
|
245
|
+
}, {
|
|
246
|
+
readonly internalType: "uint256";
|
|
247
|
+
readonly name: "_rootCertId";
|
|
248
|
+
readonly type: "uint256";
|
|
249
|
+
}];
|
|
250
|
+
readonly stateMutability: "view";
|
|
251
|
+
readonly type: "function";
|
|
252
|
+
}, {
|
|
253
|
+
readonly inputs: readonly [];
|
|
254
|
+
readonly name: "getCertVerifier";
|
|
255
|
+
readonly outputs: readonly [{
|
|
256
|
+
readonly internalType: "contract ICertVerifier";
|
|
257
|
+
readonly name: "";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
}];
|
|
260
|
+
readonly stateMutability: "view";
|
|
261
|
+
readonly type: "function";
|
|
262
|
+
}, {
|
|
263
|
+
readonly inputs: readonly [];
|
|
264
|
+
readonly name: "getSignatureNonce";
|
|
265
|
+
readonly outputs: readonly [{
|
|
266
|
+
readonly internalType: "uint256";
|
|
267
|
+
readonly name: "";
|
|
268
|
+
readonly type: "uint256";
|
|
269
|
+
}];
|
|
270
|
+
readonly stateMutability: "view";
|
|
271
|
+
readonly type: "function";
|
|
272
|
+
}, {
|
|
273
|
+
readonly inputs: readonly [{
|
|
274
|
+
readonly internalType: "address";
|
|
275
|
+
readonly name: "caller";
|
|
276
|
+
readonly type: "address";
|
|
277
|
+
}];
|
|
278
|
+
readonly name: "isAdmin";
|
|
279
|
+
readonly outputs: readonly [{
|
|
280
|
+
readonly internalType: "bool";
|
|
281
|
+
readonly name: "";
|
|
282
|
+
readonly type: "bool";
|
|
283
|
+
}];
|
|
284
|
+
readonly stateMutability: "view";
|
|
285
|
+
readonly type: "function";
|
|
286
|
+
}, {
|
|
287
|
+
readonly inputs: readonly [];
|
|
288
|
+
readonly name: "owner";
|
|
289
|
+
readonly outputs: readonly [{
|
|
290
|
+
readonly internalType: "address payable";
|
|
291
|
+
readonly name: "";
|
|
292
|
+
readonly type: "address";
|
|
293
|
+
}];
|
|
294
|
+
readonly stateMutability: "view";
|
|
295
|
+
readonly type: "function";
|
|
296
|
+
}, {
|
|
297
|
+
readonly inputs: readonly [{
|
|
298
|
+
readonly internalType: "contract ICertVerifier";
|
|
299
|
+
readonly name: "_certVerifier";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
}];
|
|
302
|
+
readonly name: "setCertVerifier";
|
|
303
|
+
readonly outputs: readonly [];
|
|
304
|
+
readonly stateMutability: "nonpayable";
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
}, {
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly internalType: "address";
|
|
309
|
+
readonly name: "_to";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
}];
|
|
312
|
+
readonly name: "transferOwnership";
|
|
313
|
+
readonly outputs: readonly [];
|
|
314
|
+
readonly stateMutability: "nonpayable";
|
|
315
|
+
readonly type: "function";
|
|
316
|
+
}];
|