@gitmyabi/usd 1.0.6 → 1.0.7
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 +4 -4
- package/contracts/{MusdtMintable_json.d.ts → UltimateTokenOwnable_json.d.ts} +480 -233
- package/contracts/{MusdtMintable_json.js → UltimateTokenOwnable_json.js} +482 -273
- package/contracts/{MusdtMintable_json.ts → UltimateTokenOwnable_json.ts} +588 -285
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
|
@@ -1,29 +1,103 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* AuthInfo struct type
|
|
4
|
+
*/
|
|
5
|
+
export type AuthInfo = {
|
|
6
|
+
owner: `0x${string}`;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* TokenInfo struct type
|
|
10
|
+
*/
|
|
11
|
+
export type TokenInfo = {
|
|
12
|
+
name: string;
|
|
13
|
+
symbol: string;
|
|
14
|
+
decimals: bigint;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* SupplyInfo struct type
|
|
18
|
+
*/
|
|
19
|
+
export type SupplyInfo = {
|
|
20
|
+
mintTarget: `0x${string}`;
|
|
21
|
+
initialSupply: bigint;
|
|
22
|
+
maxSupply: bigint;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* UltimateTokenOwnable_json ABI
|
|
4
26
|
*
|
|
5
27
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
28
|
*/
|
|
7
|
-
export declare const
|
|
29
|
+
export declare const UltimateTokenOwnable_jsonAbi: readonly [{
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "AllowanceOverflow";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly name: "AllowanceUnderflow";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "AlreadyInitialized";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
8
42
|
readonly inputs: readonly [{
|
|
9
|
-
readonly internalType: "
|
|
10
|
-
readonly name: "
|
|
11
|
-
readonly type: "
|
|
12
|
-
}, {
|
|
13
|
-
readonly internalType: "string";
|
|
14
|
-
readonly name: "symbol_";
|
|
15
|
-
readonly type: "string";
|
|
16
|
-
}, {
|
|
17
|
-
readonly internalType: "string";
|
|
18
|
-
readonly name: "logoURI_";
|
|
19
|
-
readonly type: "string";
|
|
43
|
+
readonly internalType: "uint256";
|
|
44
|
+
readonly name: "increasedSupply";
|
|
45
|
+
readonly type: "uint256";
|
|
20
46
|
}, {
|
|
21
|
-
readonly internalType: "
|
|
22
|
-
readonly name: "
|
|
23
|
-
readonly type: "
|
|
47
|
+
readonly internalType: "uint256";
|
|
48
|
+
readonly name: "maxSupply";
|
|
49
|
+
readonly type: "uint256";
|
|
24
50
|
}];
|
|
25
|
-
readonly
|
|
26
|
-
readonly type: "
|
|
51
|
+
readonly name: "ERC20ExceededCap";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly name: "ERC20TransferPaused";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly name: "InsufficientAllowance";
|
|
60
|
+
readonly type: "error";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [];
|
|
63
|
+
readonly name: "InsufficientBalance";
|
|
64
|
+
readonly type: "error";
|
|
65
|
+
}, {
|
|
66
|
+
readonly inputs: readonly [];
|
|
67
|
+
readonly name: "InvalidInitialization";
|
|
68
|
+
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly name: "InvalidPermit";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly name: "NewOwnerIsZeroAddress";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "NoHandoverRequest";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [];
|
|
83
|
+
readonly name: "NotInitializing";
|
|
84
|
+
readonly type: "error";
|
|
85
|
+
}, {
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly name: "Permit2AllowanceIsFixedAtInfinity";
|
|
88
|
+
readonly type: "error";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "PermitExpired";
|
|
92
|
+
readonly type: "error";
|
|
93
|
+
}, {
|
|
94
|
+
readonly inputs: readonly [];
|
|
95
|
+
readonly name: "TotalSupplyOverflow";
|
|
96
|
+
readonly type: "error";
|
|
97
|
+
}, {
|
|
98
|
+
readonly inputs: readonly [];
|
|
99
|
+
readonly name: "Unauthorized";
|
|
100
|
+
readonly type: "error";
|
|
27
101
|
}, {
|
|
28
102
|
readonly anonymous: false;
|
|
29
103
|
readonly inputs: readonly [{
|
|
@@ -39,7 +113,7 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
39
113
|
}, {
|
|
40
114
|
readonly indexed: false;
|
|
41
115
|
readonly internalType: "uint256";
|
|
42
|
-
readonly name: "
|
|
116
|
+
readonly name: "amount";
|
|
43
117
|
readonly type: "uint256";
|
|
44
118
|
}];
|
|
45
119
|
readonly name: "Approval";
|
|
@@ -48,76 +122,46 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
48
122
|
readonly anonymous: false;
|
|
49
123
|
readonly inputs: readonly [{
|
|
50
124
|
readonly indexed: false;
|
|
51
|
-
readonly internalType: "
|
|
52
|
-
readonly name: "
|
|
53
|
-
readonly type: "
|
|
54
|
-
}, {
|
|
55
|
-
readonly indexed: false;
|
|
56
|
-
readonly internalType: "string";
|
|
57
|
-
readonly name: "newURI";
|
|
58
|
-
readonly type: "string";
|
|
59
|
-
}];
|
|
60
|
-
readonly name: "LogoURIChanged";
|
|
61
|
-
readonly type: "event";
|
|
62
|
-
}, {
|
|
63
|
-
readonly anonymous: false;
|
|
64
|
-
readonly inputs: readonly [{
|
|
65
|
-
readonly indexed: false;
|
|
66
|
-
readonly internalType: "string";
|
|
67
|
-
readonly name: "previousName";
|
|
68
|
-
readonly type: "string";
|
|
69
|
-
}, {
|
|
70
|
-
readonly indexed: false;
|
|
71
|
-
readonly internalType: "string";
|
|
72
|
-
readonly name: "newName";
|
|
73
|
-
readonly type: "string";
|
|
125
|
+
readonly internalType: "uint64";
|
|
126
|
+
readonly name: "version";
|
|
127
|
+
readonly type: "uint64";
|
|
74
128
|
}];
|
|
75
|
-
readonly name: "
|
|
129
|
+
readonly name: "Initialized";
|
|
76
130
|
readonly type: "event";
|
|
77
131
|
}, {
|
|
78
132
|
readonly anonymous: false;
|
|
79
133
|
readonly inputs: readonly [{
|
|
80
134
|
readonly indexed: true;
|
|
81
135
|
readonly internalType: "address";
|
|
82
|
-
readonly name: "
|
|
83
|
-
readonly type: "address";
|
|
84
|
-
}, {
|
|
85
|
-
readonly indexed: true;
|
|
86
|
-
readonly internalType: "address";
|
|
87
|
-
readonly name: "newOwner";
|
|
136
|
+
readonly name: "pendingOwner";
|
|
88
137
|
readonly type: "address";
|
|
89
138
|
}];
|
|
90
|
-
readonly name: "
|
|
139
|
+
readonly name: "OwnershipHandoverCanceled";
|
|
91
140
|
readonly type: "event";
|
|
92
141
|
}, {
|
|
93
142
|
readonly anonymous: false;
|
|
94
143
|
readonly inputs: readonly [{
|
|
95
|
-
readonly indexed:
|
|
96
|
-
readonly internalType: "
|
|
97
|
-
readonly name: "
|
|
98
|
-
readonly type: "
|
|
99
|
-
}, {
|
|
100
|
-
readonly indexed: false;
|
|
101
|
-
readonly internalType: "string";
|
|
102
|
-
readonly name: "newSymbol";
|
|
103
|
-
readonly type: "string";
|
|
144
|
+
readonly indexed: true;
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly name: "pendingOwner";
|
|
147
|
+
readonly type: "address";
|
|
104
148
|
}];
|
|
105
|
-
readonly name: "
|
|
149
|
+
readonly name: "OwnershipHandoverRequested";
|
|
106
150
|
readonly type: "event";
|
|
107
151
|
}, {
|
|
108
152
|
readonly anonymous: false;
|
|
109
153
|
readonly inputs: readonly [{
|
|
110
|
-
readonly indexed:
|
|
111
|
-
readonly internalType: "
|
|
112
|
-
readonly name: "
|
|
113
|
-
readonly type: "
|
|
154
|
+
readonly indexed: true;
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "oldOwner";
|
|
157
|
+
readonly type: "address";
|
|
114
158
|
}, {
|
|
115
|
-
readonly indexed:
|
|
116
|
-
readonly internalType: "
|
|
117
|
-
readonly name: "
|
|
118
|
-
readonly type: "
|
|
159
|
+
readonly indexed: true;
|
|
160
|
+
readonly internalType: "address";
|
|
161
|
+
readonly name: "newOwner";
|
|
162
|
+
readonly type: "address";
|
|
119
163
|
}];
|
|
120
|
-
readonly name: "
|
|
164
|
+
readonly name: "OwnershipTransferred";
|
|
121
165
|
readonly type: "event";
|
|
122
166
|
}, {
|
|
123
167
|
readonly anonymous: false;
|
|
@@ -134,15 +178,25 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
134
178
|
}, {
|
|
135
179
|
readonly indexed: false;
|
|
136
180
|
readonly internalType: "uint256";
|
|
137
|
-
readonly name: "
|
|
181
|
+
readonly name: "amount";
|
|
138
182
|
readonly type: "uint256";
|
|
139
183
|
}];
|
|
140
184
|
readonly name: "Transfer";
|
|
141
185
|
readonly type: "event";
|
|
186
|
+
}, {
|
|
187
|
+
readonly inputs: readonly [];
|
|
188
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
189
|
+
readonly outputs: readonly [{
|
|
190
|
+
readonly internalType: "bytes32";
|
|
191
|
+
readonly name: "result";
|
|
192
|
+
readonly type: "bytes32";
|
|
193
|
+
}];
|
|
194
|
+
readonly stateMutability: "view";
|
|
195
|
+
readonly type: "function";
|
|
142
196
|
}, {
|
|
143
197
|
readonly inputs: readonly [{
|
|
144
198
|
readonly internalType: "address";
|
|
145
|
-
readonly name: "
|
|
199
|
+
readonly name: "owner";
|
|
146
200
|
readonly type: "address";
|
|
147
201
|
}, {
|
|
148
202
|
readonly internalType: "address";
|
|
@@ -152,7 +206,7 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
152
206
|
readonly name: "allowance";
|
|
153
207
|
readonly outputs: readonly [{
|
|
154
208
|
readonly internalType: "uint256";
|
|
155
|
-
readonly name: "";
|
|
209
|
+
readonly name: "result";
|
|
156
210
|
readonly type: "uint256";
|
|
157
211
|
}];
|
|
158
212
|
readonly stateMutability: "view";
|
|
@@ -164,7 +218,7 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
164
218
|
readonly type: "address";
|
|
165
219
|
}, {
|
|
166
220
|
readonly internalType: "uint256";
|
|
167
|
-
readonly name: "
|
|
221
|
+
readonly name: "amount";
|
|
168
222
|
readonly type: "uint256";
|
|
169
223
|
}];
|
|
170
224
|
readonly name: "approve";
|
|
@@ -178,17 +232,43 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
178
232
|
}, {
|
|
179
233
|
readonly inputs: readonly [{
|
|
180
234
|
readonly internalType: "address";
|
|
181
|
-
readonly name: "
|
|
235
|
+
readonly name: "owner";
|
|
182
236
|
readonly type: "address";
|
|
183
237
|
}];
|
|
184
238
|
readonly name: "balanceOf";
|
|
185
239
|
readonly outputs: readonly [{
|
|
186
240
|
readonly internalType: "uint256";
|
|
187
|
-
readonly name: "";
|
|
241
|
+
readonly name: "result";
|
|
188
242
|
readonly type: "uint256";
|
|
189
243
|
}];
|
|
190
244
|
readonly stateMutability: "view";
|
|
191
245
|
readonly type: "function";
|
|
246
|
+
}, {
|
|
247
|
+
readonly inputs: readonly [{
|
|
248
|
+
readonly internalType: "uint256";
|
|
249
|
+
readonly name: "value";
|
|
250
|
+
readonly type: "uint256";
|
|
251
|
+
}];
|
|
252
|
+
readonly name: "burn";
|
|
253
|
+
readonly outputs: readonly [];
|
|
254
|
+
readonly stateMutability: "nonpayable";
|
|
255
|
+
readonly type: "function";
|
|
256
|
+
}, {
|
|
257
|
+
readonly inputs: readonly [];
|
|
258
|
+
readonly name: "cancelOwnershipHandover";
|
|
259
|
+
readonly outputs: readonly [];
|
|
260
|
+
readonly stateMutability: "payable";
|
|
261
|
+
readonly type: "function";
|
|
262
|
+
}, {
|
|
263
|
+
readonly inputs: readonly [{
|
|
264
|
+
readonly internalType: "address";
|
|
265
|
+
readonly name: "pendingOwner";
|
|
266
|
+
readonly type: "address";
|
|
267
|
+
}];
|
|
268
|
+
readonly name: "completeOwnershipHandover";
|
|
269
|
+
readonly outputs: readonly [];
|
|
270
|
+
readonly stateMutability: "payable";
|
|
271
|
+
readonly type: "function";
|
|
192
272
|
}, {
|
|
193
273
|
readonly inputs: readonly [];
|
|
194
274
|
readonly name: "decimals";
|
|
@@ -199,45 +279,88 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
199
279
|
}];
|
|
200
280
|
readonly stateMutability: "view";
|
|
201
281
|
readonly type: "function";
|
|
282
|
+
}, {
|
|
283
|
+
readonly inputs: readonly [];
|
|
284
|
+
readonly name: "disableInitializer";
|
|
285
|
+
readonly outputs: readonly [];
|
|
286
|
+
readonly stateMutability: "nonpayable";
|
|
287
|
+
readonly type: "function";
|
|
202
288
|
}, {
|
|
203
289
|
readonly inputs: readonly [{
|
|
204
|
-
readonly
|
|
205
|
-
|
|
206
|
-
|
|
290
|
+
readonly components: readonly [{
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
readonly name: "owner";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
}];
|
|
295
|
+
readonly internalType: "struct AuthInfo";
|
|
296
|
+
readonly name: "authInfo";
|
|
297
|
+
readonly type: "tuple";
|
|
207
298
|
}, {
|
|
208
|
-
readonly
|
|
209
|
-
|
|
210
|
-
|
|
299
|
+
readonly components: readonly [{
|
|
300
|
+
readonly internalType: "string";
|
|
301
|
+
readonly name: "name";
|
|
302
|
+
readonly type: "string";
|
|
303
|
+
}, {
|
|
304
|
+
readonly internalType: "string";
|
|
305
|
+
readonly name: "symbol";
|
|
306
|
+
readonly type: "string";
|
|
307
|
+
}, {
|
|
308
|
+
readonly internalType: "uint8";
|
|
309
|
+
readonly name: "decimals";
|
|
310
|
+
readonly type: "uint8";
|
|
311
|
+
}];
|
|
312
|
+
readonly internalType: "struct TokenInfo";
|
|
313
|
+
readonly name: "tokenInfo";
|
|
314
|
+
readonly type: "tuple";
|
|
315
|
+
}, {
|
|
316
|
+
readonly components: readonly [{
|
|
317
|
+
readonly internalType: "address";
|
|
318
|
+
readonly name: "mintTarget";
|
|
319
|
+
readonly type: "address";
|
|
320
|
+
}, {
|
|
321
|
+
readonly internalType: "uint256";
|
|
322
|
+
readonly name: "initialSupply";
|
|
323
|
+
readonly type: "uint256";
|
|
324
|
+
}, {
|
|
325
|
+
readonly internalType: "uint256";
|
|
326
|
+
readonly name: "maxSupply";
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
}];
|
|
329
|
+
readonly internalType: "struct SupplyInfo";
|
|
330
|
+
readonly name: "supplyInfo";
|
|
331
|
+
readonly type: "tuple";
|
|
211
332
|
}];
|
|
212
|
-
readonly name: "
|
|
333
|
+
readonly name: "initialize";
|
|
334
|
+
readonly outputs: readonly [];
|
|
335
|
+
readonly stateMutability: "nonpayable";
|
|
336
|
+
readonly type: "function";
|
|
337
|
+
}, {
|
|
338
|
+
readonly inputs: readonly [];
|
|
339
|
+
readonly name: "maxSupply";
|
|
213
340
|
readonly outputs: readonly [{
|
|
214
|
-
readonly internalType: "
|
|
341
|
+
readonly internalType: "uint256";
|
|
215
342
|
readonly name: "";
|
|
216
|
-
readonly type: "
|
|
343
|
+
readonly type: "uint256";
|
|
217
344
|
}];
|
|
218
|
-
readonly stateMutability: "
|
|
345
|
+
readonly stateMutability: "view";
|
|
219
346
|
readonly type: "function";
|
|
220
347
|
}, {
|
|
221
348
|
readonly inputs: readonly [{
|
|
222
349
|
readonly internalType: "address";
|
|
223
|
-
readonly name: "
|
|
350
|
+
readonly name: "to";
|
|
224
351
|
readonly type: "address";
|
|
225
352
|
}, {
|
|
226
353
|
readonly internalType: "uint256";
|
|
227
|
-
readonly name: "
|
|
354
|
+
readonly name: "amount";
|
|
228
355
|
readonly type: "uint256";
|
|
229
356
|
}];
|
|
230
|
-
readonly name: "
|
|
231
|
-
readonly outputs: readonly [
|
|
232
|
-
readonly internalType: "bool";
|
|
233
|
-
readonly name: "";
|
|
234
|
-
readonly type: "bool";
|
|
235
|
-
}];
|
|
357
|
+
readonly name: "mint";
|
|
358
|
+
readonly outputs: readonly [];
|
|
236
359
|
readonly stateMutability: "nonpayable";
|
|
237
360
|
readonly type: "function";
|
|
238
361
|
}, {
|
|
239
362
|
readonly inputs: readonly [];
|
|
240
|
-
readonly name: "
|
|
363
|
+
readonly name: "name";
|
|
241
364
|
readonly outputs: readonly [{
|
|
242
365
|
readonly internalType: "string";
|
|
243
366
|
readonly name: "";
|
|
@@ -248,78 +371,104 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
248
371
|
}, {
|
|
249
372
|
readonly inputs: readonly [{
|
|
250
373
|
readonly internalType: "address";
|
|
251
|
-
readonly name: "
|
|
374
|
+
readonly name: "owner";
|
|
252
375
|
readonly type: "address";
|
|
253
|
-
}
|
|
376
|
+
}];
|
|
377
|
+
readonly name: "nonces";
|
|
378
|
+
readonly outputs: readonly [{
|
|
254
379
|
readonly internalType: "uint256";
|
|
255
|
-
readonly name: "
|
|
380
|
+
readonly name: "result";
|
|
256
381
|
readonly type: "uint256";
|
|
257
382
|
}];
|
|
258
|
-
readonly
|
|
383
|
+
readonly stateMutability: "view";
|
|
384
|
+
readonly type: "function";
|
|
385
|
+
}, {
|
|
386
|
+
readonly inputs: readonly [];
|
|
387
|
+
readonly name: "owner";
|
|
259
388
|
readonly outputs: readonly [{
|
|
260
|
-
readonly internalType: "
|
|
261
|
-
readonly name: "";
|
|
262
|
-
readonly type: "
|
|
389
|
+
readonly internalType: "address";
|
|
390
|
+
readonly name: "result";
|
|
391
|
+
readonly type: "address";
|
|
263
392
|
}];
|
|
264
|
-
readonly stateMutability: "
|
|
393
|
+
readonly stateMutability: "view";
|
|
265
394
|
readonly type: "function";
|
|
266
395
|
}, {
|
|
267
|
-
readonly inputs: readonly [
|
|
268
|
-
|
|
396
|
+
readonly inputs: readonly [{
|
|
397
|
+
readonly internalType: "address";
|
|
398
|
+
readonly name: "pendingOwner";
|
|
399
|
+
readonly type: "address";
|
|
400
|
+
}];
|
|
401
|
+
readonly name: "ownershipHandoverExpiresAt";
|
|
269
402
|
readonly outputs: readonly [{
|
|
270
|
-
readonly internalType: "
|
|
271
|
-
readonly name: "";
|
|
272
|
-
readonly type: "
|
|
403
|
+
readonly internalType: "uint256";
|
|
404
|
+
readonly name: "result";
|
|
405
|
+
readonly type: "uint256";
|
|
273
406
|
}];
|
|
274
407
|
readonly stateMutability: "view";
|
|
275
408
|
readonly type: "function";
|
|
276
409
|
}, {
|
|
277
410
|
readonly inputs: readonly [];
|
|
278
|
-
readonly name: "
|
|
411
|
+
readonly name: "paused";
|
|
279
412
|
readonly outputs: readonly [{
|
|
280
|
-
readonly internalType: "
|
|
413
|
+
readonly internalType: "bool";
|
|
281
414
|
readonly name: "";
|
|
282
|
-
readonly type: "
|
|
415
|
+
readonly type: "bool";
|
|
283
416
|
}];
|
|
284
417
|
readonly stateMutability: "view";
|
|
285
418
|
readonly type: "function";
|
|
286
419
|
}, {
|
|
287
420
|
readonly inputs: readonly [{
|
|
288
|
-
readonly internalType: "
|
|
289
|
-
readonly name: "
|
|
290
|
-
readonly type: "
|
|
421
|
+
readonly internalType: "address";
|
|
422
|
+
readonly name: "owner";
|
|
423
|
+
readonly type: "address";
|
|
424
|
+
}, {
|
|
425
|
+
readonly internalType: "address";
|
|
426
|
+
readonly name: "spender";
|
|
427
|
+
readonly type: "address";
|
|
428
|
+
}, {
|
|
429
|
+
readonly internalType: "uint256";
|
|
430
|
+
readonly name: "value";
|
|
431
|
+
readonly type: "uint256";
|
|
432
|
+
}, {
|
|
433
|
+
readonly internalType: "uint256";
|
|
434
|
+
readonly name: "deadline";
|
|
435
|
+
readonly type: "uint256";
|
|
436
|
+
}, {
|
|
437
|
+
readonly internalType: "uint8";
|
|
438
|
+
readonly name: "v";
|
|
439
|
+
readonly type: "uint8";
|
|
440
|
+
}, {
|
|
441
|
+
readonly internalType: "bytes32";
|
|
442
|
+
readonly name: "r";
|
|
443
|
+
readonly type: "bytes32";
|
|
444
|
+
}, {
|
|
445
|
+
readonly internalType: "bytes32";
|
|
446
|
+
readonly name: "s";
|
|
447
|
+
readonly type: "bytes32";
|
|
291
448
|
}];
|
|
292
|
-
readonly name: "
|
|
449
|
+
readonly name: "permit";
|
|
293
450
|
readonly outputs: readonly [];
|
|
294
451
|
readonly stateMutability: "nonpayable";
|
|
295
452
|
readonly type: "function";
|
|
296
453
|
}, {
|
|
297
|
-
readonly inputs: readonly [
|
|
298
|
-
|
|
299
|
-
readonly name: "newName";
|
|
300
|
-
readonly type: "string";
|
|
301
|
-
}];
|
|
302
|
-
readonly name: "setName";
|
|
454
|
+
readonly inputs: readonly [];
|
|
455
|
+
readonly name: "renounceOwnership";
|
|
303
456
|
readonly outputs: readonly [];
|
|
304
|
-
readonly stateMutability: "
|
|
457
|
+
readonly stateMutability: "payable";
|
|
305
458
|
readonly type: "function";
|
|
306
459
|
}, {
|
|
307
|
-
readonly inputs: readonly [
|
|
308
|
-
|
|
309
|
-
readonly name: "newSymbol";
|
|
310
|
-
readonly type: "string";
|
|
311
|
-
}];
|
|
312
|
-
readonly name: "setSymbol";
|
|
460
|
+
readonly inputs: readonly [];
|
|
461
|
+
readonly name: "requestOwnershipHandover";
|
|
313
462
|
readonly outputs: readonly [];
|
|
314
|
-
readonly stateMutability: "
|
|
463
|
+
readonly stateMutability: "payable";
|
|
315
464
|
readonly type: "function";
|
|
316
465
|
}, {
|
|
317
466
|
readonly inputs: readonly [{
|
|
318
|
-
readonly internalType: "
|
|
319
|
-
readonly name: "
|
|
320
|
-
readonly type: "
|
|
467
|
+
readonly internalType: "bool";
|
|
468
|
+
readonly name: "_paused";
|
|
469
|
+
readonly type: "bool";
|
|
321
470
|
}];
|
|
322
|
-
readonly name: "
|
|
471
|
+
readonly name: "setTransferPaused";
|
|
323
472
|
readonly outputs: readonly [];
|
|
324
473
|
readonly stateMutability: "nonpayable";
|
|
325
474
|
readonly type: "function";
|
|
@@ -333,22 +482,12 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
333
482
|
}];
|
|
334
483
|
readonly stateMutability: "view";
|
|
335
484
|
readonly type: "function";
|
|
336
|
-
}, {
|
|
337
|
-
readonly inputs: readonly [];
|
|
338
|
-
readonly name: "tokenURI";
|
|
339
|
-
readonly outputs: readonly [{
|
|
340
|
-
readonly internalType: "string";
|
|
341
|
-
readonly name: "";
|
|
342
|
-
readonly type: "string";
|
|
343
|
-
}];
|
|
344
|
-
readonly stateMutability: "view";
|
|
345
|
-
readonly type: "function";
|
|
346
485
|
}, {
|
|
347
486
|
readonly inputs: readonly [];
|
|
348
487
|
readonly name: "totalSupply";
|
|
349
488
|
readonly outputs: readonly [{
|
|
350
489
|
readonly internalType: "uint256";
|
|
351
|
-
readonly name: "";
|
|
490
|
+
readonly name: "result";
|
|
352
491
|
readonly type: "uint256";
|
|
353
492
|
}];
|
|
354
493
|
readonly stateMutability: "view";
|
|
@@ -360,7 +499,7 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
360
499
|
readonly type: "address";
|
|
361
500
|
}, {
|
|
362
501
|
readonly internalType: "uint256";
|
|
363
|
-
readonly name: "
|
|
502
|
+
readonly name: "amount";
|
|
364
503
|
readonly type: "uint256";
|
|
365
504
|
}];
|
|
366
505
|
readonly name: "transfer";
|
|
@@ -382,7 +521,7 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
382
521
|
readonly type: "address";
|
|
383
522
|
}, {
|
|
384
523
|
readonly internalType: "uint256";
|
|
385
|
-
readonly name: "
|
|
524
|
+
readonly name: "amount";
|
|
386
525
|
readonly type: "uint256";
|
|
387
526
|
}];
|
|
388
527
|
readonly name: "transferFrom";
|
|
@@ -401,19 +540,19 @@ export declare const MusdtMintable_jsonAbi: readonly [{
|
|
|
401
540
|
}];
|
|
402
541
|
readonly name: "transferOwnership";
|
|
403
542
|
readonly outputs: readonly [];
|
|
404
|
-
readonly stateMutability: "
|
|
543
|
+
readonly stateMutability: "payable";
|
|
405
544
|
readonly type: "function";
|
|
406
545
|
}];
|
|
407
546
|
/**
|
|
408
|
-
* Type-safe ABI for
|
|
547
|
+
* Type-safe ABI for UltimateTokenOwnable_json
|
|
409
548
|
*/
|
|
410
|
-
export type
|
|
549
|
+
export type UltimateTokenOwnable_jsonAbi = typeof UltimateTokenOwnable_jsonAbi;
|
|
411
550
|
/**
|
|
412
|
-
* Contract instance type for
|
|
551
|
+
* Contract instance type for UltimateTokenOwnable_json
|
|
413
552
|
*/
|
|
414
|
-
export type
|
|
553
|
+
export type UltimateTokenOwnable_jsonContract = any;
|
|
415
554
|
/**
|
|
416
|
-
*
|
|
555
|
+
* UltimateTokenOwnable_json Contract Class
|
|
417
556
|
*
|
|
418
557
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
419
558
|
*
|
|
@@ -421,12 +560,12 @@ export type MusdtMintable_jsonContract = any;
|
|
|
421
560
|
* ```typescript
|
|
422
561
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
423
562
|
* import { mainnet } from 'viem/chains';
|
|
424
|
-
* import {
|
|
563
|
+
* import { UltimateTokenOwnable_json } from 'UltimateTokenOwnable_json';
|
|
425
564
|
*
|
|
426
565
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
427
566
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
428
567
|
*
|
|
429
|
-
* const contract = new
|
|
568
|
+
* const contract = new UltimateTokenOwnable_json('0x...', { publicClient, walletClient });
|
|
430
569
|
*
|
|
431
570
|
* // Read functions
|
|
432
571
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -444,7 +583,7 @@ export type MusdtMintable_jsonContract = any;
|
|
|
444
583
|
* });
|
|
445
584
|
* ```
|
|
446
585
|
*/
|
|
447
|
-
export declare class
|
|
586
|
+
export declare class UltimateTokenOwnable_json {
|
|
448
587
|
private contract;
|
|
449
588
|
private contractAddress;
|
|
450
589
|
private publicClient;
|
|
@@ -459,47 +598,62 @@ export declare class MusdtMintable_json {
|
|
|
459
598
|
/**
|
|
460
599
|
* Get the underlying viem contract instance
|
|
461
600
|
*/
|
|
462
|
-
getContract():
|
|
601
|
+
getContract(): UltimateTokenOwnable_jsonContract;
|
|
602
|
+
/**
|
|
603
|
+
* DOMAIN_SEPARATOR
|
|
604
|
+
* view
|
|
605
|
+
*/
|
|
606
|
+
DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
|
|
463
607
|
/**
|
|
464
608
|
* allowance
|
|
465
609
|
* view
|
|
466
610
|
*/
|
|
467
|
-
allowance(
|
|
611
|
+
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
468
612
|
/**
|
|
469
613
|
* balanceOf
|
|
470
614
|
* view
|
|
471
615
|
*/
|
|
472
|
-
balanceOf(
|
|
616
|
+
balanceOf(owner: `0x${string}`): Promise<bigint>;
|
|
473
617
|
/**
|
|
474
618
|
* decimals
|
|
475
619
|
* view
|
|
476
620
|
*/
|
|
477
621
|
decimals(): Promise<bigint>;
|
|
478
622
|
/**
|
|
479
|
-
*
|
|
623
|
+
* maxSupply
|
|
480
624
|
* view
|
|
481
625
|
*/
|
|
482
|
-
|
|
626
|
+
maxSupply(): Promise<bigint>;
|
|
483
627
|
/**
|
|
484
628
|
* name
|
|
485
629
|
* view
|
|
486
630
|
*/
|
|
487
631
|
name(): Promise<string>;
|
|
632
|
+
/**
|
|
633
|
+
* nonces
|
|
634
|
+
* view
|
|
635
|
+
*/
|
|
636
|
+
nonces(owner: `0x${string}`): Promise<bigint>;
|
|
488
637
|
/**
|
|
489
638
|
* owner
|
|
490
639
|
* view
|
|
491
640
|
*/
|
|
492
641
|
owner(): Promise<`0x${string}`>;
|
|
493
642
|
/**
|
|
494
|
-
*
|
|
643
|
+
* ownershipHandoverExpiresAt
|
|
495
644
|
* view
|
|
496
645
|
*/
|
|
497
|
-
|
|
646
|
+
ownershipHandoverExpiresAt(pendingOwner: `0x${string}`): Promise<bigint>;
|
|
647
|
+
/**
|
|
648
|
+
* paused
|
|
649
|
+
* view
|
|
650
|
+
*/
|
|
651
|
+
paused(): Promise<boolean>;
|
|
498
652
|
/**
|
|
499
|
-
*
|
|
653
|
+
* symbol
|
|
500
654
|
* view
|
|
501
655
|
*/
|
|
502
|
-
|
|
656
|
+
symbol(): Promise<string>;
|
|
503
657
|
/**
|
|
504
658
|
* totalSupply
|
|
505
659
|
* view
|
|
@@ -510,7 +664,7 @@ export declare class MusdtMintable_json {
|
|
|
510
664
|
* nonpayable
|
|
511
665
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
512
666
|
*/
|
|
513
|
-
approve(spender: `0x${string}`,
|
|
667
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
514
668
|
accessList?: import('viem').AccessList;
|
|
515
669
|
authorizationList?: import('viem').AuthorizationList;
|
|
516
670
|
chain?: import('viem').Chain | null;
|
|
@@ -523,11 +677,11 @@ export declare class MusdtMintable_json {
|
|
|
523
677
|
value?: bigint;
|
|
524
678
|
}): Promise<`0x${string}`>;
|
|
525
679
|
/**
|
|
526
|
-
*
|
|
680
|
+
* burn
|
|
527
681
|
* nonpayable
|
|
528
682
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
529
683
|
*/
|
|
530
|
-
|
|
684
|
+
burn(value: bigint, options?: {
|
|
531
685
|
accessList?: import('viem').AccessList;
|
|
532
686
|
authorizationList?: import('viem').AuthorizationList;
|
|
533
687
|
chain?: import('viem').Chain | null;
|
|
@@ -540,11 +694,11 @@ export declare class MusdtMintable_json {
|
|
|
540
694
|
value?: bigint;
|
|
541
695
|
}): Promise<`0x${string}`>;
|
|
542
696
|
/**
|
|
543
|
-
*
|
|
544
|
-
*
|
|
697
|
+
* cancelOwnershipHandover
|
|
698
|
+
* payable
|
|
545
699
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
546
700
|
*/
|
|
547
|
-
|
|
701
|
+
cancelOwnershipHandover(options?: {
|
|
548
702
|
accessList?: import('viem').AccessList;
|
|
549
703
|
authorizationList?: import('viem').AuthorizationList;
|
|
550
704
|
chain?: import('viem').Chain | null;
|
|
@@ -557,11 +711,28 @@ export declare class MusdtMintable_json {
|
|
|
557
711
|
value?: bigint;
|
|
558
712
|
}): Promise<`0x${string}`>;
|
|
559
713
|
/**
|
|
560
|
-
*
|
|
714
|
+
* completeOwnershipHandover
|
|
715
|
+
* payable
|
|
716
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
717
|
+
*/
|
|
718
|
+
completeOwnershipHandover(pendingOwner: `0x${string}`, options?: {
|
|
719
|
+
accessList?: import('viem').AccessList;
|
|
720
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
721
|
+
chain?: import('viem').Chain | null;
|
|
722
|
+
dataSuffix?: `0x${string}`;
|
|
723
|
+
gas?: bigint;
|
|
724
|
+
gasPrice?: bigint;
|
|
725
|
+
maxFeePerGas?: bigint;
|
|
726
|
+
maxPriorityFeePerGas?: bigint;
|
|
727
|
+
nonce?: number;
|
|
728
|
+
value?: bigint;
|
|
729
|
+
}): Promise<`0x${string}`>;
|
|
730
|
+
/**
|
|
731
|
+
* disableInitializer
|
|
561
732
|
* nonpayable
|
|
562
733
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
563
734
|
*/
|
|
564
|
-
|
|
735
|
+
disableInitializer(options?: {
|
|
565
736
|
accessList?: import('viem').AccessList;
|
|
566
737
|
authorizationList?: import('viem').AuthorizationList;
|
|
567
738
|
chain?: import('viem').Chain | null;
|
|
@@ -574,11 +745,11 @@ export declare class MusdtMintable_json {
|
|
|
574
745
|
value?: bigint;
|
|
575
746
|
}): Promise<`0x${string}`>;
|
|
576
747
|
/**
|
|
577
|
-
*
|
|
748
|
+
* initialize
|
|
578
749
|
* nonpayable
|
|
579
750
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
580
751
|
*/
|
|
581
|
-
|
|
752
|
+
initialize(authInfo: AuthInfo, tokenInfo: TokenInfo, supplyInfo: SupplyInfo, options?: {
|
|
582
753
|
accessList?: import('viem').AccessList;
|
|
583
754
|
authorizationList?: import('viem').AuthorizationList;
|
|
584
755
|
chain?: import('viem').Chain | null;
|
|
@@ -591,11 +762,11 @@ export declare class MusdtMintable_json {
|
|
|
591
762
|
value?: bigint;
|
|
592
763
|
}): Promise<`0x${string}`>;
|
|
593
764
|
/**
|
|
594
|
-
*
|
|
765
|
+
* mint
|
|
595
766
|
* nonpayable
|
|
596
767
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
597
768
|
*/
|
|
598
|
-
|
|
769
|
+
mint(to: `0x${string}`, amount: bigint, options?: {
|
|
599
770
|
accessList?: import('viem').AccessList;
|
|
600
771
|
authorizationList?: import('viem').AuthorizationList;
|
|
601
772
|
chain?: import('viem').Chain | null;
|
|
@@ -608,11 +779,11 @@ export declare class MusdtMintable_json {
|
|
|
608
779
|
value?: bigint;
|
|
609
780
|
}): Promise<`0x${string}`>;
|
|
610
781
|
/**
|
|
611
|
-
*
|
|
782
|
+
* permit
|
|
612
783
|
* nonpayable
|
|
613
784
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
614
785
|
*/
|
|
615
|
-
|
|
786
|
+
permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
616
787
|
accessList?: import('viem').AccessList;
|
|
617
788
|
authorizationList?: import('viem').AuthorizationList;
|
|
618
789
|
chain?: import('viem').Chain | null;
|
|
@@ -625,11 +796,45 @@ export declare class MusdtMintable_json {
|
|
|
625
796
|
value?: bigint;
|
|
626
797
|
}): Promise<`0x${string}`>;
|
|
627
798
|
/**
|
|
628
|
-
*
|
|
799
|
+
* renounceOwnership
|
|
800
|
+
* payable
|
|
801
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
802
|
+
*/
|
|
803
|
+
renounceOwnership(options?: {
|
|
804
|
+
accessList?: import('viem').AccessList;
|
|
805
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
806
|
+
chain?: import('viem').Chain | null;
|
|
807
|
+
dataSuffix?: `0x${string}`;
|
|
808
|
+
gas?: bigint;
|
|
809
|
+
gasPrice?: bigint;
|
|
810
|
+
maxFeePerGas?: bigint;
|
|
811
|
+
maxPriorityFeePerGas?: bigint;
|
|
812
|
+
nonce?: number;
|
|
813
|
+
value?: bigint;
|
|
814
|
+
}): Promise<`0x${string}`>;
|
|
815
|
+
/**
|
|
816
|
+
* requestOwnershipHandover
|
|
817
|
+
* payable
|
|
818
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
819
|
+
*/
|
|
820
|
+
requestOwnershipHandover(options?: {
|
|
821
|
+
accessList?: import('viem').AccessList;
|
|
822
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
823
|
+
chain?: import('viem').Chain | null;
|
|
824
|
+
dataSuffix?: `0x${string}`;
|
|
825
|
+
gas?: bigint;
|
|
826
|
+
gasPrice?: bigint;
|
|
827
|
+
maxFeePerGas?: bigint;
|
|
828
|
+
maxPriorityFeePerGas?: bigint;
|
|
829
|
+
nonce?: number;
|
|
830
|
+
value?: bigint;
|
|
831
|
+
}): Promise<`0x${string}`>;
|
|
832
|
+
/**
|
|
833
|
+
* setTransferPaused
|
|
629
834
|
* nonpayable
|
|
630
835
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
631
836
|
*/
|
|
632
|
-
|
|
837
|
+
setTransferPaused(_paused: boolean, options?: {
|
|
633
838
|
accessList?: import('viem').AccessList;
|
|
634
839
|
authorizationList?: import('viem').AuthorizationList;
|
|
635
840
|
chain?: import('viem').Chain | null;
|
|
@@ -646,7 +851,7 @@ export declare class MusdtMintable_json {
|
|
|
646
851
|
* nonpayable
|
|
647
852
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
648
853
|
*/
|
|
649
|
-
transfer(to: `0x${string}`,
|
|
854
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
650
855
|
accessList?: import('viem').AccessList;
|
|
651
856
|
authorizationList?: import('viem').AuthorizationList;
|
|
652
857
|
chain?: import('viem').Chain | null;
|
|
@@ -663,7 +868,7 @@ export declare class MusdtMintable_json {
|
|
|
663
868
|
* nonpayable
|
|
664
869
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
665
870
|
*/
|
|
666
|
-
transferFrom(from: `0x${string}`, to: `0x${string}`,
|
|
871
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
667
872
|
accessList?: import('viem').AccessList;
|
|
668
873
|
authorizationList?: import('viem').AuthorizationList;
|
|
669
874
|
chain?: import('viem').Chain | null;
|
|
@@ -677,7 +882,7 @@ export declare class MusdtMintable_json {
|
|
|
677
882
|
}): Promise<`0x${string}`>;
|
|
678
883
|
/**
|
|
679
884
|
* transferOwnership
|
|
680
|
-
*
|
|
885
|
+
* payable
|
|
681
886
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
682
887
|
*/
|
|
683
888
|
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
@@ -706,7 +911,7 @@ export declare class MusdtMintable_json {
|
|
|
706
911
|
* Returns gas estimate and result without sending transaction
|
|
707
912
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
708
913
|
*/
|
|
709
|
-
approve(spender: `0x${string}`,
|
|
914
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
710
915
|
accessList?: import("viem").AccessList;
|
|
711
916
|
authorizationList?: import("viem").AuthorizationList;
|
|
712
917
|
chain?: import("viem").Chain | null;
|
|
@@ -719,11 +924,11 @@ export declare class MusdtMintable_json {
|
|
|
719
924
|
value?: bigint;
|
|
720
925
|
}): Promise<boolean>;
|
|
721
926
|
/**
|
|
722
|
-
* Simulate
|
|
927
|
+
* Simulate burn
|
|
723
928
|
* Returns gas estimate and result without sending transaction
|
|
724
929
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
725
930
|
*/
|
|
726
|
-
|
|
931
|
+
burn(value: bigint, options?: {
|
|
727
932
|
accessList?: import("viem").AccessList;
|
|
728
933
|
authorizationList?: import("viem").AuthorizationList;
|
|
729
934
|
chain?: import("viem").Chain | null;
|
|
@@ -734,13 +939,13 @@ export declare class MusdtMintable_json {
|
|
|
734
939
|
maxPriorityFeePerGas?: bigint;
|
|
735
940
|
nonce?: number;
|
|
736
941
|
value?: bigint;
|
|
737
|
-
}): Promise<
|
|
942
|
+
}): Promise<void>;
|
|
738
943
|
/**
|
|
739
|
-
* Simulate
|
|
944
|
+
* Simulate cancelOwnershipHandover
|
|
740
945
|
* Returns gas estimate and result without sending transaction
|
|
741
946
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
742
947
|
*/
|
|
743
|
-
|
|
948
|
+
cancelOwnershipHandover(options?: {
|
|
744
949
|
accessList?: import("viem").AccessList;
|
|
745
950
|
authorizationList?: import("viem").AuthorizationList;
|
|
746
951
|
chain?: import("viem").Chain | null;
|
|
@@ -751,13 +956,64 @@ export declare class MusdtMintable_json {
|
|
|
751
956
|
maxPriorityFeePerGas?: bigint;
|
|
752
957
|
nonce?: number;
|
|
753
958
|
value?: bigint;
|
|
754
|
-
}): Promise<
|
|
959
|
+
}): Promise<void>;
|
|
960
|
+
/**
|
|
961
|
+
* Simulate completeOwnershipHandover
|
|
962
|
+
* Returns gas estimate and result without sending transaction
|
|
963
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
964
|
+
*/
|
|
965
|
+
completeOwnershipHandover(pendingOwner: `0x${string}`, options?: {
|
|
966
|
+
accessList?: import("viem").AccessList;
|
|
967
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
968
|
+
chain?: import("viem").Chain | null;
|
|
969
|
+
dataSuffix?: `0x${string}`;
|
|
970
|
+
gas?: bigint;
|
|
971
|
+
gasPrice?: bigint;
|
|
972
|
+
maxFeePerGas?: bigint;
|
|
973
|
+
maxPriorityFeePerGas?: bigint;
|
|
974
|
+
nonce?: number;
|
|
975
|
+
value?: bigint;
|
|
976
|
+
}): Promise<void>;
|
|
977
|
+
/**
|
|
978
|
+
* Simulate disableInitializer
|
|
979
|
+
* Returns gas estimate and result without sending transaction
|
|
980
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
981
|
+
*/
|
|
982
|
+
disableInitializer(options?: {
|
|
983
|
+
accessList?: import("viem").AccessList;
|
|
984
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
985
|
+
chain?: import("viem").Chain | null;
|
|
986
|
+
dataSuffix?: `0x${string}`;
|
|
987
|
+
gas?: bigint;
|
|
988
|
+
gasPrice?: bigint;
|
|
989
|
+
maxFeePerGas?: bigint;
|
|
990
|
+
maxPriorityFeePerGas?: bigint;
|
|
991
|
+
nonce?: number;
|
|
992
|
+
value?: bigint;
|
|
993
|
+
}): Promise<void>;
|
|
994
|
+
/**
|
|
995
|
+
* Simulate initialize
|
|
996
|
+
* Returns gas estimate and result without sending transaction
|
|
997
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
998
|
+
*/
|
|
999
|
+
initialize(authInfo: AuthInfo, tokenInfo: TokenInfo, supplyInfo: SupplyInfo, options?: {
|
|
1000
|
+
accessList?: import("viem").AccessList;
|
|
1001
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1002
|
+
chain?: import("viem").Chain | null;
|
|
1003
|
+
dataSuffix?: `0x${string}`;
|
|
1004
|
+
gas?: bigint;
|
|
1005
|
+
gasPrice?: bigint;
|
|
1006
|
+
maxFeePerGas?: bigint;
|
|
1007
|
+
maxPriorityFeePerGas?: bigint;
|
|
1008
|
+
nonce?: number;
|
|
1009
|
+
value?: bigint;
|
|
1010
|
+
}): Promise<void>;
|
|
755
1011
|
/**
|
|
756
1012
|
* Simulate mint
|
|
757
1013
|
* Returns gas estimate and result without sending transaction
|
|
758
1014
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
759
1015
|
*/
|
|
760
|
-
mint(to: `0x${string}`,
|
|
1016
|
+
mint(to: `0x${string}`, amount: bigint, options?: {
|
|
761
1017
|
accessList?: import("viem").AccessList;
|
|
762
1018
|
authorizationList?: import("viem").AuthorizationList;
|
|
763
1019
|
chain?: import("viem").Chain | null;
|
|
@@ -768,13 +1024,13 @@ export declare class MusdtMintable_json {
|
|
|
768
1024
|
maxPriorityFeePerGas?: bigint;
|
|
769
1025
|
nonce?: number;
|
|
770
1026
|
value?: bigint;
|
|
771
|
-
}): Promise<
|
|
1027
|
+
}): Promise<void>;
|
|
772
1028
|
/**
|
|
773
|
-
* Simulate
|
|
1029
|
+
* Simulate permit
|
|
774
1030
|
* Returns gas estimate and result without sending transaction
|
|
775
1031
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
776
1032
|
*/
|
|
777
|
-
|
|
1033
|
+
permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
778
1034
|
accessList?: import("viem").AccessList;
|
|
779
1035
|
authorizationList?: import("viem").AuthorizationList;
|
|
780
1036
|
chain?: import("viem").Chain | null;
|
|
@@ -787,11 +1043,11 @@ export declare class MusdtMintable_json {
|
|
|
787
1043
|
value?: bigint;
|
|
788
1044
|
}): Promise<void>;
|
|
789
1045
|
/**
|
|
790
|
-
* Simulate
|
|
1046
|
+
* Simulate renounceOwnership
|
|
791
1047
|
* Returns gas estimate and result without sending transaction
|
|
792
1048
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
793
1049
|
*/
|
|
794
|
-
|
|
1050
|
+
renounceOwnership(options?: {
|
|
795
1051
|
accessList?: import("viem").AccessList;
|
|
796
1052
|
authorizationList?: import("viem").AuthorizationList;
|
|
797
1053
|
chain?: import("viem").Chain | null;
|
|
@@ -804,11 +1060,11 @@ export declare class MusdtMintable_json {
|
|
|
804
1060
|
value?: bigint;
|
|
805
1061
|
}): Promise<void>;
|
|
806
1062
|
/**
|
|
807
|
-
* Simulate
|
|
1063
|
+
* Simulate requestOwnershipHandover
|
|
808
1064
|
* Returns gas estimate and result without sending transaction
|
|
809
1065
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
810
1066
|
*/
|
|
811
|
-
|
|
1067
|
+
requestOwnershipHandover(options?: {
|
|
812
1068
|
accessList?: import("viem").AccessList;
|
|
813
1069
|
authorizationList?: import("viem").AuthorizationList;
|
|
814
1070
|
chain?: import("viem").Chain | null;
|
|
@@ -821,11 +1077,11 @@ export declare class MusdtMintable_json {
|
|
|
821
1077
|
value?: bigint;
|
|
822
1078
|
}): Promise<void>;
|
|
823
1079
|
/**
|
|
824
|
-
* Simulate
|
|
1080
|
+
* Simulate setTransferPaused
|
|
825
1081
|
* Returns gas estimate and result without sending transaction
|
|
826
1082
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
827
1083
|
*/
|
|
828
|
-
|
|
1084
|
+
setTransferPaused(_paused: boolean, options?: {
|
|
829
1085
|
accessList?: import("viem").AccessList;
|
|
830
1086
|
authorizationList?: import("viem").AuthorizationList;
|
|
831
1087
|
chain?: import("viem").Chain | null;
|
|
@@ -842,7 +1098,7 @@ export declare class MusdtMintable_json {
|
|
|
842
1098
|
* Returns gas estimate and result without sending transaction
|
|
843
1099
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
844
1100
|
*/
|
|
845
|
-
transfer(to: `0x${string}`,
|
|
1101
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
846
1102
|
accessList?: import("viem").AccessList;
|
|
847
1103
|
authorizationList?: import("viem").AuthorizationList;
|
|
848
1104
|
chain?: import("viem").Chain | null;
|
|
@@ -859,7 +1115,7 @@ export declare class MusdtMintable_json {
|
|
|
859
1115
|
* Returns gas estimate and result without sending transaction
|
|
860
1116
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
861
1117
|
*/
|
|
862
|
-
transferFrom(from: `0x${string}`, to: `0x${string}`,
|
|
1118
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
863
1119
|
accessList?: import("viem").AccessList;
|
|
864
1120
|
authorizationList?: import("viem").AuthorizationList;
|
|
865
1121
|
chain?: import("viem").Chain | null;
|
|
@@ -911,64 +1167,55 @@ export declare class MusdtMintable_json {
|
|
|
911
1167
|
Approval: (callback: (event: {
|
|
912
1168
|
owner: `0x${string}`;
|
|
913
1169
|
spender: `0x${string}`;
|
|
914
|
-
|
|
1170
|
+
amount: bigint;
|
|
915
1171
|
}) => void, filter?: {
|
|
916
1172
|
owner: `0x${string}`;
|
|
917
1173
|
spender: `0x${string}`;
|
|
918
1174
|
}) => () => void;
|
|
919
1175
|
/**
|
|
920
|
-
* Watch
|
|
921
|
-
* @param callback Function to call when event is emitted
|
|
922
|
-
* @param filter Optional filter for indexed parameters
|
|
923
|
-
* @returns Unwatch function to stop listening
|
|
924
|
-
*/
|
|
925
|
-
LogoURIChanged: (callback: (event: {
|
|
926
|
-
previousURI: string;
|
|
927
|
-
newURI: string;
|
|
928
|
-
}) => void) => () => void;
|
|
929
|
-
/**
|
|
930
|
-
* Watch NameChanged events
|
|
1176
|
+
* Watch Initialized events
|
|
931
1177
|
* @param callback Function to call when event is emitted
|
|
932
1178
|
* @param filter Optional filter for indexed parameters
|
|
933
1179
|
* @returns Unwatch function to stop listening
|
|
934
1180
|
*/
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
newName: string;
|
|
1181
|
+
Initialized: (callback: (event: {
|
|
1182
|
+
version: bigint;
|
|
938
1183
|
}) => void) => () => void;
|
|
939
1184
|
/**
|
|
940
|
-
* Watch
|
|
1185
|
+
* Watch OwnershipHandoverCanceled events
|
|
941
1186
|
* @param callback Function to call when event is emitted
|
|
942
1187
|
* @param filter Optional filter for indexed parameters
|
|
943
1188
|
* @returns Unwatch function to stop listening
|
|
944
1189
|
*/
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
newOwner: `0x${string}`;
|
|
1190
|
+
OwnershipHandoverCanceled: (callback: (event: {
|
|
1191
|
+
pendingOwner: `0x${string}`;
|
|
948
1192
|
}) => void, filter?: {
|
|
949
|
-
|
|
950
|
-
newOwner: `0x${string}`;
|
|
1193
|
+
pendingOwner: `0x${string}`;
|
|
951
1194
|
}) => () => void;
|
|
952
1195
|
/**
|
|
953
|
-
* Watch
|
|
1196
|
+
* Watch OwnershipHandoverRequested events
|
|
954
1197
|
* @param callback Function to call when event is emitted
|
|
955
1198
|
* @param filter Optional filter for indexed parameters
|
|
956
1199
|
* @returns Unwatch function to stop listening
|
|
957
1200
|
*/
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1201
|
+
OwnershipHandoverRequested: (callback: (event: {
|
|
1202
|
+
pendingOwner: `0x${string}`;
|
|
1203
|
+
}) => void, filter?: {
|
|
1204
|
+
pendingOwner: `0x${string}`;
|
|
1205
|
+
}) => () => void;
|
|
962
1206
|
/**
|
|
963
|
-
* Watch
|
|
1207
|
+
* Watch OwnershipTransferred events
|
|
964
1208
|
* @param callback Function to call when event is emitted
|
|
965
1209
|
* @param filter Optional filter for indexed parameters
|
|
966
1210
|
* @returns Unwatch function to stop listening
|
|
967
1211
|
*/
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
}) => void
|
|
1212
|
+
OwnershipTransferred: (callback: (event: {
|
|
1213
|
+
oldOwner: `0x${string}`;
|
|
1214
|
+
newOwner: `0x${string}`;
|
|
1215
|
+
}) => void, filter?: {
|
|
1216
|
+
oldOwner: `0x${string}`;
|
|
1217
|
+
newOwner: `0x${string}`;
|
|
1218
|
+
}) => () => void;
|
|
972
1219
|
/**
|
|
973
1220
|
* Watch Transfer events
|
|
974
1221
|
* @param callback Function to call when event is emitted
|
|
@@ -978,7 +1225,7 @@ export declare class MusdtMintable_json {
|
|
|
978
1225
|
Transfer: (callback: (event: {
|
|
979
1226
|
from: `0x${string}`;
|
|
980
1227
|
to: `0x${string}`;
|
|
981
|
-
|
|
1228
|
+
amount: bigint;
|
|
982
1229
|
}) => void, filter?: {
|
|
983
1230
|
from: `0x${string}`;
|
|
984
1231
|
to: `0x${string}`;
|