File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/build/get-started/create-a-token Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments