@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
@@ -1,373 +0,0 @@
1
- import { ContractFactory, ContractTransactionResponse } from "ethers";
2
- import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
3
- import type { NonPayableOverrides } from "../../../common";
4
- import type { Events, EventsInterface } from "../../../contracts/lib/Events";
5
- type EventsConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
- export declare class Events__factory extends ContractFactory {
7
- constructor(...args: EventsConstructorParams);
8
- getDeployTransaction(overrides?: NonPayableOverrides & {
9
- from?: string;
10
- }): Promise<ContractDeployTransaction>;
11
- deploy(overrides?: NonPayableOverrides & {
12
- from?: string;
13
- }): Promise<Events & {
14
- deploymentTransaction(): ContractTransactionResponse;
15
- }>;
16
- connect(runner: ContractRunner | null): Events__factory;
17
- static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212205525341a3846998876f0cb033d92efad1daa5ad8c9ad113b74d96cf108c3c37264736f6c634300081c0033";
18
- static readonly abi: readonly [{
19
- readonly anonymous: false;
20
- readonly inputs: readonly [{
21
- readonly indexed: false;
22
- readonly internalType: "address";
23
- readonly name: "caller";
24
- readonly type: "address";
25
- }, {
26
- readonly indexed: false;
27
- readonly internalType: "address";
28
- readonly name: "receiver";
29
- readonly type: "address";
30
- }, {
31
- readonly indexed: false;
32
- readonly internalType: "uint256";
33
- readonly name: "amount";
34
- readonly type: "uint256";
35
- }, {
36
- readonly indexed: false;
37
- readonly internalType: "address";
38
- readonly name: "tokenAddress";
39
- readonly type: "address";
40
- }, {
41
- readonly indexed: false;
42
- readonly internalType: "uint256";
43
- readonly name: "requestId";
44
- readonly type: "uint256";
45
- }];
46
- readonly name: "AdminWithdraw";
47
- readonly type: "event";
48
- }, {
49
- readonly anonymous: false;
50
- readonly inputs: readonly [{
51
- readonly indexed: false;
52
- readonly internalType: "enum Types.OperationType";
53
- readonly name: "opType";
54
- readonly type: "uint8";
55
- }, {
56
- readonly indexed: false;
57
- readonly internalType: "uint256";
58
- readonly name: "sigsManagerRequired";
59
- readonly type: "uint256";
60
- }, {
61
- readonly indexed: false;
62
- readonly internalType: "uint256";
63
- readonly name: "sigsExecutiveRequired";
64
- readonly type: "uint256";
65
- }];
66
- readonly name: "ConfigureAdminMultisig";
67
- readonly type: "event";
68
- }, {
69
- readonly anonymous: false;
70
- readonly inputs: readonly [{
71
- readonly indexed: false;
72
- readonly internalType: "enum Types.OperationType";
73
- readonly name: "opType";
74
- readonly type: "uint8";
75
- }, {
76
- readonly indexed: true;
77
- readonly internalType: "address";
78
- readonly name: "tokenAddress";
79
- readonly type: "address";
80
- }, {
81
- readonly indexed: false;
82
- readonly internalType: "uint256";
83
- readonly name: "thresholdAmount";
84
- readonly type: "uint256";
85
- }, {
86
- readonly indexed: false;
87
- readonly internalType: "uint8";
88
- readonly name: "sigsExecutiveBelow";
89
- readonly type: "uint8";
90
- }, {
91
- readonly indexed: false;
92
- readonly internalType: "uint8";
93
- readonly name: "sigsExecutiveAbove";
94
- readonly type: "uint8";
95
- }, {
96
- readonly indexed: false;
97
- readonly internalType: "uint8";
98
- readonly name: "sigsManagerBelow";
99
- readonly type: "uint8";
100
- }, {
101
- readonly indexed: false;
102
- readonly internalType: "uint8";
103
- readonly name: "sigsManagerAbove";
104
- readonly type: "uint8";
105
- }];
106
- readonly name: "ConfigureTokenMultisig";
107
- readonly type: "event";
108
- }, {
109
- readonly anonymous: false;
110
- readonly inputs: readonly [{
111
- readonly indexed: false;
112
- readonly internalType: "address";
113
- readonly name: "payer";
114
- readonly type: "address";
115
- }, {
116
- readonly indexed: false;
117
- readonly internalType: "address";
118
- readonly name: "tokenAddress";
119
- readonly type: "address";
120
- }, {
121
- readonly indexed: false;
122
- readonly internalType: "uint256";
123
- readonly name: "amount";
124
- readonly type: "uint256";
125
- }, {
126
- readonly indexed: false;
127
- readonly internalType: "string";
128
- readonly name: "bonusCode";
129
- readonly type: "string";
130
- }];
131
- readonly name: "Deposit";
132
- readonly type: "event";
133
- }, {
134
- readonly anonymous: false;
135
- readonly inputs: readonly [];
136
- readonly name: "FundWallets";
137
- readonly type: "event";
138
- }, {
139
- readonly anonymous: false;
140
- readonly inputs: readonly [{
141
- readonly indexed: false;
142
- readonly internalType: "address";
143
- readonly name: "funder";
144
- readonly type: "address";
145
- }, {
146
- readonly indexed: false;
147
- readonly internalType: "address";
148
- readonly name: "token";
149
- readonly type: "address";
150
- }, {
151
- readonly indexed: false;
152
- readonly internalType: "uint256";
153
- readonly name: "amount";
154
- readonly type: "uint256";
155
- }];
156
- readonly name: "FundedContract";
157
- readonly type: "event";
158
- }, {
159
- readonly anonymous: false;
160
- readonly inputs: readonly [{
161
- readonly indexed: false;
162
- readonly internalType: "address";
163
- readonly name: "user";
164
- readonly type: "address";
165
- }, {
166
- readonly indexed: false;
167
- readonly internalType: "address";
168
- readonly name: "requestedToken";
169
- readonly type: "address";
170
- }, {
171
- readonly indexed: false;
172
- readonly internalType: "uint256";
173
- readonly name: "amountRequested";
174
- readonly type: "uint256";
175
- }, {
176
- readonly indexed: false;
177
- readonly internalType: "uint256";
178
- readonly name: "availableReserves";
179
- readonly type: "uint256";
180
- }];
181
- readonly name: "LowReserves";
182
- readonly type: "event";
183
- }, {
184
- readonly anonymous: false;
185
- readonly inputs: readonly [{
186
- readonly indexed: true;
187
- readonly internalType: "address";
188
- readonly name: "receiverAddress";
189
- readonly type: "address";
190
- }, {
191
- readonly indexed: false;
192
- readonly internalType: "uint256";
193
- readonly name: "duration";
194
- readonly type: "uint256";
195
- }];
196
- readonly name: "SetTimelockGranular";
197
- readonly type: "event";
198
- }, {
199
- readonly anonymous: false;
200
- readonly inputs: readonly [{
201
- readonly indexed: true;
202
- readonly internalType: "address";
203
- readonly name: "tokenAddress";
204
- readonly type: "address";
205
- }, {
206
- readonly indexed: false;
207
- readonly internalType: "uint256";
208
- readonly name: "thresholdAmount";
209
- readonly type: "uint256";
210
- }, {
211
- readonly indexed: false;
212
- readonly internalType: "uint256";
213
- readonly name: "durationBelow";
214
- readonly type: "uint256";
215
- }, {
216
- readonly indexed: false;
217
- readonly internalType: "uint256";
218
- readonly name: "durationAbove";
219
- readonly type: "uint256";
220
- }];
221
- readonly name: "SetTokenTimelock";
222
- readonly type: "event";
223
- }, {
224
- readonly anonymous: false;
225
- readonly inputs: readonly [{
226
- readonly indexed: false;
227
- readonly internalType: "address";
228
- readonly name: "caller";
229
- readonly type: "address";
230
- }, {
231
- readonly indexed: false;
232
- readonly internalType: "address";
233
- readonly name: "from";
234
- readonly type: "address";
235
- }, {
236
- readonly indexed: false;
237
- readonly internalType: "address";
238
- readonly name: "to";
239
- readonly type: "address";
240
- }, {
241
- readonly indexed: false;
242
- readonly internalType: "address";
243
- readonly name: "token";
244
- readonly type: "address";
245
- }, {
246
- readonly indexed: false;
247
- readonly internalType: "uint256";
248
- readonly name: "amount";
249
- readonly type: "uint256";
250
- }];
251
- readonly name: "SweepTokens";
252
- readonly type: "event";
253
- }, {
254
- readonly anonymous: false;
255
- readonly inputs: readonly [{
256
- readonly indexed: false;
257
- readonly internalType: "uint256";
258
- readonly name: "amount";
259
- readonly type: "uint256";
260
- }, {
261
- readonly indexed: false;
262
- readonly internalType: "uint256";
263
- readonly name: "blockNumber";
264
- readonly type: "uint256";
265
- }];
266
- readonly name: "TransactionCount";
267
- readonly type: "event";
268
- }, {
269
- readonly anonymous: false;
270
- readonly inputs: readonly [{
271
- readonly indexed: false;
272
- readonly internalType: "address";
273
- readonly name: "payer";
274
- readonly type: "address";
275
- }, {
276
- readonly indexed: false;
277
- readonly internalType: "address";
278
- readonly name: "receiver";
279
- readonly type: "address";
280
- }, {
281
- readonly indexed: false;
282
- readonly internalType: "address";
283
- readonly name: "tokenAddress";
284
- readonly type: "address";
285
- }, {
286
- readonly indexed: false;
287
- readonly internalType: "uint256";
288
- readonly name: "amount";
289
- readonly type: "uint256";
290
- }, {
291
- readonly indexed: false;
292
- readonly internalType: "uint256";
293
- readonly name: "requestId";
294
- readonly type: "uint256";
295
- }, {
296
- readonly indexed: false;
297
- readonly internalType: "uint32";
298
- readonly name: "batchSize";
299
- readonly type: "uint32";
300
- }];
301
- readonly name: "Withdrawal";
302
- readonly type: "event";
303
- }, {
304
- readonly anonymous: false;
305
- readonly inputs: readonly [{
306
- readonly indexed: true;
307
- readonly internalType: "bytes32";
308
- readonly name: "commitmentHash";
309
- readonly type: "bytes32";
310
- }, {
311
- readonly indexed: true;
312
- readonly internalType: "uint256";
313
- readonly name: "requestId";
314
- readonly type: "uint256";
315
- }];
316
- readonly name: "WithdrawalCancelled";
317
- readonly type: "event";
318
- }, {
319
- readonly anonymous: false;
320
- readonly inputs: readonly [{
321
- readonly indexed: true;
322
- readonly internalType: "bytes32";
323
- readonly name: "commitmentHash";
324
- readonly type: "bytes32";
325
- }, {
326
- readonly indexed: true;
327
- readonly internalType: "uint256";
328
- readonly name: "requestId";
329
- readonly type: "uint256";
330
- }];
331
- readonly name: "WithdrawalExecuted";
332
- readonly type: "event";
333
- }, {
334
- readonly anonymous: false;
335
- readonly inputs: readonly [{
336
- readonly indexed: true;
337
- readonly internalType: "bytes32";
338
- readonly name: "commitmentHash";
339
- readonly type: "bytes32";
340
- }, {
341
- readonly indexed: true;
342
- readonly internalType: "uint256";
343
- readonly name: "requestId";
344
- readonly type: "uint256";
345
- }, {
346
- readonly indexed: false;
347
- readonly internalType: "uint256";
348
- readonly name: "amount";
349
- readonly type: "uint256";
350
- }, {
351
- readonly indexed: false;
352
- readonly internalType: "address";
353
- readonly name: "tokenAddress";
354
- readonly type: "address";
355
- }, {
356
- readonly indexed: false;
357
- readonly internalType: "address";
358
- readonly name: "receiverAddress";
359
- readonly type: "address";
360
- }, {
361
- readonly indexed: false;
362
- readonly internalType: "uint256";
363
- readonly name: "executeAt";
364
- readonly type: "uint256";
365
- }];
366
- readonly name: "WithdrawalScheduled";
367
- readonly type: "event";
368
- }];
369
- static createInterface(): EventsInterface;
370
- static connect(address: string, runner?: ContractRunner | null): Events;
371
- }
372
- export {};
373
- //# sourceMappingURL=Events__factory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Events__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/lib/Events__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,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AA0b7E,KAAK,uBAAuB,GACxB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,eAAgB,SAAQ,eAAe;gBACtC,GAAG,IAAI,EAAE,uBAAuB;IAQnC,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,MAAM,GAAG;QACP,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,eAAe;IAIhE,MAAM,CAAC,QAAQ,CAAC,QAAQ,kLAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,eAAe;IAGzC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,MAAM;CAGxE"}