anymal-protocol 1.0.47 → 1.0.50

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/dist/index.mjs CHANGED
@@ -21,7 +21,7 @@ var VERIFY_ACCOUNT_ABI = [
21
21
  }
22
22
  ];
23
23
  var MARKETPLACE_ABI = [{ "inputs": [{ "internalType": "address", "name": "target", "type": "address" }], "name": "AddressEmptyCode", "type": "error" }, { "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "length", "type": "uint256" }], "name": "ECDSAInvalidSignatureLength", "type": "error" }, { "inputs": [{ "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "ECDSAInvalidSignatureS", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "implementation", "type": "address" }], "name": "ERC1967InvalidImplementation", "type": "error" }, { "inputs": [], "name": "ERC1967NonPayable", "type": "error" }, { "inputs": [], "name": "FailedCall", "type": "error" }, { "inputs": [], "name": "InvalidInitialization", "type": "error" }, { "inputs": [], "name": "NotInitializing", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "inputs": [], "name": "UUPSUnauthorizedCallContext", "type": "error" }, { "inputs": [{ "internalType": "bytes32", "name": "slot", "type": "bytes32" }], "name": "UUPSUnsupportedProxiableUUID", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint64", "name": "version", "type": "uint64" }], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "string", "name": "orderId", "type": "string" }, { "indexed": true, "internalType": "address", "name": "payer", "type": "address" }, { "indexed": true, "internalType": "string", "name": "pid", "type": "string" }, { "indexed": false, "internalType": "string", "name": "anymalNftId", "type": "string" }, { "indexed": false, "internalType": "uint256", "name": "amountInTokens", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" }], "name": "PartialPaymentMade", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "string", "name": "orderId", "type": "string" }, { "indexed": true, "internalType": "address", "name": "payer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountInTokens", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" }], "name": "PaymentMade", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "string", "name": "orderId", "type": "string" }, { "indexed": true, "internalType": "address", "name": "payer", "type": "address" }, { "indexed": true, "internalType": "string", "name": "pid", "type": "string" }, { "indexed": false, "internalType": "uint256", "name": "refundedAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" }], "name": "RefundProcessed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bool", "name": "enabled", "type": "bool" }], "name": "SignatureCheckToggled", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }], "name": "Upgraded", "type": "event" }, { "inputs": [], "name": "UPGRADE_INTERFACE_VERSION", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "authorizer", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_initialOwner", "type": "address" }, { "internalType": "address", "name": "_authorizer", "type": "address" }, { "internalType": "address", "name": "_kibbleToken", "type": "address" }], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "kibbleToken", "outputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "address", "name": "", "type": "address" }], "name": "paidAmounts", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "string", "name": "orderId", "type": "string" }, { "internalType": "string", "name": "anymalNftId", "type": "string" }, { "internalType": "string", "name": "pid", "type": "string" }, { "internalType": "uint256", "name": "amountInTokens", "type": "uint256" }, { "internalType": "uint256", "name": "maxTokenPayment", "type": "uint256" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "bytes", "name": "backendSignature", "type": "bytes" }], "name": "partialPay", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proxiableUUID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "string", "name": "orderId", "type": "string" }, { "internalType": "address", "name": "payer", "type": "address" }, { "internalType": "string", "name": "pid", "type": "string" }], "name": "refund", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_authorizer", "type": "address" }], "name": "setAuthorizer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "enabled", "type": "bool" }], "name": "setSignatureCheckEnabled", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "signatureCheckEnabled", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "usedNonces", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawKibble", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
24
- var ORGANIZATION_ABI = [
24
+ var ORGANIZATION_BEACON_ABI = [
25
25
  {
26
26
  "inputs": [
27
27
  {
@@ -260,6 +260,740 @@ var ORGANIZATION_ABI = [
260
260
  "type": "function"
261
261
  }
262
262
  ];
263
+ var ORGANIZATION_IMPL_ABI = [
264
+ {
265
+ "inputs": [],
266
+ "stateMutability": "nonpayable",
267
+ "type": "constructor"
268
+ },
269
+ {
270
+ "inputs": [],
271
+ "name": "AccessControlBadConfirmation",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [
276
+ {
277
+ "internalType": "address",
278
+ "name": "account",
279
+ "type": "address"
280
+ },
281
+ {
282
+ "internalType": "bytes32",
283
+ "name": "neededRole",
284
+ "type": "bytes32"
285
+ }
286
+ ],
287
+ "name": "AccessControlUnauthorizedAccount",
288
+ "type": "error"
289
+ },
290
+ {
291
+ "inputs": [],
292
+ "name": "EnforcedPause",
293
+ "type": "error"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "ExpectedPause",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "InvalidInitialization",
303
+ "type": "error"
304
+ },
305
+ {
306
+ "inputs": [],
307
+ "name": "NotInitializing",
308
+ "type": "error"
309
+ },
310
+ {
311
+ "inputs": [],
312
+ "name": "ReentrancyGuardReentrantCall",
313
+ "type": "error"
314
+ },
315
+ {
316
+ "anonymous": false,
317
+ "inputs": [
318
+ {
319
+ "indexed": true,
320
+ "internalType": "string",
321
+ "name": "pid",
322
+ "type": "string"
323
+ },
324
+ {
325
+ "indexed": true,
326
+ "internalType": "address",
327
+ "name": "newAdmin",
328
+ "type": "address"
329
+ }
330
+ ],
331
+ "name": "AdminAdded",
332
+ "type": "event"
333
+ },
334
+ {
335
+ "anonymous": false,
336
+ "inputs": [
337
+ {
338
+ "indexed": true,
339
+ "internalType": "string",
340
+ "name": "pid",
341
+ "type": "string"
342
+ },
343
+ {
344
+ "indexed": true,
345
+ "internalType": "address",
346
+ "name": "admin",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "name": "AdminRemoved",
351
+ "type": "event"
352
+ },
353
+ {
354
+ "anonymous": false,
355
+ "inputs": [
356
+ {
357
+ "indexed": true,
358
+ "internalType": "string",
359
+ "name": "pid",
360
+ "type": "string"
361
+ },
362
+ {
363
+ "indexed": true,
364
+ "internalType": "uint256",
365
+ "name": "tokenId",
366
+ "type": "uint256"
367
+ },
368
+ {
369
+ "indexed": true,
370
+ "internalType": "address",
371
+ "name": "to",
372
+ "type": "address"
373
+ }
374
+ ],
375
+ "name": "AnymalTransferred",
376
+ "type": "event"
377
+ },
378
+ {
379
+ "anonymous": false,
380
+ "inputs": [
381
+ {
382
+ "indexed": false,
383
+ "internalType": "uint64",
384
+ "name": "version",
385
+ "type": "uint64"
386
+ }
387
+ ],
388
+ "name": "Initialized",
389
+ "type": "event"
390
+ },
391
+ {
392
+ "anonymous": false,
393
+ "inputs": [
394
+ {
395
+ "indexed": true,
396
+ "internalType": "string",
397
+ "name": "pid",
398
+ "type": "string"
399
+ },
400
+ {
401
+ "indexed": true,
402
+ "internalType": "address",
403
+ "name": "newManager",
404
+ "type": "address"
405
+ }
406
+ ],
407
+ "name": "ManagerAdded",
408
+ "type": "event"
409
+ },
410
+ {
411
+ "anonymous": false,
412
+ "inputs": [
413
+ {
414
+ "indexed": true,
415
+ "internalType": "string",
416
+ "name": "pid",
417
+ "type": "string"
418
+ },
419
+ {
420
+ "indexed": true,
421
+ "internalType": "address",
422
+ "name": "manager",
423
+ "type": "address"
424
+ }
425
+ ],
426
+ "name": "ManagerRemoved",
427
+ "type": "event"
428
+ },
429
+ {
430
+ "anonymous": false,
431
+ "inputs": [
432
+ {
433
+ "indexed": false,
434
+ "internalType": "address",
435
+ "name": "account",
436
+ "type": "address"
437
+ }
438
+ ],
439
+ "name": "Paused",
440
+ "type": "event"
441
+ },
442
+ {
443
+ "anonymous": false,
444
+ "inputs": [
445
+ {
446
+ "indexed": true,
447
+ "internalType": "bytes32",
448
+ "name": "role",
449
+ "type": "bytes32"
450
+ },
451
+ {
452
+ "indexed": true,
453
+ "internalType": "bytes32",
454
+ "name": "previousAdminRole",
455
+ "type": "bytes32"
456
+ },
457
+ {
458
+ "indexed": true,
459
+ "internalType": "bytes32",
460
+ "name": "newAdminRole",
461
+ "type": "bytes32"
462
+ }
463
+ ],
464
+ "name": "RoleAdminChanged",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "anonymous": false,
469
+ "inputs": [
470
+ {
471
+ "indexed": true,
472
+ "internalType": "bytes32",
473
+ "name": "role",
474
+ "type": "bytes32"
475
+ },
476
+ {
477
+ "indexed": true,
478
+ "internalType": "address",
479
+ "name": "account",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "indexed": true,
484
+ "internalType": "address",
485
+ "name": "sender",
486
+ "type": "address"
487
+ }
488
+ ],
489
+ "name": "RoleGranted",
490
+ "type": "event"
491
+ },
492
+ {
493
+ "anonymous": false,
494
+ "inputs": [
495
+ {
496
+ "indexed": true,
497
+ "internalType": "bytes32",
498
+ "name": "role",
499
+ "type": "bytes32"
500
+ },
501
+ {
502
+ "indexed": true,
503
+ "internalType": "address",
504
+ "name": "account",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "indexed": true,
509
+ "internalType": "address",
510
+ "name": "sender",
511
+ "type": "address"
512
+ }
513
+ ],
514
+ "name": "RoleRevoked",
515
+ "type": "event"
516
+ },
517
+ {
518
+ "anonymous": false,
519
+ "inputs": [
520
+ {
521
+ "indexed": true,
522
+ "internalType": "string",
523
+ "name": "pid",
524
+ "type": "string"
525
+ },
526
+ {
527
+ "indexed": false,
528
+ "internalType": "enum OrganizationImplementation.OrgStatus",
529
+ "name": "newStatus",
530
+ "type": "uint8"
531
+ }
532
+ ],
533
+ "name": "StatusUpdated",
534
+ "type": "event"
535
+ },
536
+ {
537
+ "anonymous": false,
538
+ "inputs": [
539
+ {
540
+ "indexed": false,
541
+ "internalType": "address",
542
+ "name": "account",
543
+ "type": "address"
544
+ }
545
+ ],
546
+ "name": "Unpaused",
547
+ "type": "event"
548
+ },
549
+ {
550
+ "inputs": [],
551
+ "name": "ADMIN_ROLE",
552
+ "outputs": [
553
+ {
554
+ "internalType": "bytes32",
555
+ "name": "",
556
+ "type": "bytes32"
557
+ }
558
+ ],
559
+ "stateMutability": "view",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "DEFAULT_ADMIN_ROLE",
565
+ "outputs": [
566
+ {
567
+ "internalType": "bytes32",
568
+ "name": "",
569
+ "type": "bytes32"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [],
577
+ "name": "MANAGER_ROLE",
578
+ "outputs": [
579
+ {
580
+ "internalType": "bytes32",
581
+ "name": "",
582
+ "type": "bytes32"
583
+ }
584
+ ],
585
+ "stateMutability": "view",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
590
+ {
591
+ "internalType": "address",
592
+ "name": "newAdmin",
593
+ "type": "address"
594
+ }
595
+ ],
596
+ "name": "addAdmin",
597
+ "outputs": [],
598
+ "stateMutability": "nonpayable",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [
603
+ {
604
+ "internalType": "address",
605
+ "name": "newManager",
606
+ "type": "address"
607
+ }
608
+ ],
609
+ "name": "addManager",
610
+ "outputs": [],
611
+ "stateMutability": "nonpayable",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [],
616
+ "name": "anymalNFT",
617
+ "outputs": [
618
+ {
619
+ "internalType": "contract IERC721",
620
+ "name": "",
621
+ "type": "address"
622
+ }
623
+ ],
624
+ "stateMutability": "view",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [],
629
+ "name": "approve",
630
+ "outputs": [],
631
+ "stateMutability": "nonpayable",
632
+ "type": "function"
633
+ },
634
+ {
635
+ "inputs": [
636
+ {
637
+ "internalType": "address",
638
+ "name": "target",
639
+ "type": "address"
640
+ },
641
+ {
642
+ "internalType": "bytes",
643
+ "name": "data",
644
+ "type": "bytes"
645
+ }
646
+ ],
647
+ "name": "executeCall",
648
+ "outputs": [
649
+ {
650
+ "internalType": "bytes",
651
+ "name": "",
652
+ "type": "bytes"
653
+ }
654
+ ],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "bytes32",
662
+ "name": "role",
663
+ "type": "bytes32"
664
+ }
665
+ ],
666
+ "name": "getRoleAdmin",
667
+ "outputs": [
668
+ {
669
+ "internalType": "bytes32",
670
+ "name": "",
671
+ "type": "bytes32"
672
+ }
673
+ ],
674
+ "stateMutability": "view",
675
+ "type": "function"
676
+ },
677
+ {
678
+ "inputs": [
679
+ {
680
+ "internalType": "bytes32",
681
+ "name": "role",
682
+ "type": "bytes32"
683
+ },
684
+ {
685
+ "internalType": "address",
686
+ "name": "account",
687
+ "type": "address"
688
+ }
689
+ ],
690
+ "name": "grantRole",
691
+ "outputs": [],
692
+ "stateMutability": "nonpayable",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "internalType": "bytes32",
699
+ "name": "role",
700
+ "type": "bytes32"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "account",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "name": "hasRole",
709
+ "outputs": [
710
+ {
711
+ "internalType": "bool",
712
+ "name": "",
713
+ "type": "bool"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "_networkAdmin",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "address",
728
+ "name": "_userAdmin",
729
+ "type": "address"
730
+ },
731
+ {
732
+ "internalType": "address",
733
+ "name": "_anymalNFTProxy",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "internalType": "string",
738
+ "name": "_orgName",
739
+ "type": "string"
740
+ },
741
+ {
742
+ "internalType": "string",
743
+ "name": "_orgPid",
744
+ "type": "string"
745
+ }
746
+ ],
747
+ "name": "initialize",
748
+ "outputs": [],
749
+ "stateMutability": "nonpayable",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [
754
+ {
755
+ "internalType": "address",
756
+ "name": "",
757
+ "type": "address"
758
+ },
759
+ {
760
+ "internalType": "address",
761
+ "name": "",
762
+ "type": "address"
763
+ },
764
+ {
765
+ "internalType": "uint256",
766
+ "name": "",
767
+ "type": "uint256"
768
+ },
769
+ {
770
+ "internalType": "bytes",
771
+ "name": "",
772
+ "type": "bytes"
773
+ }
774
+ ],
775
+ "name": "onERC721Received",
776
+ "outputs": [
777
+ {
778
+ "internalType": "bytes4",
779
+ "name": "",
780
+ "type": "bytes4"
781
+ }
782
+ ],
783
+ "stateMutability": "pure",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [],
788
+ "name": "orgName",
789
+ "outputs": [
790
+ {
791
+ "internalType": "string",
792
+ "name": "",
793
+ "type": "string"
794
+ }
795
+ ],
796
+ "stateMutability": "view",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [],
801
+ "name": "orgPid",
802
+ "outputs": [
803
+ {
804
+ "internalType": "string",
805
+ "name": "",
806
+ "type": "string"
807
+ }
808
+ ],
809
+ "stateMutability": "view",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [],
814
+ "name": "paused",
815
+ "outputs": [
816
+ {
817
+ "internalType": "bool",
818
+ "name": "",
819
+ "type": "bool"
820
+ }
821
+ ],
822
+ "stateMutability": "view",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [],
827
+ "name": "reject",
828
+ "outputs": [],
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "admin",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "name": "removeAdmin",
841
+ "outputs": [],
842
+ "stateMutability": "nonpayable",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [
847
+ {
848
+ "internalType": "address",
849
+ "name": "manager",
850
+ "type": "address"
851
+ }
852
+ ],
853
+ "name": "removeManager",
854
+ "outputs": [],
855
+ "stateMutability": "nonpayable",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [
860
+ {
861
+ "internalType": "bytes32",
862
+ "name": "role",
863
+ "type": "bytes32"
864
+ },
865
+ {
866
+ "internalType": "address",
867
+ "name": "callerConfirmation",
868
+ "type": "address"
869
+ }
870
+ ],
871
+ "name": "renounceRole",
872
+ "outputs": [],
873
+ "stateMutability": "nonpayable",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [
878
+ {
879
+ "internalType": "bytes32",
880
+ "name": "role",
881
+ "type": "bytes32"
882
+ },
883
+ {
884
+ "internalType": "address",
885
+ "name": "account",
886
+ "type": "address"
887
+ }
888
+ ],
889
+ "name": "revokeRole",
890
+ "outputs": [],
891
+ "stateMutability": "nonpayable",
892
+ "type": "function"
893
+ },
894
+ {
895
+ "inputs": [
896
+ {
897
+ "internalType": "address",
898
+ "name": "_anymalNFTProxy",
899
+ "type": "address"
900
+ }
901
+ ],
902
+ "name": "setAnymalNFT",
903
+ "outputs": [],
904
+ "stateMutability": "nonpayable",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [
909
+ {
910
+ "internalType": "enum OrganizationImplementation.OrgStatus",
911
+ "name": "newStatus",
912
+ "type": "uint8"
913
+ }
914
+ ],
915
+ "name": "setStatus",
916
+ "outputs": [],
917
+ "stateMutability": "nonpayable",
918
+ "type": "function"
919
+ },
920
+ {
921
+ "inputs": [],
922
+ "name": "status",
923
+ "outputs": [
924
+ {
925
+ "internalType": "enum OrganizationImplementation.OrgStatus",
926
+ "name": "",
927
+ "type": "uint8"
928
+ }
929
+ ],
930
+ "stateMutability": "view",
931
+ "type": "function"
932
+ },
933
+ {
934
+ "inputs": [
935
+ {
936
+ "internalType": "bytes4",
937
+ "name": "interfaceId",
938
+ "type": "bytes4"
939
+ }
940
+ ],
941
+ "name": "supportsInterface",
942
+ "outputs": [
943
+ {
944
+ "internalType": "bool",
945
+ "name": "",
946
+ "type": "bool"
947
+ }
948
+ ],
949
+ "stateMutability": "view",
950
+ "type": "function"
951
+ },
952
+ {
953
+ "inputs": [
954
+ {
955
+ "internalType": "address",
956
+ "name": "to",
957
+ "type": "address"
958
+ },
959
+ {
960
+ "internalType": "uint256",
961
+ "name": "tokenId",
962
+ "type": "uint256"
963
+ }
964
+ ],
965
+ "name": "transferAnymal",
966
+ "outputs": [],
967
+ "stateMutability": "nonpayable",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [
972
+ {
973
+ "internalType": "string",
974
+ "name": "newOrgName",
975
+ "type": "string"
976
+ }
977
+ ],
978
+ "name": "updateMetadata",
979
+ "outputs": [],
980
+ "stateMutability": "nonpayable",
981
+ "type": "function"
982
+ },
983
+ {
984
+ "inputs": [
985
+ {
986
+ "internalType": "string",
987
+ "name": "pid",
988
+ "type": "string"
989
+ }
990
+ ],
991
+ "name": "updatePid",
992
+ "outputs": [],
993
+ "stateMutability": "nonpayable",
994
+ "type": "function"
995
+ }
996
+ ];
263
997
 
264
998
  // src/utils/account/useVerifyAccount.ts
265
999
  function useVerifyAccount() {
@@ -364,6 +1098,7 @@ function useFetchUserData() {
364
1098
  isVerified
365
1099
  showTooltips
366
1100
  accountType
1101
+ baseWalletAddress
367
1102
  }
368
1103
  }
369
1104
  `;
@@ -1117,7 +1852,7 @@ function useCreateOrganizationBase() {
1117
1852
  }
1118
1853
  try {
1119
1854
  const callData = encodeFunctionData5({
1120
- abi: ORGANIZATION_ABI,
1855
+ abi: ORGANIZATION_BEACON_ABI,
1121
1856
  functionName: "createOrganizationProxy",
1122
1857
  args: [ownerAddress, orgName, orgPid]
1123
1858
  });
@@ -1147,7 +1882,7 @@ function useCreateOrganizationBase() {
1147
1882
  for (const log of txReceipt.logs) {
1148
1883
  try {
1149
1884
  const decoded = decodeEventLog({
1150
- abi: ORGANIZATION_ABI,
1885
+ abi: ORGANIZATION_BEACON_ABI,
1151
1886
  data: log.data,
1152
1887
  topics: log.topics
1153
1888
  });
@@ -1200,7 +1935,7 @@ function useApproveOrgPartialPayment() {
1200
1935
  args: [partialPaymentModuleAddress, approveAmount]
1201
1936
  });
1202
1937
  const executeApproveCalldata = encodeFunctionData6({
1203
- abi: ORGANIZATION_ABI,
1938
+ abi: ORGANIZATION_IMPL_ABI,
1204
1939
  functionName: "executeCall",
1205
1940
  args: [kibbleTokenAddress, approveCalldata]
1206
1941
  });
@@ -1254,7 +1989,7 @@ function useProcessOrgPartialKibblePayment() {
1254
1989
  ]
1255
1990
  });
1256
1991
  const executePartialPayCalldata = encodeFunctionData7({
1257
- abi: ORGANIZATION_ABI,
1992
+ abi: ORGANIZATION_IMPL_ABI,
1258
1993
  functionName: "executeCall",
1259
1994
  args: [partialPaymentModuleAddress, partialPayCalldata]
1260
1995
  });