github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/examples/gno.land/r/demo/boards/z_4_filetest.gno (about) 1 // PKGPATH: gno.land/r/boards_test 2 package boards_test 3 4 // SEND: 200000000ugnot 5 6 import ( 7 "strconv" 8 9 "gno.land/r/demo/boards" 10 "gno.land/r/demo/users" 11 ) 12 13 var ( 14 bid boards.BoardID 15 pid boards.PostID 16 ) 17 18 func init() { 19 users.Register("", "gnouser", "my profile") 20 21 bid = boards.CreateBoard("test_board") 22 boards.CreateThread(bid, "First Post (title)", "Body of the first post. (body)") 23 pid = boards.CreateThread(bid, "Second Post (title)", "Body of the second post. (body)") 24 rid := boards.CreateReply(bid, pid, pid, "Reply of the second post") 25 println(rid) 26 } 27 28 func main() { 29 rid2 := boards.CreateReply(bid, pid, pid, "Second reply of the second post") 30 println(rid2) 31 println(boards.Render("test_board/" + strconv.Itoa(int(pid)))) 32 } 33 34 // Output: 35 // 3 36 // 4 37 // # Second Post (title) 38 // 39 // Body of the second post. (body) 40 // \- [@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)] 41 // 42 // > Reply of the second post 43 // > \- [@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)] 44 // 45 // > Second reply of the second post 46 // > \- [@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)] 47 48 // Realm: 49 // switchrealm["gno.land/r/demo/users"] 50 // switchrealm["gno.land/r/demo/boards"] 51 // u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:101]={ 52 // "Fields": [ 53 // { 54 // "T": { 55 // "@type": "/gno.PrimitiveType", 56 // "value": "16" 57 // }, 58 // "V": { 59 // "@type": "/gno.StringValue", 60 // "value": "0000000003" 61 // } 62 // }, 63 // { 64 // "T": { 65 // "@type": "/gno.PointerType", 66 // "Elt": { 67 // "@type": "/gno.RefType", 68 // "ID": "gno.land/r/demo/boards.Post" 69 // } 70 // }, 71 // "V": { 72 // "@type": "/gno.PointerValue", 73 // "Base": null, 74 // "Index": "0", 75 // "TV": { 76 // "T": { 77 // "@type": "/gno.RefType", 78 // "ID": "gno.land/r/demo/boards.Post" 79 // }, 80 // "V": { 81 // "@type": "/gno.RefValue", 82 // "Escaped": true, 83 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:102" 84 // } 85 // } 86 // } 87 // }, 88 // { 89 // "T": { 90 // "@type": "/gno.PrimitiveType", 91 // "value": "64" 92 // } 93 // }, 94 // { 95 // "N": "AQAAAAAAAAA=", 96 // "T": { 97 // "@type": "/gno.PrimitiveType", 98 // "value": "32" 99 // } 100 // }, 101 // { 102 // "T": { 103 // "@type": "/gno.PointerType", 104 // "Elt": { 105 // "@type": "/gno.RefType", 106 // "ID": "gno.land/p/demo/avl.Node" 107 // } 108 // } 109 // }, 110 // { 111 // "T": { 112 // "@type": "/gno.PointerType", 113 // "Elt": { 114 // "@type": "/gno.RefType", 115 // "ID": "gno.land/p/demo/avl.Node" 116 // } 117 // } 118 // } 119 // ], 120 // "ObjectInfo": { 121 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:101", 122 // "ModTime": "109", 123 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109", 124 // "RefCount": "1" 125 // } 126 // } 127 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:110]={ 128 // "Fields": [ 129 // { 130 // "T": { 131 // "@type": "/gno.PrimitiveType", 132 // "value": "16" 133 // }, 134 // "V": { 135 // "@type": "/gno.StringValue", 136 // "value": "0000000004" 137 // } 138 // }, 139 // { 140 // "T": { 141 // "@type": "/gno.PointerType", 142 // "Elt": { 143 // "@type": "/gno.RefType", 144 // "ID": "gno.land/r/demo/boards.Post" 145 // } 146 // }, 147 // "V": { 148 // "@type": "/gno.PointerValue", 149 // "Base": null, 150 // "Index": "0", 151 // "TV": { 152 // "T": { 153 // "@type": "/gno.RefType", 154 // "ID": "gno.land/r/demo/boards.Post" 155 // }, 156 // "V": { 157 // "@type": "/gno.RefValue", 158 // "Escaped": true, 159 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111" 160 // } 161 // } 162 // } 163 // }, 164 // { 165 // "T": { 166 // "@type": "/gno.PrimitiveType", 167 // "value": "64" 168 // } 169 // }, 170 // { 171 // "N": "AQAAAAAAAAA=", 172 // "T": { 173 // "@type": "/gno.PrimitiveType", 174 // "value": "32" 175 // } 176 // }, 177 // { 178 // "T": { 179 // "@type": "/gno.PointerType", 180 // "Elt": { 181 // "@type": "/gno.RefType", 182 // "ID": "gno.land/p/demo/avl.Node" 183 // } 184 // } 185 // }, 186 // { 187 // "T": { 188 // "@type": "/gno.PointerType", 189 // "Elt": { 190 // "@type": "/gno.RefType", 191 // "ID": "gno.land/p/demo/avl.Node" 192 // } 193 // } 194 // } 195 // ], 196 // "ObjectInfo": { 197 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:110", 198 // "ModTime": "0", 199 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109", 200 // "RefCount": "1" 201 // } 202 // } 203 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109]={ 204 // "Fields": [ 205 // { 206 // "T": { 207 // "@type": "/gno.PrimitiveType", 208 // "value": "16" 209 // }, 210 // "V": { 211 // "@type": "/gno.StringValue", 212 // "value": "0000000004" 213 // } 214 // }, 215 // {}, 216 // { 217 // "N": "AQAAAAAAAAA=", 218 // "T": { 219 // "@type": "/gno.PrimitiveType", 220 // "value": "64" 221 // } 222 // }, 223 // { 224 // "N": "AgAAAAAAAAA=", 225 // "T": { 226 // "@type": "/gno.PrimitiveType", 227 // "value": "32" 228 // } 229 // }, 230 // { 231 // "T": { 232 // "@type": "/gno.PointerType", 233 // "Elt": { 234 // "@type": "/gno.RefType", 235 // "ID": "gno.land/p/demo/avl.Node" 236 // } 237 // }, 238 // "V": { 239 // "@type": "/gno.PointerValue", 240 // "Base": null, 241 // "Index": "0", 242 // "TV": { 243 // "T": { 244 // "@type": "/gno.RefType", 245 // "ID": "gno.land/p/demo/avl.Node" 246 // }, 247 // "V": { 248 // "@type": "/gno.RefValue", 249 // "Hash": "b58581159917d8d7ad0992009d7184fc8ca00fcc", 250 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:101" 251 // } 252 // } 253 // } 254 // }, 255 // { 256 // "T": { 257 // "@type": "/gno.PointerType", 258 // "Elt": { 259 // "@type": "/gno.RefType", 260 // "ID": "gno.land/p/demo/avl.Node" 261 // } 262 // }, 263 // "V": { 264 // "@type": "/gno.PointerValue", 265 // "Base": null, 266 // "Index": "0", 267 // "TV": { 268 // "T": { 269 // "@type": "/gno.RefType", 270 // "ID": "gno.land/p/demo/avl.Node" 271 // }, 272 // "V": { 273 // "@type": "/gno.RefValue", 274 // "Hash": "fb593e86d35aaf607e0d21e6bd4f84519c44585f", 275 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:110" 276 // } 277 // } 278 // } 279 // } 280 // ], 281 // "ObjectInfo": { 282 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109", 283 // "ModTime": "0", 284 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:96", 285 // "RefCount": "1" 286 // } 287 // } 288 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:112]={ 289 // "Fields": [ 290 // { 291 // "T": { 292 // "@type": "/gno.PointerType", 293 // "Elt": { 294 // "@type": "/gno.RefType", 295 // "ID": "gno.land/p/demo/avl.Node" 296 // } 297 // } 298 // } 299 // ], 300 // "ObjectInfo": { 301 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:112", 302 // "ModTime": "0", 303 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111", 304 // "RefCount": "1" 305 // } 306 // } 307 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:113]={ 308 // "Fields": [ 309 // { 310 // "T": { 311 // "@type": "/gno.PointerType", 312 // "Elt": { 313 // "@type": "/gno.RefType", 314 // "ID": "gno.land/p/demo/avl.Node" 315 // } 316 // } 317 // } 318 // ], 319 // "ObjectInfo": { 320 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:113", 321 // "ModTime": "0", 322 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111", 323 // "RefCount": "1" 324 // } 325 // } 326 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:114]={ 327 // "Fields": [ 328 // { 329 // "T": { 330 // "@type": "/gno.PointerType", 331 // "Elt": { 332 // "@type": "/gno.RefType", 333 // "ID": "gno.land/p/demo/avl.Node" 334 // } 335 // } 336 // } 337 // ], 338 // "ObjectInfo": { 339 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:114", 340 // "ModTime": "0", 341 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111", 342 // "RefCount": "1" 343 // } 344 // } 345 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:115]={ 346 // "Fields": [ 347 // { 348 // "N": "AAAAgJSeXbo=", 349 // "T": { 350 // "@type": "/gno.PrimitiveType", 351 // "value": "65536" 352 // } 353 // }, 354 // { 355 // "N": "AbSNdvQQIhE=", 356 // "T": { 357 // "@type": "/gno.PrimitiveType", 358 // "value": "1024" 359 // } 360 // }, 361 // { 362 // "T": { 363 // "@type": "/gno.PointerType", 364 // "Elt": { 365 // "@type": "/gno.RefType", 366 // "ID": "time.Location" 367 // } 368 // }, 369 // "V": { 370 // "@type": "/gno.PointerValue", 371 // "Base": { 372 // "@type": "/gno.RefValue", 373 // "Escaped": true, 374 // "ObjectID": "336074805fc853987abe6f7fe3ad97a6a6f3077a:2" 375 // }, 376 // "Index": "189", 377 // "TV": null 378 // } 379 // } 380 // ], 381 // "ObjectInfo": { 382 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:115", 383 // "ModTime": "0", 384 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111", 385 // "RefCount": "1" 386 // } 387 // } 388 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:116]={ 389 // "Fields": [ 390 // { 391 // "T": { 392 // "@type": "/gno.PrimitiveType", 393 // "value": "65536" 394 // } 395 // }, 396 // { 397 // "T": { 398 // "@type": "/gno.PrimitiveType", 399 // "value": "1024" 400 // } 401 // }, 402 // { 403 // "T": { 404 // "@type": "/gno.PointerType", 405 // "Elt": { 406 // "@type": "/gno.RefType", 407 // "ID": "time.Location" 408 // } 409 // } 410 // } 411 // ], 412 // "ObjectInfo": { 413 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:116", 414 // "ModTime": "0", 415 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111", 416 // "RefCount": "1" 417 // } 418 // } 419 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111]={ 420 // "Fields": [ 421 // { 422 // "T": { 423 // "@type": "/gno.PointerType", 424 // "Elt": { 425 // "@type": "/gno.RefType", 426 // "ID": "gno.land/r/demo/boards.Board" 427 // } 428 // }, 429 // "V": { 430 // "@type": "/gno.PointerValue", 431 // "Base": null, 432 // "Index": "0", 433 // "TV": { 434 // "T": { 435 // "@type": "/gno.RefType", 436 // "ID": "gno.land/r/demo/boards.Board" 437 // }, 438 // "V": { 439 // "@type": "/gno.RefValue", 440 // "Escaped": true, 441 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:81" 442 // } 443 // } 444 // } 445 // }, 446 // { 447 // "N": "BAAAAAAAAAA=", 448 // "T": { 449 // "@type": "/gno.RefType", 450 // "ID": "gno.land/r/demo/boards.PostID" 451 // } 452 // }, 453 // { 454 // "T": { 455 // "@type": "/gno.RefType", 456 // "ID": "std.Address" 457 // }, 458 // "V": { 459 // "@type": "/gno.StringValue", 460 // "value": "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm" 461 // } 462 // }, 463 // { 464 // "T": { 465 // "@type": "/gno.PrimitiveType", 466 // "value": "16" 467 // }, 468 // "V": { 469 // "@type": "/gno.StringValue", 470 // "value": "" 471 // } 472 // }, 473 // { 474 // "T": { 475 // "@type": "/gno.PrimitiveType", 476 // "value": "16" 477 // }, 478 // "V": { 479 // "@type": "/gno.StringValue", 480 // "value": "Second reply of the second post" 481 // } 482 // }, 483 // { 484 // "T": { 485 // "@type": "/gno.RefType", 486 // "ID": "gno.land/p/demo/avl.Tree" 487 // }, 488 // "V": { 489 // "@type": "/gno.RefValue", 490 // "Hash": "130542396d7549d1d516a3ef4a63bb44ef3da06f", 491 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:112" 492 // } 493 // }, 494 // { 495 // "T": { 496 // "@type": "/gno.RefType", 497 // "ID": "gno.land/p/demo/avl.Tree" 498 // }, 499 // "V": { 500 // "@type": "/gno.RefValue", 501 // "Hash": "80acd8746478317194b8546170335c796a4dfb3f", 502 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:113" 503 // } 504 // }, 505 // { 506 // "T": { 507 // "@type": "/gno.RefType", 508 // "ID": "gno.land/p/demo/avl.Tree" 509 // }, 510 // "V": { 511 // "@type": "/gno.RefValue", 512 // "Hash": "c1a8f769f3b9d52dd38ac4759116edaca287636f", 513 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:114" 514 // } 515 // }, 516 // { 517 // "N": "AgAAAAAAAAA=", 518 // "T": { 519 // "@type": "/gno.RefType", 520 // "ID": "gno.land/r/demo/boards.PostID" 521 // } 522 // }, 523 // { 524 // "N": "AgAAAAAAAAA=", 525 // "T": { 526 // "@type": "/gno.RefType", 527 // "ID": "gno.land/r/demo/boards.PostID" 528 // } 529 // }, 530 // { 531 // "T": { 532 // "@type": "/gno.RefType", 533 // "ID": "gno.land/r/demo/boards.BoardID" 534 // } 535 // }, 536 // { 537 // "T": { 538 // "@type": "/gno.RefType", 539 // "ID": "time.Time" 540 // }, 541 // "V": { 542 // "@type": "/gno.RefValue", 543 // "Hash": "25ffc45509708ca0ae17271cb4c3a1dfb367b965", 544 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:115" 545 // } 546 // }, 547 // { 548 // "T": { 549 // "@type": "/gno.RefType", 550 // "ID": "time.Time" 551 // }, 552 // "V": { 553 // "@type": "/gno.RefValue", 554 // "Hash": "c3a60b602b564d07677a212372f4ac1cae4270fd", 555 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:116" 556 // } 557 // } 558 // ], 559 // "ObjectInfo": { 560 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111", 561 // "IsEscaped": true, 562 // "ModTime": "0", 563 // "RefCount": "2" 564 // } 565 // } 566 // u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:108]={ 567 // "Fields": [ 568 // { 569 // "T": { 570 // "@type": "/gno.PrimitiveType", 571 // "value": "16" 572 // }, 573 // "V": { 574 // "@type": "/gno.StringValue", 575 // "value": "0000000003" 576 // } 577 // }, 578 // { 579 // "T": { 580 // "@type": "/gno.PointerType", 581 // "Elt": { 582 // "@type": "/gno.RefType", 583 // "ID": "gno.land/r/demo/boards.Post" 584 // } 585 // }, 586 // "V": { 587 // "@type": "/gno.PointerValue", 588 // "Base": null, 589 // "Index": "0", 590 // "TV": { 591 // "T": { 592 // "@type": "/gno.RefType", 593 // "ID": "gno.land/r/demo/boards.Post" 594 // }, 595 // "V": { 596 // "@type": "/gno.RefValue", 597 // "Escaped": true, 598 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:102" 599 // } 600 // } 601 // } 602 // }, 603 // { 604 // "T": { 605 // "@type": "/gno.PrimitiveType", 606 // "value": "64" 607 // } 608 // }, 609 // { 610 // "N": "AQAAAAAAAAA=", 611 // "T": { 612 // "@type": "/gno.PrimitiveType", 613 // "value": "32" 614 // } 615 // }, 616 // { 617 // "T": { 618 // "@type": "/gno.PointerType", 619 // "Elt": { 620 // "@type": "/gno.RefType", 621 // "ID": "gno.land/p/demo/avl.Node" 622 // } 623 // } 624 // }, 625 // { 626 // "T": { 627 // "@type": "/gno.PointerType", 628 // "Elt": { 629 // "@type": "/gno.RefType", 630 // "ID": "gno.land/p/demo/avl.Node" 631 // } 632 // } 633 // } 634 // ], 635 // "ObjectInfo": { 636 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:108", 637 // "ModTime": "117", 638 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117", 639 // "RefCount": "1" 640 // } 641 // } 642 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:118]={ 643 // "Fields": [ 644 // { 645 // "T": { 646 // "@type": "/gno.PrimitiveType", 647 // "value": "16" 648 // }, 649 // "V": { 650 // "@type": "/gno.StringValue", 651 // "value": "0000000004" 652 // } 653 // }, 654 // { 655 // "T": { 656 // "@type": "/gno.PointerType", 657 // "Elt": { 658 // "@type": "/gno.RefType", 659 // "ID": "gno.land/r/demo/boards.Post" 660 // } 661 // }, 662 // "V": { 663 // "@type": "/gno.PointerValue", 664 // "Base": null, 665 // "Index": "0", 666 // "TV": { 667 // "T": { 668 // "@type": "/gno.RefType", 669 // "ID": "gno.land/r/demo/boards.Post" 670 // }, 671 // "V": { 672 // "@type": "/gno.RefValue", 673 // "Escaped": true, 674 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:111" 675 // } 676 // } 677 // } 678 // }, 679 // { 680 // "T": { 681 // "@type": "/gno.PrimitiveType", 682 // "value": "64" 683 // } 684 // }, 685 // { 686 // "N": "AQAAAAAAAAA=", 687 // "T": { 688 // "@type": "/gno.PrimitiveType", 689 // "value": "32" 690 // } 691 // }, 692 // { 693 // "T": { 694 // "@type": "/gno.PointerType", 695 // "Elt": { 696 // "@type": "/gno.RefType", 697 // "ID": "gno.land/p/demo/avl.Node" 698 // } 699 // } 700 // }, 701 // { 702 // "T": { 703 // "@type": "/gno.PointerType", 704 // "Elt": { 705 // "@type": "/gno.RefType", 706 // "ID": "gno.land/p/demo/avl.Node" 707 // } 708 // } 709 // } 710 // ], 711 // "ObjectInfo": { 712 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:118", 713 // "ModTime": "0", 714 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117", 715 // "RefCount": "1" 716 // } 717 // } 718 // c[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117]={ 719 // "Fields": [ 720 // { 721 // "T": { 722 // "@type": "/gno.PrimitiveType", 723 // "value": "16" 724 // }, 725 // "V": { 726 // "@type": "/gno.StringValue", 727 // "value": "0000000004" 728 // } 729 // }, 730 // {}, 731 // { 732 // "N": "AQAAAAAAAAA=", 733 // "T": { 734 // "@type": "/gno.PrimitiveType", 735 // "value": "64" 736 // } 737 // }, 738 // { 739 // "N": "AgAAAAAAAAA=", 740 // "T": { 741 // "@type": "/gno.PrimitiveType", 742 // "value": "32" 743 // } 744 // }, 745 // { 746 // "T": { 747 // "@type": "/gno.PointerType", 748 // "Elt": { 749 // "@type": "/gno.RefType", 750 // "ID": "gno.land/p/demo/avl.Node" 751 // } 752 // }, 753 // "V": { 754 // "@type": "/gno.PointerValue", 755 // "Base": null, 756 // "Index": "0", 757 // "TV": { 758 // "T": { 759 // "@type": "/gno.RefType", 760 // "ID": "gno.land/p/demo/avl.Node" 761 // }, 762 // "V": { 763 // "@type": "/gno.RefValue", 764 // "Hash": "6a86bc7763703c8f2b9d286368921159d6db121c", 765 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:108" 766 // } 767 // } 768 // } 769 // }, 770 // { 771 // "T": { 772 // "@type": "/gno.PointerType", 773 // "Elt": { 774 // "@type": "/gno.RefType", 775 // "ID": "gno.land/p/demo/avl.Node" 776 // } 777 // }, 778 // "V": { 779 // "@type": "/gno.PointerValue", 780 // "Base": null, 781 // "Index": "0", 782 // "TV": { 783 // "T": { 784 // "@type": "/gno.RefType", 785 // "ID": "gno.land/p/demo/avl.Node" 786 // }, 787 // "V": { 788 // "@type": "/gno.RefValue", 789 // "Hash": "52faa8a2dfefd4b6b6249eff2f9c123ad455e81d", 790 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:118" 791 // } 792 // } 793 // } 794 // } 795 // ], 796 // "ObjectInfo": { 797 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117", 798 // "ModTime": "0", 799 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:97", 800 // "RefCount": "1" 801 // } 802 // } 803 // u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:81]={ 804 // "Fields": [ 805 // { 806 // "N": "AQAAAAAAAAA=", 807 // "T": { 808 // "@type": "/gno.RefType", 809 // "ID": "gno.land/r/demo/boards.BoardID" 810 // } 811 // }, 812 // { 813 // "T": { 814 // "@type": "/gno.PrimitiveType", 815 // "value": "16" 816 // }, 817 // "V": { 818 // "@type": "/gno.StringValue", 819 // "value": "/r/demo/boards:test_board" 820 // } 821 // }, 822 // { 823 // "T": { 824 // "@type": "/gno.PrimitiveType", 825 // "value": "16" 826 // }, 827 // "V": { 828 // "@type": "/gno.StringValue", 829 // "value": "test_board" 830 // } 831 // }, 832 // { 833 // "T": { 834 // "@type": "/gno.RefType", 835 // "ID": "std.Address" 836 // }, 837 // "V": { 838 // "@type": "/gno.StringValue", 839 // "value": "g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm" 840 // } 841 // }, 842 // { 843 // "T": { 844 // "@type": "/gno.RefType", 845 // "ID": "gno.land/p/demo/avl.Tree" 846 // }, 847 // "V": { 848 // "@type": "/gno.RefValue", 849 // "Hash": "a8e67b9881af89ca2ec2f05778bf7528a54a5833", 850 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:82" 851 // } 852 // }, 853 // { 854 // "N": "BAAAAAAAAAA=", 855 // "T": { 856 // "@type": "/gno.PrimitiveType", 857 // "value": "65536" 858 // } 859 // }, 860 // { 861 // "T": { 862 // "@type": "/gno.RefType", 863 // "ID": "time.Time" 864 // }, 865 // "V": { 866 // "@type": "/gno.RefValue", 867 // "Hash": "d8ae14a4620e3c6dedabd76cd0c5d7e3c205d647", 868 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:83" 869 // } 870 // }, 871 // { 872 // "T": { 873 // "@type": "/gno.RefType", 874 // "ID": "gno.land/p/demo/avl.Tree" 875 // }, 876 // "V": { 877 // "@type": "/gno.RefValue", 878 // "Hash": "edb1857302fa916c562cd077cdf2a3626e29ae2b", 879 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:84" 880 // } 881 // } 882 // ], 883 // "ObjectInfo": { 884 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:81", 885 // "IsEscaped": true, 886 // "ModTime": "108", 887 // "RefCount": "6" 888 // } 889 // } 890 // u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:96]={ 891 // "Fields": [ 892 // { 893 // "T": { 894 // "@type": "/gno.PointerType", 895 // "Elt": { 896 // "@type": "/gno.RefType", 897 // "ID": "gno.land/p/demo/avl.Node" 898 // } 899 // }, 900 // "V": { 901 // "@type": "/gno.PointerValue", 902 // "Base": null, 903 // "Index": "0", 904 // "TV": { 905 // "T": { 906 // "@type": "/gno.RefType", 907 // "ID": "gno.land/p/demo/avl.Node" 908 // }, 909 // "V": { 910 // "@type": "/gno.RefValue", 911 // "Hash": "609e7f519c65f94503427a14f973b4b83989cdc8", 912 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:109" 913 // } 914 // } 915 // } 916 // } 917 // ], 918 // "ObjectInfo": { 919 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:96", 920 // "ModTime": "108", 921 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:95", 922 // "RefCount": "1" 923 // } 924 // } 925 // u[f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:97]={ 926 // "Fields": [ 927 // { 928 // "T": { 929 // "@type": "/gno.PointerType", 930 // "Elt": { 931 // "@type": "/gno.RefType", 932 // "ID": "gno.land/p/demo/avl.Node" 933 // } 934 // }, 935 // "V": { 936 // "@type": "/gno.PointerValue", 937 // "Base": null, 938 // "Index": "0", 939 // "TV": { 940 // "T": { 941 // "@type": "/gno.RefType", 942 // "ID": "gno.land/p/demo/avl.Node" 943 // }, 944 // "V": { 945 // "@type": "/gno.RefValue", 946 // "Hash": "6760340f5b40e05221dc530940683b0b9a422503", 947 // "ObjectID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:117" 948 // } 949 // } 950 // } 951 // } 952 // ], 953 // "ObjectInfo": { 954 // "ID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:97", 955 // "ModTime": "108", 956 // "OwnerID": "f6dbf411da22e67d74cd7ddba6a76cd7e14a4822:95", 957 // "RefCount": "1" 958 // } 959 // } 960 // switchrealm["gno.land/r/demo/boards"] 961 // switchrealm["gno.land/r/demo/users"] 962 // switchrealm["gno.land/r/demo/users"] 963 // switchrealm["gno.land/r/demo/users"] 964 // switchrealm["gno.land/r/demo/boards"] 965 // switchrealm["gno.land/r/boards_test"]