@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,697 @@
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": "tokenId",
17
+ "type": "uint256",
18
+ "indexed": true
19
+ }
20
+ ],
21
+ "anonymous": false,
22
+ "type": "event"
23
+ },
24
+ {
25
+ "name": "Locked",
26
+ "inputs": [
27
+ {
28
+ "name": "tokenId",
29
+ "type": "uint256",
30
+ "indexed": true
31
+ }
32
+ ],
33
+ "anonymous": false,
34
+ "type": "event"
35
+ },
36
+ {
37
+ "name": "Unlocked",
38
+ "inputs": [
39
+ {
40
+ "name": "tokenId",
41
+ "type": "uint256",
42
+ "indexed": false
43
+ }
44
+ ],
45
+ "anonymous": false,
46
+ "type": "event"
47
+ },
48
+ {
49
+ "name": "OwnershipProposed",
50
+ "inputs": [
51
+ {
52
+ "name": "currentOwner",
53
+ "type": "address",
54
+ "indexed": true
55
+ },
56
+ {
57
+ "name": "pendingOwner",
58
+ "type": "address",
59
+ "indexed": true
60
+ }
61
+ ],
62
+ "anonymous": false,
63
+ "type": "event"
64
+ },
65
+ {
66
+ "name": "MerchantKYCBadgeMinted",
67
+ "inputs": [
68
+ {
69
+ "name": "tokenId",
70
+ "type": "uint256",
71
+ "indexed": true
72
+ },
73
+ {
74
+ "name": "recipient",
75
+ "type": "address",
76
+ "indexed": true
77
+ },
78
+ {
79
+ "name": "storeId",
80
+ "type": "string",
81
+ "indexed": false
82
+ },
83
+ {
84
+ "name": "storeName",
85
+ "type": "string",
86
+ "indexed": false
87
+ },
88
+ {
89
+ "name": "kycHash",
90
+ "type": "string",
91
+ "indexed": false
92
+ },
93
+ {
94
+ "name": "verifiedAt",
95
+ "type": "uint256",
96
+ "indexed": false
97
+ }
98
+ ],
99
+ "anonymous": false,
100
+ "type": "event"
101
+ },
102
+ {
103
+ "name": "MerchantKYCBadgeRevoked",
104
+ "inputs": [
105
+ {
106
+ "name": "tokenId",
107
+ "type": "uint256",
108
+ "indexed": true
109
+ },
110
+ {
111
+ "name": "storeId",
112
+ "type": "string",
113
+ "indexed": false
114
+ },
115
+ {
116
+ "name": "revokedBy",
117
+ "type": "address",
118
+ "indexed": true
119
+ }
120
+ ],
121
+ "anonymous": false,
122
+ "type": "event"
123
+ },
124
+ {
125
+ "name": "MinterUpdated",
126
+ "inputs": [
127
+ {
128
+ "name": "previousMinter",
129
+ "type": "address",
130
+ "indexed": true
131
+ },
132
+ {
133
+ "name": "newMinter",
134
+ "type": "address",
135
+ "indexed": true
136
+ }
137
+ ],
138
+ "anonymous": false,
139
+ "type": "event"
140
+ },
141
+ {
142
+ "name": "OwnershipTransferred",
143
+ "inputs": [
144
+ {
145
+ "name": "previousOwner",
146
+ "type": "address",
147
+ "indexed": true
148
+ },
149
+ {
150
+ "name": "newOwner",
151
+ "type": "address",
152
+ "indexed": true
153
+ }
154
+ ],
155
+ "anonymous": false,
156
+ "type": "event"
157
+ },
158
+ {
159
+ "stateMutability": "view",
160
+ "type": "function",
161
+ "name": "supportsInterface",
162
+ "inputs": [
163
+ {
164
+ "name": "interface_id",
165
+ "type": "bytes4"
166
+ }
167
+ ],
168
+ "outputs": [
169
+ {
170
+ "name": "",
171
+ "type": "bool"
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "stateMutability": "view",
177
+ "type": "function",
178
+ "name": "locked",
179
+ "inputs": [
180
+ {
181
+ "name": "tokenId",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "outputs": [
186
+ {
187
+ "name": "",
188
+ "type": "bool"
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "stateMutability": "view",
194
+ "type": "function",
195
+ "name": "balanceOf",
196
+ "inputs": [
197
+ {
198
+ "name": "account",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "outputs": [
203
+ {
204
+ "name": "",
205
+ "type": "uint256"
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "stateMutability": "view",
211
+ "type": "function",
212
+ "name": "ownerOf",
213
+ "inputs": [
214
+ {
215
+ "name": "tokenId",
216
+ "type": "uint256"
217
+ }
218
+ ],
219
+ "outputs": [
220
+ {
221
+ "name": "",
222
+ "type": "address"
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ "stateMutability": "view",
228
+ "type": "function",
229
+ "name": "tokenURI",
230
+ "inputs": [
231
+ {
232
+ "name": "tokenId",
233
+ "type": "uint256"
234
+ }
235
+ ],
236
+ "outputs": [
237
+ {
238
+ "name": "",
239
+ "type": "string"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "stateMutability": "view",
245
+ "type": "function",
246
+ "name": "getApproved",
247
+ "inputs": [
248
+ {
249
+ "name": "tokenId",
250
+ "type": "uint256"
251
+ }
252
+ ],
253
+ "outputs": [
254
+ {
255
+ "name": "",
256
+ "type": "address"
257
+ }
258
+ ]
259
+ },
260
+ {
261
+ "stateMutability": "view",
262
+ "type": "function",
263
+ "name": "isApprovedForAll",
264
+ "inputs": [
265
+ {
266
+ "name": "account",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "name": "operator",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "outputs": [
275
+ {
276
+ "name": "",
277
+ "type": "bool"
278
+ }
279
+ ]
280
+ },
281
+ {
282
+ "stateMutability": "nonpayable",
283
+ "type": "function",
284
+ "name": "setMinter",
285
+ "inputs": [
286
+ {
287
+ "name": "new_minter",
288
+ "type": "address"
289
+ }
290
+ ],
291
+ "outputs": [
292
+
293
+ ]
294
+ },
295
+ {
296
+ "stateMutability": "nonpayable",
297
+ "type": "function",
298
+ "name": "transferOwnership",
299
+ "inputs": [
300
+ {
301
+ "name": "new_owner",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "outputs": [
306
+
307
+ ]
308
+ },
309
+ {
310
+ "stateMutability": "nonpayable",
311
+ "type": "function",
312
+ "name": "mintBadge",
313
+ "inputs": [
314
+ {
315
+ "name": "recipient",
316
+ "type": "address"
317
+ },
318
+ {
319
+ "name": "store_id",
320
+ "type": "string"
321
+ },
322
+ {
323
+ "name": "store_name",
324
+ "type": "string"
325
+ },
326
+ {
327
+ "name": "kyc_hash",
328
+ "type": "string"
329
+ },
330
+ {
331
+ "name": "metadata_uri",
332
+ "type": "string"
333
+ }
334
+ ],
335
+ "outputs": [
336
+ {
337
+ "name": "",
338
+ "type": "uint256"
339
+ }
340
+ ]
341
+ },
342
+ {
343
+ "stateMutability": "nonpayable",
344
+ "type": "function",
345
+ "name": "revokeBadge",
346
+ "inputs": [
347
+ {
348
+ "name": "tokenId",
349
+ "type": "uint256"
350
+ }
351
+ ],
352
+ "outputs": [
353
+
354
+ ]
355
+ },
356
+ {
357
+ "stateMutability": "nonpayable",
358
+ "type": "function",
359
+ "name": "approve",
360
+ "inputs": [
361
+ {
362
+ "name": "approved",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "name": "tokenId",
367
+ "type": "uint256"
368
+ }
369
+ ],
370
+ "outputs": [
371
+
372
+ ]
373
+ },
374
+ {
375
+ "stateMutability": "nonpayable",
376
+ "type": "function",
377
+ "name": "setApprovalForAll",
378
+ "inputs": [
379
+ {
380
+ "name": "operator",
381
+ "type": "address"
382
+ },
383
+ {
384
+ "name": "approved",
385
+ "type": "bool"
386
+ }
387
+ ],
388
+ "outputs": [
389
+
390
+ ]
391
+ },
392
+ {
393
+ "stateMutability": "nonpayable",
394
+ "type": "function",
395
+ "name": "transferFrom",
396
+ "inputs": [
397
+ {
398
+ "name": "sender",
399
+ "type": "address"
400
+ },
401
+ {
402
+ "name": "receiver",
403
+ "type": "address"
404
+ },
405
+ {
406
+ "name": "tokenId",
407
+ "type": "uint256"
408
+ }
409
+ ],
410
+ "outputs": [
411
+
412
+ ]
413
+ },
414
+ {
415
+ "stateMutability": "nonpayable",
416
+ "type": "function",
417
+ "name": "safeTransferFrom",
418
+ "inputs": [
419
+ {
420
+ "name": "sender",
421
+ "type": "address"
422
+ },
423
+ {
424
+ "name": "receiver",
425
+ "type": "address"
426
+ },
427
+ {
428
+ "name": "tokenId",
429
+ "type": "uint256"
430
+ }
431
+ ],
432
+ "outputs": [
433
+
434
+ ]
435
+ },
436
+ {
437
+ "stateMutability": "nonpayable",
438
+ "type": "function",
439
+ "name": "safeTransferFrom",
440
+ "inputs": [
441
+ {
442
+ "name": "sender",
443
+ "type": "address"
444
+ },
445
+ {
446
+ "name": "receiver",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "name": "tokenId",
451
+ "type": "uint256"
452
+ },
453
+ {
454
+ "name": "data",
455
+ "type": "bytes"
456
+ }
457
+ ],
458
+ "outputs": [
459
+
460
+ ]
461
+ },
462
+ {
463
+ "stateMutability": "nonpayable",
464
+ "type": "function",
465
+ "name": "proposeOwnership",
466
+ "inputs": [
467
+ {
468
+ "name": "new_owner",
469
+ "type": "address"
470
+ }
471
+ ],
472
+ "outputs": [
473
+
474
+ ]
475
+ },
476
+ {
477
+ "stateMutability": "nonpayable",
478
+ "type": "function",
479
+ "name": "acceptOwnership",
480
+ "inputs": [
481
+
482
+ ],
483
+ "outputs": [
484
+
485
+ ]
486
+ },
487
+ {
488
+ "stateMutability": "view",
489
+ "type": "function",
490
+ "name": "name",
491
+ "inputs": [
492
+
493
+ ],
494
+ "outputs": [
495
+ {
496
+ "name": "",
497
+ "type": "string"
498
+ }
499
+ ]
500
+ },
501
+ {
502
+ "stateMutability": "view",
503
+ "type": "function",
504
+ "name": "symbol",
505
+ "inputs": [
506
+
507
+ ],
508
+ "outputs": [
509
+ {
510
+ "name": "",
511
+ "type": "string"
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "stateMutability": "view",
517
+ "type": "function",
518
+ "name": "owner",
519
+ "inputs": [
520
+
521
+ ],
522
+ "outputs": [
523
+ {
524
+ "name": "",
525
+ "type": "address"
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "stateMutability": "view",
531
+ "type": "function",
532
+ "name": "pending_owner",
533
+ "inputs": [
534
+
535
+ ],
536
+ "outputs": [
537
+ {
538
+ "name": "",
539
+ "type": "address"
540
+ }
541
+ ]
542
+ },
543
+ {
544
+ "stateMutability": "view",
545
+ "type": "function",
546
+ "name": "minter",
547
+ "inputs": [
548
+
549
+ ],
550
+ "outputs": [
551
+ {
552
+ "name": "",
553
+ "type": "address"
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "stateMutability": "view",
559
+ "type": "function",
560
+ "name": "total_supply",
561
+ "inputs": [
562
+
563
+ ],
564
+ "outputs": [
565
+ {
566
+ "name": "",
567
+ "type": "uint256"
568
+ }
569
+ ]
570
+ },
571
+ {
572
+ "stateMutability": "view",
573
+ "type": "function",
574
+ "name": "next_token_id",
575
+ "inputs": [
576
+
577
+ ],
578
+ "outputs": [
579
+ {
580
+ "name": "",
581
+ "type": "uint256"
582
+ }
583
+ ]
584
+ },
585
+ {
586
+ "stateMutability": "view",
587
+ "type": "function",
588
+ "name": "store_to_token_id",
589
+ "inputs": [
590
+ {
591
+ "name": "arg0",
592
+ "type": "string"
593
+ }
594
+ ],
595
+ "outputs": [
596
+ {
597
+ "name": "",
598
+ "type": "uint256"
599
+ }
600
+ ]
601
+ },
602
+ {
603
+ "stateMutability": "view",
604
+ "type": "function",
605
+ "name": "token_to_store_id",
606
+ "inputs": [
607
+ {
608
+ "name": "arg0",
609
+ "type": "uint256"
610
+ }
611
+ ],
612
+ "outputs": [
613
+ {
614
+ "name": "",
615
+ "type": "string"
616
+ }
617
+ ]
618
+ },
619
+ {
620
+ "stateMutability": "view",
621
+ "type": "function",
622
+ "name": "store_name_of",
623
+ "inputs": [
624
+ {
625
+ "name": "arg0",
626
+ "type": "uint256"
627
+ }
628
+ ],
629
+ "outputs": [
630
+ {
631
+ "name": "",
632
+ "type": "string"
633
+ }
634
+ ]
635
+ },
636
+ {
637
+ "stateMutability": "view",
638
+ "type": "function",
639
+ "name": "kyc_hash_of",
640
+ "inputs": [
641
+ {
642
+ "name": "arg0",
643
+ "type": "uint256"
644
+ }
645
+ ],
646
+ "outputs": [
647
+ {
648
+ "name": "",
649
+ "type": "string"
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "stateMutability": "view",
655
+ "type": "function",
656
+ "name": "verified_at_of",
657
+ "inputs": [
658
+ {
659
+ "name": "arg0",
660
+ "type": "uint256"
661
+ }
662
+ ],
663
+ "outputs": [
664
+ {
665
+ "name": "",
666
+ "type": "uint256"
667
+ }
668
+ ]
669
+ },
670
+ {
671
+ "stateMutability": "view",
672
+ "type": "function",
673
+ "name": "is_store_verified",
674
+ "inputs": [
675
+ {
676
+ "name": "arg0",
677
+ "type": "string"
678
+ }
679
+ ],
680
+ "outputs": [
681
+ {
682
+ "name": "",
683
+ "type": "bool"
684
+ }
685
+ ]
686
+ },
687
+ {
688
+ "stateMutability": "nonpayable",
689
+ "type": "constructor",
690
+ "inputs": [
691
+
692
+ ],
693
+ "outputs": [
694
+
695
+ ]
696
+ }
697
+ ]