adequate-jade-snake
SP32AEEF6WW5Y0NMJ1S8SBSZDAY8R5J32NBZFPKKZSource Code
(impl-trait 'SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.nft-trait.nft-trait)
(define-non-fungible-token rickroll uint)
(define-read-only (get-last-token-id)
(ok u10000)
)
(define-read-only (get-token-uri (id uint))
(ok (some "ipfs://ipfs/bafkreidsjwp6t5x6rap5utwblutdnp23cdpzlnqrq3ml4wrgoegeihkv2i"))
)
(define-read-only (get-owner (token-id uint))
(ok none)
)
(define-public (transfer (token-id uint) (sender principal) (recipient principal))
(err u0)
)
(nft-mint? rickroll u1 tx-sender)
Functions (4)
| Function | Access | Args |
|---|---|---|
| get-last-token-id | read-only | |
| get-token-uri | read-only | id: uint |
| get-owner | read-only | token-id: uint |
| transfer | public | token-id: uint, sender: principal, recipient: principal |