From 34940f436ab8783d6ff77ddcbb9534d02dea5976 Mon Sep 17 00:00:00 2001 From: Brice Dobry <232827048+brice-stacks@users.noreply.github.com> Date: Mon, 29 Dec 2025 10:22:24 -0500 Subject: [PATCH] fix: typo in SIP-010 example implementation --- docs/build/get-started/create-a-token/fungible-tokens.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build/get-started/create-a-token/fungible-tokens.md b/docs/build/get-started/create-a-token/fungible-tokens.md index cc61c10812..c275cb7580 100644 --- a/docs/build/get-started/create-a-token/fungible-tokens.md +++ b/docs/build/get-started/create-a-token/fungible-tokens.md @@ -81,7 +81,7 @@ Any token contract that wants to conform to the SIP-010 fungible token standard (define-constant TOKEN_SYMBOL "CC") (define-constant TOKEN_DECIMALS u6) ;; 6 units displayed past decimal, e.g. 1.000_000 = 1 token -(define-data-var token_uri (string-utf8 256) u"https://hiro.so") ;; utf-8 string with token metadata host +(define-data-var token-uri (string-utf8 256) u"https://hiro.so") ;; utf-8 string with token metadata host ;; SIP-010 function: Get the token balance of a specified principal (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 ;; SIP-010 function: Returns the URI containing token metadata (define-read-only (get-token-uri) - (ok (some (var-get token_uri))) + (ok (some (var-get token-uri))) ) ;; Properly updates token URI by emitting a SIP-019 token metadata update notification