Skip to content

Commit

Permalink
chore: update test3.gno.land backup
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton authored and github-actions[bot] committed May 8, 2024
1 parent c2cc699 commit 55b3c93
Show file tree
Hide file tree
Showing 22 changed files with 172 additions and 71 deletions.
14 changes: 8 additions & 6 deletions test3.gno.land/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## TXs
```
6147
6255
```

## addpkgs
Expand Down Expand Up @@ -383,6 +383,7 @@
1 "gno.land/r/sdm/feedback/v5"
1 "gno.land/r/sdm/feedback/v2"
1 "gno.land/r/sdm/feedback/v1"
1 "gno.land/r/sdm/echo"
1 "gno.land/r/sad/greeting"
1 "gno.land/r/ruslank/dragon"
1 "gno.land/r/rsky/b069"
Expand Down Expand Up @@ -1306,25 +1307,25 @@
1208 "gno.land/r/demo/minter"
112 "gno.land/r/demo/users"
103 "gno.land/r/demo/tong"
97 "gno.land/r/test10/poll"
91 "gno.land/r/boom/boom"
98 "gno.land/r/test10/poll"
93 "gno.land/r/boom/boom"
87 "gno.land/r/duysygame/test22"
82 "gno.land/r/demo/boards"
81 "gno.land/r/gnoland/faucet"
76 "gno.land/r/feedback/simplefeedback"
77 "gno.land/r/feedback/simplefeedback"
65 "gno.land/r/duysygame/test21"
54 "gno.land/r/gnoland/blog"
49 "gno.land/r/test24/hello"
37 "gno.land/r/hello144/hello"
26 "gno.land/r/demo/foo20"
21 "gno.land/r/duysygame/test19"
20 "gno.land/r/duysyland/erc20"
19 "gno.land/r/sdm/somedudefeedbacktest_8"
19 "gno.land/r/position"
18 "gno.land/r/sdm/somedudefeedbacktest_8"
17 "gno.land/r/demo/foo"
16 "gno.land/r/demo/gnoph"
13 "gno.land/r/sdm/feedback/v3"
12 "gno.land/r/x1unix/sf/v5"
12 "gno.land/r/demo/foo"
11 "gno.land/r/jeronimoalbi/poll_v1"
11 "gno.land/r/gnostudio/feedback_v1"
10 "gno.land/r/sdm/somedudefeedbacktest_1"
Expand Down Expand Up @@ -1376,6 +1377,7 @@
2 "gno.land/r/test1/greeting"
2 "gno.land/r/stuyk/userinvokes4"
2 "gno.land/r/sdm/feedback/v5"
2 "gno.land/r/sdm/echo"
2 "gno.land/r/kennethy/hello"
2 "gno.land/r/ilker/counter"
2 "gno.land/r/hellotest/poll"
Expand Down
108 changes: 108 additions & 0 deletions test3.gno.land/backup_0381260-0382829.jsonl

Large diffs are not rendered by default.

16 changes: 3 additions & 13 deletions test3.gno.land/extracted/p/demo2/cryptopunkstar/package.gno
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
// xryptopunkstar
package hello

package cryptopunkstar


var MsgOfPkg = "this is a public NFTs"
var msgOfPkg = "this is a private NFTS"

func GetPrivVar() string {
return msgOfPkg
}

func Gnome(name string) string {
return "greetings " + name + ", welcome to the gnoland"
func Render(path string) string {
return "Hello World!"
}
12 changes: 2 additions & 10 deletions test3.gno.land/extracted/p/test2/hello/package.gno
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
package hello

var {
hello string
}

func SetHello(msg string){
hello = msg
}

func GetHello() string {
return hello
func Render(path string) string {
return "Hello World!"
}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/p/test2/hello/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g1v4e0gv2m6gpqh6mx0auu6x6gmep9yt6cxj6q5f","deposit":""}
{"creator":"g100xslzk674xuv3s0q8yp44cr63l26z2y4n7ycg","deposit":""}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/apple/GRC20.gno
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var (
apple *grc20.AdminToken
admin std.Address = "g1hqzeju0p0eup9rgxa0pxvyc0y7wnzjrdvppsy5"
admin std.Address = "g1sycj68ur0n7xytglx0me3f207ktudm80aqpysm"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/apple/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g1098kpwkwv3r08cat9ssucrq4mznxyv855jgqvx","deposit":""}
{"creator":"g1sycj68ur0n7xytglx0me3f207ktudm80aqpysm","deposit":""}
30 changes: 15 additions & 15 deletions test3.gno.land/extracted/r/demo/demo/GRC20.gno
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pup
package frenchie

import (
"std"
Expand All @@ -10,13 +10,13 @@ import (
)

var (
pup *grc20.AdminToken
admin std.Address = "g1j8jwsce3vcry6s8qmmkxuwuhzww0j8396n3rgm"
frenchie *grc20.AdminToken
admin std.Address = "g1m6cdxuuesrgdu2krq9m5xrrvhx74f56a0w2y3t"
)

func init() {
pup = grc20.NewAdminToken("pupToken", "pup", 6)
pup.Mint(admin, 1000000000) // @administrator
frenchie = grc20.NewAdminToken("frenchieToken", "frenchie", 6)
frenchie.Mint(admin, 1000000000) // @administrator
}

// method proxies as public functions.
Expand All @@ -25,19 +25,19 @@ func init() {
// getters.

func TotalSupply() uint64 {
return pup.TotalSupply()
return frenchie.TotalSupply()
}

func BalanceOf(owner users.AddressOrName) uint64 {
balance, err := pup.BalanceOf(owner.Resolve())
balance, err := frenchie.BalanceOf(owner.Resolve())
if err != nil {
panic(err)
}
return balance
}

func Allowance(owner, spender users.AddressOrName) uint64 {
allowance, err := pup.Allowance(owner.Resolve(), spender.Resolve())
allowance, err := frenchie.Allowance(owner.Resolve(), spender.Resolve())
if err != nil {
panic(err)
}
Expand All @@ -48,31 +48,31 @@ func Allowance(owner, spender users.AddressOrName) uint64 {

func Transfer(to users.AddressOrName, amount uint64) {
caller := std.GetOrigCaller()
pup.Transfer(caller, to.Resolve(), amount)
frenchie.Transfer(caller, to.Resolve(), amount)
}

func Approve(spender users.AddressOrName, amount uint64) {
caller := std.GetOrigCaller()
pup.Approve(caller, spender.Resolve(), amount)
frenchie.Approve(caller, spender.Resolve(), amount)
}

func TransferFrom(from, to users.AddressOrName, amount uint64) {
caller := std.GetOrigCaller()
pup.TransferFrom(caller, from.Resolve(), to.Resolve(), amount)
frenchie.TransferFrom(caller, from.Resolve(), to.Resolve(), amount)
}

// administration.

func Mint(address users.AddressOrName, amount uint64) {
caller := std.GetOrigCaller()
assertIsAdmin(caller)
pup.Mint(address.Resolve(), amount)
frenchie.Mint(address.Resolve(), amount)
}

func Burn(address users.AddressOrName, amount uint64) {
caller := std.GetOrigCaller()
assertIsAdmin(caller)
pup.Burn(address.Resolve(), amount)
frenchie.Burn(address.Resolve(), amount)
}

// render.
Expand All @@ -84,10 +84,10 @@ func Render(path string) string {

switch {
case path == "":
return pup.RenderHome()
return frenchie.RenderHome()
case c == 2 && parts[0] == "balance":
owner := users.AddressOrName(parts[1])
balance, _ := pup.BalanceOf(owner.Resolve())
balance, _ := frenchie.BalanceOf(owner.Resolve())
return ufmt.Sprintf("%d\n", balance)
default:
return "404\n"
Expand Down
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/demo/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g1j8jwsce3vcry6s8qmmkxuwuhzww0j8396n3rgm","deposit":""}
{"creator":"g1m6cdxuuesrgdu2krq9m5xrrvhx74f56a0w2y3t","deposit":""}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/harambe/GRC20.gno
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var (
harambe *grc20.AdminToken
admin std.Address = "g1h6n749m920lvaef2qrpsa2vmssr4sq60ykqks3"
admin std.Address = "g1lk45335udge6nefk733e852rmexrc94m52tdt9"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/harambe/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g1h6n749m920lvaef2qrpsa2vmssr4sq60ykqks3","deposit":""}
{"creator":"g1lk45335udge6nefk733e852rmexrc94m52tdt9","deposit":""}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/hello/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g1ayxdpq5jzqrkedjp57xvdhvf9g6jjwhxt5wn2f","deposit":"1ugnot"}
{"creator":"g1gy76zgcx98rwg4shsm7ket8r3qny9gzdpyjhwm","deposit":""}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/hello3/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g1ayxdpq5jzqrkedjp57xvdhvf9g6jjwhxt5wn2f","deposit":"1ugnot"}
{"creator":"g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5","deposit":""}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/test/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g1at2h7kdhz2m9lv6azn54mwu4wl95k94wu90uwj","deposit":""}
{"creator":"g1t3hhyrrugmk0ujvc90jh36u8kw03fdj23skrmy","deposit":"1ugnot"}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/demo/yep/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g140pvdhzwxtg8yazp5zfqtmshqnt2mefs764yrw","deposit":""}
{"creator":"g1p809wnm9glgxu8lauaeattqlwh92gd0vcrlm46","deposit":""}
13 changes: 2 additions & 11 deletions test3.gno.land/extracted/r/demo2/greeting/package.gno
Original file line number Diff line number Diff line change
@@ -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!"
}

14 changes: 11 additions & 3 deletions test3.gno.land/extracted/r/enkianknight/helping/package.gno
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
package hello
package helping

func Render(path string) string {
return "Hello World!"
var (
helping string
)

func SetHelping(msg string) {
helping=msg
}

func GetHelping() string {
return helping
}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/hello/hello/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g15wmukt79xymnnu6c4de32trnufudqum60yrxu8","deposit":""}
{"creator":"g1t3hhyrrugmk0ujvc90jh36u8kw03fdj23skrmy","deposit":"1ugnot"}
9 changes: 9 additions & 0 deletions test3.gno.land/extracted/r/sdm/echo/package.gno
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package echo

func Echo(message string) string {
return message
}

func Render(path string) string {
return "Hello World!"
}
1 change: 1 addition & 0 deletions test3.gno.land/extracted/r/sdm/echo/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"creator":"g15ruzptpql4dpuyzej0wkt5rq6r26kw4nxu9fwd","deposit":"1ugnot"}
2 changes: 1 addition & 1 deletion test3.gno.land/extracted/r/test/test/pkg_metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"creator":"g17ec6vfn5w5lzs9s5cxqjuy3xd9kqpkhg6zd4an","deposit":"1ugnot"}
{"creator":"g1fsu3z335h5qngf7t3lmakvpmpwg9ae76tqwh7c","deposit":"1ugnot"}
2 changes: 1 addition & 1 deletion test3.gno.land/metadata.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"latest_block_height": 381260
"latest_block_height": 382829
}

0 comments on commit 55b3c93

Please sign in to comment.