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