@gitmyabi/usdt 1.0.22 → 1.0.27
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 +6 -6
- package/contracts/{TetherUSD_json.d.ts → PermittableToken_json.d.ts} +552 -679
- package/contracts/{TetherUSD_json.js → PermittableToken_json.js} +639 -761
- package/contracts/{TetherUSD_json.ts → PermittableToken_json.ts} +667 -837
- package/contracts/TokenProxy_json.d.ts +145 -0
- package/contracts/TokenProxy_json.js +177 -0
- package/contracts/TokenProxy_json.ts +207 -0
- package/contracts/index.d.ts +4 -2
- package/contracts/index.js +7 -4
- package/contracts/index.ts +4 -2
- package/package.json +3 -3
|
@@ -1,683 +1,690 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* PermittableToken_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 PermittableToken_jsonAbi: readonly [{
|
|
8
|
+
readonly constant: true;
|
|
8
9
|
readonly inputs: readonly [];
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
|
|
12
|
-
readonly anonymous: false;
|
|
13
|
-
readonly inputs: readonly [{
|
|
14
|
-
readonly indexed: true;
|
|
15
|
-
readonly internalType: "address";
|
|
16
|
-
readonly name: "owner";
|
|
17
|
-
readonly type: "address";
|
|
18
|
-
}, {
|
|
19
|
-
readonly indexed: true;
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "spender";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}, {
|
|
24
|
-
readonly indexed: false;
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "value";
|
|
27
|
-
readonly type: "uint256";
|
|
28
|
-
}];
|
|
29
|
-
readonly name: "Approval";
|
|
30
|
-
readonly type: "event";
|
|
31
|
-
}, {
|
|
32
|
-
readonly anonymous: false;
|
|
33
|
-
readonly inputs: readonly [{
|
|
34
|
-
readonly indexed: true;
|
|
35
|
-
readonly internalType: "address";
|
|
36
|
-
readonly name: "account";
|
|
37
|
-
readonly type: "address";
|
|
38
|
-
}, {
|
|
39
|
-
readonly indexed: false;
|
|
40
|
-
readonly internalType: "bool";
|
|
41
|
-
readonly name: "status";
|
|
10
|
+
readonly name: "mintingFinished";
|
|
11
|
+
readonly outputs: readonly [{
|
|
12
|
+
readonly name: "";
|
|
42
13
|
readonly type: "bool";
|
|
43
14
|
}];
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
15
|
+
readonly payable: false;
|
|
16
|
+
readonly stateMutability: "view";
|
|
17
|
+
readonly type: "function";
|
|
46
18
|
}, {
|
|
47
|
-
readonly
|
|
48
|
-
readonly inputs: readonly [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
readonly name: "
|
|
52
|
-
readonly type: "
|
|
53
|
-
}, {
|
|
54
|
-
readonly indexed: false;
|
|
55
|
-
readonly internalType: "uint256";
|
|
56
|
-
readonly name: "amount";
|
|
57
|
-
readonly type: "uint256";
|
|
19
|
+
readonly constant: true;
|
|
20
|
+
readonly inputs: readonly [];
|
|
21
|
+
readonly name: "name";
|
|
22
|
+
readonly outputs: readonly [{
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly type: "string";
|
|
58
25
|
}];
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
26
|
+
readonly payable: false;
|
|
27
|
+
readonly stateMutability: "view";
|
|
28
|
+
readonly type: "function";
|
|
61
29
|
}, {
|
|
62
|
-
readonly
|
|
30
|
+
readonly constant: false;
|
|
63
31
|
readonly inputs: readonly [{
|
|
64
|
-
readonly
|
|
65
|
-
readonly internalType: "address";
|
|
66
|
-
readonly name: "oldCollector";
|
|
32
|
+
readonly name: "_to";
|
|
67
33
|
readonly type: "address";
|
|
68
34
|
}, {
|
|
69
|
-
readonly
|
|
70
|
-
readonly internalType: "address";
|
|
71
|
-
readonly name: "newCollector";
|
|
72
|
-
readonly type: "address";
|
|
73
|
-
}];
|
|
74
|
-
readonly name: "FeeCollectorUpdated";
|
|
75
|
-
readonly type: "event";
|
|
76
|
-
}, {
|
|
77
|
-
readonly anonymous: false;
|
|
78
|
-
readonly inputs: readonly [{
|
|
79
|
-
readonly indexed: false;
|
|
80
|
-
readonly internalType: "uint256";
|
|
81
|
-
readonly name: "oldFee";
|
|
82
|
-
readonly type: "uint256";
|
|
83
|
-
}, {
|
|
84
|
-
readonly indexed: false;
|
|
85
|
-
readonly internalType: "uint256";
|
|
86
|
-
readonly name: "newFee";
|
|
35
|
+
readonly name: "_value";
|
|
87
36
|
readonly type: "uint256";
|
|
88
37
|
}];
|
|
89
|
-
readonly name: "
|
|
90
|
-
readonly
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
readonly inputs: readonly [{
|
|
94
|
-
readonly indexed: false;
|
|
95
|
-
readonly internalType: "uint256";
|
|
96
|
-
readonly name: "oldMax";
|
|
97
|
-
readonly type: "uint256";
|
|
98
|
-
}, {
|
|
99
|
-
readonly indexed: false;
|
|
100
|
-
readonly internalType: "uint256";
|
|
101
|
-
readonly name: "newMax";
|
|
102
|
-
readonly type: "uint256";
|
|
103
|
-
}];
|
|
104
|
-
readonly name: "MaxTransferUpdated";
|
|
105
|
-
readonly type: "event";
|
|
106
|
-
}, {
|
|
107
|
-
readonly anonymous: false;
|
|
108
|
-
readonly inputs: readonly [{
|
|
109
|
-
readonly indexed: true;
|
|
110
|
-
readonly internalType: "address";
|
|
111
|
-
readonly name: "to";
|
|
112
|
-
readonly type: "address";
|
|
113
|
-
}, {
|
|
114
|
-
readonly indexed: false;
|
|
115
|
-
readonly internalType: "uint256";
|
|
116
|
-
readonly name: "amount";
|
|
117
|
-
readonly type: "uint256";
|
|
38
|
+
readonly name: "approve";
|
|
39
|
+
readonly outputs: readonly [{
|
|
40
|
+
readonly name: "result";
|
|
41
|
+
readonly type: "bool";
|
|
118
42
|
}];
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
43
|
+
readonly payable: false;
|
|
44
|
+
readonly stateMutability: "nonpayable";
|
|
45
|
+
readonly type: "function";
|
|
121
46
|
}, {
|
|
122
|
-
readonly
|
|
47
|
+
readonly constant: false;
|
|
123
48
|
readonly inputs: readonly [{
|
|
124
|
-
readonly
|
|
125
|
-
readonly internalType: "address";
|
|
126
|
-
readonly name: "previousOwner";
|
|
127
|
-
readonly type: "address";
|
|
128
|
-
}, {
|
|
129
|
-
readonly indexed: true;
|
|
130
|
-
readonly internalType: "address";
|
|
131
|
-
readonly name: "newOwner";
|
|
49
|
+
readonly name: "_bridgeContract";
|
|
132
50
|
readonly type: "address";
|
|
133
51
|
}];
|
|
134
|
-
readonly name: "
|
|
135
|
-
readonly
|
|
52
|
+
readonly name: "setBridgeContract";
|
|
53
|
+
readonly outputs: readonly [];
|
|
54
|
+
readonly payable: false;
|
|
55
|
+
readonly stateMutability: "nonpayable";
|
|
56
|
+
readonly type: "function";
|
|
136
57
|
}, {
|
|
137
|
-
readonly
|
|
138
|
-
readonly inputs: readonly [
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
readonly name: "
|
|
142
|
-
readonly type: "
|
|
58
|
+
readonly constant: true;
|
|
59
|
+
readonly inputs: readonly [];
|
|
60
|
+
readonly name: "totalSupply";
|
|
61
|
+
readonly outputs: readonly [{
|
|
62
|
+
readonly name: "";
|
|
63
|
+
readonly type: "uint256";
|
|
143
64
|
}];
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
65
|
+
readonly payable: false;
|
|
66
|
+
readonly stateMutability: "view";
|
|
67
|
+
readonly type: "function";
|
|
146
68
|
}, {
|
|
147
|
-
readonly
|
|
69
|
+
readonly constant: false;
|
|
148
70
|
readonly inputs: readonly [{
|
|
149
|
-
readonly
|
|
150
|
-
readonly internalType: "address";
|
|
151
|
-
readonly name: "from";
|
|
71
|
+
readonly name: "_sender";
|
|
152
72
|
readonly type: "address";
|
|
153
73
|
}, {
|
|
154
|
-
readonly
|
|
155
|
-
readonly internalType: "address";
|
|
156
|
-
readonly name: "to";
|
|
74
|
+
readonly name: "_recipient";
|
|
157
75
|
readonly type: "address";
|
|
158
76
|
}, {
|
|
159
|
-
readonly
|
|
160
|
-
readonly internalType: "uint256";
|
|
161
|
-
readonly name: "value";
|
|
77
|
+
readonly name: "_amount";
|
|
162
78
|
readonly type: "uint256";
|
|
163
79
|
}];
|
|
164
|
-
readonly name: "
|
|
165
|
-
readonly
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
readonly inputs: readonly [{
|
|
169
|
-
readonly indexed: true;
|
|
170
|
-
readonly internalType: "address";
|
|
171
|
-
readonly name: "by";
|
|
172
|
-
readonly type: "address";
|
|
80
|
+
readonly name: "transferFrom";
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly name: "";
|
|
83
|
+
readonly type: "bool";
|
|
173
84
|
}];
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
85
|
+
readonly payable: false;
|
|
86
|
+
readonly stateMutability: "nonpayable";
|
|
87
|
+
readonly type: "function";
|
|
176
88
|
}, {
|
|
89
|
+
readonly constant: true;
|
|
177
90
|
readonly inputs: readonly [];
|
|
178
|
-
readonly name: "
|
|
91
|
+
readonly name: "PERMIT_TYPEHASH";
|
|
179
92
|
readonly outputs: readonly [{
|
|
180
|
-
readonly internalType: "bytes32";
|
|
181
93
|
readonly name: "";
|
|
182
94
|
readonly type: "bytes32";
|
|
183
95
|
}];
|
|
96
|
+
readonly payable: false;
|
|
184
97
|
readonly stateMutability: "view";
|
|
185
98
|
readonly type: "function";
|
|
186
99
|
}, {
|
|
100
|
+
readonly constant: true;
|
|
187
101
|
readonly inputs: readonly [];
|
|
188
|
-
readonly name: "
|
|
189
|
-
readonly outputs: readonly [
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}, {
|
|
193
|
-
readonly inputs: readonly [{
|
|
194
|
-
readonly internalType: "address";
|
|
195
|
-
readonly name: "account";
|
|
196
|
-
readonly type: "address";
|
|
102
|
+
readonly name: "decimals";
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly name: "";
|
|
105
|
+
readonly type: "uint8";
|
|
197
106
|
}];
|
|
198
|
-
readonly
|
|
199
|
-
readonly
|
|
200
|
-
readonly stateMutability: "nonpayable";
|
|
107
|
+
readonly payable: false;
|
|
108
|
+
readonly stateMutability: "view";
|
|
201
109
|
readonly type: "function";
|
|
202
110
|
}, {
|
|
203
|
-
readonly
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
111
|
+
readonly constant: true;
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly name: "";
|
|
116
|
+
readonly type: "bytes32";
|
|
207
117
|
}];
|
|
208
|
-
readonly
|
|
209
|
-
readonly
|
|
210
|
-
readonly stateMutability: "nonpayable";
|
|
118
|
+
readonly payable: false;
|
|
119
|
+
readonly stateMutability: "view";
|
|
211
120
|
readonly type: "function";
|
|
212
121
|
}, {
|
|
122
|
+
readonly constant: false;
|
|
213
123
|
readonly inputs: readonly [{
|
|
214
|
-
readonly
|
|
215
|
-
readonly name: "_owner";
|
|
124
|
+
readonly name: "_to";
|
|
216
125
|
readonly type: "address";
|
|
217
126
|
}, {
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly type: "address";
|
|
127
|
+
readonly name: "_addedValue";
|
|
128
|
+
readonly type: "uint256";
|
|
221
129
|
}];
|
|
222
|
-
readonly name: "
|
|
130
|
+
readonly name: "increaseAllowance";
|
|
223
131
|
readonly outputs: readonly [{
|
|
224
|
-
readonly
|
|
225
|
-
readonly
|
|
226
|
-
readonly type: "uint256";
|
|
132
|
+
readonly name: "result";
|
|
133
|
+
readonly type: "bool";
|
|
227
134
|
}];
|
|
228
|
-
readonly
|
|
135
|
+
readonly payable: false;
|
|
136
|
+
readonly stateMutability: "nonpayable";
|
|
229
137
|
readonly type: "function";
|
|
230
138
|
}, {
|
|
139
|
+
readonly constant: false;
|
|
231
140
|
readonly inputs: readonly [{
|
|
232
|
-
readonly
|
|
233
|
-
readonly name: "spender";
|
|
141
|
+
readonly name: "_to";
|
|
234
142
|
readonly type: "address";
|
|
235
143
|
}, {
|
|
236
|
-
readonly
|
|
237
|
-
readonly name: "value";
|
|
144
|
+
readonly name: "_value";
|
|
238
145
|
readonly type: "uint256";
|
|
146
|
+
}, {
|
|
147
|
+
readonly name: "_data";
|
|
148
|
+
readonly type: "bytes";
|
|
239
149
|
}];
|
|
240
|
-
readonly name: "
|
|
150
|
+
readonly name: "transferAndCall";
|
|
241
151
|
readonly outputs: readonly [{
|
|
242
|
-
readonly internalType: "bool";
|
|
243
152
|
readonly name: "";
|
|
244
153
|
readonly type: "bool";
|
|
245
154
|
}];
|
|
155
|
+
readonly payable: false;
|
|
246
156
|
readonly stateMutability: "nonpayable";
|
|
247
157
|
readonly type: "function";
|
|
248
158
|
}, {
|
|
159
|
+
readonly constant: false;
|
|
249
160
|
readonly inputs: readonly [{
|
|
250
|
-
readonly
|
|
251
|
-
readonly name: "account";
|
|
161
|
+
readonly name: "_to";
|
|
252
162
|
readonly type: "address";
|
|
163
|
+
}, {
|
|
164
|
+
readonly name: "_amount";
|
|
165
|
+
readonly type: "uint256";
|
|
253
166
|
}];
|
|
254
|
-
readonly name: "
|
|
167
|
+
readonly name: "mint";
|
|
255
168
|
readonly outputs: readonly [{
|
|
256
|
-
readonly internalType: "uint256";
|
|
257
169
|
readonly name: "";
|
|
258
|
-
readonly type: "
|
|
170
|
+
readonly type: "bool";
|
|
259
171
|
}];
|
|
260
|
-
readonly
|
|
172
|
+
readonly payable: false;
|
|
173
|
+
readonly stateMutability: "nonpayable";
|
|
261
174
|
readonly type: "function";
|
|
262
175
|
}, {
|
|
176
|
+
readonly constant: false;
|
|
263
177
|
readonly inputs: readonly [{
|
|
264
|
-
readonly
|
|
265
|
-
readonly
|
|
266
|
-
readonly type: "address";
|
|
267
|
-
}, {
|
|
268
|
-
readonly internalType: "bool";
|
|
269
|
-
readonly name: "status";
|
|
270
|
-
readonly type: "bool";
|
|
178
|
+
readonly name: "_value";
|
|
179
|
+
readonly type: "uint256";
|
|
271
180
|
}];
|
|
272
|
-
readonly name: "
|
|
181
|
+
readonly name: "burn";
|
|
273
182
|
readonly outputs: readonly [];
|
|
183
|
+
readonly payable: false;
|
|
274
184
|
readonly stateMutability: "nonpayable";
|
|
275
185
|
readonly type: "function";
|
|
276
186
|
}, {
|
|
277
|
-
readonly
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
readonly type: "address";
|
|
281
|
-
}];
|
|
282
|
-
readonly name: "blacklisted";
|
|
187
|
+
readonly constant: true;
|
|
188
|
+
readonly inputs: readonly [];
|
|
189
|
+
readonly name: "version";
|
|
283
190
|
readonly outputs: readonly [{
|
|
284
|
-
readonly internalType: "bool";
|
|
285
191
|
readonly name: "";
|
|
286
|
-
readonly type: "
|
|
192
|
+
readonly type: "string";
|
|
287
193
|
}];
|
|
194
|
+
readonly payable: false;
|
|
288
195
|
readonly stateMutability: "view";
|
|
289
196
|
readonly type: "function";
|
|
290
197
|
}, {
|
|
198
|
+
readonly constant: false;
|
|
291
199
|
readonly inputs: readonly [{
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
200
|
+
readonly name: "_spender";
|
|
201
|
+
readonly type: "address";
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "_subtractedValue";
|
|
294
204
|
readonly type: "uint256";
|
|
295
205
|
}];
|
|
296
|
-
readonly name: "
|
|
297
|
-
readonly outputs: readonly [
|
|
206
|
+
readonly name: "decreaseApproval";
|
|
207
|
+
readonly outputs: readonly [{
|
|
208
|
+
readonly name: "";
|
|
209
|
+
readonly type: "bool";
|
|
210
|
+
}];
|
|
211
|
+
readonly payable: false;
|
|
298
212
|
readonly stateMutability: "nonpayable";
|
|
299
213
|
readonly type: "function";
|
|
300
214
|
}, {
|
|
215
|
+
readonly constant: false;
|
|
301
216
|
readonly inputs: readonly [{
|
|
302
|
-
readonly
|
|
303
|
-
readonly name: "from";
|
|
217
|
+
readonly name: "_token";
|
|
304
218
|
readonly type: "address";
|
|
305
219
|
}, {
|
|
306
|
-
readonly
|
|
307
|
-
readonly
|
|
308
|
-
readonly type: "uint256";
|
|
220
|
+
readonly name: "_to";
|
|
221
|
+
readonly type: "address";
|
|
309
222
|
}];
|
|
310
|
-
readonly name: "
|
|
223
|
+
readonly name: "claimTokens";
|
|
311
224
|
readonly outputs: readonly [];
|
|
225
|
+
readonly payable: false;
|
|
312
226
|
readonly stateMutability: "nonpayable";
|
|
313
227
|
readonly type: "function";
|
|
314
228
|
}, {
|
|
315
|
-
readonly
|
|
316
|
-
readonly
|
|
229
|
+
readonly constant: true;
|
|
230
|
+
readonly inputs: readonly [{
|
|
231
|
+
readonly name: "_owner";
|
|
232
|
+
readonly type: "address";
|
|
233
|
+
}];
|
|
234
|
+
readonly name: "balanceOf";
|
|
317
235
|
readonly outputs: readonly [{
|
|
318
|
-
readonly internalType: "address";
|
|
319
236
|
readonly name: "";
|
|
320
|
-
readonly type: "
|
|
237
|
+
readonly type: "uint256";
|
|
321
238
|
}];
|
|
239
|
+
readonly payable: false;
|
|
322
240
|
readonly stateMutability: "view";
|
|
323
241
|
readonly type: "function";
|
|
324
242
|
}, {
|
|
243
|
+
readonly constant: false;
|
|
325
244
|
readonly inputs: readonly [];
|
|
326
|
-
readonly name: "
|
|
327
|
-
readonly outputs: readonly [
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
readonly type: "uint8";
|
|
331
|
-
}];
|
|
332
|
-
readonly stateMutability: "view";
|
|
245
|
+
readonly name: "renounceOwnership";
|
|
246
|
+
readonly outputs: readonly [];
|
|
247
|
+
readonly payable: false;
|
|
248
|
+
readonly stateMutability: "nonpayable";
|
|
333
249
|
readonly type: "function";
|
|
334
250
|
}, {
|
|
251
|
+
readonly constant: true;
|
|
335
252
|
readonly inputs: readonly [{
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
338
|
-
readonly type: "address[]";
|
|
339
|
-
}, {
|
|
340
|
-
readonly internalType: "uint256";
|
|
341
|
-
readonly name: "value";
|
|
342
|
-
readonly type: "uint256";
|
|
253
|
+
readonly name: "_address";
|
|
254
|
+
readonly type: "address";
|
|
343
255
|
}];
|
|
344
|
-
readonly name: "
|
|
256
|
+
readonly name: "isBridge";
|
|
345
257
|
readonly outputs: readonly [{
|
|
346
|
-
readonly internalType: "bool";
|
|
347
258
|
readonly name: "";
|
|
348
259
|
readonly type: "bool";
|
|
349
260
|
}];
|
|
350
|
-
readonly
|
|
261
|
+
readonly payable: false;
|
|
262
|
+
readonly stateMutability: "view";
|
|
351
263
|
readonly type: "function";
|
|
352
264
|
}, {
|
|
265
|
+
readonly constant: false;
|
|
353
266
|
readonly inputs: readonly [];
|
|
354
|
-
readonly name: "
|
|
267
|
+
readonly name: "finishMinting";
|
|
355
268
|
readonly outputs: readonly [{
|
|
356
|
-
readonly internalType: "address";
|
|
357
269
|
readonly name: "";
|
|
358
|
-
readonly type: "
|
|
270
|
+
readonly type: "bool";
|
|
359
271
|
}];
|
|
360
|
-
readonly
|
|
272
|
+
readonly payable: false;
|
|
273
|
+
readonly stateMutability: "nonpayable";
|
|
361
274
|
readonly type: "function";
|
|
362
275
|
}, {
|
|
276
|
+
readonly constant: true;
|
|
363
277
|
readonly inputs: readonly [{
|
|
364
|
-
readonly
|
|
365
|
-
readonly
|
|
366
|
-
readonly type: "uint256";
|
|
278
|
+
readonly name: "";
|
|
279
|
+
readonly type: "address";
|
|
367
280
|
}];
|
|
368
|
-
readonly name: "
|
|
281
|
+
readonly name: "nonces";
|
|
369
282
|
readonly outputs: readonly [{
|
|
370
|
-
readonly internalType: "uint256";
|
|
371
283
|
readonly name: "";
|
|
372
284
|
readonly type: "uint256";
|
|
373
285
|
}];
|
|
286
|
+
readonly payable: false;
|
|
374
287
|
readonly stateMutability: "view";
|
|
375
288
|
readonly type: "function";
|
|
376
289
|
}, {
|
|
377
|
-
readonly
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
290
|
+
readonly constant: true;
|
|
291
|
+
readonly inputs: readonly [];
|
|
292
|
+
readonly name: "getTokenInterfacesVersion";
|
|
293
|
+
readonly outputs: readonly [{
|
|
294
|
+
readonly name: "major";
|
|
295
|
+
readonly type: "uint64";
|
|
296
|
+
}, {
|
|
297
|
+
readonly name: "minor";
|
|
298
|
+
readonly type: "uint64";
|
|
299
|
+
}, {
|
|
300
|
+
readonly name: "patch";
|
|
301
|
+
readonly type: "uint64";
|
|
381
302
|
}];
|
|
382
|
-
readonly
|
|
303
|
+
readonly payable: false;
|
|
304
|
+
readonly stateMutability: "pure";
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
}, {
|
|
307
|
+
readonly constant: true;
|
|
308
|
+
readonly inputs: readonly [];
|
|
309
|
+
readonly name: "owner";
|
|
383
310
|
readonly outputs: readonly [{
|
|
384
|
-
readonly internalType: "bool";
|
|
385
311
|
readonly name: "";
|
|
386
|
-
readonly type: "
|
|
312
|
+
readonly type: "address";
|
|
387
313
|
}];
|
|
314
|
+
readonly payable: false;
|
|
388
315
|
readonly stateMutability: "view";
|
|
389
316
|
readonly type: "function";
|
|
390
317
|
}, {
|
|
318
|
+
readonly constant: false;
|
|
391
319
|
readonly inputs: readonly [{
|
|
392
|
-
readonly
|
|
393
|
-
readonly name: "account";
|
|
320
|
+
readonly name: "_holder";
|
|
394
321
|
readonly type: "address";
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
readonly name: "";
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "_spender";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}, {
|
|
326
|
+
readonly name: "_nonce";
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "_expiry";
|
|
330
|
+
readonly type: "uint256";
|
|
331
|
+
}, {
|
|
332
|
+
readonly name: "_allowed";
|
|
400
333
|
readonly type: "bool";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "_v";
|
|
336
|
+
readonly type: "uint8";
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: "_r";
|
|
339
|
+
readonly type: "bytes32";
|
|
340
|
+
}, {
|
|
341
|
+
readonly name: "_s";
|
|
342
|
+
readonly type: "bytes32";
|
|
401
343
|
}];
|
|
402
|
-
readonly
|
|
344
|
+
readonly name: "permit";
|
|
345
|
+
readonly outputs: readonly [];
|
|
346
|
+
readonly payable: false;
|
|
347
|
+
readonly stateMutability: "nonpayable";
|
|
403
348
|
readonly type: "function";
|
|
404
349
|
}, {
|
|
350
|
+
readonly constant: true;
|
|
405
351
|
readonly inputs: readonly [];
|
|
406
|
-
readonly name: "
|
|
352
|
+
readonly name: "symbol";
|
|
407
353
|
readonly outputs: readonly [{
|
|
408
|
-
readonly internalType: "uint256";
|
|
409
354
|
readonly name: "";
|
|
410
|
-
readonly type: "
|
|
355
|
+
readonly type: "string";
|
|
411
356
|
}];
|
|
357
|
+
readonly payable: false;
|
|
412
358
|
readonly stateMutability: "view";
|
|
413
359
|
readonly type: "function";
|
|
414
360
|
}, {
|
|
361
|
+
readonly constant: false;
|
|
415
362
|
readonly inputs: readonly [{
|
|
416
|
-
readonly
|
|
417
|
-
readonly name: "to";
|
|
363
|
+
readonly name: "spender";
|
|
418
364
|
readonly type: "address";
|
|
419
365
|
}, {
|
|
420
|
-
readonly
|
|
421
|
-
readonly name: "amount";
|
|
366
|
+
readonly name: "subtractedValue";
|
|
422
367
|
readonly type: "uint256";
|
|
423
368
|
}];
|
|
424
|
-
readonly name: "
|
|
425
|
-
readonly outputs: readonly [
|
|
369
|
+
readonly name: "decreaseAllowance";
|
|
370
|
+
readonly outputs: readonly [{
|
|
371
|
+
readonly name: "";
|
|
372
|
+
readonly type: "bool";
|
|
373
|
+
}];
|
|
374
|
+
readonly payable: false;
|
|
426
375
|
readonly stateMutability: "nonpayable";
|
|
427
376
|
readonly type: "function";
|
|
428
377
|
}, {
|
|
378
|
+
readonly constant: false;
|
|
429
379
|
readonly inputs: readonly [{
|
|
430
|
-
readonly
|
|
431
|
-
readonly name: "";
|
|
380
|
+
readonly name: "_to";
|
|
432
381
|
readonly type: "address";
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "_value";
|
|
384
|
+
readonly type: "uint256";
|
|
433
385
|
}];
|
|
434
|
-
readonly name: "
|
|
386
|
+
readonly name: "transfer";
|
|
435
387
|
readonly outputs: readonly [{
|
|
436
|
-
readonly internalType: "bool";
|
|
437
388
|
readonly name: "";
|
|
438
389
|
readonly type: "bool";
|
|
439
390
|
}];
|
|
440
|
-
readonly
|
|
391
|
+
readonly payable: false;
|
|
392
|
+
readonly stateMutability: "nonpayable";
|
|
441
393
|
readonly type: "function";
|
|
442
394
|
}, {
|
|
395
|
+
readonly constant: false;
|
|
443
396
|
readonly inputs: readonly [{
|
|
444
|
-
readonly
|
|
445
|
-
readonly
|
|
446
|
-
readonly type: "address[]";
|
|
397
|
+
readonly name: "_to";
|
|
398
|
+
readonly type: "address";
|
|
447
399
|
}, {
|
|
448
|
-
readonly
|
|
449
|
-
readonly
|
|
450
|
-
readonly type: "uint256[]";
|
|
400
|
+
readonly name: "_amount";
|
|
401
|
+
readonly type: "uint256";
|
|
451
402
|
}];
|
|
452
|
-
readonly name: "
|
|
453
|
-
readonly outputs: readonly [
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
403
|
+
readonly name: "push";
|
|
404
|
+
readonly outputs: readonly [];
|
|
405
|
+
readonly payable: false;
|
|
406
|
+
readonly stateMutability: "nonpayable";
|
|
407
|
+
readonly type: "function";
|
|
408
|
+
}, {
|
|
409
|
+
readonly constant: false;
|
|
410
|
+
readonly inputs: readonly [{
|
|
411
|
+
readonly name: "_from";
|
|
412
|
+
readonly type: "address";
|
|
413
|
+
}, {
|
|
414
|
+
readonly name: "_to";
|
|
415
|
+
readonly type: "address";
|
|
416
|
+
}, {
|
|
417
|
+
readonly name: "_amount";
|
|
418
|
+
readonly type: "uint256";
|
|
457
419
|
}];
|
|
420
|
+
readonly name: "move";
|
|
421
|
+
readonly outputs: readonly [];
|
|
422
|
+
readonly payable: false;
|
|
458
423
|
readonly stateMutability: "nonpayable";
|
|
459
424
|
readonly type: "function";
|
|
460
425
|
}, {
|
|
426
|
+
readonly constant: true;
|
|
461
427
|
readonly inputs: readonly [];
|
|
462
|
-
readonly name: "
|
|
428
|
+
readonly name: "PERMIT_TYPEHASH_LEGACY";
|
|
463
429
|
readonly outputs: readonly [{
|
|
464
|
-
readonly internalType: "string";
|
|
465
430
|
readonly name: "";
|
|
466
|
-
readonly type: "
|
|
431
|
+
readonly type: "bytes32";
|
|
467
432
|
}];
|
|
433
|
+
readonly payable: false;
|
|
468
434
|
readonly stateMutability: "view";
|
|
469
435
|
readonly type: "function";
|
|
470
436
|
}, {
|
|
437
|
+
readonly constant: true;
|
|
471
438
|
readonly inputs: readonly [];
|
|
472
|
-
readonly name: "
|
|
439
|
+
readonly name: "bridgeContract";
|
|
473
440
|
readonly outputs: readonly [{
|
|
474
|
-
readonly internalType: "address";
|
|
475
441
|
readonly name: "";
|
|
476
442
|
readonly type: "address";
|
|
477
443
|
}];
|
|
444
|
+
readonly payable: false;
|
|
478
445
|
readonly stateMutability: "view";
|
|
479
446
|
readonly type: "function";
|
|
480
447
|
}, {
|
|
481
|
-
readonly
|
|
482
|
-
readonly
|
|
448
|
+
readonly constant: false;
|
|
449
|
+
readonly inputs: readonly [{
|
|
450
|
+
readonly name: "_holder";
|
|
451
|
+
readonly type: "address";
|
|
452
|
+
}, {
|
|
453
|
+
readonly name: "_spender";
|
|
454
|
+
readonly type: "address";
|
|
455
|
+
}, {
|
|
456
|
+
readonly name: "_value";
|
|
457
|
+
readonly type: "uint256";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "_deadline";
|
|
460
|
+
readonly type: "uint256";
|
|
461
|
+
}, {
|
|
462
|
+
readonly name: "_v";
|
|
463
|
+
readonly type: "uint8";
|
|
464
|
+
}, {
|
|
465
|
+
readonly name: "_r";
|
|
466
|
+
readonly type: "bytes32";
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "_s";
|
|
469
|
+
readonly type: "bytes32";
|
|
470
|
+
}];
|
|
471
|
+
readonly name: "permit";
|
|
483
472
|
readonly outputs: readonly [];
|
|
473
|
+
readonly payable: false;
|
|
484
474
|
readonly stateMutability: "nonpayable";
|
|
485
475
|
readonly type: "function";
|
|
486
476
|
}, {
|
|
487
|
-
readonly
|
|
488
|
-
readonly name: "paused";
|
|
489
|
-
readonly outputs: readonly [{
|
|
490
|
-
readonly internalType: "bool";
|
|
491
|
-
readonly name: "";
|
|
492
|
-
readonly type: "bool";
|
|
493
|
-
}];
|
|
494
|
-
readonly stateMutability: "view";
|
|
495
|
-
readonly type: "function";
|
|
496
|
-
}, {
|
|
477
|
+
readonly constant: false;
|
|
497
478
|
readonly inputs: readonly [{
|
|
498
|
-
readonly
|
|
499
|
-
readonly name: "";
|
|
479
|
+
readonly name: "_spender";
|
|
500
480
|
readonly type: "address";
|
|
481
|
+
}, {
|
|
482
|
+
readonly name: "_addedValue";
|
|
483
|
+
readonly type: "uint256";
|
|
501
484
|
}];
|
|
502
|
-
readonly name: "
|
|
485
|
+
readonly name: "increaseApproval";
|
|
503
486
|
readonly outputs: readonly [{
|
|
504
|
-
readonly internalType: "bool";
|
|
505
487
|
readonly name: "";
|
|
506
488
|
readonly type: "bool";
|
|
507
489
|
}];
|
|
508
|
-
readonly
|
|
490
|
+
readonly payable: false;
|
|
491
|
+
readonly stateMutability: "nonpayable";
|
|
509
492
|
readonly type: "function";
|
|
510
493
|
}, {
|
|
511
|
-
readonly
|
|
512
|
-
readonly
|
|
494
|
+
readonly constant: true;
|
|
495
|
+
readonly inputs: readonly [{
|
|
496
|
+
readonly name: "_owner";
|
|
497
|
+
readonly type: "address";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "_spender";
|
|
500
|
+
readonly type: "address";
|
|
501
|
+
}];
|
|
502
|
+
readonly name: "allowance";
|
|
513
503
|
readonly outputs: readonly [{
|
|
514
|
-
readonly internalType: "address";
|
|
515
504
|
readonly name: "";
|
|
516
|
-
readonly type: "
|
|
505
|
+
readonly type: "uint256";
|
|
517
506
|
}];
|
|
507
|
+
readonly payable: false;
|
|
518
508
|
readonly stateMutability: "view";
|
|
519
509
|
readonly type: "function";
|
|
520
510
|
}, {
|
|
511
|
+
readonly constant: false;
|
|
521
512
|
readonly inputs: readonly [{
|
|
522
|
-
readonly
|
|
523
|
-
readonly name: "account";
|
|
513
|
+
readonly name: "_from";
|
|
524
514
|
readonly type: "address";
|
|
515
|
+
}, {
|
|
516
|
+
readonly name: "_amount";
|
|
517
|
+
readonly type: "uint256";
|
|
525
518
|
}];
|
|
526
|
-
readonly name: "
|
|
519
|
+
readonly name: "pull";
|
|
527
520
|
readonly outputs: readonly [];
|
|
521
|
+
readonly payable: false;
|
|
528
522
|
readonly stateMutability: "nonpayable";
|
|
529
523
|
readonly type: "function";
|
|
530
524
|
}, {
|
|
525
|
+
readonly constant: false;
|
|
531
526
|
readonly inputs: readonly [{
|
|
532
|
-
readonly
|
|
533
|
-
readonly name: "account";
|
|
527
|
+
readonly name: "_newOwner";
|
|
534
528
|
readonly type: "address";
|
|
535
529
|
}];
|
|
536
|
-
readonly name: "
|
|
530
|
+
readonly name: "transferOwnership";
|
|
537
531
|
readonly outputs: readonly [];
|
|
532
|
+
readonly payable: false;
|
|
538
533
|
readonly stateMutability: "nonpayable";
|
|
539
534
|
readonly type: "function";
|
|
540
535
|
}, {
|
|
536
|
+
readonly constant: true;
|
|
541
537
|
readonly inputs: readonly [{
|
|
542
|
-
readonly
|
|
543
|
-
readonly name: "tokenAddress";
|
|
538
|
+
readonly name: "";
|
|
544
539
|
readonly type: "address";
|
|
545
540
|
}, {
|
|
546
|
-
readonly
|
|
547
|
-
readonly
|
|
541
|
+
readonly name: "";
|
|
542
|
+
readonly type: "address";
|
|
543
|
+
}];
|
|
544
|
+
readonly name: "expirations";
|
|
545
|
+
readonly outputs: readonly [{
|
|
546
|
+
readonly name: "";
|
|
548
547
|
readonly type: "uint256";
|
|
549
548
|
}];
|
|
550
|
-
readonly
|
|
551
|
-
readonly
|
|
552
|
-
readonly stateMutability: "nonpayable";
|
|
549
|
+
readonly payable: false;
|
|
550
|
+
readonly stateMutability: "view";
|
|
553
551
|
readonly type: "function";
|
|
554
552
|
}, {
|
|
555
553
|
readonly inputs: readonly [{
|
|
556
|
-
readonly
|
|
557
|
-
readonly
|
|
558
|
-
|
|
554
|
+
readonly name: "_name";
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
}, {
|
|
557
|
+
readonly name: "_symbol";
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "_decimals";
|
|
561
|
+
readonly type: "uint8";
|
|
562
|
+
}, {
|
|
563
|
+
readonly name: "_chainId";
|
|
564
|
+
readonly type: "uint256";
|
|
559
565
|
}];
|
|
560
|
-
readonly
|
|
561
|
-
readonly outputs: readonly [];
|
|
566
|
+
readonly payable: false;
|
|
562
567
|
readonly stateMutability: "nonpayable";
|
|
563
|
-
readonly type: "
|
|
568
|
+
readonly type: "constructor";
|
|
564
569
|
}, {
|
|
570
|
+
readonly anonymous: false;
|
|
565
571
|
readonly inputs: readonly [{
|
|
566
|
-
readonly
|
|
567
|
-
readonly name: "
|
|
572
|
+
readonly indexed: true;
|
|
573
|
+
readonly name: "to";
|
|
574
|
+
readonly type: "address";
|
|
575
|
+
}, {
|
|
576
|
+
readonly indexed: false;
|
|
577
|
+
readonly name: "amount";
|
|
568
578
|
readonly type: "uint256";
|
|
569
579
|
}];
|
|
570
|
-
readonly name: "
|
|
571
|
-
readonly
|
|
572
|
-
|
|
573
|
-
readonly
|
|
580
|
+
readonly name: "Mint";
|
|
581
|
+
readonly type: "event";
|
|
582
|
+
}, {
|
|
583
|
+
readonly anonymous: false;
|
|
584
|
+
readonly inputs: readonly [];
|
|
585
|
+
readonly name: "MintFinished";
|
|
586
|
+
readonly type: "event";
|
|
574
587
|
}, {
|
|
588
|
+
readonly anonymous: false;
|
|
575
589
|
readonly inputs: readonly [{
|
|
576
|
-
readonly
|
|
577
|
-
readonly name: "
|
|
578
|
-
readonly type: "
|
|
590
|
+
readonly indexed: true;
|
|
591
|
+
readonly name: "previousOwner";
|
|
592
|
+
readonly type: "address";
|
|
579
593
|
}];
|
|
580
|
-
readonly name: "
|
|
581
|
-
readonly
|
|
582
|
-
readonly stateMutability: "nonpayable";
|
|
583
|
-
readonly type: "function";
|
|
594
|
+
readonly name: "OwnershipRenounced";
|
|
595
|
+
readonly type: "event";
|
|
584
596
|
}, {
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
|
|
588
|
-
readonly
|
|
589
|
-
readonly
|
|
590
|
-
|
|
597
|
+
readonly anonymous: false;
|
|
598
|
+
readonly inputs: readonly [{
|
|
599
|
+
readonly indexed: true;
|
|
600
|
+
readonly name: "previousOwner";
|
|
601
|
+
readonly type: "address";
|
|
602
|
+
}, {
|
|
603
|
+
readonly indexed: true;
|
|
604
|
+
readonly name: "newOwner";
|
|
605
|
+
readonly type: "address";
|
|
591
606
|
}];
|
|
592
|
-
readonly
|
|
593
|
-
readonly type: "
|
|
607
|
+
readonly name: "OwnershipTransferred";
|
|
608
|
+
readonly type: "event";
|
|
594
609
|
}, {
|
|
595
|
-
readonly
|
|
596
|
-
readonly
|
|
597
|
-
|
|
598
|
-
readonly
|
|
599
|
-
readonly
|
|
610
|
+
readonly anonymous: false;
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly indexed: true;
|
|
613
|
+
readonly name: "burner";
|
|
614
|
+
readonly type: "address";
|
|
615
|
+
}, {
|
|
616
|
+
readonly indexed: false;
|
|
617
|
+
readonly name: "value";
|
|
600
618
|
readonly type: "uint256";
|
|
601
619
|
}];
|
|
602
|
-
readonly
|
|
603
|
-
readonly type: "
|
|
620
|
+
readonly name: "Burn";
|
|
621
|
+
readonly type: "event";
|
|
604
622
|
}, {
|
|
623
|
+
readonly anonymous: false;
|
|
605
624
|
readonly inputs: readonly [{
|
|
606
|
-
readonly
|
|
625
|
+
readonly indexed: true;
|
|
626
|
+
readonly name: "from";
|
|
627
|
+
readonly type: "address";
|
|
628
|
+
}, {
|
|
629
|
+
readonly indexed: true;
|
|
607
630
|
readonly name: "to";
|
|
608
631
|
readonly type: "address";
|
|
609
632
|
}, {
|
|
610
|
-
readonly
|
|
633
|
+
readonly indexed: false;
|
|
611
634
|
readonly name: "value";
|
|
612
635
|
readonly type: "uint256";
|
|
636
|
+
}, {
|
|
637
|
+
readonly indexed: false;
|
|
638
|
+
readonly name: "data";
|
|
639
|
+
readonly type: "bytes";
|
|
613
640
|
}];
|
|
614
|
-
readonly name: "
|
|
615
|
-
readonly
|
|
616
|
-
readonly internalType: "bool";
|
|
617
|
-
readonly name: "";
|
|
618
|
-
readonly type: "bool";
|
|
619
|
-
}];
|
|
620
|
-
readonly stateMutability: "nonpayable";
|
|
621
|
-
readonly type: "function";
|
|
641
|
+
readonly name: "Transfer";
|
|
642
|
+
readonly type: "event";
|
|
622
643
|
}, {
|
|
623
|
-
readonly
|
|
624
|
-
readonly
|
|
625
|
-
|
|
626
|
-
readonly
|
|
627
|
-
readonly
|
|
644
|
+
readonly anonymous: false;
|
|
645
|
+
readonly inputs: readonly [{
|
|
646
|
+
readonly indexed: true;
|
|
647
|
+
readonly name: "owner";
|
|
648
|
+
readonly type: "address";
|
|
649
|
+
}, {
|
|
650
|
+
readonly indexed: true;
|
|
651
|
+
readonly name: "spender";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
}, {
|
|
654
|
+
readonly indexed: false;
|
|
655
|
+
readonly name: "value";
|
|
628
656
|
readonly type: "uint256";
|
|
629
657
|
}];
|
|
630
|
-
readonly
|
|
631
|
-
readonly type: "
|
|
658
|
+
readonly name: "Approval";
|
|
659
|
+
readonly type: "event";
|
|
632
660
|
}, {
|
|
661
|
+
readonly anonymous: false;
|
|
633
662
|
readonly inputs: readonly [{
|
|
634
|
-
readonly
|
|
663
|
+
readonly indexed: true;
|
|
635
664
|
readonly name: "from";
|
|
636
665
|
readonly type: "address";
|
|
637
666
|
}, {
|
|
638
|
-
readonly
|
|
667
|
+
readonly indexed: true;
|
|
639
668
|
readonly name: "to";
|
|
640
669
|
readonly type: "address";
|
|
641
670
|
}, {
|
|
642
|
-
readonly
|
|
671
|
+
readonly indexed: false;
|
|
643
672
|
readonly name: "value";
|
|
644
673
|
readonly type: "uint256";
|
|
645
674
|
}];
|
|
646
|
-
readonly name: "
|
|
647
|
-
readonly
|
|
648
|
-
readonly internalType: "bool";
|
|
649
|
-
readonly name: "";
|
|
650
|
-
readonly type: "bool";
|
|
651
|
-
}];
|
|
652
|
-
readonly stateMutability: "nonpayable";
|
|
653
|
-
readonly type: "function";
|
|
654
|
-
}, {
|
|
655
|
-
readonly inputs: readonly [{
|
|
656
|
-
readonly internalType: "address";
|
|
657
|
-
readonly name: "newOwner";
|
|
658
|
-
readonly type: "address";
|
|
659
|
-
}];
|
|
660
|
-
readonly name: "transferOwnership";
|
|
661
|
-
readonly outputs: readonly [];
|
|
662
|
-
readonly stateMutability: "nonpayable";
|
|
663
|
-
readonly type: "function";
|
|
664
|
-
}, {
|
|
665
|
-
readonly inputs: readonly [];
|
|
666
|
-
readonly name: "unpause";
|
|
667
|
-
readonly outputs: readonly [];
|
|
668
|
-
readonly stateMutability: "nonpayable";
|
|
669
|
-
readonly type: "function";
|
|
675
|
+
readonly name: "Transfer";
|
|
676
|
+
readonly type: "event";
|
|
670
677
|
}];
|
|
671
678
|
/**
|
|
672
|
-
* Type-safe ABI for
|
|
679
|
+
* Type-safe ABI for PermittableToken_json
|
|
673
680
|
*/
|
|
674
|
-
export type
|
|
681
|
+
export type PermittableToken_jsonAbi = typeof PermittableToken_jsonAbi;
|
|
675
682
|
/**
|
|
676
|
-
* Contract instance type for
|
|
683
|
+
* Contract instance type for PermittableToken_json
|
|
677
684
|
*/
|
|
678
|
-
export type
|
|
685
|
+
export type PermittableToken_jsonContract = any;
|
|
679
686
|
/**
|
|
680
|
-
*
|
|
687
|
+
* PermittableToken_json Contract Class
|
|
681
688
|
*
|
|
682
689
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
683
690
|
*
|
|
@@ -685,12 +692,12 @@ export type TetherUSD_jsonContract = any;
|
|
|
685
692
|
* ```typescript
|
|
686
693
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
687
694
|
* import { mainnet } from 'viem/chains';
|
|
688
|
-
* import {
|
|
695
|
+
* import { PermittableToken_json } from 'PermittableToken_json';
|
|
689
696
|
*
|
|
690
697
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
691
698
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
692
699
|
*
|
|
693
|
-
* const contract = new
|
|
700
|
+
* const contract = new PermittableToken_json('0x...', { publicClient, walletClient });
|
|
694
701
|
*
|
|
695
702
|
* // Read functions
|
|
696
703
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -708,7 +715,7 @@ export type TetherUSD_jsonContract = any;
|
|
|
708
715
|
* });
|
|
709
716
|
* ```
|
|
710
717
|
*/
|
|
711
|
-
export declare class
|
|
718
|
+
export declare class PermittableToken_json {
|
|
712
719
|
private contract;
|
|
713
720
|
private contractAddress;
|
|
714
721
|
private publicClient;
|
|
@@ -723,113 +730,98 @@ export declare class TetherUSD_json {
|
|
|
723
730
|
/**
|
|
724
731
|
* Get the underlying viem contract instance
|
|
725
732
|
*/
|
|
726
|
-
getContract():
|
|
733
|
+
getContract(): PermittableToken_jsonContract;
|
|
727
734
|
/**
|
|
728
|
-
*
|
|
735
|
+
* mintingFinished
|
|
729
736
|
* view
|
|
730
737
|
*/
|
|
731
|
-
|
|
738
|
+
mintingFinished(): Promise<boolean>;
|
|
732
739
|
/**
|
|
733
|
-
*
|
|
734
|
-
* view
|
|
735
|
-
*/
|
|
736
|
-
allowance(_owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
737
|
-
/**
|
|
738
|
-
* balanceOf
|
|
740
|
+
* name
|
|
739
741
|
* view
|
|
740
742
|
*/
|
|
741
|
-
|
|
743
|
+
name(): Promise<string>;
|
|
742
744
|
/**
|
|
743
|
-
*
|
|
745
|
+
* totalSupply
|
|
744
746
|
* view
|
|
745
747
|
*/
|
|
746
|
-
|
|
748
|
+
totalSupply(): Promise<bigint>;
|
|
747
749
|
/**
|
|
748
|
-
*
|
|
750
|
+
* PERMIT_TYPEHASH
|
|
749
751
|
* view
|
|
750
752
|
*/
|
|
751
|
-
|
|
753
|
+
PERMIT_TYPEHASH(): Promise<`0x${string}`>;
|
|
752
754
|
/**
|
|
753
755
|
* decimals
|
|
754
756
|
* view
|
|
755
757
|
*/
|
|
756
758
|
decimals(): Promise<bigint>;
|
|
757
759
|
/**
|
|
758
|
-
*
|
|
759
|
-
* view
|
|
760
|
-
*/
|
|
761
|
-
feeCollector(): Promise<`0x${string}`>;
|
|
762
|
-
/**
|
|
763
|
-
* getFeeForAmount
|
|
760
|
+
* DOMAIN_SEPARATOR
|
|
764
761
|
* view
|
|
765
762
|
*/
|
|
766
|
-
|
|
763
|
+
DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
|
|
767
764
|
/**
|
|
768
|
-
*
|
|
765
|
+
* version
|
|
769
766
|
* view
|
|
770
767
|
*/
|
|
771
|
-
|
|
768
|
+
version(): Promise<string>;
|
|
772
769
|
/**
|
|
773
|
-
*
|
|
770
|
+
* balanceOf
|
|
774
771
|
* view
|
|
775
772
|
*/
|
|
776
|
-
|
|
773
|
+
balanceOf(_owner: `0x${string}`): Promise<bigint>;
|
|
777
774
|
/**
|
|
778
|
-
*
|
|
775
|
+
* isBridge
|
|
779
776
|
* view
|
|
780
777
|
*/
|
|
781
|
-
|
|
778
|
+
isBridge(_address: `0x${string}`): Promise<boolean>;
|
|
782
779
|
/**
|
|
783
|
-
*
|
|
780
|
+
* nonces
|
|
784
781
|
* view
|
|
785
782
|
*/
|
|
786
|
-
|
|
783
|
+
nonces(arg0: `0x${string}`): Promise<bigint>;
|
|
787
784
|
/**
|
|
788
|
-
*
|
|
789
|
-
*
|
|
785
|
+
* getTokenInterfacesVersion
|
|
786
|
+
* pure
|
|
790
787
|
*/
|
|
791
|
-
|
|
788
|
+
getTokenInterfacesVersion(): Promise<[bigint, bigint, bigint]>;
|
|
792
789
|
/**
|
|
793
790
|
* owner
|
|
794
791
|
* view
|
|
795
792
|
*/
|
|
796
793
|
owner(): Promise<`0x${string}`>;
|
|
797
794
|
/**
|
|
798
|
-
*
|
|
799
|
-
* view
|
|
800
|
-
*/
|
|
801
|
-
paused(): Promise<boolean>;
|
|
802
|
-
/**
|
|
803
|
-
* pausers
|
|
795
|
+
* symbol
|
|
804
796
|
* view
|
|
805
797
|
*/
|
|
806
|
-
|
|
798
|
+
symbol(): Promise<string>;
|
|
807
799
|
/**
|
|
808
|
-
*
|
|
800
|
+
* PERMIT_TYPEHASH_LEGACY
|
|
809
801
|
* view
|
|
810
802
|
*/
|
|
811
|
-
|
|
803
|
+
PERMIT_TYPEHASH_LEGACY(): Promise<`0x${string}`>;
|
|
812
804
|
/**
|
|
813
|
-
*
|
|
805
|
+
* bridgeContract
|
|
814
806
|
* view
|
|
815
807
|
*/
|
|
816
|
-
|
|
808
|
+
bridgeContract(): Promise<`0x${string}`>;
|
|
817
809
|
/**
|
|
818
|
-
*
|
|
810
|
+
* allowance
|
|
819
811
|
* view
|
|
820
812
|
*/
|
|
821
|
-
|
|
813
|
+
allowance(_owner: `0x${string}`, _spender: `0x${string}`): Promise<bigint>;
|
|
822
814
|
/**
|
|
823
|
-
*
|
|
815
|
+
* expirations
|
|
824
816
|
* view
|
|
825
817
|
*/
|
|
826
|
-
|
|
818
|
+
expirations(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
|
|
827
819
|
/**
|
|
828
|
-
*
|
|
820
|
+
* approve
|
|
829
821
|
* nonpayable
|
|
830
822
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
831
823
|
*/
|
|
832
|
-
|
|
824
|
+
approve(_to: `0x${string}`, _value: bigint, options?: {
|
|
833
825
|
accessList?: import('viem').AccessList;
|
|
834
826
|
authorizationList?: import('viem').AuthorizationList;
|
|
835
827
|
chain?: import('viem').Chain | null;
|
|
@@ -842,11 +834,11 @@ export declare class TetherUSD_json {
|
|
|
842
834
|
value?: bigint;
|
|
843
835
|
}): Promise<`0x${string}`>;
|
|
844
836
|
/**
|
|
845
|
-
*
|
|
837
|
+
* setBridgeContract
|
|
846
838
|
* nonpayable
|
|
847
839
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
848
840
|
*/
|
|
849
|
-
|
|
841
|
+
setBridgeContract(_bridgeContract: `0x${string}`, options?: {
|
|
850
842
|
accessList?: import('viem').AccessList;
|
|
851
843
|
authorizationList?: import('viem').AuthorizationList;
|
|
852
844
|
chain?: import('viem').Chain | null;
|
|
@@ -859,11 +851,11 @@ export declare class TetherUSD_json {
|
|
|
859
851
|
value?: bigint;
|
|
860
852
|
}): Promise<`0x${string}`>;
|
|
861
853
|
/**
|
|
862
|
-
*
|
|
854
|
+
* transferFrom
|
|
863
855
|
* nonpayable
|
|
864
856
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
865
857
|
*/
|
|
866
|
-
|
|
858
|
+
transferFrom(_sender: `0x${string}`, _recipient: `0x${string}`, _amount: bigint, options?: {
|
|
867
859
|
accessList?: import('viem').AccessList;
|
|
868
860
|
authorizationList?: import('viem').AuthorizationList;
|
|
869
861
|
chain?: import('viem').Chain | null;
|
|
@@ -876,11 +868,11 @@ export declare class TetherUSD_json {
|
|
|
876
868
|
value?: bigint;
|
|
877
869
|
}): Promise<`0x${string}`>;
|
|
878
870
|
/**
|
|
879
|
-
*
|
|
871
|
+
* increaseAllowance
|
|
880
872
|
* nonpayable
|
|
881
873
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
882
874
|
*/
|
|
883
|
-
|
|
875
|
+
increaseAllowance(_to: `0x${string}`, _addedValue: bigint, options?: {
|
|
884
876
|
accessList?: import('viem').AccessList;
|
|
885
877
|
authorizationList?: import('viem').AuthorizationList;
|
|
886
878
|
chain?: import('viem').Chain | null;
|
|
@@ -893,11 +885,11 @@ export declare class TetherUSD_json {
|
|
|
893
885
|
value?: bigint;
|
|
894
886
|
}): Promise<`0x${string}`>;
|
|
895
887
|
/**
|
|
896
|
-
*
|
|
888
|
+
* transferAndCall
|
|
897
889
|
* nonpayable
|
|
898
890
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
899
891
|
*/
|
|
900
|
-
|
|
892
|
+
transferAndCall(_to: `0x${string}`, _value: bigint, _data: `0x${string}`, options?: {
|
|
901
893
|
accessList?: import('viem').AccessList;
|
|
902
894
|
authorizationList?: import('viem').AuthorizationList;
|
|
903
895
|
chain?: import('viem').Chain | null;
|
|
@@ -910,11 +902,11 @@ export declare class TetherUSD_json {
|
|
|
910
902
|
value?: bigint;
|
|
911
903
|
}): Promise<`0x${string}`>;
|
|
912
904
|
/**
|
|
913
|
-
*
|
|
905
|
+
* mint
|
|
914
906
|
* nonpayable
|
|
915
907
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
916
908
|
*/
|
|
917
|
-
|
|
909
|
+
mint(_to: `0x${string}`, _amount: bigint, options?: {
|
|
918
910
|
accessList?: import('viem').AccessList;
|
|
919
911
|
authorizationList?: import('viem').AuthorizationList;
|
|
920
912
|
chain?: import('viem').Chain | null;
|
|
@@ -927,11 +919,11 @@ export declare class TetherUSD_json {
|
|
|
927
919
|
value?: bigint;
|
|
928
920
|
}): Promise<`0x${string}`>;
|
|
929
921
|
/**
|
|
930
|
-
*
|
|
922
|
+
* burn
|
|
931
923
|
* nonpayable
|
|
932
924
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
933
925
|
*/
|
|
934
|
-
|
|
926
|
+
burn(_value: bigint, options?: {
|
|
935
927
|
accessList?: import('viem').AccessList;
|
|
936
928
|
authorizationList?: import('viem').AuthorizationList;
|
|
937
929
|
chain?: import('viem').Chain | null;
|
|
@@ -944,11 +936,11 @@ export declare class TetherUSD_json {
|
|
|
944
936
|
value?: bigint;
|
|
945
937
|
}): Promise<`0x${string}`>;
|
|
946
938
|
/**
|
|
947
|
-
*
|
|
939
|
+
* decreaseApproval
|
|
948
940
|
* nonpayable
|
|
949
941
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
950
942
|
*/
|
|
951
|
-
|
|
943
|
+
decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
|
|
952
944
|
accessList?: import('viem').AccessList;
|
|
953
945
|
authorizationList?: import('viem').AuthorizationList;
|
|
954
946
|
chain?: import('viem').Chain | null;
|
|
@@ -961,11 +953,11 @@ export declare class TetherUSD_json {
|
|
|
961
953
|
value?: bigint;
|
|
962
954
|
}): Promise<`0x${string}`>;
|
|
963
955
|
/**
|
|
964
|
-
*
|
|
956
|
+
* claimTokens
|
|
965
957
|
* nonpayable
|
|
966
958
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
967
959
|
*/
|
|
968
|
-
|
|
960
|
+
claimTokens(_token: `0x${string}`, _to: `0x${string}`, options?: {
|
|
969
961
|
accessList?: import('viem').AccessList;
|
|
970
962
|
authorizationList?: import('viem').AuthorizationList;
|
|
971
963
|
chain?: import('viem').Chain | null;
|
|
@@ -978,11 +970,11 @@ export declare class TetherUSD_json {
|
|
|
978
970
|
value?: bigint;
|
|
979
971
|
}): Promise<`0x${string}`>;
|
|
980
972
|
/**
|
|
981
|
-
*
|
|
973
|
+
* renounceOwnership
|
|
982
974
|
* nonpayable
|
|
983
975
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
984
976
|
*/
|
|
985
|
-
|
|
977
|
+
renounceOwnership(options?: {
|
|
986
978
|
accessList?: import('viem').AccessList;
|
|
987
979
|
authorizationList?: import('viem').AuthorizationList;
|
|
988
980
|
chain?: import('viem').Chain | null;
|
|
@@ -995,11 +987,11 @@ export declare class TetherUSD_json {
|
|
|
995
987
|
value?: bigint;
|
|
996
988
|
}): Promise<`0x${string}`>;
|
|
997
989
|
/**
|
|
998
|
-
*
|
|
990
|
+
* finishMinting
|
|
999
991
|
* nonpayable
|
|
1000
992
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1001
993
|
*/
|
|
1002
|
-
|
|
994
|
+
finishMinting(options?: {
|
|
1003
995
|
accessList?: import('viem').AccessList;
|
|
1004
996
|
authorizationList?: import('viem').AuthorizationList;
|
|
1005
997
|
chain?: import('viem').Chain | null;
|
|
@@ -1011,12 +1003,7 @@ export declare class TetherUSD_json {
|
|
|
1011
1003
|
nonce?: number;
|
|
1012
1004
|
value?: bigint;
|
|
1013
1005
|
}): Promise<`0x${string}`>;
|
|
1014
|
-
|
|
1015
|
-
* removeMinter
|
|
1016
|
-
* nonpayable
|
|
1017
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1018
|
-
*/
|
|
1019
|
-
removeMinter(account: `0x${string}`, options?: {
|
|
1006
|
+
permit(_holder: `0x${string}`, _spender: `0x${string}`, _nonce: bigint, _expiry: bigint, _allowed: boolean, _v: bigint, _r: `0x${string}`, _s: `0x${string}`, options?: {
|
|
1020
1007
|
accessList?: import('viem').AccessList;
|
|
1021
1008
|
authorizationList?: import('viem').AuthorizationList;
|
|
1022
1009
|
chain?: import('viem').Chain | null;
|
|
@@ -1028,12 +1015,7 @@ export declare class TetherUSD_json {
|
|
|
1028
1015
|
nonce?: number;
|
|
1029
1016
|
value?: bigint;
|
|
1030
1017
|
}): Promise<`0x${string}`>;
|
|
1031
|
-
|
|
1032
|
-
* removePauser
|
|
1033
|
-
* nonpayable
|
|
1034
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1035
|
-
*/
|
|
1036
|
-
removePauser(account: `0x${string}`, options?: {
|
|
1018
|
+
permit(_holder: `0x${string}`, _spender: `0x${string}`, _value: bigint, _deadline: bigint, _v: bigint, _r: `0x${string}`, _s: `0x${string}`, options?: {
|
|
1037
1019
|
accessList?: import('viem').AccessList;
|
|
1038
1020
|
authorizationList?: import('viem').AuthorizationList;
|
|
1039
1021
|
chain?: import('viem').Chain | null;
|
|
@@ -1046,11 +1028,11 @@ export declare class TetherUSD_json {
|
|
|
1046
1028
|
value?: bigint;
|
|
1047
1029
|
}): Promise<`0x${string}`>;
|
|
1048
1030
|
/**
|
|
1049
|
-
*
|
|
1031
|
+
* decreaseAllowance
|
|
1050
1032
|
* nonpayable
|
|
1051
1033
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1052
1034
|
*/
|
|
1053
|
-
|
|
1035
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1054
1036
|
accessList?: import('viem').AccessList;
|
|
1055
1037
|
authorizationList?: import('viem').AuthorizationList;
|
|
1056
1038
|
chain?: import('viem').Chain | null;
|
|
@@ -1063,11 +1045,11 @@ export declare class TetherUSD_json {
|
|
|
1063
1045
|
value?: bigint;
|
|
1064
1046
|
}): Promise<`0x${string}`>;
|
|
1065
1047
|
/**
|
|
1066
|
-
*
|
|
1048
|
+
* transfer
|
|
1067
1049
|
* nonpayable
|
|
1068
1050
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1069
1051
|
*/
|
|
1070
|
-
|
|
1052
|
+
transfer(_to: `0x${string}`, _value: bigint, options?: {
|
|
1071
1053
|
accessList?: import('viem').AccessList;
|
|
1072
1054
|
authorizationList?: import('viem').AuthorizationList;
|
|
1073
1055
|
chain?: import('viem').Chain | null;
|
|
@@ -1080,11 +1062,11 @@ export declare class TetherUSD_json {
|
|
|
1080
1062
|
value?: bigint;
|
|
1081
1063
|
}): Promise<`0x${string}`>;
|
|
1082
1064
|
/**
|
|
1083
|
-
*
|
|
1065
|
+
* push
|
|
1084
1066
|
* nonpayable
|
|
1085
1067
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1086
1068
|
*/
|
|
1087
|
-
|
|
1069
|
+
push(_to: `0x${string}`, _amount: bigint, options?: {
|
|
1088
1070
|
accessList?: import('viem').AccessList;
|
|
1089
1071
|
authorizationList?: import('viem').AuthorizationList;
|
|
1090
1072
|
chain?: import('viem').Chain | null;
|
|
@@ -1097,11 +1079,11 @@ export declare class TetherUSD_json {
|
|
|
1097
1079
|
value?: bigint;
|
|
1098
1080
|
}): Promise<`0x${string}`>;
|
|
1099
1081
|
/**
|
|
1100
|
-
*
|
|
1082
|
+
* move
|
|
1101
1083
|
* nonpayable
|
|
1102
1084
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1103
1085
|
*/
|
|
1104
|
-
|
|
1086
|
+
move(_from: `0x${string}`, _to: `0x${string}`, _amount: bigint, options?: {
|
|
1105
1087
|
accessList?: import('viem').AccessList;
|
|
1106
1088
|
authorizationList?: import('viem').AuthorizationList;
|
|
1107
1089
|
chain?: import('viem').Chain | null;
|
|
@@ -1114,11 +1096,11 @@ export declare class TetherUSD_json {
|
|
|
1114
1096
|
value?: bigint;
|
|
1115
1097
|
}): Promise<`0x${string}`>;
|
|
1116
1098
|
/**
|
|
1117
|
-
*
|
|
1099
|
+
* increaseApproval
|
|
1118
1100
|
* nonpayable
|
|
1119
1101
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1120
1102
|
*/
|
|
1121
|
-
|
|
1103
|
+
increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
|
|
1122
1104
|
accessList?: import('viem').AccessList;
|
|
1123
1105
|
authorizationList?: import('viem').AuthorizationList;
|
|
1124
1106
|
chain?: import('viem').Chain | null;
|
|
@@ -1131,11 +1113,11 @@ export declare class TetherUSD_json {
|
|
|
1131
1113
|
value?: bigint;
|
|
1132
1114
|
}): Promise<`0x${string}`>;
|
|
1133
1115
|
/**
|
|
1134
|
-
*
|
|
1116
|
+
* pull
|
|
1135
1117
|
* nonpayable
|
|
1136
1118
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1137
1119
|
*/
|
|
1138
|
-
|
|
1120
|
+
pull(_from: `0x${string}`, _amount: bigint, options?: {
|
|
1139
1121
|
accessList?: import('viem').AccessList;
|
|
1140
1122
|
authorizationList?: import('viem').AuthorizationList;
|
|
1141
1123
|
chain?: import('viem').Chain | null;
|
|
@@ -1152,24 +1134,7 @@ export declare class TetherUSD_json {
|
|
|
1152
1134
|
* nonpayable
|
|
1153
1135
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1154
1136
|
*/
|
|
1155
|
-
transferOwnership(
|
|
1156
|
-
accessList?: import('viem').AccessList;
|
|
1157
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1158
|
-
chain?: import('viem').Chain | null;
|
|
1159
|
-
dataSuffix?: `0x${string}`;
|
|
1160
|
-
gas?: bigint;
|
|
1161
|
-
gasPrice?: bigint;
|
|
1162
|
-
maxFeePerGas?: bigint;
|
|
1163
|
-
maxPriorityFeePerGas?: bigint;
|
|
1164
|
-
nonce?: number;
|
|
1165
|
-
value?: bigint;
|
|
1166
|
-
}): Promise<`0x${string}`>;
|
|
1167
|
-
/**
|
|
1168
|
-
* unpause
|
|
1169
|
-
* nonpayable
|
|
1170
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1171
|
-
*/
|
|
1172
|
-
unpause(options?: {
|
|
1137
|
+
transferOwnership(_newOwner: `0x${string}`, options?: {
|
|
1173
1138
|
accessList?: import('viem').AccessList;
|
|
1174
1139
|
authorizationList?: import('viem').AuthorizationList;
|
|
1175
1140
|
chain?: import('viem').Chain | null;
|
|
@@ -1191,28 +1156,11 @@ export declare class TetherUSD_json {
|
|
|
1191
1156
|
*/
|
|
1192
1157
|
get simulate(): {
|
|
1193
1158
|
/**
|
|
1194
|
-
* Simulate
|
|
1195
|
-
* Returns gas estimate and result without sending transaction
|
|
1196
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1197
|
-
*/
|
|
1198
|
-
acceptOwnership(options?: {
|
|
1199
|
-
accessList?: import("viem").AccessList;
|
|
1200
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1201
|
-
chain?: import("viem").Chain | null;
|
|
1202
|
-
dataSuffix?: `0x${string}`;
|
|
1203
|
-
gas?: bigint;
|
|
1204
|
-
gasPrice?: bigint;
|
|
1205
|
-
maxFeePerGas?: bigint;
|
|
1206
|
-
maxPriorityFeePerGas?: bigint;
|
|
1207
|
-
nonce?: number;
|
|
1208
|
-
value?: bigint;
|
|
1209
|
-
}): Promise<void>;
|
|
1210
|
-
/**
|
|
1211
|
-
* Simulate addMinter
|
|
1159
|
+
* Simulate approve
|
|
1212
1160
|
* Returns gas estimate and result without sending transaction
|
|
1213
1161
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1214
1162
|
*/
|
|
1215
|
-
|
|
1163
|
+
approve(_to: `0x${string}`, _value: bigint, options?: {
|
|
1216
1164
|
accessList?: import("viem").AccessList;
|
|
1217
1165
|
authorizationList?: import("viem").AuthorizationList;
|
|
1218
1166
|
chain?: import("viem").Chain | null;
|
|
@@ -1223,13 +1171,13 @@ export declare class TetherUSD_json {
|
|
|
1223
1171
|
maxPriorityFeePerGas?: bigint;
|
|
1224
1172
|
nonce?: number;
|
|
1225
1173
|
value?: bigint;
|
|
1226
|
-
}): Promise<
|
|
1174
|
+
}): Promise<boolean>;
|
|
1227
1175
|
/**
|
|
1228
|
-
* Simulate
|
|
1176
|
+
* Simulate setBridgeContract
|
|
1229
1177
|
* Returns gas estimate and result without sending transaction
|
|
1230
1178
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1231
1179
|
*/
|
|
1232
|
-
|
|
1180
|
+
setBridgeContract(_bridgeContract: `0x${string}`, options?: {
|
|
1233
1181
|
accessList?: import("viem").AccessList;
|
|
1234
1182
|
authorizationList?: import("viem").AuthorizationList;
|
|
1235
1183
|
chain?: import("viem").Chain | null;
|
|
@@ -1242,11 +1190,11 @@ export declare class TetherUSD_json {
|
|
|
1242
1190
|
value?: bigint;
|
|
1243
1191
|
}): Promise<void>;
|
|
1244
1192
|
/**
|
|
1245
|
-
* Simulate
|
|
1193
|
+
* Simulate transferFrom
|
|
1246
1194
|
* Returns gas estimate and result without sending transaction
|
|
1247
1195
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1248
1196
|
*/
|
|
1249
|
-
|
|
1197
|
+
transferFrom(_sender: `0x${string}`, _recipient: `0x${string}`, _amount: bigint, options?: {
|
|
1250
1198
|
accessList?: import("viem").AccessList;
|
|
1251
1199
|
authorizationList?: import("viem").AuthorizationList;
|
|
1252
1200
|
chain?: import("viem").Chain | null;
|
|
@@ -1259,28 +1207,11 @@ export declare class TetherUSD_json {
|
|
|
1259
1207
|
value?: bigint;
|
|
1260
1208
|
}): Promise<boolean>;
|
|
1261
1209
|
/**
|
|
1262
|
-
* Simulate
|
|
1263
|
-
* Returns gas estimate and result without sending transaction
|
|
1264
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1265
|
-
*/
|
|
1266
|
-
blacklist(account: `0x${string}`, status: boolean, options?: {
|
|
1267
|
-
accessList?: import("viem").AccessList;
|
|
1268
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1269
|
-
chain?: import("viem").Chain | null;
|
|
1270
|
-
dataSuffix?: `0x${string}`;
|
|
1271
|
-
gas?: bigint;
|
|
1272
|
-
gasPrice?: bigint;
|
|
1273
|
-
maxFeePerGas?: bigint;
|
|
1274
|
-
maxPriorityFeePerGas?: bigint;
|
|
1275
|
-
nonce?: number;
|
|
1276
|
-
value?: bigint;
|
|
1277
|
-
}): Promise<void>;
|
|
1278
|
-
/**
|
|
1279
|
-
* Simulate burn
|
|
1210
|
+
* Simulate increaseAllowance
|
|
1280
1211
|
* Returns gas estimate and result without sending transaction
|
|
1281
1212
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1282
1213
|
*/
|
|
1283
|
-
|
|
1214
|
+
increaseAllowance(_to: `0x${string}`, _addedValue: bigint, options?: {
|
|
1284
1215
|
accessList?: import("viem").AccessList;
|
|
1285
1216
|
authorizationList?: import("viem").AuthorizationList;
|
|
1286
1217
|
chain?: import("viem").Chain | null;
|
|
@@ -1291,13 +1222,13 @@ export declare class TetherUSD_json {
|
|
|
1291
1222
|
maxPriorityFeePerGas?: bigint;
|
|
1292
1223
|
nonce?: number;
|
|
1293
1224
|
value?: bigint;
|
|
1294
|
-
}): Promise<
|
|
1225
|
+
}): Promise<boolean>;
|
|
1295
1226
|
/**
|
|
1296
|
-
* Simulate
|
|
1227
|
+
* Simulate transferAndCall
|
|
1297
1228
|
* Returns gas estimate and result without sending transaction
|
|
1298
1229
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1299
1230
|
*/
|
|
1300
|
-
|
|
1231
|
+
transferAndCall(_to: `0x${string}`, _value: bigint, _data: `0x${string}`, options?: {
|
|
1301
1232
|
accessList?: import("viem").AccessList;
|
|
1302
1233
|
authorizationList?: import("viem").AuthorizationList;
|
|
1303
1234
|
chain?: import("viem").Chain | null;
|
|
@@ -1308,13 +1239,13 @@ export declare class TetherUSD_json {
|
|
|
1308
1239
|
maxPriorityFeePerGas?: bigint;
|
|
1309
1240
|
nonce?: number;
|
|
1310
1241
|
value?: bigint;
|
|
1311
|
-
}): Promise<
|
|
1242
|
+
}): Promise<boolean>;
|
|
1312
1243
|
/**
|
|
1313
|
-
* Simulate
|
|
1244
|
+
* Simulate mint
|
|
1314
1245
|
* Returns gas estimate and result without sending transaction
|
|
1315
1246
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1316
1247
|
*/
|
|
1317
|
-
|
|
1248
|
+
mint(_to: `0x${string}`, _amount: bigint, options?: {
|
|
1318
1249
|
accessList?: import("viem").AccessList;
|
|
1319
1250
|
authorizationList?: import("viem").AuthorizationList;
|
|
1320
1251
|
chain?: import("viem").Chain | null;
|
|
@@ -1327,11 +1258,11 @@ export declare class TetherUSD_json {
|
|
|
1327
1258
|
value?: bigint;
|
|
1328
1259
|
}): Promise<boolean>;
|
|
1329
1260
|
/**
|
|
1330
|
-
* Simulate
|
|
1261
|
+
* Simulate burn
|
|
1331
1262
|
* Returns gas estimate and result without sending transaction
|
|
1332
1263
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1333
1264
|
*/
|
|
1334
|
-
|
|
1265
|
+
burn(_value: bigint, options?: {
|
|
1335
1266
|
accessList?: import("viem").AccessList;
|
|
1336
1267
|
authorizationList?: import("viem").AuthorizationList;
|
|
1337
1268
|
chain?: import("viem").Chain | null;
|
|
@@ -1344,11 +1275,11 @@ export declare class TetherUSD_json {
|
|
|
1344
1275
|
value?: bigint;
|
|
1345
1276
|
}): Promise<void>;
|
|
1346
1277
|
/**
|
|
1347
|
-
* Simulate
|
|
1278
|
+
* Simulate decreaseApproval
|
|
1348
1279
|
* Returns gas estimate and result without sending transaction
|
|
1349
1280
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1350
1281
|
*/
|
|
1351
|
-
|
|
1282
|
+
decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
|
|
1352
1283
|
accessList?: import("viem").AccessList;
|
|
1353
1284
|
authorizationList?: import("viem").AuthorizationList;
|
|
1354
1285
|
chain?: import("viem").Chain | null;
|
|
@@ -1361,11 +1292,11 @@ export declare class TetherUSD_json {
|
|
|
1361
1292
|
value?: bigint;
|
|
1362
1293
|
}): Promise<boolean>;
|
|
1363
1294
|
/**
|
|
1364
|
-
* Simulate
|
|
1295
|
+
* Simulate claimTokens
|
|
1365
1296
|
* Returns gas estimate and result without sending transaction
|
|
1366
1297
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1367
1298
|
*/
|
|
1368
|
-
|
|
1299
|
+
claimTokens(_token: `0x${string}`, _to: `0x${string}`, options?: {
|
|
1369
1300
|
accessList?: import("viem").AccessList;
|
|
1370
1301
|
authorizationList?: import("viem").AuthorizationList;
|
|
1371
1302
|
chain?: import("viem").Chain | null;
|
|
@@ -1378,11 +1309,11 @@ export declare class TetherUSD_json {
|
|
|
1378
1309
|
value?: bigint;
|
|
1379
1310
|
}): Promise<void>;
|
|
1380
1311
|
/**
|
|
1381
|
-
* Simulate
|
|
1312
|
+
* Simulate renounceOwnership
|
|
1382
1313
|
* Returns gas estimate and result without sending transaction
|
|
1383
1314
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1384
1315
|
*/
|
|
1385
|
-
|
|
1316
|
+
renounceOwnership(options?: {
|
|
1386
1317
|
accessList?: import("viem").AccessList;
|
|
1387
1318
|
authorizationList?: import("viem").AuthorizationList;
|
|
1388
1319
|
chain?: import("viem").Chain | null;
|
|
@@ -1395,11 +1326,11 @@ export declare class TetherUSD_json {
|
|
|
1395
1326
|
value?: bigint;
|
|
1396
1327
|
}): Promise<void>;
|
|
1397
1328
|
/**
|
|
1398
|
-
* Simulate
|
|
1329
|
+
* Simulate finishMinting
|
|
1399
1330
|
* Returns gas estimate and result without sending transaction
|
|
1400
1331
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1401
1332
|
*/
|
|
1402
|
-
|
|
1333
|
+
finishMinting(options?: {
|
|
1403
1334
|
accessList?: import("viem").AccessList;
|
|
1404
1335
|
authorizationList?: import("viem").AuthorizationList;
|
|
1405
1336
|
chain?: import("viem").Chain | null;
|
|
@@ -1410,30 +1341,20 @@ export declare class TetherUSD_json {
|
|
|
1410
1341
|
maxPriorityFeePerGas?: bigint;
|
|
1411
1342
|
nonce?: number;
|
|
1412
1343
|
value?: bigint;
|
|
1413
|
-
}): Promise<
|
|
1344
|
+
}): Promise<boolean>;
|
|
1414
1345
|
/**
|
|
1415
|
-
* Simulate
|
|
1346
|
+
* Simulate permit
|
|
1416
1347
|
* Returns gas estimate and result without sending transaction
|
|
1348
|
+
* Supports multiple overloads: (address, address, uint256, uint256, bool, uint8, bytes32, bytes32), (address, address, uint256, uint256, uint8, bytes32, bytes32)
|
|
1417
1349
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1418
1350
|
*/
|
|
1419
|
-
|
|
1420
|
-
accessList?: import("viem").AccessList;
|
|
1421
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1422
|
-
chain?: import("viem").Chain | null;
|
|
1423
|
-
dataSuffix?: `0x${string}`;
|
|
1424
|
-
gas?: bigint;
|
|
1425
|
-
gasPrice?: bigint;
|
|
1426
|
-
maxFeePerGas?: bigint;
|
|
1427
|
-
maxPriorityFeePerGas?: bigint;
|
|
1428
|
-
nonce?: number;
|
|
1429
|
-
value?: bigint;
|
|
1430
|
-
}): Promise<void>;
|
|
1351
|
+
permit(...args: any[]): Promise<any>;
|
|
1431
1352
|
/**
|
|
1432
|
-
* Simulate
|
|
1353
|
+
* Simulate decreaseAllowance
|
|
1433
1354
|
* Returns gas estimate and result without sending transaction
|
|
1434
1355
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1435
1356
|
*/
|
|
1436
|
-
|
|
1357
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1437
1358
|
accessList?: import("viem").AccessList;
|
|
1438
1359
|
authorizationList?: import("viem").AuthorizationList;
|
|
1439
1360
|
chain?: import("viem").Chain | null;
|
|
@@ -1444,13 +1365,13 @@ export declare class TetherUSD_json {
|
|
|
1444
1365
|
maxPriorityFeePerGas?: bigint;
|
|
1445
1366
|
nonce?: number;
|
|
1446
1367
|
value?: bigint;
|
|
1447
|
-
}): Promise<
|
|
1368
|
+
}): Promise<boolean>;
|
|
1448
1369
|
/**
|
|
1449
|
-
* Simulate
|
|
1370
|
+
* Simulate transfer
|
|
1450
1371
|
* Returns gas estimate and result without sending transaction
|
|
1451
1372
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1452
1373
|
*/
|
|
1453
|
-
|
|
1374
|
+
transfer(_to: `0x${string}`, _value: bigint, options?: {
|
|
1454
1375
|
accessList?: import("viem").AccessList;
|
|
1455
1376
|
authorizationList?: import("viem").AuthorizationList;
|
|
1456
1377
|
chain?: import("viem").Chain | null;
|
|
@@ -1461,13 +1382,13 @@ export declare class TetherUSD_json {
|
|
|
1461
1382
|
maxPriorityFeePerGas?: bigint;
|
|
1462
1383
|
nonce?: number;
|
|
1463
1384
|
value?: bigint;
|
|
1464
|
-
}): Promise<
|
|
1385
|
+
}): Promise<boolean>;
|
|
1465
1386
|
/**
|
|
1466
|
-
* Simulate
|
|
1387
|
+
* Simulate push
|
|
1467
1388
|
* Returns gas estimate and result without sending transaction
|
|
1468
1389
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1469
1390
|
*/
|
|
1470
|
-
|
|
1391
|
+
push(_to: `0x${string}`, _amount: bigint, options?: {
|
|
1471
1392
|
accessList?: import("viem").AccessList;
|
|
1472
1393
|
authorizationList?: import("viem").AuthorizationList;
|
|
1473
1394
|
chain?: import("viem").Chain | null;
|
|
@@ -1480,11 +1401,11 @@ export declare class TetherUSD_json {
|
|
|
1480
1401
|
value?: bigint;
|
|
1481
1402
|
}): Promise<void>;
|
|
1482
1403
|
/**
|
|
1483
|
-
* Simulate
|
|
1404
|
+
* Simulate move
|
|
1484
1405
|
* Returns gas estimate and result without sending transaction
|
|
1485
1406
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1486
1407
|
*/
|
|
1487
|
-
|
|
1408
|
+
move(_from: `0x${string}`, _to: `0x${string}`, _amount: bigint, options?: {
|
|
1488
1409
|
accessList?: import("viem").AccessList;
|
|
1489
1410
|
authorizationList?: import("viem").AuthorizationList;
|
|
1490
1411
|
chain?: import("viem").Chain | null;
|
|
@@ -1495,13 +1416,13 @@ export declare class TetherUSD_json {
|
|
|
1495
1416
|
maxPriorityFeePerGas?: bigint;
|
|
1496
1417
|
nonce?: number;
|
|
1497
1418
|
value?: bigint;
|
|
1498
|
-
}): Promise<
|
|
1419
|
+
}): Promise<void>;
|
|
1499
1420
|
/**
|
|
1500
|
-
* Simulate
|
|
1421
|
+
* Simulate increaseApproval
|
|
1501
1422
|
* Returns gas estimate and result without sending transaction
|
|
1502
1423
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1503
1424
|
*/
|
|
1504
|
-
|
|
1425
|
+
increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
|
|
1505
1426
|
accessList?: import("viem").AccessList;
|
|
1506
1427
|
authorizationList?: import("viem").AuthorizationList;
|
|
1507
1428
|
chain?: import("viem").Chain | null;
|
|
@@ -1514,11 +1435,11 @@ export declare class TetherUSD_json {
|
|
|
1514
1435
|
value?: bigint;
|
|
1515
1436
|
}): Promise<boolean>;
|
|
1516
1437
|
/**
|
|
1517
|
-
* Simulate
|
|
1438
|
+
* Simulate pull
|
|
1518
1439
|
* Returns gas estimate and result without sending transaction
|
|
1519
1440
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1520
1441
|
*/
|
|
1521
|
-
|
|
1442
|
+
pull(_from: `0x${string}`, _amount: bigint, options?: {
|
|
1522
1443
|
accessList?: import("viem").AccessList;
|
|
1523
1444
|
authorizationList?: import("viem").AuthorizationList;
|
|
1524
1445
|
chain?: import("viem").Chain | null;
|
|
@@ -1531,11 +1452,11 @@ export declare class TetherUSD_json {
|
|
|
1531
1452
|
value?: bigint;
|
|
1532
1453
|
}): Promise<void>;
|
|
1533
1454
|
/**
|
|
1534
|
-
* Simulate
|
|
1455
|
+
* Simulate transferOwnership
|
|
1535
1456
|
* Returns gas estimate and result without sending transaction
|
|
1536
1457
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1537
1458
|
*/
|
|
1538
|
-
|
|
1459
|
+
transferOwnership(_newOwner: `0x${string}`, options?: {
|
|
1539
1460
|
accessList?: import("viem").AccessList;
|
|
1540
1461
|
authorizationList?: import("viem").AuthorizationList;
|
|
1541
1462
|
chain?: import("viem").Chain | null;
|
|
@@ -1562,87 +1483,34 @@ export declare class TetherUSD_json {
|
|
|
1562
1483
|
*/
|
|
1563
1484
|
get watch(): {
|
|
1564
1485
|
/**
|
|
1565
|
-
* Watch
|
|
1566
|
-
* @param callback Function to call when event is emitted
|
|
1567
|
-
* @param filter Optional filter for indexed parameters
|
|
1568
|
-
* @returns Unwatch function to stop listening
|
|
1569
|
-
*/
|
|
1570
|
-
Approval: (callback: (event: {
|
|
1571
|
-
owner: `0x${string}`;
|
|
1572
|
-
spender: `0x${string}`;
|
|
1573
|
-
value: bigint;
|
|
1574
|
-
}) => void, filter?: {
|
|
1575
|
-
owner: `0x${string}`;
|
|
1576
|
-
spender: `0x${string}`;
|
|
1577
|
-
}) => () => void;
|
|
1578
|
-
/**
|
|
1579
|
-
* Watch Blacklisted events
|
|
1580
|
-
* @param callback Function to call when event is emitted
|
|
1581
|
-
* @param filter Optional filter for indexed parameters
|
|
1582
|
-
* @returns Unwatch function to stop listening
|
|
1583
|
-
*/
|
|
1584
|
-
Blacklisted: (callback: (event: {
|
|
1585
|
-
account: `0x${string}`;
|
|
1586
|
-
status: boolean;
|
|
1587
|
-
}) => void, filter?: {
|
|
1588
|
-
account: `0x${string}`;
|
|
1589
|
-
}) => () => void;
|
|
1590
|
-
/**
|
|
1591
|
-
* Watch Burned events
|
|
1486
|
+
* Watch Mint events
|
|
1592
1487
|
* @param callback Function to call when event is emitted
|
|
1593
1488
|
* @param filter Optional filter for indexed parameters
|
|
1594
1489
|
* @returns Unwatch function to stop listening
|
|
1595
1490
|
*/
|
|
1596
|
-
|
|
1597
|
-
|
|
1491
|
+
Mint: (callback: (event: {
|
|
1492
|
+
to: `0x${string}`;
|
|
1598
1493
|
amount: bigint;
|
|
1599
1494
|
}) => void, filter?: {
|
|
1600
|
-
|
|
1601
|
-
}) => () => void;
|
|
1602
|
-
/**
|
|
1603
|
-
* Watch FeeCollectorUpdated events
|
|
1604
|
-
* @param callback Function to call when event is emitted
|
|
1605
|
-
* @param filter Optional filter for indexed parameters
|
|
1606
|
-
* @returns Unwatch function to stop listening
|
|
1607
|
-
*/
|
|
1608
|
-
FeeCollectorUpdated: (callback: (event: {
|
|
1609
|
-
oldCollector: `0x${string}`;
|
|
1610
|
-
newCollector: `0x${string}`;
|
|
1611
|
-
}) => void, filter?: {
|
|
1612
|
-
oldCollector: `0x${string}`;
|
|
1613
|
-
newCollector: `0x${string}`;
|
|
1495
|
+
to: `0x${string}`;
|
|
1614
1496
|
}) => () => void;
|
|
1615
1497
|
/**
|
|
1616
|
-
* Watch
|
|
1617
|
-
* @param callback Function to call when event is emitted
|
|
1618
|
-
* @param filter Optional filter for indexed parameters
|
|
1619
|
-
* @returns Unwatch function to stop listening
|
|
1620
|
-
*/
|
|
1621
|
-
FeeUpdated: (callback: (event: {
|
|
1622
|
-
oldFee: bigint;
|
|
1623
|
-
newFee: bigint;
|
|
1624
|
-
}) => void) => () => void;
|
|
1625
|
-
/**
|
|
1626
|
-
* Watch MaxTransferUpdated events
|
|
1498
|
+
* Watch MintFinished events
|
|
1627
1499
|
* @param callback Function to call when event is emitted
|
|
1628
1500
|
* @param filter Optional filter for indexed parameters
|
|
1629
1501
|
* @returns Unwatch function to stop listening
|
|
1630
1502
|
*/
|
|
1631
|
-
|
|
1632
|
-
oldMax: bigint;
|
|
1633
|
-
newMax: bigint;
|
|
1634
|
-
}) => void) => () => void;
|
|
1503
|
+
MintFinished: (callback: (event: {}) => void) => () => void;
|
|
1635
1504
|
/**
|
|
1636
|
-
* Watch
|
|
1505
|
+
* Watch OwnershipRenounced events
|
|
1637
1506
|
* @param callback Function to call when event is emitted
|
|
1638
1507
|
* @param filter Optional filter for indexed parameters
|
|
1639
1508
|
* @returns Unwatch function to stop listening
|
|
1640
1509
|
*/
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
amount: bigint;
|
|
1510
|
+
OwnershipRenounced: (callback: (event: {
|
|
1511
|
+
previousOwner: `0x${string}`;
|
|
1644
1512
|
}) => void, filter?: {
|
|
1645
|
-
|
|
1513
|
+
previousOwner: `0x${string}`;
|
|
1646
1514
|
}) => () => void;
|
|
1647
1515
|
/**
|
|
1648
1516
|
* Watch OwnershipTransferred events
|
|
@@ -1658,15 +1526,16 @@ export declare class TetherUSD_json {
|
|
|
1658
1526
|
newOwner: `0x${string}`;
|
|
1659
1527
|
}) => () => void;
|
|
1660
1528
|
/**
|
|
1661
|
-
* Watch
|
|
1529
|
+
* Watch Burn events
|
|
1662
1530
|
* @param callback Function to call when event is emitted
|
|
1663
1531
|
* @param filter Optional filter for indexed parameters
|
|
1664
1532
|
* @returns Unwatch function to stop listening
|
|
1665
1533
|
*/
|
|
1666
|
-
|
|
1667
|
-
|
|
1534
|
+
Burn: (callback: (event: {
|
|
1535
|
+
burner: `0x${string}`;
|
|
1536
|
+
value: bigint;
|
|
1668
1537
|
}) => void, filter?: {
|
|
1669
|
-
|
|
1538
|
+
burner: `0x${string}`;
|
|
1670
1539
|
}) => () => void;
|
|
1671
1540
|
/**
|
|
1672
1541
|
* Watch Transfer events
|
|
@@ -1678,20 +1547,24 @@ export declare class TetherUSD_json {
|
|
|
1678
1547
|
from: `0x${string}`;
|
|
1679
1548
|
to: `0x${string}`;
|
|
1680
1549
|
value: bigint;
|
|
1550
|
+
data: `0x${string}`;
|
|
1681
1551
|
}) => void, filter?: {
|
|
1682
1552
|
from: `0x${string}`;
|
|
1683
1553
|
to: `0x${string}`;
|
|
1684
1554
|
}) => () => void;
|
|
1685
1555
|
/**
|
|
1686
|
-
* Watch
|
|
1556
|
+
* Watch Approval events
|
|
1687
1557
|
* @param callback Function to call when event is emitted
|
|
1688
1558
|
* @param filter Optional filter for indexed parameters
|
|
1689
1559
|
* @returns Unwatch function to stop listening
|
|
1690
1560
|
*/
|
|
1691
|
-
|
|
1692
|
-
|
|
1561
|
+
Approval: (callback: (event: {
|
|
1562
|
+
owner: `0x${string}`;
|
|
1563
|
+
spender: `0x${string}`;
|
|
1564
|
+
value: bigint;
|
|
1693
1565
|
}) => void, filter?: {
|
|
1694
|
-
|
|
1566
|
+
owner: `0x${string}`;
|
|
1567
|
+
spender: `0x${string}`;
|
|
1695
1568
|
}) => () => void;
|
|
1696
1569
|
};
|
|
1697
1570
|
}
|