anymal-protocol 1.0.48 → 1.0.51

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,816 @@ 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": "token",
688
+ "type": "address"
689
+ },
690
+ {
691
+ "internalType": "address",
692
+ "name": "spender",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "internalType": "uint256",
697
+ "name": "amount",
698
+ "type": "uint256"
699
+ }
700
+ ],
701
+ "name": "approveERC20",
702
+ "outputs": [],
703
+ "stateMutability": "nonpayable",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "address",
710
+ "name": "target",
711
+ "type": "address"
712
+ },
713
+ {
714
+ "internalType": "bytes",
715
+ "name": "data",
716
+ "type": "bytes"
717
+ }
718
+ ],
719
+ "name": "executeCall",
720
+ "outputs": [
721
+ {
722
+ "internalType": "bytes",
723
+ "name": "",
724
+ "type": "bytes"
725
+ }
726
+ ],
727
+ "stateMutability": "nonpayable",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "bytes32",
734
+ "name": "role",
735
+ "type": "bytes32"
736
+ }
737
+ ],
738
+ "name": "getRoleAdmin",
739
+ "outputs": [
740
+ {
741
+ "internalType": "bytes32",
742
+ "name": "",
743
+ "type": "bytes32"
744
+ }
745
+ ],
746
+ "stateMutability": "view",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "inputs": [
751
+ {
752
+ "internalType": "bytes32",
753
+ "name": "role",
754
+ "type": "bytes32"
755
+ },
756
+ {
757
+ "internalType": "address",
758
+ "name": "account",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "name": "grantRole",
763
+ "outputs": [],
764
+ "stateMutability": "nonpayable",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [
769
+ {
770
+ "internalType": "bytes32",
771
+ "name": "role",
772
+ "type": "bytes32"
773
+ },
774
+ {
775
+ "internalType": "address",
776
+ "name": "account",
777
+ "type": "address"
778
+ }
779
+ ],
780
+ "name": "hasRole",
781
+ "outputs": [
782
+ {
783
+ "internalType": "bool",
784
+ "name": "",
785
+ "type": "bool"
786
+ }
787
+ ],
788
+ "stateMutability": "view",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
793
+ {
794
+ "internalType": "address",
795
+ "name": "_networkAdmin",
796
+ "type": "address"
797
+ },
798
+ {
799
+ "internalType": "address",
800
+ "name": "_userAdmin",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "address",
805
+ "name": "_anymalNFTProxy",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "string",
810
+ "name": "_orgName",
811
+ "type": "string"
812
+ },
813
+ {
814
+ "internalType": "string",
815
+ "name": "_orgPid",
816
+ "type": "string"
817
+ }
818
+ ],
819
+ "name": "initialize",
820
+ "outputs": [],
821
+ "stateMutability": "nonpayable",
822
+ "type": "function"
823
+ },
824
+ {
825
+ "inputs": [
826
+ {
827
+ "internalType": "address",
828
+ "name": "",
829
+ "type": "address"
830
+ },
831
+ {
832
+ "internalType": "address",
833
+ "name": "",
834
+ "type": "address"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "",
839
+ "type": "uint256"
840
+ },
841
+ {
842
+ "internalType": "bytes",
843
+ "name": "",
844
+ "type": "bytes"
845
+ }
846
+ ],
847
+ "name": "onERC721Received",
848
+ "outputs": [
849
+ {
850
+ "internalType": "bytes4",
851
+ "name": "",
852
+ "type": "bytes4"
853
+ }
854
+ ],
855
+ "stateMutability": "pure",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [],
860
+ "name": "orgName",
861
+ "outputs": [
862
+ {
863
+ "internalType": "string",
864
+ "name": "",
865
+ "type": "string"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [],
873
+ "name": "orgPid",
874
+ "outputs": [
875
+ {
876
+ "internalType": "string",
877
+ "name": "",
878
+ "type": "string"
879
+ }
880
+ ],
881
+ "stateMutability": "view",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [],
886
+ "name": "paused",
887
+ "outputs": [
888
+ {
889
+ "internalType": "bool",
890
+ "name": "",
891
+ "type": "bool"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ {
900
+ "internalType": "address",
901
+ "name": "partialPaymentModule",
902
+ "type": "address"
903
+ },
904
+ {
905
+ "internalType": "string",
906
+ "name": "orderId",
907
+ "type": "string"
908
+ },
909
+ {
910
+ "internalType": "string",
911
+ "name": "anymalNftId",
912
+ "type": "string"
913
+ },
914
+ {
915
+ "internalType": "string",
916
+ "name": "pid",
917
+ "type": "string"
918
+ },
919
+ {
920
+ "internalType": "uint256",
921
+ "name": "amountInTokens",
922
+ "type": "uint256"
923
+ },
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "maxTokenPayment",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "bytes32",
931
+ "name": "nonce",
932
+ "type": "bytes32"
933
+ },
934
+ {
935
+ "internalType": "uint256",
936
+ "name": "deadline",
937
+ "type": "uint256"
938
+ },
939
+ {
940
+ "internalType": "bytes",
941
+ "name": "backendSignature",
942
+ "type": "bytes"
943
+ }
944
+ ],
945
+ "name": "processPartialPayment",
946
+ "outputs": [],
947
+ "stateMutability": "nonpayable",
948
+ "type": "function"
949
+ },
950
+ {
951
+ "inputs": [],
952
+ "name": "reject",
953
+ "outputs": [],
954
+ "stateMutability": "nonpayable",
955
+ "type": "function"
956
+ },
957
+ {
958
+ "inputs": [
959
+ {
960
+ "internalType": "address",
961
+ "name": "admin",
962
+ "type": "address"
963
+ }
964
+ ],
965
+ "name": "removeAdmin",
966
+ "outputs": [],
967
+ "stateMutability": "nonpayable",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [
972
+ {
973
+ "internalType": "address",
974
+ "name": "manager",
975
+ "type": "address"
976
+ }
977
+ ],
978
+ "name": "removeManager",
979
+ "outputs": [],
980
+ "stateMutability": "nonpayable",
981
+ "type": "function"
982
+ },
983
+ {
984
+ "inputs": [
985
+ {
986
+ "internalType": "bytes32",
987
+ "name": "role",
988
+ "type": "bytes32"
989
+ },
990
+ {
991
+ "internalType": "address",
992
+ "name": "callerConfirmation",
993
+ "type": "address"
994
+ }
995
+ ],
996
+ "name": "renounceRole",
997
+ "outputs": [],
998
+ "stateMutability": "nonpayable",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [
1003
+ {
1004
+ "internalType": "bytes32",
1005
+ "name": "role",
1006
+ "type": "bytes32"
1007
+ },
1008
+ {
1009
+ "internalType": "address",
1010
+ "name": "account",
1011
+ "type": "address"
1012
+ }
1013
+ ],
1014
+ "name": "revokeRole",
1015
+ "outputs": [],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "address",
1023
+ "name": "_anymalNFTProxy",
1024
+ "type": "address"
1025
+ }
1026
+ ],
1027
+ "name": "setAnymalNFT",
1028
+ "outputs": [],
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "inputs": [
1034
+ {
1035
+ "internalType": "enum OrganizationImplementation.OrgStatus",
1036
+ "name": "newStatus",
1037
+ "type": "uint8"
1038
+ }
1039
+ ],
1040
+ "name": "setStatus",
1041
+ "outputs": [],
1042
+ "stateMutability": "nonpayable",
1043
+ "type": "function"
1044
+ },
1045
+ {
1046
+ "inputs": [],
1047
+ "name": "status",
1048
+ "outputs": [
1049
+ {
1050
+ "internalType": "enum OrganizationImplementation.OrgStatus",
1051
+ "name": "",
1052
+ "type": "uint8"
1053
+ }
1054
+ ],
1055
+ "stateMutability": "view",
1056
+ "type": "function"
1057
+ },
1058
+ {
1059
+ "inputs": [
1060
+ {
1061
+ "internalType": "bytes4",
1062
+ "name": "interfaceId",
1063
+ "type": "bytes4"
1064
+ }
1065
+ ],
1066
+ "name": "supportsInterface",
1067
+ "outputs": [
1068
+ {
1069
+ "internalType": "bool",
1070
+ "name": "",
1071
+ "type": "bool"
1072
+ }
1073
+ ],
1074
+ "stateMutability": "view",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "inputs": [
1079
+ {
1080
+ "internalType": "address",
1081
+ "name": "to",
1082
+ "type": "address"
1083
+ },
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "tokenId",
1087
+ "type": "uint256"
1088
+ }
1089
+ ],
1090
+ "name": "transferAnymal",
1091
+ "outputs": [],
1092
+ "stateMutability": "nonpayable",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "string",
1099
+ "name": "newOrgName",
1100
+ "type": "string"
1101
+ }
1102
+ ],
1103
+ "name": "updateMetadata",
1104
+ "outputs": [],
1105
+ "stateMutability": "nonpayable",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "string",
1112
+ "name": "pid",
1113
+ "type": "string"
1114
+ }
1115
+ ],
1116
+ "name": "updatePid",
1117
+ "outputs": [],
1118
+ "stateMutability": "nonpayable",
1119
+ "type": "function"
1120
+ }
1121
+ ];
312
1122
 
313
1123
  // src/utils/account/useVerifyAccount.ts
314
1124
  function useVerifyAccount() {
@@ -1167,7 +1977,7 @@ function useCreateOrganizationBase() {
1167
1977
  }
1168
1978
  try {
1169
1979
  const callData = (0, import_viem5.encodeFunctionData)({
1170
- abi: ORGANIZATION_ABI,
1980
+ abi: ORGANIZATION_BEACON_ABI,
1171
1981
  functionName: "createOrganizationProxy",
1172
1982
  args: [ownerAddress, orgName, orgPid]
1173
1983
  });
@@ -1197,7 +2007,7 @@ function useCreateOrganizationBase() {
1197
2007
  for (const log of txReceipt.logs) {
1198
2008
  try {
1199
2009
  const decoded = (0, import_viem5.decodeEventLog)({
1200
- abi: ORGANIZATION_ABI,
2010
+ abi: ORGANIZATION_BEACON_ABI,
1201
2011
  data: log.data,
1202
2012
  topics: log.topics
1203
2013
  });
@@ -1250,7 +2060,7 @@ function useApproveOrgPartialPayment() {
1250
2060
  args: [partialPaymentModuleAddress, approveAmount]
1251
2061
  });
1252
2062
  const executeApproveCalldata = (0, import_viem6.encodeFunctionData)({
1253
- abi: ORGANIZATION_ABI,
2063
+ abi: ORGANIZATION_IMPL_ABI,
1254
2064
  functionName: "executeCall",
1255
2065
  args: [kibbleTokenAddress, approveCalldata]
1256
2066
  });
@@ -1304,7 +2114,7 @@ function useProcessOrgPartialKibblePayment() {
1304
2114
  ]
1305
2115
  });
1306
2116
  const executePartialPayCalldata = (0, import_viem7.encodeFunctionData)({
1307
- abi: ORGANIZATION_ABI,
2117
+ abi: ORGANIZATION_IMPL_ABI,
1308
2118
  functionName: "executeCall",
1309
2119
  args: [partialPaymentModuleAddress, partialPayCalldata]
1310
2120
  });