From 8390ec4d1cf1d03054a6eebeb3ffc6319aba44a3 Mon Sep 17 00:00:00 2001 From: Norman Meier Date: Sat, 13 Apr 2024 19:15:18 +0200 Subject: [PATCH] chore: update doc Signed-off-by: Norman Meier --- docs/how-to-guides/creating-dao.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/how-to-guides/creating-dao.md b/docs/how-to-guides/creating-dao.md index 742df629a19..443b357eb0c 100644 --- a/docs/how-to-guides/creating-dao.md +++ b/docs/how-to-guides/creating-dao.md @@ -83,8 +83,8 @@ There is only one implementation currently, `gno.land/p/demo/teritori/dao_propos Proposals actions are encoded as objects implementing `gno.land/p/demo/teritori/dao_interfaces.ExecutableMessage` ```go type ExecutableMessage interface { - ujson.JSONAble - ujson.FromJSONAble + ToJSON() *json.Node + FromJSON(ast *json.Node) String() string Type() string @@ -95,7 +95,7 @@ They are deserialized and executed by message handlers implementing `gno.land/p/ ```go type MessageHandler interface { Execute(message ExecutableMessage) - MessageFromJSON(ast *json.Node) ExecutableMessage + Instantiate() ExecutableMessage Type() string } ``` @@ -111,7 +111,6 @@ Sooo, let's create a new realm ``` git clone https://github.com/TERITORI/gno.git gno-dao-tutorial cd gno-dao-tutorial -git checkout teritori-unified mkdir examples/gno.land/r/demo/my_dao ```