Skip to content

Commit

Permalink
chore: update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Meier <norman@samourai.coop>
  • Loading branch information
n0izn0iz committed Apr 13, 2024
1 parent 165c1a6 commit 9fa8b45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/how-to-guides/creating-dao.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
```
Expand Down

0 comments on commit 9fa8b45

Please sign in to comment.