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.js CHANGED
@@ -70,7 +70,7 @@ var VERIFY_ACCOUNT_ABI = [
70
70
  }
71
71
  ];
72
72
  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" }];
73
- var ORGANIZATION_ABI = [
73
+ var ORGANIZATION_BEACON_ABI = [
74
74
  {
75
75
  "inputs": [
76
76
  {
@@ -309,6 +309,740 @@ var ORGANIZATION_ABI = [
309
309
  "type": "function"
310
310
  }
311
311
  ];
312
+ var ORGANIZATION_IMPL_ABI = [
313
+ {
314
+ "inputs": [],
315
+ "stateMutability": "nonpayable",
316
+ "type": "constructor"
317
+ },
318
+ {
319
+ "inputs": [],
320
+ "name": "AccessControlBadConfirmation",
321
+ "type": "error"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "address",
327
+ "name": "account",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "internalType": "bytes32",
332
+ "name": "neededRole",
333
+ "type": "bytes32"
334
+ }
335
+ ],
336
+ "name": "AccessControlUnauthorizedAccount",
337
+ "type": "error"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "EnforcedPause",
342
+ "type": "error"
343
+ },
344
+ {
345
+ "inputs": [],
346
+ "name": "ExpectedPause",
347
+ "type": "error"
348
+ },
349
+ {
350
+ "inputs": [],
351
+ "name": "InvalidInitialization",
352
+ "type": "error"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "NotInitializing",
357
+ "type": "error"
358
+ },
359
+ {
360
+ "inputs": [],
361
+ "name": "ReentrancyGuardReentrantCall",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "anonymous": false,
366
+ "inputs": [
367
+ {
368
+ "indexed": true,
369
+ "internalType": "string",
370
+ "name": "pid",
371
+ "type": "string"
372
+ },
373
+ {
374
+ "indexed": true,
375
+ "internalType": "address",
376
+ "name": "newAdmin",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "name": "AdminAdded",
381
+ "type": "event"
382
+ },
383
+ {
384
+ "anonymous": false,
385
+ "inputs": [
386
+ {
387
+ "indexed": true,
388
+ "internalType": "string",
389
+ "name": "pid",
390
+ "type": "string"
391
+ },
392
+ {
393
+ "indexed": true,
394
+ "internalType": "address",
395
+ "name": "admin",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "name": "AdminRemoved",
400
+ "type": "event"
401
+ },
402
+ {
403
+ "anonymous": false,
404
+ "inputs": [
405
+ {
406
+ "indexed": true,
407
+ "internalType": "string",
408
+ "name": "pid",
409
+ "type": "string"
410
+ },
411
+ {
412
+ "indexed": true,
413
+ "internalType": "uint256",
414
+ "name": "tokenId",
415
+ "type": "uint256"
416
+ },
417
+ {
418
+ "indexed": true,
419
+ "internalType": "address",
420
+ "name": "to",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "name": "AnymalTransferred",
425
+ "type": "event"
426
+ },
427
+ {
428
+ "anonymous": false,
429
+ "inputs": [
430
+ {
431
+ "indexed": false,
432
+ "internalType": "uint64",
433
+ "name": "version",
434
+ "type": "uint64"
435
+ }
436
+ ],
437
+ "name": "Initialized",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "anonymous": false,
442
+ "inputs": [
443
+ {
444
+ "indexed": true,
445
+ "internalType": "string",
446
+ "name": "pid",
447
+ "type": "string"
448
+ },
449
+ {
450
+ "indexed": true,
451
+ "internalType": "address",
452
+ "name": "newManager",
453
+ "type": "address"
454
+ }
455
+ ],
456
+ "name": "ManagerAdded",
457
+ "type": "event"
458
+ },
459
+ {
460
+ "anonymous": false,
461
+ "inputs": [
462
+ {
463
+ "indexed": true,
464
+ "internalType": "string",
465
+ "name": "pid",
466
+ "type": "string"
467
+ },
468
+ {
469
+ "indexed": true,
470
+ "internalType": "address",
471
+ "name": "manager",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "name": "ManagerRemoved",
476
+ "type": "event"
477
+ },
478
+ {
479
+ "anonymous": false,
480
+ "inputs": [
481
+ {
482
+ "indexed": false,
483
+ "internalType": "address",
484
+ "name": "account",
485
+ "type": "address"
486
+ }
487
+ ],
488
+ "name": "Paused",
489
+ "type": "event"
490
+ },
491
+ {
492
+ "anonymous": false,
493
+ "inputs": [
494
+ {
495
+ "indexed": true,
496
+ "internalType": "bytes32",
497
+ "name": "role",
498
+ "type": "bytes32"
499
+ },
500
+ {
501
+ "indexed": true,
502
+ "internalType": "bytes32",
503
+ "name": "previousAdminRole",
504
+ "type": "bytes32"
505
+ },
506
+ {
507
+ "indexed": true,
508
+ "internalType": "bytes32",
509
+ "name": "newAdminRole",
510
+ "type": "bytes32"
511
+ }
512
+ ],
513
+ "name": "RoleAdminChanged",
514
+ "type": "event"
515
+ },
516
+ {
517
+ "anonymous": false,
518
+ "inputs": [
519
+ {
520
+ "indexed": true,
521
+ "internalType": "bytes32",
522
+ "name": "role",
523
+ "type": "bytes32"
524
+ },
525
+ {
526
+ "indexed": true,
527
+ "internalType": "address",
528
+ "name": "account",
529
+ "type": "address"
530
+ },
531
+ {
532
+ "indexed": true,
533
+ "internalType": "address",
534
+ "name": "sender",
535
+ "type": "address"
536
+ }
537
+ ],
538
+ "name": "RoleGranted",
539
+ "type": "event"
540
+ },
541
+ {
542
+ "anonymous": false,
543
+ "inputs": [
544
+ {
545
+ "indexed": true,
546
+ "internalType": "bytes32",
547
+ "name": "role",
548
+ "type": "bytes32"
549
+ },
550
+ {
551
+ "indexed": true,
552
+ "internalType": "address",
553
+ "name": "account",
554
+ "type": "address"
555
+ },
556
+ {
557
+ "indexed": true,
558
+ "internalType": "address",
559
+ "name": "sender",
560
+ "type": "address"
561
+ }
562
+ ],
563
+ "name": "RoleRevoked",
564
+ "type": "event"
565
+ },
566
+ {
567
+ "anonymous": false,
568
+ "inputs": [
569
+ {
570
+ "indexed": true,
571
+ "internalType": "string",
572
+ "name": "pid",
573
+ "type": "string"
574
+ },
575
+ {
576
+ "indexed": false,
577
+ "internalType": "enum OrganizationImplementation.OrgStatus",
578
+ "name": "newStatus",
579
+ "type": "uint8"
580
+ }
581
+ ],
582
+ "name": "StatusUpdated",
583
+ "type": "event"
584
+ },
585
+ {
586
+ "anonymous": false,
587
+ "inputs": [
588
+ {
589
+ "indexed": false,
590
+ "internalType": "address",
591
+ "name": "account",
592
+ "type": "address"
593
+ }
594
+ ],
595
+ "name": "Unpaused",
596
+ "type": "event"
597
+ },
598
+ {
599
+ "inputs": [],
600
+ "name": "ADMIN_ROLE",
601
+ "outputs": [
602
+ {
603
+ "internalType": "bytes32",
604
+ "name": "",
605
+ "type": "bytes32"
606
+ }
607
+ ],
608
+ "stateMutability": "view",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "inputs": [],
613
+ "name": "DEFAULT_ADMIN_ROLE",
614
+ "outputs": [
615
+ {
616
+ "internalType": "bytes32",
617
+ "name": "",
618
+ "type": "bytes32"
619
+ }
620
+ ],
621
+ "stateMutability": "view",
622
+ "type": "function"
623
+ },
624
+ {
625
+ "inputs": [],
626
+ "name": "MANAGER_ROLE",
627
+ "outputs": [
628
+ {
629
+ "internalType": "bytes32",
630
+ "name": "",
631
+ "type": "bytes32"
632
+ }
633
+ ],
634
+ "stateMutability": "view",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [
639
+ {
640
+ "internalType": "address",
641
+ "name": "newAdmin",
642
+ "type": "address"
643
+ }
644
+ ],
645
+ "name": "addAdmin",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "newManager",
655
+ "type": "address"
656
+ }
657
+ ],
658
+ "name": "addManager",
659
+ "outputs": [],
660
+ "stateMutability": "nonpayable",
661
+ "type": "function"
662
+ },
663
+ {
664
+ "inputs": [],
665
+ "name": "anymalNFT",
666
+ "outputs": [
667
+ {
668
+ "internalType": "contract IERC721",
669
+ "name": "",
670
+ "type": "address"
671
+ }
672
+ ],
673
+ "stateMutability": "view",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [],
678
+ "name": "approve",
679
+ "outputs": [],
680
+ "stateMutability": "nonpayable",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "address",
687
+ "name": "target",
688
+ "type": "address"
689
+ },
690
+ {
691
+ "internalType": "bytes",
692
+ "name": "data",
693
+ "type": "bytes"
694
+ }
695
+ ],
696
+ "name": "executeCall",
697
+ "outputs": [
698
+ {
699
+ "internalType": "bytes",
700
+ "name": "",
701
+ "type": "bytes"
702
+ }
703
+ ],
704
+ "stateMutability": "nonpayable",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [
709
+ {
710
+ "internalType": "bytes32",
711
+ "name": "role",
712
+ "type": "bytes32"
713
+ }
714
+ ],
715
+ "name": "getRoleAdmin",
716
+ "outputs": [
717
+ {
718
+ "internalType": "bytes32",
719
+ "name": "",
720
+ "type": "bytes32"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [
728
+ {
729
+ "internalType": "bytes32",
730
+ "name": "role",
731
+ "type": "bytes32"
732
+ },
733
+ {
734
+ "internalType": "address",
735
+ "name": "account",
736
+ "type": "address"
737
+ }
738
+ ],
739
+ "name": "grantRole",
740
+ "outputs": [],
741
+ "stateMutability": "nonpayable",
742
+ "type": "function"
743
+ },
744
+ {
745
+ "inputs": [
746
+ {
747
+ "internalType": "bytes32",
748
+ "name": "role",
749
+ "type": "bytes32"
750
+ },
751
+ {
752
+ "internalType": "address",
753
+ "name": "account",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "name": "hasRole",
758
+ "outputs": [
759
+ {
760
+ "internalType": "bool",
761
+ "name": "",
762
+ "type": "bool"
763
+ }
764
+ ],
765
+ "stateMutability": "view",
766
+ "type": "function"
767
+ },
768
+ {
769
+ "inputs": [
770
+ {
771
+ "internalType": "address",
772
+ "name": "_networkAdmin",
773
+ "type": "address"
774
+ },
775
+ {
776
+ "internalType": "address",
777
+ "name": "_userAdmin",
778
+ "type": "address"
779
+ },
780
+ {
781
+ "internalType": "address",
782
+ "name": "_anymalNFTProxy",
783
+ "type": "address"
784
+ },
785
+ {
786
+ "internalType": "string",
787
+ "name": "_orgName",
788
+ "type": "string"
789
+ },
790
+ {
791
+ "internalType": "string",
792
+ "name": "_orgPid",
793
+ "type": "string"
794
+ }
795
+ ],
796
+ "name": "initialize",
797
+ "outputs": [],
798
+ "stateMutability": "nonpayable",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
803
+ {
804
+ "internalType": "address",
805
+ "name": "",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "address",
810
+ "name": "",
811
+ "type": "address"
812
+ },
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "",
816
+ "type": "uint256"
817
+ },
818
+ {
819
+ "internalType": "bytes",
820
+ "name": "",
821
+ "type": "bytes"
822
+ }
823
+ ],
824
+ "name": "onERC721Received",
825
+ "outputs": [
826
+ {
827
+ "internalType": "bytes4",
828
+ "name": "",
829
+ "type": "bytes4"
830
+ }
831
+ ],
832
+ "stateMutability": "pure",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [],
837
+ "name": "orgName",
838
+ "outputs": [
839
+ {
840
+ "internalType": "string",
841
+ "name": "",
842
+ "type": "string"
843
+ }
844
+ ],
845
+ "stateMutability": "view",
846
+ "type": "function"
847
+ },
848
+ {
849
+ "inputs": [],
850
+ "name": "orgPid",
851
+ "outputs": [
852
+ {
853
+ "internalType": "string",
854
+ "name": "",
855
+ "type": "string"
856
+ }
857
+ ],
858
+ "stateMutability": "view",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [],
863
+ "name": "paused",
864
+ "outputs": [
865
+ {
866
+ "internalType": "bool",
867
+ "name": "",
868
+ "type": "bool"
869
+ }
870
+ ],
871
+ "stateMutability": "view",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [],
876
+ "name": "reject",
877
+ "outputs": [],
878
+ "stateMutability": "nonpayable",
879
+ "type": "function"
880
+ },
881
+ {
882
+ "inputs": [
883
+ {
884
+ "internalType": "address",
885
+ "name": "admin",
886
+ "type": "address"
887
+ }
888
+ ],
889
+ "name": "removeAdmin",
890
+ "outputs": [],
891
+ "stateMutability": "nonpayable",
892
+ "type": "function"
893
+ },
894
+ {
895
+ "inputs": [
896
+ {
897
+ "internalType": "address",
898
+ "name": "manager",
899
+ "type": "address"
900
+ }
901
+ ],
902
+ "name": "removeManager",
903
+ "outputs": [],
904
+ "stateMutability": "nonpayable",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [
909
+ {
910
+ "internalType": "bytes32",
911
+ "name": "role",
912
+ "type": "bytes32"
913
+ },
914
+ {
915
+ "internalType": "address",
916
+ "name": "callerConfirmation",
917
+ "type": "address"
918
+ }
919
+ ],
920
+ "name": "renounceRole",
921
+ "outputs": [],
922
+ "stateMutability": "nonpayable",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [
927
+ {
928
+ "internalType": "bytes32",
929
+ "name": "role",
930
+ "type": "bytes32"
931
+ },
932
+ {
933
+ "internalType": "address",
934
+ "name": "account",
935
+ "type": "address"
936
+ }
937
+ ],
938
+ "name": "revokeRole",
939
+ "outputs": [],
940
+ "stateMutability": "nonpayable",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ {
946
+ "internalType": "address",
947
+ "name": "_anymalNFTProxy",
948
+ "type": "address"
949
+ }
950
+ ],
951
+ "name": "setAnymalNFT",
952
+ "outputs": [],
953
+ "stateMutability": "nonpayable",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "enum OrganizationImplementation.OrgStatus",
960
+ "name": "newStatus",
961
+ "type": "uint8"
962
+ }
963
+ ],
964
+ "name": "setStatus",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [],
971
+ "name": "status",
972
+ "outputs": [
973
+ {
974
+ "internalType": "enum OrganizationImplementation.OrgStatus",
975
+ "name": "",
976
+ "type": "uint8"
977
+ }
978
+ ],
979
+ "stateMutability": "view",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "internalType": "bytes4",
986
+ "name": "interfaceId",
987
+ "type": "bytes4"
988
+ }
989
+ ],
990
+ "name": "supportsInterface",
991
+ "outputs": [
992
+ {
993
+ "internalType": "bool",
994
+ "name": "",
995
+ "type": "bool"
996
+ }
997
+ ],
998
+ "stateMutability": "view",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "to",
1006
+ "type": "address"
1007
+ },
1008
+ {
1009
+ "internalType": "uint256",
1010
+ "name": "tokenId",
1011
+ "type": "uint256"
1012
+ }
1013
+ ],
1014
+ "name": "transferAnymal",
1015
+ "outputs": [],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "string",
1023
+ "name": "newOrgName",
1024
+ "type": "string"
1025
+ }
1026
+ ],
1027
+ "name": "updateMetadata",
1028
+ "outputs": [],
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "inputs": [
1034
+ {
1035
+ "internalType": "string",
1036
+ "name": "pid",
1037
+ "type": "string"
1038
+ }
1039
+ ],
1040
+ "name": "updatePid",
1041
+ "outputs": [],
1042
+ "stateMutability": "nonpayable",
1043
+ "type": "function"
1044
+ }
1045
+ ];
312
1046
 
313
1047
  // src/utils/account/useVerifyAccount.ts
314
1048
  function useVerifyAccount() {
@@ -413,6 +1147,7 @@ function useFetchUserData() {
413
1147
  isVerified
414
1148
  showTooltips
415
1149
  accountType
1150
+ baseWalletAddress
416
1151
  }
417
1152
  }
418
1153
  `;
@@ -1166,7 +1901,7 @@ function useCreateOrganizationBase() {
1166
1901
  }
1167
1902
  try {
1168
1903
  const callData = (0, import_viem5.encodeFunctionData)({
1169
- abi: ORGANIZATION_ABI,
1904
+ abi: ORGANIZATION_BEACON_ABI,
1170
1905
  functionName: "createOrganizationProxy",
1171
1906
  args: [ownerAddress, orgName, orgPid]
1172
1907
  });
@@ -1196,7 +1931,7 @@ function useCreateOrganizationBase() {
1196
1931
  for (const log of txReceipt.logs) {
1197
1932
  try {
1198
1933
  const decoded = (0, import_viem5.decodeEventLog)({
1199
- abi: ORGANIZATION_ABI,
1934
+ abi: ORGANIZATION_BEACON_ABI,
1200
1935
  data: log.data,
1201
1936
  topics: log.topics
1202
1937
  });
@@ -1249,7 +1984,7 @@ function useApproveOrgPartialPayment() {
1249
1984
  args: [partialPaymentModuleAddress, approveAmount]
1250
1985
  });
1251
1986
  const executeApproveCalldata = (0, import_viem6.encodeFunctionData)({
1252
- abi: ORGANIZATION_ABI,
1987
+ abi: ORGANIZATION_IMPL_ABI,
1253
1988
  functionName: "executeCall",
1254
1989
  args: [kibbleTokenAddress, approveCalldata]
1255
1990
  });
@@ -1303,7 +2038,7 @@ function useProcessOrgPartialKibblePayment() {
1303
2038
  ]
1304
2039
  });
1305
2040
  const executePartialPayCalldata = (0, import_viem7.encodeFunctionData)({
1306
- abi: ORGANIZATION_ABI,
2041
+ abi: ORGANIZATION_IMPL_ABI,
1307
2042
  functionName: "executeCall",
1308
2043
  args: [partialPaymentModuleAddress, partialPayCalldata]
1309
2044
  });