// PKGPATH: gno.land/r/boards_test
package boards_test
// SEND: 200000000ugnot
import (
"strconv"
"gno.land/r/demo/boards"
"gno.land/r/demo/users"
)
var (
bid boards.BoardID
pid boards.PostID
)
func init() {
users.Register("", "gnouser", "my profile")
bid = boards.CreateBoard("test_board")
boards.CreateThread(bid, "First Post (title)", "Body of the first post. (body)")
pid = boards.CreateThread(bid, "Second Post (title)", "Body of the second post. (body)")
rid := boards.CreateReply(bid, pid, pid, "Reply of the second post")
println(rid)
}
func main() {
rid2 := boards.CreateReply(bid, pid, pid, "Second reply of the second post")
println(rid2)
println(boards.Render("test_board/" + strconv.Itoa(int(pid))))
}
// Output:
// 3
// 4
// # Second Post (title)
//
// Body of the second post. (body)
// \- [@gnouser](/r/demo/users:gnouser), [2009-02-13 11:31pm (UTC)](/r/demo/boards:test_board/2) \[[reply](/r/demo/boards?help&__func=CreateReply&bid=1&threadid=2&postid=2&body.type=textarea)] \[[repost](/r/demo/boards?help&__func=CreateRepost&bid=1&postid=2&title.type=textarea&body.type=textarea&dstBoardID.type=textarea)] \[[x](/r/demo/boards?help&__func=DeletePost&bid=1&threadid=2&postid=2)]
//
// > Reply of the second post
// > \- [@gnouser](/r/demo/users:gnouser), [2009-02-13 11:31pm (UTC)](/r/demo/boards:test_board/2/3) \[[reply](/r/demo/boards?help&__func=CreateReply&bid=1&threadid=2&postid=3&body.type=textarea)] \[[x](/r/demo/boards?help&__func=DeletePost&bid=1&threadid=2&postid=3)]
//
// > Second reply of the second post
// > \- [@gnouser](/r/demo/users:gnouser), [2009-02-13 11:31pm (UTC)](/r/demo/boards:test_board/2/4) \[[reply](/r/demo/boards?help&__func=CreateReply&bid=1&threadid=2&postid=4&body.type=textarea)] \[[x](/r/demo/boards?help&__func=DeletePost&bid=1&threadid=2&postid=4)]
// Realm:
// switchrealm["gno.land/r/demo/users"]
// switchrealm["gno.land/r/demo/boards"]
// u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:101]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "0000000003"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Escaped": true,
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:102"
// }
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "64"
// }
// },
// {
// "N": "AQAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "32"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:101",
// "ModTime": "109",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:110]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "0000000004"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Escaped": true,
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111"
// }
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "64"
// }
// },
// {
// "N": "AQAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "32"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:110",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "0000000004"
// }
// },
// {},
// {
// "N": "AQAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "64"
// }
// },
// {
// "N": "AgAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "32"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "b58581159917d8d7ad0992009d7184fc8ca00fcc",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:101"
// }
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "fb593e86d35aaf607e0d21e6bd4f84519c44585f",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:110"
// }
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:96",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:112]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:112",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:113]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:113",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:114]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:114",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:115]={
// "Fields": [
// {
// "N": "AAAAgJSeXbo=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "65536"
// }
// },
// {
// "N": "AbSNdvQQIhE=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "1024"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "time.Location"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": {
// "@type": "/gno.RefValue",
// "Escaped": true,
// "ObjectID": "336074805fc853987abe6f7fe3ad97a6a6f3077a:2"
// },
// "Index": "189",
// "TV": null
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:115",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:116]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "65536"
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "1024"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "time.Location"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:116",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Board"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Board"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Escaped": true,
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:81"
// }
// }
// }
// },
// {
// "N": "BAAAAAAAAAA=",
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.PostID"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "std.Address"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": ""
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "Second reply of the second post"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Tree"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "130542396d7549d1d516a3ef4a63bb44ef3da06f",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:112"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Tree"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "80acd8746478317194b8546170335c796a4dfb3f",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:113"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Tree"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "c1a8f769f3b9d52dd38ac4759116edaca287636f",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:114"
// }
// },
// {
// "N": "AgAAAAAAAAA=",
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.PostID"
// }
// },
// {
// "N": "AgAAAAAAAAA=",
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.PostID"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.BoardID"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "time.Time"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "25ffc45509708ca0ae17271cb4c3a1dfb367b965",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:115"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "time.Time"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "c3a60b602b564d07677a212372f4ac1cae4270fd",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:116"
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111",
// "IsEscaped": true,
// "ModTime": "0",
// "RefCount": "2"
// }
// }
// u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:108]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "0000000003"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Escaped": true,
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:102"
// }
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "64"
// }
// },
// {
// "N": "AQAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "32"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:108",
// "ModTime": "117",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:118]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "0000000004"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.Post"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Escaped": true,
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111"
// }
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "64"
// }
// },
// {
// "N": "AQAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "32"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:118",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117",
// "RefCount": "1"
// }
// }
// c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "0000000004"
// }
// },
// {},
// {
// "N": "AQAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "64"
// }
// },
// {
// "N": "AgAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "32"
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "6a86bc7763703c8f2b9d286368921159d6db121c",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:108"
// }
// }
// }
// },
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "52faa8a2dfefd4b6b6249eff2f9c123ad455e81d",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:118"
// }
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117",
// "ModTime": "0",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:97",
// "RefCount": "1"
// }
// }
// u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:81]={
// "Fields": [
// {
// "N": "AQAAAAAAAAA=",
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/r/demo/boards.BoardID"
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "/r/demo/boards:test_board"
// }
// },
// {
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "16"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "test_board"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "std.Address"
// },
// "V": {
// "@type": "/gno.StringValue",
// "value": "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Tree"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "a8e67b9881af89ca2ec2f05778bf7528a54a5833",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:82"
// }
// },
// {
// "N": "BAAAAAAAAAA=",
// "T": {
// "@type": "/gno.PrimitiveType",
// "value": "65536"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "time.Time"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "d8ae14a4620e3c6dedabd76cd0c5d7e3c205d647",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:83"
// }
// },
// {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Tree"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "edb1857302fa916c562cd077cdf2a3626e29ae2b",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:84"
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:81",
// "IsEscaped": true,
// "ModTime": "108",
// "RefCount": "6"
// }
// }
// u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:96]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "609e7f519c65f94503427a14f973b4b83989cdc8",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109"
// }
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:96",
// "ModTime": "108",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:95",
// "RefCount": "1"
// }
// }
// u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:97]={
// "Fields": [
// {
// "T": {
// "@type": "/gno.PointerType",
// "Elt": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// }
// },
// "V": {
// "@type": "/gno.PointerValue",
// "Base": null,
// "Index": "0",
// "TV": {
// "T": {
// "@type": "/gno.RefType",
// "ID": "gno.land/p/demo/avl.Node"
// },
// "V": {
// "@type": "/gno.RefValue",
// "Hash": "6760340f5b40e05221dc530940683b0b9a422503",
// "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117"
// }
// }
// }
// }
// ],
// "ObjectInfo": {
// "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:97",
// "ModTime": "108",
// "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:95",
// "RefCount": "1"
// }
// }
// switchrealm["gno.land/r/demo/boards"]
// switchrealm["gno.land/r/demo/users"]
// switchrealm["gno.land/r/demo/users"]
// switchrealm["gno.land/r/demo/users"]
// switchrealm["gno.land/r/demo/boards"]
// switchrealm["gno.land/r/boards_test"]