Functions

(define-public 
    (mint-for-vault 
        (amount uint) 
        (recipient principal))) 

The function mints the amount of tokens and transfers them to the recipient. The function can only be called by the vault contract.

(define-public 
    (burn-for-vault 
        (amount uint) 
        (sender principal))) 

The function burns the amount of tokens from the sender. The function can only be called by the vault contract.

(define-public 
    (burn 
        (amount uint) 
        (sender principal))) 

The function burns the amount of tokens from the sender.

Last updated