@gitmyabi/basewallet 1.0.1 → 1.0.2
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/BaseWallet_json.d.ts +159 -174
- package/contracts/BaseWallet_json.js +182 -200
- package/contracts/BaseWallet_json.ts +185 -203
- package/contracts/Proxy_json.d.ts +5 -10
- package/contracts/Proxy_json.js +6 -12
- package/contracts/Proxy_json.ts +6 -12
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated TypeScript type bindings for **BaseWallet**
|
|
4
4
|
|
|
5
|
-
- **Build ID**: `etherscan-basewallet-
|
|
5
|
+
- **Build ID**: `etherscan-basewallet-21562006-1790410924826`
|
|
6
6
|
- **Build Number**: 1
|
|
7
|
-
- **Commit**: `
|
|
7
|
+
- **Commit**: `876a7b0`
|
|
8
8
|
- **Branch**: `etherscan`
|
|
9
9
|
- **Target**: `ethers-v6`
|
|
10
10
|
- **Contracts**: 2
|
|
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **BaseWallet**
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install @gitmyabi/basewallet@1.0.
|
|
15
|
+
npm install @gitmyabi/basewallet@1.0.2
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -5,228 +5,213 @@ 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 BaseWallet_jsonAbi: readonly [{
|
|
8
|
-
readonly
|
|
8
|
+
readonly constant: false;
|
|
9
9
|
readonly inputs: readonly [{
|
|
10
|
-
readonly
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "module";
|
|
10
|
+
readonly name: "_newOwner";
|
|
13
11
|
readonly type: "address";
|
|
14
|
-
}, {
|
|
15
|
-
readonly indexed: false;
|
|
16
|
-
readonly internalType: "bool";
|
|
17
|
-
readonly name: "value";
|
|
18
|
-
readonly type: "bool";
|
|
19
12
|
}];
|
|
20
|
-
readonly name: "
|
|
21
|
-
readonly
|
|
13
|
+
readonly name: "setOwner";
|
|
14
|
+
readonly outputs: readonly [];
|
|
15
|
+
readonly payable: false;
|
|
16
|
+
readonly stateMutability: "nonpayable";
|
|
17
|
+
readonly type: "function";
|
|
22
18
|
}, {
|
|
23
|
-
readonly
|
|
19
|
+
readonly constant: false;
|
|
24
20
|
readonly inputs: readonly [{
|
|
25
|
-
readonly
|
|
26
|
-
readonly internalType: "address";
|
|
27
|
-
readonly name: "module";
|
|
21
|
+
readonly name: "_module";
|
|
28
22
|
readonly type: "address";
|
|
29
23
|
}, {
|
|
30
|
-
readonly
|
|
31
|
-
readonly internalType: "bytes4";
|
|
32
|
-
readonly name: "method";
|
|
24
|
+
readonly name: "_method";
|
|
33
25
|
readonly type: "bytes4";
|
|
34
26
|
}];
|
|
35
|
-
readonly name: "
|
|
36
|
-
readonly
|
|
37
|
-
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly indexed: true;
|
|
41
|
-
readonly internalType: "address";
|
|
42
|
-
readonly name: "module";
|
|
43
|
-
readonly type: "address";
|
|
44
|
-
}, {
|
|
45
|
-
readonly indexed: true;
|
|
46
|
-
readonly internalType: "address";
|
|
47
|
-
readonly name: "target";
|
|
48
|
-
readonly type: "address";
|
|
49
|
-
}, {
|
|
50
|
-
readonly indexed: true;
|
|
51
|
-
readonly internalType: "uint256";
|
|
52
|
-
readonly name: "value";
|
|
53
|
-
readonly type: "uint256";
|
|
54
|
-
}, {
|
|
55
|
-
readonly indexed: false;
|
|
56
|
-
readonly internalType: "bytes";
|
|
57
|
-
readonly name: "data";
|
|
58
|
-
readonly type: "bytes";
|
|
59
|
-
}];
|
|
60
|
-
readonly name: "Invoked";
|
|
61
|
-
readonly type: "event";
|
|
62
|
-
}, {
|
|
63
|
-
readonly anonymous: false;
|
|
64
|
-
readonly inputs: readonly [{
|
|
65
|
-
readonly indexed: false;
|
|
66
|
-
readonly internalType: "address";
|
|
67
|
-
readonly name: "owner";
|
|
68
|
-
readonly type: "address";
|
|
69
|
-
}];
|
|
70
|
-
readonly name: "OwnerChanged";
|
|
71
|
-
readonly type: "event";
|
|
72
|
-
}, {
|
|
73
|
-
readonly anonymous: false;
|
|
74
|
-
readonly inputs: readonly [{
|
|
75
|
-
readonly indexed: true;
|
|
76
|
-
readonly internalType: "uint256";
|
|
77
|
-
readonly name: "value";
|
|
78
|
-
readonly type: "uint256";
|
|
79
|
-
}, {
|
|
80
|
-
readonly indexed: true;
|
|
81
|
-
readonly internalType: "address";
|
|
82
|
-
readonly name: "sender";
|
|
83
|
-
readonly type: "address";
|
|
84
|
-
}, {
|
|
85
|
-
readonly indexed: false;
|
|
86
|
-
readonly internalType: "bytes";
|
|
87
|
-
readonly name: "data";
|
|
88
|
-
readonly type: "bytes";
|
|
89
|
-
}];
|
|
90
|
-
readonly name: "Received";
|
|
91
|
-
readonly type: "event";
|
|
92
|
-
}, {
|
|
93
|
-
readonly stateMutability: "payable";
|
|
94
|
-
readonly type: "fallback";
|
|
27
|
+
readonly name: "enableStaticCall";
|
|
28
|
+
readonly outputs: readonly [];
|
|
29
|
+
readonly payable: false;
|
|
30
|
+
readonly stateMutability: "nonpayable";
|
|
31
|
+
readonly type: "function";
|
|
95
32
|
}, {
|
|
33
|
+
readonly constant: false;
|
|
96
34
|
readonly inputs: readonly [{
|
|
97
|
-
readonly internalType: "address";
|
|
98
35
|
readonly name: "_module";
|
|
99
36
|
readonly type: "address";
|
|
100
37
|
}, {
|
|
101
|
-
readonly internalType: "bool";
|
|
102
38
|
readonly name: "_value";
|
|
103
39
|
readonly type: "bool";
|
|
104
40
|
}];
|
|
105
41
|
readonly name: "authoriseModule";
|
|
106
42
|
readonly outputs: readonly [];
|
|
43
|
+
readonly payable: false;
|
|
107
44
|
readonly stateMutability: "nonpayable";
|
|
108
45
|
readonly type: "function";
|
|
109
46
|
}, {
|
|
47
|
+
readonly constant: false;
|
|
110
48
|
readonly inputs: readonly [{
|
|
111
|
-
readonly
|
|
112
|
-
readonly name: "";
|
|
49
|
+
readonly name: "_owner";
|
|
113
50
|
readonly type: "address";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "_modules";
|
|
53
|
+
readonly type: "address[]";
|
|
114
54
|
}];
|
|
115
|
-
readonly name: "
|
|
116
|
-
readonly outputs: readonly [
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
readonly type: "bool";
|
|
120
|
-
}];
|
|
121
|
-
readonly stateMutability: "view";
|
|
55
|
+
readonly name: "init";
|
|
56
|
+
readonly outputs: readonly [];
|
|
57
|
+
readonly payable: false;
|
|
58
|
+
readonly stateMutability: "nonpayable";
|
|
122
59
|
readonly type: "function";
|
|
123
60
|
}, {
|
|
124
|
-
readonly
|
|
125
|
-
|
|
126
|
-
|
|
61
|
+
readonly constant: true;
|
|
62
|
+
readonly inputs: readonly [];
|
|
63
|
+
readonly name: "implementation";
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly name: "";
|
|
127
66
|
readonly type: "address";
|
|
128
|
-
}, {
|
|
129
|
-
readonly internalType: "bytes4";
|
|
130
|
-
readonly name: "_method";
|
|
131
|
-
readonly type: "bytes4";
|
|
132
67
|
}];
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly stateMutability: "nonpayable";
|
|
68
|
+
readonly payable: false;
|
|
69
|
+
readonly stateMutability: "view";
|
|
136
70
|
readonly type: "function";
|
|
137
71
|
}, {
|
|
72
|
+
readonly constant: true;
|
|
138
73
|
readonly inputs: readonly [{
|
|
139
|
-
readonly internalType: "bytes4";
|
|
140
74
|
readonly name: "";
|
|
141
75
|
readonly type: "bytes4";
|
|
142
76
|
}];
|
|
143
77
|
readonly name: "enabled";
|
|
144
78
|
readonly outputs: readonly [{
|
|
145
|
-
readonly internalType: "address";
|
|
146
79
|
readonly name: "";
|
|
147
80
|
readonly type: "address";
|
|
148
81
|
}];
|
|
82
|
+
readonly payable: false;
|
|
149
83
|
readonly stateMutability: "view";
|
|
150
84
|
readonly type: "function";
|
|
151
85
|
}, {
|
|
86
|
+
readonly constant: true;
|
|
152
87
|
readonly inputs: readonly [];
|
|
153
|
-
readonly name: "
|
|
88
|
+
readonly name: "owner";
|
|
154
89
|
readonly outputs: readonly [{
|
|
155
|
-
readonly internalType: "address";
|
|
156
90
|
readonly name: "";
|
|
157
91
|
readonly type: "address";
|
|
158
92
|
}];
|
|
93
|
+
readonly payable: false;
|
|
159
94
|
readonly stateMutability: "view";
|
|
160
95
|
readonly type: "function";
|
|
161
96
|
}, {
|
|
97
|
+
readonly constant: false;
|
|
162
98
|
readonly inputs: readonly [{
|
|
163
|
-
readonly internalType: "address";
|
|
164
|
-
readonly name: "_owner";
|
|
165
|
-
readonly type: "address";
|
|
166
|
-
}, {
|
|
167
|
-
readonly internalType: "address[]";
|
|
168
|
-
readonly name: "_modules";
|
|
169
|
-
readonly type: "address[]";
|
|
170
|
-
}];
|
|
171
|
-
readonly name: "init";
|
|
172
|
-
readonly outputs: readonly [];
|
|
173
|
-
readonly stateMutability: "nonpayable";
|
|
174
|
-
readonly type: "function";
|
|
175
|
-
}, {
|
|
176
|
-
readonly inputs: readonly [{
|
|
177
|
-
readonly internalType: "address";
|
|
178
99
|
readonly name: "_target";
|
|
179
100
|
readonly type: "address";
|
|
180
101
|
}, {
|
|
181
|
-
readonly internalType: "uint256";
|
|
182
102
|
readonly name: "_value";
|
|
183
103
|
readonly type: "uint256";
|
|
184
104
|
}, {
|
|
185
|
-
readonly internalType: "bytes";
|
|
186
105
|
readonly name: "_data";
|
|
187
106
|
readonly type: "bytes";
|
|
188
107
|
}];
|
|
189
108
|
readonly name: "invoke";
|
|
190
|
-
readonly outputs: readonly [
|
|
191
|
-
|
|
192
|
-
readonly name: "_result";
|
|
193
|
-
readonly type: "bytes";
|
|
194
|
-
}];
|
|
109
|
+
readonly outputs: readonly [];
|
|
110
|
+
readonly payable: false;
|
|
195
111
|
readonly stateMutability: "nonpayable";
|
|
196
112
|
readonly type: "function";
|
|
197
113
|
}, {
|
|
198
|
-
readonly
|
|
199
|
-
readonly
|
|
114
|
+
readonly constant: true;
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly name: "";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
}];
|
|
119
|
+
readonly name: "authorised";
|
|
200
120
|
readonly outputs: readonly [{
|
|
201
|
-
readonly internalType: "uint256";
|
|
202
121
|
readonly name: "";
|
|
203
|
-
readonly type: "
|
|
122
|
+
readonly type: "bool";
|
|
204
123
|
}];
|
|
124
|
+
readonly payable: false;
|
|
205
125
|
readonly stateMutability: "view";
|
|
206
126
|
readonly type: "function";
|
|
207
127
|
}, {
|
|
128
|
+
readonly constant: true;
|
|
208
129
|
readonly inputs: readonly [];
|
|
209
|
-
readonly name: "
|
|
130
|
+
readonly name: "modules";
|
|
210
131
|
readonly outputs: readonly [{
|
|
211
|
-
readonly internalType: "address";
|
|
212
132
|
readonly name: "";
|
|
213
|
-
readonly type: "
|
|
133
|
+
readonly type: "uint256";
|
|
214
134
|
}];
|
|
135
|
+
readonly payable: false;
|
|
215
136
|
readonly stateMutability: "view";
|
|
216
137
|
readonly type: "function";
|
|
217
138
|
}, {
|
|
139
|
+
readonly payable: true;
|
|
140
|
+
readonly stateMutability: "payable";
|
|
141
|
+
readonly type: "fallback";
|
|
142
|
+
}, {
|
|
143
|
+
readonly anonymous: false;
|
|
218
144
|
readonly inputs: readonly [{
|
|
219
|
-
readonly
|
|
220
|
-
readonly name: "
|
|
145
|
+
readonly indexed: true;
|
|
146
|
+
readonly name: "module";
|
|
221
147
|
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly indexed: false;
|
|
150
|
+
readonly name: "value";
|
|
151
|
+
readonly type: "bool";
|
|
222
152
|
}];
|
|
223
|
-
readonly name: "
|
|
224
|
-
readonly
|
|
225
|
-
readonly stateMutability: "nonpayable";
|
|
226
|
-
readonly type: "function";
|
|
153
|
+
readonly name: "AuthorisedModule";
|
|
154
|
+
readonly type: "event";
|
|
227
155
|
}, {
|
|
228
|
-
readonly
|
|
229
|
-
readonly
|
|
156
|
+
readonly anonymous: false;
|
|
157
|
+
readonly inputs: readonly [{
|
|
158
|
+
readonly indexed: true;
|
|
159
|
+
readonly name: "module";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly indexed: true;
|
|
163
|
+
readonly name: "method";
|
|
164
|
+
readonly type: "bytes4";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "EnabledStaticCall";
|
|
167
|
+
readonly type: "event";
|
|
168
|
+
}, {
|
|
169
|
+
readonly anonymous: false;
|
|
170
|
+
readonly inputs: readonly [{
|
|
171
|
+
readonly indexed: true;
|
|
172
|
+
readonly name: "module";
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
}, {
|
|
175
|
+
readonly indexed: true;
|
|
176
|
+
readonly name: "target";
|
|
177
|
+
readonly type: "address";
|
|
178
|
+
}, {
|
|
179
|
+
readonly indexed: true;
|
|
180
|
+
readonly name: "value";
|
|
181
|
+
readonly type: "uint256";
|
|
182
|
+
}, {
|
|
183
|
+
readonly indexed: false;
|
|
184
|
+
readonly name: "data";
|
|
185
|
+
readonly type: "bytes";
|
|
186
|
+
}];
|
|
187
|
+
readonly name: "Invoked";
|
|
188
|
+
readonly type: "event";
|
|
189
|
+
}, {
|
|
190
|
+
readonly anonymous: false;
|
|
191
|
+
readonly inputs: readonly [{
|
|
192
|
+
readonly indexed: true;
|
|
193
|
+
readonly name: "value";
|
|
194
|
+
readonly type: "uint256";
|
|
195
|
+
}, {
|
|
196
|
+
readonly indexed: true;
|
|
197
|
+
readonly name: "sender";
|
|
198
|
+
readonly type: "address";
|
|
199
|
+
}, {
|
|
200
|
+
readonly indexed: false;
|
|
201
|
+
readonly name: "data";
|
|
202
|
+
readonly type: "bytes";
|
|
203
|
+
}];
|
|
204
|
+
readonly name: "Received";
|
|
205
|
+
readonly type: "event";
|
|
206
|
+
}, {
|
|
207
|
+
readonly anonymous: false;
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly indexed: false;
|
|
210
|
+
readonly name: "owner";
|
|
211
|
+
readonly type: "address";
|
|
212
|
+
}];
|
|
213
|
+
readonly name: "OwnerChanged";
|
|
214
|
+
readonly type: "event";
|
|
230
215
|
}];
|
|
231
216
|
/**
|
|
232
217
|
* Type-safe ABI for BaseWallet_json
|
|
@@ -285,36 +270,36 @@ export declare class BaseWallet_json {
|
|
|
285
270
|
*/
|
|
286
271
|
getContract(): BaseWallet_jsonContract;
|
|
287
272
|
/**
|
|
288
|
-
*
|
|
273
|
+
* implementation
|
|
289
274
|
* view
|
|
290
275
|
*/
|
|
291
|
-
|
|
276
|
+
implementation(): Promise<`0x${string}`>;
|
|
292
277
|
/**
|
|
293
278
|
* enabled
|
|
294
279
|
* view
|
|
295
280
|
*/
|
|
296
281
|
enabled(arg0: `0x${string}`): Promise<`0x${string}`>;
|
|
297
282
|
/**
|
|
298
|
-
*
|
|
283
|
+
* owner
|
|
299
284
|
* view
|
|
300
285
|
*/
|
|
301
|
-
|
|
286
|
+
owner(): Promise<`0x${string}`>;
|
|
302
287
|
/**
|
|
303
|
-
*
|
|
288
|
+
* authorised
|
|
304
289
|
* view
|
|
305
290
|
*/
|
|
306
|
-
|
|
291
|
+
authorised(arg0: `0x${string}`): Promise<boolean>;
|
|
307
292
|
/**
|
|
308
|
-
*
|
|
293
|
+
* modules
|
|
309
294
|
* view
|
|
310
295
|
*/
|
|
311
|
-
|
|
296
|
+
modules(): Promise<bigint>;
|
|
312
297
|
/**
|
|
313
|
-
*
|
|
298
|
+
* setOwner
|
|
314
299
|
* nonpayable
|
|
315
300
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
316
301
|
*/
|
|
317
|
-
|
|
302
|
+
setOwner(_newOwner: `0x${string}`, options?: {
|
|
318
303
|
accessList?: import('viem').AccessList;
|
|
319
304
|
authorizationList?: import('viem').AuthorizationList;
|
|
320
305
|
chain?: import('viem').Chain | null;
|
|
@@ -344,11 +329,11 @@ export declare class BaseWallet_json {
|
|
|
344
329
|
value?: bigint;
|
|
345
330
|
}): Promise<`0x${string}`>;
|
|
346
331
|
/**
|
|
347
|
-
*
|
|
332
|
+
* authoriseModule
|
|
348
333
|
* nonpayable
|
|
349
334
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
350
335
|
*/
|
|
351
|
-
|
|
336
|
+
authoriseModule(_module: `0x${string}`, _value: boolean, options?: {
|
|
352
337
|
accessList?: import('viem').AccessList;
|
|
353
338
|
authorizationList?: import('viem').AuthorizationList;
|
|
354
339
|
chain?: import('viem').Chain | null;
|
|
@@ -361,11 +346,11 @@ export declare class BaseWallet_json {
|
|
|
361
346
|
value?: bigint;
|
|
362
347
|
}): Promise<`0x${string}`>;
|
|
363
348
|
/**
|
|
364
|
-
*
|
|
349
|
+
* init
|
|
365
350
|
* nonpayable
|
|
366
351
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
367
352
|
*/
|
|
368
|
-
|
|
353
|
+
init(_owner: `0x${string}`, _modules: `0x${string}`[], options?: {
|
|
369
354
|
accessList?: import('viem').AccessList;
|
|
370
355
|
authorizationList?: import('viem').AuthorizationList;
|
|
371
356
|
chain?: import('viem').Chain | null;
|
|
@@ -378,11 +363,11 @@ export declare class BaseWallet_json {
|
|
|
378
363
|
value?: bigint;
|
|
379
364
|
}): Promise<`0x${string}`>;
|
|
380
365
|
/**
|
|
381
|
-
*
|
|
366
|
+
* invoke
|
|
382
367
|
* nonpayable
|
|
383
368
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
384
369
|
*/
|
|
385
|
-
|
|
370
|
+
invoke(_target: `0x${string}`, _value: bigint, _data: `0x${string}`, options?: {
|
|
386
371
|
accessList?: import('viem').AccessList;
|
|
387
372
|
authorizationList?: import('viem').AuthorizationList;
|
|
388
373
|
chain?: import('viem').Chain | null;
|
|
@@ -404,11 +389,11 @@ export declare class BaseWallet_json {
|
|
|
404
389
|
*/
|
|
405
390
|
get simulate(): {
|
|
406
391
|
/**
|
|
407
|
-
* Simulate
|
|
392
|
+
* Simulate setOwner
|
|
408
393
|
* Returns gas estimate and result without sending transaction
|
|
409
394
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
410
395
|
*/
|
|
411
|
-
|
|
396
|
+
setOwner(_newOwner: `0x${string}`, options?: {
|
|
412
397
|
accessList?: import("viem").AccessList;
|
|
413
398
|
authorizationList?: import("viem").AuthorizationList;
|
|
414
399
|
chain?: import("viem").Chain | null;
|
|
@@ -438,11 +423,11 @@ export declare class BaseWallet_json {
|
|
|
438
423
|
value?: bigint;
|
|
439
424
|
}): Promise<void>;
|
|
440
425
|
/**
|
|
441
|
-
* Simulate
|
|
426
|
+
* Simulate authoriseModule
|
|
442
427
|
* Returns gas estimate and result without sending transaction
|
|
443
428
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
444
429
|
*/
|
|
445
|
-
|
|
430
|
+
authoriseModule(_module: `0x${string}`, _value: boolean, options?: {
|
|
446
431
|
accessList?: import("viem").AccessList;
|
|
447
432
|
authorizationList?: import("viem").AuthorizationList;
|
|
448
433
|
chain?: import("viem").Chain | null;
|
|
@@ -455,11 +440,11 @@ export declare class BaseWallet_json {
|
|
|
455
440
|
value?: bigint;
|
|
456
441
|
}): Promise<void>;
|
|
457
442
|
/**
|
|
458
|
-
* Simulate
|
|
443
|
+
* Simulate init
|
|
459
444
|
* Returns gas estimate and result without sending transaction
|
|
460
445
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
461
446
|
*/
|
|
462
|
-
|
|
447
|
+
init(_owner: `0x${string}`, _modules: `0x${string}`[], options?: {
|
|
463
448
|
accessList?: import("viem").AccessList;
|
|
464
449
|
authorizationList?: import("viem").AuthorizationList;
|
|
465
450
|
chain?: import("viem").Chain | null;
|
|
@@ -470,13 +455,13 @@ export declare class BaseWallet_json {
|
|
|
470
455
|
maxPriorityFeePerGas?: bigint;
|
|
471
456
|
nonce?: number;
|
|
472
457
|
value?: bigint;
|
|
473
|
-
}): Promise
|
|
458
|
+
}): Promise<void>;
|
|
474
459
|
/**
|
|
475
|
-
* Simulate
|
|
460
|
+
* Simulate invoke
|
|
476
461
|
* Returns gas estimate and result without sending transaction
|
|
477
462
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
478
463
|
*/
|
|
479
|
-
|
|
464
|
+
invoke(_target: `0x${string}`, _value: bigint, _data: `0x${string}`, options?: {
|
|
480
465
|
accessList?: import("viem").AccessList;
|
|
481
466
|
authorizationList?: import("viem").AuthorizationList;
|
|
482
467
|
chain?: import("viem").Chain | null;
|
|
@@ -543,15 +528,6 @@ export declare class BaseWallet_json {
|
|
|
543
528
|
target: `0x${string}`;
|
|
544
529
|
value: bigint;
|
|
545
530
|
}) => () => void;
|
|
546
|
-
/**
|
|
547
|
-
* Watch OwnerChanged events
|
|
548
|
-
* @param callback Function to call when event is emitted
|
|
549
|
-
* @param filter Optional filter for indexed parameters
|
|
550
|
-
* @returns Unwatch function to stop listening
|
|
551
|
-
*/
|
|
552
|
-
OwnerChanged: (callback: (event: {
|
|
553
|
-
owner: `0x${string}`;
|
|
554
|
-
}) => void) => () => void;
|
|
555
531
|
/**
|
|
556
532
|
* Watch Received events
|
|
557
533
|
* @param callback Function to call when event is emitted
|
|
@@ -566,5 +542,14 @@ export declare class BaseWallet_json {
|
|
|
566
542
|
value: bigint;
|
|
567
543
|
sender: `0x${string}`;
|
|
568
544
|
}) => () => void;
|
|
545
|
+
/**
|
|
546
|
+
* Watch OwnerChanged events
|
|
547
|
+
* @param callback Function to call when event is emitted
|
|
548
|
+
* @param filter Optional filter for indexed parameters
|
|
549
|
+
* @returns Unwatch function to stop listening
|
|
550
|
+
*/
|
|
551
|
+
OwnerChanged: (callback: (event: {
|
|
552
|
+
owner: `0x${string}`;
|
|
553
|
+
}) => void) => () => void;
|
|
569
554
|
};
|
|
570
555
|
}
|