Class ContractVersion


  • public class ContractVersion
    extends java.lang.Object
    Contract version information
    Since:
    0.0.1
    • Constructor Detail

      • ContractVersion

        public ContractVersion​(java.lang.String hash,
                               int version,
                               int protocolVersionMajor)
      • ContractVersion

        public ContractVersion()
    • Method Detail

      • getHash

        public java.lang.String getHash()
        contract_hash(string) The hash address of the contract
      • getVersion

        public int getVersion()
        contract_version(integer)
      • getProtocolVersionMajor

        public int getProtocolVersionMajor()
        protocol_version_major(integer)
      • setHash

        public void setHash​(java.lang.String hash)
        contract_hash(string) The hash address of the contract
      • setVersion

        public void setVersion​(int version)
        contract_version(integer)
      • setProtocolVersionMajor

        public void setProtocolVersionMajor​(int protocolVersionMajor)
        protocol_version_major(integer)