@ercworldio/blockchain-shared 1.0.2-dev-PROJ-1265.0 → 1.0.2-dev-PROJ-1265.1.fix
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_dev copy.json +793 -0
- package/build/chains/networks_prod-ab120.json +644 -0
- package/build/chains/networks_prod-dz-v1.json +727 -0
- package/build/chains/networks_prod-sh.json +645 -0
- package/build/chains/networks_prod-yb.json +645 -0
- package/build/chains/networks_stg-ab120-mainnet.json +681 -0
- package/build/chains/networks_stg-ab120.json +597 -0
- package/build/chains/networks_stg-bu-v1.json +635 -0
- package/build/chains/networks_stg-yb-v1.json +574 -0
- package/build/contracts/artifacts/Escrow.json +16 -0
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts +394 -0
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/Events.js +2 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +21 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +2 -0
- package/build/contracts/typechain-types/contracts/lib/index.d.ts +3 -0
- package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/index.js +2 -0
- package/build/contracts/typechain-types/contracts/mock/ReentrantReceiver.d.ts +54 -0
- package/build/contracts/typechain-types/contracts/mock/ReentrantReceiver.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/mock/ReentrantReceiver.js +2 -0
- package/build/contracts/typechain-types/contracts/mock/SelfDestructForcer.d.ts +26 -0
- package/build/contracts/typechain-types/contracts/mock/SelfDestructForcer.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/mock/SelfDestructForcer.js +2 -0
- package/build/contracts/typechain-types/contracts/test/DelegatecallProbe.d.ts +30 -0
- package/build/contracts/typechain-types/contracts/test/DelegatecallProbe.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/test/DelegatecallProbe.js +2 -0
- package/build/contracts/typechain-types/contracts/test/index.d.ts +2 -0
- package/build/contracts/typechain-types/contracts/test/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/test/index.js +2 -0
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +373 -0
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +474 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +99 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +140 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +3 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.js +10 -0
- package/build/contracts/typechain-types/factories/contracts/mock/ReentrantReceiver__factory.d.ts +112 -0
- package/build/contracts/typechain-types/factories/contracts/mock/ReentrantReceiver__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/mock/ReentrantReceiver__factory.js +156 -0
- package/build/contracts/typechain-types/factories/contracts/mock/SelfDestructForcer__factory.d.ts +37 -0
- package/build/contracts/typechain-types/factories/contracts/mock/SelfDestructForcer__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/mock/SelfDestructForcer__factory.js +57 -0
- package/build/contracts/typechain-types/factories/contracts/test/DelegatecallProbe__factory.d.ts +55 -0
- package/build/contracts/typechain-types/factories/contracts/test/DelegatecallProbe__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/test/DelegatecallProbe__factory.js +81 -0
- package/build/contracts/typechain-types/factories/contracts/test/index.d.ts +2 -0
- package/build/contracts/typechain-types/factories/contracts/test/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/test/index.js +8 -0
- package/build/entities/AdminOperationThresholds.d.ts +11 -0
- package/build/entities/AdminOperationThresholds.d.ts.map +1 -0
- package/build/entities/AdminOperationThresholds.js +52 -0
- package/build/entities/AdminWithdrawal.d.ts +20 -0
- package/build/entities/AdminWithdrawal.d.ts.map +1 -0
- package/build/entities/AdminWithdrawal.js +88 -0
- package/build/entities/CryptoOperationType.d.ts +18 -0
- package/build/entities/CryptoOperationType.d.ts.map +1 -0
- package/build/entities/CryptoOperationType.js +50 -0
- package/build/entities/EscrowRoles.d.ts +12 -0
- package/build/entities/EscrowRoles.d.ts.map +1 -0
- package/build/entities/EscrowRoles.js +57 -0
- package/build/entities/GlobalTimelock.d.ts +13 -0
- package/build/entities/GlobalTimelock.d.ts.map +1 -0
- package/build/entities/GlobalTimelock.js +60 -0
- package/build/entities/GranularTimelock .d.ts +12 -0
- package/build/entities/GranularTimelock .d.ts.map +1 -0
- package/build/entities/GranularTimelock .js +56 -0
- package/build/entities/GranularTimelock.d.ts +11 -0
- package/build/entities/GranularTimelock.d.ts.map +1 -0
- package/build/entities/GranularTimelock.js +52 -0
- package/build/entities/OperationType.d.ts +18 -0
- package/build/entities/OperationType.d.ts.map +1 -0
- package/build/entities/OperationType.js +50 -0
- package/build/entities/RoleHash.d.ts +11 -0
- package/build/entities/RoleHash.d.ts.map +1 -0
- package/build/entities/RoleHash.js +52 -0
- package/build/entities/ScheduleTransactionJob.d.ts +23 -0
- package/build/entities/ScheduleTransactionJob.d.ts.map +1 -0
- package/build/entities/ScheduleTransactionJob.js +89 -0
- package/build/entities/ScheduleTransactionJobHistory.d.ts +17 -0
- package/build/entities/ScheduleTransactionJobHistory.d.ts.map +1 -0
- package/build/entities/ScheduleTransactionJobHistory.js +66 -0
- package/build/entities/Signatures.d.ts +16 -0
- package/build/entities/Signatures.d.ts.map +1 -0
- package/build/entities/Signatures.js +72 -0
- package/build/entities/TokenExecutionThresholds.d.ts +15 -0
- package/build/entities/TokenExecutionThresholds.d.ts.map +1 -0
- package/build/entities/TokenExecutionThresholds.js +68 -0
- package/build/entities/WithdrawalCommitment.d.ts +15 -0
- package/build/entities/WithdrawalCommitment.d.ts.map +1 -0
- package/build/entities/WithdrawalCommitment.js +64 -0
- package/build/entities/index.d.ts +22 -0
- package/build/entities/index.d.ts.map +1 -0
- package/build/entities/index.js +37 -0
- package/build/services/AccountingService.d.ts +2 -0
- package/build/services/AccountingService.d.ts.map +1 -1
- package/build/services/AccountingService.js +35 -6
- package/build/services/AccountingServiceStatic.d.ts +14 -0
- package/build/services/AccountingServiceStatic.d.ts.map +1 -0
- package/build/services/AccountingServiceStatic.js +38 -0
- package/build/services/ClaimJobServiceStatic.d.ts +9 -0
- package/build/services/ClaimJobServiceStatic.d.ts.map +1 -0
- package/build/services/ClaimJobServiceStatic.js +54 -0
- package/build/services/WithdrawalService.d.ts +10 -0
- package/build/services/WithdrawalService.d.ts.map +1 -0
- package/build/services/WithdrawalService.js +38 -0
- package/build/services/db/multisig/MultisigService.d.ts +31 -0
- package/build/services/db/multisig/MultisigService.d.ts.map +1 -0
- package/build/services/db/multisig/MultisigService.js +134 -0
- package/build/services/db/roles/ContractRoles.d.ts +54 -0
- package/build/services/db/roles/ContractRoles.d.ts.map +1 -0
- package/build/services/db/roles/ContractRoles.js +87 -0
- package/build/services/db/timelock/ScheduleTransactionJobHistoryService.d.ts +14 -0
- package/build/services/db/timelock/ScheduleTransactionJobHistoryService.d.ts.map +1 -0
- package/build/services/db/timelock/ScheduleTransactionJobHistoryService.js +63 -0
- package/build/services/db/timelock/ScheduleTransactionService.d.ts +46 -0
- package/build/services/db/timelock/ScheduleTransactionService.d.ts.map +1 -0
- package/build/services/db/timelock/ScheduleTransactionService.js +476 -0
- package/build/services/rpc/RPC.d.ts +20 -0
- package/build/services/rpc/RPC.d.ts.map +1 -0
- package/build/services/rpc/RPC.js +49 -0
- package/build/services/solana/escrow/services/TreasuryWithdrawalSignature.d.ts +58 -0
- package/build/services/solana/escrow/services/TreasuryWithdrawalSignature.d.ts.map +1 -0
- package/build/services/solana/escrow/services/TreasuryWithdrawalSignature.js +109 -0
- package/build/services/types/db/index.d.ts +3 -0
- package/build/services/types/db/index.d.ts.map +1 -0
- package/build/services/types/db/index.js +18 -0
- package/build/services/types/db/multisig_service.d.ts +154 -0
- package/build/services/types/db/multisig_service.d.ts.map +1 -0
- package/build/services/types/db/multisig_service.js +2 -0
- package/build/services/types/db/timelock.d.ts +84 -0
- package/build/services/types/db/timelock.d.ts.map +1 -0
- package/build/services/types/db/timelock.js +2 -0
- package/build/services/types/db/withdrawal_service.d.ts +16 -0
- package/build/services/types/db/withdrawal_service.d.ts.map +1 -0
- package/build/services/types/db/withdrawal_service.js +2 -0
- package/build/services/types/watchdog.d.ts +9 -0
- package/build/services/types/watchdog.d.ts.map +1 -0
- package/build/services/types/watchdog.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Events__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: false,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "receiver",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "amount",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "tokenAddress",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
indexed: false,
|
|
32
|
+
internalType: "uint256",
|
|
33
|
+
name: "requestId",
|
|
34
|
+
type: "uint256",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
name: "AdminWithdraw",
|
|
38
|
+
type: "event",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
anonymous: false,
|
|
42
|
+
inputs: [
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "enum Types.OperationType",
|
|
46
|
+
name: "opType",
|
|
47
|
+
type: "uint8",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: false,
|
|
51
|
+
internalType: "uint256",
|
|
52
|
+
name: "sigsManagerRequired",
|
|
53
|
+
type: "uint256",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
indexed: false,
|
|
57
|
+
internalType: "uint256",
|
|
58
|
+
name: "sigsExecutiveRequired",
|
|
59
|
+
type: "uint256",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
name: "ConfigureAdminMultisig",
|
|
63
|
+
type: "event",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
anonymous: false,
|
|
67
|
+
inputs: [
|
|
68
|
+
{
|
|
69
|
+
indexed: false,
|
|
70
|
+
internalType: "enum Types.OperationType",
|
|
71
|
+
name: "opType",
|
|
72
|
+
type: "uint8",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
indexed: true,
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "tokenAddress",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
indexed: false,
|
|
82
|
+
internalType: "uint256",
|
|
83
|
+
name: "thresholdAmount",
|
|
84
|
+
type: "uint256",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
indexed: false,
|
|
88
|
+
internalType: "uint8",
|
|
89
|
+
name: "sigsExecutiveBelow",
|
|
90
|
+
type: "uint8",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
indexed: false,
|
|
94
|
+
internalType: "uint8",
|
|
95
|
+
name: "sigsExecutiveAbove",
|
|
96
|
+
type: "uint8",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
indexed: false,
|
|
100
|
+
internalType: "uint8",
|
|
101
|
+
name: "sigsManagerBelow",
|
|
102
|
+
type: "uint8",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
indexed: false,
|
|
106
|
+
internalType: "uint8",
|
|
107
|
+
name: "sigsManagerAbove",
|
|
108
|
+
type: "uint8",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
name: "ConfigureTokenMultisig",
|
|
112
|
+
type: "event",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
anonymous: false,
|
|
116
|
+
inputs: [
|
|
117
|
+
{
|
|
118
|
+
indexed: false,
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "payer",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
indexed: false,
|
|
125
|
+
internalType: "address",
|
|
126
|
+
name: "tokenAddress",
|
|
127
|
+
type: "address",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
indexed: false,
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "amount",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
indexed: false,
|
|
137
|
+
internalType: "string",
|
|
138
|
+
name: "bonusCode",
|
|
139
|
+
type: "string",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
name: "Deposit",
|
|
143
|
+
type: "event",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
anonymous: false,
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: "FundWallets",
|
|
149
|
+
type: "event",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
anonymous: false,
|
|
153
|
+
inputs: [
|
|
154
|
+
{
|
|
155
|
+
indexed: false,
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "funder",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: false,
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "token",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
indexed: false,
|
|
168
|
+
internalType: "uint256",
|
|
169
|
+
name: "amount",
|
|
170
|
+
type: "uint256",
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
name: "FundedContract",
|
|
174
|
+
type: "event",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
anonymous: false,
|
|
178
|
+
inputs: [
|
|
179
|
+
{
|
|
180
|
+
indexed: false,
|
|
181
|
+
internalType: "address",
|
|
182
|
+
name: "user",
|
|
183
|
+
type: "address",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
indexed: false,
|
|
187
|
+
internalType: "address",
|
|
188
|
+
name: "requestedToken",
|
|
189
|
+
type: "address",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
indexed: false,
|
|
193
|
+
internalType: "uint256",
|
|
194
|
+
name: "amountRequested",
|
|
195
|
+
type: "uint256",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
indexed: false,
|
|
199
|
+
internalType: "uint256",
|
|
200
|
+
name: "availableReserves",
|
|
201
|
+
type: "uint256",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
name: "LowReserves",
|
|
205
|
+
type: "event",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
anonymous: false,
|
|
209
|
+
inputs: [
|
|
210
|
+
{
|
|
211
|
+
indexed: false,
|
|
212
|
+
internalType: "uint256",
|
|
213
|
+
name: "amount",
|
|
214
|
+
type: "uint256",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
name: "SetMaxFunding",
|
|
218
|
+
type: "event",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
anonymous: false,
|
|
222
|
+
inputs: [
|
|
223
|
+
{
|
|
224
|
+
indexed: true,
|
|
225
|
+
internalType: "address",
|
|
226
|
+
name: "receiverAddress",
|
|
227
|
+
type: "address",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
indexed: false,
|
|
231
|
+
internalType: "uint256",
|
|
232
|
+
name: "duration",
|
|
233
|
+
type: "uint256",
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
name: "SetTimelockGranular",
|
|
237
|
+
type: "event",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
anonymous: false,
|
|
241
|
+
inputs: [
|
|
242
|
+
{
|
|
243
|
+
indexed: true,
|
|
244
|
+
internalType: "address",
|
|
245
|
+
name: "tokenAddress",
|
|
246
|
+
type: "address",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
indexed: false,
|
|
250
|
+
internalType: "uint256",
|
|
251
|
+
name: "thresholdAmount",
|
|
252
|
+
type: "uint256",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
indexed: false,
|
|
256
|
+
internalType: "uint256",
|
|
257
|
+
name: "durationBelow",
|
|
258
|
+
type: "uint256",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: false,
|
|
262
|
+
internalType: "uint256",
|
|
263
|
+
name: "durationAbove",
|
|
264
|
+
type: "uint256",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "SetTokenTimelock",
|
|
268
|
+
type: "event",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
anonymous: false,
|
|
272
|
+
inputs: [
|
|
273
|
+
{
|
|
274
|
+
indexed: false,
|
|
275
|
+
internalType: "address",
|
|
276
|
+
name: "from",
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
indexed: false,
|
|
281
|
+
internalType: "address",
|
|
282
|
+
name: "to",
|
|
283
|
+
type: "address",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
indexed: false,
|
|
287
|
+
internalType: "address",
|
|
288
|
+
name: "token",
|
|
289
|
+
type: "address",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
indexed: false,
|
|
293
|
+
internalType: "uint256",
|
|
294
|
+
name: "amount",
|
|
295
|
+
type: "uint256",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
name: "SweepTokens",
|
|
299
|
+
type: "event",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
anonymous: false,
|
|
303
|
+
inputs: [
|
|
304
|
+
{
|
|
305
|
+
indexed: false,
|
|
306
|
+
internalType: "uint256",
|
|
307
|
+
name: "amount",
|
|
308
|
+
type: "uint256",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
indexed: false,
|
|
312
|
+
internalType: "uint256",
|
|
313
|
+
name: "blockNumber",
|
|
314
|
+
type: "uint256",
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
name: "TransactionCount",
|
|
318
|
+
type: "event",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
anonymous: false,
|
|
322
|
+
inputs: [
|
|
323
|
+
{
|
|
324
|
+
indexed: false,
|
|
325
|
+
internalType: "address",
|
|
326
|
+
name: "payer",
|
|
327
|
+
type: "address",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
indexed: false,
|
|
331
|
+
internalType: "address",
|
|
332
|
+
name: "receiver",
|
|
333
|
+
type: "address",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
indexed: false,
|
|
337
|
+
internalType: "address",
|
|
338
|
+
name: "tokenAddress",
|
|
339
|
+
type: "address",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
indexed: false,
|
|
343
|
+
internalType: "uint256",
|
|
344
|
+
name: "amount",
|
|
345
|
+
type: "uint256",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
indexed: false,
|
|
349
|
+
internalType: "uint256",
|
|
350
|
+
name: "requestId",
|
|
351
|
+
type: "uint256",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
indexed: false,
|
|
355
|
+
internalType: "uint32",
|
|
356
|
+
name: "batchSize",
|
|
357
|
+
type: "uint32",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
name: "Withdrawal",
|
|
361
|
+
type: "event",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
anonymous: false,
|
|
365
|
+
inputs: [
|
|
366
|
+
{
|
|
367
|
+
indexed: true,
|
|
368
|
+
internalType: "bytes32",
|
|
369
|
+
name: "commitmentHash",
|
|
370
|
+
type: "bytes32",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
indexed: true,
|
|
374
|
+
internalType: "uint256",
|
|
375
|
+
name: "requestId",
|
|
376
|
+
type: "uint256",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
name: "WithdrawalCancelled",
|
|
380
|
+
type: "event",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
anonymous: false,
|
|
384
|
+
inputs: [
|
|
385
|
+
{
|
|
386
|
+
indexed: true,
|
|
387
|
+
internalType: "bytes32",
|
|
388
|
+
name: "commitmentHash",
|
|
389
|
+
type: "bytes32",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
indexed: true,
|
|
393
|
+
internalType: "uint256",
|
|
394
|
+
name: "requestId",
|
|
395
|
+
type: "uint256",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
name: "WithdrawalExecuted",
|
|
399
|
+
type: "event",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
anonymous: false,
|
|
403
|
+
inputs: [
|
|
404
|
+
{
|
|
405
|
+
indexed: true,
|
|
406
|
+
internalType: "bytes32",
|
|
407
|
+
name: "commitmentHash",
|
|
408
|
+
type: "bytes32",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
indexed: true,
|
|
412
|
+
internalType: "uint256",
|
|
413
|
+
name: "requestId",
|
|
414
|
+
type: "uint256",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
indexed: false,
|
|
418
|
+
internalType: "uint256",
|
|
419
|
+
name: "amount",
|
|
420
|
+
type: "uint256",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
indexed: false,
|
|
424
|
+
internalType: "address",
|
|
425
|
+
name: "tokenAddress",
|
|
426
|
+
type: "address",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
indexed: false,
|
|
430
|
+
internalType: "address",
|
|
431
|
+
name: "receiverAddress",
|
|
432
|
+
type: "address",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
indexed: false,
|
|
436
|
+
internalType: "uint256",
|
|
437
|
+
name: "executeAt",
|
|
438
|
+
type: "uint256",
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
name: "WithdrawalScheduled",
|
|
442
|
+
type: "event",
|
|
443
|
+
},
|
|
444
|
+
];
|
|
445
|
+
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212205aaad1116e868cf10294e70805dd0721167e7869da522d58b58ad9e8c1ddfc5c64736f6c634300081c0033";
|
|
446
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
447
|
+
class Events__factory extends ethers_1.ContractFactory {
|
|
448
|
+
constructor(...args) {
|
|
449
|
+
if (isSuperArgs(args)) {
|
|
450
|
+
super(...args);
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
super(_abi, _bytecode, args[0]);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
getDeployTransaction(overrides) {
|
|
457
|
+
return super.getDeployTransaction(overrides || {});
|
|
458
|
+
}
|
|
459
|
+
deploy(overrides) {
|
|
460
|
+
return super.deploy(overrides || {});
|
|
461
|
+
}
|
|
462
|
+
connect(runner) {
|
|
463
|
+
return super.connect(runner);
|
|
464
|
+
}
|
|
465
|
+
static createInterface() {
|
|
466
|
+
return new ethers_1.Interface(_abi);
|
|
467
|
+
}
|
|
468
|
+
static connect(address, runner) {
|
|
469
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
exports.Events__factory = Events__factory;
|
|
473
|
+
Events__factory.bytecode = _bytecode;
|
|
474
|
+
Events__factory.abi = _abi;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
4
|
+
import type { MultisigLib, MultisigLibInterface } from "../../../contracts/lib/MultisigLib";
|
|
5
|
+
type MultisigLibConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class MultisigLib__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: MultisigLibConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<MultisigLib & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): MultisigLib__factory;
|
|
17
|
+
static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220b5f7e6d03a35ce48cab826e80ee9da9f04833a34f4dc08ea045cbedba43bdd3364736f6c634300081c0033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "uint256";
|
|
21
|
+
readonly name: "required";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "uint256";
|
|
25
|
+
readonly name: "provided";
|
|
26
|
+
readonly type: "uint256";
|
|
27
|
+
}];
|
|
28
|
+
readonly name: "InsufficientExecutiveSigs";
|
|
29
|
+
readonly type: "error";
|
|
30
|
+
}, {
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly internalType: "uint256";
|
|
33
|
+
readonly name: "requestId";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}, {
|
|
36
|
+
readonly internalType: "uint256";
|
|
37
|
+
readonly name: "required";
|
|
38
|
+
readonly type: "uint256";
|
|
39
|
+
}, {
|
|
40
|
+
readonly internalType: "uint256";
|
|
41
|
+
readonly name: "provided";
|
|
42
|
+
readonly type: "uint256";
|
|
43
|
+
}];
|
|
44
|
+
readonly name: "InsufficientExecutiveSigsForRequest";
|
|
45
|
+
readonly type: "error";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [{
|
|
48
|
+
readonly internalType: "uint256";
|
|
49
|
+
readonly name: "required";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}, {
|
|
52
|
+
readonly internalType: "uint256";
|
|
53
|
+
readonly name: "provided";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "InsufficientManagerSigs";
|
|
57
|
+
readonly type: "error";
|
|
58
|
+
}, {
|
|
59
|
+
readonly inputs: readonly [{
|
|
60
|
+
readonly internalType: "uint256";
|
|
61
|
+
readonly name: "requestId";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
}, {
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "required";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}, {
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "provided";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "InsufficientManagerSigsForRequest";
|
|
73
|
+
readonly type: "error";
|
|
74
|
+
}, {
|
|
75
|
+
readonly inputs: readonly [{
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
readonly name: "sig_idx";
|
|
78
|
+
readonly type: "uint256";
|
|
79
|
+
}];
|
|
80
|
+
readonly name: "InvalidMultiSig";
|
|
81
|
+
readonly type: "error";
|
|
82
|
+
}, {
|
|
83
|
+
readonly inputs: readonly [{
|
|
84
|
+
readonly internalType: "uint256";
|
|
85
|
+
readonly name: "requestId";
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
}, {
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
readonly name: "sig_idx";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "InvalidMultiSigForRequest";
|
|
93
|
+
readonly type: "error";
|
|
94
|
+
}];
|
|
95
|
+
static createInterface(): MultisigLibInterface;
|
|
96
|
+
static connect(address: string, runner?: ContractRunner | null): MultisigLib;
|
|
97
|
+
}
|
|
98
|
+
export {};
|
|
99
|
+
//# sourceMappingURL=MultisigLib__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultisigLib__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/lib/MultisigLib__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,WAAW,EACX,oBAAoB,EACrB,MAAM,oCAAoC,CAAC;AA6G5C,KAAK,4BAA4B,GAC7B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,oBAAqB,SAAQ,eAAe;gBAC3C,GAAG,IAAI,EAAE,4BAA4B;IAQxC,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,WAAW,GAAG;QACZ,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,oBAAoB;IAIrE,MAAM,CAAC,QAAQ,CAAC,QAAQ,kLAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oBAAoB;IAG9C,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,WAAW;CAG7E"}
|