@gitmyabi/meta 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/contracts/{Metaverseconvergence_json.d.ts → Metadium_json.d.ts} +133 -543
- package/contracts/{Metaverseconvergence_json.js → Metadium_json.js} +151 -588
- package/contracts/{Metaverseconvergence_json.ts → Metadium_json.ts} +180 -736
- 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,10 +1,10 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Metadium_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 Metadium_jsonAbi: readonly [{
|
|
8
8
|
readonly constant: true;
|
|
9
9
|
readonly inputs: readonly [];
|
|
10
10
|
readonly name: "name";
|
|
@@ -18,10 +18,10 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
18
18
|
}, {
|
|
19
19
|
readonly constant: false;
|
|
20
20
|
readonly inputs: readonly [{
|
|
21
|
-
readonly name: "
|
|
21
|
+
readonly name: "_spender";
|
|
22
22
|
readonly type: "address";
|
|
23
23
|
}, {
|
|
24
|
-
readonly name: "
|
|
24
|
+
readonly name: "_value";
|
|
25
25
|
readonly type: "uint256";
|
|
26
26
|
}];
|
|
27
27
|
readonly name: "approve";
|
|
@@ -46,13 +46,13 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
46
46
|
}, {
|
|
47
47
|
readonly constant: false;
|
|
48
48
|
readonly inputs: readonly [{
|
|
49
|
-
readonly name: "
|
|
49
|
+
readonly name: "from";
|
|
50
50
|
readonly type: "address";
|
|
51
51
|
}, {
|
|
52
|
-
readonly name: "
|
|
52
|
+
readonly name: "to";
|
|
53
53
|
readonly type: "address";
|
|
54
54
|
}, {
|
|
55
|
-
readonly name: "
|
|
55
|
+
readonly name: "value";
|
|
56
56
|
readonly type: "uint256";
|
|
57
57
|
}];
|
|
58
58
|
readonly name: "transferFrom";
|
|
@@ -66,10 +66,10 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
66
66
|
}, {
|
|
67
67
|
readonly constant: true;
|
|
68
68
|
readonly inputs: readonly [];
|
|
69
|
-
readonly name: "
|
|
69
|
+
readonly name: "INITIAL_SUPPLY";
|
|
70
70
|
readonly outputs: readonly [{
|
|
71
71
|
readonly name: "";
|
|
72
|
-
readonly type: "
|
|
72
|
+
readonly type: "uint256";
|
|
73
73
|
}];
|
|
74
74
|
readonly payable: false;
|
|
75
75
|
readonly stateMutability: "view";
|
|
@@ -77,10 +77,10 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
77
77
|
}, {
|
|
78
78
|
readonly constant: true;
|
|
79
79
|
readonly inputs: readonly [];
|
|
80
|
-
readonly name: "
|
|
80
|
+
readonly name: "decimals";
|
|
81
81
|
readonly outputs: readonly [{
|
|
82
82
|
readonly name: "";
|
|
83
|
-
readonly type: "
|
|
83
|
+
readonly type: "uint8";
|
|
84
84
|
}];
|
|
85
85
|
readonly payable: false;
|
|
86
86
|
readonly stateMutability: "view";
|
|
@@ -88,74 +88,46 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
88
88
|
}, {
|
|
89
89
|
readonly constant: false;
|
|
90
90
|
readonly inputs: readonly [{
|
|
91
|
-
readonly name: "
|
|
92
|
-
readonly type: "address";
|
|
93
|
-
}, {
|
|
94
|
-
readonly name: "addedValue";
|
|
91
|
+
readonly name: "_value";
|
|
95
92
|
readonly type: "uint256";
|
|
96
93
|
}];
|
|
97
|
-
readonly name: "
|
|
98
|
-
readonly outputs: readonly [{
|
|
99
|
-
readonly name: "";
|
|
100
|
-
readonly type: "bool";
|
|
101
|
-
}];
|
|
102
|
-
readonly payable: false;
|
|
103
|
-
readonly stateMutability: "nonpayable";
|
|
104
|
-
readonly type: "function";
|
|
105
|
-
}, {
|
|
106
|
-
readonly constant: false;
|
|
107
|
-
readonly inputs: readonly [];
|
|
108
|
-
readonly name: "unpause";
|
|
94
|
+
readonly name: "burn";
|
|
109
95
|
readonly outputs: readonly [];
|
|
110
96
|
readonly payable: false;
|
|
111
97
|
readonly stateMutability: "nonpayable";
|
|
112
98
|
readonly type: "function";
|
|
113
99
|
}, {
|
|
114
|
-
readonly constant:
|
|
115
|
-
readonly inputs: readonly [
|
|
116
|
-
|
|
117
|
-
|
|
100
|
+
readonly constant: true;
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly name: "transferEnabled";
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly name: "";
|
|
105
|
+
readonly type: "bool";
|
|
118
106
|
}];
|
|
119
|
-
readonly name: "unfreeze";
|
|
120
|
-
readonly outputs: readonly [];
|
|
121
107
|
readonly payable: false;
|
|
122
|
-
readonly stateMutability: "
|
|
108
|
+
readonly stateMutability: "view";
|
|
123
109
|
readonly type: "function";
|
|
124
110
|
}, {
|
|
125
|
-
readonly constant:
|
|
111
|
+
readonly constant: false;
|
|
126
112
|
readonly inputs: readonly [{
|
|
127
|
-
readonly name: "
|
|
113
|
+
readonly name: "_spender";
|
|
128
114
|
readonly type: "address";
|
|
129
115
|
}, {
|
|
130
|
-
readonly name: "
|
|
131
|
-
readonly type: "uint256";
|
|
132
|
-
}];
|
|
133
|
-
readonly name: "lockState";
|
|
134
|
-
readonly outputs: readonly [{
|
|
135
|
-
readonly name: "";
|
|
136
|
-
readonly type: "uint256";
|
|
137
|
-
}, {
|
|
138
|
-
readonly name: "";
|
|
116
|
+
readonly name: "_subtractedValue";
|
|
139
117
|
readonly type: "uint256";
|
|
140
118
|
}];
|
|
141
|
-
readonly
|
|
142
|
-
readonly stateMutability: "view";
|
|
143
|
-
readonly type: "function";
|
|
144
|
-
}, {
|
|
145
|
-
readonly constant: true;
|
|
146
|
-
readonly inputs: readonly [];
|
|
147
|
-
readonly name: "paused";
|
|
119
|
+
readonly name: "decreaseApproval";
|
|
148
120
|
readonly outputs: readonly [{
|
|
149
121
|
readonly name: "";
|
|
150
122
|
readonly type: "bool";
|
|
151
123
|
}];
|
|
152
124
|
readonly payable: false;
|
|
153
|
-
readonly stateMutability: "
|
|
125
|
+
readonly stateMutability: "nonpayable";
|
|
154
126
|
readonly type: "function";
|
|
155
127
|
}, {
|
|
156
128
|
readonly constant: true;
|
|
157
129
|
readonly inputs: readonly [{
|
|
158
|
-
readonly name: "
|
|
130
|
+
readonly name: "_owner";
|
|
159
131
|
readonly type: "address";
|
|
160
132
|
}];
|
|
161
133
|
readonly name: "balanceOf";
|
|
@@ -166,39 +138,6 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
166
138
|
readonly payable: false;
|
|
167
139
|
readonly stateMutability: "view";
|
|
168
140
|
readonly type: "function";
|
|
169
|
-
}, {
|
|
170
|
-
readonly constant: false;
|
|
171
|
-
readonly inputs: readonly [{
|
|
172
|
-
readonly name: "_holder";
|
|
173
|
-
readonly type: "address";
|
|
174
|
-
}, {
|
|
175
|
-
readonly name: "i";
|
|
176
|
-
readonly type: "uint256";
|
|
177
|
-
}];
|
|
178
|
-
readonly name: "unlock";
|
|
179
|
-
readonly outputs: readonly [];
|
|
180
|
-
readonly payable: false;
|
|
181
|
-
readonly stateMutability: "nonpayable";
|
|
182
|
-
readonly type: "function";
|
|
183
|
-
}, {
|
|
184
|
-
readonly constant: false;
|
|
185
|
-
readonly inputs: readonly [];
|
|
186
|
-
readonly name: "pause";
|
|
187
|
-
readonly outputs: readonly [];
|
|
188
|
-
readonly payable: false;
|
|
189
|
-
readonly stateMutability: "nonpayable";
|
|
190
|
-
readonly type: "function";
|
|
191
|
-
}, {
|
|
192
|
-
readonly constant: false;
|
|
193
|
-
readonly inputs: readonly [{
|
|
194
|
-
readonly name: "_target";
|
|
195
|
-
readonly type: "address";
|
|
196
|
-
}];
|
|
197
|
-
readonly name: "freeze";
|
|
198
|
-
readonly outputs: readonly [];
|
|
199
|
-
readonly payable: false;
|
|
200
|
-
readonly stateMutability: "nonpayable";
|
|
201
|
-
readonly type: "function";
|
|
202
141
|
}, {
|
|
203
142
|
readonly constant: true;
|
|
204
143
|
readonly inputs: readonly [];
|
|
@@ -224,27 +163,13 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
224
163
|
}, {
|
|
225
164
|
readonly constant: false;
|
|
226
165
|
readonly inputs: readonly [{
|
|
227
|
-
readonly name: "
|
|
228
|
-
readonly type: "address";
|
|
229
|
-
}, {
|
|
230
|
-
readonly name: "_value";
|
|
231
|
-
readonly type: "uint256";
|
|
232
|
-
}];
|
|
233
|
-
readonly name: "burn";
|
|
234
|
-
readonly outputs: readonly [];
|
|
235
|
-
readonly payable: false;
|
|
236
|
-
readonly stateMutability: "nonpayable";
|
|
237
|
-
readonly type: "function";
|
|
238
|
-
}, {
|
|
239
|
-
readonly constant: false;
|
|
240
|
-
readonly inputs: readonly [{
|
|
241
|
-
readonly name: "spender";
|
|
166
|
+
readonly name: "to";
|
|
242
167
|
readonly type: "address";
|
|
243
168
|
}, {
|
|
244
|
-
readonly name: "
|
|
169
|
+
readonly name: "value";
|
|
245
170
|
readonly type: "uint256";
|
|
246
171
|
}];
|
|
247
|
-
readonly name: "
|
|
172
|
+
readonly name: "transfer";
|
|
248
173
|
readonly outputs: readonly [{
|
|
249
174
|
readonly name: "";
|
|
250
175
|
readonly type: "bool";
|
|
@@ -254,51 +179,22 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
254
179
|
readonly type: "function";
|
|
255
180
|
}, {
|
|
256
181
|
readonly constant: false;
|
|
257
|
-
readonly inputs: readonly [
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
}, {
|
|
261
|
-
readonly name: "_value";
|
|
262
|
-
readonly type: "uint256";
|
|
263
|
-
}];
|
|
264
|
-
readonly name: "transfer";
|
|
265
|
-
readonly outputs: readonly [{
|
|
266
|
-
readonly name: "";
|
|
267
|
-
readonly type: "bool";
|
|
268
|
-
}];
|
|
182
|
+
readonly inputs: readonly [];
|
|
183
|
+
readonly name: "disableTransfer";
|
|
184
|
+
readonly outputs: readonly [];
|
|
269
185
|
readonly payable: false;
|
|
270
186
|
readonly stateMutability: "nonpayable";
|
|
271
187
|
readonly type: "function";
|
|
272
|
-
}, {
|
|
273
|
-
readonly constant: true;
|
|
274
|
-
readonly inputs: readonly [{
|
|
275
|
-
readonly name: "owner";
|
|
276
|
-
readonly type: "address";
|
|
277
|
-
}, {
|
|
278
|
-
readonly name: "spender";
|
|
279
|
-
readonly type: "address";
|
|
280
|
-
}];
|
|
281
|
-
readonly name: "allowance";
|
|
282
|
-
readonly outputs: readonly [{
|
|
283
|
-
readonly name: "";
|
|
284
|
-
readonly type: "uint256";
|
|
285
|
-
}];
|
|
286
|
-
readonly payable: false;
|
|
287
|
-
readonly stateMutability: "view";
|
|
288
|
-
readonly type: "function";
|
|
289
188
|
}, {
|
|
290
189
|
readonly constant: false;
|
|
291
190
|
readonly inputs: readonly [{
|
|
292
|
-
readonly name: "
|
|
191
|
+
readonly name: "_spender";
|
|
293
192
|
readonly type: "address";
|
|
294
193
|
}, {
|
|
295
|
-
readonly name: "
|
|
296
|
-
readonly type: "uint256";
|
|
297
|
-
}, {
|
|
298
|
-
readonly name: "_releaseTime";
|
|
194
|
+
readonly name: "_addedValue";
|
|
299
195
|
readonly type: "uint256";
|
|
300
196
|
}];
|
|
301
|
-
readonly name: "
|
|
197
|
+
readonly name: "increaseApproval";
|
|
302
198
|
readonly outputs: readonly [{
|
|
303
199
|
readonly name: "";
|
|
304
200
|
readonly type: "bool";
|
|
@@ -309,10 +205,13 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
309
205
|
}, {
|
|
310
206
|
readonly constant: true;
|
|
311
207
|
readonly inputs: readonly [{
|
|
312
|
-
readonly name: "
|
|
208
|
+
readonly name: "_owner";
|
|
209
|
+
readonly type: "address";
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "_spender";
|
|
313
212
|
readonly type: "address";
|
|
314
213
|
}];
|
|
315
|
-
readonly name: "
|
|
214
|
+
readonly name: "allowance";
|
|
316
215
|
readonly outputs: readonly [{
|
|
317
216
|
readonly name: "";
|
|
318
217
|
readonly type: "uint256";
|
|
@@ -322,39 +221,16 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
322
221
|
readonly type: "function";
|
|
323
222
|
}, {
|
|
324
223
|
readonly constant: false;
|
|
325
|
-
readonly inputs: readonly [
|
|
326
|
-
|
|
327
|
-
readonly type: "address";
|
|
328
|
-
}, {
|
|
329
|
-
readonly name: "_amount";
|
|
330
|
-
readonly type: "uint256";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "_releaseTime";
|
|
333
|
-
readonly type: "uint256";
|
|
334
|
-
}];
|
|
335
|
-
readonly name: "lock";
|
|
224
|
+
readonly inputs: readonly [];
|
|
225
|
+
readonly name: "enableTransfer";
|
|
336
226
|
readonly outputs: readonly [];
|
|
337
227
|
readonly payable: false;
|
|
338
228
|
readonly stateMutability: "nonpayable";
|
|
339
229
|
readonly type: "function";
|
|
340
|
-
}, {
|
|
341
|
-
readonly constant: true;
|
|
342
|
-
readonly inputs: readonly [{
|
|
343
|
-
readonly name: "_target";
|
|
344
|
-
readonly type: "address";
|
|
345
|
-
}];
|
|
346
|
-
readonly name: "isFrozen";
|
|
347
|
-
readonly outputs: readonly [{
|
|
348
|
-
readonly name: "";
|
|
349
|
-
readonly type: "bool";
|
|
350
|
-
}];
|
|
351
|
-
readonly payable: false;
|
|
352
|
-
readonly stateMutability: "view";
|
|
353
|
-
readonly type: "function";
|
|
354
230
|
}, {
|
|
355
231
|
readonly constant: false;
|
|
356
232
|
readonly inputs: readonly [{
|
|
357
|
-
readonly name: "
|
|
233
|
+
readonly name: "newOwner";
|
|
358
234
|
readonly type: "address";
|
|
359
235
|
}];
|
|
360
236
|
readonly name: "transferOwnership";
|
|
@@ -370,95 +246,63 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
370
246
|
}, {
|
|
371
247
|
readonly anonymous: false;
|
|
372
248
|
readonly inputs: readonly [{
|
|
373
|
-
readonly indexed:
|
|
374
|
-
readonly name: "
|
|
375
|
-
readonly type: "address";
|
|
376
|
-
}];
|
|
377
|
-
readonly name: "OwnershipRenounced";
|
|
378
|
-
readonly type: "event";
|
|
379
|
-
}, {
|
|
380
|
-
readonly anonymous: false;
|
|
381
|
-
readonly inputs: readonly [{
|
|
382
|
-
readonly indexed: true;
|
|
383
|
-
readonly name: "previousOwner";
|
|
249
|
+
readonly indexed: false;
|
|
250
|
+
readonly name: "burner";
|
|
384
251
|
readonly type: "address";
|
|
385
252
|
}, {
|
|
386
|
-
readonly indexed:
|
|
387
|
-
readonly name: "
|
|
388
|
-
readonly type: "
|
|
253
|
+
readonly indexed: false;
|
|
254
|
+
readonly name: "value";
|
|
255
|
+
readonly type: "uint256";
|
|
389
256
|
}];
|
|
390
|
-
readonly name: "
|
|
391
|
-
readonly type: "event";
|
|
392
|
-
}, {
|
|
393
|
-
readonly anonymous: false;
|
|
394
|
-
readonly inputs: readonly [];
|
|
395
|
-
readonly name: "Pause";
|
|
396
|
-
readonly type: "event";
|
|
397
|
-
}, {
|
|
398
|
-
readonly anonymous: false;
|
|
399
|
-
readonly inputs: readonly [];
|
|
400
|
-
readonly name: "Unpause";
|
|
257
|
+
readonly name: "Burn";
|
|
401
258
|
readonly type: "event";
|
|
402
259
|
}, {
|
|
403
260
|
readonly anonymous: false;
|
|
404
261
|
readonly inputs: readonly [{
|
|
405
262
|
readonly indexed: false;
|
|
406
|
-
readonly name: "
|
|
263
|
+
readonly name: "owner";
|
|
407
264
|
readonly type: "address";
|
|
408
265
|
}];
|
|
409
|
-
readonly name: "
|
|
266
|
+
readonly name: "TransferEnabled";
|
|
410
267
|
readonly type: "event";
|
|
411
268
|
}, {
|
|
412
269
|
readonly anonymous: false;
|
|
413
270
|
readonly inputs: readonly [{
|
|
414
271
|
readonly indexed: false;
|
|
415
|
-
readonly name: "
|
|
272
|
+
readonly name: "owner";
|
|
416
273
|
readonly type: "address";
|
|
417
274
|
}];
|
|
418
|
-
readonly name: "
|
|
275
|
+
readonly name: "TransferDisabled";
|
|
419
276
|
readonly type: "event";
|
|
420
277
|
}, {
|
|
421
278
|
readonly anonymous: false;
|
|
422
279
|
readonly inputs: readonly [{
|
|
423
280
|
readonly indexed: true;
|
|
424
|
-
readonly name: "
|
|
281
|
+
readonly name: "previousOwner";
|
|
425
282
|
readonly type: "address";
|
|
426
283
|
}, {
|
|
427
|
-
readonly indexed:
|
|
428
|
-
readonly name: "
|
|
429
|
-
readonly type: "
|
|
284
|
+
readonly indexed: true;
|
|
285
|
+
readonly name: "newOwner";
|
|
286
|
+
readonly type: "address";
|
|
430
287
|
}];
|
|
431
|
-
readonly name: "
|
|
288
|
+
readonly name: "OwnershipTransferred";
|
|
432
289
|
readonly type: "event";
|
|
433
290
|
}, {
|
|
434
291
|
readonly anonymous: false;
|
|
435
292
|
readonly inputs: readonly [{
|
|
436
293
|
readonly indexed: true;
|
|
437
|
-
readonly name: "
|
|
294
|
+
readonly name: "owner";
|
|
438
295
|
readonly type: "address";
|
|
439
296
|
}, {
|
|
440
|
-
readonly indexed: false;
|
|
441
|
-
readonly name: "value";
|
|
442
|
-
readonly type: "uint256";
|
|
443
|
-
}, {
|
|
444
|
-
readonly indexed: false;
|
|
445
|
-
readonly name: "releaseTime";
|
|
446
|
-
readonly type: "uint256";
|
|
447
|
-
}];
|
|
448
|
-
readonly name: "Lock";
|
|
449
|
-
readonly type: "event";
|
|
450
|
-
}, {
|
|
451
|
-
readonly anonymous: false;
|
|
452
|
-
readonly inputs: readonly [{
|
|
453
297
|
readonly indexed: true;
|
|
454
|
-
readonly name: "
|
|
298
|
+
readonly name: "spender";
|
|
455
299
|
readonly type: "address";
|
|
456
300
|
}, {
|
|
457
301
|
readonly indexed: false;
|
|
458
302
|
readonly name: "value";
|
|
459
303
|
readonly type: "uint256";
|
|
460
304
|
}];
|
|
461
|
-
readonly name: "
|
|
305
|
+
readonly name: "Approval";
|
|
462
306
|
readonly type: "event";
|
|
463
307
|
}, {
|
|
464
308
|
readonly anonymous: false;
|
|
@@ -477,34 +321,17 @@ export declare const Metaverseconvergence_jsonAbi: readonly [{
|
|
|
477
321
|
}];
|
|
478
322
|
readonly name: "Transfer";
|
|
479
323
|
readonly type: "event";
|
|
480
|
-
}, {
|
|
481
|
-
readonly anonymous: false;
|
|
482
|
-
readonly inputs: readonly [{
|
|
483
|
-
readonly indexed: true;
|
|
484
|
-
readonly name: "owner";
|
|
485
|
-
readonly type: "address";
|
|
486
|
-
}, {
|
|
487
|
-
readonly indexed: true;
|
|
488
|
-
readonly name: "spender";
|
|
489
|
-
readonly type: "address";
|
|
490
|
-
}, {
|
|
491
|
-
readonly indexed: false;
|
|
492
|
-
readonly name: "value";
|
|
493
|
-
readonly type: "uint256";
|
|
494
|
-
}];
|
|
495
|
-
readonly name: "Approval";
|
|
496
|
-
readonly type: "event";
|
|
497
324
|
}];
|
|
498
325
|
/**
|
|
499
|
-
* Type-safe ABI for
|
|
326
|
+
* Type-safe ABI for Metadium_json
|
|
500
327
|
*/
|
|
501
|
-
export type
|
|
328
|
+
export type Metadium_jsonAbi = typeof Metadium_jsonAbi;
|
|
502
329
|
/**
|
|
503
|
-
* Contract instance type for
|
|
330
|
+
* Contract instance type for Metadium_json
|
|
504
331
|
*/
|
|
505
|
-
export type
|
|
332
|
+
export type Metadium_jsonContract = any;
|
|
506
333
|
/**
|
|
507
|
-
*
|
|
334
|
+
* Metadium_json Contract Class
|
|
508
335
|
*
|
|
509
336
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
510
337
|
*
|
|
@@ -512,12 +339,12 @@ export type Metaverseconvergence_jsonContract = any;
|
|
|
512
339
|
* ```typescript
|
|
513
340
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
514
341
|
* import { mainnet } from 'viem/chains';
|
|
515
|
-
* import {
|
|
342
|
+
* import { Metadium_json } from 'Metadium_json';
|
|
516
343
|
*
|
|
517
344
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
518
345
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
519
346
|
*
|
|
520
|
-
* const contract = new
|
|
347
|
+
* const contract = new Metadium_json('0x...', { publicClient, walletClient });
|
|
521
348
|
*
|
|
522
349
|
* // Read functions
|
|
523
350
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -535,7 +362,7 @@ export type Metaverseconvergence_jsonContract = any;
|
|
|
535
362
|
* });
|
|
536
363
|
* ```
|
|
537
364
|
*/
|
|
538
|
-
export declare class
|
|
365
|
+
export declare class Metadium_json {
|
|
539
366
|
private contract;
|
|
540
367
|
private contractAddress;
|
|
541
368
|
private publicClient;
|
|
@@ -550,7 +377,7 @@ export declare class Metaverseconvergence_json {
|
|
|
550
377
|
/**
|
|
551
378
|
* Get the underlying viem contract instance
|
|
552
379
|
*/
|
|
553
|
-
getContract():
|
|
380
|
+
getContract(): Metadium_jsonContract;
|
|
554
381
|
/**
|
|
555
382
|
* name
|
|
556
383
|
* view
|
|
@@ -562,30 +389,25 @@ export declare class Metaverseconvergence_json {
|
|
|
562
389
|
*/
|
|
563
390
|
totalSupply(): Promise<bigint>;
|
|
564
391
|
/**
|
|
565
|
-
*
|
|
566
|
-
* view
|
|
567
|
-
*/
|
|
568
|
-
decimals(): Promise<bigint>;
|
|
569
|
-
/**
|
|
570
|
-
* initialSupply
|
|
392
|
+
* INITIAL_SUPPLY
|
|
571
393
|
* view
|
|
572
394
|
*/
|
|
573
|
-
|
|
395
|
+
INITIAL_SUPPLY(): Promise<bigint>;
|
|
574
396
|
/**
|
|
575
|
-
*
|
|
397
|
+
* decimals
|
|
576
398
|
* view
|
|
577
399
|
*/
|
|
578
|
-
|
|
400
|
+
decimals(): Promise<bigint>;
|
|
579
401
|
/**
|
|
580
|
-
*
|
|
402
|
+
* transferEnabled
|
|
581
403
|
* view
|
|
582
404
|
*/
|
|
583
|
-
|
|
405
|
+
transferEnabled(): Promise<boolean>;
|
|
584
406
|
/**
|
|
585
407
|
* balanceOf
|
|
586
408
|
* view
|
|
587
409
|
*/
|
|
588
|
-
balanceOf(
|
|
410
|
+
balanceOf(_owner: `0x${string}`): Promise<bigint>;
|
|
589
411
|
/**
|
|
590
412
|
* owner
|
|
591
413
|
* view
|
|
@@ -600,23 +422,13 @@ export declare class Metaverseconvergence_json {
|
|
|
600
422
|
* allowance
|
|
601
423
|
* view
|
|
602
424
|
*/
|
|
603
|
-
allowance(
|
|
604
|
-
/**
|
|
605
|
-
* lockCount
|
|
606
|
-
* view
|
|
607
|
-
*/
|
|
608
|
-
lockCount(_holder: `0x${string}`): Promise<bigint>;
|
|
609
|
-
/**
|
|
610
|
-
* isFrozen
|
|
611
|
-
* view
|
|
612
|
-
*/
|
|
613
|
-
isFrozen(_target: `0x${string}`): Promise<boolean>;
|
|
425
|
+
allowance(_owner: `0x${string}`, _spender: `0x${string}`): Promise<bigint>;
|
|
614
426
|
/**
|
|
615
427
|
* approve
|
|
616
428
|
* nonpayable
|
|
617
429
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
618
430
|
*/
|
|
619
|
-
approve(
|
|
431
|
+
approve(_spender: `0x${string}`, _value: bigint, options?: {
|
|
620
432
|
accessList?: import('viem').AccessList;
|
|
621
433
|
authorizationList?: import('viem').AuthorizationList;
|
|
622
434
|
chain?: import('viem').Chain | null;
|
|
@@ -633,58 +445,7 @@ export declare class Metaverseconvergence_json {
|
|
|
633
445
|
* nonpayable
|
|
634
446
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
635
447
|
*/
|
|
636
|
-
transferFrom(
|
|
637
|
-
accessList?: import('viem').AccessList;
|
|
638
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
639
|
-
chain?: import('viem').Chain | null;
|
|
640
|
-
dataSuffix?: `0x${string}`;
|
|
641
|
-
gas?: bigint;
|
|
642
|
-
gasPrice?: bigint;
|
|
643
|
-
maxFeePerGas?: bigint;
|
|
644
|
-
maxPriorityFeePerGas?: bigint;
|
|
645
|
-
nonce?: number;
|
|
646
|
-
value?: bigint;
|
|
647
|
-
}): Promise<`0x${string}`>;
|
|
648
|
-
/**
|
|
649
|
-
* increaseAllowance
|
|
650
|
-
* nonpayable
|
|
651
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
652
|
-
*/
|
|
653
|
-
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
654
|
-
accessList?: import('viem').AccessList;
|
|
655
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
656
|
-
chain?: import('viem').Chain | null;
|
|
657
|
-
dataSuffix?: `0x${string}`;
|
|
658
|
-
gas?: bigint;
|
|
659
|
-
gasPrice?: bigint;
|
|
660
|
-
maxFeePerGas?: bigint;
|
|
661
|
-
maxPriorityFeePerGas?: bigint;
|
|
662
|
-
nonce?: number;
|
|
663
|
-
value?: bigint;
|
|
664
|
-
}): Promise<`0x${string}`>;
|
|
665
|
-
/**
|
|
666
|
-
* unpause
|
|
667
|
-
* nonpayable
|
|
668
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
669
|
-
*/
|
|
670
|
-
unpause(options?: {
|
|
671
|
-
accessList?: import('viem').AccessList;
|
|
672
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
673
|
-
chain?: import('viem').Chain | null;
|
|
674
|
-
dataSuffix?: `0x${string}`;
|
|
675
|
-
gas?: bigint;
|
|
676
|
-
gasPrice?: bigint;
|
|
677
|
-
maxFeePerGas?: bigint;
|
|
678
|
-
maxPriorityFeePerGas?: bigint;
|
|
679
|
-
nonce?: number;
|
|
680
|
-
value?: bigint;
|
|
681
|
-
}): Promise<`0x${string}`>;
|
|
682
|
-
/**
|
|
683
|
-
* unfreeze
|
|
684
|
-
* nonpayable
|
|
685
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
686
|
-
*/
|
|
687
|
-
unfreeze(_target: `0x${string}`, options?: {
|
|
448
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
|
|
688
449
|
accessList?: import('viem').AccessList;
|
|
689
450
|
authorizationList?: import('viem').AuthorizationList;
|
|
690
451
|
chain?: import('viem').Chain | null;
|
|
@@ -697,45 +458,11 @@ export declare class Metaverseconvergence_json {
|
|
|
697
458
|
value?: bigint;
|
|
698
459
|
}): Promise<`0x${string}`>;
|
|
699
460
|
/**
|
|
700
|
-
*
|
|
701
|
-
* nonpayable
|
|
702
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
703
|
-
*/
|
|
704
|
-
unlock(_holder: `0x${string}`, i: bigint, options?: {
|
|
705
|
-
accessList?: import('viem').AccessList;
|
|
706
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
707
|
-
chain?: import('viem').Chain | null;
|
|
708
|
-
dataSuffix?: `0x${string}`;
|
|
709
|
-
gas?: bigint;
|
|
710
|
-
gasPrice?: bigint;
|
|
711
|
-
maxFeePerGas?: bigint;
|
|
712
|
-
maxPriorityFeePerGas?: bigint;
|
|
713
|
-
nonce?: number;
|
|
714
|
-
value?: bigint;
|
|
715
|
-
}): Promise<`0x${string}`>;
|
|
716
|
-
/**
|
|
717
|
-
* pause
|
|
718
|
-
* nonpayable
|
|
719
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
720
|
-
*/
|
|
721
|
-
pause(options?: {
|
|
722
|
-
accessList?: import('viem').AccessList;
|
|
723
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
724
|
-
chain?: import('viem').Chain | null;
|
|
725
|
-
dataSuffix?: `0x${string}`;
|
|
726
|
-
gas?: bigint;
|
|
727
|
-
gasPrice?: bigint;
|
|
728
|
-
maxFeePerGas?: bigint;
|
|
729
|
-
maxPriorityFeePerGas?: bigint;
|
|
730
|
-
nonce?: number;
|
|
731
|
-
value?: bigint;
|
|
732
|
-
}): Promise<`0x${string}`>;
|
|
733
|
-
/**
|
|
734
|
-
* freeze
|
|
461
|
+
* burn
|
|
735
462
|
* nonpayable
|
|
736
463
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
737
464
|
*/
|
|
738
|
-
|
|
465
|
+
burn(_value: bigint, options?: {
|
|
739
466
|
accessList?: import('viem').AccessList;
|
|
740
467
|
authorizationList?: import('viem').AuthorizationList;
|
|
741
468
|
chain?: import('viem').Chain | null;
|
|
@@ -748,11 +475,11 @@ export declare class Metaverseconvergence_json {
|
|
|
748
475
|
value?: bigint;
|
|
749
476
|
}): Promise<`0x${string}`>;
|
|
750
477
|
/**
|
|
751
|
-
*
|
|
478
|
+
* decreaseApproval
|
|
752
479
|
* nonpayable
|
|
753
480
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
754
481
|
*/
|
|
755
|
-
|
|
482
|
+
decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
|
|
756
483
|
accessList?: import('viem').AccessList;
|
|
757
484
|
authorizationList?: import('viem').AuthorizationList;
|
|
758
485
|
chain?: import('viem').Chain | null;
|
|
@@ -765,11 +492,11 @@ export declare class Metaverseconvergence_json {
|
|
|
765
492
|
value?: bigint;
|
|
766
493
|
}): Promise<`0x${string}`>;
|
|
767
494
|
/**
|
|
768
|
-
*
|
|
495
|
+
* transfer
|
|
769
496
|
* nonpayable
|
|
770
497
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
771
498
|
*/
|
|
772
|
-
|
|
499
|
+
transfer(to: `0x${string}`, value: bigint, options?: {
|
|
773
500
|
accessList?: import('viem').AccessList;
|
|
774
501
|
authorizationList?: import('viem').AuthorizationList;
|
|
775
502
|
chain?: import('viem').Chain | null;
|
|
@@ -782,11 +509,11 @@ export declare class Metaverseconvergence_json {
|
|
|
782
509
|
value?: bigint;
|
|
783
510
|
}): Promise<`0x${string}`>;
|
|
784
511
|
/**
|
|
785
|
-
*
|
|
512
|
+
* disableTransfer
|
|
786
513
|
* nonpayable
|
|
787
514
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
788
515
|
*/
|
|
789
|
-
|
|
516
|
+
disableTransfer(options?: {
|
|
790
517
|
accessList?: import('viem').AccessList;
|
|
791
518
|
authorizationList?: import('viem').AuthorizationList;
|
|
792
519
|
chain?: import('viem').Chain | null;
|
|
@@ -799,11 +526,11 @@ export declare class Metaverseconvergence_json {
|
|
|
799
526
|
value?: bigint;
|
|
800
527
|
}): Promise<`0x${string}`>;
|
|
801
528
|
/**
|
|
802
|
-
*
|
|
529
|
+
* increaseApproval
|
|
803
530
|
* nonpayable
|
|
804
531
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
805
532
|
*/
|
|
806
|
-
|
|
533
|
+
increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
|
|
807
534
|
accessList?: import('viem').AccessList;
|
|
808
535
|
authorizationList?: import('viem').AuthorizationList;
|
|
809
536
|
chain?: import('viem').Chain | null;
|
|
@@ -816,11 +543,11 @@ export declare class Metaverseconvergence_json {
|
|
|
816
543
|
value?: bigint;
|
|
817
544
|
}): Promise<`0x${string}`>;
|
|
818
545
|
/**
|
|
819
|
-
*
|
|
546
|
+
* enableTransfer
|
|
820
547
|
* nonpayable
|
|
821
548
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
822
549
|
*/
|
|
823
|
-
|
|
550
|
+
enableTransfer(options?: {
|
|
824
551
|
accessList?: import('viem').AccessList;
|
|
825
552
|
authorizationList?: import('viem').AuthorizationList;
|
|
826
553
|
chain?: import('viem').Chain | null;
|
|
@@ -837,7 +564,7 @@ export declare class Metaverseconvergence_json {
|
|
|
837
564
|
* nonpayable
|
|
838
565
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
839
566
|
*/
|
|
840
|
-
transferOwnership(
|
|
567
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
841
568
|
accessList?: import('viem').AccessList;
|
|
842
569
|
authorizationList?: import('viem').AuthorizationList;
|
|
843
570
|
chain?: import('viem').Chain | null;
|
|
@@ -863,7 +590,7 @@ export declare class Metaverseconvergence_json {
|
|
|
863
590
|
* Returns gas estimate and result without sending transaction
|
|
864
591
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
865
592
|
*/
|
|
866
|
-
approve(
|
|
593
|
+
approve(_spender: `0x${string}`, _value: bigint, options?: {
|
|
867
594
|
accessList?: import("viem").AccessList;
|
|
868
595
|
authorizationList?: import("viem").AuthorizationList;
|
|
869
596
|
chain?: import("viem").Chain | null;
|
|
@@ -880,7 +607,7 @@ export declare class Metaverseconvergence_json {
|
|
|
880
607
|
* Returns gas estimate and result without sending transaction
|
|
881
608
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
882
609
|
*/
|
|
883
|
-
transferFrom(
|
|
610
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
|
|
884
611
|
accessList?: import("viem").AccessList;
|
|
885
612
|
authorizationList?: import("viem").AuthorizationList;
|
|
886
613
|
chain?: import("viem").Chain | null;
|
|
@@ -893,96 +620,11 @@ export declare class Metaverseconvergence_json {
|
|
|
893
620
|
value?: bigint;
|
|
894
621
|
}): Promise<boolean>;
|
|
895
622
|
/**
|
|
896
|
-
* Simulate
|
|
897
|
-
* Returns gas estimate and result without sending transaction
|
|
898
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
899
|
-
*/
|
|
900
|
-
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
901
|
-
accessList?: import("viem").AccessList;
|
|
902
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
903
|
-
chain?: import("viem").Chain | null;
|
|
904
|
-
dataSuffix?: `0x${string}`;
|
|
905
|
-
gas?: bigint;
|
|
906
|
-
gasPrice?: bigint;
|
|
907
|
-
maxFeePerGas?: bigint;
|
|
908
|
-
maxPriorityFeePerGas?: bigint;
|
|
909
|
-
nonce?: number;
|
|
910
|
-
value?: bigint;
|
|
911
|
-
}): Promise<boolean>;
|
|
912
|
-
/**
|
|
913
|
-
* Simulate unpause
|
|
914
|
-
* Returns gas estimate and result without sending transaction
|
|
915
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
916
|
-
*/
|
|
917
|
-
unpause(options?: {
|
|
918
|
-
accessList?: import("viem").AccessList;
|
|
919
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
920
|
-
chain?: import("viem").Chain | null;
|
|
921
|
-
dataSuffix?: `0x${string}`;
|
|
922
|
-
gas?: bigint;
|
|
923
|
-
gasPrice?: bigint;
|
|
924
|
-
maxFeePerGas?: bigint;
|
|
925
|
-
maxPriorityFeePerGas?: bigint;
|
|
926
|
-
nonce?: number;
|
|
927
|
-
value?: bigint;
|
|
928
|
-
}): Promise<void>;
|
|
929
|
-
/**
|
|
930
|
-
* Simulate unfreeze
|
|
931
|
-
* Returns gas estimate and result without sending transaction
|
|
932
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
933
|
-
*/
|
|
934
|
-
unfreeze(_target: `0x${string}`, options?: {
|
|
935
|
-
accessList?: import("viem").AccessList;
|
|
936
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
937
|
-
chain?: import("viem").Chain | null;
|
|
938
|
-
dataSuffix?: `0x${string}`;
|
|
939
|
-
gas?: bigint;
|
|
940
|
-
gasPrice?: bigint;
|
|
941
|
-
maxFeePerGas?: bigint;
|
|
942
|
-
maxPriorityFeePerGas?: bigint;
|
|
943
|
-
nonce?: number;
|
|
944
|
-
value?: bigint;
|
|
945
|
-
}): Promise<void>;
|
|
946
|
-
/**
|
|
947
|
-
* Simulate unlock
|
|
948
|
-
* Returns gas estimate and result without sending transaction
|
|
949
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
950
|
-
*/
|
|
951
|
-
unlock(_holder: `0x${string}`, i: bigint, options?: {
|
|
952
|
-
accessList?: import("viem").AccessList;
|
|
953
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
954
|
-
chain?: import("viem").Chain | null;
|
|
955
|
-
dataSuffix?: `0x${string}`;
|
|
956
|
-
gas?: bigint;
|
|
957
|
-
gasPrice?: bigint;
|
|
958
|
-
maxFeePerGas?: bigint;
|
|
959
|
-
maxPriorityFeePerGas?: bigint;
|
|
960
|
-
nonce?: number;
|
|
961
|
-
value?: bigint;
|
|
962
|
-
}): Promise<void>;
|
|
963
|
-
/**
|
|
964
|
-
* Simulate pause
|
|
965
|
-
* Returns gas estimate and result without sending transaction
|
|
966
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
967
|
-
*/
|
|
968
|
-
pause(options?: {
|
|
969
|
-
accessList?: import("viem").AccessList;
|
|
970
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
971
|
-
chain?: import("viem").Chain | null;
|
|
972
|
-
dataSuffix?: `0x${string}`;
|
|
973
|
-
gas?: bigint;
|
|
974
|
-
gasPrice?: bigint;
|
|
975
|
-
maxFeePerGas?: bigint;
|
|
976
|
-
maxPriorityFeePerGas?: bigint;
|
|
977
|
-
nonce?: number;
|
|
978
|
-
value?: bigint;
|
|
979
|
-
}): Promise<void>;
|
|
980
|
-
/**
|
|
981
|
-
* Simulate freeze
|
|
623
|
+
* Simulate burn
|
|
982
624
|
* Returns gas estimate and result without sending transaction
|
|
983
625
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
984
626
|
*/
|
|
985
|
-
|
|
627
|
+
burn(_value: bigint, options?: {
|
|
986
628
|
accessList?: import("viem").AccessList;
|
|
987
629
|
authorizationList?: import("viem").AuthorizationList;
|
|
988
630
|
chain?: import("viem").Chain | null;
|
|
@@ -995,11 +637,11 @@ export declare class Metaverseconvergence_json {
|
|
|
995
637
|
value?: bigint;
|
|
996
638
|
}): Promise<void>;
|
|
997
639
|
/**
|
|
998
|
-
* Simulate
|
|
640
|
+
* Simulate decreaseApproval
|
|
999
641
|
* Returns gas estimate and result without sending transaction
|
|
1000
642
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1001
643
|
*/
|
|
1002
|
-
|
|
644
|
+
decreaseApproval(_spender: `0x${string}`, _subtractedValue: bigint, options?: {
|
|
1003
645
|
accessList?: import("viem").AccessList;
|
|
1004
646
|
authorizationList?: import("viem").AuthorizationList;
|
|
1005
647
|
chain?: import("viem").Chain | null;
|
|
@@ -1010,13 +652,13 @@ export declare class Metaverseconvergence_json {
|
|
|
1010
652
|
maxPriorityFeePerGas?: bigint;
|
|
1011
653
|
nonce?: number;
|
|
1012
654
|
value?: bigint;
|
|
1013
|
-
}): Promise<
|
|
655
|
+
}): Promise<boolean>;
|
|
1014
656
|
/**
|
|
1015
|
-
* Simulate
|
|
657
|
+
* Simulate transfer
|
|
1016
658
|
* Returns gas estimate and result without sending transaction
|
|
1017
659
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1018
660
|
*/
|
|
1019
|
-
|
|
661
|
+
transfer(to: `0x${string}`, value: bigint, options?: {
|
|
1020
662
|
accessList?: import("viem").AccessList;
|
|
1021
663
|
authorizationList?: import("viem").AuthorizationList;
|
|
1022
664
|
chain?: import("viem").Chain | null;
|
|
@@ -1029,11 +671,11 @@ export declare class Metaverseconvergence_json {
|
|
|
1029
671
|
value?: bigint;
|
|
1030
672
|
}): Promise<boolean>;
|
|
1031
673
|
/**
|
|
1032
|
-
* Simulate
|
|
674
|
+
* Simulate disableTransfer
|
|
1033
675
|
* Returns gas estimate and result without sending transaction
|
|
1034
676
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1035
677
|
*/
|
|
1036
|
-
|
|
678
|
+
disableTransfer(options?: {
|
|
1037
679
|
accessList?: import("viem").AccessList;
|
|
1038
680
|
authorizationList?: import("viem").AuthorizationList;
|
|
1039
681
|
chain?: import("viem").Chain | null;
|
|
@@ -1044,13 +686,13 @@ export declare class Metaverseconvergence_json {
|
|
|
1044
686
|
maxPriorityFeePerGas?: bigint;
|
|
1045
687
|
nonce?: number;
|
|
1046
688
|
value?: bigint;
|
|
1047
|
-
}): Promise<
|
|
689
|
+
}): Promise<void>;
|
|
1048
690
|
/**
|
|
1049
|
-
* Simulate
|
|
691
|
+
* Simulate increaseApproval
|
|
1050
692
|
* Returns gas estimate and result without sending transaction
|
|
1051
693
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1052
694
|
*/
|
|
1053
|
-
|
|
695
|
+
increaseApproval(_spender: `0x${string}`, _addedValue: bigint, options?: {
|
|
1054
696
|
accessList?: import("viem").AccessList;
|
|
1055
697
|
authorizationList?: import("viem").AuthorizationList;
|
|
1056
698
|
chain?: import("viem").Chain | null;
|
|
@@ -1063,11 +705,11 @@ export declare class Metaverseconvergence_json {
|
|
|
1063
705
|
value?: bigint;
|
|
1064
706
|
}): Promise<boolean>;
|
|
1065
707
|
/**
|
|
1066
|
-
* Simulate
|
|
708
|
+
* Simulate enableTransfer
|
|
1067
709
|
* Returns gas estimate and result without sending transaction
|
|
1068
710
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1069
711
|
*/
|
|
1070
|
-
|
|
712
|
+
enableTransfer(options?: {
|
|
1071
713
|
accessList?: import("viem").AccessList;
|
|
1072
714
|
authorizationList?: import("viem").AuthorizationList;
|
|
1073
715
|
chain?: import("viem").Chain | null;
|
|
@@ -1084,7 +726,7 @@ export declare class Metaverseconvergence_json {
|
|
|
1084
726
|
* Returns gas estimate and result without sending transaction
|
|
1085
727
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1086
728
|
*/
|
|
1087
|
-
transferOwnership(
|
|
729
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1088
730
|
accessList?: import("viem").AccessList;
|
|
1089
731
|
authorizationList?: import("viem").AuthorizationList;
|
|
1090
732
|
chain?: import("viem").Chain | null;
|
|
@@ -1111,97 +753,59 @@ export declare class Metaverseconvergence_json {
|
|
|
1111
753
|
*/
|
|
1112
754
|
get watch(): {
|
|
1113
755
|
/**
|
|
1114
|
-
* Watch
|
|
1115
|
-
* @param callback Function to call when event is emitted
|
|
1116
|
-
* @param filter Optional filter for indexed parameters
|
|
1117
|
-
* @returns Unwatch function to stop listening
|
|
1118
|
-
*/
|
|
1119
|
-
OwnershipRenounced: (callback: (event: {
|
|
1120
|
-
previousOwner: `0x${string}`;
|
|
1121
|
-
}) => void, filter?: {
|
|
1122
|
-
previousOwner: `0x${string}`;
|
|
1123
|
-
}) => () => void;
|
|
1124
|
-
/**
|
|
1125
|
-
* Watch OwnershipTransferred events
|
|
1126
|
-
* @param callback Function to call when event is emitted
|
|
1127
|
-
* @param filter Optional filter for indexed parameters
|
|
1128
|
-
* @returns Unwatch function to stop listening
|
|
1129
|
-
*/
|
|
1130
|
-
OwnershipTransferred: (callback: (event: {
|
|
1131
|
-
previousOwner: `0x${string}`;
|
|
1132
|
-
newOwner: `0x${string}`;
|
|
1133
|
-
}) => void, filter?: {
|
|
1134
|
-
previousOwner: `0x${string}`;
|
|
1135
|
-
newOwner: `0x${string}`;
|
|
1136
|
-
}) => () => void;
|
|
1137
|
-
/**
|
|
1138
|
-
* Watch Pause events
|
|
1139
|
-
* @param callback Function to call when event is emitted
|
|
1140
|
-
* @param filter Optional filter for indexed parameters
|
|
1141
|
-
* @returns Unwatch function to stop listening
|
|
1142
|
-
*/
|
|
1143
|
-
Pause: (callback: (event: {}) => void) => () => void;
|
|
1144
|
-
/**
|
|
1145
|
-
* Watch Unpause events
|
|
1146
|
-
* @param callback Function to call when event is emitted
|
|
1147
|
-
* @param filter Optional filter for indexed parameters
|
|
1148
|
-
* @returns Unwatch function to stop listening
|
|
1149
|
-
*/
|
|
1150
|
-
Unpause: (callback: (event: {}) => void) => () => void;
|
|
1151
|
-
/**
|
|
1152
|
-
* Watch Frozen events
|
|
756
|
+
* Watch Burn events
|
|
1153
757
|
* @param callback Function to call when event is emitted
|
|
1154
758
|
* @param filter Optional filter for indexed parameters
|
|
1155
759
|
* @returns Unwatch function to stop listening
|
|
1156
760
|
*/
|
|
1157
|
-
|
|
1158
|
-
|
|
761
|
+
Burn: (callback: (event: {
|
|
762
|
+
burner: `0x${string}`;
|
|
763
|
+
value: bigint;
|
|
1159
764
|
}) => void) => () => void;
|
|
1160
765
|
/**
|
|
1161
|
-
* Watch
|
|
766
|
+
* Watch TransferEnabled events
|
|
1162
767
|
* @param callback Function to call when event is emitted
|
|
1163
768
|
* @param filter Optional filter for indexed parameters
|
|
1164
769
|
* @returns Unwatch function to stop listening
|
|
1165
770
|
*/
|
|
1166
|
-
|
|
1167
|
-
|
|
771
|
+
TransferEnabled: (callback: (event: {
|
|
772
|
+
owner: `0x${string}`;
|
|
1168
773
|
}) => void) => () => void;
|
|
1169
774
|
/**
|
|
1170
|
-
* Watch
|
|
775
|
+
* Watch TransferDisabled events
|
|
1171
776
|
* @param callback Function to call when event is emitted
|
|
1172
777
|
* @param filter Optional filter for indexed parameters
|
|
1173
778
|
* @returns Unwatch function to stop listening
|
|
1174
779
|
*/
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
}) => void, filter?: {
|
|
1179
|
-
burner: `0x${string}`;
|
|
1180
|
-
}) => () => void;
|
|
780
|
+
TransferDisabled: (callback: (event: {
|
|
781
|
+
owner: `0x${string}`;
|
|
782
|
+
}) => void) => () => void;
|
|
1181
783
|
/**
|
|
1182
|
-
* Watch
|
|
784
|
+
* Watch OwnershipTransferred events
|
|
1183
785
|
* @param callback Function to call when event is emitted
|
|
1184
786
|
* @param filter Optional filter for indexed parameters
|
|
1185
787
|
* @returns Unwatch function to stop listening
|
|
1186
788
|
*/
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
releaseTime: bigint;
|
|
789
|
+
OwnershipTransferred: (callback: (event: {
|
|
790
|
+
previousOwner: `0x${string}`;
|
|
791
|
+
newOwner: `0x${string}`;
|
|
1191
792
|
}) => void, filter?: {
|
|
1192
|
-
|
|
793
|
+
previousOwner: `0x${string}`;
|
|
794
|
+
newOwner: `0x${string}`;
|
|
1193
795
|
}) => () => void;
|
|
1194
796
|
/**
|
|
1195
|
-
* Watch
|
|
797
|
+
* Watch Approval events
|
|
1196
798
|
* @param callback Function to call when event is emitted
|
|
1197
799
|
* @param filter Optional filter for indexed parameters
|
|
1198
800
|
* @returns Unwatch function to stop listening
|
|
1199
801
|
*/
|
|
1200
|
-
|
|
1201
|
-
|
|
802
|
+
Approval: (callback: (event: {
|
|
803
|
+
owner: `0x${string}`;
|
|
804
|
+
spender: `0x${string}`;
|
|
1202
805
|
value: bigint;
|
|
1203
806
|
}) => void, filter?: {
|
|
1204
|
-
|
|
807
|
+
owner: `0x${string}`;
|
|
808
|
+
spender: `0x${string}`;
|
|
1205
809
|
}) => () => void;
|
|
1206
810
|
/**
|
|
1207
811
|
* Watch Transfer events
|
|
@@ -1217,19 +821,5 @@ export declare class Metaverseconvergence_json {
|
|
|
1217
821
|
from: `0x${string}`;
|
|
1218
822
|
to: `0x${string}`;
|
|
1219
823
|
}) => () => void;
|
|
1220
|
-
/**
|
|
1221
|
-
* Watch Approval events
|
|
1222
|
-
* @param callback Function to call when event is emitted
|
|
1223
|
-
* @param filter Optional filter for indexed parameters
|
|
1224
|
-
* @returns Unwatch function to stop listening
|
|
1225
|
-
*/
|
|
1226
|
-
Approval: (callback: (event: {
|
|
1227
|
-
owner: `0x${string}`;
|
|
1228
|
-
spender: `0x${string}`;
|
|
1229
|
-
value: bigint;
|
|
1230
|
-
}) => void, filter?: {
|
|
1231
|
-
owner: `0x${string}`;
|
|
1232
|
-
spender: `0x${string}`;
|
|
1233
|
-
}) => () => void;
|
|
1234
824
|
};
|
|
1235
825
|
}
|