Source Code
;; Contract: Loyalty Points
;; Description: Fungible token for rewards.
(define-fungible-token bonus-pts)
(define-public (mint (amount uint) (user principal))
(ft-mint? bonus-pts amount user)
)
(define-public (burn (amount uint) (user principal))
(ft-burn? bonus-pts amount user)
)Functions (2)
| Function | Access | Args |
|---|---|---|
| mint | public | amount: uint, user: principal |
| burn | public | amount: uint, user: principal |