Token

From wiki.cellframe.net
Revision as of 10:40, 22 May 2020 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Private token

Token flags

  • ALL_BLOCKED Blocked all permissions, usefull add it first and then add allows what you want to allow
  • ALL_ALLOWED Allowed all permissions if not blocked them. Be careful with this mode
  • ALL_FROZEN All permissions are temprorary frozen
  • ALL_UNFROZEN Unfrozen permissions
  • STATIC_ALL No token manipulations after declarations at all. Token declares staticly and can't variabed after
  • STATIC_FLAGS No token manipulations after declarations with flags
  • STATIC_PERMISSIONS_ALL No all permissions lists manipulations after declarations
  • STATIC_PERMISSIONS_DATUM_TYPE No datum type permissions lists manipulations after declarations
  • STATIC_PERMISSIONS_TX_SENDER No tx sender permissions lists manipulations after declarations
  • STATIC_PERMISSIONS_TX_RECEIVER No tx receiver permissions lists manipulations after declarations

Token params

  • flags list of token flags
  • total_supply Total supply - emission's maximum - to the <value>
  • total_signs_valid Valid signatures count's minimum
  • total_signs List of signature's pkey fingerprint to the list of owners
  • datum_type_allowed Allowed datum type(s)
  • datum_type_blocked Blocked datum type(s)
  • tx_receiver_allowed Allowed tx receiver(s)
  • tx_receiver_blocked Blocked tx receiver(s)
  • tx_sender_allowed Allowed tx receiver(s)
  • tx_sender_blocked Blocked tx receiver(s)

Token actions

General

  • flags_set <value> Set list of flags from <value> to token declaration
  • flags_unset <value> Unset list of flags from <value> from token declaration
  • total_supply <value> Set total supply - emission's maximum - to the <value>
  • total_signs_valid <value> Set valid signatures count's minimum
  • total_signs_add <value> Add signature's pkey fingerprint to the list of owners
  • total_signs_remove <value> Remove signature's pkey fingerprint from the owners

Datum type allowed/blocked updates

  • datum_type_allowed_add <value> Add allowed datum type(s)
  • datum_type_allowed_remove <value> Remove datum type(s) from allowed
  • datum_type_blocked_add <value> Add blocked datum type(s)
  • datum_type_blocked_remove <value> Remove datum type(s) from blocked

Tx receiver addresses allowed/blocked updates

  • tx_receiver_allowed_add <value> Add allowed tx receiver(s)
  • tx_receiver_allowed_remove <value> Remove tx receiver(s) from allowed
  • tx_receiver_blocked_add <value> Add blocked tx receiver(s)
  • tx_receiver_blocked_remove <value> Remove tx receiver(s) from blocked

Tx sender addresses allowed/blocked updates

  • tx_sender_allowed_add <value> Add allowed tx sender(s)
  • tx_sender_allowed_remove <value> Remove tx sender(s) from allowed
  • tx_sender_blocked_add <value> Add allowed tx sender(s)
  • tx_sender_blocked_remove <value> Remove tx sender(s) from blocked