All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.hyperchain.sdk.bvm.operate.ContractMethod Maven / Gradle / Ivy

package cn.hyperchain.sdk.bvm.operate;

public enum ContractMethod {
    ConfigSetFilterEnable("SetFilterEnable"),
    ConfigSetFilterRules("SetFilterRules"),
    ConfigSetConsensusAlgo("SetConsensusAlgo"),
    ConfigSetConsensusSetSize("SetConsensusSetSize"),
    ConfigSetProposalTimeout("SetProposalTimeout"),
    ConfigSetProposalThreshold("SetProposalThreshold"),
    ConfigSetContractVoteThreshold("SetContractVoteThreshold"),
    ConfigSetContractVoteEnable("SetContractVoteEnable"),
    ConfigSetConsensusBatchSize("SetConsensusBatchSize"),
    ConfigSetConsensusPoolSize("SetConsensusPoolSize"),

    ContractDeployContract("DeployContract"),
    ContractUpgradeContract("UpgradeContract"),
    ContractMaintainContract("MaintainContract"),

    CNSSetCName("SetCName"),

    NodeAddNode("AddNode"),
    NodeAddVP("AddVP"),
    NodeRemoveVP("RemoveVP"),

    PermissionCreateRole("CreateRole"),
    PermissionDeleteRole("DeleteRole"),
    PermissionGrant("Grant"),
    PermissionRevoke("Revoke"),

    ProposalCreate("Create"),
    ProposalVote("Vote"),
    ProposalCancel("Cancel"),
    ProposalExecute("Execute"),

    HashSet("Set"),
    HashGet("Get"),

    AccountRegister("Register"),
    AccountAbandon("Abandon"),

    DIDSetChainID("SetChainID"),

    CertRevoke("CertRevoke"),
    CertCheck("CertCheck"),
    CertFreeze("CertFreeze"),
    CertUnfreeze("CertUnfreeze"),
    ;
    private String methodName;

    ContractMethod(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodName() {
        return methodName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy