From 9580e4070e89fa1d98cc5f268f8e15b2795f57b3 Mon Sep 17 00:00:00 2001 From: gfanton Date: Thu, 27 Jun 2024 01:31:08 +0000 Subject: [PATCH] chore: update test3.gno.land backup --- test3.gno.land/README.md | 6 +++- test3.gno.land/backup_0456417-0457859.jsonl | 17 +++++++++++ .../extracted/p/demo2/hello/pkg_metadata.json | 2 +- .../extracted/p/test2/hello/package.gno | 12 ++++++-- .../extracted/p/test2/hello/pkg_metadata.json | 2 +- .../extracted/r/a/goodbye1/package.gno | 5 ++++ .../extracted/r/a/goodbye1/pkg_metadata.json | 1 + .../extracted/r/asd/hello/package.gno | 2 +- .../extracted/r/asd/hello/pkg_metadata.json | 2 +- .../extracted/r/demo/harambe/GRC20.gno | 2 +- .../r/demo/harambe/pkg_metadata.json | 2 +- .../extracted/r/demo/hello/hello.gno | 18 +++++------ .../extracted/r/demo/hello/pkg_metadata.json | 2 +- .../extracted/r/demo/hello_test_03/hello.gno | 5 ++++ .../r/demo/hello_test_03/pkg_metadata.json | 1 + .../extracted/r/demo/hello_test_04/hello.gno | 5 ++++ .../r/demo/hello_test_04/pkg_metadata.json | 1 + .../extracted/r/demo/users/GRC20.gno | 30 +++++++++---------- .../extracted/r/demo/users/pkg_metadata.json | 2 +- .../extracted/r/demo2/greeting/greeting.gno | 26 ++++++++-------- .../extracted/r/demo2/greeting/package.gno | 13 ++------ .../r/demo2/greeting/pkg_metadata.json | 2 +- .../extracted/r/hello/hello/package.gno | 2 +- .../extracted/r/hello15/hello/package.gno | 6 +++- .../r/hello15/hello/pkg_metadata.json | 2 +- .../r/quanghoangf/counter/package.gno | 15 ++++------ .../extracted/r/rj111/hellojaeho1/package.gno | 5 ++++ .../r/rj111/hellojaeho1/pkg_metadata.json | 1 + .../extracted/r/test/hello/pkg_metadata.json | 2 +- .../extracted/r/test/test/package.gno | 2 +- .../extracted/r/test/test/pkg_metadata.json | 2 +- test3.gno.land/metadata.json | 2 +- 32 files changed, 118 insertions(+), 79 deletions(-) create mode 100755 test3.gno.land/backup_0456417-0457859.jsonl create mode 100644 test3.gno.land/extracted/r/a/goodbye1/package.gno create mode 100644 test3.gno.land/extracted/r/a/goodbye1/pkg_metadata.json create mode 100644 test3.gno.land/extracted/r/demo/hello_test_03/hello.gno create mode 100644 test3.gno.land/extracted/r/demo/hello_test_03/pkg_metadata.json create mode 100644 test3.gno.land/extracted/r/demo/hello_test_04/hello.gno create mode 100644 test3.gno.land/extracted/r/demo/hello_test_04/pkg_metadata.json create mode 100644 test3.gno.land/extracted/r/rj111/hellojaeho1/package.gno create mode 100644 test3.gno.land/extracted/r/rj111/hellojaeho1/pkg_metadata.json diff --git a/test3.gno.land/README.md b/test3.gno.land/README.md index a776f79f..527cbbea 100644 --- a/test3.gno.land/README.md +++ b/test3.gno.land/README.md @@ -2,7 +2,7 @@ ## TXs ``` -8904 +8921 ``` ## addpkgs @@ -480,6 +480,7 @@ 1 "gno.land/r/rozaser/hello" 1 "gno.land/r/romka_h/hello" 1 "gno.land/r/roger/counter" + 1 "gno.land/r/rj111/hellojaeho1" 1 "gno.land/r/ritesh/ritesh" 1 "gno.land/r/rifatmax/eeee" 1 "gno.land/r/rawr/counter" @@ -926,6 +927,8 @@ 1 "gno.land/r/demo/hhh" 1 "gno.land/r/demo/hgh" 1 "gno.land/r/demo/hfd" + 1 "gno.land/r/demo/hello_test_04" + 1 "gno.land/r/demo/hello_test_03" 1 "gno.land/r/demo/hello_j_4" 1 "gno.land/r/demo/hello_j_3" 1 "gno.land/r/demo/hello_j_2" @@ -1148,6 +1151,7 @@ 1 "gno.land/r/alanrsoares/pad" 1 "gno.land/r/alanrsoares/hello_counter_v0_0_1" 1 "gno.land/r/alanrsoares/hello" + 1 "gno.land/r/a/goodbye1" 1 "gno.land/r/Genzo/Genzo" 1 "gno.land/r/Demo/bad" 1 "gno.land/r/Chaddi/Chaddi_test" diff --git a/test3.gno.land/backup_0456417-0457859.jsonl b/test3.gno.land/backup_0456417-0457859.jsonl new file mode 100755 index 00000000..b5faf0ec --- /dev/null +++ b/test3.gno.land/backup_0456417-0457859.jsonl @@ -0,0 +1,17 @@ +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1xmugg9x4ynp8uuglc5t67jggefp48whmp38k8n","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"3iSwxxSnqIReDw/HK+6iAENTgt7TtalsnuB2bB8wJBYwJeFMkEMwDtiEdi2bXHnuH7OymBNzcy72svl1Wi4BAA=="}],"memo":""},"blockNum":"456553"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"BGVC36uwCxAKrGd///RMSk/Yu4XABvzCtV+wAcsZioZGy0X3eNY4GSK2++0/6/aXQXaWylAmz148gIX9ZEm3Zw=="}],"memo":""},"blockNum":"456565"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"kQI0gDT56MV+mtV2pSPCuA1kSG5gr81YOhQDTACbwxE1xIHsTHciFHHxSGv//QoRFdlR155AMSPEPmVa6TdQ2w=="}],"memo":""},"blockNum":"456567"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"/a8BTPrF9O6wcgp7N2Yki0eOIhIEOAbXJHnyIEFd97AW75z0w1Me+l3LRSC0pFphFl3f4kBHbSBLfJaMPO77mQ=="}],"memo":""},"blockNum":"456569"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"auOw5nDv2IvAvaSCyeZ+syjswVvKFyssuCcuLn76+LAs/fq1JPpWgAShrX6T5+bz6x9wTBjuUmdrEg7CFmDfFg=="}],"memo":""},"blockNum":"456572"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"KPuzenIO58bmWjCAoXjXm6S4uYKwv0HDf07Fjf30FMtRCp+q6JRdZWEC5yBb2x1huII3zynaJQTy3HpCIjCzTA=="}],"memo":""},"blockNum":"456574"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"7Wcue2OVio3L7d9fxlUYSs9Lw7sQk2LeK3NRgEatoE56uLSsewcJTVUlAWegc825a6rBn4WU2rQrasbZKJtesA=="}],"memo":""},"blockNum":"456576"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"OxJFE5sulKY6NulKbOgQ2eoP2qJSYAfktxkupPSzjjsfmTO07hiJ6pib9mGp+WbAST2HZVd4qCG+m8BhN3oy2A=="}],"memo":""},"blockNum":"456598"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1pfstv3zz4swue9sjey74m7aqfn6m4lasknaucp","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"M1SdpA8TNQxaBlAl8rIZPKUFY3Yd/URm+fCWxpygtN010OXWuSuiyGk/1wH5z6/CLup1B6OQ58x/ELItmtku+Q=="}],"memo":""},"blockNum":"456600"} +{"tx":{"msg":[{"@type":"/vm.m_addpkg","creator":"g13f63ua8uhmuf9mgc0x8zfz04yrsaqh7j78vcgq","package":{"Name":"hellojaeho1","Path":"gno.land/r/rj111/hellojaeho1","Files":[{"Name":"package.gno","Body":"package hellojaeho1\n\nfunc Render(path string) string {\n return \"Hello World!\"\n}\n"}]},"deposit":"1ugnot"}],"fee":{"gas_wanted":"10000000","gas_fee":"50000ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A1CWzHwZ/FjY00hsAQhl6pnpuR3ulUiXgkMx0Te14ATX"},"signature":"3rvNtbARqQx3SJ5t62JafF+Md9ahEk2OgdFObIPKvYQwW9yA031U47I3NCdEBBRAXwR8AXAazM6p/p+yWmLFTQ=="}],"memo":"Deployed through play.gno.land"},"blockNum":"456663"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g19fs7tzl2r4hpvpvxt9tvv54gpy6fekt8shzp4q","to_address":"g1ckddn039khwxzu4v5mc8n34vd9ksaks2l6c3kg","amount":"10000000ugnot"}],"fee":{"gas_wanted":"1000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A9/1C31yQAezwSMHVzo9t5Sa+loXWIa+Cv4ywAobNOwT"},"signature":"ysFqG2Hjtmi1w93IEkojxMCQ4TJh4B1p/4FTnvovCT54Z1ShIyWIlcOrg8N3hoCQykpvwF2eG3iPpn5OqHvBQA=="}],"memo":""},"blockNum":"456675"} +{"tx":{"msg":[{"@type":"/vm.m_addpkg","creator":"g19fs7tzl2r4hpvpvxt9tvv54gpy6fekt8shzp4q","package":{"Name":"goodbye1","Path":"gno.land/r/a/goodbye1","Files":[{"Name":"package.gno","Body":"package goodbye1\n\nfunc Render(path string) string {\n return \"Hello World!\"\n}\n"}]},"deposit":"1ugnot"}],"fee":{"gas_wanted":"10000000","gas_fee":"50000ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A9/1C31yQAezwSMHVzo9t5Sa+loXWIa+Cv4ywAobNOwT"},"signature":"+Y3T0lNByYS3GBIppxX8/pMQTtWrGytt/lE/aRtILyl9u+Jt9/I1faYch6a0mA0N/gDQUijwbPAQNiqzDbr5Lw=="}],"memo":"Deployed through play.gno.land"},"blockNum":"456677"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1xmugg9x4ynp8uuglc5t67jggefp48whmp38k8n","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"vXitNw0RnpWJhbSastFCTT0glevm9/v2cjRyZO8mmi5k0Qe08boqM7XC/eiUY11XtLu2IaJbMqwpBylt56K9+Q=="}],"memo":""},"blockNum":"456679"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g13d7jc32adhc39erm5me38w5v7ej7lpvlnqjk73","to_address":"g1z6ykhrvel4nu49ugyf7e0at89u86cf9d6h0ucr","amount":"20000000ugnot"}],"fee":{"gas_wanted":"2000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A/+cjV0/gZkWzMqCul8aP5hC7M3yliIs17uinn/+66uR"},"signature":"mXVP09uT4k4uQrXlc3whgJKWd2kGhgJNzjLq5UfYgBoGuKtpSHh6EC4rRyglR9o36AzLnui4M+odDWMt8/HR9A=="}],"memo":""},"blockNum":"456682"} +{"tx":{"msg":[{"@type":"/vm.m_addpkg","creator":"g13f63ua8uhmuf9mgc0x8zfz04yrsaqh7j78vcgq","package":{"Name":"hello","Path":"gno.land/r/demo/hello_test_03","Files":[{"Name":"hello.gno","Body":"package hello\n\nfunc Render(path string) string {\n return \"Hello World!\"\n}"}]},"deposit":""}],"fee":{"gas_wanted":"10000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A1CWzHwZ/FjY00hsAQhl6pnpuR3ulUiXgkMx0Te14ATX"},"signature":"WjXhtNgFfh90i5OEGiZqqfLVkfvXPZ4eKP2XHEDI8HQ4TY3DPoKy4jYaeRIVqcJgmy1ACiDGq5+tpgMmCxPm8A=="}],"memo":""},"blockNum":"457818"} +{"tx":{"msg":[{"@type":"/bank.MsgSend","from_address":"g18l9us6trqaljw39j94wzf5ftxmd9qqkvrxghd2","to_address":"g15m526qur3ggut82vk0q5za6jzg4eaaclgfh2mx","amount":"10000000ugnot"}],"fee":{"gas_wanted":"100000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"AxjyQBsJI8CesbgwihvS/eQtYKoezyoA9P+FRlLAKRwg"},"signature":"55pZgJbW/JmiEfjQ3y3Vdi9wRl/6NgpV/qQR7EedQ8wvy+74JvE+nximjc93W7wOBA9gjZDXTKjwcCvDx91SJA=="}],"memo":""},"blockNum":"457840"} +{"tx":{"msg":[{"@type":"/vm.m_addpkg","creator":"g15m526qur3ggut82vk0q5za6jzg4eaaclgfh2mx","package":{"Name":"hello","Path":"gno.land/r/demo/hello_test_04","Files":[{"Name":"hello.gno","Body":"package hello\n\nfunc Render(path string) string {\n return \"Hello World!\"\n}"}]},"deposit":""}],"fee":{"gas_wanted":"10000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"A6w0mVQt5kN6HMSUAhIX1NBQqQNIROl4WnIU/JbaKqcv"},"signature":"FMSx2J6szoBJWomJF56AVAOuG7UWM1qrrsLFeQ4MOnc+0hNspXnGfiK4RFihRBQNbFtyJdM+pai0n08ZGdibCg=="}],"memo":""},"blockNum":"457842"} diff --git a/test3.gno.land/extracted/p/demo2/hello/pkg_metadata.json b/test3.gno.land/extracted/p/demo2/hello/pkg_metadata.json index 09005919..18bf8ca3 100644 --- a/test3.gno.land/extracted/p/demo2/hello/pkg_metadata.json +++ b/test3.gno.land/extracted/p/demo2/hello/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1f748xee7gpwldyrz4xea3nk6hw24lfya49fus8","deposit":""} \ No newline at end of file +{"creator":"g100xslzk674xuv3s0q8yp44cr63l26z2y4n7ycg","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/p/test2/hello/package.gno b/test3.gno.land/extracted/p/test2/hello/package.gno index d36874bc..ad068318 100644 --- a/test3.gno.land/extracted/p/test2/hello/package.gno +++ b/test3.gno.land/extracted/p/test2/hello/package.gno @@ -1,5 +1,13 @@ package hello -func Render(path string) string { - return "Hello World!" +var { + hello string +} + +func SetHello(msg string){ + hello = msg +} + +func GetHello() string { + return hello } diff --git a/test3.gno.land/extracted/p/test2/hello/pkg_metadata.json b/test3.gno.land/extracted/p/test2/hello/pkg_metadata.json index 18bf8ca3..b8bb6355 100644 --- a/test3.gno.land/extracted/p/test2/hello/pkg_metadata.json +++ b/test3.gno.land/extracted/p/test2/hello/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g100xslzk674xuv3s0q8yp44cr63l26z2y4n7ycg","deposit":""} \ No newline at end of file +{"creator":"g1v4e0gv2m6gpqh6mx0auu6x6gmep9yt6cxj6q5f","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/a/goodbye1/package.gno b/test3.gno.land/extracted/r/a/goodbye1/package.gno new file mode 100644 index 00000000..ea5185d3 --- /dev/null +++ b/test3.gno.land/extracted/r/a/goodbye1/package.gno @@ -0,0 +1,5 @@ +package goodbye1 + +func Render(path string) string { + return "Hello World!" +} diff --git a/test3.gno.land/extracted/r/a/goodbye1/pkg_metadata.json b/test3.gno.land/extracted/r/a/goodbye1/pkg_metadata.json new file mode 100644 index 00000000..6f93cbf9 --- /dev/null +++ b/test3.gno.land/extracted/r/a/goodbye1/pkg_metadata.json @@ -0,0 +1 @@ +{"creator":"g19fs7tzl2r4hpvpvxt9tvv54gpy6fekt8shzp4q","deposit":"1ugnot"} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/asd/hello/package.gno b/test3.gno.land/extracted/r/asd/hello/package.gno index d36874bc..7371e8ba 100644 --- a/test3.gno.land/extracted/r/asd/hello/package.gno +++ b/test3.gno.land/extracted/r/asd/hello/package.gno @@ -1,5 +1,5 @@ package hello -func Render(path string) string { +func Render(path string) a string { return "Hello World!" } diff --git a/test3.gno.land/extracted/r/asd/hello/pkg_metadata.json b/test3.gno.land/extracted/r/asd/hello/pkg_metadata.json index 5d7dd79e..5235ccf7 100644 --- a/test3.gno.land/extracted/r/asd/hello/pkg_metadata.json +++ b/test3.gno.land/extracted/r/asd/hello/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1yc0x2kj67mj564zsjyp27t5zya5eynnrdqkpqv","deposit":"1ugnot"} \ No newline at end of file +{"creator":"g1fsu3z335h5qngf7t3lmakvpmpwg9ae76tqwh7c","deposit":"1ugnot"} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/harambe/GRC20.gno b/test3.gno.land/extracted/r/demo/harambe/GRC20.gno index 94992a7d..17e4a290 100644 --- a/test3.gno.land/extracted/r/demo/harambe/GRC20.gno +++ b/test3.gno.land/extracted/r/demo/harambe/GRC20.gno @@ -11,7 +11,7 @@ import ( var ( harambe *grc20.AdminToken - admin std.Address = "g1lk45335udge6nefk733e852rmexrc94m52tdt9" + admin std.Address = "g1h6n749m920lvaef2qrpsa2vmssr4sq60ykqks3" ) func init() { diff --git a/test3.gno.land/extracted/r/demo/harambe/pkg_metadata.json b/test3.gno.land/extracted/r/demo/harambe/pkg_metadata.json index 93356881..445b8033 100644 --- a/test3.gno.land/extracted/r/demo/harambe/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo/harambe/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1lk45335udge6nefk733e852rmexrc94m52tdt9","deposit":""} \ No newline at end of file +{"creator":"g1h6n749m920lvaef2qrpsa2vmssr4sq60ykqks3","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/hello/hello.gno b/test3.gno.land/extracted/r/demo/hello/hello.gno index 957da241..8f618807 100644 --- a/test3.gno.land/extracted/r/demo/hello/hello.gno +++ b/test3.gno.land/extracted/r/demo/hello/hello.gno @@ -1,13 +1,9 @@ -package hello +package main -func Hello() string { - return "Hello() called" -} - -// func Render() string { -// return "Render() called" -// } +import ( + "fmt" +) -func Render(path string) string { - return "Render(path string) called with\n# " + path -} \ No newline at end of file +func main() { + fmt.Println("Hello, world!") +} diff --git a/test3.gno.land/extracted/r/demo/hello/pkg_metadata.json b/test3.gno.land/extracted/r/demo/hello/pkg_metadata.json index 24c455f9..b9a58d0c 100644 --- a/test3.gno.land/extracted/r/demo/hello/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo/hello/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1ayxdpq5jzqrkedjp57xvdhvf9g6jjwhxt5wn2f","deposit":"1ugnot"} \ No newline at end of file +{"creator":"g1gy76zgcx98rwg4shsm7ket8r3qny9gzdpyjhwm","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/hello_test_03/hello.gno b/test3.gno.land/extracted/r/demo/hello_test_03/hello.gno new file mode 100644 index 00000000..db696ad4 --- /dev/null +++ b/test3.gno.land/extracted/r/demo/hello_test_03/hello.gno @@ -0,0 +1,5 @@ +package hello + +func Render(path string) string { + return "Hello World!" +} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/hello_test_03/pkg_metadata.json b/test3.gno.land/extracted/r/demo/hello_test_03/pkg_metadata.json new file mode 100644 index 00000000..4ef51d3b --- /dev/null +++ b/test3.gno.land/extracted/r/demo/hello_test_03/pkg_metadata.json @@ -0,0 +1 @@ +{"creator":"g13f63ua8uhmuf9mgc0x8zfz04yrsaqh7j78vcgq","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/hello_test_04/hello.gno b/test3.gno.land/extracted/r/demo/hello_test_04/hello.gno new file mode 100644 index 00000000..db696ad4 --- /dev/null +++ b/test3.gno.land/extracted/r/demo/hello_test_04/hello.gno @@ -0,0 +1,5 @@ +package hello + +func Render(path string) string { + return "Hello World!" +} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/hello_test_04/pkg_metadata.json b/test3.gno.land/extracted/r/demo/hello_test_04/pkg_metadata.json new file mode 100644 index 00000000..b2a4eb18 --- /dev/null +++ b/test3.gno.land/extracted/r/demo/hello_test_04/pkg_metadata.json @@ -0,0 +1 @@ +{"creator":"g15m526qur3ggut82vk0q5za6jzg4eaaclgfh2mx","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/users/GRC20.gno b/test3.gno.land/extracted/r/demo/users/GRC20.gno index 2a59b550..8108381a 100644 --- a/test3.gno.land/extracted/r/demo/users/GRC20.gno +++ b/test3.gno.land/extracted/r/demo/users/GRC20.gno @@ -1,4 +1,4 @@ -package test +package foo import ( "std" @@ -10,13 +10,13 @@ import ( ) var ( - test *grc20.AdminToken - admin std.Address = "g1fq4akfudp3aenz9kmkvh4pf6sr0yvxcr3eq703" + foo *grc20.AdminToken + admin std.Address = "g14nddjdkaqh3r84rs69txay6vqt8e4mf730v5ym" ) func init() { - test = grc20.NewAdminToken("testToken", "test", 6) - test.Mint(admin, 55555555555555) // @administrator + foo = grc20.NewAdminToken("FooToken", "FOO", 6) + foo.Mint(admin, 1000000000) // @administrator } // method proxies as public functions. @@ -25,11 +25,11 @@ func init() { // getters. func TotalSupply() uint64 { - return test.TotalSupply() + return foo.TotalSupply() } func BalanceOf(owner users.AddressOrName) uint64 { - balance, err := test.BalanceOf(owner.Resolve()) + balance, err := foo.BalanceOf(owner.Resolve()) if err != nil { panic(err) } @@ -37,7 +37,7 @@ func BalanceOf(owner users.AddressOrName) uint64 { } func Allowance(owner, spender users.AddressOrName) uint64 { - allowance, err := test.Allowance(owner.Resolve(), spender.Resolve()) + allowance, err := foo.Allowance(owner.Resolve(), spender.Resolve()) if err != nil { panic(err) } @@ -48,17 +48,17 @@ func Allowance(owner, spender users.AddressOrName) uint64 { func Transfer(to users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - test.Transfer(caller, to.Resolve(), amount) + foo.Transfer(caller, to.Resolve(), amount) } func Approve(spender users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - test.Approve(caller, spender.Resolve(), amount) + foo.Approve(caller, spender.Resolve(), amount) } func TransferFrom(from, to users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - test.TransferFrom(caller, from.Resolve(), to.Resolve(), amount) + foo.TransferFrom(caller, from.Resolve(), to.Resolve(), amount) } // administration. @@ -66,13 +66,13 @@ func TransferFrom(from, to users.AddressOrName, amount uint64) { func Mint(address users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() assertIsAdmin(caller) - test.Mint(address.Resolve(), amount) + foo.Mint(address.Resolve(), amount) } func Burn(address users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() assertIsAdmin(caller) - test.Burn(address.Resolve(), amount) + foo.Burn(address.Resolve(), amount) } // render. @@ -84,10 +84,10 @@ func Render(path string) string { switch { case path == "": - return test.RenderHome() + return foo.RenderHome() case c == 2 && parts[0] == "balance": owner := users.AddressOrName(parts[1]) - balance, _ := test.BalanceOf(owner.Resolve()) + balance, _ := foo.BalanceOf(owner.Resolve()) return ufmt.Sprintf("%d\n", balance) default: return "404\n" diff --git a/test3.gno.land/extracted/r/demo/users/pkg_metadata.json b/test3.gno.land/extracted/r/demo/users/pkg_metadata.json index bd33f568..bc1c081a 100644 --- a/test3.gno.land/extracted/r/demo/users/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo/users/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1fq4akfudp3aenz9kmkvh4pf6sr0yvxcr3eq703","deposit":""} \ No newline at end of file +{"creator":"g14nddjdkaqh3r84rs69txay6vqt8e4mf730v5ym","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo2/greeting/greeting.gno b/test3.gno.land/extracted/r/demo2/greeting/greeting.gno index 6942bb37..ba030738 100644 --- a/test3.gno.land/extracted/r/demo2/greeting/greeting.gno +++ b/test3.gno.land/extracted/r/demo2/greeting/greeting.gno @@ -1,13 +1,13 @@ -package greeting - -var ( - greeting string -) - -func SetGreeting(msg string) { - greeting = msg -} - -func GetGreeting() string { - return greeting -} +package hello + +var ( + greeting string +) + +func SetGreeting(msg string) { + greeting = msg +} + +func GetGreeting() string { + return greeting +} diff --git a/test3.gno.land/extracted/r/demo2/greeting/package.gno b/test3.gno.land/extracted/r/demo2/greeting/package.gno index 5e90a08c..d36874bc 100644 --- a/test3.gno.land/extracted/r/demo2/greeting/package.gno +++ b/test3.gno.land/extracted/r/demo2/greeting/package.gno @@ -1,14 +1,5 @@ package hello -var ( - greeting string -) - -func SetGreeting(msg string) { - greeting = msg -} - -func GetGreeting()) string { - return "greeting" +func Render(path string) string { + return "Hello World!" } - \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo2/greeting/pkg_metadata.json b/test3.gno.land/extracted/r/demo2/greeting/pkg_metadata.json index b43a684d..4391adcd 100644 --- a/test3.gno.land/extracted/r/demo2/greeting/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo2/greeting/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1fa4knsqaj4mhnus8dk08dysq9arcrash8360nv","deposit":""} \ No newline at end of file +{"creator":"g12cvhg4mfst27whu6x58vu69zt04j5hfh8kwv5v","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/hello/hello/package.gno b/test3.gno.land/extracted/r/hello/hello/package.gno index 33d6619e..d36874bc 100644 --- a/test3.gno.land/extracted/r/hello/hello/package.gno +++ b/test3.gno.land/extracted/r/hello/hello/package.gno @@ -1,5 +1,5 @@ package hello func Render(path string) string { - return "Hello World!" + return "Hello World!" } diff --git a/test3.gno.land/extracted/r/hello15/hello/package.gno b/test3.gno.land/extracted/r/hello15/hello/package.gno index d36874bc..32b4fc2d 100644 --- a/test3.gno.land/extracted/r/hello15/hello/package.gno +++ b/test3.gno.land/extracted/r/hello15/hello/package.gno @@ -1,5 +1,9 @@ package hello -func Render(path string) string { +func B(path []string) string { + return "Hello World!" +} + +func A(path string) string { return "Hello World!" } diff --git a/test3.gno.land/extracted/r/hello15/hello/pkg_metadata.json b/test3.gno.land/extracted/r/hello15/hello/pkg_metadata.json index fe835b60..292c561e 100644 --- a/test3.gno.land/extracted/r/hello15/hello/pkg_metadata.json +++ b/test3.gno.land/extracted/r/hello15/hello/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1uf8u5jf2m9l80g0zsfq7tufl3qufqc4393jtkl","deposit":"1ugnot"} \ No newline at end of file +{"creator":"g1ejrxf88yp390dr48a0wxyaed3vxj0243at292p","deposit":"1ugnot"} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/quanghoangf/counter/package.gno b/test3.gno.land/extracted/r/quanghoangf/counter/package.gno index ea4aa26a..029b1c16 100644 --- a/test3.gno.land/extracted/r/quanghoangf/counter/package.gno +++ b/test3.gno.land/extracted/r/quanghoangf/counter/package.gno @@ -1,24 +1,19 @@ package counter import ( - "gno.land/p/demo/ufmt" - "std" + "gno.land/p/demo/ufmt" ) var count int func Increment() { - count++ - std.Emit("TestEmit", "Increment", count) + count++ } func Decrement() { - count-- + count-- } func Render(_ string) string { - return ufmt.Sprintf("Count: %d", count) - std.Emit("TestEmit", "Increment", count) -} - -// How to: Deploy using Gno Playground \ No newline at end of file + return ufmt.Sprintf("Count: %d", count) +} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/rj111/hellojaeho1/package.gno b/test3.gno.land/extracted/r/rj111/hellojaeho1/package.gno new file mode 100644 index 00000000..9e6fed70 --- /dev/null +++ b/test3.gno.land/extracted/r/rj111/hellojaeho1/package.gno @@ -0,0 +1,5 @@ +package hellojaeho1 + +func Render(path string) string { + return "Hello World!" +} diff --git a/test3.gno.land/extracted/r/rj111/hellojaeho1/pkg_metadata.json b/test3.gno.land/extracted/r/rj111/hellojaeho1/pkg_metadata.json new file mode 100644 index 00000000..e4d70204 --- /dev/null +++ b/test3.gno.land/extracted/r/rj111/hellojaeho1/pkg_metadata.json @@ -0,0 +1 @@ +{"creator":"g13f63ua8uhmuf9mgc0x8zfz04yrsaqh7j78vcgq","deposit":"1ugnot"} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/test/hello/pkg_metadata.json b/test3.gno.land/extracted/r/test/hello/pkg_metadata.json index 0812c2e9..ab25f738 100644 --- a/test3.gno.land/extracted/r/test/hello/pkg_metadata.json +++ b/test3.gno.land/extracted/r/test/hello/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g15wmukt79xymnnu6c4de32trnufudqum60yrxu8","deposit":""} \ No newline at end of file +{"creator":"g15wmukt79xymnnu6c4de32trnufudqum60yrxu8","deposit":"1ugnot"} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/test/test/package.gno b/test3.gno.land/extracted/r/test/test/package.gno index 33d6619e..d36874bc 100644 --- a/test3.gno.land/extracted/r/test/test/package.gno +++ b/test3.gno.land/extracted/r/test/test/package.gno @@ -1,5 +1,5 @@ package hello func Render(path string) string { - return "Hello World!" + return "Hello World!" } diff --git a/test3.gno.land/extracted/r/test/test/pkg_metadata.json b/test3.gno.land/extracted/r/test/test/pkg_metadata.json index 0812c2e9..5235ccf7 100644 --- a/test3.gno.land/extracted/r/test/test/pkg_metadata.json +++ b/test3.gno.land/extracted/r/test/test/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g15wmukt79xymnnu6c4de32trnufudqum60yrxu8","deposit":""} \ No newline at end of file +{"creator":"g1fsu3z335h5qngf7t3lmakvpmpwg9ae76tqwh7c","deposit":"1ugnot"} \ No newline at end of file diff --git a/test3.gno.land/metadata.json b/test3.gno.land/metadata.json index d8f4c3c3..1603f788 100644 --- a/test3.gno.land/metadata.json +++ b/test3.gno.land/metadata.json @@ -1,3 +1,3 @@ { - "latest_block_height": 456417 + "latest_block_height": 457859 }