@mapprotocol/common-contracts 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +107 -0
- package/artifacts/contracts/AuthorityManager.sol/AuthorityManager.json +1237 -0
- package/artifacts/contracts/base/BaseImplemention.sol/BaseImplementation.json +298 -0
- package/contracts/AuthorityManager.sol +60 -0
- package/contracts/base/BaseImplemention.sol +38 -0
- package/package.json +73 -0
- package/typechain-types/@openzeppelin/contracts/access/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/access/manager/AccessManager.ts +1109 -0
- package/typechain-types/@openzeppelin/contracts/access/manager/IAccessManaged.ts +148 -0
- package/typechain-types/@openzeppelin/contracts/access/manager/IAccessManager.ts +1073 -0
- package/typechain-types/@openzeppelin/contracts/access/manager/IAuthority.ts +96 -0
- package/typechain-types/@openzeppelin/contracts/access/manager/index.ts +7 -0
- package/typechain-types/@openzeppelin/contracts/index.ts +11 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.ts +168 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +90 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/interfaces/index.ts +6 -0
- package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +90 -0
- package/typechain-types/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/proxy/index.ts +7 -0
- package/typechain-types/@openzeppelin/contracts/utils/Address.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/Errors.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/Multicall.ts +87 -0
- package/typechain-types/@openzeppelin/contracts/utils/index.ts +8 -0
- package/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts +69 -0
- package/typechain-types/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.ts +185 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/access/manager/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/index.ts +9 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +105 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +196 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +105 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.ts +183 -0
- package/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
- package/typechain-types/@openzeppelin/index.ts +7 -0
- package/typechain-types/common.ts +131 -0
- package/typechain-types/contracts/AuthorityManager.ts +1163 -0
- package/typechain-types/contracts/base/BaseImplemention.sol/BaseImplementation.ts +363 -0
- package/typechain-types/contracts/base/BaseImplemention.sol/index.ts +4 -0
- package/typechain-types/contracts/base/index.ts +5 -0
- package/typechain-types/contracts/index.ts +6 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/manager/AccessManager__factory.ts +1240 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/manager/IAccessManaged__factory.ts +115 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/manager/IAccessManager__factory.ts +1085 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/manager/IAuthority__factory.ts +51 -0
- package/typechain-types/factories/@openzeppelin/contracts/access/manager/index.ts +7 -0
- package/typechain-types/factories/@openzeppelin/contracts/index.ts +7 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +67 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +38 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +105 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +35 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts +75 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.ts +101 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/Multicall__factory.ts +57 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +7 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +118 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable__factory.ts +142 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/manager/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.ts +6 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +48 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +153 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +48 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable__factory.ts +101 -0
- package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/index.ts +5 -0
- package/typechain-types/factories/contracts/AuthorityManager__factory.ts +1302 -0
- package/typechain-types/factories/contracts/base/BaseImplemention.sol/BaseImplementation__factory.ts +312 -0
- package/typechain-types/factories/contracts/base/BaseImplemention.sol/index.ts +4 -0
- package/typechain-types/factories/contracts/base/index.ts +4 -0
- package/typechain-types/factories/contracts/index.ts +5 -0
- package/typechain-types/factories/index.ts +5 -0
- package/typechain-types/hardhat.d.ts +387 -0
- package/typechain-types/index.ts +46 -0
|
@@ -0,0 +1,1302 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Contract,
|
|
6
|
+
ContractFactory,
|
|
7
|
+
ContractTransactionResponse,
|
|
8
|
+
Interface,
|
|
9
|
+
} from "ethers";
|
|
10
|
+
import type {
|
|
11
|
+
Signer,
|
|
12
|
+
AddressLike,
|
|
13
|
+
ContractDeployTransaction,
|
|
14
|
+
ContractRunner,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import type { NonPayableOverrides } from "../../common";
|
|
17
|
+
import type {
|
|
18
|
+
AuthorityManager,
|
|
19
|
+
AuthorityManagerInterface,
|
|
20
|
+
} from "../../contracts/AuthorityManager";
|
|
21
|
+
|
|
22
|
+
const _abi = [
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "default_admin",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
stateMutability: "nonpayable",
|
|
32
|
+
type: "constructor",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
inputs: [
|
|
36
|
+
{
|
|
37
|
+
internalType: "bytes32",
|
|
38
|
+
name: "operationId",
|
|
39
|
+
type: "bytes32",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "AccessManagerAlreadyScheduled",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [],
|
|
47
|
+
name: "AccessManagerBadConfirmation",
|
|
48
|
+
type: "error",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "bytes32",
|
|
54
|
+
name: "operationId",
|
|
55
|
+
type: "bytes32",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "AccessManagerExpired",
|
|
59
|
+
type: "error",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [
|
|
63
|
+
{
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "initialAdmin",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "AccessManagerInvalidInitialAdmin",
|
|
70
|
+
type: "error",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
inputs: [
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint64",
|
|
76
|
+
name: "roleId",
|
|
77
|
+
type: "uint64",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "AccessManagerLockedRole",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "bytes32",
|
|
87
|
+
name: "operationId",
|
|
88
|
+
type: "bytes32",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "AccessManagerNotReady",
|
|
92
|
+
type: "error",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
inputs: [
|
|
96
|
+
{
|
|
97
|
+
internalType: "bytes32",
|
|
98
|
+
name: "operationId",
|
|
99
|
+
type: "bytes32",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
name: "AccessManagerNotScheduled",
|
|
103
|
+
type: "error",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
internalType: "address",
|
|
109
|
+
name: "msgsender",
|
|
110
|
+
type: "address",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
internalType: "uint64",
|
|
114
|
+
name: "roleId",
|
|
115
|
+
type: "uint64",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
name: "AccessManagerUnauthorizedAccount",
|
|
119
|
+
type: "error",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
internalType: "address",
|
|
125
|
+
name: "caller",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
internalType: "address",
|
|
130
|
+
name: "target",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
internalType: "bytes4",
|
|
135
|
+
name: "selector",
|
|
136
|
+
type: "bytes4",
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
name: "AccessManagerUnauthorizedCall",
|
|
140
|
+
type: "error",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
inputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "msgsender",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
internalType: "address",
|
|
151
|
+
name: "caller",
|
|
152
|
+
type: "address",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
internalType: "address",
|
|
156
|
+
name: "target",
|
|
157
|
+
type: "address",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
internalType: "bytes4",
|
|
161
|
+
name: "selector",
|
|
162
|
+
type: "bytes4",
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
name: "AccessManagerUnauthorizedCancel",
|
|
166
|
+
type: "error",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
inputs: [
|
|
170
|
+
{
|
|
171
|
+
internalType: "address",
|
|
172
|
+
name: "target",
|
|
173
|
+
type: "address",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
name: "AccessManagerUnauthorizedConsume",
|
|
177
|
+
type: "error",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
inputs: [
|
|
181
|
+
{
|
|
182
|
+
internalType: "address",
|
|
183
|
+
name: "target",
|
|
184
|
+
type: "address",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
name: "AddressEmptyCode",
|
|
188
|
+
type: "error",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
inputs: [],
|
|
192
|
+
name: "FailedCall",
|
|
193
|
+
type: "error",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
inputs: [
|
|
197
|
+
{
|
|
198
|
+
internalType: "uint256",
|
|
199
|
+
name: "balance",
|
|
200
|
+
type: "uint256",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
internalType: "uint256",
|
|
204
|
+
name: "needed",
|
|
205
|
+
type: "uint256",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
name: "InsufficientBalance",
|
|
209
|
+
type: "error",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
inputs: [
|
|
213
|
+
{
|
|
214
|
+
internalType: "uint8",
|
|
215
|
+
name: "bits",
|
|
216
|
+
type: "uint8",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
internalType: "uint256",
|
|
220
|
+
name: "value",
|
|
221
|
+
type: "uint256",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
name: "SafeCastOverflowedUintDowncast",
|
|
225
|
+
type: "error",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
anonymous: false,
|
|
229
|
+
inputs: [
|
|
230
|
+
{
|
|
231
|
+
indexed: true,
|
|
232
|
+
internalType: "bytes32",
|
|
233
|
+
name: "operationId",
|
|
234
|
+
type: "bytes32",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
indexed: true,
|
|
238
|
+
internalType: "uint32",
|
|
239
|
+
name: "nonce",
|
|
240
|
+
type: "uint32",
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
name: "OperationCanceled",
|
|
244
|
+
type: "event",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
anonymous: false,
|
|
248
|
+
inputs: [
|
|
249
|
+
{
|
|
250
|
+
indexed: true,
|
|
251
|
+
internalType: "bytes32",
|
|
252
|
+
name: "operationId",
|
|
253
|
+
type: "bytes32",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
indexed: true,
|
|
257
|
+
internalType: "uint32",
|
|
258
|
+
name: "nonce",
|
|
259
|
+
type: "uint32",
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
name: "OperationExecuted",
|
|
263
|
+
type: "event",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
anonymous: false,
|
|
267
|
+
inputs: [
|
|
268
|
+
{
|
|
269
|
+
indexed: true,
|
|
270
|
+
internalType: "bytes32",
|
|
271
|
+
name: "operationId",
|
|
272
|
+
type: "bytes32",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
indexed: true,
|
|
276
|
+
internalType: "uint32",
|
|
277
|
+
name: "nonce",
|
|
278
|
+
type: "uint32",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
indexed: false,
|
|
282
|
+
internalType: "uint48",
|
|
283
|
+
name: "schedule",
|
|
284
|
+
type: "uint48",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
indexed: false,
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "caller",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
indexed: false,
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "target",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
indexed: false,
|
|
300
|
+
internalType: "bytes",
|
|
301
|
+
name: "data",
|
|
302
|
+
type: "bytes",
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
name: "OperationScheduled",
|
|
306
|
+
type: "event",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
anonymous: false,
|
|
310
|
+
inputs: [
|
|
311
|
+
{
|
|
312
|
+
indexed: true,
|
|
313
|
+
internalType: "uint64",
|
|
314
|
+
name: "roleId",
|
|
315
|
+
type: "uint64",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
indexed: true,
|
|
319
|
+
internalType: "uint64",
|
|
320
|
+
name: "admin",
|
|
321
|
+
type: "uint64",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
name: "RoleAdminChanged",
|
|
325
|
+
type: "event",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
anonymous: false,
|
|
329
|
+
inputs: [
|
|
330
|
+
{
|
|
331
|
+
indexed: true,
|
|
332
|
+
internalType: "uint64",
|
|
333
|
+
name: "roleId",
|
|
334
|
+
type: "uint64",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
indexed: false,
|
|
338
|
+
internalType: "uint32",
|
|
339
|
+
name: "delay",
|
|
340
|
+
type: "uint32",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
indexed: false,
|
|
344
|
+
internalType: "uint48",
|
|
345
|
+
name: "since",
|
|
346
|
+
type: "uint48",
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
name: "RoleGrantDelayChanged",
|
|
350
|
+
type: "event",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
anonymous: false,
|
|
354
|
+
inputs: [
|
|
355
|
+
{
|
|
356
|
+
indexed: true,
|
|
357
|
+
internalType: "uint64",
|
|
358
|
+
name: "roleId",
|
|
359
|
+
type: "uint64",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
indexed: true,
|
|
363
|
+
internalType: "address",
|
|
364
|
+
name: "account",
|
|
365
|
+
type: "address",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
indexed: false,
|
|
369
|
+
internalType: "uint32",
|
|
370
|
+
name: "delay",
|
|
371
|
+
type: "uint32",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
indexed: false,
|
|
375
|
+
internalType: "uint48",
|
|
376
|
+
name: "since",
|
|
377
|
+
type: "uint48",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
indexed: false,
|
|
381
|
+
internalType: "bool",
|
|
382
|
+
name: "newMember",
|
|
383
|
+
type: "bool",
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
name: "RoleGranted",
|
|
387
|
+
type: "event",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
anonymous: false,
|
|
391
|
+
inputs: [
|
|
392
|
+
{
|
|
393
|
+
indexed: true,
|
|
394
|
+
internalType: "uint64",
|
|
395
|
+
name: "roleId",
|
|
396
|
+
type: "uint64",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
indexed: true,
|
|
400
|
+
internalType: "uint64",
|
|
401
|
+
name: "guardian",
|
|
402
|
+
type: "uint64",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
name: "RoleGuardianChanged",
|
|
406
|
+
type: "event",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
anonymous: false,
|
|
410
|
+
inputs: [
|
|
411
|
+
{
|
|
412
|
+
indexed: true,
|
|
413
|
+
internalType: "uint64",
|
|
414
|
+
name: "roleId",
|
|
415
|
+
type: "uint64",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
indexed: false,
|
|
419
|
+
internalType: "string",
|
|
420
|
+
name: "label",
|
|
421
|
+
type: "string",
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
name: "RoleLabel",
|
|
425
|
+
type: "event",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
anonymous: false,
|
|
429
|
+
inputs: [
|
|
430
|
+
{
|
|
431
|
+
indexed: true,
|
|
432
|
+
internalType: "uint64",
|
|
433
|
+
name: "roleId",
|
|
434
|
+
type: "uint64",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
indexed: true,
|
|
438
|
+
internalType: "address",
|
|
439
|
+
name: "account",
|
|
440
|
+
type: "address",
|
|
441
|
+
},
|
|
442
|
+
],
|
|
443
|
+
name: "RoleRevoked",
|
|
444
|
+
type: "event",
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
anonymous: false,
|
|
448
|
+
inputs: [
|
|
449
|
+
{
|
|
450
|
+
indexed: true,
|
|
451
|
+
internalType: "address",
|
|
452
|
+
name: "target",
|
|
453
|
+
type: "address",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
indexed: false,
|
|
457
|
+
internalType: "uint32",
|
|
458
|
+
name: "delay",
|
|
459
|
+
type: "uint32",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
indexed: false,
|
|
463
|
+
internalType: "uint48",
|
|
464
|
+
name: "since",
|
|
465
|
+
type: "uint48",
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
name: "TargetAdminDelayUpdated",
|
|
469
|
+
type: "event",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
anonymous: false,
|
|
473
|
+
inputs: [
|
|
474
|
+
{
|
|
475
|
+
indexed: true,
|
|
476
|
+
internalType: "address",
|
|
477
|
+
name: "target",
|
|
478
|
+
type: "address",
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
indexed: false,
|
|
482
|
+
internalType: "bool",
|
|
483
|
+
name: "closed",
|
|
484
|
+
type: "bool",
|
|
485
|
+
},
|
|
486
|
+
],
|
|
487
|
+
name: "TargetClosed",
|
|
488
|
+
type: "event",
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
anonymous: false,
|
|
492
|
+
inputs: [
|
|
493
|
+
{
|
|
494
|
+
indexed: true,
|
|
495
|
+
internalType: "address",
|
|
496
|
+
name: "target",
|
|
497
|
+
type: "address",
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
indexed: false,
|
|
501
|
+
internalType: "bytes4",
|
|
502
|
+
name: "selector",
|
|
503
|
+
type: "bytes4",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
indexed: true,
|
|
507
|
+
internalType: "uint64",
|
|
508
|
+
name: "roleId",
|
|
509
|
+
type: "uint64",
|
|
510
|
+
},
|
|
511
|
+
],
|
|
512
|
+
name: "TargetFunctionRoleUpdated",
|
|
513
|
+
type: "event",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
inputs: [],
|
|
517
|
+
name: "ADMIN_ROLE",
|
|
518
|
+
outputs: [
|
|
519
|
+
{
|
|
520
|
+
internalType: "uint64",
|
|
521
|
+
name: "",
|
|
522
|
+
type: "uint64",
|
|
523
|
+
},
|
|
524
|
+
],
|
|
525
|
+
stateMutability: "view",
|
|
526
|
+
type: "function",
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
inputs: [],
|
|
530
|
+
name: "PUBLIC_ROLE",
|
|
531
|
+
outputs: [
|
|
532
|
+
{
|
|
533
|
+
internalType: "uint64",
|
|
534
|
+
name: "",
|
|
535
|
+
type: "uint64",
|
|
536
|
+
},
|
|
537
|
+
],
|
|
538
|
+
stateMutability: "view",
|
|
539
|
+
type: "function",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
inputs: [
|
|
543
|
+
{
|
|
544
|
+
internalType: "address",
|
|
545
|
+
name: "caller",
|
|
546
|
+
type: "address",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
internalType: "address",
|
|
550
|
+
name: "target",
|
|
551
|
+
type: "address",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
internalType: "bytes4",
|
|
555
|
+
name: "selector",
|
|
556
|
+
type: "bytes4",
|
|
557
|
+
},
|
|
558
|
+
],
|
|
559
|
+
name: "canCall",
|
|
560
|
+
outputs: [
|
|
561
|
+
{
|
|
562
|
+
internalType: "bool",
|
|
563
|
+
name: "immediate",
|
|
564
|
+
type: "bool",
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
internalType: "uint32",
|
|
568
|
+
name: "delay",
|
|
569
|
+
type: "uint32",
|
|
570
|
+
},
|
|
571
|
+
],
|
|
572
|
+
stateMutability: "view",
|
|
573
|
+
type: "function",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
inputs: [
|
|
577
|
+
{
|
|
578
|
+
internalType: "address",
|
|
579
|
+
name: "caller",
|
|
580
|
+
type: "address",
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
internalType: "address",
|
|
584
|
+
name: "target",
|
|
585
|
+
type: "address",
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
internalType: "bytes",
|
|
589
|
+
name: "data",
|
|
590
|
+
type: "bytes",
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
name: "cancel",
|
|
594
|
+
outputs: [
|
|
595
|
+
{
|
|
596
|
+
internalType: "uint32",
|
|
597
|
+
name: "",
|
|
598
|
+
type: "uint32",
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
stateMutability: "nonpayable",
|
|
602
|
+
type: "function",
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
inputs: [
|
|
606
|
+
{
|
|
607
|
+
internalType: "address",
|
|
608
|
+
name: "caller",
|
|
609
|
+
type: "address",
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
internalType: "bytes",
|
|
613
|
+
name: "data",
|
|
614
|
+
type: "bytes",
|
|
615
|
+
},
|
|
616
|
+
],
|
|
617
|
+
name: "consumeScheduledOp",
|
|
618
|
+
outputs: [],
|
|
619
|
+
stateMutability: "nonpayable",
|
|
620
|
+
type: "function",
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
inputs: [
|
|
624
|
+
{
|
|
625
|
+
internalType: "address",
|
|
626
|
+
name: "target",
|
|
627
|
+
type: "address",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
internalType: "bytes",
|
|
631
|
+
name: "data",
|
|
632
|
+
type: "bytes",
|
|
633
|
+
},
|
|
634
|
+
],
|
|
635
|
+
name: "execute",
|
|
636
|
+
outputs: [
|
|
637
|
+
{
|
|
638
|
+
internalType: "uint32",
|
|
639
|
+
name: "",
|
|
640
|
+
type: "uint32",
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
stateMutability: "payable",
|
|
644
|
+
type: "function",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
inputs: [],
|
|
648
|
+
name: "expiration",
|
|
649
|
+
outputs: [
|
|
650
|
+
{
|
|
651
|
+
internalType: "uint32",
|
|
652
|
+
name: "",
|
|
653
|
+
type: "uint32",
|
|
654
|
+
},
|
|
655
|
+
],
|
|
656
|
+
stateMutability: "view",
|
|
657
|
+
type: "function",
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
inputs: [
|
|
661
|
+
{
|
|
662
|
+
internalType: "uint64",
|
|
663
|
+
name: "roleId",
|
|
664
|
+
type: "uint64",
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
internalType: "address",
|
|
668
|
+
name: "account",
|
|
669
|
+
type: "address",
|
|
670
|
+
},
|
|
671
|
+
],
|
|
672
|
+
name: "getAccess",
|
|
673
|
+
outputs: [
|
|
674
|
+
{
|
|
675
|
+
internalType: "uint48",
|
|
676
|
+
name: "since",
|
|
677
|
+
type: "uint48",
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
internalType: "uint32",
|
|
681
|
+
name: "currentDelay",
|
|
682
|
+
type: "uint32",
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
internalType: "uint32",
|
|
686
|
+
name: "pendingDelay",
|
|
687
|
+
type: "uint32",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
internalType: "uint48",
|
|
691
|
+
name: "effect",
|
|
692
|
+
type: "uint48",
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
stateMutability: "view",
|
|
696
|
+
type: "function",
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
inputs: [
|
|
700
|
+
{
|
|
701
|
+
internalType: "bytes32",
|
|
702
|
+
name: "id",
|
|
703
|
+
type: "bytes32",
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
name: "getNonce",
|
|
707
|
+
outputs: [
|
|
708
|
+
{
|
|
709
|
+
internalType: "uint32",
|
|
710
|
+
name: "",
|
|
711
|
+
type: "uint32",
|
|
712
|
+
},
|
|
713
|
+
],
|
|
714
|
+
stateMutability: "view",
|
|
715
|
+
type: "function",
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
inputs: [
|
|
719
|
+
{
|
|
720
|
+
internalType: "uint64",
|
|
721
|
+
name: "roleId",
|
|
722
|
+
type: "uint64",
|
|
723
|
+
},
|
|
724
|
+
],
|
|
725
|
+
name: "getRoleAdmin",
|
|
726
|
+
outputs: [
|
|
727
|
+
{
|
|
728
|
+
internalType: "uint64",
|
|
729
|
+
name: "",
|
|
730
|
+
type: "uint64",
|
|
731
|
+
},
|
|
732
|
+
],
|
|
733
|
+
stateMutability: "view",
|
|
734
|
+
type: "function",
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
inputs: [
|
|
738
|
+
{
|
|
739
|
+
internalType: "uint64",
|
|
740
|
+
name: "roleId",
|
|
741
|
+
type: "uint64",
|
|
742
|
+
},
|
|
743
|
+
],
|
|
744
|
+
name: "getRoleGrantDelay",
|
|
745
|
+
outputs: [
|
|
746
|
+
{
|
|
747
|
+
internalType: "uint32",
|
|
748
|
+
name: "",
|
|
749
|
+
type: "uint32",
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
stateMutability: "view",
|
|
753
|
+
type: "function",
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
inputs: [
|
|
757
|
+
{
|
|
758
|
+
internalType: "uint64",
|
|
759
|
+
name: "roleId",
|
|
760
|
+
type: "uint64",
|
|
761
|
+
},
|
|
762
|
+
],
|
|
763
|
+
name: "getRoleGuardian",
|
|
764
|
+
outputs: [
|
|
765
|
+
{
|
|
766
|
+
internalType: "uint64",
|
|
767
|
+
name: "",
|
|
768
|
+
type: "uint64",
|
|
769
|
+
},
|
|
770
|
+
],
|
|
771
|
+
stateMutability: "view",
|
|
772
|
+
type: "function",
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
inputs: [
|
|
776
|
+
{
|
|
777
|
+
internalType: "uint64",
|
|
778
|
+
name: "role",
|
|
779
|
+
type: "uint64",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
internalType: "uint256",
|
|
783
|
+
name: "index",
|
|
784
|
+
type: "uint256",
|
|
785
|
+
},
|
|
786
|
+
],
|
|
787
|
+
name: "getRoleMember",
|
|
788
|
+
outputs: [
|
|
789
|
+
{
|
|
790
|
+
internalType: "address",
|
|
791
|
+
name: "",
|
|
792
|
+
type: "address",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
stateMutability: "view",
|
|
796
|
+
type: "function",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
inputs: [
|
|
800
|
+
{
|
|
801
|
+
internalType: "uint64",
|
|
802
|
+
name: "role",
|
|
803
|
+
type: "uint64",
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
name: "getRoleMemberCount",
|
|
807
|
+
outputs: [
|
|
808
|
+
{
|
|
809
|
+
internalType: "uint256",
|
|
810
|
+
name: "",
|
|
811
|
+
type: "uint256",
|
|
812
|
+
},
|
|
813
|
+
],
|
|
814
|
+
stateMutability: "view",
|
|
815
|
+
type: "function",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
inputs: [
|
|
819
|
+
{
|
|
820
|
+
internalType: "uint64",
|
|
821
|
+
name: "role",
|
|
822
|
+
type: "uint64",
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
name: "getRoleMembers",
|
|
826
|
+
outputs: [
|
|
827
|
+
{
|
|
828
|
+
internalType: "address[]",
|
|
829
|
+
name: "",
|
|
830
|
+
type: "address[]",
|
|
831
|
+
},
|
|
832
|
+
],
|
|
833
|
+
stateMutability: "view",
|
|
834
|
+
type: "function",
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
inputs: [
|
|
838
|
+
{
|
|
839
|
+
internalType: "bytes32",
|
|
840
|
+
name: "id",
|
|
841
|
+
type: "bytes32",
|
|
842
|
+
},
|
|
843
|
+
],
|
|
844
|
+
name: "getSchedule",
|
|
845
|
+
outputs: [
|
|
846
|
+
{
|
|
847
|
+
internalType: "uint48",
|
|
848
|
+
name: "",
|
|
849
|
+
type: "uint48",
|
|
850
|
+
},
|
|
851
|
+
],
|
|
852
|
+
stateMutability: "view",
|
|
853
|
+
type: "function",
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
inputs: [
|
|
857
|
+
{
|
|
858
|
+
internalType: "address",
|
|
859
|
+
name: "target",
|
|
860
|
+
type: "address",
|
|
861
|
+
},
|
|
862
|
+
],
|
|
863
|
+
name: "getTargetAdminDelay",
|
|
864
|
+
outputs: [
|
|
865
|
+
{
|
|
866
|
+
internalType: "uint32",
|
|
867
|
+
name: "",
|
|
868
|
+
type: "uint32",
|
|
869
|
+
},
|
|
870
|
+
],
|
|
871
|
+
stateMutability: "view",
|
|
872
|
+
type: "function",
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
inputs: [
|
|
876
|
+
{
|
|
877
|
+
internalType: "address",
|
|
878
|
+
name: "target",
|
|
879
|
+
type: "address",
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
internalType: "bytes4",
|
|
883
|
+
name: "selector",
|
|
884
|
+
type: "bytes4",
|
|
885
|
+
},
|
|
886
|
+
],
|
|
887
|
+
name: "getTargetFunctionRole",
|
|
888
|
+
outputs: [
|
|
889
|
+
{
|
|
890
|
+
internalType: "uint64",
|
|
891
|
+
name: "",
|
|
892
|
+
type: "uint64",
|
|
893
|
+
},
|
|
894
|
+
],
|
|
895
|
+
stateMutability: "view",
|
|
896
|
+
type: "function",
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
inputs: [
|
|
900
|
+
{
|
|
901
|
+
internalType: "uint64",
|
|
902
|
+
name: "roleId",
|
|
903
|
+
type: "uint64",
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
internalType: "address",
|
|
907
|
+
name: "account",
|
|
908
|
+
type: "address",
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
internalType: "uint32",
|
|
912
|
+
name: "executionDelay",
|
|
913
|
+
type: "uint32",
|
|
914
|
+
},
|
|
915
|
+
],
|
|
916
|
+
name: "grantRole",
|
|
917
|
+
outputs: [],
|
|
918
|
+
stateMutability: "nonpayable",
|
|
919
|
+
type: "function",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
inputs: [
|
|
923
|
+
{
|
|
924
|
+
internalType: "uint64",
|
|
925
|
+
name: "roleId",
|
|
926
|
+
type: "uint64",
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
internalType: "address",
|
|
930
|
+
name: "account",
|
|
931
|
+
type: "address",
|
|
932
|
+
},
|
|
933
|
+
],
|
|
934
|
+
name: "hasRole",
|
|
935
|
+
outputs: [
|
|
936
|
+
{
|
|
937
|
+
internalType: "bool",
|
|
938
|
+
name: "isMember",
|
|
939
|
+
type: "bool",
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
internalType: "uint32",
|
|
943
|
+
name: "executionDelay",
|
|
944
|
+
type: "uint32",
|
|
945
|
+
},
|
|
946
|
+
],
|
|
947
|
+
stateMutability: "view",
|
|
948
|
+
type: "function",
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
inputs: [
|
|
952
|
+
{
|
|
953
|
+
internalType: "address",
|
|
954
|
+
name: "caller",
|
|
955
|
+
type: "address",
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
internalType: "address",
|
|
959
|
+
name: "target",
|
|
960
|
+
type: "address",
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
internalType: "bytes",
|
|
964
|
+
name: "data",
|
|
965
|
+
type: "bytes",
|
|
966
|
+
},
|
|
967
|
+
],
|
|
968
|
+
name: "hashOperation",
|
|
969
|
+
outputs: [
|
|
970
|
+
{
|
|
971
|
+
internalType: "bytes32",
|
|
972
|
+
name: "",
|
|
973
|
+
type: "bytes32",
|
|
974
|
+
},
|
|
975
|
+
],
|
|
976
|
+
stateMutability: "view",
|
|
977
|
+
type: "function",
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
inputs: [
|
|
981
|
+
{
|
|
982
|
+
internalType: "address",
|
|
983
|
+
name: "target",
|
|
984
|
+
type: "address",
|
|
985
|
+
},
|
|
986
|
+
],
|
|
987
|
+
name: "isTargetClosed",
|
|
988
|
+
outputs: [
|
|
989
|
+
{
|
|
990
|
+
internalType: "bool",
|
|
991
|
+
name: "",
|
|
992
|
+
type: "bool",
|
|
993
|
+
},
|
|
994
|
+
],
|
|
995
|
+
stateMutability: "view",
|
|
996
|
+
type: "function",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
inputs: [
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "uint64",
|
|
1002
|
+
name: "roleId",
|
|
1003
|
+
type: "uint64",
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
internalType: "string",
|
|
1007
|
+
name: "label",
|
|
1008
|
+
type: "string",
|
|
1009
|
+
},
|
|
1010
|
+
],
|
|
1011
|
+
name: "labelRole",
|
|
1012
|
+
outputs: [],
|
|
1013
|
+
stateMutability: "nonpayable",
|
|
1014
|
+
type: "function",
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
inputs: [],
|
|
1018
|
+
name: "minSetback",
|
|
1019
|
+
outputs: [
|
|
1020
|
+
{
|
|
1021
|
+
internalType: "uint32",
|
|
1022
|
+
name: "",
|
|
1023
|
+
type: "uint32",
|
|
1024
|
+
},
|
|
1025
|
+
],
|
|
1026
|
+
stateMutability: "view",
|
|
1027
|
+
type: "function",
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
inputs: [
|
|
1031
|
+
{
|
|
1032
|
+
internalType: "bytes[]",
|
|
1033
|
+
name: "data",
|
|
1034
|
+
type: "bytes[]",
|
|
1035
|
+
},
|
|
1036
|
+
],
|
|
1037
|
+
name: "multicall",
|
|
1038
|
+
outputs: [
|
|
1039
|
+
{
|
|
1040
|
+
internalType: "bytes[]",
|
|
1041
|
+
name: "results",
|
|
1042
|
+
type: "bytes[]",
|
|
1043
|
+
},
|
|
1044
|
+
],
|
|
1045
|
+
stateMutability: "nonpayable",
|
|
1046
|
+
type: "function",
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
inputs: [
|
|
1050
|
+
{
|
|
1051
|
+
internalType: "uint64",
|
|
1052
|
+
name: "roleId",
|
|
1053
|
+
type: "uint64",
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
internalType: "address",
|
|
1057
|
+
name: "callerConfirmation",
|
|
1058
|
+
type: "address",
|
|
1059
|
+
},
|
|
1060
|
+
],
|
|
1061
|
+
name: "renounceRole",
|
|
1062
|
+
outputs: [],
|
|
1063
|
+
stateMutability: "nonpayable",
|
|
1064
|
+
type: "function",
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
inputs: [
|
|
1068
|
+
{
|
|
1069
|
+
internalType: "uint64",
|
|
1070
|
+
name: "roleId",
|
|
1071
|
+
type: "uint64",
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
internalType: "address",
|
|
1075
|
+
name: "account",
|
|
1076
|
+
type: "address",
|
|
1077
|
+
},
|
|
1078
|
+
],
|
|
1079
|
+
name: "revokeRole",
|
|
1080
|
+
outputs: [],
|
|
1081
|
+
stateMutability: "nonpayable",
|
|
1082
|
+
type: "function",
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
inputs: [
|
|
1086
|
+
{
|
|
1087
|
+
internalType: "address",
|
|
1088
|
+
name: "target",
|
|
1089
|
+
type: "address",
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
internalType: "bytes",
|
|
1093
|
+
name: "data",
|
|
1094
|
+
type: "bytes",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
internalType: "uint48",
|
|
1098
|
+
name: "when",
|
|
1099
|
+
type: "uint48",
|
|
1100
|
+
},
|
|
1101
|
+
],
|
|
1102
|
+
name: "schedule",
|
|
1103
|
+
outputs: [
|
|
1104
|
+
{
|
|
1105
|
+
internalType: "bytes32",
|
|
1106
|
+
name: "operationId",
|
|
1107
|
+
type: "bytes32",
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
internalType: "uint32",
|
|
1111
|
+
name: "nonce",
|
|
1112
|
+
type: "uint32",
|
|
1113
|
+
},
|
|
1114
|
+
],
|
|
1115
|
+
stateMutability: "nonpayable",
|
|
1116
|
+
type: "function",
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
inputs: [
|
|
1120
|
+
{
|
|
1121
|
+
internalType: "uint64",
|
|
1122
|
+
name: "roleId",
|
|
1123
|
+
type: "uint64",
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
internalType: "uint32",
|
|
1127
|
+
name: "newDelay",
|
|
1128
|
+
type: "uint32",
|
|
1129
|
+
},
|
|
1130
|
+
],
|
|
1131
|
+
name: "setGrantDelay",
|
|
1132
|
+
outputs: [],
|
|
1133
|
+
stateMutability: "nonpayable",
|
|
1134
|
+
type: "function",
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
inputs: [
|
|
1138
|
+
{
|
|
1139
|
+
internalType: "uint64",
|
|
1140
|
+
name: "roleId",
|
|
1141
|
+
type: "uint64",
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
internalType: "uint64",
|
|
1145
|
+
name: "admin",
|
|
1146
|
+
type: "uint64",
|
|
1147
|
+
},
|
|
1148
|
+
],
|
|
1149
|
+
name: "setRoleAdmin",
|
|
1150
|
+
outputs: [],
|
|
1151
|
+
stateMutability: "nonpayable",
|
|
1152
|
+
type: "function",
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
inputs: [
|
|
1156
|
+
{
|
|
1157
|
+
internalType: "uint64",
|
|
1158
|
+
name: "roleId",
|
|
1159
|
+
type: "uint64",
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
internalType: "uint64",
|
|
1163
|
+
name: "guardian",
|
|
1164
|
+
type: "uint64",
|
|
1165
|
+
},
|
|
1166
|
+
],
|
|
1167
|
+
name: "setRoleGuardian",
|
|
1168
|
+
outputs: [],
|
|
1169
|
+
stateMutability: "nonpayable",
|
|
1170
|
+
type: "function",
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
inputs: [
|
|
1174
|
+
{
|
|
1175
|
+
internalType: "address",
|
|
1176
|
+
name: "target",
|
|
1177
|
+
type: "address",
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
internalType: "uint32",
|
|
1181
|
+
name: "newDelay",
|
|
1182
|
+
type: "uint32",
|
|
1183
|
+
},
|
|
1184
|
+
],
|
|
1185
|
+
name: "setTargetAdminDelay",
|
|
1186
|
+
outputs: [],
|
|
1187
|
+
stateMutability: "nonpayable",
|
|
1188
|
+
type: "function",
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
inputs: [
|
|
1192
|
+
{
|
|
1193
|
+
internalType: "address",
|
|
1194
|
+
name: "target",
|
|
1195
|
+
type: "address",
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
internalType: "bool",
|
|
1199
|
+
name: "closed",
|
|
1200
|
+
type: "bool",
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
name: "setTargetClosed",
|
|
1204
|
+
outputs: [],
|
|
1205
|
+
stateMutability: "nonpayable",
|
|
1206
|
+
type: "function",
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
inputs: [
|
|
1210
|
+
{
|
|
1211
|
+
internalType: "address",
|
|
1212
|
+
name: "target",
|
|
1213
|
+
type: "address",
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
internalType: "bytes4[]",
|
|
1217
|
+
name: "selectors",
|
|
1218
|
+
type: "bytes4[]",
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
internalType: "uint64",
|
|
1222
|
+
name: "roleId",
|
|
1223
|
+
type: "uint64",
|
|
1224
|
+
},
|
|
1225
|
+
],
|
|
1226
|
+
name: "setTargetFunctionRole",
|
|
1227
|
+
outputs: [],
|
|
1228
|
+
stateMutability: "nonpayable",
|
|
1229
|
+
type: "function",
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
inputs: [
|
|
1233
|
+
{
|
|
1234
|
+
internalType: "address",
|
|
1235
|
+
name: "target",
|
|
1236
|
+
type: "address",
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
internalType: "address",
|
|
1240
|
+
name: "newAuthority",
|
|
1241
|
+
type: "address",
|
|
1242
|
+
},
|
|
1243
|
+
],
|
|
1244
|
+
name: "updateAuthority",
|
|
1245
|
+
outputs: [],
|
|
1246
|
+
stateMutability: "nonpayable",
|
|
1247
|
+
type: "function",
|
|
1248
|
+
},
|
|
1249
|
+
] as const;
|
|
1250
|
+
|
|
1251
|
+
const _bytecode =
|
|
1252
|
+
"0x60806040523480156200001157600080fd5b50604051620032f5380380620032f5833981016040819052620000349162000529565b806001600160a01b0381166200006557604051630409d6d160e11b8152600060048201526024015b60405180910390fd5b620000746000828180620000b3565b5050600080526004602052620000ab7f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec826200030a565b5050620005ba565b60006002600160401b03196001600160401b03861601620000f35760405163061c6a4360e21b81526001600160401b03861660048201526024016200005c565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115620001f25763ffffffff8516620001426200032a565b6200014e919062000571565b905060405180604001604052808265ffffffffffff168152602001620001808663ffffffff166200033c60201b60201c565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c16845282529091208351815494909201519092166601000000000000026001600160a01b031990931665ffffffffffff909116179190911790556200029c565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a168452909152812054620002419166010000000000009091046001600160701b031690869062000345565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316660100000000000002600160301b600160a01b03199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b600062000321836001600160a01b038416620003fa565b90505b92915050565b600062000337426200044c565b905090565b63ffffffff1690565b600080806200035d6001600160701b03871662000485565b90506000620003a08563ffffffff168763ffffffff168463ffffffff16116200038857600062000394565b6200039488856200059a565b63ffffffff16620004a6565b905063ffffffff8116620003b36200032a565b620003bf919062000571565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000818152600183016020526040812054620004435750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000324565b50600062000324565b600065ffffffffffff82111562000481576040516306dfcc6560e41b815260306004820152602481018390526044016200005c565b5090565b6000806200049c6001600160701b038416620004b7565b5090949350505050565b600082821882841102821862000321565b60008080620004d084620004ca6200032a565b620004dd565b9250925092509193909250565b6001600160501b03602083901c166001600160701b03831665ffffffffffff604085901c811690841681111562000517578282826200051c565b816000805b9250925092509250925092565b6000602082840312156200053c57600080fd5b81516001600160a01b03811681146200055457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b65ffffffffffff8181168382160190808211156200059357620005936200055b565b5092915050565b63ffffffff8281168282160390808211156200059357620005936200055b565b612d2b80620005ca6000396000f3fe6080604052600436106102045760003560e01c806375b238fc11610118578063b7d2b162116100a0578063d6bb62c61161006f578063d6bb62c6146106cc578063d78a83b1146106ec578063f801a69814610724578063fc8610d11461075e578063fe0776f51461077e57600080fd5b8063b7d2b16214610656578063cc1b6c8114610676578063d1f856ee1461068c578063d22b5989146106ac57600080fd5b8063a5808e2f116100e7578063a5808e2f14610572578063a64d95ce1461059f578063abd9bd2a146105bf578063ac9650d8146105ed578063b70096131461061a57600080fd5b806375b238fc146104ed578063853551b81461050257806394c7d7ee14610522578063a166aa891461054257600080fd5b806330cae1871161019b5780634665096d1161016a5780634665096d1461043a5780634c1da1e2146104505780635296295214610470578063530dd456146104905780636d5115bd146104cd57600080fd5b806330cae1871461038e5780633adc277a146103ae5780633ca7c02a146103e55780634136a33c1461040057600080fd5b806318ff183c116101d757806318ff183c146102e15780631cff79cd1461030157806325c471a0146103145780633078f1141461033457600080fd5b806308d6122d146102095780630b0a93ba1461022b57806312be87271461028c578063167bd395146102c1575b600080fd5b34801561021557600080fd5b506102296102243660046124fa565b61079e565b005b34801561023757600080fd5b5061026f610246366004612560565b6001600160401b0390811660009081526001602081905260409091200154600160401b90041690565b6040516001600160401b0390911681526020015b60405180910390f35b34801561029857600080fd5b506102ac6102a7366004612560565b6107f1565b60405163ffffffff9091168152602001610283565b3480156102cd57600080fd5b506102296102dc36600461257b565b61082c565b3480156102ed57600080fd5b506102296102fc3660046125b9565b610842565b6102ac61030f366004612628565b6108a9565b34801561032057600080fd5b5061022961032f366004612690565b6109d9565b34801561034057600080fd5b5061035461034f3660046126d5565b610a27565b604051610283949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561039a57600080fd5b506102296103a93660046126f1565b610a8c565b3480156103ba57600080fd5b506103ce6103c9366004612724565b610a9e565b60405165ffffffffffff9091168152602001610283565b3480156103f157600080fd5b5061026f6001600160401b0381565b34801561040c57600080fd5b506102ac61041b366004612724565b600090815260026020526040902054600160301b900463ffffffff1690565b34801561044657600080fd5b5062093a806102ac565b34801561045c57600080fd5b506102ac61046b36600461273d565b610ad1565b34801561047c57600080fd5b5061022961048b3660046126f1565b610aff565b34801561049c57600080fd5b5061026f6104ab366004612560565b6001600160401b03908116600090815260016020819052604090912001541690565b3480156104d957600080fd5b5061026f6104e8366004612770565b610b11565b3480156104f957600080fd5b5061026f600081565b34801561050e57600080fd5b5061022961051d36600461279e565b610b4c565b34801561052e57600080fd5b5061022961053d366004612628565b610be3565b34801561054e57600080fd5b5061056261055d36600461273d565b610c8f565b6040519015158152602001610283565b34801561057e57600080fd5b5061059261058d366004612560565b610cb7565b60405161028391906127bc565b3480156105ab57600080fd5b506102296105ba366004612809565b610cdb565b3480156105cb57600080fd5b506105df6105da366004612833565b610ced565b604051908152602001610283565b3480156105f957600080fd5b5061060d610608366004612897565b610d26565b60405161028391906128fc565b34801561062657600080fd5b5061063a610635366004612976565b610e0d565b60408051921515835263ffffffff909116602083015201610283565b34801561066257600080fd5b506102296106713660046126d5565b610e94565b34801561068257600080fd5b50620697806102ac565b34801561069857600080fd5b5061063a6106a73660046126d5565b610ed7565b3480156106b857600080fd5b506102296106c73660046129c1565b610f54565b3480156106d857600080fd5b506102ac6106e7366004612833565b610f66565b3480156106f857600080fd5b5061070c6107073660046129df565b6110c0565b6040516001600160a01b039091168152602001610283565b34801561073057600080fd5b5061074461073f366004612a09565b6110e2565b6040805192835263ffffffff909116602083015201610283565b34801561076a57600080fd5b506105df610779366004612560565b611227565b34801561078a57600080fd5b506102296107993660046126d5565b611248565b6107a6611271565b60005b828110156107ea576107e2858585848181106107c7576107c7612a7b565b90506020020160208101906107dc9190612a91565b846112ec565b6001016107a9565b5050505050565b6001600160401b03811660009081526001602081905260408220015461082690600160801b90046001600160701b031661136e565b92915050565b610834611271565b61083e828261138d565b5050565b61084a611271565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561088d57600080fd5b505af11580156108a1573d6000803e3d6000fd5b505050505050565b60003381806108ba838888886113ff565b91509150811580156108d0575063ffffffff8116155b156109235782876108e18888611452565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b600061093184898989610ced565b9050600063ffffffff8316151580610958575061094d82610a9e565b65ffffffffffff1615155b15610969576109668261146a565b90505b60035461097f8a61097a8b8b611452565b61156a565b6003819055506109c78a8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152503492506115ac915050565b506003559450505050505b9392505050565b6109e1611271565b60006109f784846109f1876107f1565b85611650565b90508015610a21576001600160401b03841660009081526004602052604090206107ea908461189b565b50505050565b6001600160401b03821660009081526001602090815260408083206001600160a01b03851684529091528120805465ffffffffffff811692918291829190610a7e90600160301b90046001600160701b03166118b0565b969991985096509350505050565b610a94611271565b61083e82826118d3565b60008181526002602052604081205465ffffffffffff16610abe81611977565b610ac857806109d2565b60009392505050565b6001600160a01b038116600090815260208190526040812060010154610826906001600160701b031661136e565b610b07611271565b61083e82826119a6565b6001600160a01b0382166000908152602081815260408083206001600160e01b0319851684529091529020546001600160401b031692915050565b610b54611271565b6001600160401b0383161580610b7257506001600160401b03838116145b15610b9b5760405163061c6a4360e21b81526001600160401b038416600482015260240161091a565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610bd6929190612ad7565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610c24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c489190612af3565b6001600160e01b03191614610c7b57604051630641fee960e31b81526001600160a01b038216600482015260240161091a565b6107ea610c8a85838686610ced565b61146a565b6001600160a01b0316600090815260208190526040902060010154600160701b900460ff1690565b6001600160401b038116600090815260046020526040902060609061082690611a58565b610ce3611271565b61083e8282611a65565b600084848484604051602001610d069493929190612b10565b604051602081830303815290604052805190602001209050949350505050565b604080516000815260208101909152606090826001600160401b03811115610d5057610d50612b90565b604051908082528060200260200182016040528015610d8357816020015b6060815260200190600190039081610d6e5790505b50915060005b83811015610e0557610de030868684818110610da757610da7612a7b565b9050602002810190610db99190612ba6565b85604051602001610dcc93929190612bec565b604051602081830303815290604052611b76565b838281518110610df257610df2612a7b565b6020908102919091010152600101610d89565b505092915050565b600080610e1984610c8f565b15610e2957506000905080610e8c565b306001600160a01b03861603610e4e57610e438484611bec565b600091509150610e8c565b6000610e5a8585610b11565b9050600080610e698389610ed7565b9150915081610e7a57600080610e84565b63ffffffff811615815b945094505050505b935093915050565b610e9c611271565b6000610ea88383611c03565b90508015610ed2576001600160401b0383166000908152600460205260409020610a219083611cf0565b505050565b60008067fffffffffffffffe196001600160401b03851601610eff5750600190506000610f4d565b600080610f0c8686610a27565b5050915091508165ffffffffffff16600014158015610f425750610f2e611d05565b65ffffffffffff168265ffffffffffff1611155b93509150610f4d9050565b9250929050565b610f5c611271565b61083e8282611d15565b60003381610f748585611452565b90506000610f8488888888610ced565b60008181526002602052604081205491925065ffffffffffff9091169003610fc25760405163060a299b60e41b81526004810182905260240161091a565b826001600160a01b0316886001600160a01b03161461105e576000610fe8600085610ed7565b5090506000611003610ffd6102468b87610b11565b86610ed7565b50905081158015611012575080155b1561105b57604051630ff89d4760e21b81526001600160a01b038087166004830152808c1660248301528a1660448201526001600160e01b03198516606482015260840161091a565b50505b600081815260026020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a398975050505050505050565b6001600160401b03821660009081526004602052604081206109d29083611dd2565b60008033816110f3828989896113ff565b91505060008163ffffffff16611107611d05565b6111119190612c13565b905063ffffffff82161580611148575060008665ffffffffffff1611801561114857508065ffffffffffff168665ffffffffffff16105b156111595782896108e18a8a611452565b6111738665ffffffffffff168265ffffffffffff16611dde565b9550611181838a8a8a610ced565b945061118c85611dee565b60008581526002602052604090819020805465ffffffffffff891669ffffffffffffffffffff19821617600160301b9182900463ffffffff90811660010190811692830291909117909255915190955086907f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b490611213908a9088908f908f908f90612c32565b60405180910390a350505094509492505050565b6001600160401b038116600090815260046020526040812061082690611e3b565b6001600160a01b0381163314610e9c57604051635f159e6360e01b815260040160405180910390fd5b33600080611280838236611e45565b9150915081610ed2578063ffffffff166000036112dc5760006112a38136611f0f565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b0382166024820152909250604401905061091a565b610a21610c8a8430600036610ced565b6001600160a01b0383166000818152602081815260408083206001600160e01b0319871680855290835292819020805467ffffffffffffffff19166001600160401b038716908117909155905192835292917f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a3505050565b600080611383836001600160701b03166118b0565b5090949350505050565b6001600160a01b038216600081815260208190526040908190206001018054841515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb138906113f390841515815260200190565b60405180910390a25050565b600080306001600160a01b038616036114265761141d868585611e45565b91509150611449565b600483106114425761143d86866106358787611452565b61141d565b5060009050805b94509492505050565b60006114616004828486612b66565b6109d291612c78565b60008181526002602052604081205465ffffffffffff811690600160301b900463ffffffff168183036114b35760405163060a299b60e41b81526004810185905260240161091a565b6114bb611d05565b65ffffffffffff168265ffffffffffff1611156114ee57604051630c65b5bd60e11b81526004810185905260240161091a565b6114f782611977565b1561151857604051631e2975b960e21b81526004810185905260240161091a565b600084815260026020526040808220805465ffffffffffff191690555163ffffffff83169186917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a39392505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156115d85760405163cf47918160e01b81524760048201526024810183905260440161091a565b600080856001600160a01b031684866040516115f49190612ca6565b60006040518083038185875af1925050503d8060008114611631576040519150601f19603f3d011682016040523d82523d6000602084013e611636565b606091505b5091509150611646868383612101565b9695505050505050565b600067fffffffffffffffe196001600160401b0386160161168f5760405163061c6a4360e21b81526001600160401b038616600482015260240161091a565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115611781578463ffffffff166116db611d05565b6116e59190612c13565b905060405180604001604052808265ffffffffffff1681526020016117138663ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff9091161791909117905561182d565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a1684529091528120546117cb91600160301b9091046001600160701b031690869061215d565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b60006109d2836001600160a01b038416612207565b60008060006118c6846118c1611d05565b612256565b9250925092509193909250565b6001600160401b03821615806118f157506001600160401b03828116145b1561191a5760405163061c6a4360e21b81526001600160401b038316600482015260240161091a565b6001600160401b038281166000818152600160208190526040808320909101805467ffffffffffffffff19169486169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a35050565b6000611981611d05565b65ffffffffffff1661199662093a8084612c13565b65ffffffffffff16111592915050565b6001600160401b03821615806119c457506001600160401b03828116145b156119ed5760405163061c6a4360e21b81526001600160401b038316600482015260240161091a565b6001600160401b03828116600081815260016020819052604080832090910180546fffffffffffffffff00000000000000001916600160401b958716958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a35050565b606060006109d2836122a3565b67fffffffffffffffe196001600160401b03831601611aa25760405163061c6a4360e21b81526001600160401b038316600482015260240161091a565b6001600160401b038216600090815260016020819052604082200154611adc90600160801b90046001600160701b0316836206978061215d565b6001600160401b0385166000818152600160208190526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890610bd6908590859063ffffffff92909216825265ffffffffffff16602082015260400190565b6060600080846001600160a01b031684604051611b939190612ca6565b600060405180830381855af49150503d8060008114611bce576040519150601f19603f3d011682016040523d82523d6000602084013e611bd3565b606091505b5091509150611be3858383612101565b95945050505050565b6000611bf8838361156a565b600354149392505050565b600067fffffffffffffffe196001600160401b03841601611c425760405163061c6a4360e21b81526001600160401b038416600482015260240161091a565b6001600160401b03831660009081526001602090815260408083206001600160a01b038616845290915281205465ffffffffffff169003611c8557506000610826565b6001600160401b03831660008181526001602090815260408083206001600160a01b038716808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a350600192915050565b60006109d2836001600160a01b0384166122ff565b6000611d10426123f9565b905090565b6001600160a01b038216600090815260208190526040812060010154611d48906001600160701b0316836206978061215d565b6001600160a01b0385166000818152602081815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8716815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101610bd6565b60006109d28383612430565b60008282188284110282186109d2565b60008181526002602052604090205465ffffffffffff168015801590611e1a5750611e1881611977565b155b1561083e5760405163813e945960e01b81526004810183905260240161091a565b6000610826825490565b6000806004831015611e5c57506000905080610e8c565b306001600160a01b03861603611e7f57610e4330611e7a8686611452565b611bec565b6000806000611e8e8787611f0f565b92509250925082158015611ea65750611ea630610c8f565b15611eba5760008094509450505050610e8c565b600080611ec7848b610ed7565b9150915081611ee157600080965096505050505050610e8c565b611ef78363ffffffff168263ffffffff16611dde565b63ffffffff8116159b909a5098505050505050505050565b600080806004841015611f2a575060009150819050806120fa565b6000611f368686611452565b90506001600160e01b031981166310a6aa3760e31b1480611f6757506001600160e01b031981166330cae18760e01b145b80611f8257506001600160e01b0319811663294b14a960e11b145b80611f9d57506001600160e01b03198116635326cae760e11b145b80611fb857506001600160e01b0319811663d22b598960e01b145b15611fce576001600080935093509350506120fa565b6001600160e01b0319811663063fc60f60e21b1480611ffd57506001600160e01b0319811663167bd39560e01b145b8061201857506001600160e01b031981166308d6122d60e01b145b1561205a57600061202d60246004888a612b66565b81019061203a919061273d565b9050600061204782610ad1565b600196506000955093506120fa92505050565b6001600160e01b0319811663012e238d60e51b148061208957506001600160e01b03198116635be958b160e11b145b156120e457600061209e60246004888a612b66565b8101906120ab9190612560565b905060016120d5826001600160401b03908116600090815260016020819052604090912001541690565b600094509450945050506120fa565b60006120f03083610b11565b6000935093509350505b9250925092565b606082612116576121118261245a565b6109d2565b815115801561212d57506001600160a01b0384163b155b1561215657604051639996b31560e01b81526001600160a01b038516600482015260240161091a565b50806109d2565b6000806000612174866001600160701b031661136e565b905060006121b18563ffffffff168763ffffffff168463ffffffff161161219c5760006121a6565b6121a68885612cc2565b63ffffffff16611dde565b90508063ffffffff166121c2611d05565b6121cc9190612c13565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b600081815260018301602052604081205461224e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610826565b506000610826565b69ffffffffffffffffffff602083901c166001600160701b03831665ffffffffffff604085901c811690841681111561229157828282612296565b816000805b9250925092509250925092565b6060816000018054806020026020016040519081016040528092919081815260200182805480156122f357602002820191906000526020600020905b8154815260200190600101908083116122df575b50505050509050919050565b600081815260018301602052604081205480156123e8576000612323600183612b53565b855490915060009061233790600190612b53565b905080821461239c57600086600001828154811061235757612357612a7b565b906000526020600020015490508087600001848154811061237a5761237a612a7b565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806123ad576123ad612cdf565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610826565b6000915050610826565b5092915050565b600065ffffffffffff82111561242c576040516306dfcc6560e41b8152603060048201526024810183905260440161091a565b5090565b600082600001828154811061244757612447612a7b565b9060005260206000200154905092915050565b80511561246957805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b50565b6001600160a01b038116811461248257600080fd5b60008083601f8401126124ac57600080fd5b5081356001600160401b038111156124c357600080fd5b6020830191508360208260051b8501011115610f4d57600080fd5b80356001600160401b03811681146124f557600080fd5b919050565b6000806000806060858703121561251057600080fd5b843561251b81612485565b935060208501356001600160401b0381111561253657600080fd5b6125428782880161249a565b90945092506125559050604086016124de565b905092959194509250565b60006020828403121561257257600080fd5b6109d2826124de565b6000806040838503121561258e57600080fd5b823561259981612485565b9150602083013580151581146125ae57600080fd5b809150509250929050565b600080604083850312156125cc57600080fd5b82356125d781612485565b915060208301356125ae81612485565b60008083601f8401126125f957600080fd5b5081356001600160401b0381111561261057600080fd5b602083019150836020828501011115610f4d57600080fd5b60008060006040848603121561263d57600080fd5b833561264881612485565b925060208401356001600160401b0381111561266357600080fd5b61266f868287016125e7565b9497909650939450505050565b803563ffffffff811681146124f557600080fd5b6000806000606084860312156126a557600080fd5b6126ae846124de565b925060208401356126be81612485565b91506126cc6040850161267c565b90509250925092565b600080604083850312156126e857600080fd5b6125d7836124de565b6000806040838503121561270457600080fd5b61270d836124de565b915061271b602084016124de565b90509250929050565b60006020828403121561273657600080fd5b5035919050565b60006020828403121561274f57600080fd5b81356109d281612485565b6001600160e01b03198116811461248257600080fd5b6000806040838503121561278357600080fd5b823561278e81612485565b915060208301356125ae8161275a565b6000806000604084860312156127b357600080fd5b612648846124de565b6020808252825182820181905260009190848201906040850190845b818110156127fd5783516001600160a01b0316835292840192918401916001016127d8565b50909695505050505050565b6000806040838503121561281c57600080fd5b612825836124de565b915061271b6020840161267c565b6000806000806060858703121561284957600080fd5b843561285481612485565b9350602085013561286481612485565b925060408501356001600160401b0381111561287f57600080fd5b61288b878288016125e7565b95989497509550505050565b600080602083850312156128aa57600080fd5b82356001600160401b038111156128c057600080fd5b6128cc8582860161249a565b90969095509350505050565b60005b838110156128f35781810151838201526020016128db565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561296957878503603f190184528151805180875261294a818989018a85016128d8565b601f01601f191695909501860194509285019290850190600101612923565b5092979650505050505050565b60008060006060848603121561298b57600080fd5b833561299681612485565b925060208401356129a681612485565b915060408401356129b68161275a565b809150509250925092565b600080604083850312156129d457600080fd5b823561282581612485565b600080604083850312156129f257600080fd5b6129fb836124de565b946020939093013593505050565b60008060008060608587031215612a1f57600080fd5b8435612a2a81612485565b935060208501356001600160401b03811115612a4557600080fd5b612a51878288016125e7565b909450925050604085013565ffffffffffff81168114612a7057600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612aa357600080fd5b81356109d28161275a565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b602081526000612aeb602083018486612aae565b949350505050565b600060208284031215612b0557600080fd5b81516109d28161275a565b6001600160a01b038581168252841660208201526060604082018190526000906116469083018486612aae565b634e487b7160e01b600052601160045260246000fd5b8181038181111561082657610826612b3d565b60008085851115612b7657600080fd5b83861115612b8357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b6000808335601e19843603018112612bbd57600080fd5b8301803591506001600160401b03821115612bd757600080fd5b602001915036819003821315610f4d57600080fd5b828482376000838201600081528351612c098183602088016128d8565b0195945050505050565b65ffffffffffff8181168382160190808211156123f2576123f2612b3d565b65ffffffffffff861681526001600160a01b03858116602083015284166040820152608060608201819052600090612c6d9083018486612aae565b979650505050505050565b6001600160e01b03198135818116916004851015610e055760049490940360031b84901b1690921692915050565b60008251612cb88184602087016128d8565b9190910192915050565b63ffffffff8281168282160390808211156123f2576123f2612b3d565b634e487b7160e01b600052603160045260246000fdfea26469706673582212209152931e25786cb68c4657bcf15ad9aefe771594b6910114d77f1eaf8f871a5f64736f6c63430008180033";
|
|
1253
|
+
|
|
1254
|
+
type AuthorityManagerConstructorParams =
|
|
1255
|
+
| [signer?: Signer]
|
|
1256
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1257
|
+
|
|
1258
|
+
const isSuperArgs = (
|
|
1259
|
+
xs: AuthorityManagerConstructorParams
|
|
1260
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1261
|
+
|
|
1262
|
+
export class AuthorityManager__factory extends ContractFactory {
|
|
1263
|
+
constructor(...args: AuthorityManagerConstructorParams) {
|
|
1264
|
+
if (isSuperArgs(args)) {
|
|
1265
|
+
super(...args);
|
|
1266
|
+
} else {
|
|
1267
|
+
super(_abi, _bytecode, args[0]);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
override getDeployTransaction(
|
|
1272
|
+
default_admin: AddressLike,
|
|
1273
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
1274
|
+
): Promise<ContractDeployTransaction> {
|
|
1275
|
+
return super.getDeployTransaction(default_admin, overrides || {});
|
|
1276
|
+
}
|
|
1277
|
+
override deploy(
|
|
1278
|
+
default_admin: AddressLike,
|
|
1279
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
1280
|
+
) {
|
|
1281
|
+
return super.deploy(default_admin, overrides || {}) as Promise<
|
|
1282
|
+
AuthorityManager & {
|
|
1283
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
1284
|
+
}
|
|
1285
|
+
>;
|
|
1286
|
+
}
|
|
1287
|
+
override connect(runner: ContractRunner | null): AuthorityManager__factory {
|
|
1288
|
+
return super.connect(runner) as AuthorityManager__factory;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
static readonly bytecode = _bytecode;
|
|
1292
|
+
static readonly abi = _abi;
|
|
1293
|
+
static createInterface(): AuthorityManagerInterface {
|
|
1294
|
+
return new Interface(_abi) as AuthorityManagerInterface;
|
|
1295
|
+
}
|
|
1296
|
+
static connect(
|
|
1297
|
+
address: string,
|
|
1298
|
+
runner?: ContractRunner | null
|
|
1299
|
+
): AuthorityManager {
|
|
1300
|
+
return new Contract(address, _abi, runner) as unknown as AuthorityManager;
|
|
1301
|
+
}
|
|
1302
|
+
}
|