@ercworldio/blockchain-shared 1.0.3-dev.1-PROJ-1296.0 → 1.0.3-dev.3
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/build/chains/networks_prod-bu.json +5 -2
- package/build/chains/networks_prod-dz.json +10 -9
- package/build/chains/networks_stg-bu.json +2 -1
- package/build/chains/networks_stg-dz.json +2 -1
- package/build/chains/networks_stg-sh.json +2 -1
- package/build/chains/networks_stg-yb.json +2 -1
- package/build/contracts/artifacts/Escrow.json +490 -1979
- package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
- package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +6 -0
- package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +76 -761
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +17 -65
- package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/index.d.ts +0 -2
- package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +3 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +4 -0
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +7 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +12 -286
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +12 -374
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +1 -137
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +1 -182
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +96 -1245
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +241 -1730
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/index.d.ts +0 -1
- package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/index.js +1 -2
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
- package/build/contracts/typechain-types/index.d.ts +10 -4
- package/build/contracts/typechain-types/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/index.js +11 -5
- package/build/errors/errors.d.ts +3 -0
- package/build/errors/errors.d.ts.map +1 -1
- package/build/errors/errors.js +6 -0
- package/package.json +1 -1
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts +0 -386
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +0 -1
- package/build/contracts/typechain-types/contracts/lib/Events.js +0 -2
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +0 -21
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +0 -1
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +0 -2
- package/build/contracts/typechain-types/contracts/lib/index.d.ts +0 -3
- package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +0 -1
- package/build/contracts/typechain-types/contracts/lib/index.js +0 -2
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +0 -373
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +0 -1
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +0 -473
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +0 -55
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +0 -1
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +0 -82
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +0 -3
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +0 -1
- package/build/contracts/typechain-types/factories/contracts/lib/index.js +0 -10
- package/build/entities/AdminOperationThresholds.d.ts +0 -12
- package/build/entities/AdminOperationThresholds.d.ts.map +0 -1
- package/build/entities/AdminOperationThresholds.js +0 -56
- package/build/entities/EscrowRoles.d.ts +0 -12
- package/build/entities/EscrowRoles.d.ts.map +0 -1
- package/build/entities/EscrowRoles.js +0 -57
- package/build/entities/GlobalTimelock.d.ts +0 -14
- package/build/entities/GlobalTimelock.d.ts.map +0 -1
- package/build/entities/GlobalTimelock.js +0 -64
- package/build/entities/GranularTimelock .d.ts +0 -12
- package/build/entities/GranularTimelock .d.ts.map +0 -1
- package/build/entities/GranularTimelock .js +0 -56
- package/build/entities/OperationType.d.ts +0 -18
- package/build/entities/OperationType.d.ts.map +0 -1
- package/build/entities/OperationType.js +0 -50
- package/build/entities/RoleHash.d.ts +0 -11
- package/build/entities/RoleHash.d.ts.map +0 -1
- package/build/entities/RoleHash.js +0 -52
- package/build/entities/Signatures.d.ts +0 -16
- package/build/entities/Signatures.d.ts.map +0 -1
- package/build/entities/Signatures.js +0 -72
- package/build/entities/TokenExecutionThresholds.d.ts +0 -16
- package/build/entities/TokenExecutionThresholds.d.ts.map +0 -1
- package/build/entities/TokenExecutionThresholds.js +0 -72
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js
CHANGED
|
@@ -27,49 +27,6 @@ const _abi = [
|
|
|
27
27
|
name: "AccessControlUnauthorizedAccount",
|
|
28
28
|
type: "error",
|
|
29
29
|
},
|
|
30
|
-
{
|
|
31
|
-
inputs: [
|
|
32
|
-
{
|
|
33
|
-
internalType: "address",
|
|
34
|
-
name: "account",
|
|
35
|
-
type: "address",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
name: "AccountAlreadyHasSignerRole",
|
|
39
|
-
type: "error",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
inputs: [],
|
|
43
|
-
name: "AdminMultisigConfigNotSet",
|
|
44
|
-
type: "error",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
inputs: [
|
|
48
|
-
{
|
|
49
|
-
internalType: "uint256",
|
|
50
|
-
name: "requestId",
|
|
51
|
-
type: "uint256",
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
name: "AlreadyCreatedTransaction",
|
|
55
|
-
type: "error",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
inputs: [
|
|
59
|
-
{
|
|
60
|
-
internalType: "bytes32",
|
|
61
|
-
name: "commitmentHash",
|
|
62
|
-
type: "bytes32",
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
name: "CommitmentNotFound",
|
|
66
|
-
type: "error",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
inputs: [],
|
|
70
|
-
name: "ConfigGroupNotSet",
|
|
71
|
-
type: "error",
|
|
72
|
-
},
|
|
73
30
|
{
|
|
74
31
|
inputs: [],
|
|
75
32
|
name: "ContractBusy",
|
|
@@ -106,11 +63,6 @@ const _abi = [
|
|
|
106
63
|
name: "ExceedsLimit",
|
|
107
64
|
type: "error",
|
|
108
65
|
},
|
|
109
|
-
{
|
|
110
|
-
inputs: [],
|
|
111
|
-
name: "ExceedsMax",
|
|
112
|
-
type: "error",
|
|
113
|
-
},
|
|
114
66
|
{
|
|
115
67
|
inputs: [],
|
|
116
68
|
name: "ExceedsMaxBatch",
|
|
@@ -142,106 +94,21 @@ const _abi = [
|
|
|
142
94
|
name: "InsufficientBalance",
|
|
143
95
|
type: "error",
|
|
144
96
|
},
|
|
145
|
-
{
|
|
146
|
-
inputs: [
|
|
147
|
-
{
|
|
148
|
-
internalType: "uint256",
|
|
149
|
-
name: "required",
|
|
150
|
-
type: "uint256",
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
internalType: "uint256",
|
|
154
|
-
name: "provided",
|
|
155
|
-
type: "uint256",
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
name: "InsufficientExecutiveSigs",
|
|
159
|
-
type: "error",
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
inputs: [
|
|
163
|
-
{
|
|
164
|
-
internalType: "uint256",
|
|
165
|
-
name: "required",
|
|
166
|
-
type: "uint256",
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
internalType: "uint256",
|
|
170
|
-
name: "provided",
|
|
171
|
-
type: "uint256",
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
name: "InsufficientManagerSigs",
|
|
175
|
-
type: "error",
|
|
176
|
-
},
|
|
177
97
|
{
|
|
178
98
|
inputs: [],
|
|
179
99
|
name: "InsufficientReserves",
|
|
180
100
|
type: "error",
|
|
181
101
|
},
|
|
182
|
-
{
|
|
183
|
-
inputs: [],
|
|
184
|
-
name: "InvalidConfig",
|
|
185
|
-
type: "error",
|
|
186
|
-
},
|
|
187
102
|
{
|
|
188
103
|
inputs: [],
|
|
189
104
|
name: "InvalidInitialization",
|
|
190
105
|
type: "error",
|
|
191
106
|
},
|
|
192
|
-
{
|
|
193
|
-
inputs: [
|
|
194
|
-
{
|
|
195
|
-
internalType: "uint256",
|
|
196
|
-
name: "sig_idx",
|
|
197
|
-
type: "uint256",
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
name: "InvalidMultiSig",
|
|
201
|
-
type: "error",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
inputs: [
|
|
205
|
-
{
|
|
206
|
-
internalType: "uint256",
|
|
207
|
-
name: "expected",
|
|
208
|
-
type: "uint256",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
internalType: "uint256",
|
|
212
|
-
name: "provided",
|
|
213
|
-
type: "uint256",
|
|
214
|
-
},
|
|
215
|
-
],
|
|
216
|
-
name: "InvalidNonce",
|
|
217
|
-
type: "error",
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
inputs: [],
|
|
221
|
-
name: "InvalidOperation",
|
|
222
|
-
type: "error",
|
|
223
|
-
},
|
|
224
107
|
{
|
|
225
108
|
inputs: [],
|
|
226
109
|
name: "InvalidSignature",
|
|
227
110
|
type: "error",
|
|
228
111
|
},
|
|
229
|
-
{
|
|
230
|
-
inputs: [],
|
|
231
|
-
name: "InvalidSignatures",
|
|
232
|
-
type: "error",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
inputs: [
|
|
236
|
-
{
|
|
237
|
-
internalType: "address",
|
|
238
|
-
name: "tokenAddress",
|
|
239
|
-
type: "address",
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
name: "MultisigConfigNotSet",
|
|
243
|
-
type: "error",
|
|
244
|
-
},
|
|
245
112
|
{
|
|
246
113
|
inputs: [],
|
|
247
114
|
name: "NotAdmin",
|
|
@@ -278,59 +145,11 @@ const _abi = [
|
|
|
278
145
|
name: "RequestAlreadyFulfilled",
|
|
279
146
|
type: "error",
|
|
280
147
|
},
|
|
281
|
-
{
|
|
282
|
-
inputs: [
|
|
283
|
-
{
|
|
284
|
-
internalType: "uint8",
|
|
285
|
-
name: "required_number",
|
|
286
|
-
type: "uint8",
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
name: "RequireMultiSig",
|
|
290
|
-
type: "error",
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
inputs: [],
|
|
294
|
-
name: "RequireTreasuryReceiverRole",
|
|
295
|
-
type: "error",
|
|
296
|
-
},
|
|
297
148
|
{
|
|
298
149
|
inputs: [],
|
|
299
150
|
name: "SignatureAlreadyUsed",
|
|
300
151
|
type: "error",
|
|
301
152
|
},
|
|
302
|
-
{
|
|
303
|
-
inputs: [],
|
|
304
|
-
name: "TimelockConfigGroupNotSet",
|
|
305
|
-
type: "error",
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
inputs: [
|
|
309
|
-
{
|
|
310
|
-
internalType: "address",
|
|
311
|
-
name: "tokenAddress",
|
|
312
|
-
type: "address",
|
|
313
|
-
},
|
|
314
|
-
],
|
|
315
|
-
name: "TimelockConfigNotSet",
|
|
316
|
-
type: "error",
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
inputs: [
|
|
320
|
-
{
|
|
321
|
-
internalType: "uint256",
|
|
322
|
-
name: "executeAt",
|
|
323
|
-
type: "uint256",
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
internalType: "uint256",
|
|
327
|
-
name: "currentTime",
|
|
328
|
-
type: "uint256",
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
name: "TimelockNotExpired",
|
|
332
|
-
type: "error",
|
|
333
|
-
},
|
|
334
153
|
{
|
|
335
154
|
inputs: [
|
|
336
155
|
{
|
|
@@ -472,58 +291,6 @@ const _abi = [
|
|
|
472
291
|
name: "RoleRevoked",
|
|
473
292
|
type: "event",
|
|
474
293
|
},
|
|
475
|
-
{
|
|
476
|
-
inputs: [],
|
|
477
|
-
name: "ADMIN_TREASURY_EXECUTIVE_ROLE",
|
|
478
|
-
outputs: [
|
|
479
|
-
{
|
|
480
|
-
internalType: "bytes32",
|
|
481
|
-
name: "",
|
|
482
|
-
type: "bytes32",
|
|
483
|
-
},
|
|
484
|
-
],
|
|
485
|
-
stateMutability: "view",
|
|
486
|
-
type: "function",
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
inputs: [],
|
|
490
|
-
name: "ADMIN_TREASURY_MANAGER_ROLE",
|
|
491
|
-
outputs: [
|
|
492
|
-
{
|
|
493
|
-
internalType: "bytes32",
|
|
494
|
-
name: "",
|
|
495
|
-
type: "bytes32",
|
|
496
|
-
},
|
|
497
|
-
],
|
|
498
|
-
stateMutability: "view",
|
|
499
|
-
type: "function",
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
inputs: [],
|
|
503
|
-
name: "CONFIG_EXECUTIVE_ROLE",
|
|
504
|
-
outputs: [
|
|
505
|
-
{
|
|
506
|
-
internalType: "bytes32",
|
|
507
|
-
name: "",
|
|
508
|
-
type: "bytes32",
|
|
509
|
-
},
|
|
510
|
-
],
|
|
511
|
-
stateMutability: "view",
|
|
512
|
-
type: "function",
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
inputs: [],
|
|
516
|
-
name: "CONFIG_MANAGER_ROLE",
|
|
517
|
-
outputs: [
|
|
518
|
-
{
|
|
519
|
-
internalType: "bytes32",
|
|
520
|
-
name: "",
|
|
521
|
-
type: "bytes32",
|
|
522
|
-
},
|
|
523
|
-
],
|
|
524
|
-
stateMutability: "view",
|
|
525
|
-
type: "function",
|
|
526
|
-
},
|
|
527
294
|
{
|
|
528
295
|
inputs: [],
|
|
529
296
|
name: "DEFAULT_ADMIN_ROLE",
|
|
@@ -563,84 +330,6 @@ const _abi = [
|
|
|
563
330
|
stateMutability: "view",
|
|
564
331
|
type: "function",
|
|
565
332
|
},
|
|
566
|
-
{
|
|
567
|
-
inputs: [],
|
|
568
|
-
name: "TIMELOCK_CONFIG_EXECUTIVE_ROLE",
|
|
569
|
-
outputs: [
|
|
570
|
-
{
|
|
571
|
-
internalType: "bytes32",
|
|
572
|
-
name: "",
|
|
573
|
-
type: "bytes32",
|
|
574
|
-
},
|
|
575
|
-
],
|
|
576
|
-
stateMutability: "view",
|
|
577
|
-
type: "function",
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
inputs: [],
|
|
581
|
-
name: "TIMELOCK_CONFIG_MANAGER_ROLE",
|
|
582
|
-
outputs: [
|
|
583
|
-
{
|
|
584
|
-
internalType: "bytes32",
|
|
585
|
-
name: "",
|
|
586
|
-
type: "bytes32",
|
|
587
|
-
},
|
|
588
|
-
],
|
|
589
|
-
stateMutability: "view",
|
|
590
|
-
type: "function",
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
inputs: [],
|
|
594
|
-
name: "TREASURY_DISPATCH_ROLE",
|
|
595
|
-
outputs: [
|
|
596
|
-
{
|
|
597
|
-
internalType: "bytes32",
|
|
598
|
-
name: "",
|
|
599
|
-
type: "bytes32",
|
|
600
|
-
},
|
|
601
|
-
],
|
|
602
|
-
stateMutability: "view",
|
|
603
|
-
type: "function",
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
inputs: [],
|
|
607
|
-
name: "TREASURY_EXECUTIVE_ROLE",
|
|
608
|
-
outputs: [
|
|
609
|
-
{
|
|
610
|
-
internalType: "bytes32",
|
|
611
|
-
name: "",
|
|
612
|
-
type: "bytes32",
|
|
613
|
-
},
|
|
614
|
-
],
|
|
615
|
-
stateMutability: "view",
|
|
616
|
-
type: "function",
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
inputs: [],
|
|
620
|
-
name: "TREASURY_MANAGER_ROLE",
|
|
621
|
-
outputs: [
|
|
622
|
-
{
|
|
623
|
-
internalType: "bytes32",
|
|
624
|
-
name: "",
|
|
625
|
-
type: "bytes32",
|
|
626
|
-
},
|
|
627
|
-
],
|
|
628
|
-
stateMutability: "view",
|
|
629
|
-
type: "function",
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
inputs: [],
|
|
633
|
-
name: "TREASURY_RECEIVER_ROLE",
|
|
634
|
-
outputs: [
|
|
635
|
-
{
|
|
636
|
-
internalType: "bytes32",
|
|
637
|
-
name: "",
|
|
638
|
-
type: "bytes32",
|
|
639
|
-
},
|
|
640
|
-
],
|
|
641
|
-
stateMutability: "view",
|
|
642
|
-
type: "function",
|
|
643
|
-
},
|
|
644
333
|
{
|
|
645
334
|
inputs: [
|
|
646
335
|
{
|
|
@@ -665,29 +354,16 @@ const _abi = [
|
|
|
665
354
|
type: "function",
|
|
666
355
|
},
|
|
667
356
|
{
|
|
668
|
-
inputs: [
|
|
669
|
-
name: "adminTokenThresholdSettings",
|
|
670
|
-
outputs: [
|
|
671
|
-
{
|
|
672
|
-
internalType: "uint256",
|
|
673
|
-
name: "",
|
|
674
|
-
type: "uint256",
|
|
675
|
-
},
|
|
676
|
-
],
|
|
677
|
-
stateMutability: "view",
|
|
678
|
-
type: "function",
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
inputs: [],
|
|
682
|
-
name: "configThresholdSettings",
|
|
683
|
-
outputs: [
|
|
357
|
+
inputs: [
|
|
684
358
|
{
|
|
685
|
-
internalType: "
|
|
686
|
-
name: "",
|
|
687
|
-
type: "
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "newAdmin",
|
|
361
|
+
type: "address",
|
|
688
362
|
},
|
|
689
363
|
],
|
|
690
|
-
|
|
364
|
+
name: "changeAdmin",
|
|
365
|
+
outputs: [],
|
|
366
|
+
stateMutability: "nonpayable",
|
|
691
367
|
type: "function",
|
|
692
368
|
},
|
|
693
369
|
{
|
|
@@ -810,19 +486,13 @@ const _abi = [
|
|
|
810
486
|
inputs: [
|
|
811
487
|
{
|
|
812
488
|
internalType: "address",
|
|
813
|
-
name: "",
|
|
489
|
+
name: "_operator",
|
|
814
490
|
type: "address",
|
|
815
491
|
},
|
|
816
492
|
],
|
|
817
|
-
name: "
|
|
818
|
-
outputs: [
|
|
819
|
-
|
|
820
|
-
internalType: "uint8",
|
|
821
|
-
name: "",
|
|
822
|
-
type: "uint8",
|
|
823
|
-
},
|
|
824
|
-
],
|
|
825
|
-
stateMutability: "view",
|
|
493
|
+
name: "setOperator",
|
|
494
|
+
outputs: [],
|
|
495
|
+
stateMutability: "nonpayable",
|
|
826
496
|
type: "function",
|
|
827
497
|
},
|
|
828
498
|
{
|
|
@@ -844,40 +514,8 @@ const _abi = [
|
|
|
844
514
|
stateMutability: "view",
|
|
845
515
|
type: "function",
|
|
846
516
|
},
|
|
847
|
-
{
|
|
848
|
-
inputs: [],
|
|
849
|
-
name: "timelockThresholdSettings",
|
|
850
|
-
outputs: [
|
|
851
|
-
{
|
|
852
|
-
internalType: "uint256",
|
|
853
|
-
name: "",
|
|
854
|
-
type: "uint256",
|
|
855
|
-
},
|
|
856
|
-
],
|
|
857
|
-
stateMutability: "view",
|
|
858
|
-
type: "function",
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
inputs: [
|
|
862
|
-
{
|
|
863
|
-
internalType: "address",
|
|
864
|
-
name: "",
|
|
865
|
-
type: "address",
|
|
866
|
-
},
|
|
867
|
-
],
|
|
868
|
-
name: "tokenThresholdSettings",
|
|
869
|
-
outputs: [
|
|
870
|
-
{
|
|
871
|
-
internalType: "uint256",
|
|
872
|
-
name: "",
|
|
873
|
-
type: "uint256",
|
|
874
|
-
},
|
|
875
|
-
],
|
|
876
|
-
stateMutability: "view",
|
|
877
|
-
type: "function",
|
|
878
|
-
},
|
|
879
517
|
];
|
|
880
|
-
const _bytecode = "
|
|
518
|
+
const _bytecode = "0x6080604052348015600e575f5ffd5b506107908061001c5f395ff3fe608060405234801561000f575f5ffd5b50600436106100cb575f3560e01c80638f28397011610088578063b3ab15fb11610063578063b3ab15fb146101a2578063c4707a83146101b5578063d547741f146101c9578063f5b541a6146101dc575f5ffd5b80638f2839701461017557806391d1485414610188578063a217fddf1461019b575f5ffd5b806301ffc9a7146100cf578063248a9ca3146100f75780632f2ff15d1461012757806336568abe1461013c5780633aa98a941461014f578063518713d214610162575b5f5ffd5b6100e26100dd366004610637565b6101f0565b60405190151581526020015b60405180910390f35b610119610105366004610665565b5f9081526020819052604090206001015490565b6040519081526020016100ee565b61013a610135366004610697565b610226565b005b61013a61014a366004610697565b610250565b61013a61015d3660046106c1565b610288565b6100e2610170366004610701565b61032b565b61013a610183366004610701565b610353565b6100e2610196366004610697565b6103b2565b6101195f81565b61013a6101b0366004610701565b6103da565b6101195f51602061071b5f395f51905f5281565b61013a6101d7366004610697565b610460565b6101195f51602061073b5f395f51905f5281565b5f6001600160e01b03198216637965db0b60e01b148061022057506301ffc9a760e01b6001600160e01b03198316145b92915050565b5f8281526020819052604090206001015461024081610484565b61024a8383610491565b50505050565b6001600160a01b03811633146102795760405163334bd91960e11b815260040160405180910390fd5b6102838282610520565b505050565b610290610589565b600180546001600160a01b0319166001600160a01b0385161790556102b55f836103b2565b6102c5576102c35f83610491565b505b6102dc5f51602061073b5f395f51905f52846103b2565b6102f9576102f75f51602061073b5f395f51905f5284610491565b505b6103105f51602061071b5f395f51905f52826103b2565b6102835761024a5f51602061071b5f395f51905f5282610491565b5f61033681836103b2565b8061022057506102205f51602061071b5f395f51905f52836103b2565b61035d5f336103b2565b61037a57604051637bfa4b9f60e01b815260040160405180910390fd5b6103845f33610520565b5061038f5f82610491565b50600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6103e45f336103b2565b61040157604051637bfa4b9f60e01b815260040160405180910390fd5b600154610425905f51602061073b5f395f51905f52906001600160a01b0316610520565b5061043d5f51602061073b5f395f51905f5282610491565b50600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f8281526020819052604090206001015461047a81610484565b61024a8383610520565b61048e81336105b0565b50565b5f61049c83836103b2565b610519575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556104d13390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610220565b505f610220565b5f61052b83836103b2565b15610519575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610220565b6105916105f1565b6105ae57604051631afcd79f60e31b815260040160405180910390fd5b565b6105ba82826103b2565b6105ed5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b5f6105fa61060f565b5468010000000000000000900460ff16919050565b5f807ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00610220565b5f60208284031215610647575f5ffd5b81356001600160e01b03198116811461065e575f5ffd5b9392505050565b5f60208284031215610675575f5ffd5b5035919050565b80356001600160a01b0381168114610692575f5ffd5b919050565b5f5f604083850312156106a8575f5ffd5b823591506106b86020840161067c565b90509250929050565b5f5f5f606084860312156106d3575f5ffd5b6106dc8461067c565b92506106ea6020850161067c565b91506106f86040850161067c565b90509250925092565b5f60208284031215610711575f5ffd5b61065e8261067c56fe9d98d3d08f0062b192694645e127c98e5f96f3bbec331d061acaac3ace2327f997667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a2646970667358221220f3d2d851788be38bc58c9c71ca5da6addb98c5838882eb94bd33c8faddaa6a1864736f6c634300081c0033";
|
|
881
519
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
882
520
|
class EscrowAccessControl__factory extends ethers_1.ContractFactory {
|
|
883
521
|
constructor(...args) {
|
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts
CHANGED
|
@@ -14,40 +14,8 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): EscrowErrors__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x6080604052348015600e575f5ffd5b50603e80601a5f395ff3fe60806040525f5ffdfea2646970667358221220b83b8515993748cf3ad799d2b62b6e689ff19f8c046c8c140bd49b57e376f42a64736f6c634300081c0033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
|
-
readonly inputs: readonly [{
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "account";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}];
|
|
24
|
-
readonly name: "AccountAlreadyHasSignerRole";
|
|
25
|
-
readonly type: "error";
|
|
26
|
-
}, {
|
|
27
|
-
readonly inputs: readonly [];
|
|
28
|
-
readonly name: "AdminMultisigConfigNotSet";
|
|
29
|
-
readonly type: "error";
|
|
30
|
-
}, {
|
|
31
|
-
readonly inputs: readonly [{
|
|
32
|
-
readonly internalType: "uint256";
|
|
33
|
-
readonly name: "requestId";
|
|
34
|
-
readonly type: "uint256";
|
|
35
|
-
}];
|
|
36
|
-
readonly name: "AlreadyCreatedTransaction";
|
|
37
|
-
readonly type: "error";
|
|
38
|
-
}, {
|
|
39
|
-
readonly inputs: readonly [{
|
|
40
|
-
readonly internalType: "bytes32";
|
|
41
|
-
readonly name: "commitmentHash";
|
|
42
|
-
readonly type: "bytes32";
|
|
43
|
-
}];
|
|
44
|
-
readonly name: "CommitmentNotFound";
|
|
45
|
-
readonly type: "error";
|
|
46
|
-
}, {
|
|
47
|
-
readonly inputs: readonly [];
|
|
48
|
-
readonly name: "ConfigGroupNotSet";
|
|
49
|
-
readonly type: "error";
|
|
50
|
-
}, {
|
|
51
19
|
readonly inputs: readonly [];
|
|
52
20
|
readonly name: "ContractBusy";
|
|
53
21
|
readonly type: "error";
|
|
@@ -75,10 +43,6 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
75
43
|
}];
|
|
76
44
|
readonly name: "ExceedsLimit";
|
|
77
45
|
readonly type: "error";
|
|
78
|
-
}, {
|
|
79
|
-
readonly inputs: readonly [];
|
|
80
|
-
readonly name: "ExceedsMax";
|
|
81
|
-
readonly type: "error";
|
|
82
46
|
}, {
|
|
83
47
|
readonly inputs: readonly [];
|
|
84
48
|
readonly name: "ExceedsMaxBatch";
|
|
@@ -103,78 +67,14 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
103
67
|
}];
|
|
104
68
|
readonly name: "InsufficientBalance";
|
|
105
69
|
readonly type: "error";
|
|
106
|
-
}, {
|
|
107
|
-
readonly inputs: readonly [{
|
|
108
|
-
readonly internalType: "uint256";
|
|
109
|
-
readonly name: "required";
|
|
110
|
-
readonly type: "uint256";
|
|
111
|
-
}, {
|
|
112
|
-
readonly internalType: "uint256";
|
|
113
|
-
readonly name: "provided";
|
|
114
|
-
readonly type: "uint256";
|
|
115
|
-
}];
|
|
116
|
-
readonly name: "InsufficientExecutiveSigs";
|
|
117
|
-
readonly type: "error";
|
|
118
|
-
}, {
|
|
119
|
-
readonly inputs: readonly [{
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly name: "required";
|
|
122
|
-
readonly type: "uint256";
|
|
123
|
-
}, {
|
|
124
|
-
readonly internalType: "uint256";
|
|
125
|
-
readonly name: "provided";
|
|
126
|
-
readonly type: "uint256";
|
|
127
|
-
}];
|
|
128
|
-
readonly name: "InsufficientManagerSigs";
|
|
129
|
-
readonly type: "error";
|
|
130
70
|
}, {
|
|
131
71
|
readonly inputs: readonly [];
|
|
132
72
|
readonly name: "InsufficientReserves";
|
|
133
73
|
readonly type: "error";
|
|
134
|
-
}, {
|
|
135
|
-
readonly inputs: readonly [];
|
|
136
|
-
readonly name: "InvalidConfig";
|
|
137
|
-
readonly type: "error";
|
|
138
|
-
}, {
|
|
139
|
-
readonly inputs: readonly [{
|
|
140
|
-
readonly internalType: "uint256";
|
|
141
|
-
readonly name: "sig_idx";
|
|
142
|
-
readonly type: "uint256";
|
|
143
|
-
}];
|
|
144
|
-
readonly name: "InvalidMultiSig";
|
|
145
|
-
readonly type: "error";
|
|
146
|
-
}, {
|
|
147
|
-
readonly inputs: readonly [{
|
|
148
|
-
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "expected";
|
|
150
|
-
readonly type: "uint256";
|
|
151
|
-
}, {
|
|
152
|
-
readonly internalType: "uint256";
|
|
153
|
-
readonly name: "provided";
|
|
154
|
-
readonly type: "uint256";
|
|
155
|
-
}];
|
|
156
|
-
readonly name: "InvalidNonce";
|
|
157
|
-
readonly type: "error";
|
|
158
|
-
}, {
|
|
159
|
-
readonly inputs: readonly [];
|
|
160
|
-
readonly name: "InvalidOperation";
|
|
161
|
-
readonly type: "error";
|
|
162
74
|
}, {
|
|
163
75
|
readonly inputs: readonly [];
|
|
164
76
|
readonly name: "InvalidSignature";
|
|
165
77
|
readonly type: "error";
|
|
166
|
-
}, {
|
|
167
|
-
readonly inputs: readonly [];
|
|
168
|
-
readonly name: "InvalidSignatures";
|
|
169
|
-
readonly type: "error";
|
|
170
|
-
}, {
|
|
171
|
-
readonly inputs: readonly [{
|
|
172
|
-
readonly internalType: "address";
|
|
173
|
-
readonly name: "tokenAddress";
|
|
174
|
-
readonly type: "address";
|
|
175
|
-
}];
|
|
176
|
-
readonly name: "MultisigConfigNotSet";
|
|
177
|
-
readonly type: "error";
|
|
178
78
|
}, {
|
|
179
79
|
readonly inputs: readonly [];
|
|
180
80
|
readonly name: "NotAdmin";
|
|
@@ -199,46 +99,10 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
199
99
|
}];
|
|
200
100
|
readonly name: "RequestAlreadyFulfilled";
|
|
201
101
|
readonly type: "error";
|
|
202
|
-
}, {
|
|
203
|
-
readonly inputs: readonly [{
|
|
204
|
-
readonly internalType: "uint8";
|
|
205
|
-
readonly name: "required_number";
|
|
206
|
-
readonly type: "uint8";
|
|
207
|
-
}];
|
|
208
|
-
readonly name: "RequireMultiSig";
|
|
209
|
-
readonly type: "error";
|
|
210
|
-
}, {
|
|
211
|
-
readonly inputs: readonly [];
|
|
212
|
-
readonly name: "RequireTreasuryReceiverRole";
|
|
213
|
-
readonly type: "error";
|
|
214
102
|
}, {
|
|
215
103
|
readonly inputs: readonly [];
|
|
216
104
|
readonly name: "SignatureAlreadyUsed";
|
|
217
105
|
readonly type: "error";
|
|
218
|
-
}, {
|
|
219
|
-
readonly inputs: readonly [];
|
|
220
|
-
readonly name: "TimelockConfigGroupNotSet";
|
|
221
|
-
readonly type: "error";
|
|
222
|
-
}, {
|
|
223
|
-
readonly inputs: readonly [{
|
|
224
|
-
readonly internalType: "address";
|
|
225
|
-
readonly name: "tokenAddress";
|
|
226
|
-
readonly type: "address";
|
|
227
|
-
}];
|
|
228
|
-
readonly name: "TimelockConfigNotSet";
|
|
229
|
-
readonly type: "error";
|
|
230
|
-
}, {
|
|
231
|
-
readonly inputs: readonly [{
|
|
232
|
-
readonly internalType: "uint256";
|
|
233
|
-
readonly name: "executeAt";
|
|
234
|
-
readonly type: "uint256";
|
|
235
|
-
}, {
|
|
236
|
-
readonly internalType: "uint256";
|
|
237
|
-
readonly name: "currentTime";
|
|
238
|
-
readonly type: "uint256";
|
|
239
|
-
}];
|
|
240
|
-
readonly name: "TimelockNotExpired";
|
|
241
|
-
readonly type: "error";
|
|
242
106
|
}, {
|
|
243
107
|
readonly inputs: readonly [{
|
|
244
108
|
readonly internalType: "address";
|
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EscrowErrors__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"EscrowErrors__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AA8KhD,KAAK,6BAA6B,GAC9B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,qBAAsB,SAAQ,eAAe;gBAC5C,GAAG,IAAI,EAAE,6BAA6B;IAQzC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,MAAM,CAAC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACzB,OAAO,CAC7C,YAAY,GAAG;QACb,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,qBAAqB;IAItE,MAAM,CAAC,QAAQ,CAAC,QAAQ,wLAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,qBAAqB;IAG/C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,YAAY;CAGhB"}
|