Class Account


  • public class Account
    extends java.lang.Object
    Structure representing a user's account, stored in global state.
    Since:
    0.0.1
    • Constructor Detail

      • Account

        public Account()
    • Method Detail

      • getHash

        public java.lang.String getHash()
        account_hash(String) Hex-encoded account hash.
      • getMainPurse

        public java.lang.String getMainPurse()
        main_purse(String) Hex-encoded, formatted URef.
      • getNamedKeys

        public java.util.List<NamedKey> getNamedKeys()
        named_keys (@link NamedKey)
      • setHash

        public void setHash​(java.lang.String hash)
        account_hash(String) Hex-encoded account hash.
      • setMainPurse

        public void setMainPurse​(java.lang.String mainPurse)
        main_purse(String) Hex-encoded, formatted URef.
      • setNamedKeys

        public void setNamedKeys​(java.util.List<NamedKey> namedKeys)
        named_keys (@link NamedKey)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object