From d6a09109448ce4acbb7ef94b1645003a6e59e967 Mon Sep 17 00:00:00 2001 From: z80 Date: Sun, 31 Dec 2023 18:42:51 -0500 Subject: [PATCH] Update README with new defvars format --- README.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 1107684..beca96d 100644 --- a/README.org +++ b/README.org @@ -13,9 +13,10 @@ Learn more in the [[file:docs.org][documentation]] * Examples [[https://dasy-by-example.github.io][More examples at Dasy By Example]] #+begin_src clojure -(defvars myMap (public (hash-map :address :uint256)) - nums (public (dyn-arr :uint256 3)) - owner (public :address)) +(defvars :public + myMap (hash-map :address :uint256) + nums (dyn-arr :uint256 3) + owner :address) (defn __init__ [] :external (set self/owner msg/sender)