Skip to content

Commit 59d9520

Browse files
authored
fix: typo in SIP-010 example implementation (#1756)
1 parent 2c87fa9 commit 59d9520

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/build/get-started/create-a-token/fungible-tokens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Any token contract that wants to conform to the SIP-010 fungible token standard
8181
(define-constant TOKEN_SYMBOL "CC")
8282
(define-constant TOKEN_DECIMALS u6) ;; 6 units displayed past decimal, e.g. 1.000_000 = 1 token
8383
84-
(define-data-var token_uri (string-utf8 256) u"https://hiro.so") ;; utf-8 string with token metadata host
84+
(define-data-var token-uri (string-utf8 256) u"https://hiro.so") ;; utf-8 string with token metadata host
8585
8686
;; SIP-010 function: Get the token balance of a specified principal
8787
(define-read-only (get-balance (who principal))
@@ -110,7 +110,7 @@ Any token contract that wants to conform to the SIP-010 fungible token standard
110110
111111
;; SIP-010 function: Returns the URI containing token metadata
112112
(define-read-only (get-token-uri)
113-
(ok (some (var-get token_uri)))
113+
(ok (some (var-get token-uri)))
114114
)
115115
116116
;; Properly updates token URI by emitting a SIP-019 token metadata update notification

0 commit comments

Comments
 (0)