@gitmyabi/usdt 1.0.16 → 1.0.17
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/{UERC20_json.d.ts → USDTToken_json.d.ts} +92 -181
- package/contracts/{UERC20_json.js → USDTToken_json.js} +84 -226
- package/contracts/{UERC20_json.ts → USDTToken_json.ts} +113 -236
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated TypeScript type bindings for **USDT**
|
|
4
4
|
|
|
5
|
-
- **Build ID**: `etherscan-usdt-
|
|
5
|
+
- **Build ID**: `etherscan-usdt-0f4bab45-1786223915089`
|
|
6
6
|
- **Build Number**: 1
|
|
7
|
-
- **Commit**: `
|
|
7
|
+
- **Commit**: `07ea2dd`
|
|
8
8
|
- **Branch**: `etherscan`
|
|
9
9
|
- **Target**: `ethers-v6`
|
|
10
10
|
- **Contracts**: 1
|
|
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **USDT**
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install @gitmyabi/usdt@1.0.
|
|
15
|
+
npm install @gitmyabi/usdt@1.0.17
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -1,45 +1,13 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* USDTToken_json ABI
|
|
4
4
|
*
|
|
5
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
6
|
*/
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const USDTToken_jsonAbi: readonly [{
|
|
8
8
|
readonly inputs: readonly [];
|
|
9
9
|
readonly stateMutability: "nonpayable";
|
|
10
10
|
readonly type: "constructor";
|
|
11
|
-
}, {
|
|
12
|
-
readonly inputs: readonly [];
|
|
13
|
-
readonly name: "AllowanceOverflow";
|
|
14
|
-
readonly type: "error";
|
|
15
|
-
}, {
|
|
16
|
-
readonly inputs: readonly [];
|
|
17
|
-
readonly name: "AllowanceUnderflow";
|
|
18
|
-
readonly type: "error";
|
|
19
|
-
}, {
|
|
20
|
-
readonly inputs: readonly [];
|
|
21
|
-
readonly name: "InsufficientAllowance";
|
|
22
|
-
readonly type: "error";
|
|
23
|
-
}, {
|
|
24
|
-
readonly inputs: readonly [];
|
|
25
|
-
readonly name: "InsufficientBalance";
|
|
26
|
-
readonly type: "error";
|
|
27
|
-
}, {
|
|
28
|
-
readonly inputs: readonly [];
|
|
29
|
-
readonly name: "InvalidPermit";
|
|
30
|
-
readonly type: "error";
|
|
31
|
-
}, {
|
|
32
|
-
readonly inputs: readonly [];
|
|
33
|
-
readonly name: "Permit2AllowanceIsFixedAtInfinity";
|
|
34
|
-
readonly type: "error";
|
|
35
|
-
}, {
|
|
36
|
-
readonly inputs: readonly [];
|
|
37
|
-
readonly name: "PermitExpired";
|
|
38
|
-
readonly type: "error";
|
|
39
|
-
}, {
|
|
40
|
-
readonly inputs: readonly [];
|
|
41
|
-
readonly name: "TotalSupplyOverflow";
|
|
42
|
-
readonly type: "error";
|
|
43
11
|
}, {
|
|
44
12
|
readonly anonymous: false;
|
|
45
13
|
readonly inputs: readonly [{
|
|
@@ -55,7 +23,7 @@ export declare const UERC20_jsonAbi: readonly [{
|
|
|
55
23
|
}, {
|
|
56
24
|
readonly indexed: false;
|
|
57
25
|
readonly internalType: "uint256";
|
|
58
|
-
readonly name: "
|
|
26
|
+
readonly name: "value";
|
|
59
27
|
readonly type: "uint256";
|
|
60
28
|
}];
|
|
61
29
|
readonly name: "Approval";
|
|
@@ -75,35 +43,35 @@ export declare const UERC20_jsonAbi: readonly [{
|
|
|
75
43
|
}, {
|
|
76
44
|
readonly indexed: false;
|
|
77
45
|
readonly internalType: "uint256";
|
|
78
|
-
readonly name: "
|
|
46
|
+
readonly name: "value";
|
|
79
47
|
readonly type: "uint256";
|
|
80
48
|
}];
|
|
81
49
|
readonly name: "Transfer";
|
|
82
50
|
readonly type: "event";
|
|
83
51
|
}, {
|
|
84
52
|
readonly inputs: readonly [];
|
|
85
|
-
readonly name: "
|
|
53
|
+
readonly name: "WITHDRAW_ADDRESS";
|
|
86
54
|
readonly outputs: readonly [{
|
|
87
|
-
readonly internalType: "
|
|
88
|
-
readonly name: "
|
|
89
|
-
readonly type: "
|
|
55
|
+
readonly internalType: "address";
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly type: "address";
|
|
90
58
|
}];
|
|
91
59
|
readonly stateMutability: "view";
|
|
92
60
|
readonly type: "function";
|
|
93
61
|
}, {
|
|
94
62
|
readonly inputs: readonly [{
|
|
95
63
|
readonly internalType: "address";
|
|
96
|
-
readonly name: "
|
|
64
|
+
readonly name: "";
|
|
97
65
|
readonly type: "address";
|
|
98
66
|
}, {
|
|
99
67
|
readonly internalType: "address";
|
|
100
|
-
readonly name: "
|
|
68
|
+
readonly name: "";
|
|
101
69
|
readonly type: "address";
|
|
102
70
|
}];
|
|
103
71
|
readonly name: "allowance";
|
|
104
72
|
readonly outputs: readonly [{
|
|
105
73
|
readonly internalType: "uint256";
|
|
106
|
-
readonly name: "
|
|
74
|
+
readonly name: "";
|
|
107
75
|
readonly type: "uint256";
|
|
108
76
|
}];
|
|
109
77
|
readonly stateMutability: "view";
|
|
@@ -129,24 +97,14 @@ export declare const UERC20_jsonAbi: readonly [{
|
|
|
129
97
|
}, {
|
|
130
98
|
readonly inputs: readonly [{
|
|
131
99
|
readonly internalType: "address";
|
|
132
|
-
readonly name: "
|
|
100
|
+
readonly name: "";
|
|
133
101
|
readonly type: "address";
|
|
134
102
|
}];
|
|
135
103
|
readonly name: "balanceOf";
|
|
136
104
|
readonly outputs: readonly [{
|
|
137
105
|
readonly internalType: "uint256";
|
|
138
|
-
readonly name: "result";
|
|
139
|
-
readonly type: "uint256";
|
|
140
|
-
}];
|
|
141
|
-
readonly stateMutability: "view";
|
|
142
|
-
readonly type: "function";
|
|
143
|
-
}, {
|
|
144
|
-
readonly inputs: readonly [];
|
|
145
|
-
readonly name: "creator";
|
|
146
|
-
readonly outputs: readonly [{
|
|
147
|
-
readonly internalType: "address";
|
|
148
106
|
readonly name: "";
|
|
149
|
-
readonly type: "
|
|
107
|
+
readonly type: "uint256";
|
|
150
108
|
}];
|
|
151
109
|
readonly stateMutability: "view";
|
|
152
110
|
readonly type: "function";
|
|
@@ -162,35 +120,23 @@ export declare const UERC20_jsonAbi: readonly [{
|
|
|
162
120
|
readonly type: "function";
|
|
163
121
|
}, {
|
|
164
122
|
readonly inputs: readonly [];
|
|
165
|
-
readonly name: "
|
|
123
|
+
readonly name: "getETHBalance";
|
|
166
124
|
readonly outputs: readonly [{
|
|
167
|
-
readonly internalType: "
|
|
125
|
+
readonly internalType: "uint256";
|
|
168
126
|
readonly name: "";
|
|
169
|
-
readonly type: "
|
|
127
|
+
readonly type: "uint256";
|
|
170
128
|
}];
|
|
171
129
|
readonly stateMutability: "view";
|
|
172
130
|
readonly type: "function";
|
|
173
131
|
}, {
|
|
174
132
|
readonly inputs: readonly [];
|
|
175
|
-
readonly name: "
|
|
133
|
+
readonly name: "getWithdrawalAddress";
|
|
176
134
|
readonly outputs: readonly [{
|
|
177
|
-
readonly internalType: "
|
|
178
|
-
readonly name: "
|
|
179
|
-
readonly type: "
|
|
180
|
-
}, {
|
|
181
|
-
readonly internalType: "string";
|
|
182
|
-
readonly name: "website";
|
|
183
|
-
readonly type: "string";
|
|
184
|
-
}, {
|
|
185
|
-
readonly internalType: "string";
|
|
186
|
-
readonly name: "image";
|
|
187
|
-
readonly type: "string";
|
|
188
|
-
}, {
|
|
189
|
-
readonly internalType: "bytes";
|
|
190
|
-
readonly name: "extraData";
|
|
191
|
-
readonly type: "bytes";
|
|
135
|
+
readonly internalType: "address";
|
|
136
|
+
readonly name: "";
|
|
137
|
+
readonly type: "address";
|
|
192
138
|
}];
|
|
193
|
-
readonly stateMutability: "
|
|
139
|
+
readonly stateMutability: "pure";
|
|
194
140
|
readonly type: "function";
|
|
195
141
|
}, {
|
|
196
142
|
readonly inputs: readonly [];
|
|
@@ -205,65 +151,17 @@ export declare const UERC20_jsonAbi: readonly [{
|
|
|
205
151
|
}, {
|
|
206
152
|
readonly inputs: readonly [{
|
|
207
153
|
readonly internalType: "address";
|
|
208
|
-
readonly name: "
|
|
209
|
-
readonly type: "address";
|
|
210
|
-
}];
|
|
211
|
-
readonly name: "nonces";
|
|
212
|
-
readonly outputs: readonly [{
|
|
213
|
-
readonly internalType: "uint256";
|
|
214
|
-
readonly name: "result";
|
|
215
|
-
readonly type: "uint256";
|
|
216
|
-
}];
|
|
217
|
-
readonly stateMutability: "view";
|
|
218
|
-
readonly type: "function";
|
|
219
|
-
}, {
|
|
220
|
-
readonly inputs: readonly [{
|
|
221
|
-
readonly internalType: "address";
|
|
222
|
-
readonly name: "owner";
|
|
223
|
-
readonly type: "address";
|
|
224
|
-
}, {
|
|
225
|
-
readonly internalType: "address";
|
|
226
|
-
readonly name: "spender";
|
|
154
|
+
readonly name: "token";
|
|
227
155
|
readonly type: "address";
|
|
228
156
|
}, {
|
|
229
157
|
readonly internalType: "uint256";
|
|
230
|
-
readonly name: "
|
|
231
|
-
readonly type: "uint256";
|
|
232
|
-
}, {
|
|
233
|
-
readonly internalType: "uint256";
|
|
234
|
-
readonly name: "deadline";
|
|
158
|
+
readonly name: "amount";
|
|
235
159
|
readonly type: "uint256";
|
|
236
|
-
}, {
|
|
237
|
-
readonly internalType: "uint8";
|
|
238
|
-
readonly name: "v";
|
|
239
|
-
readonly type: "uint8";
|
|
240
|
-
}, {
|
|
241
|
-
readonly internalType: "bytes32";
|
|
242
|
-
readonly name: "r";
|
|
243
|
-
readonly type: "bytes32";
|
|
244
|
-
}, {
|
|
245
|
-
readonly internalType: "bytes32";
|
|
246
|
-
readonly name: "s";
|
|
247
|
-
readonly type: "bytes32";
|
|
248
160
|
}];
|
|
249
|
-
readonly name: "
|
|
161
|
+
readonly name: "recoverToken";
|
|
250
162
|
readonly outputs: readonly [];
|
|
251
163
|
readonly stateMutability: "nonpayable";
|
|
252
164
|
readonly type: "function";
|
|
253
|
-
}, {
|
|
254
|
-
readonly inputs: readonly [{
|
|
255
|
-
readonly internalType: "bytes4";
|
|
256
|
-
readonly name: "_interfaceId";
|
|
257
|
-
readonly type: "bytes4";
|
|
258
|
-
}];
|
|
259
|
-
readonly name: "supportsInterface";
|
|
260
|
-
readonly outputs: readonly [{
|
|
261
|
-
readonly internalType: "bool";
|
|
262
|
-
readonly name: "";
|
|
263
|
-
readonly type: "bool";
|
|
264
|
-
}];
|
|
265
|
-
readonly stateMutability: "view";
|
|
266
|
-
readonly type: "function";
|
|
267
165
|
}, {
|
|
268
166
|
readonly inputs: readonly [];
|
|
269
167
|
readonly name: "symbol";
|
|
@@ -274,22 +172,12 @@ export declare const UERC20_jsonAbi: readonly [{
|
|
|
274
172
|
}];
|
|
275
173
|
readonly stateMutability: "view";
|
|
276
174
|
readonly type: "function";
|
|
277
|
-
}, {
|
|
278
|
-
readonly inputs: readonly [];
|
|
279
|
-
readonly name: "tokenURI";
|
|
280
|
-
readonly outputs: readonly [{
|
|
281
|
-
readonly internalType: "string";
|
|
282
|
-
readonly name: "";
|
|
283
|
-
readonly type: "string";
|
|
284
|
-
}];
|
|
285
|
-
readonly stateMutability: "view";
|
|
286
|
-
readonly type: "function";
|
|
287
175
|
}, {
|
|
288
176
|
readonly inputs: readonly [];
|
|
289
177
|
readonly name: "totalSupply";
|
|
290
178
|
readonly outputs: readonly [{
|
|
291
179
|
readonly internalType: "uint256";
|
|
292
|
-
readonly name: "
|
|
180
|
+
readonly name: "";
|
|
293
181
|
readonly type: "uint256";
|
|
294
182
|
}];
|
|
295
183
|
readonly stateMutability: "view";
|
|
@@ -334,17 +222,26 @@ export declare const UERC20_jsonAbi: readonly [{
|
|
|
334
222
|
}];
|
|
335
223
|
readonly stateMutability: "nonpayable";
|
|
336
224
|
readonly type: "function";
|
|
225
|
+
}, {
|
|
226
|
+
readonly inputs: readonly [];
|
|
227
|
+
readonly name: "withdrawETH";
|
|
228
|
+
readonly outputs: readonly [];
|
|
229
|
+
readonly stateMutability: "nonpayable";
|
|
230
|
+
readonly type: "function";
|
|
231
|
+
}, {
|
|
232
|
+
readonly stateMutability: "payable";
|
|
233
|
+
readonly type: "receive";
|
|
337
234
|
}];
|
|
338
235
|
/**
|
|
339
|
-
* Type-safe ABI for
|
|
236
|
+
* Type-safe ABI for USDTToken_json
|
|
340
237
|
*/
|
|
341
|
-
export type
|
|
238
|
+
export type USDTToken_jsonAbi = typeof USDTToken_jsonAbi;
|
|
342
239
|
/**
|
|
343
|
-
* Contract instance type for
|
|
240
|
+
* Contract instance type for USDTToken_json
|
|
344
241
|
*/
|
|
345
|
-
export type
|
|
242
|
+
export type USDTToken_jsonContract = any;
|
|
346
243
|
/**
|
|
347
|
-
*
|
|
244
|
+
* USDTToken_json Contract Class
|
|
348
245
|
*
|
|
349
246
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
350
247
|
*
|
|
@@ -352,12 +249,12 @@ export type UERC20_jsonContract = any;
|
|
|
352
249
|
* ```typescript
|
|
353
250
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
354
251
|
* import { mainnet } from 'viem/chains';
|
|
355
|
-
* import {
|
|
252
|
+
* import { USDTToken_json } from 'USDTToken_json';
|
|
356
253
|
*
|
|
357
254
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
358
255
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
359
256
|
*
|
|
360
|
-
* const contract = new
|
|
257
|
+
* const contract = new USDTToken_json('0x...', { publicClient, walletClient });
|
|
361
258
|
*
|
|
362
259
|
* // Read functions
|
|
363
260
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -375,7 +272,7 @@ export type UERC20_jsonContract = any;
|
|
|
375
272
|
* });
|
|
376
273
|
* ```
|
|
377
274
|
*/
|
|
378
|
-
export declare class
|
|
275
|
+
export declare class USDTToken_json {
|
|
379
276
|
private contract;
|
|
380
277
|
private contractAddress;
|
|
381
278
|
private publicClient;
|
|
@@ -390,67 +287,47 @@ export declare class UERC20_json {
|
|
|
390
287
|
/**
|
|
391
288
|
* Get the underlying viem contract instance
|
|
392
289
|
*/
|
|
393
|
-
getContract():
|
|
290
|
+
getContract(): USDTToken_jsonContract;
|
|
394
291
|
/**
|
|
395
|
-
*
|
|
292
|
+
* WITHDRAW_ADDRESS
|
|
396
293
|
* view
|
|
397
294
|
*/
|
|
398
|
-
|
|
295
|
+
WITHDRAW_ADDRESS(): Promise<`0x${string}`>;
|
|
399
296
|
/**
|
|
400
297
|
* allowance
|
|
401
298
|
* view
|
|
402
299
|
*/
|
|
403
|
-
allowance(
|
|
300
|
+
allowance(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
|
|
404
301
|
/**
|
|
405
302
|
* balanceOf
|
|
406
303
|
* view
|
|
407
304
|
*/
|
|
408
|
-
balanceOf(
|
|
409
|
-
/**
|
|
410
|
-
* creator
|
|
411
|
-
* view
|
|
412
|
-
*/
|
|
413
|
-
creator(): Promise<`0x${string}`>;
|
|
305
|
+
balanceOf(arg0: `0x${string}`): Promise<bigint>;
|
|
414
306
|
/**
|
|
415
307
|
* decimals
|
|
416
308
|
* view
|
|
417
309
|
*/
|
|
418
310
|
decimals(): Promise<bigint>;
|
|
419
311
|
/**
|
|
420
|
-
*
|
|
312
|
+
* getETHBalance
|
|
421
313
|
* view
|
|
422
314
|
*/
|
|
423
|
-
|
|
315
|
+
getETHBalance(): Promise<bigint>;
|
|
424
316
|
/**
|
|
425
|
-
*
|
|
426
|
-
*
|
|
317
|
+
* getWithdrawalAddress
|
|
318
|
+
* pure
|
|
427
319
|
*/
|
|
428
|
-
|
|
320
|
+
getWithdrawalAddress(): Promise<`0x${string}`>;
|
|
429
321
|
/**
|
|
430
322
|
* name
|
|
431
323
|
* view
|
|
432
324
|
*/
|
|
433
325
|
name(): Promise<string>;
|
|
434
|
-
/**
|
|
435
|
-
* nonces
|
|
436
|
-
* view
|
|
437
|
-
*/
|
|
438
|
-
nonces(owner: `0x${string}`): Promise<bigint>;
|
|
439
|
-
/**
|
|
440
|
-
* supportsInterface
|
|
441
|
-
* view
|
|
442
|
-
*/
|
|
443
|
-
supportsInterface(_interfaceId: `0x${string}`): Promise<boolean>;
|
|
444
326
|
/**
|
|
445
327
|
* symbol
|
|
446
328
|
* view
|
|
447
329
|
*/
|
|
448
330
|
symbol(): Promise<string>;
|
|
449
|
-
/**
|
|
450
|
-
* tokenURI
|
|
451
|
-
* view
|
|
452
|
-
*/
|
|
453
|
-
tokenURI(): Promise<string>;
|
|
454
331
|
/**
|
|
455
332
|
* totalSupply
|
|
456
333
|
* view
|
|
@@ -474,11 +351,11 @@ export declare class UERC20_json {
|
|
|
474
351
|
value?: bigint;
|
|
475
352
|
}): Promise<`0x${string}`>;
|
|
476
353
|
/**
|
|
477
|
-
*
|
|
354
|
+
* recoverToken
|
|
478
355
|
* nonpayable
|
|
479
356
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
480
357
|
*/
|
|
481
|
-
|
|
358
|
+
recoverToken(token: `0x${string}`, amount: bigint, options?: {
|
|
482
359
|
accessList?: import('viem').AccessList;
|
|
483
360
|
authorizationList?: import('viem').AuthorizationList;
|
|
484
361
|
chain?: import('viem').Chain | null;
|
|
@@ -524,6 +401,23 @@ export declare class UERC20_json {
|
|
|
524
401
|
nonce?: number;
|
|
525
402
|
value?: bigint;
|
|
526
403
|
}): Promise<`0x${string}`>;
|
|
404
|
+
/**
|
|
405
|
+
* withdrawETH
|
|
406
|
+
* nonpayable
|
|
407
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
408
|
+
*/
|
|
409
|
+
withdrawETH(options?: {
|
|
410
|
+
accessList?: import('viem').AccessList;
|
|
411
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
412
|
+
chain?: import('viem').Chain | null;
|
|
413
|
+
dataSuffix?: `0x${string}`;
|
|
414
|
+
gas?: bigint;
|
|
415
|
+
gasPrice?: bigint;
|
|
416
|
+
maxFeePerGas?: bigint;
|
|
417
|
+
maxPriorityFeePerGas?: bigint;
|
|
418
|
+
nonce?: number;
|
|
419
|
+
value?: bigint;
|
|
420
|
+
}): Promise<`0x${string}`>;
|
|
527
421
|
/**
|
|
528
422
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
529
423
|
*
|
|
@@ -551,11 +445,11 @@ export declare class UERC20_json {
|
|
|
551
445
|
value?: bigint;
|
|
552
446
|
}): Promise<boolean>;
|
|
553
447
|
/**
|
|
554
|
-
* Simulate
|
|
448
|
+
* Simulate recoverToken
|
|
555
449
|
* Returns gas estimate and result without sending transaction
|
|
556
450
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
557
451
|
*/
|
|
558
|
-
|
|
452
|
+
recoverToken(token: `0x${string}`, amount: bigint, options?: {
|
|
559
453
|
accessList?: import("viem").AccessList;
|
|
560
454
|
authorizationList?: import("viem").AuthorizationList;
|
|
561
455
|
chain?: import("viem").Chain | null;
|
|
@@ -601,6 +495,23 @@ export declare class UERC20_json {
|
|
|
601
495
|
nonce?: number;
|
|
602
496
|
value?: bigint;
|
|
603
497
|
}): Promise<boolean>;
|
|
498
|
+
/**
|
|
499
|
+
* Simulate withdrawETH
|
|
500
|
+
* Returns gas estimate and result without sending transaction
|
|
501
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
502
|
+
*/
|
|
503
|
+
withdrawETH(options?: {
|
|
504
|
+
accessList?: import("viem").AccessList;
|
|
505
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
506
|
+
chain?: import("viem").Chain | null;
|
|
507
|
+
dataSuffix?: `0x${string}`;
|
|
508
|
+
gas?: bigint;
|
|
509
|
+
gasPrice?: bigint;
|
|
510
|
+
maxFeePerGas?: bigint;
|
|
511
|
+
maxPriorityFeePerGas?: bigint;
|
|
512
|
+
nonce?: number;
|
|
513
|
+
value?: bigint;
|
|
514
|
+
}): Promise<void>;
|
|
604
515
|
};
|
|
605
516
|
/**
|
|
606
517
|
* Watch contract events
|
|
@@ -624,7 +535,7 @@ export declare class UERC20_json {
|
|
|
624
535
|
Approval: (callback: (event: {
|
|
625
536
|
owner: `0x${string}`;
|
|
626
537
|
spender: `0x${string}`;
|
|
627
|
-
|
|
538
|
+
value: bigint;
|
|
628
539
|
}) => void, filter?: {
|
|
629
540
|
owner: `0x${string}`;
|
|
630
541
|
spender: `0x${string}`;
|
|
@@ -638,7 +549,7 @@ export declare class UERC20_json {
|
|
|
638
549
|
Transfer: (callback: (event: {
|
|
639
550
|
from: `0x${string}`;
|
|
640
551
|
to: `0x${string}`;
|
|
641
|
-
|
|
552
|
+
value: bigint;
|
|
642
553
|
}) => void, filter?: {
|
|
643
554
|
from: `0x${string}`;
|
|
644
555
|
to: `0x${string}`;
|