@akita-protocol/algomd-core 1.0.0-alpha.0 → 1.0.0-alpha.1

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.
@@ -7296,6 +7296,1428 @@ export const CONTRACT_SCHEMAS = {
7296
7296
  }
7297
7297
  ]
7298
7298
  }
7299
+ },
7300
+ "guild": {
7301
+ "name": "Guild",
7302
+ "global": {
7303
+ "state": {
7304
+ "key": "state",
7305
+ "type": "uint8"
7306
+ },
7307
+ "consensus": {
7308
+ "key": "consensus",
7309
+ "type": "AVMUint64"
7310
+ },
7311
+ "version": {
7312
+ "key": "version",
7313
+ "type": "AVMString"
7314
+ },
7315
+ "creator": {
7316
+ "key": "creator",
7317
+ "type": "address"
7318
+ },
7319
+ "wallet": {
7320
+ "key": "wallet",
7321
+ "type": "AVMUint64"
7322
+ },
7323
+ "walletFactory": {
7324
+ "key": "wallet_factory",
7325
+ "type": "AVMUint64"
7326
+ },
7327
+ "proposalActionLimit": {
7328
+ "key": "proposal_action_limit",
7329
+ "type": "AVMUint64"
7330
+ },
7331
+ "proposalID": {
7332
+ "key": "proposal_id",
7333
+ "type": "AVMUint64"
7334
+ },
7335
+ "pluginSetLocked": {
7336
+ "key": "plugins_locked",
7337
+ "type": "AVMUint64"
7338
+ },
7339
+ "reserved": {
7340
+ "key": "reserved",
7341
+ "type": "AVMUint64"
7342
+ },
7343
+ "upgradeAppProposalSettings": {
7344
+ "key": "upgrade_app_ps",
7345
+ "type": "GuildProposalSettings"
7346
+ },
7347
+ "addPluginProposalSettings": {
7348
+ "key": "add_plugin_ps",
7349
+ "type": "GuildProposalSettings"
7350
+ },
7351
+ "removeExecutionProposalSettings": {
7352
+ "key": "remove_execution_ps",
7353
+ "type": "GuildProposalSettings"
7354
+ },
7355
+ "removePluginProposalSettings": {
7356
+ "key": "remove_plugin_ps",
7357
+ "type": "GuildProposalSettings"
7358
+ },
7359
+ "addAllowancesProposalSettings": {
7360
+ "key": "add_allowances_ps",
7361
+ "type": "GuildProposalSettings"
7362
+ },
7363
+ "removeAllowancesProposalSettings": {
7364
+ "key": "remove_allowances_ps",
7365
+ "type": "GuildProposalSettings"
7366
+ },
7367
+ "newEscrowProposalSettings": {
7368
+ "key": "new_escrow_ps",
7369
+ "type": "GuildProposalSettings"
7370
+ },
7371
+ "toggleEscrowLockProposalSettings": {
7372
+ "key": "toggle_escrow_ps",
7373
+ "type": "GuildProposalSettings"
7374
+ },
7375
+ "updateGuildProposalSettings": {
7376
+ "key": "update_guild_ps",
7377
+ "type": "GuildProposalSettings"
7378
+ }
7379
+ },
7380
+ "boxes": {
7381
+ "plugins": {
7382
+ "prefix": "g",
7383
+ "keyType": "GuildPluginKey",
7384
+ "valueType": "GuildProposalSettings"
7385
+ },
7386
+ "proposals": {
7387
+ "prefix": "l",
7388
+ "keyType": "uint64",
7389
+ "valueType": "GuildProposal"
7390
+ },
7391
+ "executions": {
7392
+ "prefix": "x",
7393
+ "keyType": "AVMBytes",
7394
+ "valueType": "GuildExecutionMetadata"
7395
+ },
7396
+ "consensusActions": {
7397
+ "prefix": "c",
7398
+ "keyType": "uint64",
7399
+ "valueType": "GuildProposalSettings"
7400
+ }
7401
+ },
7402
+ "methods": {
7403
+ "create": {
7404
+ "signature": "create(string,address,uint64,uint64,(uint64,((uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64))))void",
7405
+ "selector": "06cb2e54",
7406
+ "args": [
7407
+ {
7408
+ "name": "version",
7409
+ "type": "string"
7410
+ },
7411
+ {
7412
+ "name": "creator",
7413
+ "type": "address"
7414
+ },
7415
+ {
7416
+ "name": "walletFactory",
7417
+ "type": "uint64"
7418
+ },
7419
+ {
7420
+ "name": "consensus",
7421
+ "type": "uint64"
7422
+ },
7423
+ {
7424
+ "name": "config",
7425
+ "type": "(uint64,((uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64)))",
7426
+ "struct": "GuildBaseConfig"
7427
+ }
7428
+ ],
7429
+ "returns": "void",
7430
+ "actions": [
7431
+ "create:NoOp"
7432
+ ]
7433
+ },
7434
+ "consensusConfigurationMbr": {
7435
+ "signature": "consensusConfigurationMbr(byte[])uint64",
7436
+ "selector": "97881e21",
7437
+ "args": [
7438
+ {
7439
+ "name": "config",
7440
+ "type": "byte[]"
7441
+ }
7442
+ ],
7443
+ "returns": "uint64",
7444
+ "actions": [
7445
+ "NoOp"
7446
+ ]
7447
+ },
7448
+ "configureConsensus": {
7449
+ "signature": "configureConsensus(pay,byte[])void",
7450
+ "selector": "5081f793",
7451
+ "args": [
7452
+ {
7453
+ "name": "mbrPayment",
7454
+ "type": "pay"
7455
+ },
7456
+ {
7457
+ "name": "config",
7458
+ "type": "byte[]"
7459
+ }
7460
+ ],
7461
+ "returns": "void",
7462
+ "actions": [
7463
+ "NoOp"
7464
+ ]
7465
+ },
7466
+ "setup": {
7467
+ "signature": "setup(string,byte[32])uint64",
7468
+ "selector": "f8e140aa",
7469
+ "args": [
7470
+ {
7471
+ "name": "nickname",
7472
+ "type": "string"
7473
+ },
7474
+ {
7475
+ "name": "salt",
7476
+ "type": "byte[32]"
7477
+ }
7478
+ ],
7479
+ "returns": "uint64",
7480
+ "actions": [
7481
+ "NoOp"
7482
+ ]
7483
+ },
7484
+ "setProposalSettings": {
7485
+ "signature": "setProposalSettings(uint8,(uint64,uint64,uint64,uint64,uint64,uint64))void",
7486
+ "selector": "ce73147b",
7487
+ "args": [
7488
+ {
7489
+ "name": "actionType",
7490
+ "type": "uint8"
7491
+ },
7492
+ {
7493
+ "name": "settings",
7494
+ "type": "(uint64,uint64,uint64,uint64,uint64,uint64)",
7495
+ "struct": "GuildProposalSettings"
7496
+ }
7497
+ ],
7498
+ "returns": "void",
7499
+ "actions": [
7500
+ "NoOp"
7501
+ ]
7502
+ },
7503
+ "setConsensusActionSettings": {
7504
+ "signature": "setConsensusActionSettings(uint64,(uint64,uint64,uint64,uint64,uint64,uint64))void",
7505
+ "selector": "236cb1bb",
7506
+ "args": [
7507
+ {
7508
+ "name": "code",
7509
+ "type": "uint64"
7510
+ },
7511
+ {
7512
+ "name": "settings",
7513
+ "type": "(uint64,uint64,uint64,uint64,uint64,uint64)",
7514
+ "struct": "GuildProposalSettings"
7515
+ }
7516
+ ],
7517
+ "returns": "void",
7518
+ "actions": [
7519
+ "NoOp"
7520
+ ]
7521
+ },
7522
+ "setProposalActionLimit": {
7523
+ "signature": "setProposalActionLimit(uint64)void",
7524
+ "selector": "78b643e8",
7525
+ "args": [
7526
+ {
7527
+ "name": "limit",
7528
+ "type": "uint64"
7529
+ }
7530
+ ],
7531
+ "returns": "void",
7532
+ "actions": [
7533
+ "NoOp"
7534
+ ]
7535
+ },
7536
+ "lockPluginSet": {
7537
+ "signature": "lockPluginSet()void",
7538
+ "selector": "40988cb9",
7539
+ "args": [],
7540
+ "returns": "void",
7541
+ "actions": [
7542
+ "NoOp"
7543
+ ]
7544
+ },
7545
+ "partiallyInitialize": {
7546
+ "signature": "partiallyInitialize()void",
7547
+ "selector": "53c47566",
7548
+ "args": [],
7549
+ "returns": "void",
7550
+ "actions": [
7551
+ "NoOp"
7552
+ ]
7553
+ },
7554
+ "initialize": {
7555
+ "signature": "initialize()void",
7556
+ "selector": "fd2c93cd",
7557
+ "args": [],
7558
+ "returns": "void",
7559
+ "actions": [
7560
+ "NoOp"
7561
+ ]
7562
+ },
7563
+ "newProposal": {
7564
+ "signature": "newProposal(pay,byte[36],(uint8,byte[])[],byte[])uint64",
7565
+ "selector": "3495781a",
7566
+ "args": [
7567
+ {
7568
+ "name": "payment",
7569
+ "type": "pay"
7570
+ },
7571
+ {
7572
+ "name": "cid",
7573
+ "type": "byte[36]"
7574
+ },
7575
+ {
7576
+ "name": "actions",
7577
+ "type": "(uint8,byte[])[]"
7578
+ },
7579
+ {
7580
+ "name": "evidence",
7581
+ "type": "byte[]"
7582
+ }
7583
+ ],
7584
+ "returns": "uint64",
7585
+ "actions": [
7586
+ "NoOp"
7587
+ ]
7588
+ },
7589
+ "editProposal": {
7590
+ "signature": "editProposal(uint64,byte[36],(uint8,byte[])[],byte[])void",
7591
+ "selector": "d046fb71",
7592
+ "args": [
7593
+ {
7594
+ "name": "id",
7595
+ "type": "uint64"
7596
+ },
7597
+ {
7598
+ "name": "cid",
7599
+ "type": "byte[36]"
7600
+ },
7601
+ {
7602
+ "name": "actions",
7603
+ "type": "(uint8,byte[])[]"
7604
+ },
7605
+ {
7606
+ "name": "evidence",
7607
+ "type": "byte[]"
7608
+ }
7609
+ ],
7610
+ "returns": "void",
7611
+ "actions": [
7612
+ "NoOp"
7613
+ ]
7614
+ },
7615
+ "editProposalWithPayment": {
7616
+ "signature": "editProposalWithPayment(pay,uint64,byte[36],(uint8,byte[])[],byte[])void",
7617
+ "selector": "880950f9",
7618
+ "args": [
7619
+ {
7620
+ "name": "payment",
7621
+ "type": "pay"
7622
+ },
7623
+ {
7624
+ "name": "id",
7625
+ "type": "uint64"
7626
+ },
7627
+ {
7628
+ "name": "cid",
7629
+ "type": "byte[36]"
7630
+ },
7631
+ {
7632
+ "name": "actions",
7633
+ "type": "(uint8,byte[])[]"
7634
+ },
7635
+ {
7636
+ "name": "evidence",
7637
+ "type": "byte[]"
7638
+ }
7639
+ ],
7640
+ "returns": "void",
7641
+ "actions": [
7642
+ "NoOp"
7643
+ ]
7644
+ },
7645
+ "deleteProposal": {
7646
+ "signature": "deleteProposal(uint64)void",
7647
+ "selector": "28f80154",
7648
+ "args": [
7649
+ {
7650
+ "name": "proposalID",
7651
+ "type": "uint64"
7652
+ }
7653
+ ],
7654
+ "returns": "void",
7655
+ "actions": [
7656
+ "NoOp"
7657
+ ]
7658
+ },
7659
+ "submitProposal": {
7660
+ "signature": "submitProposal(uint64,byte[])void",
7661
+ "selector": "a9e1f57b",
7662
+ "args": [
7663
+ {
7664
+ "name": "proposalID",
7665
+ "type": "uint64"
7666
+ },
7667
+ {
7668
+ "name": "evidence",
7669
+ "type": "byte[]"
7670
+ }
7671
+ ],
7672
+ "returns": "void",
7673
+ "actions": [
7674
+ "NoOp"
7675
+ ]
7676
+ },
7677
+ "voteProposal": {
7678
+ "signature": "voteProposal(pay,uint64,uint8,byte[])void",
7679
+ "selector": "3769989f",
7680
+ "args": [
7681
+ {
7682
+ "name": "mbrPayment",
7683
+ "type": "pay"
7684
+ },
7685
+ {
7686
+ "name": "proposalID",
7687
+ "type": "uint64"
7688
+ },
7689
+ {
7690
+ "name": "vote",
7691
+ "type": "uint8"
7692
+ },
7693
+ {
7694
+ "name": "evidence",
7695
+ "type": "byte[]"
7696
+ }
7697
+ ],
7698
+ "returns": "void",
7699
+ "actions": [
7700
+ "NoOp"
7701
+ ]
7702
+ },
7703
+ "finalizeProposal": {
7704
+ "signature": "finalizeProposal(uint64)void",
7705
+ "selector": "62ce9b5b",
7706
+ "args": [
7707
+ {
7708
+ "name": "proposalID",
7709
+ "type": "uint64"
7710
+ }
7711
+ ],
7712
+ "returns": "void",
7713
+ "actions": [
7714
+ "NoOp"
7715
+ ]
7716
+ },
7717
+ "cleanupProposalConsensus": {
7718
+ "signature": "cleanupProposalConsensus(uint64,address[])uint64",
7719
+ "selector": "b57a1ecd",
7720
+ "args": [
7721
+ {
7722
+ "name": "proposalID",
7723
+ "type": "uint64"
7724
+ },
7725
+ {
7726
+ "name": "voters",
7727
+ "type": "address[]"
7728
+ }
7729
+ ],
7730
+ "returns": "uint64",
7731
+ "actions": [
7732
+ "NoOp"
7733
+ ]
7734
+ },
7735
+ "cancelProposal": {
7736
+ "signature": "cancelProposal(uint64)void",
7737
+ "selector": "bfb5248f",
7738
+ "args": [
7739
+ {
7740
+ "name": "proposalID",
7741
+ "type": "uint64"
7742
+ }
7743
+ ],
7744
+ "returns": "void",
7745
+ "actions": [
7746
+ "NoOp"
7747
+ ]
7748
+ },
7749
+ "executeProposal": {
7750
+ "signature": "executeProposal(uint64)void",
7751
+ "selector": "f1ff28aa",
7752
+ "args": [
7753
+ {
7754
+ "name": "proposalID",
7755
+ "type": "uint64"
7756
+ }
7757
+ ],
7758
+ "returns": "void",
7759
+ "actions": [
7760
+ "NoOp"
7761
+ ]
7762
+ },
7763
+ "update": {
7764
+ "signature": "update(string)void",
7765
+ "selector": "ea9180dd",
7766
+ "args": [
7767
+ {
7768
+ "name": "newVersion",
7769
+ "type": "string"
7770
+ }
7771
+ ],
7772
+ "returns": "void",
7773
+ "actions": [
7774
+ "UpdateApplication"
7775
+ ]
7776
+ },
7777
+ "sweep": {
7778
+ "signature": "sweep()uint64",
7779
+ "selector": "bc0d58a7",
7780
+ "args": [],
7781
+ "returns": "uint64",
7782
+ "actions": [
7783
+ "NoOp"
7784
+ ]
7785
+ },
7786
+ "setupCost": {
7787
+ "signature": "setupCost()uint64",
7788
+ "selector": "9699d108",
7789
+ "args": [],
7790
+ "returns": "uint64",
7791
+ "actions": [
7792
+ "NoOp"
7793
+ ]
7794
+ },
7795
+ "proposalCost": {
7796
+ "signature": "proposalCost((uint8,byte[])[])(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)",
7797
+ "selector": "8feadadb",
7798
+ "args": [
7799
+ {
7800
+ "name": "actions",
7801
+ "type": "(uint8,byte[])[]"
7802
+ }
7803
+ ],
7804
+ "returns": "(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)",
7805
+ "actions": [
7806
+ "NoOp"
7807
+ ]
7808
+ },
7809
+ "getProposal": {
7810
+ "signature": "getProposal(uint64)(uint8,byte[36],address,uint64,uint64,uint64,(uint8,byte[])[])",
7811
+ "selector": "fe0227c9",
7812
+ "args": [
7813
+ {
7814
+ "name": "proposalID",
7815
+ "type": "uint64"
7816
+ }
7817
+ ],
7818
+ "returns": "(uint8,byte[36],address,uint64,uint64,uint64,(uint8,byte[])[])",
7819
+ "actions": [
7820
+ "NoOp"
7821
+ ]
7822
+ },
7823
+ "getBallot": {
7824
+ "signature": "getBallot(uint64)(bool,bool,uint64,uint64,uint64,(uint64,uint64,uint64),(uint64,uint64,uint64))",
7825
+ "selector": "92bb769e",
7826
+ "args": [
7827
+ {
7828
+ "name": "proposalID",
7829
+ "type": "uint64"
7830
+ }
7831
+ ],
7832
+ "returns": "(bool,bool,uint64,uint64,uint64,(uint64,uint64,uint64),(uint64,uint64,uint64))",
7833
+ "actions": [
7834
+ "NoOp"
7835
+ ]
7836
+ },
7837
+ "mustGetExecution": {
7838
+ "signature": "mustGetExecution(byte[32])(uint64,uint64)",
7839
+ "selector": "dbbec6d2",
7840
+ "args": [
7841
+ {
7842
+ "name": "lease",
7843
+ "type": "byte[32]"
7844
+ }
7845
+ ],
7846
+ "returns": "(uint64,uint64)",
7847
+ "actions": [
7848
+ "NoOp"
7849
+ ]
7850
+ },
7851
+ "getConsensusActionSettings": {
7852
+ "signature": "getConsensusActionSettings(uint64)(uint64,uint64,uint64,uint64,uint64,uint64)",
7853
+ "selector": "957c752e",
7854
+ "args": [
7855
+ {
7856
+ "name": "code",
7857
+ "type": "uint64"
7858
+ }
7859
+ ],
7860
+ "returns": "(uint64,uint64,uint64,uint64,uint64,uint64)",
7861
+ "actions": [
7862
+ "NoOp"
7863
+ ]
7864
+ },
7865
+ "voteCost": {
7866
+ "signature": "voteCost(uint64,address)uint64",
7867
+ "selector": "8b5f86e0",
7868
+ "args": [
7869
+ {
7870
+ "name": "proposalID",
7871
+ "type": "uint64"
7872
+ },
7873
+ {
7874
+ "name": "voter",
7875
+ "type": "address"
7876
+ }
7877
+ ],
7878
+ "returns": "uint64",
7879
+ "actions": [
7880
+ "NoOp"
7881
+ ]
7882
+ },
7883
+ "voteMbr": {
7884
+ "signature": "voteMbr()uint64",
7885
+ "selector": "6f9378e3",
7886
+ "args": [],
7887
+ "returns": "uint64",
7888
+ "actions": [
7889
+ "NoOp"
7890
+ ]
7891
+ },
7892
+ "sweepable": {
7893
+ "signature": "sweepable()uint64",
7894
+ "selector": "f1c08e6a",
7895
+ "args": [],
7896
+ "returns": "uint64",
7897
+ "actions": [
7898
+ "NoOp"
7899
+ ]
7900
+ },
7901
+ "canChangePluginSet": {
7902
+ "signature": "canChangePluginSet()bool",
7903
+ "selector": "27adf91f",
7904
+ "args": [],
7905
+ "returns": "bool",
7906
+ "actions": [
7907
+ "NoOp"
7908
+ ]
7909
+ },
7910
+ "opUp": {
7911
+ "signature": "opUp()void",
7912
+ "selector": "854dede0",
7913
+ "args": [],
7914
+ "returns": "void",
7915
+ "actions": [
7916
+ "NoOp"
7917
+ ]
7918
+ }
7919
+ },
7920
+ "events": {},
7921
+ "structs": {
7922
+ "GuildBaseConfig": [
7923
+ {
7924
+ "name": "proposalActionLimit",
7925
+ "type": "uint64"
7926
+ },
7927
+ {
7928
+ "name": "proposalSettings",
7929
+ "type": "GuildProposalSettingsConfig"
7930
+ }
7931
+ ],
7932
+ "GuildConsensusBallot": [
7933
+ {
7934
+ "name": "resolved",
7935
+ "type": "bool"
7936
+ },
7937
+ {
7938
+ "name": "approved",
7939
+ "type": "bool"
7940
+ },
7941
+ {
7942
+ "name": "votingEnd",
7943
+ "type": "uint64"
7944
+ },
7945
+ {
7946
+ "name": "eligiblePower",
7947
+ "type": "uint64"
7948
+ },
7949
+ {
7950
+ "name": "voteCount",
7951
+ "type": "uint64"
7952
+ },
7953
+ {
7954
+ "name": "requirements",
7955
+ "type": "GuildConsensusRequirements"
7956
+ },
7957
+ {
7958
+ "name": "votes",
7959
+ "type": "GuildVoteTotals"
7960
+ }
7961
+ ],
7962
+ "GuildConsensusRequirements": [
7963
+ {
7964
+ "name": "participation",
7965
+ "type": "uint64"
7966
+ },
7967
+ {
7968
+ "name": "approval",
7969
+ "type": "uint64"
7970
+ },
7971
+ {
7972
+ "name": "minimumApprovals",
7973
+ "type": "uint64"
7974
+ }
7975
+ ],
7976
+ "GuildExecutionMetadata": [
7977
+ {
7978
+ "name": "proposalID",
7979
+ "type": "uint64"
7980
+ },
7981
+ {
7982
+ "name": "index",
7983
+ "type": "uint64"
7984
+ }
7985
+ ],
7986
+ "GuildPluginKey": [
7987
+ {
7988
+ "name": "plugin",
7989
+ "type": "uint64"
7990
+ },
7991
+ {
7992
+ "name": "escrow",
7993
+ "type": "string"
7994
+ }
7995
+ ],
7996
+ "GuildProposal": [
7997
+ {
7998
+ "name": "status",
7999
+ "type": "uint8"
8000
+ },
8001
+ {
8002
+ "name": "cid",
8003
+ "type": "byte[36]"
8004
+ },
8005
+ {
8006
+ "name": "creator",
8007
+ "type": "address"
8008
+ },
8009
+ {
8010
+ "name": "votingTs",
8011
+ "type": "uint64"
8012
+ },
8013
+ {
8014
+ "name": "created",
8015
+ "type": "uint64"
8016
+ },
8017
+ {
8018
+ "name": "feesPaid",
8019
+ "type": "uint64"
8020
+ },
8021
+ {
8022
+ "name": "actions",
8023
+ "type": "(uint8,byte[])[]"
8024
+ }
8025
+ ],
8026
+ "GuildProposalCostInfo": [
8027
+ {
8028
+ "name": "total",
8029
+ "type": "uint64"
8030
+ },
8031
+ {
8032
+ "name": "mbr",
8033
+ "type": "uint64"
8034
+ },
8035
+ {
8036
+ "name": "fee",
8037
+ "type": "uint64"
8038
+ },
8039
+ {
8040
+ "name": "power",
8041
+ "type": "uint64"
8042
+ },
8043
+ {
8044
+ "name": "duration",
8045
+ "type": "uint64"
8046
+ },
8047
+ {
8048
+ "name": "participation",
8049
+ "type": "uint64"
8050
+ },
8051
+ {
8052
+ "name": "approval",
8053
+ "type": "uint64"
8054
+ },
8055
+ {
8056
+ "name": "minimumApprovals",
8057
+ "type": "uint64"
8058
+ }
8059
+ ],
8060
+ "GuildProposalSettings": [
8061
+ {
8062
+ "name": "fee",
8063
+ "type": "uint64"
8064
+ },
8065
+ {
8066
+ "name": "power",
8067
+ "type": "uint64"
8068
+ },
8069
+ {
8070
+ "name": "duration",
8071
+ "type": "uint64"
8072
+ },
8073
+ {
8074
+ "name": "participation",
8075
+ "type": "uint64"
8076
+ },
8077
+ {
8078
+ "name": "approval",
8079
+ "type": "uint64"
8080
+ },
8081
+ {
8082
+ "name": "minimumApprovals",
8083
+ "type": "uint64"
8084
+ }
8085
+ ],
8086
+ "GuildProposalSettingsConfig": [
8087
+ {
8088
+ "name": "upgradeApp",
8089
+ "type": "GuildProposalSettings"
8090
+ },
8091
+ {
8092
+ "name": "addPlugin",
8093
+ "type": "GuildProposalSettings"
8094
+ },
8095
+ {
8096
+ "name": "removeExecution",
8097
+ "type": "GuildProposalSettings"
8098
+ },
8099
+ {
8100
+ "name": "removePlugin",
8101
+ "type": "GuildProposalSettings"
8102
+ },
8103
+ {
8104
+ "name": "addAllowances",
8105
+ "type": "GuildProposalSettings"
8106
+ },
8107
+ {
8108
+ "name": "removeAllowances",
8109
+ "type": "GuildProposalSettings"
8110
+ },
8111
+ {
8112
+ "name": "newEscrow",
8113
+ "type": "GuildProposalSettings"
8114
+ },
8115
+ {
8116
+ "name": "toggleEscrowLock",
8117
+ "type": "GuildProposalSettings"
8118
+ },
8119
+ {
8120
+ "name": "updateGuild",
8121
+ "type": "GuildProposalSettings"
8122
+ }
8123
+ ],
8124
+ "GuildVoteTotals": [
8125
+ {
8126
+ "name": "approvals",
8127
+ "type": "uint64"
8128
+ },
8129
+ {
8130
+ "name": "rejections",
8131
+ "type": "uint64"
8132
+ },
8133
+ {
8134
+ "name": "abstains",
8135
+ "type": "uint64"
8136
+ }
8137
+ ]
8138
+ }
8139
+ },
8140
+ "guildConsensus": {
8141
+ "name": "FixedSignerGuildConsensus",
8142
+ "global": {
8143
+ "threshold": {
8144
+ "key": "signer_threshold",
8145
+ "type": "AVMUint64"
8146
+ },
8147
+ "memberCount": {
8148
+ "key": "member_count",
8149
+ "type": "AVMUint64"
8150
+ },
8151
+ "eligiblePower": {
8152
+ "key": "member_power",
8153
+ "type": "AVMUint64"
8154
+ },
8155
+ "membershipLocked": {
8156
+ "key": "members_locked",
8157
+ "type": "AVMUint64"
8158
+ },
8159
+ "weightMode": {
8160
+ "key": "weight_mode",
8161
+ "type": "uint8"
8162
+ },
8163
+ "membershipEpoch": {
8164
+ "key": "membership_epoch",
8165
+ "type": "AVMUint64"
8166
+ },
8167
+ "maximumMemberWeight": {
8168
+ "key": "maximum_member_weight",
8169
+ "type": "AVMUint64"
8170
+ },
8171
+ "guild": {
8172
+ "key": "guild",
8173
+ "type": "AVMUint64"
8174
+ },
8175
+ "activeBallots": {
8176
+ "key": "active_ballots",
8177
+ "type": "AVMUint64"
8178
+ },
8179
+ "activated": {
8180
+ "key": "activated",
8181
+ "type": "AVMUint64"
8182
+ }
8183
+ },
8184
+ "boxes": {
8185
+ "members": {
8186
+ "prefix": "m",
8187
+ "keyType": "address",
8188
+ "valueType": "Object75E64AB9"
8189
+ },
8190
+ "memberHistory": {
8191
+ "prefix": "h",
8192
+ "keyType": "ObjectA760343E",
8193
+ "valueType": "ObjectA68503ED"
8194
+ },
8195
+ "memberSnapshots": {
8196
+ "prefix": "s",
8197
+ "keyType": "uint64",
8198
+ "valueType": "ObjectEEB10897"
8199
+ },
8200
+ "ballots": {
8201
+ "prefix": "b",
8202
+ "keyType": "uint64",
8203
+ "valueType": "GuildConsensusBallot"
8204
+ },
8205
+ "votes": {
8206
+ "prefix": "v",
8207
+ "keyType": "GuildVoteKey",
8208
+ "valueType": "GuildVote"
8209
+ }
8210
+ },
8211
+ "methods": {
8212
+ "memberAdditionMbr": {
8213
+ "signature": "memberAdditionMbr(uint64)uint64",
8214
+ "selector": "aa927d7b",
8215
+ "args": [
8216
+ {
8217
+ "name": "count",
8218
+ "type": "uint64"
8219
+ }
8220
+ ],
8221
+ "returns": "uint64",
8222
+ "actions": [
8223
+ "NoOp"
8224
+ ]
8225
+ },
8226
+ "historyMbr": {
8227
+ "signature": "historyMbr()uint64",
8228
+ "selector": "db28eb21",
8229
+ "args": [],
8230
+ "returns": "uint64",
8231
+ "actions": [
8232
+ "NoOp"
8233
+ ]
8234
+ },
8235
+ "validateSettings": {
8236
+ "signature": "validateSettings((uint64,uint64,uint64,uint64,uint64,uint64))void",
8237
+ "selector": "9140c638",
8238
+ "args": [
8239
+ {
8240
+ "name": "settings",
8241
+ "type": "(uint64,uint64,uint64,uint64,uint64,uint64)",
8242
+ "struct": "GuildProposalSettings"
8243
+ }
8244
+ ],
8245
+ "returns": "void",
8246
+ "actions": [
8247
+ "NoOp"
8248
+ ]
8249
+ },
8250
+ "ballotMbr": {
8251
+ "signature": "ballotMbr()uint64",
8252
+ "selector": "d3d29643",
8253
+ "args": [],
8254
+ "returns": "uint64",
8255
+ "actions": [
8256
+ "NoOp"
8257
+ ]
8258
+ },
8259
+ "memberPowerAt": {
8260
+ "signature": "memberPowerAt(address,uint64,byte[])uint64",
8261
+ "selector": "f12a468e",
8262
+ "args": [
8263
+ {
8264
+ "name": "account",
8265
+ "type": "address"
8266
+ },
8267
+ {
8268
+ "name": "proposalID",
8269
+ "type": "uint64"
8270
+ },
8271
+ {
8272
+ "name": "evidence",
8273
+ "type": "byte[]"
8274
+ }
8275
+ ],
8276
+ "returns": "uint64",
8277
+ "actions": [
8278
+ "NoOp"
8279
+ ]
8280
+ },
8281
+ "cleanupBallot": {
8282
+ "signature": "cleanupBallot(uint64,address[])uint64",
8283
+ "selector": "a9e823cd",
8284
+ "args": [
8285
+ {
8286
+ "name": "proposalID",
8287
+ "type": "uint64"
8288
+ },
8289
+ {
8290
+ "name": "voters",
8291
+ "type": "address[]"
8292
+ }
8293
+ ],
8294
+ "returns": "uint64",
8295
+ "actions": [
8296
+ "NoOp"
8297
+ ]
8298
+ },
8299
+ "validateActivation": {
8300
+ "signature": "validateActivation()void",
8301
+ "selector": "b9865a61",
8302
+ "args": [],
8303
+ "returns": "void",
8304
+ "actions": [
8305
+ "NoOp"
8306
+ ]
8307
+ },
8308
+ "openProposal": {
8309
+ "signature": "openProposal(pay,uint64,uint64,(uint64,uint64,uint64))void",
8310
+ "selector": "68449088",
8311
+ "args": [
8312
+ {
8313
+ "name": "mbrPayment",
8314
+ "type": "pay"
8315
+ },
8316
+ {
8317
+ "name": "proposalID",
8318
+ "type": "uint64"
8319
+ },
8320
+ {
8321
+ "name": "votingEnd",
8322
+ "type": "uint64"
8323
+ },
8324
+ {
8325
+ "name": "requirements",
8326
+ "type": "(uint64,uint64,uint64)",
8327
+ "struct": "GuildConsensusRequirements"
8328
+ }
8329
+ ],
8330
+ "returns": "void",
8331
+ "actions": [
8332
+ "NoOp"
8333
+ ]
8334
+ },
8335
+ "resolveProposal": {
8336
+ "signature": "resolveProposal(uint64)(bool,uint64,uint64,uint64,uint64)",
8337
+ "selector": "5b3a8b00",
8338
+ "args": [
8339
+ {
8340
+ "name": "proposalID",
8341
+ "type": "uint64"
8342
+ }
8343
+ ],
8344
+ "returns": "(bool,uint64,uint64,uint64,uint64)",
8345
+ "actions": [
8346
+ "NoOp"
8347
+ ]
8348
+ },
8349
+ "vote": {
8350
+ "signature": "vote(pay,address,uint64,uint8,byte[])void",
8351
+ "selector": "3d7525e9",
8352
+ "args": [
8353
+ {
8354
+ "name": "mbrPayment",
8355
+ "type": "pay"
8356
+ },
8357
+ {
8358
+ "name": "voter",
8359
+ "type": "address"
8360
+ },
8361
+ {
8362
+ "name": "proposalID",
8363
+ "type": "uint64"
8364
+ },
8365
+ {
8366
+ "name": "vote",
8367
+ "type": "uint8"
8368
+ },
8369
+ {
8370
+ "name": "evidence",
8371
+ "type": "byte[]"
8372
+ }
8373
+ ],
8374
+ "returns": "void",
8375
+ "actions": [
8376
+ "NoOp"
8377
+ ]
8378
+ },
8379
+ "proposalPower": {
8380
+ "signature": "proposalPower(address,byte[],uint64)uint64",
8381
+ "selector": "c3eb7cd4",
8382
+ "args": [
8383
+ {
8384
+ "name": "account",
8385
+ "type": "address"
8386
+ },
8387
+ {
8388
+ "name": "evidence",
8389
+ "type": "byte[]"
8390
+ },
8391
+ {
8392
+ "name": "requiredThrough",
8393
+ "type": "uint64"
8394
+ }
8395
+ ],
8396
+ "returns": "uint64",
8397
+ "actions": [
8398
+ "NoOp"
8399
+ ]
8400
+ },
8401
+ "create": {
8402
+ "signature": "create(byte[])void",
8403
+ "selector": "8e79358d",
8404
+ "args": [
8405
+ {
8406
+ "name": "governanceConfig",
8407
+ "type": "byte[]"
8408
+ }
8409
+ ],
8410
+ "returns": "void",
8411
+ "actions": [
8412
+ "create:NoOp"
8413
+ ]
8414
+ },
8415
+ "configurationMbr": {
8416
+ "signature": "configurationMbr(byte[])uint64",
8417
+ "selector": "aa3e40a8",
8418
+ "args": [
8419
+ {
8420
+ "name": "config",
8421
+ "type": "byte[]"
8422
+ }
8423
+ ],
8424
+ "returns": "uint64",
8425
+ "actions": [
8426
+ "NoOp"
8427
+ ]
8428
+ },
8429
+ "configure": {
8430
+ "signature": "configure(pay,byte[])void",
8431
+ "selector": "8bff8387",
8432
+ "args": [
8433
+ {
8434
+ "name": "mbrPayment",
8435
+ "type": "pay"
8436
+ },
8437
+ {
8438
+ "name": "config",
8439
+ "type": "byte[]"
8440
+ }
8441
+ ],
8442
+ "returns": "void",
8443
+ "actions": [
8444
+ "NoOp"
8445
+ ]
8446
+ },
8447
+ "consensusActionMbr": {
8448
+ "signature": "consensusActionMbr(byte[])uint64",
8449
+ "selector": "857e2717",
8450
+ "args": [
8451
+ {
8452
+ "name": "data",
8453
+ "type": "byte[]"
8454
+ }
8455
+ ],
8456
+ "returns": "uint64",
8457
+ "actions": [
8458
+ "NoOp"
8459
+ ]
8460
+ },
8461
+ "applyConsensusAction": {
8462
+ "signature": "applyConsensusAction(pay,uint64,byte[])void",
8463
+ "selector": "67ed5fed",
8464
+ "args": [
8465
+ {
8466
+ "name": "mbrPayment",
8467
+ "type": "pay"
8468
+ },
8469
+ {
8470
+ "name": "proposalID",
8471
+ "type": "uint64"
8472
+ },
8473
+ {
8474
+ "name": "data",
8475
+ "type": "byte[]"
8476
+ }
8477
+ ],
8478
+ "returns": "void",
8479
+ "actions": [
8480
+ "NoOp"
8481
+ ]
8482
+ },
8483
+ "bindGuild": {
8484
+ "signature": "bindGuild(uint64)void",
8485
+ "selector": "3e87013b",
8486
+ "args": [
8487
+ {
8488
+ "name": "guild",
8489
+ "type": "uint64"
8490
+ }
8491
+ ],
8492
+ "returns": "void",
8493
+ "actions": [
8494
+ "NoOp"
8495
+ ]
8496
+ },
8497
+ "getBallot": {
8498
+ "signature": "getBallot(uint64)(bool,bool,uint64,uint64,uint64,(uint64,uint64,uint64),(uint64,uint64,uint64))",
8499
+ "selector": "92bb769e",
8500
+ "args": [
8501
+ {
8502
+ "name": "proposalID",
8503
+ "type": "uint64"
8504
+ }
8505
+ ],
8506
+ "returns": "(bool,bool,uint64,uint64,uint64,(uint64,uint64,uint64),(uint64,uint64,uint64))",
8507
+ "actions": [
8508
+ "NoOp"
8509
+ ]
8510
+ },
8511
+ "voteMbr": {
8512
+ "signature": "voteMbr()uint64",
8513
+ "selector": "6f9378e3",
8514
+ "args": [],
8515
+ "returns": "uint64",
8516
+ "actions": [
8517
+ "NoOp"
8518
+ ]
8519
+ },
8520
+ "hasVoted": {
8521
+ "signature": "hasVoted(uint64,address)bool",
8522
+ "selector": "f50808ef",
8523
+ "args": [
8524
+ {
8525
+ "name": "proposalID",
8526
+ "type": "uint64"
8527
+ },
8528
+ {
8529
+ "name": "voter",
8530
+ "type": "address"
8531
+ }
8532
+ ],
8533
+ "returns": "bool",
8534
+ "actions": [
8535
+ "NoOp"
8536
+ ]
8537
+ },
8538
+ "opUp": {
8539
+ "signature": "opUp()void",
8540
+ "selector": "854dede0",
8541
+ "args": [],
8542
+ "returns": "void",
8543
+ "actions": [
8544
+ "NoOp"
8545
+ ]
8546
+ }
8547
+ },
8548
+ "events": {},
8549
+ "structs": {
8550
+ "Object75E64AB9": [
8551
+ {
8552
+ "name": "weight",
8553
+ "type": "uint64"
8554
+ },
8555
+ {
8556
+ "name": "since",
8557
+ "type": "uint64"
8558
+ },
8559
+ {
8560
+ "name": "slot",
8561
+ "type": "uint64"
8562
+ }
8563
+ ],
8564
+ "ObjectA68503ED": [
8565
+ {
8566
+ "name": "weight",
8567
+ "type": "uint64"
8568
+ },
8569
+ {
8570
+ "name": "until",
8571
+ "type": "uint64"
8572
+ }
8573
+ ],
8574
+ "ObjectA760343E": [
8575
+ {
8576
+ "name": "account",
8577
+ "type": "address"
8578
+ },
8579
+ {
8580
+ "name": "since",
8581
+ "type": "uint64"
8582
+ }
8583
+ ],
8584
+ "ObjectEEB10897": [
8585
+ {
8586
+ "name": "epoch",
8587
+ "type": "uint64"
8588
+ },
8589
+ {
8590
+ "name": "mode",
8591
+ "type": "uint8"
8592
+ }
8593
+ ],
8594
+ "GuildConsensusBallot": [
8595
+ {
8596
+ "name": "resolved",
8597
+ "type": "bool"
8598
+ },
8599
+ {
8600
+ "name": "approved",
8601
+ "type": "bool"
8602
+ },
8603
+ {
8604
+ "name": "votingEnd",
8605
+ "type": "uint64"
8606
+ },
8607
+ {
8608
+ "name": "eligiblePower",
8609
+ "type": "uint64"
8610
+ },
8611
+ {
8612
+ "name": "voteCount",
8613
+ "type": "uint64"
8614
+ },
8615
+ {
8616
+ "name": "requirements",
8617
+ "type": "GuildConsensusRequirements"
8618
+ },
8619
+ {
8620
+ "name": "votes",
8621
+ "type": "GuildVoteTotals"
8622
+ }
8623
+ ],
8624
+ "GuildConsensusRequirements": [
8625
+ {
8626
+ "name": "participation",
8627
+ "type": "uint64"
8628
+ },
8629
+ {
8630
+ "name": "approval",
8631
+ "type": "uint64"
8632
+ },
8633
+ {
8634
+ "name": "minimumApprovals",
8635
+ "type": "uint64"
8636
+ }
8637
+ ],
8638
+ "GuildConsensusResult": [
8639
+ {
8640
+ "name": "approved",
8641
+ "type": "bool"
8642
+ },
8643
+ {
8644
+ "name": "approvals",
8645
+ "type": "uint64"
8646
+ },
8647
+ {
8648
+ "name": "rejections",
8649
+ "type": "uint64"
8650
+ },
8651
+ {
8652
+ "name": "abstains",
8653
+ "type": "uint64"
8654
+ },
8655
+ {
8656
+ "name": "eligiblePower",
8657
+ "type": "uint64"
8658
+ }
8659
+ ],
8660
+ "GuildProposalSettings": [
8661
+ {
8662
+ "name": "fee",
8663
+ "type": "uint64"
8664
+ },
8665
+ {
8666
+ "name": "power",
8667
+ "type": "uint64"
8668
+ },
8669
+ {
8670
+ "name": "duration",
8671
+ "type": "uint64"
8672
+ },
8673
+ {
8674
+ "name": "participation",
8675
+ "type": "uint64"
8676
+ },
8677
+ {
8678
+ "name": "approval",
8679
+ "type": "uint64"
8680
+ },
8681
+ {
8682
+ "name": "minimumApprovals",
8683
+ "type": "uint64"
8684
+ }
8685
+ ],
8686
+ "GuildVote": [
8687
+ {
8688
+ "name": "type",
8689
+ "type": "uint8"
8690
+ },
8691
+ {
8692
+ "name": "power",
8693
+ "type": "uint64"
8694
+ }
8695
+ ],
8696
+ "GuildVoteKey": [
8697
+ {
8698
+ "name": "proposalID",
8699
+ "type": "uint64"
8700
+ },
8701
+ {
8702
+ "name": "voter",
8703
+ "type": "address"
8704
+ }
8705
+ ],
8706
+ "GuildVoteTotals": [
8707
+ {
8708
+ "name": "approvals",
8709
+ "type": "uint64"
8710
+ },
8711
+ {
8712
+ "name": "rejections",
8713
+ "type": "uint64"
8714
+ },
8715
+ {
8716
+ "name": "abstains",
8717
+ "type": "uint64"
8718
+ }
8719
+ ]
8720
+ }
7299
8721
  }
7300
8722
  } as const
7301
8723