count
intValue
7
note
stringValue
"hello from gnosmoke"
Increment
func(n int) intIncrement adds n and returns the new total. It panics on a non-positive n, which is what the scenario's expect\_fail step exercises: a realm that aborts is a different outcome from one that is unreachable, and only a real chain tells the two apart.
- OID
- 0a9b6c…e483:5
Increment details
SetNote
func(s string)SetNote stores a short string, so the scenario covers a string argument surviving the round trip through amino and back out of Render.
- OID
- 0a9b6c…e483:7
SetNote details
Get
func() intGet is the QEval target: an int return, read with no gas and no key.
- OID
- 0a9b6c…e483:8
Get details
Render
func(path string) string- OID
- 0a9b6c…e483:9