@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.
Files changed (96) hide show
  1. package/build/chains/networks_prod-bu.json +5 -2
  2. package/build/chains/networks_prod-dz.json +10 -9
  3. package/build/chains/networks_stg-bu.json +2 -1
  4. package/build/chains/networks_stg-dz.json +2 -1
  5. package/build/chains/networks_stg-sh.json +2 -1
  6. package/build/chains/networks_stg-yb.json +2 -1
  7. package/build/contracts/artifacts/Escrow.json +490 -1979
  8. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
  9. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  10. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +6 -0
  11. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  12. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +76 -761
  13. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
  14. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +17 -65
  15. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
  16. package/build/contracts/typechain-types/contracts/index.d.ts +0 -2
  17. package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
  18. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
  19. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  20. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +3 -1
  21. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
  22. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
  23. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
  24. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +4 -0
  25. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  26. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +7 -1
  27. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +12 -286
  28. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
  29. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +12 -374
  30. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +1 -137
  31. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
  32. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +1 -182
  33. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
  34. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
  35. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
  36. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +96 -1245
  37. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
  38. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +241 -1730
  39. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
  40. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
  41. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
  42. package/build/contracts/typechain-types/factories/contracts/index.d.ts +0 -1
  43. package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
  44. package/build/contracts/typechain-types/factories/contracts/index.js +1 -2
  45. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
  46. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
  47. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
  48. package/build/contracts/typechain-types/index.d.ts +10 -4
  49. package/build/contracts/typechain-types/index.d.ts.map +1 -1
  50. package/build/contracts/typechain-types/index.js +11 -5
  51. package/build/errors/errors.d.ts +3 -0
  52. package/build/errors/errors.d.ts.map +1 -1
  53. package/build/errors/errors.js +6 -0
  54. package/package.json +1 -1
  55. package/build/contracts/typechain-types/contracts/lib/Events.d.ts +0 -386
  56. package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +0 -1
  57. package/build/contracts/typechain-types/contracts/lib/Events.js +0 -2
  58. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +0 -21
  59. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +0 -1
  60. package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +0 -2
  61. package/build/contracts/typechain-types/contracts/lib/index.d.ts +0 -3
  62. package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +0 -1
  63. package/build/contracts/typechain-types/contracts/lib/index.js +0 -2
  64. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +0 -373
  65. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +0 -1
  66. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +0 -473
  67. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +0 -55
  68. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +0 -1
  69. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +0 -82
  70. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +0 -3
  71. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +0 -1
  72. package/build/contracts/typechain-types/factories/contracts/lib/index.js +0 -10
  73. package/build/entities/AdminOperationThresholds.d.ts +0 -12
  74. package/build/entities/AdminOperationThresholds.d.ts.map +0 -1
  75. package/build/entities/AdminOperationThresholds.js +0 -56
  76. package/build/entities/EscrowRoles.d.ts +0 -12
  77. package/build/entities/EscrowRoles.d.ts.map +0 -1
  78. package/build/entities/EscrowRoles.js +0 -57
  79. package/build/entities/GlobalTimelock.d.ts +0 -14
  80. package/build/entities/GlobalTimelock.d.ts.map +0 -1
  81. package/build/entities/GlobalTimelock.js +0 -64
  82. package/build/entities/GranularTimelock .d.ts +0 -12
  83. package/build/entities/GranularTimelock .d.ts.map +0 -1
  84. package/build/entities/GranularTimelock .js +0 -56
  85. package/build/entities/OperationType.d.ts +0 -18
  86. package/build/entities/OperationType.d.ts.map +0 -1
  87. package/build/entities/OperationType.js +0 -50
  88. package/build/entities/RoleHash.d.ts +0 -11
  89. package/build/entities/RoleHash.d.ts.map +0 -1
  90. package/build/entities/RoleHash.js +0 -52
  91. package/build/entities/Signatures.d.ts +0 -16
  92. package/build/entities/Signatures.d.ts.map +0 -1
  93. package/build/entities/Signatures.js +0 -72
  94. package/build/entities/TokenExecutionThresholds.d.ts +0 -16
  95. package/build/entities/TokenExecutionThresholds.d.ts.map +0 -1
  96. package/build/entities/TokenExecutionThresholds.js +0 -72
@@ -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: "uint256",
686
- name: "",
687
- type: "uint256",
359
+ internalType: "address",
360
+ name: "newAdmin",
361
+ type: "address",
688
362
  },
689
363
  ],
690
- stateMutability: "view",
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: "signerBitmap",
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 = "0x60808060405234601557610f52908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a71461070a5750806320f5117c146106d2578063248a9ca3146106a05780632f2ff15d1461066357806336568abe1461061f5780633945c4a6146106025780633aa98a941461051c5780634a78b2f5146104e2578063518713d21461049b5780637026cb58146104615780637ef066c8146104275780638e8b3f2f1461040a57806391d14854146103da578063a0c7f799146103a0578063a217fddf14610386578063b2065f601461034c578063b700f45614610312578063bec4742c146102f5578063c0608667146102bb578063c4707a8314610294578063d547741f1461024e578063ebdf690f14610214578063f01068a1146101da578063f5b541a6146101b3578063fa07bb54146101795763fddbf3f31461013a575f80fd5b34610175576020366003190112610175576001600160a01b0361015b61075d565b165f526003602052602060ff60405f205416604051908152f35b5f80fd5b34610175575f3660031901126101755760206040517faf82374944a6f0200e0a96e99d9d9aa4925409c95c28b14a1d426baddd614aa88152f35b34610175575f3660031901126101755760206040515f516020610efd5f395f51905f528152f35b34610175575f3660031901126101755760206040517fb7733e58c7517dbd9e44ca467a39c0556186bc3a7271956f0a22baafb5dc93c38152f35b34610175575f3660031901126101755760206040517fede9dcdb0ce99dc7cec9c7be9246ad08b37853683ad91569c187b647ddf5e21c8152f35b346101755760403660031901126101755761029260043561026d610773565b9061028d610286825f525f602052600160405f20015490565b3390610d73565b610abe565b005b34610175575f3660031901126101755760206040515f516020610edd5f395f51905f528152f35b34610175575f3660031901126101755760206040517ff7401a2aa2d57dbee8bd296c5ac47eac2db8a2db2ff59d50c0534dc8be92dc6e8152f35b34610175575f366003190112610175576020600754604051908152f35b34610175575f3660031901126101755760206040517fdd7d143944313e9468ffd66e8786351a1538ac1bd6bac96fbbaac11d42f60a518152f35b34610175575f3660031901126101755760206040517f4d7d81d86b902e627e6f0ca462e1191bd8af9cb4b8de2660c10b6349acb6ff9b8152f35b34610175575f3660031901126101755760206040515f8152f35b34610175575f3660031901126101755760206040517fbbfb55d933c2bfa638763473275b1d84c4418e58d26cf9d2cd5758237756d9f08152f35b346101755760403660031901126101755760206104006103f8610773565b600435610951565b6040519015158152f35b34610175575f366003190112610175576020600554604051908152f35b34610175575f3660031901126101755760206040517f20eabc094169e10bc6be263d742d992b10fb206c3c0411e1cbabdd3cf47922298152f35b34610175575f3660031901126101755760206040517f3261beaeb016c41750eb5ecd6c92c85305d1a0aecaaaa6e0f4cf499f7ae258fb8152f35b346101755760203660031901126101755760206104b661075d565b6104bf81610789565b9081156104d2575b506040519015158152f35b6104dc91506108bd565b826104c7565b34610175575f3660031901126101755760206040517fd64fcb6a6f590e3ec3e331a5d9c60e0ca7468054939fe8e8dfe25f11ad1c1e7a8152f35b346101755760603660031901126101755761053561075d565b61053d610773565b60443591906001600160a01b03831683036101755760ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c16156105f357600180546001600160a01b0319166001600160a01b0384161790556105a381610789565b156105e3575b506105b381610829565b156105d3575b506105c3816108bd565b156105ca57005b61029290610a7c565b6105dc90610a4e565b50816105b9565b6105ec906109c4565b50826105a9565b631afcd79f60e31b5f5260045ffd5b34610175575f366003190112610175576020600654604051908152f35b3461017557604036600319011261017557610638610773565b336001600160a01b038216036106545761029290600435610abe565b63334bd91960e11b5f5260045ffd5b3461017557604036600319011261017557610292600435610682610773565b9061069b610286825f525f602052600160405f20015490565b610aaa565b346101755760203660031901126101755760206106ca6004355f525f602052600160405f20015490565b604051908152f35b34610175576020366003190112610175576001600160a01b036106f361075d565b165f526004602052602060405f2054604051908152f35b34610175576020366003190112610175576004359063ffffffff60e01b821680920361017557602091637965db0b60e01b811490811561074c575b5015158152f35b6301ffc9a760e01b14905083610745565b600435906001600160a01b038216820361017557565b602435906001600160a01b038216820361017557565b6107925f610b60565b906020820151156107eb576001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b600190565b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b03165f9081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16919050565b61083f5f516020610efd5f395f51905f52610b60565b9060208201511561087f576001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b6001600160a01b03165f9081527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f602052604090205460ff16919050565b6108d35f516020610edd5f395f51905f52610b60565b90602082015115610913576001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b6001600160a01b03165f9081527f4272c0e29c36ddb672dd25a254bda59e4d959f5c13bec396162edadccdbf7935602052604090205460ff16919050565b9061095b82610b60565b9160208301511561099c57506001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b5f908152602081815260408083206001600160a01b039094168352929052205460ff16919050565b6109ce815f610e06565b906109d85f610b60565b90602082015115610a49576001600160a01b03165f8181526003602052604090205490919060ff16610a3657519060088210156107d7575f52600360205260ff8060018160405f2094161b1681835416171660ff1982541617905590565b5063f893a86f60e01b5f5260045260245ffd5b505090565b610a65815f516020610efd5f395f51905f52610e06565b906109d85f516020610efd5f395f51905f52610b60565b610a93815f516020610edd5f395f51905f52610e06565b906109d85f516020610edd5f395f51905f52610b60565b906109d8610ab88284610e06565b92610b60565b90610acc610ab88284610e75565b90602082015115610a49576001600160a01b03165f8181526003602052604090205490919060ff1615610a4957519060088210156107d7575f52600360205260ff808060018160405f2095161b1619835416161660ff1982541617905590565b604051906040820182811067ffffffffffffffff821117610b4c57604052565b634e487b7160e01b5f52604160045260245ffd5b610b68610b2c565b5f8082526020909101527fede9dcdb0ce99dc7cec9c7be9246ad08b37853683ad91569c187b647ddf5e21c8103610baf5750610ba2610b2c565b5f81526001602082015290565b7ff7401a2aa2d57dbee8bd296c5ac47eac2db8a2db2ff59d50c0534dc8be92dc6e8103610bed5750610bdf610b2c565b600181526001602082015290565b7f4d7d81d86b902e627e6f0ca462e1191bd8af9cb4b8de2660c10b6349acb6ff9b8103610c2b5750610c1d610b2c565b600281526001602082015290565b7f20eabc094169e10bc6be263d742d992b10fb206c3c0411e1cbabdd3cf47922298103610c695750610c5b610b2c565b600381526001602082015290565b7fbbfb55d933c2bfa638763473275b1d84c4418e58d26cf9d2cd5758237756d9f08103610ca75750610c99610b2c565b600481526001602082015290565b7f3261beaeb016c41750eb5ecd6c92c85305d1a0aecaaaa6e0f4cf499f7ae258fb8103610ce55750610cd7610b2c565b600581526001602082015290565b7fd64fcb6a6f590e3ec3e331a5d9c60e0ca7468054939fe8e8dfe25f11ad1c1e7a8103610d235750610d15610b2c565b600681526001602082015290565b7faf82374944a6f0200e0a96e99d9d9aa4925409c95c28b14a1d426baddd614aa814610d5d57610d51610b2c565b5f81525f602082015290565b610d65610b2c565b600781526001602082015290565b90610d7d82610b60565b90602082015115610dd4576001600160a01b03165f818152600360205260409020549151909160088210156107d757600160ff8093161b161615610dbf575050565b63e2517d3f60e01b5f5260045260245260445ffd5b9050610de08183610951565b15610de9575050565b63e2517d3f60e01b5f5260018060a01b031660045260245260445ffd5b610e108282610951565b610e6f575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50505f90565b610e7f8282610951565b15610e6f575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a460019056fe9d98d3d08f0062b192694645e127c98e5f96f3bbec331d061acaac3ace2327f997667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a26469706673582212202a9fc1d9e9aa7df85798492a2b52040497b0ac1a5cca19805c7d3dd3fcdfabbe64736f6c634300081c0033";
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) {
@@ -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 = "0x608080604052346013576039908160188239f35b5f80fdfe5f80fdfea26469706673582212208e24049145c9185989f8abd9c00ee44eae1461a3447dd62a7c4bdeef2dccdf8e64736f6c634300081c0033";
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";
@@ -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;AAmWhD,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,0KAAa;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"}
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"}