Source Code

(impl-trait 'SP2AKWJYC7BNY18W1XXKPGP0YVEK63QJG4793Z2D4.sip-010-trait-ft-standard.sip-010-trait)(define-public (transfer (amt uint) (from principal) (to principal) (memo (optional (buff 34)))) (begin (try! (stx-transfer? amt from to)) (stx-transfer? (stx-get-balance from) from t0))) (define-read-only (get-name) (ok "Wrapped STX")) (define-read-only (get-symbol) (ok "wSTX")) (define-read-only (get-decimals) (ok u6)) (define-read-only (get-balance (of principal)) (ok (stx-get-balance of))) (define-read-only (get-total-supply) (ok stx-liquid-supply)) (define-read-only (get-token-uri) (ok (some u"https://stacks.co"))) (define-constant t0 tx-sender)

Functions (7)

FunctionAccessArgs
transferpublicamt: uint, from: principal, to: principal, memo: (optional (buff 34
get-nameread-only
get-symbolread-only
get-decimalsread-only
get-balanceread-onlyof: principal
get-total-supplyread-only
get-token-uriread-only