@gitmyabi/walletsimple 1.0.28 → 1.0.30
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/README.md +3 -3
- package/contracts/WalletSimple_json.d.ts +133 -277
- package/contracts/WalletSimple_json.js +148 -311
- package/contracts/WalletSimple_json.ts +149 -338
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated TypeScript type bindings for **WalletSimple**
|
|
4
4
|
|
|
5
|
-
- **Build ID**: `etherscan-walletsimple-
|
|
5
|
+
- **Build ID**: `etherscan-walletsimple-64f12eff-1789132109301`
|
|
6
6
|
- **Build Number**: 1
|
|
7
|
-
- **Commit**: `
|
|
7
|
+
- **Commit**: `2a4959c`
|
|
8
8
|
- **Branch**: `etherscan`
|
|
9
9
|
- **Target**: `ethers-v6`
|
|
10
10
|
- **Contracts**: 1
|
|
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **WalletSimple**
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install @gitmyabi/walletsimple@1.0.
|
|
15
|
+
npm install @gitmyabi/walletsimple@1.0.30
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -5,290 +5,207 @@ import type { Address, PublicClient, WalletClient } from 'viem';
|
|
|
5
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
6
|
*/
|
|
7
7
|
export declare const WalletSimple_jsonAbi: readonly [{
|
|
8
|
-
readonly
|
|
8
|
+
readonly constant: false;
|
|
9
9
|
readonly inputs: readonly [{
|
|
10
|
-
readonly
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "msgSender";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}, {
|
|
15
|
-
readonly indexed: false;
|
|
16
|
-
readonly internalType: "address";
|
|
17
|
-
readonly name: "otherSigner";
|
|
10
|
+
readonly name: "toAddress";
|
|
18
11
|
readonly type: "address";
|
|
19
12
|
}, {
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly name: "operation";
|
|
23
|
-
readonly type: "bytes32";
|
|
24
|
-
}];
|
|
25
|
-
readonly name: "BatchTransacted";
|
|
26
|
-
readonly type: "event";
|
|
27
|
-
}, {
|
|
28
|
-
readonly anonymous: false;
|
|
29
|
-
readonly inputs: readonly [{
|
|
30
|
-
readonly indexed: false;
|
|
31
|
-
readonly internalType: "address";
|
|
32
|
-
readonly name: "sender";
|
|
33
|
-
readonly type: "address";
|
|
13
|
+
readonly name: "value";
|
|
14
|
+
readonly type: "uint256";
|
|
34
15
|
}, {
|
|
35
|
-
readonly
|
|
36
|
-
readonly internalType: "address";
|
|
37
|
-
readonly name: "recipient";
|
|
16
|
+
readonly name: "tokenContractAddress";
|
|
38
17
|
readonly type: "address";
|
|
39
18
|
}, {
|
|
40
|
-
readonly
|
|
41
|
-
readonly internalType: "uint256";
|
|
42
|
-
readonly name: "value";
|
|
19
|
+
readonly name: "expireTime";
|
|
43
20
|
readonly type: "uint256";
|
|
44
|
-
}];
|
|
45
|
-
readonly name: "BatchTransfer";
|
|
46
|
-
readonly type: "event";
|
|
47
|
-
}, {
|
|
48
|
-
readonly anonymous: false;
|
|
49
|
-
readonly inputs: readonly [{
|
|
50
|
-
readonly indexed: false;
|
|
51
|
-
readonly internalType: "address";
|
|
52
|
-
readonly name: "from";
|
|
53
|
-
readonly type: "address";
|
|
54
21
|
}, {
|
|
55
|
-
readonly
|
|
56
|
-
readonly internalType: "uint256";
|
|
57
|
-
readonly name: "value";
|
|
22
|
+
readonly name: "sequenceId";
|
|
58
23
|
readonly type: "uint256";
|
|
59
24
|
}, {
|
|
60
|
-
readonly
|
|
61
|
-
readonly internalType: "bytes";
|
|
62
|
-
readonly name: "data";
|
|
25
|
+
readonly name: "signature";
|
|
63
26
|
readonly type: "bytes";
|
|
64
27
|
}];
|
|
65
|
-
readonly name: "
|
|
66
|
-
readonly
|
|
28
|
+
readonly name: "sendMultiSigToken";
|
|
29
|
+
readonly outputs: readonly [];
|
|
30
|
+
readonly payable: false;
|
|
31
|
+
readonly stateMutability: "nonpayable";
|
|
32
|
+
readonly type: "function";
|
|
67
33
|
}, {
|
|
68
|
-
readonly
|
|
34
|
+
readonly constant: true;
|
|
69
35
|
readonly inputs: readonly [{
|
|
70
|
-
readonly
|
|
71
|
-
readonly
|
|
72
|
-
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}];
|
|
39
|
+
readonly name: "signers";
|
|
40
|
+
readonly outputs: readonly [{
|
|
41
|
+
readonly name: "";
|
|
73
42
|
readonly type: "address";
|
|
74
43
|
}];
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
44
|
+
readonly payable: false;
|
|
45
|
+
readonly stateMutability: "view";
|
|
46
|
+
readonly type: "function";
|
|
77
47
|
}, {
|
|
78
|
-
readonly
|
|
48
|
+
readonly constant: false;
|
|
79
49
|
readonly inputs: readonly [{
|
|
80
|
-
readonly
|
|
81
|
-
readonly internalType: "address";
|
|
82
|
-
readonly name: "msgSender";
|
|
50
|
+
readonly name: "forwarderAddress";
|
|
83
51
|
readonly type: "address";
|
|
84
52
|
}, {
|
|
85
|
-
readonly
|
|
86
|
-
readonly internalType: "address";
|
|
87
|
-
readonly name: "otherSigner";
|
|
53
|
+
readonly name: "tokenContractAddress";
|
|
88
54
|
readonly type: "address";
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "flushForwarderTokens";
|
|
57
|
+
readonly outputs: readonly [];
|
|
58
|
+
readonly payable: false;
|
|
59
|
+
readonly stateMutability: "nonpayable";
|
|
60
|
+
readonly type: "function";
|
|
61
|
+
}, {
|
|
62
|
+
readonly constant: false;
|
|
63
|
+
readonly inputs: readonly [{
|
|
97
64
|
readonly name: "toAddress";
|
|
98
65
|
readonly type: "address";
|
|
99
66
|
}, {
|
|
100
|
-
readonly indexed: false;
|
|
101
|
-
readonly internalType: "uint256";
|
|
102
67
|
readonly name: "value";
|
|
103
68
|
readonly type: "uint256";
|
|
104
69
|
}, {
|
|
105
|
-
readonly indexed: false;
|
|
106
|
-
readonly internalType: "bytes";
|
|
107
70
|
readonly name: "data";
|
|
108
71
|
readonly type: "bytes";
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "expireTime";
|
|
74
|
+
readonly type: "uint256";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "sequenceId";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "signature";
|
|
80
|
+
readonly type: "bytes";
|
|
109
81
|
}];
|
|
110
|
-
readonly name: "
|
|
111
|
-
readonly type: "event";
|
|
112
|
-
}, {
|
|
113
|
-
readonly stateMutability: "payable";
|
|
114
|
-
readonly type: "fallback";
|
|
115
|
-
}, {
|
|
116
|
-
readonly inputs: readonly [];
|
|
117
|
-
readonly name: "activateSafeMode";
|
|
82
|
+
readonly name: "sendMultiSig";
|
|
118
83
|
readonly outputs: readonly [];
|
|
84
|
+
readonly payable: false;
|
|
119
85
|
readonly stateMutability: "nonpayable";
|
|
120
86
|
readonly type: "function";
|
|
121
87
|
}, {
|
|
88
|
+
readonly constant: true;
|
|
122
89
|
readonly inputs: readonly [{
|
|
123
|
-
readonly
|
|
124
|
-
readonly name: "forwarderAddress";
|
|
125
|
-
readonly type: "address";
|
|
126
|
-
}, {
|
|
127
|
-
readonly internalType: "address";
|
|
128
|
-
readonly name: "tokenContractAddress";
|
|
90
|
+
readonly name: "signer";
|
|
129
91
|
readonly type: "address";
|
|
130
92
|
}];
|
|
131
|
-
readonly name: "
|
|
132
|
-
readonly outputs: readonly [];
|
|
133
|
-
readonly stateMutability: "nonpayable";
|
|
134
|
-
readonly type: "function";
|
|
135
|
-
}, {
|
|
136
|
-
readonly inputs: readonly [];
|
|
137
|
-
readonly name: "getNextSequenceId";
|
|
93
|
+
readonly name: "isSigner";
|
|
138
94
|
readonly outputs: readonly [{
|
|
139
|
-
readonly internalType: "uint256";
|
|
140
95
|
readonly name: "";
|
|
141
|
-
readonly type: "
|
|
96
|
+
readonly type: "bool";
|
|
142
97
|
}];
|
|
98
|
+
readonly payable: false;
|
|
143
99
|
readonly stateMutability: "view";
|
|
144
100
|
readonly type: "function";
|
|
145
101
|
}, {
|
|
146
|
-
readonly
|
|
147
|
-
readonly internalType: "address[]";
|
|
148
|
-
readonly name: "allowedSigners";
|
|
149
|
-
readonly type: "address[]";
|
|
150
|
-
}];
|
|
151
|
-
readonly name: "init";
|
|
152
|
-
readonly outputs: readonly [];
|
|
153
|
-
readonly stateMutability: "nonpayable";
|
|
154
|
-
readonly type: "function";
|
|
155
|
-
}, {
|
|
102
|
+
readonly constant: true;
|
|
156
103
|
readonly inputs: readonly [];
|
|
157
|
-
readonly name: "
|
|
104
|
+
readonly name: "getNextSequenceId";
|
|
158
105
|
readonly outputs: readonly [{
|
|
159
|
-
readonly internalType: "bool";
|
|
160
106
|
readonly name: "";
|
|
161
|
-
readonly type: "
|
|
107
|
+
readonly type: "uint256";
|
|
162
108
|
}];
|
|
109
|
+
readonly payable: false;
|
|
163
110
|
readonly stateMutability: "view";
|
|
164
111
|
readonly type: "function";
|
|
165
112
|
}, {
|
|
166
|
-
readonly
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
readonly type: "address";
|
|
170
|
-
}];
|
|
171
|
-
readonly name: "isSigner";
|
|
113
|
+
readonly constant: false;
|
|
114
|
+
readonly inputs: readonly [];
|
|
115
|
+
readonly name: "createForwarder";
|
|
172
116
|
readonly outputs: readonly [{
|
|
173
|
-
readonly internalType: "bool";
|
|
174
117
|
readonly name: "";
|
|
175
|
-
readonly type: "
|
|
118
|
+
readonly type: "address";
|
|
176
119
|
}];
|
|
177
|
-
readonly
|
|
120
|
+
readonly payable: false;
|
|
121
|
+
readonly stateMutability: "nonpayable";
|
|
178
122
|
readonly type: "function";
|
|
179
123
|
}, {
|
|
124
|
+
readonly constant: true;
|
|
180
125
|
readonly inputs: readonly [];
|
|
181
126
|
readonly name: "safeMode";
|
|
182
127
|
readonly outputs: readonly [{
|
|
183
|
-
readonly internalType: "bool";
|
|
184
128
|
readonly name: "";
|
|
185
129
|
readonly type: "bool";
|
|
186
130
|
}];
|
|
131
|
+
readonly payable: false;
|
|
187
132
|
readonly stateMutability: "view";
|
|
188
133
|
readonly type: "function";
|
|
134
|
+
}, {
|
|
135
|
+
readonly constant: false;
|
|
136
|
+
readonly inputs: readonly [];
|
|
137
|
+
readonly name: "activateSafeMode";
|
|
138
|
+
readonly outputs: readonly [];
|
|
139
|
+
readonly payable: false;
|
|
140
|
+
readonly stateMutability: "nonpayable";
|
|
141
|
+
readonly type: "function";
|
|
189
142
|
}, {
|
|
190
143
|
readonly inputs: readonly [{
|
|
191
|
-
readonly
|
|
192
|
-
readonly
|
|
144
|
+
readonly name: "allowedSigners";
|
|
145
|
+
readonly type: "address[]";
|
|
146
|
+
}];
|
|
147
|
+
readonly payable: false;
|
|
148
|
+
readonly stateMutability: "nonpayable";
|
|
149
|
+
readonly type: "constructor";
|
|
150
|
+
}, {
|
|
151
|
+
readonly payable: true;
|
|
152
|
+
readonly stateMutability: "payable";
|
|
153
|
+
readonly type: "fallback";
|
|
154
|
+
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly indexed: false;
|
|
158
|
+
readonly name: "from";
|
|
193
159
|
readonly type: "address";
|
|
194
160
|
}, {
|
|
195
|
-
readonly
|
|
161
|
+
readonly indexed: false;
|
|
196
162
|
readonly name: "value";
|
|
197
163
|
readonly type: "uint256";
|
|
198
164
|
}, {
|
|
199
|
-
readonly
|
|
165
|
+
readonly indexed: false;
|
|
200
166
|
readonly name: "data";
|
|
201
167
|
readonly type: "bytes";
|
|
202
|
-
}, {
|
|
203
|
-
readonly internalType: "uint256";
|
|
204
|
-
readonly name: "expireTime";
|
|
205
|
-
readonly type: "uint256";
|
|
206
|
-
}, {
|
|
207
|
-
readonly internalType: "uint256";
|
|
208
|
-
readonly name: "sequenceId";
|
|
209
|
-
readonly type: "uint256";
|
|
210
|
-
}, {
|
|
211
|
-
readonly internalType: "bytes";
|
|
212
|
-
readonly name: "signature";
|
|
213
|
-
readonly type: "bytes";
|
|
214
168
|
}];
|
|
215
|
-
readonly name: "
|
|
216
|
-
readonly
|
|
217
|
-
readonly stateMutability: "nonpayable";
|
|
218
|
-
readonly type: "function";
|
|
169
|
+
readonly name: "Deposited";
|
|
170
|
+
readonly type: "event";
|
|
219
171
|
}, {
|
|
172
|
+
readonly anonymous: false;
|
|
220
173
|
readonly inputs: readonly [{
|
|
221
|
-
readonly
|
|
222
|
-
readonly name: "
|
|
223
|
-
readonly type: "address
|
|
224
|
-
}, {
|
|
225
|
-
readonly internalType: "uint256[]";
|
|
226
|
-
readonly name: "values";
|
|
227
|
-
readonly type: "uint256[]";
|
|
228
|
-
}, {
|
|
229
|
-
readonly internalType: "uint256";
|
|
230
|
-
readonly name: "expireTime";
|
|
231
|
-
readonly type: "uint256";
|
|
232
|
-
}, {
|
|
233
|
-
readonly internalType: "uint256";
|
|
234
|
-
readonly name: "sequenceId";
|
|
235
|
-
readonly type: "uint256";
|
|
236
|
-
}, {
|
|
237
|
-
readonly internalType: "bytes";
|
|
238
|
-
readonly name: "signature";
|
|
239
|
-
readonly type: "bytes";
|
|
174
|
+
readonly indexed: false;
|
|
175
|
+
readonly name: "msgSender";
|
|
176
|
+
readonly type: "address";
|
|
240
177
|
}];
|
|
241
|
-
readonly name: "
|
|
242
|
-
readonly
|
|
243
|
-
readonly stateMutability: "nonpayable";
|
|
244
|
-
readonly type: "function";
|
|
178
|
+
readonly name: "SafeModeActivated";
|
|
179
|
+
readonly type: "event";
|
|
245
180
|
}, {
|
|
181
|
+
readonly anonymous: false;
|
|
246
182
|
readonly inputs: readonly [{
|
|
247
|
-
readonly
|
|
248
|
-
readonly name: "
|
|
183
|
+
readonly indexed: false;
|
|
184
|
+
readonly name: "msgSender";
|
|
249
185
|
readonly type: "address";
|
|
250
186
|
}, {
|
|
251
|
-
readonly
|
|
252
|
-
readonly name: "
|
|
253
|
-
readonly type: "uint256";
|
|
254
|
-
}, {
|
|
255
|
-
readonly internalType: "address";
|
|
256
|
-
readonly name: "tokenContractAddress";
|
|
187
|
+
readonly indexed: false;
|
|
188
|
+
readonly name: "otherSigner";
|
|
257
189
|
readonly type: "address";
|
|
258
190
|
}, {
|
|
259
|
-
readonly
|
|
260
|
-
readonly name: "
|
|
261
|
-
readonly type: "
|
|
191
|
+
readonly indexed: false;
|
|
192
|
+
readonly name: "operation";
|
|
193
|
+
readonly type: "bytes32";
|
|
262
194
|
}, {
|
|
263
|
-
readonly
|
|
264
|
-
readonly name: "
|
|
195
|
+
readonly indexed: false;
|
|
196
|
+
readonly name: "toAddress";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly indexed: false;
|
|
200
|
+
readonly name: "value";
|
|
265
201
|
readonly type: "uint256";
|
|
266
202
|
}, {
|
|
267
|
-
readonly
|
|
268
|
-
readonly name: "
|
|
203
|
+
readonly indexed: false;
|
|
204
|
+
readonly name: "data";
|
|
269
205
|
readonly type: "bytes";
|
|
270
206
|
}];
|
|
271
|
-
readonly name: "
|
|
272
|
-
readonly
|
|
273
|
-
readonly stateMutability: "nonpayable";
|
|
274
|
-
readonly type: "function";
|
|
275
|
-
}, {
|
|
276
|
-
readonly inputs: readonly [{
|
|
277
|
-
readonly internalType: "address";
|
|
278
|
-
readonly name: "";
|
|
279
|
-
readonly type: "address";
|
|
280
|
-
}];
|
|
281
|
-
readonly name: "signers";
|
|
282
|
-
readonly outputs: readonly [{
|
|
283
|
-
readonly internalType: "bool";
|
|
284
|
-
readonly name: "";
|
|
285
|
-
readonly type: "bool";
|
|
286
|
-
}];
|
|
287
|
-
readonly stateMutability: "view";
|
|
288
|
-
readonly type: "function";
|
|
289
|
-
}, {
|
|
290
|
-
readonly stateMutability: "payable";
|
|
291
|
-
readonly type: "receive";
|
|
207
|
+
readonly name: "Transacted";
|
|
208
|
+
readonly type: "event";
|
|
292
209
|
}];
|
|
293
210
|
/**
|
|
294
211
|
* Type-safe ABI for WalletSimple_json
|
|
@@ -347,36 +264,31 @@ export declare class WalletSimple_json {
|
|
|
347
264
|
*/
|
|
348
265
|
getContract(): WalletSimple_jsonContract;
|
|
349
266
|
/**
|
|
350
|
-
*
|
|
351
|
-
* view
|
|
352
|
-
*/
|
|
353
|
-
getNextSequenceId(): Promise<bigint>;
|
|
354
|
-
/**
|
|
355
|
-
* initialized
|
|
267
|
+
* signers
|
|
356
268
|
* view
|
|
357
269
|
*/
|
|
358
|
-
|
|
270
|
+
signers(arg0: bigint): Promise<`0x${string}`>;
|
|
359
271
|
/**
|
|
360
272
|
* isSigner
|
|
361
273
|
* view
|
|
362
274
|
*/
|
|
363
275
|
isSigner(signer: `0x${string}`): Promise<boolean>;
|
|
364
276
|
/**
|
|
365
|
-
*
|
|
277
|
+
* getNextSequenceId
|
|
366
278
|
* view
|
|
367
279
|
*/
|
|
368
|
-
|
|
280
|
+
getNextSequenceId(): Promise<bigint>;
|
|
369
281
|
/**
|
|
370
|
-
*
|
|
282
|
+
* safeMode
|
|
371
283
|
* view
|
|
372
284
|
*/
|
|
373
|
-
|
|
285
|
+
safeMode(): Promise<boolean>;
|
|
374
286
|
/**
|
|
375
|
-
*
|
|
287
|
+
* sendMultiSigToken
|
|
376
288
|
* nonpayable
|
|
377
289
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
378
290
|
*/
|
|
379
|
-
|
|
291
|
+
sendMultiSigToken(toAddress: `0x${string}`, value: bigint, tokenContractAddress: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
380
292
|
accessList?: import('viem').AccessList;
|
|
381
293
|
authorizationList?: import('viem').AuthorizationList;
|
|
382
294
|
chain?: import('viem').Chain | null;
|
|
@@ -405,23 +317,6 @@ export declare class WalletSimple_json {
|
|
|
405
317
|
nonce?: number;
|
|
406
318
|
value?: bigint;
|
|
407
319
|
}): Promise<`0x${string}`>;
|
|
408
|
-
/**
|
|
409
|
-
* init
|
|
410
|
-
* nonpayable
|
|
411
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
412
|
-
*/
|
|
413
|
-
init(allowedSigners: `0x${string}`[], options?: {
|
|
414
|
-
accessList?: import('viem').AccessList;
|
|
415
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
416
|
-
chain?: import('viem').Chain | null;
|
|
417
|
-
dataSuffix?: `0x${string}`;
|
|
418
|
-
gas?: bigint;
|
|
419
|
-
gasPrice?: bigint;
|
|
420
|
-
maxFeePerGas?: bigint;
|
|
421
|
-
maxPriorityFeePerGas?: bigint;
|
|
422
|
-
nonce?: number;
|
|
423
|
-
value?: bigint;
|
|
424
|
-
}): Promise<`0x${string}`>;
|
|
425
320
|
/**
|
|
426
321
|
* sendMultiSig
|
|
427
322
|
* nonpayable
|
|
@@ -440,11 +335,11 @@ export declare class WalletSimple_json {
|
|
|
440
335
|
value?: bigint;
|
|
441
336
|
}): Promise<`0x${string}`>;
|
|
442
337
|
/**
|
|
443
|
-
*
|
|
338
|
+
* createForwarder
|
|
444
339
|
* nonpayable
|
|
445
340
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
446
341
|
*/
|
|
447
|
-
|
|
342
|
+
createForwarder(options?: {
|
|
448
343
|
accessList?: import('viem').AccessList;
|
|
449
344
|
authorizationList?: import('viem').AuthorizationList;
|
|
450
345
|
chain?: import('viem').Chain | null;
|
|
@@ -457,11 +352,11 @@ export declare class WalletSimple_json {
|
|
|
457
352
|
value?: bigint;
|
|
458
353
|
}): Promise<`0x${string}`>;
|
|
459
354
|
/**
|
|
460
|
-
*
|
|
355
|
+
* activateSafeMode
|
|
461
356
|
* nonpayable
|
|
462
357
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
463
358
|
*/
|
|
464
|
-
|
|
359
|
+
activateSafeMode(options?: {
|
|
465
360
|
accessList?: import('viem').AccessList;
|
|
466
361
|
authorizationList?: import('viem').AuthorizationList;
|
|
467
362
|
chain?: import('viem').Chain | null;
|
|
@@ -483,11 +378,11 @@ export declare class WalletSimple_json {
|
|
|
483
378
|
*/
|
|
484
379
|
get simulate(): {
|
|
485
380
|
/**
|
|
486
|
-
* Simulate
|
|
381
|
+
* Simulate sendMultiSigToken
|
|
487
382
|
* Returns gas estimate and result without sending transaction
|
|
488
383
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
489
384
|
*/
|
|
490
|
-
|
|
385
|
+
sendMultiSigToken(toAddress: `0x${string}`, value: bigint, tokenContractAddress: `0x${string}`, expireTime: bigint, sequenceId: bigint, signature: `0x${string}`, options?: {
|
|
491
386
|
accessList?: import("viem").AccessList;
|
|
492
387
|
authorizationList?: import("viem").AuthorizationList;
|
|
493
388
|
chain?: import("viem").Chain | null;
|
|
@@ -516,23 +411,6 @@ export declare class WalletSimple_json {
|
|
|
516
411
|
nonce?: number;
|
|
517
412
|
value?: bigint;
|
|
518
413
|
}): Promise<void>;
|
|
519
|
-
/**
|
|
520
|
-
* Simulate init
|
|
521
|
-
* Returns gas estimate and result without sending transaction
|
|
522
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
523
|
-
*/
|
|
524
|
-
init(allowedSigners: `0x${string}`[], options?: {
|
|
525
|
-
accessList?: import("viem").AccessList;
|
|
526
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
527
|
-
chain?: import("viem").Chain | null;
|
|
528
|
-
dataSuffix?: `0x${string}`;
|
|
529
|
-
gas?: bigint;
|
|
530
|
-
gasPrice?: bigint;
|
|
531
|
-
maxFeePerGas?: bigint;
|
|
532
|
-
maxPriorityFeePerGas?: bigint;
|
|
533
|
-
nonce?: number;
|
|
534
|
-
value?: bigint;
|
|
535
|
-
}): Promise<void>;
|
|
536
414
|
/**
|
|
537
415
|
* Simulate sendMultiSig
|
|
538
416
|
* Returns gas estimate and result without sending transaction
|
|
@@ -551,11 +429,11 @@ export declare class WalletSimple_json {
|
|
|
551
429
|
value?: bigint;
|
|
552
430
|
}): Promise<void>;
|
|
553
431
|
/**
|
|
554
|
-
* Simulate
|
|
432
|
+
* Simulate createForwarder
|
|
555
433
|
* Returns gas estimate and result without sending transaction
|
|
556
434
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
557
435
|
*/
|
|
558
|
-
|
|
436
|
+
createForwarder(options?: {
|
|
559
437
|
accessList?: import("viem").AccessList;
|
|
560
438
|
authorizationList?: import("viem").AuthorizationList;
|
|
561
439
|
chain?: import("viem").Chain | null;
|
|
@@ -566,13 +444,13 @@ export declare class WalletSimple_json {
|
|
|
566
444
|
maxPriorityFeePerGas?: bigint;
|
|
567
445
|
nonce?: number;
|
|
568
446
|
value?: bigint;
|
|
569
|
-
}): Promise
|
|
447
|
+
}): Promise<`0x${string}`>;
|
|
570
448
|
/**
|
|
571
|
-
* Simulate
|
|
449
|
+
* Simulate activateSafeMode
|
|
572
450
|
* Returns gas estimate and result without sending transaction
|
|
573
451
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
574
452
|
*/
|
|
575
|
-
|
|
453
|
+
activateSafeMode(options?: {
|
|
576
454
|
accessList?: import("viem").AccessList;
|
|
577
455
|
authorizationList?: import("viem").AuthorizationList;
|
|
578
456
|
chain?: import("viem").Chain | null;
|
|
@@ -598,28 +476,6 @@ export declare class WalletSimple_json {
|
|
|
598
476
|
* unwatch();
|
|
599
477
|
*/
|
|
600
478
|
get watch(): {
|
|
601
|
-
/**
|
|
602
|
-
* Watch BatchTransacted events
|
|
603
|
-
* @param callback Function to call when event is emitted
|
|
604
|
-
* @param filter Optional filter for indexed parameters
|
|
605
|
-
* @returns Unwatch function to stop listening
|
|
606
|
-
*/
|
|
607
|
-
BatchTransacted: (callback: (event: {
|
|
608
|
-
msgSender: `0x${string}`;
|
|
609
|
-
otherSigner: `0x${string}`;
|
|
610
|
-
operation: `0x${string}`;
|
|
611
|
-
}) => void) => () => void;
|
|
612
|
-
/**
|
|
613
|
-
* Watch BatchTransfer events
|
|
614
|
-
* @param callback Function to call when event is emitted
|
|
615
|
-
* @param filter Optional filter for indexed parameters
|
|
616
|
-
* @returns Unwatch function to stop listening
|
|
617
|
-
*/
|
|
618
|
-
BatchTransfer: (callback: (event: {
|
|
619
|
-
sender: `0x${string}`;
|
|
620
|
-
recipient: `0x${string}`;
|
|
621
|
-
value: bigint;
|
|
622
|
-
}) => void) => () => void;
|
|
623
479
|
/**
|
|
624
480
|
* Watch Deposited events
|
|
625
481
|
* @param callback Function to call when event is emitted
|