@nucypher/shared 0.1.0-rc.3 → 0.1.0-rc.5
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/README.md +1 -1
- package/dist/cjs/contracts/agents/coordinator.d.ts +6 -5
- package/dist/cjs/contracts/agents/coordinator.js +11 -9
- package/dist/cjs/contracts/agents/coordinator.js.map +1 -1
- package/dist/cjs/contracts/agents/global-allow-list.js +4 -3
- package/dist/cjs/contracts/agents/global-allow-list.js.map +1 -1
- package/dist/cjs/contracts/agents/subscription-manager.js +4 -3
- package/dist/cjs/contracts/agents/subscription-manager.js.map +1 -1
- package/dist/cjs/contracts/const.d.ts +1 -0
- package/dist/cjs/contracts/const.js +5 -0
- package/dist/cjs/contracts/const.js.map +1 -0
- package/dist/cjs/contracts/ethers-typechain/Coordinator.d.ts +282 -231
- package/dist/cjs/contracts/ethers-typechain/GlobalAllowList.d.ts +32 -348
- package/dist/cjs/contracts/ethers-typechain/SubscriptionManager.d.ts +71 -71
- package/dist/cjs/contracts/ethers-typechain/common.d.ts +3 -3
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +164 -30
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js +869 -692
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +22 -300
- package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +80 -435
- package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.d.ts +3 -3
- package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.js +229 -229
- package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/factories/index.d.ts +3 -3
- package/dist/cjs/contracts/ethers-typechain/index.d.ts +7 -7
- package/dist/cjs/contracts/index.d.ts +0 -1
- package/dist/cjs/contracts/index.js +0 -1
- package/dist/cjs/contracts/index.js.map +1 -1
- package/dist/cjs/porter.js +1 -1
- package/dist/cjs/porter.js.map +1 -1
- package/dist/cjs/utils.d.ts +1 -1
- package/dist/cjs/utils.js +9 -9
- package/dist/cjs/utils.js.map +1 -1
- package/dist/cjs/web3.d.ts +1 -0
- package/dist/cjs/web3.js +1 -0
- package/dist/cjs/web3.js.map +1 -1
- package/dist/es/contracts/agents/coordinator.d.ts +6 -5
- package/dist/es/contracts/agents/coordinator.js +9 -7
- package/dist/es/contracts/agents/coordinator.js.map +1 -1
- package/dist/es/contracts/agents/global-allow-list.js +2 -1
- package/dist/es/contracts/agents/global-allow-list.js.map +1 -1
- package/dist/es/contracts/agents/subscription-manager.js +2 -1
- package/dist/es/contracts/agents/subscription-manager.js.map +1 -1
- package/dist/es/contracts/const.d.ts +1 -0
- package/dist/es/contracts/const.js +2 -0
- package/dist/es/contracts/const.js.map +1 -0
- package/dist/es/contracts/ethers-typechain/Coordinator.d.ts +282 -231
- package/dist/es/contracts/ethers-typechain/GlobalAllowList.d.ts +32 -348
- package/dist/es/contracts/ethers-typechain/SubscriptionManager.d.ts +71 -71
- package/dist/es/contracts/ethers-typechain/common.d.ts +3 -3
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +164 -30
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js +870 -693
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +22 -300
- package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +81 -436
- package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.d.ts +3 -3
- package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.js +230 -230
- package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/factories/index.d.ts +3 -3
- package/dist/es/contracts/ethers-typechain/factories/index.js +3 -3
- package/dist/es/contracts/ethers-typechain/index.d.ts +7 -7
- package/dist/es/contracts/ethers-typechain/index.js +4 -4
- package/dist/es/contracts/index.d.ts +0 -1
- package/dist/es/contracts/index.js +0 -1
- package/dist/es/contracts/index.js.map +1 -1
- package/dist/es/porter.js +1 -1
- package/dist/es/porter.js.map +1 -1
- package/dist/es/utils.d.ts +1 -1
- package/dist/es/utils.js +7 -7
- package/dist/es/utils.js.map +1 -1
- package/dist/es/web3.d.ts +1 -0
- package/dist/es/web3.js +1 -0
- package/dist/es/web3.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.es.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/dist/cjs/contracts/registry.d.ts +0 -20
- package/dist/cjs/contracts/registry.js +0 -41
- package/dist/cjs/contracts/registry.js.map +0 -1
- package/dist/es/contracts/registry.d.ts +0 -20
- package/dist/es/contracts/registry.js +0 -34
- package/dist/es/contracts/registry.js.map +0 -1
|
@@ -7,1422 +7,1599 @@ exports.Coordinator__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
type:
|
|
11
|
-
stateMutability:
|
|
10
|
+
type: 'constructor',
|
|
11
|
+
stateMutability: 'nonpayable',
|
|
12
12
|
inputs: [
|
|
13
13
|
{
|
|
14
|
-
name:
|
|
15
|
-
type:
|
|
16
|
-
internalType:
|
|
14
|
+
name: '_application',
|
|
15
|
+
type: 'address',
|
|
16
|
+
internalType: 'contract ITACoChildApplication',
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
name:
|
|
20
|
-
type:
|
|
21
|
-
internalType:
|
|
19
|
+
name: '_currency',
|
|
20
|
+
type: 'address',
|
|
21
|
+
internalType: 'contract IERC20',
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
name:
|
|
25
|
-
type:
|
|
26
|
-
internalType:
|
|
24
|
+
name: '_feeRatePerSecond',
|
|
25
|
+
type: 'uint256',
|
|
26
|
+
internalType: 'uint256',
|
|
27
27
|
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: 'error',
|
|
32
|
+
name: 'AccessControlBadConfirmation',
|
|
33
|
+
inputs: [],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
type: 'error',
|
|
37
|
+
name: 'AccessControlEnforcedDefaultAdminDelay',
|
|
38
|
+
inputs: [
|
|
39
|
+
{
|
|
40
|
+
name: 'schedule',
|
|
41
|
+
type: 'uint48',
|
|
42
|
+
internalType: 'uint48',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'error',
|
|
48
|
+
name: 'AccessControlEnforcedDefaultAdminRules',
|
|
49
|
+
inputs: [],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: 'error',
|
|
53
|
+
name: 'AccessControlInvalidDefaultAdmin',
|
|
54
|
+
inputs: [
|
|
28
55
|
{
|
|
29
|
-
name:
|
|
30
|
-
type:
|
|
31
|
-
internalType:
|
|
56
|
+
name: 'defaultAdmin',
|
|
57
|
+
type: 'address',
|
|
58
|
+
internalType: 'address',
|
|
32
59
|
},
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
type: 'error',
|
|
64
|
+
name: 'AccessControlUnauthorizedAccount',
|
|
65
|
+
inputs: [
|
|
33
66
|
{
|
|
34
|
-
name:
|
|
35
|
-
type:
|
|
36
|
-
internalType:
|
|
67
|
+
name: 'account',
|
|
68
|
+
type: 'address',
|
|
69
|
+
internalType: 'address',
|
|
37
70
|
},
|
|
38
71
|
{
|
|
39
|
-
name:
|
|
40
|
-
type:
|
|
41
|
-
internalType:
|
|
72
|
+
name: 'neededRole',
|
|
73
|
+
type: 'bytes32',
|
|
74
|
+
internalType: 'bytes32',
|
|
42
75
|
},
|
|
43
76
|
],
|
|
44
77
|
},
|
|
45
78
|
{
|
|
46
|
-
type:
|
|
47
|
-
name:
|
|
79
|
+
type: 'error',
|
|
80
|
+
name: 'AddressEmptyCode',
|
|
48
81
|
inputs: [
|
|
49
82
|
{
|
|
50
|
-
name:
|
|
51
|
-
type:
|
|
52
|
-
internalType:
|
|
83
|
+
name: 'target',
|
|
84
|
+
type: 'address',
|
|
85
|
+
internalType: 'address',
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
type: 'error',
|
|
91
|
+
name: 'AddressInsufficientBalance',
|
|
92
|
+
inputs: [
|
|
93
|
+
{
|
|
94
|
+
name: 'account',
|
|
95
|
+
type: 'address',
|
|
96
|
+
internalType: 'address',
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'error',
|
|
102
|
+
name: 'FailedInnerCall',
|
|
103
|
+
inputs: [],
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'error',
|
|
107
|
+
name: 'InvalidInitialization',
|
|
108
|
+
inputs: [],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'error',
|
|
112
|
+
name: 'NotInitializing',
|
|
113
|
+
inputs: [],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'error',
|
|
117
|
+
name: 'SafeCastOverflowedUintDowncast',
|
|
118
|
+
inputs: [
|
|
119
|
+
{
|
|
120
|
+
name: 'bits',
|
|
121
|
+
type: 'uint8',
|
|
122
|
+
internalType: 'uint8',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'value',
|
|
126
|
+
type: 'uint256',
|
|
127
|
+
internalType: 'uint256',
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'error',
|
|
133
|
+
name: 'SafeERC20FailedOperation',
|
|
134
|
+
inputs: [
|
|
135
|
+
{
|
|
136
|
+
name: 'token',
|
|
137
|
+
type: 'address',
|
|
138
|
+
internalType: 'address',
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'event',
|
|
144
|
+
name: 'AggregationPosted',
|
|
145
|
+
inputs: [
|
|
146
|
+
{
|
|
147
|
+
name: 'ritualId',
|
|
148
|
+
type: 'uint32',
|
|
149
|
+
internalType: 'uint32',
|
|
53
150
|
indexed: true,
|
|
54
151
|
},
|
|
55
152
|
{
|
|
56
|
-
name:
|
|
57
|
-
type:
|
|
58
|
-
internalType:
|
|
153
|
+
name: 'node',
|
|
154
|
+
type: 'address',
|
|
155
|
+
internalType: 'address',
|
|
59
156
|
indexed: true,
|
|
60
157
|
},
|
|
61
158
|
{
|
|
62
|
-
name:
|
|
63
|
-
type:
|
|
64
|
-
internalType:
|
|
159
|
+
name: 'aggregatedTranscriptDigest',
|
|
160
|
+
type: 'bytes32',
|
|
161
|
+
internalType: 'bytes32',
|
|
65
162
|
indexed: false,
|
|
66
163
|
},
|
|
67
164
|
],
|
|
68
165
|
anonymous: false,
|
|
69
166
|
},
|
|
70
167
|
{
|
|
71
|
-
type:
|
|
72
|
-
name:
|
|
168
|
+
type: 'event',
|
|
169
|
+
name: 'DefaultAdminDelayChangeCanceled',
|
|
73
170
|
inputs: [],
|
|
74
171
|
anonymous: false,
|
|
75
172
|
},
|
|
76
173
|
{
|
|
77
|
-
type:
|
|
78
|
-
name:
|
|
174
|
+
type: 'event',
|
|
175
|
+
name: 'DefaultAdminDelayChangeScheduled',
|
|
79
176
|
inputs: [
|
|
80
177
|
{
|
|
81
|
-
name:
|
|
82
|
-
type:
|
|
83
|
-
internalType:
|
|
178
|
+
name: 'newDelay',
|
|
179
|
+
type: 'uint48',
|
|
180
|
+
internalType: 'uint48',
|
|
84
181
|
indexed: false,
|
|
85
182
|
},
|
|
86
183
|
{
|
|
87
|
-
name:
|
|
88
|
-
type:
|
|
89
|
-
internalType:
|
|
184
|
+
name: 'effectSchedule',
|
|
185
|
+
type: 'uint48',
|
|
186
|
+
internalType: 'uint48',
|
|
90
187
|
indexed: false,
|
|
91
188
|
},
|
|
92
189
|
],
|
|
93
190
|
anonymous: false,
|
|
94
191
|
},
|
|
95
192
|
{
|
|
96
|
-
type:
|
|
97
|
-
name:
|
|
193
|
+
type: 'event',
|
|
194
|
+
name: 'DefaultAdminTransferCanceled',
|
|
98
195
|
inputs: [],
|
|
99
196
|
anonymous: false,
|
|
100
197
|
},
|
|
101
198
|
{
|
|
102
|
-
type:
|
|
103
|
-
name:
|
|
199
|
+
type: 'event',
|
|
200
|
+
name: 'DefaultAdminTransferScheduled',
|
|
104
201
|
inputs: [
|
|
105
202
|
{
|
|
106
|
-
name:
|
|
107
|
-
type:
|
|
108
|
-
internalType:
|
|
203
|
+
name: 'newAdmin',
|
|
204
|
+
type: 'address',
|
|
205
|
+
internalType: 'address',
|
|
109
206
|
indexed: true,
|
|
110
207
|
},
|
|
111
208
|
{
|
|
112
|
-
name:
|
|
113
|
-
type:
|
|
114
|
-
internalType:
|
|
209
|
+
name: 'acceptSchedule',
|
|
210
|
+
type: 'uint48',
|
|
211
|
+
internalType: 'uint48',
|
|
115
212
|
indexed: false,
|
|
116
213
|
},
|
|
117
214
|
],
|
|
118
215
|
anonymous: false,
|
|
119
216
|
},
|
|
120
217
|
{
|
|
121
|
-
type:
|
|
122
|
-
name:
|
|
218
|
+
type: 'event',
|
|
219
|
+
name: 'EndRitual',
|
|
123
220
|
inputs: [
|
|
124
221
|
{
|
|
125
|
-
name:
|
|
126
|
-
type:
|
|
127
|
-
internalType:
|
|
222
|
+
name: 'ritualId',
|
|
223
|
+
type: 'uint32',
|
|
224
|
+
internalType: 'uint32',
|
|
128
225
|
indexed: true,
|
|
129
226
|
},
|
|
130
227
|
{
|
|
131
|
-
name:
|
|
132
|
-
type:
|
|
133
|
-
internalType:
|
|
228
|
+
name: 'successful',
|
|
229
|
+
type: 'bool',
|
|
230
|
+
internalType: 'bool',
|
|
134
231
|
indexed: false,
|
|
135
232
|
},
|
|
136
233
|
],
|
|
137
234
|
anonymous: false,
|
|
138
235
|
},
|
|
139
236
|
{
|
|
140
|
-
type:
|
|
141
|
-
name:
|
|
237
|
+
type: 'event',
|
|
238
|
+
name: 'Initialized',
|
|
142
239
|
inputs: [
|
|
143
240
|
{
|
|
144
|
-
name:
|
|
145
|
-
type:
|
|
146
|
-
internalType:
|
|
241
|
+
name: 'version',
|
|
242
|
+
type: 'uint64',
|
|
243
|
+
internalType: 'uint64',
|
|
244
|
+
indexed: false,
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
anonymous: false,
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
type: 'event',
|
|
251
|
+
name: 'MaxDkgSizeChanged',
|
|
252
|
+
inputs: [
|
|
253
|
+
{
|
|
254
|
+
name: 'oldSize',
|
|
255
|
+
type: 'uint16',
|
|
256
|
+
internalType: 'uint16',
|
|
147
257
|
indexed: false,
|
|
148
258
|
},
|
|
149
259
|
{
|
|
150
|
-
name:
|
|
151
|
-
type:
|
|
152
|
-
internalType:
|
|
260
|
+
name: 'newSize',
|
|
261
|
+
type: 'uint16',
|
|
262
|
+
internalType: 'uint16',
|
|
153
263
|
indexed: false,
|
|
154
264
|
},
|
|
155
265
|
],
|
|
156
266
|
anonymous: false,
|
|
157
267
|
},
|
|
158
268
|
{
|
|
159
|
-
type:
|
|
160
|
-
name:
|
|
269
|
+
type: 'event',
|
|
270
|
+
name: 'ParticipantPublicKeySet',
|
|
161
271
|
inputs: [
|
|
162
272
|
{
|
|
163
|
-
name:
|
|
164
|
-
type:
|
|
165
|
-
internalType:
|
|
273
|
+
name: 'ritualId',
|
|
274
|
+
type: 'uint32',
|
|
275
|
+
internalType: 'uint32',
|
|
166
276
|
indexed: true,
|
|
167
277
|
},
|
|
168
278
|
{
|
|
169
|
-
name:
|
|
170
|
-
type:
|
|
171
|
-
internalType:
|
|
279
|
+
name: 'participant',
|
|
280
|
+
type: 'address',
|
|
281
|
+
internalType: 'address',
|
|
172
282
|
indexed: true,
|
|
173
283
|
},
|
|
174
284
|
{
|
|
175
|
-
name:
|
|
176
|
-
type:
|
|
285
|
+
name: 'publicKey',
|
|
286
|
+
type: 'tuple',
|
|
177
287
|
components: [
|
|
178
288
|
{
|
|
179
|
-
name:
|
|
180
|
-
type:
|
|
181
|
-
internalType:
|
|
289
|
+
name: 'word0',
|
|
290
|
+
type: 'bytes32',
|
|
291
|
+
internalType: 'bytes32',
|
|
182
292
|
},
|
|
183
293
|
{
|
|
184
|
-
name:
|
|
185
|
-
type:
|
|
186
|
-
internalType:
|
|
294
|
+
name: 'word1',
|
|
295
|
+
type: 'bytes32',
|
|
296
|
+
internalType: 'bytes32',
|
|
187
297
|
},
|
|
188
298
|
{
|
|
189
|
-
name:
|
|
190
|
-
type:
|
|
191
|
-
internalType:
|
|
299
|
+
name: 'word2',
|
|
300
|
+
type: 'bytes32',
|
|
301
|
+
internalType: 'bytes32',
|
|
192
302
|
},
|
|
193
303
|
],
|
|
194
|
-
internalType:
|
|
304
|
+
internalType: 'struct BLS12381.G2Point',
|
|
195
305
|
indexed: false,
|
|
196
306
|
},
|
|
197
307
|
],
|
|
198
308
|
anonymous: false,
|
|
199
309
|
},
|
|
200
310
|
{
|
|
201
|
-
type:
|
|
202
|
-
name:
|
|
311
|
+
type: 'event',
|
|
312
|
+
name: 'ReimbursementPoolSet',
|
|
203
313
|
inputs: [
|
|
204
314
|
{
|
|
205
|
-
name:
|
|
206
|
-
type:
|
|
207
|
-
internalType:
|
|
315
|
+
name: 'pool',
|
|
316
|
+
type: 'address',
|
|
317
|
+
internalType: 'address',
|
|
318
|
+
indexed: true,
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
anonymous: false,
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
type: 'event',
|
|
325
|
+
name: 'RitualAuthorityTransferred',
|
|
326
|
+
inputs: [
|
|
327
|
+
{
|
|
328
|
+
name: 'ritualId',
|
|
329
|
+
type: 'uint32',
|
|
330
|
+
internalType: 'uint32',
|
|
208
331
|
indexed: true,
|
|
209
332
|
},
|
|
210
333
|
{
|
|
211
|
-
name:
|
|
212
|
-
type:
|
|
213
|
-
internalType:
|
|
334
|
+
name: 'previousAuthority',
|
|
335
|
+
type: 'address',
|
|
336
|
+
internalType: 'address',
|
|
214
337
|
indexed: true,
|
|
215
338
|
},
|
|
216
339
|
{
|
|
217
|
-
name:
|
|
218
|
-
type:
|
|
219
|
-
internalType:
|
|
340
|
+
name: 'newAuthority',
|
|
341
|
+
type: 'address',
|
|
342
|
+
internalType: 'address',
|
|
220
343
|
indexed: true,
|
|
221
344
|
},
|
|
222
345
|
],
|
|
223
346
|
anonymous: false,
|
|
224
347
|
},
|
|
225
348
|
{
|
|
226
|
-
type:
|
|
227
|
-
name:
|
|
349
|
+
type: 'event',
|
|
350
|
+
name: 'RoleAdminChanged',
|
|
228
351
|
inputs: [
|
|
229
352
|
{
|
|
230
|
-
name:
|
|
231
|
-
type:
|
|
232
|
-
internalType:
|
|
353
|
+
name: 'role',
|
|
354
|
+
type: 'bytes32',
|
|
355
|
+
internalType: 'bytes32',
|
|
233
356
|
indexed: true,
|
|
234
357
|
},
|
|
235
358
|
{
|
|
236
|
-
name:
|
|
237
|
-
type:
|
|
238
|
-
internalType:
|
|
359
|
+
name: 'previousAdminRole',
|
|
360
|
+
type: 'bytes32',
|
|
361
|
+
internalType: 'bytes32',
|
|
239
362
|
indexed: true,
|
|
240
363
|
},
|
|
241
364
|
{
|
|
242
|
-
name:
|
|
243
|
-
type:
|
|
244
|
-
internalType:
|
|
365
|
+
name: 'newAdminRole',
|
|
366
|
+
type: 'bytes32',
|
|
367
|
+
internalType: 'bytes32',
|
|
245
368
|
indexed: true,
|
|
246
369
|
},
|
|
247
370
|
],
|
|
248
371
|
anonymous: false,
|
|
249
372
|
},
|
|
250
373
|
{
|
|
251
|
-
type:
|
|
252
|
-
name:
|
|
374
|
+
type: 'event',
|
|
375
|
+
name: 'RoleGranted',
|
|
253
376
|
inputs: [
|
|
254
377
|
{
|
|
255
|
-
name:
|
|
256
|
-
type:
|
|
257
|
-
internalType:
|
|
378
|
+
name: 'role',
|
|
379
|
+
type: 'bytes32',
|
|
380
|
+
internalType: 'bytes32',
|
|
258
381
|
indexed: true,
|
|
259
382
|
},
|
|
260
383
|
{
|
|
261
|
-
name:
|
|
262
|
-
type:
|
|
263
|
-
internalType:
|
|
384
|
+
name: 'account',
|
|
385
|
+
type: 'address',
|
|
386
|
+
internalType: 'address',
|
|
264
387
|
indexed: true,
|
|
265
388
|
},
|
|
266
389
|
{
|
|
267
|
-
name:
|
|
268
|
-
type:
|
|
269
|
-
internalType:
|
|
390
|
+
name: 'sender',
|
|
391
|
+
type: 'address',
|
|
392
|
+
internalType: 'address',
|
|
270
393
|
indexed: true,
|
|
271
394
|
},
|
|
272
395
|
],
|
|
273
396
|
anonymous: false,
|
|
274
397
|
},
|
|
275
398
|
{
|
|
276
|
-
type:
|
|
277
|
-
name:
|
|
399
|
+
type: 'event',
|
|
400
|
+
name: 'RoleRevoked',
|
|
278
401
|
inputs: [
|
|
279
402
|
{
|
|
280
|
-
name:
|
|
281
|
-
type:
|
|
282
|
-
internalType:
|
|
403
|
+
name: 'role',
|
|
404
|
+
type: 'bytes32',
|
|
405
|
+
internalType: 'bytes32',
|
|
406
|
+
indexed: true,
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
name: 'account',
|
|
410
|
+
type: 'address',
|
|
411
|
+
internalType: 'address',
|
|
412
|
+
indexed: true,
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
name: 'sender',
|
|
416
|
+
type: 'address',
|
|
417
|
+
internalType: 'address',
|
|
418
|
+
indexed: true,
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
anonymous: false,
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
type: 'event',
|
|
425
|
+
name: 'StartAggregationRound',
|
|
426
|
+
inputs: [
|
|
427
|
+
{
|
|
428
|
+
name: 'ritualId',
|
|
429
|
+
type: 'uint32',
|
|
430
|
+
internalType: 'uint32',
|
|
283
431
|
indexed: true,
|
|
284
432
|
},
|
|
285
433
|
],
|
|
286
434
|
anonymous: false,
|
|
287
435
|
},
|
|
288
436
|
{
|
|
289
|
-
type:
|
|
290
|
-
name:
|
|
437
|
+
type: 'event',
|
|
438
|
+
name: 'StartRitual',
|
|
291
439
|
inputs: [
|
|
292
440
|
{
|
|
293
|
-
name:
|
|
294
|
-
type:
|
|
295
|
-
internalType:
|
|
441
|
+
name: 'ritualId',
|
|
442
|
+
type: 'uint32',
|
|
443
|
+
internalType: 'uint32',
|
|
296
444
|
indexed: true,
|
|
297
445
|
},
|
|
298
446
|
{
|
|
299
|
-
name:
|
|
300
|
-
type:
|
|
301
|
-
internalType:
|
|
447
|
+
name: 'authority',
|
|
448
|
+
type: 'address',
|
|
449
|
+
internalType: 'address',
|
|
302
450
|
indexed: true,
|
|
303
451
|
},
|
|
304
452
|
{
|
|
305
|
-
name:
|
|
306
|
-
type:
|
|
307
|
-
internalType:
|
|
453
|
+
name: 'participants',
|
|
454
|
+
type: 'address[]',
|
|
455
|
+
internalType: 'address[]',
|
|
308
456
|
indexed: false,
|
|
309
457
|
},
|
|
310
458
|
],
|
|
311
459
|
anonymous: false,
|
|
312
460
|
},
|
|
313
461
|
{
|
|
314
|
-
type:
|
|
315
|
-
name:
|
|
462
|
+
type: 'event',
|
|
463
|
+
name: 'TimeoutChanged',
|
|
316
464
|
inputs: [
|
|
317
465
|
{
|
|
318
|
-
name:
|
|
319
|
-
type:
|
|
320
|
-
internalType:
|
|
466
|
+
name: 'oldTimeout',
|
|
467
|
+
type: 'uint32',
|
|
468
|
+
internalType: 'uint32',
|
|
321
469
|
indexed: false,
|
|
322
470
|
},
|
|
323
471
|
{
|
|
324
|
-
name:
|
|
325
|
-
type:
|
|
326
|
-
internalType:
|
|
472
|
+
name: 'newTimeout',
|
|
473
|
+
type: 'uint32',
|
|
474
|
+
internalType: 'uint32',
|
|
327
475
|
indexed: false,
|
|
328
476
|
},
|
|
329
477
|
],
|
|
330
478
|
anonymous: false,
|
|
331
479
|
},
|
|
332
480
|
{
|
|
333
|
-
type:
|
|
334
|
-
name:
|
|
481
|
+
type: 'event',
|
|
482
|
+
name: 'TranscriptPosted',
|
|
335
483
|
inputs: [
|
|
336
484
|
{
|
|
337
|
-
name:
|
|
338
|
-
type:
|
|
339
|
-
internalType:
|
|
485
|
+
name: 'ritualId',
|
|
486
|
+
type: 'uint32',
|
|
487
|
+
internalType: 'uint32',
|
|
340
488
|
indexed: true,
|
|
341
489
|
},
|
|
342
490
|
{
|
|
343
|
-
name:
|
|
344
|
-
type:
|
|
345
|
-
internalType:
|
|
491
|
+
name: 'node',
|
|
492
|
+
type: 'address',
|
|
493
|
+
internalType: 'address',
|
|
346
494
|
indexed: true,
|
|
347
495
|
},
|
|
348
496
|
{
|
|
349
|
-
name:
|
|
350
|
-
type:
|
|
351
|
-
internalType:
|
|
497
|
+
name: 'transcriptDigest',
|
|
498
|
+
type: 'bytes32',
|
|
499
|
+
internalType: 'bytes32',
|
|
352
500
|
indexed: false,
|
|
353
501
|
},
|
|
354
502
|
],
|
|
355
503
|
anonymous: false,
|
|
356
504
|
},
|
|
357
505
|
{
|
|
358
|
-
type:
|
|
359
|
-
name:
|
|
360
|
-
stateMutability:
|
|
506
|
+
type: 'function',
|
|
507
|
+
name: 'DEFAULT_ADMIN_ROLE',
|
|
508
|
+
stateMutability: 'view',
|
|
361
509
|
inputs: [],
|
|
362
510
|
outputs: [
|
|
363
511
|
{
|
|
364
|
-
name:
|
|
365
|
-
type:
|
|
366
|
-
internalType:
|
|
512
|
+
name: '',
|
|
513
|
+
type: 'bytes32',
|
|
514
|
+
internalType: 'bytes32',
|
|
367
515
|
},
|
|
368
516
|
],
|
|
369
517
|
},
|
|
370
518
|
{
|
|
371
|
-
type:
|
|
372
|
-
name:
|
|
373
|
-
stateMutability:
|
|
519
|
+
type: 'function',
|
|
520
|
+
name: 'INITIATOR_ROLE',
|
|
521
|
+
stateMutability: 'view',
|
|
374
522
|
inputs: [],
|
|
375
523
|
outputs: [
|
|
376
524
|
{
|
|
377
|
-
name:
|
|
378
|
-
type:
|
|
379
|
-
internalType:
|
|
525
|
+
name: '',
|
|
526
|
+
type: 'bytes32',
|
|
527
|
+
internalType: 'bytes32',
|
|
380
528
|
},
|
|
381
529
|
],
|
|
382
530
|
},
|
|
383
531
|
{
|
|
384
|
-
type:
|
|
385
|
-
name:
|
|
386
|
-
stateMutability:
|
|
532
|
+
type: 'function',
|
|
533
|
+
name: 'TREASURY_ROLE',
|
|
534
|
+
stateMutability: 'view',
|
|
387
535
|
inputs: [],
|
|
388
536
|
outputs: [
|
|
389
537
|
{
|
|
390
|
-
name:
|
|
391
|
-
type:
|
|
392
|
-
internalType:
|
|
538
|
+
name: '',
|
|
539
|
+
type: 'bytes32',
|
|
540
|
+
internalType: 'bytes32',
|
|
393
541
|
},
|
|
394
542
|
],
|
|
395
543
|
},
|
|
396
544
|
{
|
|
397
|
-
type:
|
|
398
|
-
name:
|
|
399
|
-
stateMutability:
|
|
545
|
+
type: 'function',
|
|
546
|
+
name: 'acceptDefaultAdminTransfer',
|
|
547
|
+
stateMutability: 'nonpayable',
|
|
400
548
|
inputs: [],
|
|
401
549
|
outputs: [],
|
|
402
550
|
},
|
|
403
551
|
{
|
|
404
|
-
type:
|
|
405
|
-
name:
|
|
406
|
-
stateMutability:
|
|
552
|
+
type: 'function',
|
|
553
|
+
name: 'application',
|
|
554
|
+
stateMutability: 'view',
|
|
407
555
|
inputs: [],
|
|
408
556
|
outputs: [
|
|
409
557
|
{
|
|
410
|
-
name:
|
|
411
|
-
type:
|
|
412
|
-
internalType:
|
|
558
|
+
name: '',
|
|
559
|
+
type: 'address',
|
|
560
|
+
internalType: 'contract ITACoChildApplication',
|
|
413
561
|
},
|
|
414
562
|
],
|
|
415
563
|
},
|
|
416
564
|
{
|
|
417
|
-
type:
|
|
418
|
-
name:
|
|
419
|
-
stateMutability:
|
|
565
|
+
type: 'function',
|
|
566
|
+
name: 'beginDefaultAdminTransfer',
|
|
567
|
+
stateMutability: 'nonpayable',
|
|
420
568
|
inputs: [
|
|
421
569
|
{
|
|
422
|
-
name:
|
|
423
|
-
type:
|
|
424
|
-
internalType:
|
|
570
|
+
name: 'newAdmin',
|
|
571
|
+
type: 'address',
|
|
572
|
+
internalType: 'address',
|
|
425
573
|
},
|
|
426
574
|
],
|
|
427
575
|
outputs: [],
|
|
428
576
|
},
|
|
429
577
|
{
|
|
430
|
-
type:
|
|
431
|
-
name:
|
|
432
|
-
stateMutability:
|
|
578
|
+
type: 'function',
|
|
579
|
+
name: 'cancelDefaultAdminTransfer',
|
|
580
|
+
stateMutability: 'nonpayable',
|
|
433
581
|
inputs: [],
|
|
434
582
|
outputs: [],
|
|
435
583
|
},
|
|
436
584
|
{
|
|
437
|
-
type:
|
|
438
|
-
name:
|
|
439
|
-
stateMutability:
|
|
585
|
+
type: 'function',
|
|
586
|
+
name: 'changeDefaultAdminDelay',
|
|
587
|
+
stateMutability: 'nonpayable',
|
|
440
588
|
inputs: [
|
|
441
589
|
{
|
|
442
|
-
name:
|
|
443
|
-
type:
|
|
444
|
-
internalType:
|
|
590
|
+
name: 'newDelay',
|
|
591
|
+
type: 'uint48',
|
|
592
|
+
internalType: 'uint48',
|
|
445
593
|
},
|
|
446
594
|
],
|
|
447
595
|
outputs: [],
|
|
448
596
|
},
|
|
449
597
|
{
|
|
450
|
-
type:
|
|
451
|
-
name:
|
|
452
|
-
stateMutability:
|
|
598
|
+
type: 'function',
|
|
599
|
+
name: 'cohortFingerprint',
|
|
600
|
+
stateMutability: 'pure',
|
|
453
601
|
inputs: [
|
|
454
602
|
{
|
|
455
|
-
name:
|
|
456
|
-
type:
|
|
457
|
-
internalType:
|
|
603
|
+
name: 'nodes',
|
|
604
|
+
type: 'address[]',
|
|
605
|
+
internalType: 'address[]',
|
|
458
606
|
},
|
|
459
607
|
],
|
|
460
608
|
outputs: [
|
|
461
609
|
{
|
|
462
|
-
name:
|
|
463
|
-
type:
|
|
464
|
-
internalType:
|
|
610
|
+
name: '',
|
|
611
|
+
type: 'bytes32',
|
|
612
|
+
internalType: 'bytes32',
|
|
465
613
|
},
|
|
466
614
|
],
|
|
467
615
|
},
|
|
468
616
|
{
|
|
469
|
-
type:
|
|
470
|
-
name:
|
|
471
|
-
stateMutability:
|
|
617
|
+
type: 'function',
|
|
618
|
+
name: 'currency',
|
|
619
|
+
stateMutability: 'view',
|
|
472
620
|
inputs: [],
|
|
473
621
|
outputs: [
|
|
474
622
|
{
|
|
475
|
-
name:
|
|
476
|
-
type:
|
|
477
|
-
internalType:
|
|
623
|
+
name: '',
|
|
624
|
+
type: 'address',
|
|
625
|
+
internalType: 'contract IERC20',
|
|
478
626
|
},
|
|
479
627
|
],
|
|
480
628
|
},
|
|
481
629
|
{
|
|
482
|
-
type:
|
|
483
|
-
name:
|
|
484
|
-
stateMutability:
|
|
630
|
+
type: 'function',
|
|
631
|
+
name: 'defaultAdmin',
|
|
632
|
+
stateMutability: 'view',
|
|
485
633
|
inputs: [],
|
|
486
634
|
outputs: [
|
|
487
635
|
{
|
|
488
|
-
name:
|
|
489
|
-
type:
|
|
490
|
-
internalType:
|
|
636
|
+
name: '',
|
|
637
|
+
type: 'address',
|
|
638
|
+
internalType: 'address',
|
|
491
639
|
},
|
|
492
640
|
],
|
|
493
641
|
},
|
|
494
642
|
{
|
|
495
|
-
type:
|
|
496
|
-
name:
|
|
497
|
-
stateMutability:
|
|
643
|
+
type: 'function',
|
|
644
|
+
name: 'defaultAdminDelay',
|
|
645
|
+
stateMutability: 'view',
|
|
498
646
|
inputs: [],
|
|
499
647
|
outputs: [
|
|
500
648
|
{
|
|
501
|
-
name:
|
|
502
|
-
type:
|
|
503
|
-
internalType:
|
|
649
|
+
name: '',
|
|
650
|
+
type: 'uint48',
|
|
651
|
+
internalType: 'uint48',
|
|
504
652
|
},
|
|
505
653
|
],
|
|
506
654
|
},
|
|
507
655
|
{
|
|
508
|
-
type:
|
|
509
|
-
name:
|
|
510
|
-
stateMutability:
|
|
656
|
+
type: 'function',
|
|
657
|
+
name: 'defaultAdminDelayIncreaseWait',
|
|
658
|
+
stateMutability: 'view',
|
|
511
659
|
inputs: [],
|
|
512
660
|
outputs: [
|
|
513
661
|
{
|
|
514
|
-
name:
|
|
515
|
-
type:
|
|
516
|
-
internalType:
|
|
662
|
+
name: '',
|
|
663
|
+
type: 'uint48',
|
|
664
|
+
internalType: 'uint48',
|
|
517
665
|
},
|
|
518
666
|
],
|
|
519
667
|
},
|
|
520
668
|
{
|
|
521
|
-
type:
|
|
522
|
-
name:
|
|
523
|
-
stateMutability:
|
|
669
|
+
type: 'function',
|
|
670
|
+
name: 'feeRatePerSecond',
|
|
671
|
+
stateMutability: 'view',
|
|
524
672
|
inputs: [],
|
|
525
673
|
outputs: [
|
|
526
674
|
{
|
|
527
|
-
name:
|
|
528
|
-
type:
|
|
529
|
-
internalType:
|
|
675
|
+
name: '',
|
|
676
|
+
type: 'uint256',
|
|
677
|
+
internalType: 'uint256',
|
|
530
678
|
},
|
|
531
679
|
],
|
|
532
680
|
},
|
|
533
681
|
{
|
|
534
|
-
type:
|
|
535
|
-
name:
|
|
536
|
-
stateMutability:
|
|
682
|
+
type: 'function',
|
|
683
|
+
name: 'getAuthority',
|
|
684
|
+
stateMutability: 'view',
|
|
537
685
|
inputs: [
|
|
538
686
|
{
|
|
539
|
-
name:
|
|
540
|
-
type:
|
|
541
|
-
internalType:
|
|
687
|
+
name: 'ritualId',
|
|
688
|
+
type: 'uint32',
|
|
689
|
+
internalType: 'uint32',
|
|
542
690
|
},
|
|
543
691
|
],
|
|
544
692
|
outputs: [
|
|
545
693
|
{
|
|
546
|
-
name:
|
|
547
|
-
type:
|
|
548
|
-
internalType:
|
|
694
|
+
name: '',
|
|
695
|
+
type: 'address',
|
|
696
|
+
internalType: 'address',
|
|
549
697
|
},
|
|
550
698
|
],
|
|
551
699
|
},
|
|
552
700
|
{
|
|
553
|
-
type:
|
|
554
|
-
name:
|
|
555
|
-
stateMutability:
|
|
701
|
+
type: 'function',
|
|
702
|
+
name: 'getParticipantFromProvider',
|
|
703
|
+
stateMutability: 'view',
|
|
556
704
|
inputs: [
|
|
557
705
|
{
|
|
558
|
-
name:
|
|
559
|
-
type:
|
|
560
|
-
internalType:
|
|
706
|
+
name: 'ritualId',
|
|
707
|
+
type: 'uint32',
|
|
708
|
+
internalType: 'uint32',
|
|
561
709
|
},
|
|
562
710
|
{
|
|
563
|
-
name:
|
|
564
|
-
type:
|
|
565
|
-
internalType:
|
|
711
|
+
name: 'provider',
|
|
712
|
+
type: 'address',
|
|
713
|
+
internalType: 'address',
|
|
566
714
|
},
|
|
567
715
|
],
|
|
568
716
|
outputs: [
|
|
569
717
|
{
|
|
570
|
-
name:
|
|
571
|
-
type:
|
|
718
|
+
name: '',
|
|
719
|
+
type: 'tuple',
|
|
572
720
|
components: [
|
|
573
721
|
{
|
|
574
|
-
name:
|
|
575
|
-
type:
|
|
576
|
-
internalType:
|
|
722
|
+
name: 'provider',
|
|
723
|
+
type: 'address',
|
|
724
|
+
internalType: 'address',
|
|
577
725
|
},
|
|
578
726
|
{
|
|
579
|
-
name:
|
|
580
|
-
type:
|
|
581
|
-
internalType:
|
|
727
|
+
name: 'aggregated',
|
|
728
|
+
type: 'bool',
|
|
729
|
+
internalType: 'bool',
|
|
582
730
|
},
|
|
583
731
|
{
|
|
584
|
-
name:
|
|
585
|
-
type:
|
|
586
|
-
internalType:
|
|
732
|
+
name: 'transcript',
|
|
733
|
+
type: 'bytes',
|
|
734
|
+
internalType: 'bytes',
|
|
587
735
|
},
|
|
588
736
|
{
|
|
589
|
-
name:
|
|
590
|
-
type:
|
|
591
|
-
internalType:
|
|
737
|
+
name: 'decryptionRequestStaticKey',
|
|
738
|
+
type: 'bytes',
|
|
739
|
+
internalType: 'bytes',
|
|
592
740
|
},
|
|
593
741
|
],
|
|
594
|
-
internalType:
|
|
742
|
+
internalType: 'struct Coordinator.Participant',
|
|
595
743
|
},
|
|
596
744
|
],
|
|
597
745
|
},
|
|
598
746
|
{
|
|
599
|
-
type:
|
|
600
|
-
name:
|
|
601
|
-
stateMutability:
|
|
747
|
+
type: 'function',
|
|
748
|
+
name: 'getParticipants',
|
|
749
|
+
stateMutability: 'view',
|
|
602
750
|
inputs: [
|
|
603
751
|
{
|
|
604
|
-
name:
|
|
605
|
-
type:
|
|
606
|
-
internalType:
|
|
752
|
+
name: 'ritualId',
|
|
753
|
+
type: 'uint32',
|
|
754
|
+
internalType: 'uint32',
|
|
607
755
|
},
|
|
608
756
|
],
|
|
609
757
|
outputs: [
|
|
610
758
|
{
|
|
611
|
-
name:
|
|
612
|
-
type:
|
|
759
|
+
name: '',
|
|
760
|
+
type: 'tuple[]',
|
|
613
761
|
components: [
|
|
614
762
|
{
|
|
615
|
-
name:
|
|
616
|
-
type:
|
|
617
|
-
internalType:
|
|
763
|
+
name: 'provider',
|
|
764
|
+
type: 'address',
|
|
765
|
+
internalType: 'address',
|
|
618
766
|
},
|
|
619
767
|
{
|
|
620
|
-
name:
|
|
621
|
-
type:
|
|
622
|
-
internalType:
|
|
768
|
+
name: 'aggregated',
|
|
769
|
+
type: 'bool',
|
|
770
|
+
internalType: 'bool',
|
|
623
771
|
},
|
|
624
772
|
{
|
|
625
|
-
name:
|
|
626
|
-
type:
|
|
627
|
-
internalType:
|
|
773
|
+
name: 'transcript',
|
|
774
|
+
type: 'bytes',
|
|
775
|
+
internalType: 'bytes',
|
|
628
776
|
},
|
|
629
777
|
{
|
|
630
|
-
name:
|
|
631
|
-
type:
|
|
632
|
-
internalType:
|
|
778
|
+
name: 'decryptionRequestStaticKey',
|
|
779
|
+
type: 'bytes',
|
|
780
|
+
internalType: 'bytes',
|
|
633
781
|
},
|
|
634
782
|
],
|
|
635
|
-
internalType:
|
|
783
|
+
internalType: 'struct Coordinator.Participant[]',
|
|
636
784
|
},
|
|
637
785
|
],
|
|
638
786
|
},
|
|
639
787
|
{
|
|
640
|
-
type:
|
|
641
|
-
name:
|
|
642
|
-
stateMutability:
|
|
788
|
+
type: 'function',
|
|
789
|
+
name: 'getProviderPublicKey',
|
|
790
|
+
stateMutability: 'view',
|
|
643
791
|
inputs: [
|
|
644
792
|
{
|
|
645
|
-
name:
|
|
646
|
-
type:
|
|
647
|
-
internalType:
|
|
793
|
+
name: '_provider',
|
|
794
|
+
type: 'address',
|
|
795
|
+
internalType: 'address',
|
|
648
796
|
},
|
|
649
797
|
{
|
|
650
|
-
name:
|
|
651
|
-
type:
|
|
652
|
-
internalType:
|
|
798
|
+
name: '_ritualId',
|
|
799
|
+
type: 'uint256',
|
|
800
|
+
internalType: 'uint256',
|
|
653
801
|
},
|
|
654
802
|
],
|
|
655
803
|
outputs: [
|
|
656
804
|
{
|
|
657
|
-
name:
|
|
658
|
-
type:
|
|
805
|
+
name: '',
|
|
806
|
+
type: 'tuple',
|
|
659
807
|
components: [
|
|
660
808
|
{
|
|
661
|
-
name:
|
|
662
|
-
type:
|
|
663
|
-
internalType:
|
|
809
|
+
name: 'word0',
|
|
810
|
+
type: 'bytes32',
|
|
811
|
+
internalType: 'bytes32',
|
|
664
812
|
},
|
|
665
813
|
{
|
|
666
|
-
name:
|
|
667
|
-
type:
|
|
668
|
-
internalType:
|
|
814
|
+
name: 'word1',
|
|
815
|
+
type: 'bytes32',
|
|
816
|
+
internalType: 'bytes32',
|
|
669
817
|
},
|
|
670
818
|
{
|
|
671
|
-
name:
|
|
672
|
-
type:
|
|
673
|
-
internalType:
|
|
819
|
+
name: 'word2',
|
|
820
|
+
type: 'bytes32',
|
|
821
|
+
internalType: 'bytes32',
|
|
674
822
|
},
|
|
675
823
|
],
|
|
676
|
-
internalType:
|
|
824
|
+
internalType: 'struct BLS12381.G2Point',
|
|
677
825
|
},
|
|
678
826
|
],
|
|
679
827
|
},
|
|
680
828
|
{
|
|
681
|
-
type:
|
|
682
|
-
name:
|
|
683
|
-
stateMutability:
|
|
829
|
+
type: 'function',
|
|
830
|
+
name: 'getPublicKeyFromRitualId',
|
|
831
|
+
stateMutability: 'view',
|
|
684
832
|
inputs: [
|
|
685
833
|
{
|
|
686
|
-
name:
|
|
687
|
-
type:
|
|
688
|
-
internalType:
|
|
834
|
+
name: 'ritualId',
|
|
835
|
+
type: 'uint32',
|
|
836
|
+
internalType: 'uint32',
|
|
689
837
|
},
|
|
690
838
|
],
|
|
691
839
|
outputs: [
|
|
692
840
|
{
|
|
693
|
-
name:
|
|
694
|
-
type:
|
|
841
|
+
name: 'dkgPublicKey',
|
|
842
|
+
type: 'tuple',
|
|
695
843
|
components: [
|
|
696
844
|
{
|
|
697
|
-
name:
|
|
698
|
-
type:
|
|
699
|
-
internalType:
|
|
845
|
+
name: 'word0',
|
|
846
|
+
type: 'bytes32',
|
|
847
|
+
internalType: 'bytes32',
|
|
700
848
|
},
|
|
701
849
|
{
|
|
702
|
-
name:
|
|
703
|
-
type:
|
|
704
|
-
internalType:
|
|
850
|
+
name: 'word1',
|
|
851
|
+
type: 'bytes16',
|
|
852
|
+
internalType: 'bytes16',
|
|
705
853
|
},
|
|
706
854
|
],
|
|
707
|
-
internalType:
|
|
855
|
+
internalType: 'struct BLS12381.G1Point',
|
|
708
856
|
},
|
|
709
857
|
],
|
|
710
858
|
},
|
|
711
859
|
{
|
|
712
|
-
type:
|
|
713
|
-
name:
|
|
714
|
-
stateMutability:
|
|
860
|
+
type: 'function',
|
|
861
|
+
name: 'getRitualIdFromPublicKey',
|
|
862
|
+
stateMutability: 'view',
|
|
715
863
|
inputs: [
|
|
716
864
|
{
|
|
717
|
-
name:
|
|
718
|
-
type:
|
|
865
|
+
name: 'dkgPublicKey',
|
|
866
|
+
type: 'tuple',
|
|
719
867
|
components: [
|
|
720
868
|
{
|
|
721
|
-
name:
|
|
722
|
-
type:
|
|
723
|
-
internalType:
|
|
869
|
+
name: 'word0',
|
|
870
|
+
type: 'bytes32',
|
|
871
|
+
internalType: 'bytes32',
|
|
724
872
|
},
|
|
725
873
|
{
|
|
726
|
-
name:
|
|
727
|
-
type:
|
|
728
|
-
internalType:
|
|
874
|
+
name: 'word1',
|
|
875
|
+
type: 'bytes16',
|
|
876
|
+
internalType: 'bytes16',
|
|
729
877
|
},
|
|
730
878
|
],
|
|
731
|
-
internalType:
|
|
879
|
+
internalType: 'struct BLS12381.G1Point',
|
|
732
880
|
},
|
|
733
881
|
],
|
|
734
882
|
outputs: [
|
|
735
883
|
{
|
|
736
|
-
name:
|
|
737
|
-
type:
|
|
738
|
-
internalType:
|
|
884
|
+
name: 'ritualId',
|
|
885
|
+
type: 'uint32',
|
|
886
|
+
internalType: 'uint32',
|
|
739
887
|
},
|
|
740
888
|
],
|
|
741
889
|
},
|
|
742
890
|
{
|
|
743
|
-
type:
|
|
744
|
-
name:
|
|
745
|
-
stateMutability:
|
|
891
|
+
type: 'function',
|
|
892
|
+
name: 'getRitualInitiationCost',
|
|
893
|
+
stateMutability: 'view',
|
|
746
894
|
inputs: [
|
|
747
895
|
{
|
|
748
|
-
name:
|
|
749
|
-
type:
|
|
750
|
-
internalType:
|
|
896
|
+
name: 'providers',
|
|
897
|
+
type: 'address[]',
|
|
898
|
+
internalType: 'address[]',
|
|
751
899
|
},
|
|
752
900
|
{
|
|
753
|
-
name:
|
|
754
|
-
type:
|
|
755
|
-
internalType:
|
|
901
|
+
name: 'duration',
|
|
902
|
+
type: 'uint32',
|
|
903
|
+
internalType: 'uint32',
|
|
756
904
|
},
|
|
757
905
|
],
|
|
758
906
|
outputs: [
|
|
759
907
|
{
|
|
760
|
-
name:
|
|
761
|
-
type:
|
|
762
|
-
internalType:
|
|
908
|
+
name: '',
|
|
909
|
+
type: 'uint256',
|
|
910
|
+
internalType: 'uint256',
|
|
763
911
|
},
|
|
764
912
|
],
|
|
765
913
|
},
|
|
766
914
|
{
|
|
767
|
-
type:
|
|
768
|
-
name:
|
|
769
|
-
stateMutability:
|
|
915
|
+
type: 'function',
|
|
916
|
+
name: 'getRitualState',
|
|
917
|
+
stateMutability: 'view',
|
|
770
918
|
inputs: [
|
|
771
919
|
{
|
|
772
|
-
name:
|
|
773
|
-
type:
|
|
774
|
-
internalType:
|
|
920
|
+
name: 'ritualId',
|
|
921
|
+
type: 'uint32',
|
|
922
|
+
internalType: 'uint32',
|
|
775
923
|
},
|
|
776
924
|
],
|
|
777
925
|
outputs: [
|
|
778
926
|
{
|
|
779
|
-
name:
|
|
780
|
-
type:
|
|
781
|
-
internalType:
|
|
927
|
+
name: '',
|
|
928
|
+
type: 'uint8',
|
|
929
|
+
internalType: 'enum Coordinator.RitualState',
|
|
782
930
|
},
|
|
783
931
|
],
|
|
784
932
|
},
|
|
785
933
|
{
|
|
786
|
-
type:
|
|
787
|
-
name:
|
|
788
|
-
stateMutability:
|
|
934
|
+
type: 'function',
|
|
935
|
+
name: 'getRoleAdmin',
|
|
936
|
+
stateMutability: 'view',
|
|
789
937
|
inputs: [
|
|
790
938
|
{
|
|
791
|
-
name:
|
|
792
|
-
type:
|
|
793
|
-
internalType:
|
|
939
|
+
name: 'role',
|
|
940
|
+
type: 'bytes32',
|
|
941
|
+
internalType: 'bytes32',
|
|
794
942
|
},
|
|
795
943
|
],
|
|
796
944
|
outputs: [
|
|
797
945
|
{
|
|
798
|
-
name:
|
|
799
|
-
type:
|
|
800
|
-
internalType:
|
|
946
|
+
name: '',
|
|
947
|
+
type: 'bytes32',
|
|
948
|
+
internalType: 'bytes32',
|
|
801
949
|
},
|
|
802
950
|
],
|
|
803
951
|
},
|
|
804
952
|
{
|
|
805
|
-
type:
|
|
806
|
-
name:
|
|
807
|
-
stateMutability:
|
|
953
|
+
type: 'function',
|
|
954
|
+
name: 'getThresholdForRitualSize',
|
|
955
|
+
stateMutability: 'pure',
|
|
808
956
|
inputs: [
|
|
809
957
|
{
|
|
810
|
-
name:
|
|
811
|
-
type:
|
|
812
|
-
internalType:
|
|
958
|
+
name: 'size',
|
|
959
|
+
type: 'uint16',
|
|
960
|
+
internalType: 'uint16',
|
|
813
961
|
},
|
|
814
962
|
],
|
|
815
963
|
outputs: [
|
|
816
964
|
{
|
|
817
|
-
name:
|
|
818
|
-
type:
|
|
819
|
-
internalType:
|
|
965
|
+
name: '',
|
|
966
|
+
type: 'uint16',
|
|
967
|
+
internalType: 'uint16',
|
|
820
968
|
},
|
|
821
969
|
],
|
|
822
970
|
},
|
|
823
971
|
{
|
|
824
|
-
type:
|
|
825
|
-
name:
|
|
826
|
-
stateMutability:
|
|
972
|
+
type: 'function',
|
|
973
|
+
name: 'grantRole',
|
|
974
|
+
stateMutability: 'nonpayable',
|
|
827
975
|
inputs: [
|
|
828
976
|
{
|
|
829
|
-
name:
|
|
830
|
-
type:
|
|
831
|
-
internalType:
|
|
977
|
+
name: 'role',
|
|
978
|
+
type: 'bytes32',
|
|
979
|
+
internalType: 'bytes32',
|
|
832
980
|
},
|
|
833
981
|
{
|
|
834
|
-
name:
|
|
835
|
-
type:
|
|
836
|
-
internalType:
|
|
982
|
+
name: 'account',
|
|
983
|
+
type: 'address',
|
|
984
|
+
internalType: 'address',
|
|
837
985
|
},
|
|
838
986
|
],
|
|
839
987
|
outputs: [],
|
|
840
988
|
},
|
|
841
989
|
{
|
|
842
|
-
type:
|
|
843
|
-
name:
|
|
844
|
-
stateMutability:
|
|
990
|
+
type: 'function',
|
|
991
|
+
name: 'hasRole',
|
|
992
|
+
stateMutability: 'view',
|
|
845
993
|
inputs: [
|
|
846
994
|
{
|
|
847
|
-
name:
|
|
848
|
-
type:
|
|
849
|
-
internalType:
|
|
995
|
+
name: 'role',
|
|
996
|
+
type: 'bytes32',
|
|
997
|
+
internalType: 'bytes32',
|
|
850
998
|
},
|
|
851
999
|
{
|
|
852
|
-
name:
|
|
853
|
-
type:
|
|
854
|
-
internalType:
|
|
1000
|
+
name: 'account',
|
|
1001
|
+
type: 'address',
|
|
1002
|
+
internalType: 'address',
|
|
855
1003
|
},
|
|
856
1004
|
],
|
|
857
1005
|
outputs: [
|
|
858
1006
|
{
|
|
859
|
-
name:
|
|
860
|
-
type:
|
|
861
|
-
internalType:
|
|
1007
|
+
name: '',
|
|
1008
|
+
type: 'bool',
|
|
1009
|
+
internalType: 'bool',
|
|
1010
|
+
},
|
|
1011
|
+
],
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
type: 'function',
|
|
1015
|
+
name: 'initialize',
|
|
1016
|
+
stateMutability: 'nonpayable',
|
|
1017
|
+
inputs: [
|
|
1018
|
+
{
|
|
1019
|
+
name: '_timeout',
|
|
1020
|
+
type: 'uint32',
|
|
1021
|
+
internalType: 'uint32',
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
name: '_maxDkgSize',
|
|
1025
|
+
type: 'uint16',
|
|
1026
|
+
internalType: 'uint16',
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
name: '_admin',
|
|
1030
|
+
type: 'address',
|
|
1031
|
+
internalType: 'address',
|
|
862
1032
|
},
|
|
863
1033
|
],
|
|
1034
|
+
outputs: [],
|
|
864
1035
|
},
|
|
865
1036
|
{
|
|
866
|
-
type:
|
|
867
|
-
name:
|
|
868
|
-
stateMutability:
|
|
1037
|
+
type: 'function',
|
|
1038
|
+
name: 'initiateRitual',
|
|
1039
|
+
stateMutability: 'nonpayable',
|
|
869
1040
|
inputs: [
|
|
870
1041
|
{
|
|
871
|
-
name:
|
|
872
|
-
type:
|
|
873
|
-
internalType:
|
|
1042
|
+
name: 'providers',
|
|
1043
|
+
type: 'address[]',
|
|
1044
|
+
internalType: 'address[]',
|
|
874
1045
|
},
|
|
875
1046
|
{
|
|
876
|
-
name:
|
|
877
|
-
type:
|
|
878
|
-
internalType:
|
|
1047
|
+
name: 'authority',
|
|
1048
|
+
type: 'address',
|
|
1049
|
+
internalType: 'address',
|
|
879
1050
|
},
|
|
880
1051
|
{
|
|
881
|
-
name:
|
|
882
|
-
type:
|
|
883
|
-
internalType:
|
|
1052
|
+
name: 'duration',
|
|
1053
|
+
type: 'uint32',
|
|
1054
|
+
internalType: 'uint32',
|
|
884
1055
|
},
|
|
885
1056
|
{
|
|
886
|
-
name:
|
|
887
|
-
type:
|
|
888
|
-
internalType:
|
|
1057
|
+
name: 'accessController',
|
|
1058
|
+
type: 'address',
|
|
1059
|
+
internalType: 'contract IEncryptionAuthorizer',
|
|
889
1060
|
},
|
|
890
1061
|
],
|
|
891
1062
|
outputs: [
|
|
892
1063
|
{
|
|
893
|
-
name:
|
|
894
|
-
type:
|
|
895
|
-
internalType:
|
|
1064
|
+
name: '',
|
|
1065
|
+
type: 'uint32',
|
|
1066
|
+
internalType: 'uint32',
|
|
896
1067
|
},
|
|
897
1068
|
],
|
|
898
1069
|
},
|
|
899
1070
|
{
|
|
900
|
-
type:
|
|
901
|
-
name:
|
|
902
|
-
stateMutability:
|
|
1071
|
+
type: 'function',
|
|
1072
|
+
name: 'isEncryptionAuthorized',
|
|
1073
|
+
stateMutability: 'view',
|
|
903
1074
|
inputs: [
|
|
904
1075
|
{
|
|
905
|
-
name:
|
|
906
|
-
type:
|
|
907
|
-
internalType:
|
|
1076
|
+
name: 'ritualId',
|
|
1077
|
+
type: 'uint32',
|
|
1078
|
+
internalType: 'uint32',
|
|
908
1079
|
},
|
|
909
1080
|
{
|
|
910
|
-
name:
|
|
911
|
-
type:
|
|
912
|
-
internalType:
|
|
1081
|
+
name: 'evidence',
|
|
1082
|
+
type: 'bytes',
|
|
1083
|
+
internalType: 'bytes',
|
|
913
1084
|
},
|
|
914
1085
|
{
|
|
915
|
-
name:
|
|
916
|
-
type:
|
|
917
|
-
internalType:
|
|
1086
|
+
name: 'ciphertextHeader',
|
|
1087
|
+
type: 'bytes',
|
|
1088
|
+
internalType: 'bytes',
|
|
918
1089
|
},
|
|
919
1090
|
],
|
|
920
1091
|
outputs: [
|
|
921
1092
|
{
|
|
922
|
-
name:
|
|
923
|
-
type:
|
|
924
|
-
internalType:
|
|
1093
|
+
name: '',
|
|
1094
|
+
type: 'bool',
|
|
1095
|
+
internalType: 'bool',
|
|
925
1096
|
},
|
|
926
1097
|
],
|
|
927
1098
|
},
|
|
928
1099
|
{
|
|
929
|
-
type:
|
|
930
|
-
name:
|
|
931
|
-
stateMutability:
|
|
1100
|
+
type: 'function',
|
|
1101
|
+
name: 'isInitiationPublic',
|
|
1102
|
+
stateMutability: 'view',
|
|
932
1103
|
inputs: [],
|
|
933
1104
|
outputs: [
|
|
934
1105
|
{
|
|
935
|
-
name:
|
|
936
|
-
type:
|
|
937
|
-
internalType:
|
|
1106
|
+
name: '',
|
|
1107
|
+
type: 'bool',
|
|
1108
|
+
internalType: 'bool',
|
|
938
1109
|
},
|
|
939
1110
|
],
|
|
940
1111
|
},
|
|
941
1112
|
{
|
|
942
|
-
type:
|
|
943
|
-
name:
|
|
944
|
-
stateMutability:
|
|
1113
|
+
type: 'function',
|
|
1114
|
+
name: 'isProviderPublicKeySet',
|
|
1115
|
+
stateMutability: 'view',
|
|
945
1116
|
inputs: [
|
|
946
1117
|
{
|
|
947
|
-
name:
|
|
948
|
-
type:
|
|
949
|
-
internalType:
|
|
1118
|
+
name: '_provider',
|
|
1119
|
+
type: 'address',
|
|
1120
|
+
internalType: 'address',
|
|
950
1121
|
},
|
|
951
1122
|
],
|
|
952
1123
|
outputs: [
|
|
953
1124
|
{
|
|
954
|
-
name:
|
|
955
|
-
type:
|
|
956
|
-
internalType:
|
|
1125
|
+
name: '',
|
|
1126
|
+
type: 'bool',
|
|
1127
|
+
internalType: 'bool',
|
|
957
1128
|
},
|
|
958
1129
|
],
|
|
959
1130
|
},
|
|
960
1131
|
{
|
|
961
|
-
type:
|
|
962
|
-
name:
|
|
963
|
-
stateMutability:
|
|
1132
|
+
type: 'function',
|
|
1133
|
+
name: 'isRitualActive',
|
|
1134
|
+
stateMutability: 'view',
|
|
964
1135
|
inputs: [
|
|
965
1136
|
{
|
|
966
|
-
name:
|
|
967
|
-
type:
|
|
968
|
-
internalType:
|
|
1137
|
+
name: 'ritualId',
|
|
1138
|
+
type: 'uint32',
|
|
1139
|
+
internalType: 'uint32',
|
|
969
1140
|
},
|
|
970
1141
|
],
|
|
971
1142
|
outputs: [
|
|
972
1143
|
{
|
|
973
|
-
name:
|
|
974
|
-
type:
|
|
975
|
-
internalType:
|
|
1144
|
+
name: '',
|
|
1145
|
+
type: 'bool',
|
|
1146
|
+
internalType: 'bool',
|
|
976
1147
|
},
|
|
977
1148
|
],
|
|
978
1149
|
},
|
|
979
1150
|
{
|
|
980
|
-
type:
|
|
981
|
-
name:
|
|
982
|
-
stateMutability:
|
|
1151
|
+
type: 'function',
|
|
1152
|
+
name: 'makeInitiationPublic',
|
|
1153
|
+
stateMutability: 'nonpayable',
|
|
983
1154
|
inputs: [],
|
|
984
1155
|
outputs: [],
|
|
985
1156
|
},
|
|
986
1157
|
{
|
|
987
|
-
type:
|
|
988
|
-
name:
|
|
989
|
-
stateMutability:
|
|
1158
|
+
type: 'function',
|
|
1159
|
+
name: 'maxDkgSize',
|
|
1160
|
+
stateMutability: 'view',
|
|
990
1161
|
inputs: [],
|
|
991
1162
|
outputs: [
|
|
992
1163
|
{
|
|
993
|
-
name:
|
|
994
|
-
type:
|
|
995
|
-
internalType:
|
|
1164
|
+
name: '',
|
|
1165
|
+
type: 'uint16',
|
|
1166
|
+
internalType: 'uint16',
|
|
996
1167
|
},
|
|
997
1168
|
],
|
|
998
1169
|
},
|
|
999
1170
|
{
|
|
1000
|
-
type:
|
|
1001
|
-
name:
|
|
1002
|
-
stateMutability:
|
|
1171
|
+
type: 'function',
|
|
1172
|
+
name: 'numberOfRituals',
|
|
1173
|
+
stateMutability: 'view',
|
|
1003
1174
|
inputs: [],
|
|
1004
1175
|
outputs: [
|
|
1005
1176
|
{
|
|
1006
|
-
name:
|
|
1007
|
-
type:
|
|
1008
|
-
internalType:
|
|
1177
|
+
name: '',
|
|
1178
|
+
type: 'uint256',
|
|
1179
|
+
internalType: 'uint256',
|
|
1009
1180
|
},
|
|
1010
1181
|
],
|
|
1011
1182
|
},
|
|
1012
1183
|
{
|
|
1013
|
-
type:
|
|
1014
|
-
name:
|
|
1015
|
-
stateMutability:
|
|
1184
|
+
type: 'function',
|
|
1185
|
+
name: 'owner',
|
|
1186
|
+
stateMutability: 'view',
|
|
1016
1187
|
inputs: [],
|
|
1017
1188
|
outputs: [
|
|
1018
1189
|
{
|
|
1019
|
-
name:
|
|
1020
|
-
type:
|
|
1021
|
-
internalType:
|
|
1190
|
+
name: '',
|
|
1191
|
+
type: 'address',
|
|
1192
|
+
internalType: 'address',
|
|
1022
1193
|
},
|
|
1023
1194
|
],
|
|
1024
1195
|
},
|
|
1025
1196
|
{
|
|
1026
|
-
type:
|
|
1027
|
-
name:
|
|
1028
|
-
stateMutability:
|
|
1197
|
+
type: 'function',
|
|
1198
|
+
name: 'pendingDefaultAdmin',
|
|
1199
|
+
stateMutability: 'view',
|
|
1029
1200
|
inputs: [],
|
|
1030
1201
|
outputs: [
|
|
1031
1202
|
{
|
|
1032
|
-
name:
|
|
1033
|
-
type:
|
|
1034
|
-
internalType:
|
|
1203
|
+
name: 'newAdmin',
|
|
1204
|
+
type: 'address',
|
|
1205
|
+
internalType: 'address',
|
|
1035
1206
|
},
|
|
1036
1207
|
{
|
|
1037
|
-
name:
|
|
1038
|
-
type:
|
|
1039
|
-
internalType:
|
|
1208
|
+
name: 'schedule',
|
|
1209
|
+
type: 'uint48',
|
|
1210
|
+
internalType: 'uint48',
|
|
1040
1211
|
},
|
|
1041
1212
|
],
|
|
1042
1213
|
},
|
|
1043
1214
|
{
|
|
1044
|
-
type:
|
|
1045
|
-
name:
|
|
1046
|
-
stateMutability:
|
|
1215
|
+
type: 'function',
|
|
1216
|
+
name: 'pendingDefaultAdminDelay',
|
|
1217
|
+
stateMutability: 'view',
|
|
1047
1218
|
inputs: [],
|
|
1048
1219
|
outputs: [
|
|
1049
1220
|
{
|
|
1050
|
-
name:
|
|
1051
|
-
type:
|
|
1052
|
-
internalType:
|
|
1221
|
+
name: 'newDelay',
|
|
1222
|
+
type: 'uint48',
|
|
1223
|
+
internalType: 'uint48',
|
|
1053
1224
|
},
|
|
1054
1225
|
{
|
|
1055
|
-
name:
|
|
1056
|
-
type:
|
|
1057
|
-
internalType:
|
|
1226
|
+
name: 'schedule',
|
|
1227
|
+
type: 'uint48',
|
|
1228
|
+
internalType: 'uint48',
|
|
1058
1229
|
},
|
|
1059
1230
|
],
|
|
1060
1231
|
},
|
|
1061
1232
|
{
|
|
1062
|
-
type:
|
|
1063
|
-
name:
|
|
1064
|
-
stateMutability:
|
|
1233
|
+
type: 'function',
|
|
1234
|
+
name: 'pendingFees',
|
|
1235
|
+
stateMutability: 'view',
|
|
1065
1236
|
inputs: [
|
|
1066
1237
|
{
|
|
1067
|
-
name:
|
|
1068
|
-
type:
|
|
1069
|
-
internalType:
|
|
1238
|
+
name: '',
|
|
1239
|
+
type: 'uint256',
|
|
1240
|
+
internalType: 'uint256',
|
|
1070
1241
|
},
|
|
1071
1242
|
],
|
|
1072
1243
|
outputs: [
|
|
1073
1244
|
{
|
|
1074
|
-
name:
|
|
1075
|
-
type:
|
|
1076
|
-
internalType:
|
|
1245
|
+
name: '',
|
|
1246
|
+
type: 'uint256',
|
|
1247
|
+
internalType: 'uint256',
|
|
1077
1248
|
},
|
|
1078
1249
|
],
|
|
1079
1250
|
},
|
|
1080
1251
|
{
|
|
1081
|
-
type:
|
|
1082
|
-
name:
|
|
1083
|
-
stateMutability:
|
|
1252
|
+
type: 'function',
|
|
1253
|
+
name: 'postAggregation',
|
|
1254
|
+
stateMutability: 'nonpayable',
|
|
1084
1255
|
inputs: [
|
|
1085
1256
|
{
|
|
1086
|
-
name:
|
|
1087
|
-
type:
|
|
1088
|
-
internalType:
|
|
1257
|
+
name: 'ritualId',
|
|
1258
|
+
type: 'uint32',
|
|
1259
|
+
internalType: 'uint32',
|
|
1089
1260
|
},
|
|
1090
1261
|
{
|
|
1091
|
-
name:
|
|
1092
|
-
type:
|
|
1093
|
-
internalType:
|
|
1262
|
+
name: 'aggregatedTranscript',
|
|
1263
|
+
type: 'bytes',
|
|
1264
|
+
internalType: 'bytes',
|
|
1094
1265
|
},
|
|
1095
1266
|
{
|
|
1096
|
-
name:
|
|
1097
|
-
type:
|
|
1267
|
+
name: 'dkgPublicKey',
|
|
1268
|
+
type: 'tuple',
|
|
1098
1269
|
components: [
|
|
1099
1270
|
{
|
|
1100
|
-
name:
|
|
1101
|
-
type:
|
|
1102
|
-
internalType:
|
|
1271
|
+
name: 'word0',
|
|
1272
|
+
type: 'bytes32',
|
|
1273
|
+
internalType: 'bytes32',
|
|
1103
1274
|
},
|
|
1104
1275
|
{
|
|
1105
|
-
name:
|
|
1106
|
-
type:
|
|
1107
|
-
internalType:
|
|
1276
|
+
name: 'word1',
|
|
1277
|
+
type: 'bytes16',
|
|
1278
|
+
internalType: 'bytes16',
|
|
1108
1279
|
},
|
|
1109
1280
|
],
|
|
1110
|
-
internalType:
|
|
1281
|
+
internalType: 'struct BLS12381.G1Point',
|
|
1111
1282
|
},
|
|
1112
1283
|
{
|
|
1113
|
-
name:
|
|
1114
|
-
type:
|
|
1115
|
-
internalType:
|
|
1284
|
+
name: 'decryptionRequestStaticKey',
|
|
1285
|
+
type: 'bytes',
|
|
1286
|
+
internalType: 'bytes',
|
|
1116
1287
|
},
|
|
1117
1288
|
],
|
|
1118
1289
|
outputs: [],
|
|
1119
1290
|
},
|
|
1120
1291
|
{
|
|
1121
|
-
type:
|
|
1122
|
-
name:
|
|
1123
|
-
stateMutability:
|
|
1292
|
+
type: 'function',
|
|
1293
|
+
name: 'postTranscript',
|
|
1294
|
+
stateMutability: 'nonpayable',
|
|
1124
1295
|
inputs: [
|
|
1125
1296
|
{
|
|
1126
|
-
name:
|
|
1127
|
-
type:
|
|
1128
|
-
internalType:
|
|
1297
|
+
name: 'ritualId',
|
|
1298
|
+
type: 'uint32',
|
|
1299
|
+
internalType: 'uint32',
|
|
1129
1300
|
},
|
|
1130
1301
|
{
|
|
1131
|
-
name:
|
|
1132
|
-
type:
|
|
1133
|
-
internalType:
|
|
1302
|
+
name: 'transcript',
|
|
1303
|
+
type: 'bytes',
|
|
1304
|
+
internalType: 'bytes',
|
|
1134
1305
|
},
|
|
1135
1306
|
],
|
|
1136
1307
|
outputs: [],
|
|
1137
1308
|
},
|
|
1138
1309
|
{
|
|
1139
|
-
type:
|
|
1140
|
-
name:
|
|
1141
|
-
stateMutability:
|
|
1310
|
+
type: 'function',
|
|
1311
|
+
name: 'processPendingFee',
|
|
1312
|
+
stateMutability: 'nonpayable',
|
|
1142
1313
|
inputs: [
|
|
1143
1314
|
{
|
|
1144
|
-
name:
|
|
1145
|
-
type:
|
|
1146
|
-
internalType:
|
|
1315
|
+
name: 'ritualId',
|
|
1316
|
+
type: 'uint32',
|
|
1317
|
+
internalType: 'uint32',
|
|
1318
|
+
},
|
|
1319
|
+
],
|
|
1320
|
+
outputs: [
|
|
1321
|
+
{
|
|
1322
|
+
name: 'refundableFee',
|
|
1323
|
+
type: 'uint256',
|
|
1324
|
+
internalType: 'uint256',
|
|
1147
1325
|
},
|
|
1148
1326
|
],
|
|
1149
|
-
outputs: [],
|
|
1150
1327
|
},
|
|
1151
1328
|
{
|
|
1152
|
-
type:
|
|
1153
|
-
name:
|
|
1154
|
-
stateMutability:
|
|
1329
|
+
type: 'function',
|
|
1330
|
+
name: 'renounceRole',
|
|
1331
|
+
stateMutability: 'nonpayable',
|
|
1155
1332
|
inputs: [
|
|
1156
1333
|
{
|
|
1157
|
-
name:
|
|
1158
|
-
type:
|
|
1159
|
-
internalType:
|
|
1334
|
+
name: 'role',
|
|
1335
|
+
type: 'bytes32',
|
|
1336
|
+
internalType: 'bytes32',
|
|
1160
1337
|
},
|
|
1161
1338
|
{
|
|
1162
|
-
name:
|
|
1163
|
-
type:
|
|
1164
|
-
internalType:
|
|
1339
|
+
name: 'account',
|
|
1340
|
+
type: 'address',
|
|
1341
|
+
internalType: 'address',
|
|
1165
1342
|
},
|
|
1166
1343
|
],
|
|
1167
1344
|
outputs: [],
|
|
1168
1345
|
},
|
|
1169
1346
|
{
|
|
1170
|
-
type:
|
|
1171
|
-
name:
|
|
1172
|
-
stateMutability:
|
|
1347
|
+
type: 'function',
|
|
1348
|
+
name: 'revokeRole',
|
|
1349
|
+
stateMutability: 'nonpayable',
|
|
1173
1350
|
inputs: [
|
|
1174
1351
|
{
|
|
1175
|
-
name:
|
|
1176
|
-
type:
|
|
1177
|
-
internalType:
|
|
1352
|
+
name: 'role',
|
|
1353
|
+
type: 'bytes32',
|
|
1354
|
+
internalType: 'bytes32',
|
|
1178
1355
|
},
|
|
1179
1356
|
{
|
|
1180
|
-
name:
|
|
1181
|
-
type:
|
|
1182
|
-
internalType:
|
|
1357
|
+
name: 'account',
|
|
1358
|
+
type: 'address',
|
|
1359
|
+
internalType: 'address',
|
|
1183
1360
|
},
|
|
1184
1361
|
],
|
|
1185
1362
|
outputs: [],
|
|
1186
1363
|
},
|
|
1187
1364
|
{
|
|
1188
|
-
type:
|
|
1189
|
-
name:
|
|
1190
|
-
stateMutability:
|
|
1365
|
+
type: 'function',
|
|
1366
|
+
name: 'rituals',
|
|
1367
|
+
stateMutability: 'view',
|
|
1191
1368
|
inputs: [
|
|
1192
1369
|
{
|
|
1193
|
-
name:
|
|
1194
|
-
type:
|
|
1195
|
-
internalType:
|
|
1370
|
+
name: '',
|
|
1371
|
+
type: 'uint256',
|
|
1372
|
+
internalType: 'uint256',
|
|
1196
1373
|
},
|
|
1197
1374
|
],
|
|
1198
1375
|
outputs: [
|
|
1199
1376
|
{
|
|
1200
|
-
name:
|
|
1201
|
-
type:
|
|
1202
|
-
internalType:
|
|
1377
|
+
name: 'initiator',
|
|
1378
|
+
type: 'address',
|
|
1379
|
+
internalType: 'address',
|
|
1203
1380
|
},
|
|
1204
1381
|
{
|
|
1205
|
-
name:
|
|
1206
|
-
type:
|
|
1207
|
-
internalType:
|
|
1382
|
+
name: 'initTimestamp',
|
|
1383
|
+
type: 'uint32',
|
|
1384
|
+
internalType: 'uint32',
|
|
1208
1385
|
},
|
|
1209
1386
|
{
|
|
1210
|
-
name:
|
|
1211
|
-
type:
|
|
1212
|
-
internalType:
|
|
1387
|
+
name: 'endTimestamp',
|
|
1388
|
+
type: 'uint32',
|
|
1389
|
+
internalType: 'uint32',
|
|
1213
1390
|
},
|
|
1214
1391
|
{
|
|
1215
|
-
name:
|
|
1216
|
-
type:
|
|
1217
|
-
internalType:
|
|
1392
|
+
name: 'totalTranscripts',
|
|
1393
|
+
type: 'uint16',
|
|
1394
|
+
internalType: 'uint16',
|
|
1218
1395
|
},
|
|
1219
1396
|
{
|
|
1220
|
-
name:
|
|
1221
|
-
type:
|
|
1222
|
-
internalType:
|
|
1397
|
+
name: 'totalAggregations',
|
|
1398
|
+
type: 'uint16',
|
|
1399
|
+
internalType: 'uint16',
|
|
1223
1400
|
},
|
|
1224
1401
|
{
|
|
1225
|
-
name:
|
|
1226
|
-
type:
|
|
1227
|
-
internalType:
|
|
1402
|
+
name: 'authority',
|
|
1403
|
+
type: 'address',
|
|
1404
|
+
internalType: 'address',
|
|
1228
1405
|
},
|
|
1229
1406
|
{
|
|
1230
|
-
name:
|
|
1231
|
-
type:
|
|
1232
|
-
internalType:
|
|
1407
|
+
name: 'dkgSize',
|
|
1408
|
+
type: 'uint16',
|
|
1409
|
+
internalType: 'uint16',
|
|
1233
1410
|
},
|
|
1234
1411
|
{
|
|
1235
|
-
name:
|
|
1236
|
-
type:
|
|
1237
|
-
internalType:
|
|
1412
|
+
name: 'threshold',
|
|
1413
|
+
type: 'uint16',
|
|
1414
|
+
internalType: 'uint16',
|
|
1238
1415
|
},
|
|
1239
1416
|
{
|
|
1240
|
-
name:
|
|
1241
|
-
type:
|
|
1242
|
-
internalType:
|
|
1417
|
+
name: 'aggregationMismatch',
|
|
1418
|
+
type: 'bool',
|
|
1419
|
+
internalType: 'bool',
|
|
1243
1420
|
},
|
|
1244
1421
|
{
|
|
1245
|
-
name:
|
|
1246
|
-
type:
|
|
1247
|
-
internalType:
|
|
1422
|
+
name: 'accessController',
|
|
1423
|
+
type: 'address',
|
|
1424
|
+
internalType: 'contract IEncryptionAuthorizer',
|
|
1248
1425
|
},
|
|
1249
1426
|
{
|
|
1250
|
-
name:
|
|
1251
|
-
type:
|
|
1427
|
+
name: 'publicKey',
|
|
1428
|
+
type: 'tuple',
|
|
1252
1429
|
components: [
|
|
1253
1430
|
{
|
|
1254
|
-
name:
|
|
1255
|
-
type:
|
|
1256
|
-
internalType:
|
|
1431
|
+
name: 'word0',
|
|
1432
|
+
type: 'bytes32',
|
|
1433
|
+
internalType: 'bytes32',
|
|
1257
1434
|
},
|
|
1258
1435
|
{
|
|
1259
|
-
name:
|
|
1260
|
-
type:
|
|
1261
|
-
internalType:
|
|
1436
|
+
name: 'word1',
|
|
1437
|
+
type: 'bytes16',
|
|
1438
|
+
internalType: 'bytes16',
|
|
1262
1439
|
},
|
|
1263
1440
|
],
|
|
1264
|
-
internalType:
|
|
1441
|
+
internalType: 'struct BLS12381.G1Point',
|
|
1265
1442
|
},
|
|
1266
1443
|
{
|
|
1267
|
-
name:
|
|
1268
|
-
type:
|
|
1269
|
-
internalType:
|
|
1444
|
+
name: 'aggregatedTranscript',
|
|
1445
|
+
type: 'bytes',
|
|
1446
|
+
internalType: 'bytes',
|
|
1270
1447
|
},
|
|
1271
1448
|
],
|
|
1272
1449
|
},
|
|
1273
1450
|
{
|
|
1274
|
-
type:
|
|
1275
|
-
name:
|
|
1276
|
-
stateMutability:
|
|
1451
|
+
type: 'function',
|
|
1452
|
+
name: 'rollbackDefaultAdminDelay',
|
|
1453
|
+
stateMutability: 'nonpayable',
|
|
1277
1454
|
inputs: [],
|
|
1278
1455
|
outputs: [],
|
|
1279
1456
|
},
|
|
1280
1457
|
{
|
|
1281
|
-
type:
|
|
1282
|
-
name:
|
|
1283
|
-
stateMutability:
|
|
1458
|
+
type: 'function',
|
|
1459
|
+
name: 'setMaxDkgSize',
|
|
1460
|
+
stateMutability: 'nonpayable',
|
|
1284
1461
|
inputs: [
|
|
1285
1462
|
{
|
|
1286
|
-
name:
|
|
1287
|
-
type:
|
|
1288
|
-
internalType:
|
|
1463
|
+
name: 'newSize',
|
|
1464
|
+
type: 'uint16',
|
|
1465
|
+
internalType: 'uint16',
|
|
1289
1466
|
},
|
|
1290
1467
|
],
|
|
1291
1468
|
outputs: [],
|
|
1292
1469
|
},
|
|
1293
1470
|
{
|
|
1294
|
-
type:
|
|
1295
|
-
name:
|
|
1296
|
-
stateMutability:
|
|
1471
|
+
type: 'function',
|
|
1472
|
+
name: 'setProviderPublicKey',
|
|
1473
|
+
stateMutability: 'nonpayable',
|
|
1297
1474
|
inputs: [
|
|
1298
1475
|
{
|
|
1299
|
-
name:
|
|
1300
|
-
type:
|
|
1476
|
+
name: '_publicKey',
|
|
1477
|
+
type: 'tuple',
|
|
1301
1478
|
components: [
|
|
1302
1479
|
{
|
|
1303
|
-
name:
|
|
1304
|
-
type:
|
|
1305
|
-
internalType:
|
|
1480
|
+
name: 'word0',
|
|
1481
|
+
type: 'bytes32',
|
|
1482
|
+
internalType: 'bytes32',
|
|
1306
1483
|
},
|
|
1307
1484
|
{
|
|
1308
|
-
name:
|
|
1309
|
-
type:
|
|
1310
|
-
internalType:
|
|
1485
|
+
name: 'word1',
|
|
1486
|
+
type: 'bytes32',
|
|
1487
|
+
internalType: 'bytes32',
|
|
1311
1488
|
},
|
|
1312
1489
|
{
|
|
1313
|
-
name:
|
|
1314
|
-
type:
|
|
1315
|
-
internalType:
|
|
1490
|
+
name: 'word2',
|
|
1491
|
+
type: 'bytes32',
|
|
1492
|
+
internalType: 'bytes32',
|
|
1316
1493
|
},
|
|
1317
1494
|
],
|
|
1318
|
-
internalType:
|
|
1495
|
+
internalType: 'struct BLS12381.G2Point',
|
|
1319
1496
|
},
|
|
1320
1497
|
],
|
|
1321
1498
|
outputs: [],
|
|
1322
1499
|
},
|
|
1323
1500
|
{
|
|
1324
|
-
type:
|
|
1325
|
-
name:
|
|
1326
|
-
stateMutability:
|
|
1501
|
+
type: 'function',
|
|
1502
|
+
name: 'setReimbursementPool',
|
|
1503
|
+
stateMutability: 'nonpayable',
|
|
1327
1504
|
inputs: [
|
|
1328
1505
|
{
|
|
1329
|
-
name:
|
|
1330
|
-
type:
|
|
1331
|
-
internalType:
|
|
1506
|
+
name: 'pool',
|
|
1507
|
+
type: 'address',
|
|
1508
|
+
internalType: 'contract IReimbursementPool',
|
|
1332
1509
|
},
|
|
1333
1510
|
],
|
|
1334
1511
|
outputs: [],
|
|
1335
1512
|
},
|
|
1336
1513
|
{
|
|
1337
|
-
type:
|
|
1338
|
-
name:
|
|
1339
|
-
stateMutability:
|
|
1514
|
+
type: 'function',
|
|
1515
|
+
name: 'setTimeout',
|
|
1516
|
+
stateMutability: 'nonpayable',
|
|
1340
1517
|
inputs: [
|
|
1341
1518
|
{
|
|
1342
|
-
name:
|
|
1343
|
-
type:
|
|
1344
|
-
internalType:
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
name: "authority",
|
|
1348
|
-
type: "address",
|
|
1349
|
-
internalType: "address",
|
|
1519
|
+
name: 'newTimeout',
|
|
1520
|
+
type: 'uint32',
|
|
1521
|
+
internalType: 'uint32',
|
|
1350
1522
|
},
|
|
1351
1523
|
],
|
|
1352
1524
|
outputs: [],
|
|
1353
1525
|
},
|
|
1354
1526
|
{
|
|
1355
|
-
type:
|
|
1356
|
-
name:
|
|
1357
|
-
stateMutability:
|
|
1527
|
+
type: 'function',
|
|
1528
|
+
name: 'supportsInterface',
|
|
1529
|
+
stateMutability: 'view',
|
|
1358
1530
|
inputs: [
|
|
1359
1531
|
{
|
|
1360
|
-
name:
|
|
1361
|
-
type:
|
|
1362
|
-
internalType:
|
|
1532
|
+
name: 'interfaceId',
|
|
1533
|
+
type: 'bytes4',
|
|
1534
|
+
internalType: 'bytes4',
|
|
1363
1535
|
},
|
|
1364
1536
|
],
|
|
1365
|
-
outputs: [
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
type: "function",
|
|
1369
|
-
name: "supportsInterface",
|
|
1370
|
-
stateMutability: "view",
|
|
1371
|
-
inputs: [
|
|
1537
|
+
outputs: [
|
|
1372
1538
|
{
|
|
1373
|
-
name:
|
|
1374
|
-
type:
|
|
1375
|
-
internalType:
|
|
1539
|
+
name: '',
|
|
1540
|
+
type: 'bool',
|
|
1541
|
+
internalType: 'bool',
|
|
1376
1542
|
},
|
|
1377
1543
|
],
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
type: 'function',
|
|
1547
|
+
name: 'timeout',
|
|
1548
|
+
stateMutability: 'view',
|
|
1549
|
+
inputs: [],
|
|
1378
1550
|
outputs: [
|
|
1379
1551
|
{
|
|
1380
|
-
name:
|
|
1381
|
-
type:
|
|
1382
|
-
internalType:
|
|
1552
|
+
name: '',
|
|
1553
|
+
type: 'uint32',
|
|
1554
|
+
internalType: 'uint32',
|
|
1383
1555
|
},
|
|
1384
1556
|
],
|
|
1385
1557
|
},
|
|
1386
1558
|
{
|
|
1387
|
-
type:
|
|
1388
|
-
name:
|
|
1389
|
-
stateMutability:
|
|
1559
|
+
type: 'function',
|
|
1560
|
+
name: 'totalPendingFees',
|
|
1561
|
+
stateMutability: 'view',
|
|
1390
1562
|
inputs: [],
|
|
1391
1563
|
outputs: [
|
|
1392
1564
|
{
|
|
1393
|
-
name:
|
|
1394
|
-
type:
|
|
1395
|
-
internalType:
|
|
1565
|
+
name: '',
|
|
1566
|
+
type: 'uint256',
|
|
1567
|
+
internalType: 'uint256',
|
|
1396
1568
|
},
|
|
1397
1569
|
],
|
|
1398
1570
|
},
|
|
1399
1571
|
{
|
|
1400
|
-
type:
|
|
1401
|
-
name:
|
|
1402
|
-
stateMutability:
|
|
1403
|
-
inputs: [
|
|
1404
|
-
outputs: [
|
|
1572
|
+
type: 'function',
|
|
1573
|
+
name: 'transferRitualAuthority',
|
|
1574
|
+
stateMutability: 'nonpayable',
|
|
1575
|
+
inputs: [
|
|
1405
1576
|
{
|
|
1406
|
-
name:
|
|
1407
|
-
type:
|
|
1408
|
-
internalType:
|
|
1577
|
+
name: 'ritualId',
|
|
1578
|
+
type: 'uint32',
|
|
1579
|
+
internalType: 'uint32',
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
name: 'newAuthority',
|
|
1583
|
+
type: 'address',
|
|
1584
|
+
internalType: 'address',
|
|
1409
1585
|
},
|
|
1410
1586
|
],
|
|
1587
|
+
outputs: [],
|
|
1411
1588
|
},
|
|
1412
1589
|
{
|
|
1413
|
-
type:
|
|
1414
|
-
name:
|
|
1415
|
-
stateMutability:
|
|
1590
|
+
type: 'function',
|
|
1591
|
+
name: 'withdrawTokens',
|
|
1592
|
+
stateMutability: 'nonpayable',
|
|
1416
1593
|
inputs: [
|
|
1417
1594
|
{
|
|
1418
|
-
name:
|
|
1419
|
-
type:
|
|
1420
|
-
internalType:
|
|
1595
|
+
name: 'token',
|
|
1596
|
+
type: 'address',
|
|
1597
|
+
internalType: 'contract IERC20',
|
|
1421
1598
|
},
|
|
1422
1599
|
{
|
|
1423
|
-
name:
|
|
1424
|
-
type:
|
|
1425
|
-
internalType:
|
|
1600
|
+
name: 'amount',
|
|
1601
|
+
type: 'uint256',
|
|
1602
|
+
internalType: 'uint256',
|
|
1426
1603
|
},
|
|
1427
1604
|
],
|
|
1428
1605
|
outputs: [],
|