Class Entity


  • public class Entity
    extends java.lang.Object
    Methods and type signatures supported by a contract.
    • Constructor Detail

      • Entity

        public Entity()
    • Method Detail

      • getProtocolVersion

        public java.lang.String getProtocolVersion()
        Casper Platform protocol version
      • getEntityAddressKind

        public EntityAddressKind getEntityAddressKind()
        The type of Package.
      • getPackageHash

        public java.lang.String getPackageHash()
        A Package in the global state.
      • getByteCodeHash

        public java.lang.String getByteCodeHash()
        HashAddr which is the raw bytes of the ByteCodeHash
      • getMainPurse

        public URef getMainPurse()
        Purse address
      • getAssociatedKeys

        public java.util.List<AssociatedKey> getAssociatedKeys()
        A collection of weighted public keys (represented as account hashes) associated with an account.
      • getActionThresholds

        public ActionThresholds getActionThresholds()
        Thresholds that have to be met when executing an action of a certain type.
      • getMessageTopics

        public java.util.List<MessageTopic> getMessageTopics()
        Collection of named message topics.
      • setProtocolVersion

        public void setProtocolVersion​(java.lang.String protocolVersion)
        Casper Platform protocol version
      • setEntityAddressKind

        public void setEntityAddressKind​(EntityAddressKind entityAddressKind)
        The type of Package.
      • setPackageHash

        public void setPackageHash​(java.lang.String packageHash)
        A Package in the global state.
      • setByteCodeHash

        public void setByteCodeHash​(java.lang.String byteCodeHash)
        HashAddr which is the raw bytes of the ByteCodeHash
      • setMainPurse

        public void setMainPurse​(URef mainPurse)
        Purse address
      • setAssociatedKeys

        public void setAssociatedKeys​(java.util.List<AssociatedKey> associatedKeys)
        A collection of weighted public keys (represented as account hashes) associated with an account.
      • setActionThresholds

        public void setActionThresholds​(ActionThresholds actionThresholds)
        Thresholds that have to be met when executing an action of a certain type.
      • setMessageTopics

        public void setMessageTopics​(java.util.List<MessageTopic> messageTopics)
        Collection of named message topics.