.cryptocash-token-trait

.cryptocash-token-trait contract documentation

Work in Progress

;; title: cryptocash-token-trait
;; version: 1.02
;; summary:
;; description:

(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)
    )
  )
)

Last updated