@instadapp/interop-x 0.0.0-dev.9387bd9 → 0.0.0-dev.f9253db
Sign up to get free protection for your applications and to get access to all the features.
- package/.env.example +2 -1
- package/dist/abi/erc20.json +350 -0
- package/dist/abi/gnosisSafe.json +747 -0
- package/dist/abi/index.js +15 -0
- package/dist/abi/interopBridgeToken.json +286 -0
- package/dist/abi/interopXGateway.json +184 -0
- package/dist/config/index.js +5 -1
- package/dist/constants/addresses.js +17 -2
- package/dist/constants/index.js +1 -0
- package/dist/constants/tokens.js +107 -0
- package/dist/db/models/index.js +1 -1
- package/dist/db/models/transaction.js +52 -0
- package/dist/db/sequelize.js +2 -1
- package/dist/index.js +24 -3
- package/dist/net/peer/index.js +5 -5
- package/dist/net/pool/index.js +2 -2
- package/dist/net/protocol/dial/BaseDialProtocol.js +1 -1
- package/dist/net/protocol/dial/SignatureDialProtocol.js +11 -13
- package/dist/net/protocol/index.js +3 -3
- package/dist/tasks/BaseTask.js +2 -2
- package/dist/tasks/InteropXGateway/SyncDepositEvents.js +79 -0
- package/dist/tasks/index.js +9 -1
- package/dist/typechain/Erc20.js +2 -0
- package/dist/typechain/GnosisSafe.js +2 -0
- package/dist/typechain/InteropBridgeToken.js +2 -0
- package/dist/typechain/InteropXGateway.js +2 -0
- package/dist/typechain/common.js +2 -0
- package/dist/typechain/factories/Erc20__factory.js +367 -0
- package/dist/typechain/factories/GnosisSafe__factory.js +1174 -0
- package/dist/typechain/factories/InteropBridgeToken__factory.js +459 -0
- package/dist/typechain/factories/InteropXGateway__factory.js +265 -0
- package/dist/typechain/factories/index.js +14 -0
- package/dist/typechain/index.js +35 -0
- package/dist/utils/index.js +14 -2
- package/package.json +12 -4
- package/src/abi/erc20.json +350 -0
- package/src/abi/gnosisSafe.json +747 -0
- package/src/abi/index.ts +11 -0
- package/src/abi/interopBridgeToken.json +286 -0
- package/src/abi/interopXGateway.json +184 -0
- package/src/config/index.ts +7 -1
- package/src/constants/addresses.ts +17 -2
- package/src/constants/index.ts +1 -0
- package/src/constants/tokens.ts +104 -0
- package/src/db/index.ts +1 -1
- package/src/db/models/index.ts +1 -1
- package/src/db/models/transaction.ts +92 -0
- package/src/db/sequelize.ts +2 -1
- package/src/index.ts +29 -4
- package/src/net/peer/index.ts +3 -3
- package/src/net/pool/index.ts +2 -2
- package/src/net/protocol/dial/BaseDialProtocol.ts +1 -1
- package/src/net/protocol/dial/SignatureDialProtocol.ts +13 -16
- package/src/net/protocol/index.ts +3 -3
- package/src/tasks/BaseTask.ts +2 -3
- package/src/tasks/InteropXGateway/SyncDepositEvents.ts +114 -0
- package/src/tasks/index.ts +4 -1
- package/src/typechain/Erc20.ts +491 -0
- package/src/typechain/GnosisSafe.ts +1728 -0
- package/src/typechain/InteropBridgeToken.ts +686 -0
- package/src/typechain/InteropXGateway.ts +407 -0
- package/src/typechain/common.ts +44 -0
- package/src/typechain/factories/Erc20__factory.ts +368 -0
- package/src/typechain/factories/GnosisSafe__factory.ts +1178 -0
- package/src/typechain/factories/InteropBridgeToken__factory.ts +466 -0
- package/src/typechain/factories/InteropXGateway__factory.ts +272 -0
- package/src/typechain/factories/index.ts +7 -0
- package/src/typechain/index.ts +12 -0
- package/src/types.ts +2 -2
- package/src/utils/index.ts +15 -2
- package/tsconfig.json +3 -0
- package/dist/db/models/execution.js +0 -38
- package/src/db/models/execution.ts +0 -57
@@ -0,0 +1,1728 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
import type {
|
5
|
+
BaseContract,
|
6
|
+
BigNumber,
|
7
|
+
BigNumberish,
|
8
|
+
BytesLike,
|
9
|
+
CallOverrides,
|
10
|
+
ContractTransaction,
|
11
|
+
Overrides,
|
12
|
+
PayableOverrides,
|
13
|
+
PopulatedTransaction,
|
14
|
+
Signer,
|
15
|
+
utils,
|
16
|
+
} from "ethers";
|
17
|
+
import type {
|
18
|
+
FunctionFragment,
|
19
|
+
Result,
|
20
|
+
EventFragment,
|
21
|
+
} from "@ethersproject/abi";
|
22
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
23
|
+
import type {
|
24
|
+
TypedEventFilter,
|
25
|
+
TypedEvent,
|
26
|
+
TypedListener,
|
27
|
+
OnEvent,
|
28
|
+
} from "./common";
|
29
|
+
|
30
|
+
export interface GnosisSafeInterface extends utils.Interface {
|
31
|
+
functions: {
|
32
|
+
"VERSION()": FunctionFragment;
|
33
|
+
"addOwnerWithThreshold(address,uint256)": FunctionFragment;
|
34
|
+
"approveHash(bytes32)": FunctionFragment;
|
35
|
+
"approvedHashes(address,bytes32)": FunctionFragment;
|
36
|
+
"changeThreshold(uint256)": FunctionFragment;
|
37
|
+
"checkNSignatures(bytes32,bytes,bytes,uint256)": FunctionFragment;
|
38
|
+
"checkSignatures(bytes32,bytes,bytes)": FunctionFragment;
|
39
|
+
"dataHashes(bytes32)": FunctionFragment;
|
40
|
+
"disableModule(address,address)": FunctionFragment;
|
41
|
+
"domainSeparator()": FunctionFragment;
|
42
|
+
"enableModule(address)": FunctionFragment;
|
43
|
+
"encodeTransactionData(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)": FunctionFragment;
|
44
|
+
"execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)": FunctionFragment;
|
45
|
+
"execTransactionFromModule(address,uint256,bytes,uint8)": FunctionFragment;
|
46
|
+
"execTransactionFromModuleReturnData(address,uint256,bytes,uint8)": FunctionFragment;
|
47
|
+
"getChainId()": FunctionFragment;
|
48
|
+
"getModulesPaginated(address,uint256)": FunctionFragment;
|
49
|
+
"getOwners()": FunctionFragment;
|
50
|
+
"getStorageAt(uint256,uint256)": FunctionFragment;
|
51
|
+
"getThreshold()": FunctionFragment;
|
52
|
+
"getTransactionHash(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)": FunctionFragment;
|
53
|
+
"isModuleEnabled(address)": FunctionFragment;
|
54
|
+
"isOwner(address)": FunctionFragment;
|
55
|
+
"nonce()": FunctionFragment;
|
56
|
+
"removeOwner(address,address,uint256)": FunctionFragment;
|
57
|
+
"requiredTxGas(address,uint256,bytes,uint8)": FunctionFragment;
|
58
|
+
"setFallbackHandler(address)": FunctionFragment;
|
59
|
+
"setGuard(address)": FunctionFragment;
|
60
|
+
"setup(address[],uint256,address,bytes,address,address,uint256,address)": FunctionFragment;
|
61
|
+
"signedMessages(bytes32)": FunctionFragment;
|
62
|
+
"simulateAndRevert(address,bytes)": FunctionFragment;
|
63
|
+
"swapOwner(address,address,address)": FunctionFragment;
|
64
|
+
};
|
65
|
+
|
66
|
+
getFunction(
|
67
|
+
nameOrSignatureOrTopic:
|
68
|
+
| "VERSION"
|
69
|
+
| "addOwnerWithThreshold"
|
70
|
+
| "approveHash"
|
71
|
+
| "approvedHashes"
|
72
|
+
| "changeThreshold"
|
73
|
+
| "checkNSignatures"
|
74
|
+
| "checkSignatures"
|
75
|
+
| "dataHashes"
|
76
|
+
| "disableModule"
|
77
|
+
| "domainSeparator"
|
78
|
+
| "enableModule"
|
79
|
+
| "encodeTransactionData"
|
80
|
+
| "execTransaction"
|
81
|
+
| "execTransactionFromModule"
|
82
|
+
| "execTransactionFromModuleReturnData"
|
83
|
+
| "getChainId"
|
84
|
+
| "getModulesPaginated"
|
85
|
+
| "getOwners"
|
86
|
+
| "getStorageAt"
|
87
|
+
| "getThreshold"
|
88
|
+
| "getTransactionHash"
|
89
|
+
| "isModuleEnabled"
|
90
|
+
| "isOwner"
|
91
|
+
| "nonce"
|
92
|
+
| "removeOwner"
|
93
|
+
| "requiredTxGas"
|
94
|
+
| "setFallbackHandler"
|
95
|
+
| "setGuard"
|
96
|
+
| "setup"
|
97
|
+
| "signedMessages"
|
98
|
+
| "simulateAndRevert"
|
99
|
+
| "swapOwner"
|
100
|
+
): FunctionFragment;
|
101
|
+
|
102
|
+
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
|
103
|
+
encodeFunctionData(
|
104
|
+
functionFragment: "addOwnerWithThreshold",
|
105
|
+
values: [string, BigNumberish]
|
106
|
+
): string;
|
107
|
+
encodeFunctionData(
|
108
|
+
functionFragment: "approveHash",
|
109
|
+
values: [BytesLike]
|
110
|
+
): string;
|
111
|
+
encodeFunctionData(
|
112
|
+
functionFragment: "approvedHashes",
|
113
|
+
values: [string, BytesLike]
|
114
|
+
): string;
|
115
|
+
encodeFunctionData(
|
116
|
+
functionFragment: "changeThreshold",
|
117
|
+
values: [BigNumberish]
|
118
|
+
): string;
|
119
|
+
encodeFunctionData(
|
120
|
+
functionFragment: "checkNSignatures",
|
121
|
+
values: [BytesLike, BytesLike, BytesLike, BigNumberish]
|
122
|
+
): string;
|
123
|
+
encodeFunctionData(
|
124
|
+
functionFragment: "checkSignatures",
|
125
|
+
values: [BytesLike, BytesLike, BytesLike]
|
126
|
+
): string;
|
127
|
+
encodeFunctionData(
|
128
|
+
functionFragment: "dataHashes",
|
129
|
+
values: [BytesLike]
|
130
|
+
): string;
|
131
|
+
encodeFunctionData(
|
132
|
+
functionFragment: "disableModule",
|
133
|
+
values: [string, string]
|
134
|
+
): string;
|
135
|
+
encodeFunctionData(
|
136
|
+
functionFragment: "domainSeparator",
|
137
|
+
values?: undefined
|
138
|
+
): string;
|
139
|
+
encodeFunctionData(
|
140
|
+
functionFragment: "enableModule",
|
141
|
+
values: [string]
|
142
|
+
): string;
|
143
|
+
encodeFunctionData(
|
144
|
+
functionFragment: "encodeTransactionData",
|
145
|
+
values: [
|
146
|
+
string,
|
147
|
+
BigNumberish,
|
148
|
+
BytesLike,
|
149
|
+
BigNumberish,
|
150
|
+
BigNumberish,
|
151
|
+
BigNumberish,
|
152
|
+
BigNumberish,
|
153
|
+
string,
|
154
|
+
string,
|
155
|
+
BigNumberish
|
156
|
+
]
|
157
|
+
): string;
|
158
|
+
encodeFunctionData(
|
159
|
+
functionFragment: "execTransaction",
|
160
|
+
values: [
|
161
|
+
string,
|
162
|
+
BigNumberish,
|
163
|
+
BytesLike,
|
164
|
+
BigNumberish,
|
165
|
+
BigNumberish,
|
166
|
+
BigNumberish,
|
167
|
+
BigNumberish,
|
168
|
+
string,
|
169
|
+
string,
|
170
|
+
BytesLike
|
171
|
+
]
|
172
|
+
): string;
|
173
|
+
encodeFunctionData(
|
174
|
+
functionFragment: "execTransactionFromModule",
|
175
|
+
values: [string, BigNumberish, BytesLike, BigNumberish]
|
176
|
+
): string;
|
177
|
+
encodeFunctionData(
|
178
|
+
functionFragment: "execTransactionFromModuleReturnData",
|
179
|
+
values: [string, BigNumberish, BytesLike, BigNumberish]
|
180
|
+
): string;
|
181
|
+
encodeFunctionData(
|
182
|
+
functionFragment: "getChainId",
|
183
|
+
values?: undefined
|
184
|
+
): string;
|
185
|
+
encodeFunctionData(
|
186
|
+
functionFragment: "getModulesPaginated",
|
187
|
+
values: [string, BigNumberish]
|
188
|
+
): string;
|
189
|
+
encodeFunctionData(functionFragment: "getOwners", values?: undefined): string;
|
190
|
+
encodeFunctionData(
|
191
|
+
functionFragment: "getStorageAt",
|
192
|
+
values: [BigNumberish, BigNumberish]
|
193
|
+
): string;
|
194
|
+
encodeFunctionData(
|
195
|
+
functionFragment: "getThreshold",
|
196
|
+
values?: undefined
|
197
|
+
): string;
|
198
|
+
encodeFunctionData(
|
199
|
+
functionFragment: "getTransactionHash",
|
200
|
+
values: [
|
201
|
+
string,
|
202
|
+
BigNumberish,
|
203
|
+
BytesLike,
|
204
|
+
BigNumberish,
|
205
|
+
BigNumberish,
|
206
|
+
BigNumberish,
|
207
|
+
BigNumberish,
|
208
|
+
string,
|
209
|
+
string,
|
210
|
+
BigNumberish
|
211
|
+
]
|
212
|
+
): string;
|
213
|
+
encodeFunctionData(
|
214
|
+
functionFragment: "isModuleEnabled",
|
215
|
+
values: [string]
|
216
|
+
): string;
|
217
|
+
encodeFunctionData(functionFragment: "isOwner", values: [string]): string;
|
218
|
+
encodeFunctionData(functionFragment: "nonce", values?: undefined): string;
|
219
|
+
encodeFunctionData(
|
220
|
+
functionFragment: "removeOwner",
|
221
|
+
values: [string, string, BigNumberish]
|
222
|
+
): string;
|
223
|
+
encodeFunctionData(
|
224
|
+
functionFragment: "requiredTxGas",
|
225
|
+
values: [string, BigNumberish, BytesLike, BigNumberish]
|
226
|
+
): string;
|
227
|
+
encodeFunctionData(
|
228
|
+
functionFragment: "setFallbackHandler",
|
229
|
+
values: [string]
|
230
|
+
): string;
|
231
|
+
encodeFunctionData(functionFragment: "setGuard", values: [string]): string;
|
232
|
+
encodeFunctionData(
|
233
|
+
functionFragment: "setup",
|
234
|
+
values: [
|
235
|
+
string[],
|
236
|
+
BigNumberish,
|
237
|
+
string,
|
238
|
+
BytesLike,
|
239
|
+
string,
|
240
|
+
string,
|
241
|
+
BigNumberish,
|
242
|
+
string
|
243
|
+
]
|
244
|
+
): string;
|
245
|
+
encodeFunctionData(
|
246
|
+
functionFragment: "signedMessages",
|
247
|
+
values: [BytesLike]
|
248
|
+
): string;
|
249
|
+
encodeFunctionData(
|
250
|
+
functionFragment: "simulateAndRevert",
|
251
|
+
values: [string, BytesLike]
|
252
|
+
): string;
|
253
|
+
encodeFunctionData(
|
254
|
+
functionFragment: "swapOwner",
|
255
|
+
values: [string, string, string]
|
256
|
+
): string;
|
257
|
+
|
258
|
+
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
|
259
|
+
decodeFunctionResult(
|
260
|
+
functionFragment: "addOwnerWithThreshold",
|
261
|
+
data: BytesLike
|
262
|
+
): Result;
|
263
|
+
decodeFunctionResult(
|
264
|
+
functionFragment: "approveHash",
|
265
|
+
data: BytesLike
|
266
|
+
): Result;
|
267
|
+
decodeFunctionResult(
|
268
|
+
functionFragment: "approvedHashes",
|
269
|
+
data: BytesLike
|
270
|
+
): Result;
|
271
|
+
decodeFunctionResult(
|
272
|
+
functionFragment: "changeThreshold",
|
273
|
+
data: BytesLike
|
274
|
+
): Result;
|
275
|
+
decodeFunctionResult(
|
276
|
+
functionFragment: "checkNSignatures",
|
277
|
+
data: BytesLike
|
278
|
+
): Result;
|
279
|
+
decodeFunctionResult(
|
280
|
+
functionFragment: "checkSignatures",
|
281
|
+
data: BytesLike
|
282
|
+
): Result;
|
283
|
+
decodeFunctionResult(functionFragment: "dataHashes", data: BytesLike): Result;
|
284
|
+
decodeFunctionResult(
|
285
|
+
functionFragment: "disableModule",
|
286
|
+
data: BytesLike
|
287
|
+
): Result;
|
288
|
+
decodeFunctionResult(
|
289
|
+
functionFragment: "domainSeparator",
|
290
|
+
data: BytesLike
|
291
|
+
): Result;
|
292
|
+
decodeFunctionResult(
|
293
|
+
functionFragment: "enableModule",
|
294
|
+
data: BytesLike
|
295
|
+
): Result;
|
296
|
+
decodeFunctionResult(
|
297
|
+
functionFragment: "encodeTransactionData",
|
298
|
+
data: BytesLike
|
299
|
+
): Result;
|
300
|
+
decodeFunctionResult(
|
301
|
+
functionFragment: "execTransaction",
|
302
|
+
data: BytesLike
|
303
|
+
): Result;
|
304
|
+
decodeFunctionResult(
|
305
|
+
functionFragment: "execTransactionFromModule",
|
306
|
+
data: BytesLike
|
307
|
+
): Result;
|
308
|
+
decodeFunctionResult(
|
309
|
+
functionFragment: "execTransactionFromModuleReturnData",
|
310
|
+
data: BytesLike
|
311
|
+
): Result;
|
312
|
+
decodeFunctionResult(functionFragment: "getChainId", data: BytesLike): Result;
|
313
|
+
decodeFunctionResult(
|
314
|
+
functionFragment: "getModulesPaginated",
|
315
|
+
data: BytesLike
|
316
|
+
): Result;
|
317
|
+
decodeFunctionResult(functionFragment: "getOwners", data: BytesLike): Result;
|
318
|
+
decodeFunctionResult(
|
319
|
+
functionFragment: "getStorageAt",
|
320
|
+
data: BytesLike
|
321
|
+
): Result;
|
322
|
+
decodeFunctionResult(
|
323
|
+
functionFragment: "getThreshold",
|
324
|
+
data: BytesLike
|
325
|
+
): Result;
|
326
|
+
decodeFunctionResult(
|
327
|
+
functionFragment: "getTransactionHash",
|
328
|
+
data: BytesLike
|
329
|
+
): Result;
|
330
|
+
decodeFunctionResult(
|
331
|
+
functionFragment: "isModuleEnabled",
|
332
|
+
data: BytesLike
|
333
|
+
): Result;
|
334
|
+
decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result;
|
335
|
+
decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result;
|
336
|
+
decodeFunctionResult(
|
337
|
+
functionFragment: "removeOwner",
|
338
|
+
data: BytesLike
|
339
|
+
): Result;
|
340
|
+
decodeFunctionResult(
|
341
|
+
functionFragment: "requiredTxGas",
|
342
|
+
data: BytesLike
|
343
|
+
): Result;
|
344
|
+
decodeFunctionResult(
|
345
|
+
functionFragment: "setFallbackHandler",
|
346
|
+
data: BytesLike
|
347
|
+
): Result;
|
348
|
+
decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result;
|
349
|
+
decodeFunctionResult(functionFragment: "setup", data: BytesLike): Result;
|
350
|
+
decodeFunctionResult(
|
351
|
+
functionFragment: "signedMessages",
|
352
|
+
data: BytesLike
|
353
|
+
): Result;
|
354
|
+
decodeFunctionResult(
|
355
|
+
functionFragment: "simulateAndRevert",
|
356
|
+
data: BytesLike
|
357
|
+
): Result;
|
358
|
+
decodeFunctionResult(functionFragment: "swapOwner", data: BytesLike): Result;
|
359
|
+
|
360
|
+
events: {
|
361
|
+
"AddedOwner(address)": EventFragment;
|
362
|
+
"ApproveHash(bytes32,address)": EventFragment;
|
363
|
+
"ChangedFallbackHandler(address)": EventFragment;
|
364
|
+
"ChangedGuard(address)": EventFragment;
|
365
|
+
"ChangedThreshold(uint256)": EventFragment;
|
366
|
+
"DisabledModule(address)": EventFragment;
|
367
|
+
"EnabledModule(address)": EventFragment;
|
368
|
+
"ExecutionFailure(bytes32,uint256)": EventFragment;
|
369
|
+
"ExecutionFromModuleFailure(address)": EventFragment;
|
370
|
+
"ExecutionFromModuleSuccess(address)": EventFragment;
|
371
|
+
"ExecutionSuccess(bytes32,uint256)": EventFragment;
|
372
|
+
"RemovedOwner(address)": EventFragment;
|
373
|
+
"SafeModuleTransaction(address,address,uint256,bytes,uint8)": EventFragment;
|
374
|
+
"SafeMultiSigTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,bytes)": EventFragment;
|
375
|
+
"SafeReceived(address,uint256)": EventFragment;
|
376
|
+
"SafeSetup(address,address[],uint256,address,address)": EventFragment;
|
377
|
+
"SignMsg(bytes32)": EventFragment;
|
378
|
+
};
|
379
|
+
|
380
|
+
getEvent(nameOrSignatureOrTopic: "AddedOwner"): EventFragment;
|
381
|
+
getEvent(nameOrSignatureOrTopic: "ApproveHash"): EventFragment;
|
382
|
+
getEvent(nameOrSignatureOrTopic: "ChangedFallbackHandler"): EventFragment;
|
383
|
+
getEvent(nameOrSignatureOrTopic: "ChangedGuard"): EventFragment;
|
384
|
+
getEvent(nameOrSignatureOrTopic: "ChangedThreshold"): EventFragment;
|
385
|
+
getEvent(nameOrSignatureOrTopic: "DisabledModule"): EventFragment;
|
386
|
+
getEvent(nameOrSignatureOrTopic: "EnabledModule"): EventFragment;
|
387
|
+
getEvent(nameOrSignatureOrTopic: "ExecutionFailure"): EventFragment;
|
388
|
+
getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleFailure"): EventFragment;
|
389
|
+
getEvent(nameOrSignatureOrTopic: "ExecutionFromModuleSuccess"): EventFragment;
|
390
|
+
getEvent(nameOrSignatureOrTopic: "ExecutionSuccess"): EventFragment;
|
391
|
+
getEvent(nameOrSignatureOrTopic: "RemovedOwner"): EventFragment;
|
392
|
+
getEvent(nameOrSignatureOrTopic: "SafeModuleTransaction"): EventFragment;
|
393
|
+
getEvent(nameOrSignatureOrTopic: "SafeMultiSigTransaction"): EventFragment;
|
394
|
+
getEvent(nameOrSignatureOrTopic: "SafeReceived"): EventFragment;
|
395
|
+
getEvent(nameOrSignatureOrTopic: "SafeSetup"): EventFragment;
|
396
|
+
getEvent(nameOrSignatureOrTopic: "SignMsg"): EventFragment;
|
397
|
+
}
|
398
|
+
|
399
|
+
export interface AddedOwnerEventObject {
|
400
|
+
owner: string;
|
401
|
+
}
|
402
|
+
export type AddedOwnerEvent = TypedEvent<[string], AddedOwnerEventObject>;
|
403
|
+
|
404
|
+
export type AddedOwnerEventFilter = TypedEventFilter<AddedOwnerEvent>;
|
405
|
+
|
406
|
+
export interface ApproveHashEventObject {
|
407
|
+
approvedHash: string;
|
408
|
+
owner: string;
|
409
|
+
}
|
410
|
+
export type ApproveHashEvent = TypedEvent<
|
411
|
+
[string, string],
|
412
|
+
ApproveHashEventObject
|
413
|
+
>;
|
414
|
+
|
415
|
+
export type ApproveHashEventFilter = TypedEventFilter<ApproveHashEvent>;
|
416
|
+
|
417
|
+
export interface ChangedFallbackHandlerEventObject {
|
418
|
+
handler: string;
|
419
|
+
}
|
420
|
+
export type ChangedFallbackHandlerEvent = TypedEvent<
|
421
|
+
[string],
|
422
|
+
ChangedFallbackHandlerEventObject
|
423
|
+
>;
|
424
|
+
|
425
|
+
export type ChangedFallbackHandlerEventFilter =
|
426
|
+
TypedEventFilter<ChangedFallbackHandlerEvent>;
|
427
|
+
|
428
|
+
export interface ChangedGuardEventObject {
|
429
|
+
guard: string;
|
430
|
+
}
|
431
|
+
export type ChangedGuardEvent = TypedEvent<[string], ChangedGuardEventObject>;
|
432
|
+
|
433
|
+
export type ChangedGuardEventFilter = TypedEventFilter<ChangedGuardEvent>;
|
434
|
+
|
435
|
+
export interface ChangedThresholdEventObject {
|
436
|
+
threshold: BigNumber;
|
437
|
+
}
|
438
|
+
export type ChangedThresholdEvent = TypedEvent<
|
439
|
+
[BigNumber],
|
440
|
+
ChangedThresholdEventObject
|
441
|
+
>;
|
442
|
+
|
443
|
+
export type ChangedThresholdEventFilter =
|
444
|
+
TypedEventFilter<ChangedThresholdEvent>;
|
445
|
+
|
446
|
+
export interface DisabledModuleEventObject {
|
447
|
+
module: string;
|
448
|
+
}
|
449
|
+
export type DisabledModuleEvent = TypedEvent<
|
450
|
+
[string],
|
451
|
+
DisabledModuleEventObject
|
452
|
+
>;
|
453
|
+
|
454
|
+
export type DisabledModuleEventFilter = TypedEventFilter<DisabledModuleEvent>;
|
455
|
+
|
456
|
+
export interface EnabledModuleEventObject {
|
457
|
+
module: string;
|
458
|
+
}
|
459
|
+
export type EnabledModuleEvent = TypedEvent<[string], EnabledModuleEventObject>;
|
460
|
+
|
461
|
+
export type EnabledModuleEventFilter = TypedEventFilter<EnabledModuleEvent>;
|
462
|
+
|
463
|
+
export interface ExecutionFailureEventObject {
|
464
|
+
txHash: string;
|
465
|
+
payment: BigNumber;
|
466
|
+
}
|
467
|
+
export type ExecutionFailureEvent = TypedEvent<
|
468
|
+
[string, BigNumber],
|
469
|
+
ExecutionFailureEventObject
|
470
|
+
>;
|
471
|
+
|
472
|
+
export type ExecutionFailureEventFilter =
|
473
|
+
TypedEventFilter<ExecutionFailureEvent>;
|
474
|
+
|
475
|
+
export interface ExecutionFromModuleFailureEventObject {
|
476
|
+
module: string;
|
477
|
+
}
|
478
|
+
export type ExecutionFromModuleFailureEvent = TypedEvent<
|
479
|
+
[string],
|
480
|
+
ExecutionFromModuleFailureEventObject
|
481
|
+
>;
|
482
|
+
|
483
|
+
export type ExecutionFromModuleFailureEventFilter =
|
484
|
+
TypedEventFilter<ExecutionFromModuleFailureEvent>;
|
485
|
+
|
486
|
+
export interface ExecutionFromModuleSuccessEventObject {
|
487
|
+
module: string;
|
488
|
+
}
|
489
|
+
export type ExecutionFromModuleSuccessEvent = TypedEvent<
|
490
|
+
[string],
|
491
|
+
ExecutionFromModuleSuccessEventObject
|
492
|
+
>;
|
493
|
+
|
494
|
+
export type ExecutionFromModuleSuccessEventFilter =
|
495
|
+
TypedEventFilter<ExecutionFromModuleSuccessEvent>;
|
496
|
+
|
497
|
+
export interface ExecutionSuccessEventObject {
|
498
|
+
txHash: string;
|
499
|
+
payment: BigNumber;
|
500
|
+
}
|
501
|
+
export type ExecutionSuccessEvent = TypedEvent<
|
502
|
+
[string, BigNumber],
|
503
|
+
ExecutionSuccessEventObject
|
504
|
+
>;
|
505
|
+
|
506
|
+
export type ExecutionSuccessEventFilter =
|
507
|
+
TypedEventFilter<ExecutionSuccessEvent>;
|
508
|
+
|
509
|
+
export interface RemovedOwnerEventObject {
|
510
|
+
owner: string;
|
511
|
+
}
|
512
|
+
export type RemovedOwnerEvent = TypedEvent<[string], RemovedOwnerEventObject>;
|
513
|
+
|
514
|
+
export type RemovedOwnerEventFilter = TypedEventFilter<RemovedOwnerEvent>;
|
515
|
+
|
516
|
+
export interface SafeModuleTransactionEventObject {
|
517
|
+
module: string;
|
518
|
+
to: string;
|
519
|
+
value: BigNumber;
|
520
|
+
data: string;
|
521
|
+
operation: number;
|
522
|
+
}
|
523
|
+
export type SafeModuleTransactionEvent = TypedEvent<
|
524
|
+
[string, string, BigNumber, string, number],
|
525
|
+
SafeModuleTransactionEventObject
|
526
|
+
>;
|
527
|
+
|
528
|
+
export type SafeModuleTransactionEventFilter =
|
529
|
+
TypedEventFilter<SafeModuleTransactionEvent>;
|
530
|
+
|
531
|
+
export interface SafeMultiSigTransactionEventObject {
|
532
|
+
to: string;
|
533
|
+
value: BigNumber;
|
534
|
+
data: string;
|
535
|
+
operation: number;
|
536
|
+
safeTxGas: BigNumber;
|
537
|
+
baseGas: BigNumber;
|
538
|
+
gasPrice: BigNumber;
|
539
|
+
gasToken: string;
|
540
|
+
refundReceiver: string;
|
541
|
+
signatures: string;
|
542
|
+
additionalInfo: string;
|
543
|
+
}
|
544
|
+
export type SafeMultiSigTransactionEvent = TypedEvent<
|
545
|
+
[
|
546
|
+
string,
|
547
|
+
BigNumber,
|
548
|
+
string,
|
549
|
+
number,
|
550
|
+
BigNumber,
|
551
|
+
BigNumber,
|
552
|
+
BigNumber,
|
553
|
+
string,
|
554
|
+
string,
|
555
|
+
string,
|
556
|
+
string
|
557
|
+
],
|
558
|
+
SafeMultiSigTransactionEventObject
|
559
|
+
>;
|
560
|
+
|
561
|
+
export type SafeMultiSigTransactionEventFilter =
|
562
|
+
TypedEventFilter<SafeMultiSigTransactionEvent>;
|
563
|
+
|
564
|
+
export interface SafeReceivedEventObject {
|
565
|
+
sender: string;
|
566
|
+
value: BigNumber;
|
567
|
+
}
|
568
|
+
export type SafeReceivedEvent = TypedEvent<
|
569
|
+
[string, BigNumber],
|
570
|
+
SafeReceivedEventObject
|
571
|
+
>;
|
572
|
+
|
573
|
+
export type SafeReceivedEventFilter = TypedEventFilter<SafeReceivedEvent>;
|
574
|
+
|
575
|
+
export interface SafeSetupEventObject {
|
576
|
+
initiator: string;
|
577
|
+
owners: string[];
|
578
|
+
threshold: BigNumber;
|
579
|
+
initializer: string;
|
580
|
+
fallbackHandler: string;
|
581
|
+
}
|
582
|
+
export type SafeSetupEvent = TypedEvent<
|
583
|
+
[string, string[], BigNumber, string, string],
|
584
|
+
SafeSetupEventObject
|
585
|
+
>;
|
586
|
+
|
587
|
+
export type SafeSetupEventFilter = TypedEventFilter<SafeSetupEvent>;
|
588
|
+
|
589
|
+
export interface SignMsgEventObject {
|
590
|
+
msgHash: string;
|
591
|
+
}
|
592
|
+
export type SignMsgEvent = TypedEvent<[string], SignMsgEventObject>;
|
593
|
+
|
594
|
+
export type SignMsgEventFilter = TypedEventFilter<SignMsgEvent>;
|
595
|
+
|
596
|
+
export interface GnosisSafe extends BaseContract {
|
597
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
598
|
+
attach(addressOrName: string): this;
|
599
|
+
deployed(): Promise<this>;
|
600
|
+
|
601
|
+
interface: GnosisSafeInterface;
|
602
|
+
|
603
|
+
queryFilter<TEvent extends TypedEvent>(
|
604
|
+
event: TypedEventFilter<TEvent>,
|
605
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
606
|
+
toBlock?: string | number | undefined
|
607
|
+
): Promise<Array<TEvent>>;
|
608
|
+
|
609
|
+
listeners<TEvent extends TypedEvent>(
|
610
|
+
eventFilter?: TypedEventFilter<TEvent>
|
611
|
+
): Array<TypedListener<TEvent>>;
|
612
|
+
listeners(eventName?: string): Array<Listener>;
|
613
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
614
|
+
eventFilter: TypedEventFilter<TEvent>
|
615
|
+
): this;
|
616
|
+
removeAllListeners(eventName?: string): this;
|
617
|
+
off: OnEvent<this>;
|
618
|
+
on: OnEvent<this>;
|
619
|
+
once: OnEvent<this>;
|
620
|
+
removeListener: OnEvent<this>;
|
621
|
+
|
622
|
+
functions: {
|
623
|
+
VERSION(overrides?: CallOverrides): Promise<[string]>;
|
624
|
+
|
625
|
+
addOwnerWithThreshold(
|
626
|
+
owner: string,
|
627
|
+
_threshold: BigNumberish,
|
628
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
629
|
+
): Promise<ContractTransaction>;
|
630
|
+
|
631
|
+
approveHash(
|
632
|
+
hashToApprove: BytesLike,
|
633
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
634
|
+
): Promise<ContractTransaction>;
|
635
|
+
|
636
|
+
approvedHashes(
|
637
|
+
arg0: string,
|
638
|
+
arg1: BytesLike,
|
639
|
+
overrides?: CallOverrides
|
640
|
+
): Promise<[BigNumber]>;
|
641
|
+
|
642
|
+
changeThreshold(
|
643
|
+
_threshold: BigNumberish,
|
644
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
645
|
+
): Promise<ContractTransaction>;
|
646
|
+
|
647
|
+
checkNSignatures(
|
648
|
+
dataHash: BytesLike,
|
649
|
+
data: BytesLike,
|
650
|
+
signatures: BytesLike,
|
651
|
+
requiredSignatures: BigNumberish,
|
652
|
+
overrides?: CallOverrides
|
653
|
+
): Promise<[void]>;
|
654
|
+
|
655
|
+
checkSignatures(
|
656
|
+
dataHash: BytesLike,
|
657
|
+
data: BytesLike,
|
658
|
+
signatures: BytesLike,
|
659
|
+
overrides?: CallOverrides
|
660
|
+
): Promise<[void]>;
|
661
|
+
|
662
|
+
dataHashes(arg0: BytesLike, overrides?: CallOverrides): Promise<[number]>;
|
663
|
+
|
664
|
+
disableModule(
|
665
|
+
prevModule: string,
|
666
|
+
module: string,
|
667
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
668
|
+
): Promise<ContractTransaction>;
|
669
|
+
|
670
|
+
domainSeparator(overrides?: CallOverrides): Promise<[string]>;
|
671
|
+
|
672
|
+
enableModule(
|
673
|
+
module: string,
|
674
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
675
|
+
): Promise<ContractTransaction>;
|
676
|
+
|
677
|
+
encodeTransactionData(
|
678
|
+
to: string,
|
679
|
+
value: BigNumberish,
|
680
|
+
data: BytesLike,
|
681
|
+
operation: BigNumberish,
|
682
|
+
safeTxGas: BigNumberish,
|
683
|
+
baseGas: BigNumberish,
|
684
|
+
gasPrice: BigNumberish,
|
685
|
+
gasToken: string,
|
686
|
+
refundReceiver: string,
|
687
|
+
_nonce: BigNumberish,
|
688
|
+
overrides?: CallOverrides
|
689
|
+
): Promise<[string]>;
|
690
|
+
|
691
|
+
execTransaction(
|
692
|
+
to: string,
|
693
|
+
value: BigNumberish,
|
694
|
+
data: BytesLike,
|
695
|
+
operation: BigNumberish,
|
696
|
+
safeTxGas: BigNumberish,
|
697
|
+
baseGas: BigNumberish,
|
698
|
+
gasPrice: BigNumberish,
|
699
|
+
gasToken: string,
|
700
|
+
refundReceiver: string,
|
701
|
+
signatures: BytesLike,
|
702
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
703
|
+
): Promise<ContractTransaction>;
|
704
|
+
|
705
|
+
execTransactionFromModule(
|
706
|
+
to: string,
|
707
|
+
value: BigNumberish,
|
708
|
+
data: BytesLike,
|
709
|
+
operation: BigNumberish,
|
710
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
711
|
+
): Promise<ContractTransaction>;
|
712
|
+
|
713
|
+
execTransactionFromModuleReturnData(
|
714
|
+
to: string,
|
715
|
+
value: BigNumberish,
|
716
|
+
data: BytesLike,
|
717
|
+
operation: BigNumberish,
|
718
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
719
|
+
): Promise<ContractTransaction>;
|
720
|
+
|
721
|
+
getChainId(overrides?: CallOverrides): Promise<[BigNumber]>;
|
722
|
+
|
723
|
+
getModulesPaginated(
|
724
|
+
start: string,
|
725
|
+
pageSize: BigNumberish,
|
726
|
+
overrides?: CallOverrides
|
727
|
+
): Promise<[string[], string] & { array: string[]; next: string }>;
|
728
|
+
|
729
|
+
getOwners(overrides?: CallOverrides): Promise<[string[]]>;
|
730
|
+
|
731
|
+
getStorageAt(
|
732
|
+
offset: BigNumberish,
|
733
|
+
length: BigNumberish,
|
734
|
+
overrides?: CallOverrides
|
735
|
+
): Promise<[string]>;
|
736
|
+
|
737
|
+
getThreshold(overrides?: CallOverrides): Promise<[BigNumber]>;
|
738
|
+
|
739
|
+
getTransactionHash(
|
740
|
+
to: string,
|
741
|
+
value: BigNumberish,
|
742
|
+
data: BytesLike,
|
743
|
+
operation: BigNumberish,
|
744
|
+
safeTxGas: BigNumberish,
|
745
|
+
baseGas: BigNumberish,
|
746
|
+
gasPrice: BigNumberish,
|
747
|
+
gasToken: string,
|
748
|
+
refundReceiver: string,
|
749
|
+
_nonce: BigNumberish,
|
750
|
+
overrides?: CallOverrides
|
751
|
+
): Promise<[string]>;
|
752
|
+
|
753
|
+
isModuleEnabled(
|
754
|
+
module: string,
|
755
|
+
overrides?: CallOverrides
|
756
|
+
): Promise<[boolean]>;
|
757
|
+
|
758
|
+
isOwner(owner: string, overrides?: CallOverrides): Promise<[boolean]>;
|
759
|
+
|
760
|
+
nonce(overrides?: CallOverrides): Promise<[BigNumber]>;
|
761
|
+
|
762
|
+
removeOwner(
|
763
|
+
prevOwner: string,
|
764
|
+
owner: string,
|
765
|
+
_threshold: BigNumberish,
|
766
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
767
|
+
): Promise<ContractTransaction>;
|
768
|
+
|
769
|
+
requiredTxGas(
|
770
|
+
to: string,
|
771
|
+
value: BigNumberish,
|
772
|
+
data: BytesLike,
|
773
|
+
operation: BigNumberish,
|
774
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
775
|
+
): Promise<ContractTransaction>;
|
776
|
+
|
777
|
+
setFallbackHandler(
|
778
|
+
handler: string,
|
779
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
780
|
+
): Promise<ContractTransaction>;
|
781
|
+
|
782
|
+
setGuard(
|
783
|
+
guard: string,
|
784
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
785
|
+
): Promise<ContractTransaction>;
|
786
|
+
|
787
|
+
setup(
|
788
|
+
_owners: string[],
|
789
|
+
_threshold: BigNumberish,
|
790
|
+
to: string,
|
791
|
+
data: BytesLike,
|
792
|
+
fallbackHandler: string,
|
793
|
+
paymentToken: string,
|
794
|
+
payment: BigNumberish,
|
795
|
+
paymentReceiver: string,
|
796
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
797
|
+
): Promise<ContractTransaction>;
|
798
|
+
|
799
|
+
signedMessages(
|
800
|
+
arg0: BytesLike,
|
801
|
+
overrides?: CallOverrides
|
802
|
+
): Promise<[BigNumber]>;
|
803
|
+
|
804
|
+
simulateAndRevert(
|
805
|
+
targetContract: string,
|
806
|
+
calldataPayload: BytesLike,
|
807
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
808
|
+
): Promise<ContractTransaction>;
|
809
|
+
|
810
|
+
swapOwner(
|
811
|
+
prevOwner: string,
|
812
|
+
oldOwner: string,
|
813
|
+
newOwner: string,
|
814
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
815
|
+
): Promise<ContractTransaction>;
|
816
|
+
};
|
817
|
+
|
818
|
+
VERSION(overrides?: CallOverrides): Promise<string>;
|
819
|
+
|
820
|
+
addOwnerWithThreshold(
|
821
|
+
owner: string,
|
822
|
+
_threshold: BigNumberish,
|
823
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
824
|
+
): Promise<ContractTransaction>;
|
825
|
+
|
826
|
+
approveHash(
|
827
|
+
hashToApprove: BytesLike,
|
828
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
829
|
+
): Promise<ContractTransaction>;
|
830
|
+
|
831
|
+
approvedHashes(
|
832
|
+
arg0: string,
|
833
|
+
arg1: BytesLike,
|
834
|
+
overrides?: CallOverrides
|
835
|
+
): Promise<BigNumber>;
|
836
|
+
|
837
|
+
changeThreshold(
|
838
|
+
_threshold: BigNumberish,
|
839
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
840
|
+
): Promise<ContractTransaction>;
|
841
|
+
|
842
|
+
checkNSignatures(
|
843
|
+
dataHash: BytesLike,
|
844
|
+
data: BytesLike,
|
845
|
+
signatures: BytesLike,
|
846
|
+
requiredSignatures: BigNumberish,
|
847
|
+
overrides?: CallOverrides
|
848
|
+
): Promise<void>;
|
849
|
+
|
850
|
+
checkSignatures(
|
851
|
+
dataHash: BytesLike,
|
852
|
+
data: BytesLike,
|
853
|
+
signatures: BytesLike,
|
854
|
+
overrides?: CallOverrides
|
855
|
+
): Promise<void>;
|
856
|
+
|
857
|
+
dataHashes(arg0: BytesLike, overrides?: CallOverrides): Promise<number>;
|
858
|
+
|
859
|
+
disableModule(
|
860
|
+
prevModule: string,
|
861
|
+
module: string,
|
862
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
863
|
+
): Promise<ContractTransaction>;
|
864
|
+
|
865
|
+
domainSeparator(overrides?: CallOverrides): Promise<string>;
|
866
|
+
|
867
|
+
enableModule(
|
868
|
+
module: string,
|
869
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
870
|
+
): Promise<ContractTransaction>;
|
871
|
+
|
872
|
+
encodeTransactionData(
|
873
|
+
to: string,
|
874
|
+
value: BigNumberish,
|
875
|
+
data: BytesLike,
|
876
|
+
operation: BigNumberish,
|
877
|
+
safeTxGas: BigNumberish,
|
878
|
+
baseGas: BigNumberish,
|
879
|
+
gasPrice: BigNumberish,
|
880
|
+
gasToken: string,
|
881
|
+
refundReceiver: string,
|
882
|
+
_nonce: BigNumberish,
|
883
|
+
overrides?: CallOverrides
|
884
|
+
): Promise<string>;
|
885
|
+
|
886
|
+
execTransaction(
|
887
|
+
to: string,
|
888
|
+
value: BigNumberish,
|
889
|
+
data: BytesLike,
|
890
|
+
operation: BigNumberish,
|
891
|
+
safeTxGas: BigNumberish,
|
892
|
+
baseGas: BigNumberish,
|
893
|
+
gasPrice: BigNumberish,
|
894
|
+
gasToken: string,
|
895
|
+
refundReceiver: string,
|
896
|
+
signatures: BytesLike,
|
897
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
898
|
+
): Promise<ContractTransaction>;
|
899
|
+
|
900
|
+
execTransactionFromModule(
|
901
|
+
to: string,
|
902
|
+
value: BigNumberish,
|
903
|
+
data: BytesLike,
|
904
|
+
operation: BigNumberish,
|
905
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
906
|
+
): Promise<ContractTransaction>;
|
907
|
+
|
908
|
+
execTransactionFromModuleReturnData(
|
909
|
+
to: string,
|
910
|
+
value: BigNumberish,
|
911
|
+
data: BytesLike,
|
912
|
+
operation: BigNumberish,
|
913
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
914
|
+
): Promise<ContractTransaction>;
|
915
|
+
|
916
|
+
getChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
917
|
+
|
918
|
+
getModulesPaginated(
|
919
|
+
start: string,
|
920
|
+
pageSize: BigNumberish,
|
921
|
+
overrides?: CallOverrides
|
922
|
+
): Promise<[string[], string] & { array: string[]; next: string }>;
|
923
|
+
|
924
|
+
getOwners(overrides?: CallOverrides): Promise<string[]>;
|
925
|
+
|
926
|
+
getStorageAt(
|
927
|
+
offset: BigNumberish,
|
928
|
+
length: BigNumberish,
|
929
|
+
overrides?: CallOverrides
|
930
|
+
): Promise<string>;
|
931
|
+
|
932
|
+
getThreshold(overrides?: CallOverrides): Promise<BigNumber>;
|
933
|
+
|
934
|
+
getTransactionHash(
|
935
|
+
to: string,
|
936
|
+
value: BigNumberish,
|
937
|
+
data: BytesLike,
|
938
|
+
operation: BigNumberish,
|
939
|
+
safeTxGas: BigNumberish,
|
940
|
+
baseGas: BigNumberish,
|
941
|
+
gasPrice: BigNumberish,
|
942
|
+
gasToken: string,
|
943
|
+
refundReceiver: string,
|
944
|
+
_nonce: BigNumberish,
|
945
|
+
overrides?: CallOverrides
|
946
|
+
): Promise<string>;
|
947
|
+
|
948
|
+
isModuleEnabled(module: string, overrides?: CallOverrides): Promise<boolean>;
|
949
|
+
|
950
|
+
isOwner(owner: string, overrides?: CallOverrides): Promise<boolean>;
|
951
|
+
|
952
|
+
nonce(overrides?: CallOverrides): Promise<BigNumber>;
|
953
|
+
|
954
|
+
removeOwner(
|
955
|
+
prevOwner: string,
|
956
|
+
owner: string,
|
957
|
+
_threshold: BigNumberish,
|
958
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
959
|
+
): Promise<ContractTransaction>;
|
960
|
+
|
961
|
+
requiredTxGas(
|
962
|
+
to: string,
|
963
|
+
value: BigNumberish,
|
964
|
+
data: BytesLike,
|
965
|
+
operation: BigNumberish,
|
966
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
967
|
+
): Promise<ContractTransaction>;
|
968
|
+
|
969
|
+
setFallbackHandler(
|
970
|
+
handler: string,
|
971
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
972
|
+
): Promise<ContractTransaction>;
|
973
|
+
|
974
|
+
setGuard(
|
975
|
+
guard: string,
|
976
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
977
|
+
): Promise<ContractTransaction>;
|
978
|
+
|
979
|
+
setup(
|
980
|
+
_owners: string[],
|
981
|
+
_threshold: BigNumberish,
|
982
|
+
to: string,
|
983
|
+
data: BytesLike,
|
984
|
+
fallbackHandler: string,
|
985
|
+
paymentToken: string,
|
986
|
+
payment: BigNumberish,
|
987
|
+
paymentReceiver: string,
|
988
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
989
|
+
): Promise<ContractTransaction>;
|
990
|
+
|
991
|
+
signedMessages(
|
992
|
+
arg0: BytesLike,
|
993
|
+
overrides?: CallOverrides
|
994
|
+
): Promise<BigNumber>;
|
995
|
+
|
996
|
+
simulateAndRevert(
|
997
|
+
targetContract: string,
|
998
|
+
calldataPayload: BytesLike,
|
999
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1000
|
+
): Promise<ContractTransaction>;
|
1001
|
+
|
1002
|
+
swapOwner(
|
1003
|
+
prevOwner: string,
|
1004
|
+
oldOwner: string,
|
1005
|
+
newOwner: string,
|
1006
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1007
|
+
): Promise<ContractTransaction>;
|
1008
|
+
|
1009
|
+
callStatic: {
|
1010
|
+
VERSION(overrides?: CallOverrides): Promise<string>;
|
1011
|
+
|
1012
|
+
addOwnerWithThreshold(
|
1013
|
+
owner: string,
|
1014
|
+
_threshold: BigNumberish,
|
1015
|
+
overrides?: CallOverrides
|
1016
|
+
): Promise<void>;
|
1017
|
+
|
1018
|
+
approveHash(
|
1019
|
+
hashToApprove: BytesLike,
|
1020
|
+
overrides?: CallOverrides
|
1021
|
+
): Promise<void>;
|
1022
|
+
|
1023
|
+
approvedHashes(
|
1024
|
+
arg0: string,
|
1025
|
+
arg1: BytesLike,
|
1026
|
+
overrides?: CallOverrides
|
1027
|
+
): Promise<BigNumber>;
|
1028
|
+
|
1029
|
+
changeThreshold(
|
1030
|
+
_threshold: BigNumberish,
|
1031
|
+
overrides?: CallOverrides
|
1032
|
+
): Promise<void>;
|
1033
|
+
|
1034
|
+
checkNSignatures(
|
1035
|
+
dataHash: BytesLike,
|
1036
|
+
data: BytesLike,
|
1037
|
+
signatures: BytesLike,
|
1038
|
+
requiredSignatures: BigNumberish,
|
1039
|
+
overrides?: CallOverrides
|
1040
|
+
): Promise<void>;
|
1041
|
+
|
1042
|
+
checkSignatures(
|
1043
|
+
dataHash: BytesLike,
|
1044
|
+
data: BytesLike,
|
1045
|
+
signatures: BytesLike,
|
1046
|
+
overrides?: CallOverrides
|
1047
|
+
): Promise<void>;
|
1048
|
+
|
1049
|
+
dataHashes(arg0: BytesLike, overrides?: CallOverrides): Promise<number>;
|
1050
|
+
|
1051
|
+
disableModule(
|
1052
|
+
prevModule: string,
|
1053
|
+
module: string,
|
1054
|
+
overrides?: CallOverrides
|
1055
|
+
): Promise<void>;
|
1056
|
+
|
1057
|
+
domainSeparator(overrides?: CallOverrides): Promise<string>;
|
1058
|
+
|
1059
|
+
enableModule(module: string, overrides?: CallOverrides): Promise<void>;
|
1060
|
+
|
1061
|
+
encodeTransactionData(
|
1062
|
+
to: string,
|
1063
|
+
value: BigNumberish,
|
1064
|
+
data: BytesLike,
|
1065
|
+
operation: BigNumberish,
|
1066
|
+
safeTxGas: BigNumberish,
|
1067
|
+
baseGas: BigNumberish,
|
1068
|
+
gasPrice: BigNumberish,
|
1069
|
+
gasToken: string,
|
1070
|
+
refundReceiver: string,
|
1071
|
+
_nonce: BigNumberish,
|
1072
|
+
overrides?: CallOverrides
|
1073
|
+
): Promise<string>;
|
1074
|
+
|
1075
|
+
execTransaction(
|
1076
|
+
to: string,
|
1077
|
+
value: BigNumberish,
|
1078
|
+
data: BytesLike,
|
1079
|
+
operation: BigNumberish,
|
1080
|
+
safeTxGas: BigNumberish,
|
1081
|
+
baseGas: BigNumberish,
|
1082
|
+
gasPrice: BigNumberish,
|
1083
|
+
gasToken: string,
|
1084
|
+
refundReceiver: string,
|
1085
|
+
signatures: BytesLike,
|
1086
|
+
overrides?: CallOverrides
|
1087
|
+
): Promise<boolean>;
|
1088
|
+
|
1089
|
+
execTransactionFromModule(
|
1090
|
+
to: string,
|
1091
|
+
value: BigNumberish,
|
1092
|
+
data: BytesLike,
|
1093
|
+
operation: BigNumberish,
|
1094
|
+
overrides?: CallOverrides
|
1095
|
+
): Promise<boolean>;
|
1096
|
+
|
1097
|
+
execTransactionFromModuleReturnData(
|
1098
|
+
to: string,
|
1099
|
+
value: BigNumberish,
|
1100
|
+
data: BytesLike,
|
1101
|
+
operation: BigNumberish,
|
1102
|
+
overrides?: CallOverrides
|
1103
|
+
): Promise<[boolean, string] & { success: boolean; returnData: string }>;
|
1104
|
+
|
1105
|
+
getChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
1106
|
+
|
1107
|
+
getModulesPaginated(
|
1108
|
+
start: string,
|
1109
|
+
pageSize: BigNumberish,
|
1110
|
+
overrides?: CallOverrides
|
1111
|
+
): Promise<[string[], string] & { array: string[]; next: string }>;
|
1112
|
+
|
1113
|
+
getOwners(overrides?: CallOverrides): Promise<string[]>;
|
1114
|
+
|
1115
|
+
getStorageAt(
|
1116
|
+
offset: BigNumberish,
|
1117
|
+
length: BigNumberish,
|
1118
|
+
overrides?: CallOverrides
|
1119
|
+
): Promise<string>;
|
1120
|
+
|
1121
|
+
getThreshold(overrides?: CallOverrides): Promise<BigNumber>;
|
1122
|
+
|
1123
|
+
getTransactionHash(
|
1124
|
+
to: string,
|
1125
|
+
value: BigNumberish,
|
1126
|
+
data: BytesLike,
|
1127
|
+
operation: BigNumberish,
|
1128
|
+
safeTxGas: BigNumberish,
|
1129
|
+
baseGas: BigNumberish,
|
1130
|
+
gasPrice: BigNumberish,
|
1131
|
+
gasToken: string,
|
1132
|
+
refundReceiver: string,
|
1133
|
+
_nonce: BigNumberish,
|
1134
|
+
overrides?: CallOverrides
|
1135
|
+
): Promise<string>;
|
1136
|
+
|
1137
|
+
isModuleEnabled(
|
1138
|
+
module: string,
|
1139
|
+
overrides?: CallOverrides
|
1140
|
+
): Promise<boolean>;
|
1141
|
+
|
1142
|
+
isOwner(owner: string, overrides?: CallOverrides): Promise<boolean>;
|
1143
|
+
|
1144
|
+
nonce(overrides?: CallOverrides): Promise<BigNumber>;
|
1145
|
+
|
1146
|
+
removeOwner(
|
1147
|
+
prevOwner: string,
|
1148
|
+
owner: string,
|
1149
|
+
_threshold: BigNumberish,
|
1150
|
+
overrides?: CallOverrides
|
1151
|
+
): Promise<void>;
|
1152
|
+
|
1153
|
+
requiredTxGas(
|
1154
|
+
to: string,
|
1155
|
+
value: BigNumberish,
|
1156
|
+
data: BytesLike,
|
1157
|
+
operation: BigNumberish,
|
1158
|
+
overrides?: CallOverrides
|
1159
|
+
): Promise<BigNumber>;
|
1160
|
+
|
1161
|
+
setFallbackHandler(
|
1162
|
+
handler: string,
|
1163
|
+
overrides?: CallOverrides
|
1164
|
+
): Promise<void>;
|
1165
|
+
|
1166
|
+
setGuard(guard: string, overrides?: CallOverrides): Promise<void>;
|
1167
|
+
|
1168
|
+
setup(
|
1169
|
+
_owners: string[],
|
1170
|
+
_threshold: BigNumberish,
|
1171
|
+
to: string,
|
1172
|
+
data: BytesLike,
|
1173
|
+
fallbackHandler: string,
|
1174
|
+
paymentToken: string,
|
1175
|
+
payment: BigNumberish,
|
1176
|
+
paymentReceiver: string,
|
1177
|
+
overrides?: CallOverrides
|
1178
|
+
): Promise<void>;
|
1179
|
+
|
1180
|
+
signedMessages(
|
1181
|
+
arg0: BytesLike,
|
1182
|
+
overrides?: CallOverrides
|
1183
|
+
): Promise<BigNumber>;
|
1184
|
+
|
1185
|
+
simulateAndRevert(
|
1186
|
+
targetContract: string,
|
1187
|
+
calldataPayload: BytesLike,
|
1188
|
+
overrides?: CallOverrides
|
1189
|
+
): Promise<void>;
|
1190
|
+
|
1191
|
+
swapOwner(
|
1192
|
+
prevOwner: string,
|
1193
|
+
oldOwner: string,
|
1194
|
+
newOwner: string,
|
1195
|
+
overrides?: CallOverrides
|
1196
|
+
): Promise<void>;
|
1197
|
+
};
|
1198
|
+
|
1199
|
+
filters: {
|
1200
|
+
"AddedOwner(address)"(owner?: null): AddedOwnerEventFilter;
|
1201
|
+
AddedOwner(owner?: null): AddedOwnerEventFilter;
|
1202
|
+
|
1203
|
+
"ApproveHash(bytes32,address)"(
|
1204
|
+
approvedHash?: BytesLike | null,
|
1205
|
+
owner?: string | null
|
1206
|
+
): ApproveHashEventFilter;
|
1207
|
+
ApproveHash(
|
1208
|
+
approvedHash?: BytesLike | null,
|
1209
|
+
owner?: string | null
|
1210
|
+
): ApproveHashEventFilter;
|
1211
|
+
|
1212
|
+
"ChangedFallbackHandler(address)"(
|
1213
|
+
handler?: null
|
1214
|
+
): ChangedFallbackHandlerEventFilter;
|
1215
|
+
ChangedFallbackHandler(handler?: null): ChangedFallbackHandlerEventFilter;
|
1216
|
+
|
1217
|
+
"ChangedGuard(address)"(guard?: null): ChangedGuardEventFilter;
|
1218
|
+
ChangedGuard(guard?: null): ChangedGuardEventFilter;
|
1219
|
+
|
1220
|
+
"ChangedThreshold(uint256)"(threshold?: null): ChangedThresholdEventFilter;
|
1221
|
+
ChangedThreshold(threshold?: null): ChangedThresholdEventFilter;
|
1222
|
+
|
1223
|
+
"DisabledModule(address)"(module?: null): DisabledModuleEventFilter;
|
1224
|
+
DisabledModule(module?: null): DisabledModuleEventFilter;
|
1225
|
+
|
1226
|
+
"EnabledModule(address)"(module?: null): EnabledModuleEventFilter;
|
1227
|
+
EnabledModule(module?: null): EnabledModuleEventFilter;
|
1228
|
+
|
1229
|
+
"ExecutionFailure(bytes32,uint256)"(
|
1230
|
+
txHash?: null,
|
1231
|
+
payment?: null
|
1232
|
+
): ExecutionFailureEventFilter;
|
1233
|
+
ExecutionFailure(
|
1234
|
+
txHash?: null,
|
1235
|
+
payment?: null
|
1236
|
+
): ExecutionFailureEventFilter;
|
1237
|
+
|
1238
|
+
"ExecutionFromModuleFailure(address)"(
|
1239
|
+
module?: string | null
|
1240
|
+
): ExecutionFromModuleFailureEventFilter;
|
1241
|
+
ExecutionFromModuleFailure(
|
1242
|
+
module?: string | null
|
1243
|
+
): ExecutionFromModuleFailureEventFilter;
|
1244
|
+
|
1245
|
+
"ExecutionFromModuleSuccess(address)"(
|
1246
|
+
module?: string | null
|
1247
|
+
): ExecutionFromModuleSuccessEventFilter;
|
1248
|
+
ExecutionFromModuleSuccess(
|
1249
|
+
module?: string | null
|
1250
|
+
): ExecutionFromModuleSuccessEventFilter;
|
1251
|
+
|
1252
|
+
"ExecutionSuccess(bytes32,uint256)"(
|
1253
|
+
txHash?: null,
|
1254
|
+
payment?: null
|
1255
|
+
): ExecutionSuccessEventFilter;
|
1256
|
+
ExecutionSuccess(
|
1257
|
+
txHash?: null,
|
1258
|
+
payment?: null
|
1259
|
+
): ExecutionSuccessEventFilter;
|
1260
|
+
|
1261
|
+
"RemovedOwner(address)"(owner?: null): RemovedOwnerEventFilter;
|
1262
|
+
RemovedOwner(owner?: null): RemovedOwnerEventFilter;
|
1263
|
+
|
1264
|
+
"SafeModuleTransaction(address,address,uint256,bytes,uint8)"(
|
1265
|
+
module?: null,
|
1266
|
+
to?: null,
|
1267
|
+
value?: null,
|
1268
|
+
data?: null,
|
1269
|
+
operation?: null
|
1270
|
+
): SafeModuleTransactionEventFilter;
|
1271
|
+
SafeModuleTransaction(
|
1272
|
+
module?: null,
|
1273
|
+
to?: null,
|
1274
|
+
value?: null,
|
1275
|
+
data?: null,
|
1276
|
+
operation?: null
|
1277
|
+
): SafeModuleTransactionEventFilter;
|
1278
|
+
|
1279
|
+
"SafeMultiSigTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,bytes)"(
|
1280
|
+
to?: null,
|
1281
|
+
value?: null,
|
1282
|
+
data?: null,
|
1283
|
+
operation?: null,
|
1284
|
+
safeTxGas?: null,
|
1285
|
+
baseGas?: null,
|
1286
|
+
gasPrice?: null,
|
1287
|
+
gasToken?: null,
|
1288
|
+
refundReceiver?: null,
|
1289
|
+
signatures?: null,
|
1290
|
+
additionalInfo?: null
|
1291
|
+
): SafeMultiSigTransactionEventFilter;
|
1292
|
+
SafeMultiSigTransaction(
|
1293
|
+
to?: null,
|
1294
|
+
value?: null,
|
1295
|
+
data?: null,
|
1296
|
+
operation?: null,
|
1297
|
+
safeTxGas?: null,
|
1298
|
+
baseGas?: null,
|
1299
|
+
gasPrice?: null,
|
1300
|
+
gasToken?: null,
|
1301
|
+
refundReceiver?: null,
|
1302
|
+
signatures?: null,
|
1303
|
+
additionalInfo?: null
|
1304
|
+
): SafeMultiSigTransactionEventFilter;
|
1305
|
+
|
1306
|
+
"SafeReceived(address,uint256)"(
|
1307
|
+
sender?: string | null,
|
1308
|
+
value?: null
|
1309
|
+
): SafeReceivedEventFilter;
|
1310
|
+
SafeReceived(sender?: string | null, value?: null): SafeReceivedEventFilter;
|
1311
|
+
|
1312
|
+
"SafeSetup(address,address[],uint256,address,address)"(
|
1313
|
+
initiator?: string | null,
|
1314
|
+
owners?: null,
|
1315
|
+
threshold?: null,
|
1316
|
+
initializer?: null,
|
1317
|
+
fallbackHandler?: null
|
1318
|
+
): SafeSetupEventFilter;
|
1319
|
+
SafeSetup(
|
1320
|
+
initiator?: string | null,
|
1321
|
+
owners?: null,
|
1322
|
+
threshold?: null,
|
1323
|
+
initializer?: null,
|
1324
|
+
fallbackHandler?: null
|
1325
|
+
): SafeSetupEventFilter;
|
1326
|
+
|
1327
|
+
"SignMsg(bytes32)"(msgHash?: BytesLike | null): SignMsgEventFilter;
|
1328
|
+
SignMsg(msgHash?: BytesLike | null): SignMsgEventFilter;
|
1329
|
+
};
|
1330
|
+
|
1331
|
+
estimateGas: {
|
1332
|
+
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
|
1333
|
+
|
1334
|
+
addOwnerWithThreshold(
|
1335
|
+
owner: string,
|
1336
|
+
_threshold: BigNumberish,
|
1337
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1338
|
+
): Promise<BigNumber>;
|
1339
|
+
|
1340
|
+
approveHash(
|
1341
|
+
hashToApprove: BytesLike,
|
1342
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1343
|
+
): Promise<BigNumber>;
|
1344
|
+
|
1345
|
+
approvedHashes(
|
1346
|
+
arg0: string,
|
1347
|
+
arg1: BytesLike,
|
1348
|
+
overrides?: CallOverrides
|
1349
|
+
): Promise<BigNumber>;
|
1350
|
+
|
1351
|
+
changeThreshold(
|
1352
|
+
_threshold: BigNumberish,
|
1353
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1354
|
+
): Promise<BigNumber>;
|
1355
|
+
|
1356
|
+
checkNSignatures(
|
1357
|
+
dataHash: BytesLike,
|
1358
|
+
data: BytesLike,
|
1359
|
+
signatures: BytesLike,
|
1360
|
+
requiredSignatures: BigNumberish,
|
1361
|
+
overrides?: CallOverrides
|
1362
|
+
): Promise<BigNumber>;
|
1363
|
+
|
1364
|
+
checkSignatures(
|
1365
|
+
dataHash: BytesLike,
|
1366
|
+
data: BytesLike,
|
1367
|
+
signatures: BytesLike,
|
1368
|
+
overrides?: CallOverrides
|
1369
|
+
): Promise<BigNumber>;
|
1370
|
+
|
1371
|
+
dataHashes(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
|
1372
|
+
|
1373
|
+
disableModule(
|
1374
|
+
prevModule: string,
|
1375
|
+
module: string,
|
1376
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1377
|
+
): Promise<BigNumber>;
|
1378
|
+
|
1379
|
+
domainSeparator(overrides?: CallOverrides): Promise<BigNumber>;
|
1380
|
+
|
1381
|
+
enableModule(
|
1382
|
+
module: string,
|
1383
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1384
|
+
): Promise<BigNumber>;
|
1385
|
+
|
1386
|
+
encodeTransactionData(
|
1387
|
+
to: string,
|
1388
|
+
value: BigNumberish,
|
1389
|
+
data: BytesLike,
|
1390
|
+
operation: BigNumberish,
|
1391
|
+
safeTxGas: BigNumberish,
|
1392
|
+
baseGas: BigNumberish,
|
1393
|
+
gasPrice: BigNumberish,
|
1394
|
+
gasToken: string,
|
1395
|
+
refundReceiver: string,
|
1396
|
+
_nonce: BigNumberish,
|
1397
|
+
overrides?: CallOverrides
|
1398
|
+
): Promise<BigNumber>;
|
1399
|
+
|
1400
|
+
execTransaction(
|
1401
|
+
to: string,
|
1402
|
+
value: BigNumberish,
|
1403
|
+
data: BytesLike,
|
1404
|
+
operation: BigNumberish,
|
1405
|
+
safeTxGas: BigNumberish,
|
1406
|
+
baseGas: BigNumberish,
|
1407
|
+
gasPrice: BigNumberish,
|
1408
|
+
gasToken: string,
|
1409
|
+
refundReceiver: string,
|
1410
|
+
signatures: BytesLike,
|
1411
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
1412
|
+
): Promise<BigNumber>;
|
1413
|
+
|
1414
|
+
execTransactionFromModule(
|
1415
|
+
to: string,
|
1416
|
+
value: BigNumberish,
|
1417
|
+
data: BytesLike,
|
1418
|
+
operation: BigNumberish,
|
1419
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1420
|
+
): Promise<BigNumber>;
|
1421
|
+
|
1422
|
+
execTransactionFromModuleReturnData(
|
1423
|
+
to: string,
|
1424
|
+
value: BigNumberish,
|
1425
|
+
data: BytesLike,
|
1426
|
+
operation: BigNumberish,
|
1427
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1428
|
+
): Promise<BigNumber>;
|
1429
|
+
|
1430
|
+
getChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
1431
|
+
|
1432
|
+
getModulesPaginated(
|
1433
|
+
start: string,
|
1434
|
+
pageSize: BigNumberish,
|
1435
|
+
overrides?: CallOverrides
|
1436
|
+
): Promise<BigNumber>;
|
1437
|
+
|
1438
|
+
getOwners(overrides?: CallOverrides): Promise<BigNumber>;
|
1439
|
+
|
1440
|
+
getStorageAt(
|
1441
|
+
offset: BigNumberish,
|
1442
|
+
length: BigNumberish,
|
1443
|
+
overrides?: CallOverrides
|
1444
|
+
): Promise<BigNumber>;
|
1445
|
+
|
1446
|
+
getThreshold(overrides?: CallOverrides): Promise<BigNumber>;
|
1447
|
+
|
1448
|
+
getTransactionHash(
|
1449
|
+
to: string,
|
1450
|
+
value: BigNumberish,
|
1451
|
+
data: BytesLike,
|
1452
|
+
operation: BigNumberish,
|
1453
|
+
safeTxGas: BigNumberish,
|
1454
|
+
baseGas: BigNumberish,
|
1455
|
+
gasPrice: BigNumberish,
|
1456
|
+
gasToken: string,
|
1457
|
+
refundReceiver: string,
|
1458
|
+
_nonce: BigNumberish,
|
1459
|
+
overrides?: CallOverrides
|
1460
|
+
): Promise<BigNumber>;
|
1461
|
+
|
1462
|
+
isModuleEnabled(
|
1463
|
+
module: string,
|
1464
|
+
overrides?: CallOverrides
|
1465
|
+
): Promise<BigNumber>;
|
1466
|
+
|
1467
|
+
isOwner(owner: string, overrides?: CallOverrides): Promise<BigNumber>;
|
1468
|
+
|
1469
|
+
nonce(overrides?: CallOverrides): Promise<BigNumber>;
|
1470
|
+
|
1471
|
+
removeOwner(
|
1472
|
+
prevOwner: string,
|
1473
|
+
owner: string,
|
1474
|
+
_threshold: BigNumberish,
|
1475
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1476
|
+
): Promise<BigNumber>;
|
1477
|
+
|
1478
|
+
requiredTxGas(
|
1479
|
+
to: string,
|
1480
|
+
value: BigNumberish,
|
1481
|
+
data: BytesLike,
|
1482
|
+
operation: BigNumberish,
|
1483
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1484
|
+
): Promise<BigNumber>;
|
1485
|
+
|
1486
|
+
setFallbackHandler(
|
1487
|
+
handler: string,
|
1488
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1489
|
+
): Promise<BigNumber>;
|
1490
|
+
|
1491
|
+
setGuard(
|
1492
|
+
guard: string,
|
1493
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1494
|
+
): Promise<BigNumber>;
|
1495
|
+
|
1496
|
+
setup(
|
1497
|
+
_owners: string[],
|
1498
|
+
_threshold: BigNumberish,
|
1499
|
+
to: string,
|
1500
|
+
data: BytesLike,
|
1501
|
+
fallbackHandler: string,
|
1502
|
+
paymentToken: string,
|
1503
|
+
payment: BigNumberish,
|
1504
|
+
paymentReceiver: string,
|
1505
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1506
|
+
): Promise<BigNumber>;
|
1507
|
+
|
1508
|
+
signedMessages(
|
1509
|
+
arg0: BytesLike,
|
1510
|
+
overrides?: CallOverrides
|
1511
|
+
): Promise<BigNumber>;
|
1512
|
+
|
1513
|
+
simulateAndRevert(
|
1514
|
+
targetContract: string,
|
1515
|
+
calldataPayload: BytesLike,
|
1516
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1517
|
+
): Promise<BigNumber>;
|
1518
|
+
|
1519
|
+
swapOwner(
|
1520
|
+
prevOwner: string,
|
1521
|
+
oldOwner: string,
|
1522
|
+
newOwner: string,
|
1523
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1524
|
+
): Promise<BigNumber>;
|
1525
|
+
};
|
1526
|
+
|
1527
|
+
populateTransaction: {
|
1528
|
+
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
1529
|
+
|
1530
|
+
addOwnerWithThreshold(
|
1531
|
+
owner: string,
|
1532
|
+
_threshold: BigNumberish,
|
1533
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1534
|
+
): Promise<PopulatedTransaction>;
|
1535
|
+
|
1536
|
+
approveHash(
|
1537
|
+
hashToApprove: BytesLike,
|
1538
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1539
|
+
): Promise<PopulatedTransaction>;
|
1540
|
+
|
1541
|
+
approvedHashes(
|
1542
|
+
arg0: string,
|
1543
|
+
arg1: BytesLike,
|
1544
|
+
overrides?: CallOverrides
|
1545
|
+
): Promise<PopulatedTransaction>;
|
1546
|
+
|
1547
|
+
changeThreshold(
|
1548
|
+
_threshold: BigNumberish,
|
1549
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1550
|
+
): Promise<PopulatedTransaction>;
|
1551
|
+
|
1552
|
+
checkNSignatures(
|
1553
|
+
dataHash: BytesLike,
|
1554
|
+
data: BytesLike,
|
1555
|
+
signatures: BytesLike,
|
1556
|
+
requiredSignatures: BigNumberish,
|
1557
|
+
overrides?: CallOverrides
|
1558
|
+
): Promise<PopulatedTransaction>;
|
1559
|
+
|
1560
|
+
checkSignatures(
|
1561
|
+
dataHash: BytesLike,
|
1562
|
+
data: BytesLike,
|
1563
|
+
signatures: BytesLike,
|
1564
|
+
overrides?: CallOverrides
|
1565
|
+
): Promise<PopulatedTransaction>;
|
1566
|
+
|
1567
|
+
dataHashes(
|
1568
|
+
arg0: BytesLike,
|
1569
|
+
overrides?: CallOverrides
|
1570
|
+
): Promise<PopulatedTransaction>;
|
1571
|
+
|
1572
|
+
disableModule(
|
1573
|
+
prevModule: string,
|
1574
|
+
module: string,
|
1575
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1576
|
+
): Promise<PopulatedTransaction>;
|
1577
|
+
|
1578
|
+
domainSeparator(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
1579
|
+
|
1580
|
+
enableModule(
|
1581
|
+
module: string,
|
1582
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1583
|
+
): Promise<PopulatedTransaction>;
|
1584
|
+
|
1585
|
+
encodeTransactionData(
|
1586
|
+
to: string,
|
1587
|
+
value: BigNumberish,
|
1588
|
+
data: BytesLike,
|
1589
|
+
operation: BigNumberish,
|
1590
|
+
safeTxGas: BigNumberish,
|
1591
|
+
baseGas: BigNumberish,
|
1592
|
+
gasPrice: BigNumberish,
|
1593
|
+
gasToken: string,
|
1594
|
+
refundReceiver: string,
|
1595
|
+
_nonce: BigNumberish,
|
1596
|
+
overrides?: CallOverrides
|
1597
|
+
): Promise<PopulatedTransaction>;
|
1598
|
+
|
1599
|
+
execTransaction(
|
1600
|
+
to: string,
|
1601
|
+
value: BigNumberish,
|
1602
|
+
data: BytesLike,
|
1603
|
+
operation: BigNumberish,
|
1604
|
+
safeTxGas: BigNumberish,
|
1605
|
+
baseGas: BigNumberish,
|
1606
|
+
gasPrice: BigNumberish,
|
1607
|
+
gasToken: string,
|
1608
|
+
refundReceiver: string,
|
1609
|
+
signatures: BytesLike,
|
1610
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
1611
|
+
): Promise<PopulatedTransaction>;
|
1612
|
+
|
1613
|
+
execTransactionFromModule(
|
1614
|
+
to: string,
|
1615
|
+
value: BigNumberish,
|
1616
|
+
data: BytesLike,
|
1617
|
+
operation: BigNumberish,
|
1618
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1619
|
+
): Promise<PopulatedTransaction>;
|
1620
|
+
|
1621
|
+
execTransactionFromModuleReturnData(
|
1622
|
+
to: string,
|
1623
|
+
value: BigNumberish,
|
1624
|
+
data: BytesLike,
|
1625
|
+
operation: BigNumberish,
|
1626
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1627
|
+
): Promise<PopulatedTransaction>;
|
1628
|
+
|
1629
|
+
getChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
1630
|
+
|
1631
|
+
getModulesPaginated(
|
1632
|
+
start: string,
|
1633
|
+
pageSize: BigNumberish,
|
1634
|
+
overrides?: CallOverrides
|
1635
|
+
): Promise<PopulatedTransaction>;
|
1636
|
+
|
1637
|
+
getOwners(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
1638
|
+
|
1639
|
+
getStorageAt(
|
1640
|
+
offset: BigNumberish,
|
1641
|
+
length: BigNumberish,
|
1642
|
+
overrides?: CallOverrides
|
1643
|
+
): Promise<PopulatedTransaction>;
|
1644
|
+
|
1645
|
+
getThreshold(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
1646
|
+
|
1647
|
+
getTransactionHash(
|
1648
|
+
to: string,
|
1649
|
+
value: BigNumberish,
|
1650
|
+
data: BytesLike,
|
1651
|
+
operation: BigNumberish,
|
1652
|
+
safeTxGas: BigNumberish,
|
1653
|
+
baseGas: BigNumberish,
|
1654
|
+
gasPrice: BigNumberish,
|
1655
|
+
gasToken: string,
|
1656
|
+
refundReceiver: string,
|
1657
|
+
_nonce: BigNumberish,
|
1658
|
+
overrides?: CallOverrides
|
1659
|
+
): Promise<PopulatedTransaction>;
|
1660
|
+
|
1661
|
+
isModuleEnabled(
|
1662
|
+
module: string,
|
1663
|
+
overrides?: CallOverrides
|
1664
|
+
): Promise<PopulatedTransaction>;
|
1665
|
+
|
1666
|
+
isOwner(
|
1667
|
+
owner: string,
|
1668
|
+
overrides?: CallOverrides
|
1669
|
+
): Promise<PopulatedTransaction>;
|
1670
|
+
|
1671
|
+
nonce(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
1672
|
+
|
1673
|
+
removeOwner(
|
1674
|
+
prevOwner: string,
|
1675
|
+
owner: string,
|
1676
|
+
_threshold: BigNumberish,
|
1677
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1678
|
+
): Promise<PopulatedTransaction>;
|
1679
|
+
|
1680
|
+
requiredTxGas(
|
1681
|
+
to: string,
|
1682
|
+
value: BigNumberish,
|
1683
|
+
data: BytesLike,
|
1684
|
+
operation: BigNumberish,
|
1685
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1686
|
+
): Promise<PopulatedTransaction>;
|
1687
|
+
|
1688
|
+
setFallbackHandler(
|
1689
|
+
handler: string,
|
1690
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1691
|
+
): Promise<PopulatedTransaction>;
|
1692
|
+
|
1693
|
+
setGuard(
|
1694
|
+
guard: string,
|
1695
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1696
|
+
): Promise<PopulatedTransaction>;
|
1697
|
+
|
1698
|
+
setup(
|
1699
|
+
_owners: string[],
|
1700
|
+
_threshold: BigNumberish,
|
1701
|
+
to: string,
|
1702
|
+
data: BytesLike,
|
1703
|
+
fallbackHandler: string,
|
1704
|
+
paymentToken: string,
|
1705
|
+
payment: BigNumberish,
|
1706
|
+
paymentReceiver: string,
|
1707
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1708
|
+
): Promise<PopulatedTransaction>;
|
1709
|
+
|
1710
|
+
signedMessages(
|
1711
|
+
arg0: BytesLike,
|
1712
|
+
overrides?: CallOverrides
|
1713
|
+
): Promise<PopulatedTransaction>;
|
1714
|
+
|
1715
|
+
simulateAndRevert(
|
1716
|
+
targetContract: string,
|
1717
|
+
calldataPayload: BytesLike,
|
1718
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1719
|
+
): Promise<PopulatedTransaction>;
|
1720
|
+
|
1721
|
+
swapOwner(
|
1722
|
+
prevOwner: string,
|
1723
|
+
oldOwner: string,
|
1724
|
+
newOwner: string,
|
1725
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
1726
|
+
): Promise<PopulatedTransaction>;
|
1727
|
+
};
|
1728
|
+
}
|