.cryptocash-token-trait

.cryptocash-token-trait contract documentation

;; CryptoCash Token Trait

(define-trait cryptocash-token
  (
    (activate-token (uint)
      (response bool uint)
    )

    (set-token-uri ((optional (string-utf8 256)))
      (response bool uint)
    )

    (mint (uint principal)
      (response bool uint)
    )

    (burn (uint principal)
      (response bool uint)
    )

    (send-many ((list 200 { to: principal, amount: uint, memo: (optional (buff 34)) }))
      (response bool uint)
    )
  )
)
  1. activate-token: Function to activate the CryptoCash token contract.

  2. set-token-uri: Function to the set token URI for the CryptoCash token.

  3. mint: Function to mint new CryptoCash tokens into circulation.

  4. burn: Function to burns CryptoCash tokens out of circulation.

  5. send-many: Function to send CryptoCash tokens to multiple recipients.

Last updated