@warganetwork/sdk 0.0.0-stage → 1.4.0

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.
@@ -0,0 +1,530 @@
1
+ [
2
+ {
3
+ "name": "Transfer",
4
+ "inputs": [
5
+ {
6
+ "name": "sender",
7
+ "type": "address",
8
+ "indexed": true
9
+ },
10
+ {
11
+ "name": "receiver",
12
+ "type": "address",
13
+ "indexed": true
14
+ },
15
+ {
16
+ "name": "value",
17
+ "type": "uint256",
18
+ "indexed": false
19
+ }
20
+ ],
21
+ "anonymous": false,
22
+ "type": "event"
23
+ },
24
+ {
25
+ "name": "Approval",
26
+ "inputs": [
27
+ {
28
+ "name": "owner",
29
+ "type": "address",
30
+ "indexed": true
31
+ },
32
+ {
33
+ "name": "spender",
34
+ "type": "address",
35
+ "indexed": true
36
+ },
37
+ {
38
+ "name": "value",
39
+ "type": "uint256",
40
+ "indexed": false
41
+ }
42
+ ],
43
+ "anonymous": false,
44
+ "type": "event"
45
+ },
46
+ {
47
+ "name": "MintApproved",
48
+ "inputs": [
49
+ {
50
+ "name": "caller",
51
+ "type": "address",
52
+ "indexed": true
53
+ },
54
+ {
55
+ "name": "recipient",
56
+ "type": "address",
57
+ "indexed": true
58
+ },
59
+ {
60
+ "name": "amount",
61
+ "type": "uint256",
62
+ "indexed": false
63
+ }
64
+ ],
65
+ "anonymous": false,
66
+ "type": "event"
67
+ },
68
+ {
69
+ "name": "BurnApproved",
70
+ "inputs": [
71
+ {
72
+ "name": "burner",
73
+ "type": "address",
74
+ "indexed": true
75
+ },
76
+ {
77
+ "name": "amount",
78
+ "type": "uint256",
79
+ "indexed": false
80
+ }
81
+ ],
82
+ "anonymous": false,
83
+ "type": "event"
84
+ },
85
+ {
86
+ "name": "DailyMintLimitUpdated",
87
+ "inputs": [
88
+ {
89
+ "name": "previousLimit",
90
+ "type": "uint256",
91
+ "indexed": false
92
+ },
93
+ {
94
+ "name": "newLimit",
95
+ "type": "uint256",
96
+ "indexed": false
97
+ }
98
+ ],
99
+ "anonymous": false,
100
+ "type": "event"
101
+ },
102
+ {
103
+ "name": "CustodianProposed",
104
+ "inputs": [
105
+ {
106
+ "name": "currentCustodian",
107
+ "type": "address",
108
+ "indexed": true
109
+ },
110
+ {
111
+ "name": "pendingCustodian",
112
+ "type": "address",
113
+ "indexed": true
114
+ }
115
+ ],
116
+ "anonymous": false,
117
+ "type": "event"
118
+ },
119
+ {
120
+ "name": "CustodianUpdated",
121
+ "inputs": [
122
+ {
123
+ "name": "previousCustodian",
124
+ "type": "address",
125
+ "indexed": true
126
+ },
127
+ {
128
+ "name": "newCustodian",
129
+ "type": "address",
130
+ "indexed": true
131
+ }
132
+ ],
133
+ "anonymous": false,
134
+ "type": "event"
135
+ },
136
+ {
137
+ "name": "EmergencyPauseToggled",
138
+ "inputs": [
139
+ {
140
+ "name": "paused",
141
+ "type": "bool",
142
+ "indexed": false
143
+ }
144
+ ],
145
+ "anonymous": false,
146
+ "type": "event"
147
+ },
148
+ {
149
+ "stateMutability": "nonpayable",
150
+ "type": "function",
151
+ "name": "transfer",
152
+ "inputs": [
153
+ {
154
+ "name": "dst",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "name": "amount",
159
+ "type": "uint256"
160
+ }
161
+ ],
162
+ "outputs": [
163
+ {
164
+ "name": "",
165
+ "type": "bool"
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "stateMutability": "nonpayable",
171
+ "type": "function",
172
+ "name": "transferFrom",
173
+ "inputs": [
174
+ {
175
+ "name": "src",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "name": "dst",
180
+ "type": "address"
181
+ },
182
+ {
183
+ "name": "amount",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "outputs": [
188
+ {
189
+ "name": "",
190
+ "type": "bool"
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "stateMutability": "nonpayable",
196
+ "type": "function",
197
+ "name": "approve",
198
+ "inputs": [
199
+ {
200
+ "name": "spender",
201
+ "type": "address"
202
+ },
203
+ {
204
+ "name": "amount",
205
+ "type": "uint256"
206
+ }
207
+ ],
208
+ "outputs": [
209
+ {
210
+ "name": "",
211
+ "type": "bool"
212
+ }
213
+ ]
214
+ },
215
+ {
216
+ "stateMutability": "nonpayable",
217
+ "type": "function",
218
+ "name": "mint",
219
+ "inputs": [
220
+ {
221
+ "name": "to",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "name": "amount",
226
+ "type": "uint256"
227
+ }
228
+ ],
229
+ "outputs": [
230
+ {
231
+ "name": "",
232
+ "type": "bool"
233
+ }
234
+ ]
235
+ },
236
+ {
237
+ "stateMutability": "nonpayable",
238
+ "type": "function",
239
+ "name": "burn",
240
+ "inputs": [
241
+ {
242
+ "name": "amount",
243
+ "type": "uint256"
244
+ }
245
+ ],
246
+ "outputs": [
247
+ {
248
+ "name": "",
249
+ "type": "bool"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "stateMutability": "nonpayable",
255
+ "type": "function",
256
+ "name": "set_daily_mint_limit",
257
+ "inputs": [
258
+ {
259
+ "name": "new_limit",
260
+ "type": "uint256"
261
+ }
262
+ ],
263
+ "outputs": [
264
+
265
+ ]
266
+ },
267
+ {
268
+ "stateMutability": "nonpayable",
269
+ "type": "function",
270
+ "name": "propose_owner",
271
+ "inputs": [
272
+ {
273
+ "name": "_new_owner",
274
+ "type": "address"
275
+ }
276
+ ],
277
+ "outputs": [
278
+
279
+ ]
280
+ },
281
+ {
282
+ "stateMutability": "nonpayable",
283
+ "type": "function",
284
+ "name": "accept_owner",
285
+ "inputs": [
286
+
287
+ ],
288
+ "outputs": [
289
+
290
+ ]
291
+ },
292
+ {
293
+ "stateMutability": "nonpayable",
294
+ "type": "function",
295
+ "name": "toggle_pause",
296
+ "inputs": [
297
+
298
+ ],
299
+ "outputs": [
300
+
301
+ ]
302
+ },
303
+ {
304
+ "stateMutability": "view",
305
+ "type": "function",
306
+ "name": "DAY_SECONDS",
307
+ "inputs": [
308
+
309
+ ],
310
+ "outputs": [
311
+ {
312
+ "name": "",
313
+ "type": "uint256"
314
+ }
315
+ ]
316
+ },
317
+ {
318
+ "stateMutability": "view",
319
+ "type": "function",
320
+ "name": "DEFAULT_DAILY_MINT_LIMIT",
321
+ "inputs": [
322
+
323
+ ],
324
+ "outputs": [
325
+ {
326
+ "name": "",
327
+ "type": "uint256"
328
+ }
329
+ ]
330
+ },
331
+ {
332
+ "stateMutability": "view",
333
+ "type": "function",
334
+ "name": "name",
335
+ "inputs": [
336
+
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "",
341
+ "type": "string"
342
+ }
343
+ ]
344
+ },
345
+ {
346
+ "stateMutability": "view",
347
+ "type": "function",
348
+ "name": "symbol",
349
+ "inputs": [
350
+
351
+ ],
352
+ "outputs": [
353
+ {
354
+ "name": "",
355
+ "type": "string"
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "stateMutability": "view",
361
+ "type": "function",
362
+ "name": "decimals",
363
+ "inputs": [
364
+
365
+ ],
366
+ "outputs": [
367
+ {
368
+ "name": "",
369
+ "type": "uint8"
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ "stateMutability": "view",
375
+ "type": "function",
376
+ "name": "totalSupply",
377
+ "inputs": [
378
+
379
+ ],
380
+ "outputs": [
381
+ {
382
+ "name": "",
383
+ "type": "uint256"
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ "stateMutability": "view",
389
+ "type": "function",
390
+ "name": "balanceOf",
391
+ "inputs": [
392
+ {
393
+ "name": "arg0",
394
+ "type": "address"
395
+ }
396
+ ],
397
+ "outputs": [
398
+ {
399
+ "name": "",
400
+ "type": "uint256"
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ "stateMutability": "view",
406
+ "type": "function",
407
+ "name": "allowance",
408
+ "inputs": [
409
+ {
410
+ "name": "arg0",
411
+ "type": "address"
412
+ },
413
+ {
414
+ "name": "arg1",
415
+ "type": "address"
416
+ }
417
+ ],
418
+ "outputs": [
419
+ {
420
+ "name": "",
421
+ "type": "uint256"
422
+ }
423
+ ]
424
+ },
425
+ {
426
+ "stateMutability": "view",
427
+ "type": "function",
428
+ "name": "owner",
429
+ "inputs": [
430
+
431
+ ],
432
+ "outputs": [
433
+ {
434
+ "name": "",
435
+ "type": "address"
436
+ }
437
+ ]
438
+ },
439
+ {
440
+ "stateMutability": "view",
441
+ "type": "function",
442
+ "name": "pending_owner",
443
+ "inputs": [
444
+
445
+ ],
446
+ "outputs": [
447
+ {
448
+ "name": "",
449
+ "type": "address"
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ "stateMutability": "view",
455
+ "type": "function",
456
+ "name": "paused",
457
+ "inputs": [
458
+
459
+ ],
460
+ "outputs": [
461
+ {
462
+ "name": "",
463
+ "type": "bool"
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "stateMutability": "view",
469
+ "type": "function",
470
+ "name": "daily_mint_limit",
471
+ "inputs": [
472
+
473
+ ],
474
+ "outputs": [
475
+ {
476
+ "name": "",
477
+ "type": "uint256"
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ "stateMutability": "view",
483
+ "type": "function",
484
+ "name": "mint_window_start",
485
+ "inputs": [
486
+
487
+ ],
488
+ "outputs": [
489
+ {
490
+ "name": "",
491
+ "type": "uint256"
492
+ }
493
+ ]
494
+ },
495
+ {
496
+ "stateMutability": "view",
497
+ "type": "function",
498
+ "name": "minted_in_window",
499
+ "inputs": [
500
+
501
+ ],
502
+ "outputs": [
503
+ {
504
+ "name": "",
505
+ "type": "uint256"
506
+ }
507
+ ]
508
+ },
509
+ {
510
+ "stateMutability": "nonpayable",
511
+ "type": "constructor",
512
+ "inputs": [
513
+ {
514
+ "name": "_initial_owner",
515
+ "type": "address"
516
+ },
517
+ {
518
+ "name": "_initial_recipient",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "name": "_initial_supply",
523
+ "type": "uint256"
524
+ }
525
+ ],
526
+ "outputs": [
527
+
528
+ ]
529
+ }
530
+ ]