diff --git a/test3.gno.land/README.md b/test3.gno.land/README.md index 436c13c6..e04262c3 100644 --- a/test3.gno.land/README.md +++ b/test3.gno.land/README.md @@ -2,7 +2,7 @@ ## TXs ``` -4854 +4855 ``` ## addpkgs @@ -1139,7 +1139,7 @@ ## top realm calls ``` - 1195 "gno.land/r/demo/minter" + 1196 "gno.land/r/demo/minter" 105 "gno.land/r/demo/users" 96 "gno.land/r/demo/tong" 87 "gno.land/r/duysygame/test22" diff --git a/test3.gno.land/backup_0336765-0338181.jsonl b/test3.gno.land/backup_0336765-0338181.jsonl new file mode 100755 index 00000000..64a5cd08 --- /dev/null +++ b/test3.gno.land/backup_0336765-0338181.jsonl @@ -0,0 +1 @@ +{"tx":{"msg":[{"@type":"/vm.m_call","caller":"g14vhcdsyf83ngsrrqc92kmw8q9xakqjm0v8448t","send":"","pkg_path":"gno.land/r/demo/minter","func":"Mint","args":["g1vemazwwmm08wgmkvwqunu8rscacly65tmqq9lm","ugnot","310000000"]}],"fee":{"gas_wanted":"1000000","gas_fee":"1ugnot"},"signatures":[{"pub_key":{"@type":"/tm.PubKeySecp256k1","value":"AgiTyNXOXskkkxKv2DXaDxFtabuTPHlltbYwCOBpHL3w"},"signature":"r1p7n0KZqM5Gr9RyUJuFLyLI0r6UcEV4a4krRnhrEYZwh3YPNXaBJwncCe2xOe6DzSsbpv3JvZDLGuYk20e+YA=="}],"memo":""},"blockNum":"338006"} diff --git a/test3.gno.land/extracted/r/demo/apple/GRC20.gno b/test3.gno.land/extracted/r/demo/apple/GRC20.gno index cd273623..c3867609 100644 --- a/test3.gno.land/extracted/r/demo/apple/GRC20.gno +++ b/test3.gno.land/extracted/r/demo/apple/GRC20.gno @@ -11,7 +11,7 @@ import ( var ( apple *grc20.AdminToken - admin std.Address = "g1hqzeju0p0eup9rgxa0pxvyc0y7wnzjrdvppsy5" + admin std.Address = "g1sycj68ur0n7xytglx0me3f207ktudm80aqpysm" ) func init() { diff --git a/test3.gno.land/extracted/r/demo/apple/pkg_metadata.json b/test3.gno.land/extracted/r/demo/apple/pkg_metadata.json index 59b3c1cc..8a00c6df 100644 --- a/test3.gno.land/extracted/r/demo/apple/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo/apple/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1098kpwkwv3r08cat9ssucrq4mznxyv855jgqvx","deposit":""} \ No newline at end of file +{"creator":"g1sycj68ur0n7xytglx0me3f207ktudm80aqpysm","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/demo/GRC20.gno b/test3.gno.land/extracted/r/demo/demo/GRC20.gno index 798e81cf..1991ebc4 100644 --- a/test3.gno.land/extracted/r/demo/demo/GRC20.gno +++ b/test3.gno.land/extracted/r/demo/demo/GRC20.gno @@ -1,4 +1,4 @@ -package PERL +package pup import ( "std" @@ -10,13 +10,13 @@ import ( ) var ( - PERL *grc20.AdminToken - admin std.Address = "g14gde7f5qnku3pdur5te5r78rq4cues86ftxml7" + pup *grc20.AdminToken + admin std.Address = "g1j8jwsce3vcry6s8qmmkxuwuhzww0j8396n3rgm" ) func init() { - PERL = grc20.NewAdminToken("PERLToken", "PERL", 6) - PERL.Mint(admin, 1000000000) // @administrator + pup = grc20.NewAdminToken("pupToken", "pup", 6) + pup.Mint(admin, 1000000000) // @administrator } // method proxies as public functions. @@ -25,11 +25,11 @@ func init() { // getters. func TotalSupply() uint64 { - return foo.TotalSupply() + return pup.TotalSupply() } func BalanceOf(owner users.AddressOrName) uint64 { - balance, err := PERL.BalanceOf(owner.Resolve()) + balance, err := pup.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 := PERL.Allowance(owner.Resolve(), spender.Resolve()) + allowance, err := pup.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() - PERL.Transfer(caller, to.Resolve(), amount) + pup.Transfer(caller, to.Resolve(), amount) } func Approve(spender users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - PERL.Approve(caller, spender.Resolve(), amount) + pup.Approve(caller, spender.Resolve(), amount) } func TransferFrom(from, to users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - PERL.TransferFrom(caller, from.Resolve(), to.Resolve(), amount) + pup.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) - PERL.Mint(address.Resolve(), amount) + pup.Mint(address.Resolve(), amount) } func Burn(address users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() assertIsAdmin(caller) - PERL.Burn(address.Resolve(), amount) + pup.Burn(address.Resolve(), amount) } // render. @@ -84,10 +84,10 @@ func Render(path string) string { switch { case path == "": - return PERL.RenderHome() + return pup.RenderHome() case c == 2 && parts[0] == "balance": owner := users.AddressOrName(parts[1]) - balance, _ := PERL.BalanceOf(owner.Resolve()) + balance, _ := pup.BalanceOf(owner.Resolve()) return ufmt.Sprintf("%d\n", balance) default: return "404\n" diff --git a/test3.gno.land/extracted/r/demo/demo/pkg_metadata.json b/test3.gno.land/extracted/r/demo/demo/pkg_metadata.json index 469de135..048a0559 100644 --- a/test3.gno.land/extracted/r/demo/demo/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo/demo/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g14gde7f5qnku3pdur5te5r78rq4cues86ftxml7","deposit":""} \ No newline at end of file +{"creator":"g1j8jwsce3vcry6s8qmmkxuwuhzww0j8396n3rgm","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/gemcoin/GRC20.gno b/test3.gno.land/extracted/r/demo/gemcoin/GRC20.gno index 61adf14d..6f224995 100644 --- a/test3.gno.land/extracted/r/demo/gemcoin/GRC20.gno +++ b/test3.gno.land/extracted/r/demo/gemcoin/GRC20.gno @@ -1,4 +1,4 @@ -package gemcoin +package GemCoin import ( "std" @@ -10,13 +10,13 @@ import ( ) var ( - gemcoin *grc20.AdminToken + GemCoin *grc20.AdminToken admin std.Address = "g17np07gtd7nj5rh4x582srdhd8247xa3s3us3y3" ) func init() { - gemcoin = grc20.NewAdminToken("gemcoinToken", "GEM", 6) - gemcoin.Mint(admin, 1000000000) // @administrator + GemCoin = grc20.NewAdminToken("GemCoin", "Gem", 6) + GemCoin.Mint(admin, 1000000000) // @administrator } // method proxies as public functions. @@ -25,11 +25,11 @@ func init() { // getters. func TotalSupply() uint64 { - return gemcoin.TotalSupply() + return GemCoin.TotalSupply() } func BalanceOf(owner users.AddressOrName) uint64 { - balance, err := gemcoin.BalanceOf(owner.Resolve()) + balance, err := GemCoin.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 := gemcoin.Allowance(owner.Resolve(), spender.Resolve()) + allowance, err := GemCoin.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() - gemcoin.Transfer(caller, to.Resolve(), amount) + GemCoin.Transfer(caller, to.Resolve(), amount) } func Approve(spender users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - gemcoin.Approve(caller, spender.Resolve(), amount) + GemCoin.Approve(caller, spender.Resolve(), amount) } func TransferFrom(from, to users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - gemcoin.TransferFrom(caller, from.Resolve(), to.Resolve(), amount) + GemCoin.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) - gemcoin.Mint(address.Resolve(), amount) + GemCoin.Mint(address.Resolve(), amount) } func Burn(address users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() assertIsAdmin(caller) - gemcoin.Burn(address.Resolve(), amount) + GemCoin.Burn(address.Resolve(), amount) } // render. @@ -84,10 +84,10 @@ func Render(path string) string { switch { case path == "": - return gemcoin.RenderHome() + return GemCoin.RenderHome() case c == 2 && parts[0] == "balance": owner := users.AddressOrName(parts[1]) - balance, _ := gemcoin.BalanceOf(owner.Resolve()) + balance, _ := GemCoin.BalanceOf(owner.Resolve()) return ufmt.Sprintf("%d\n", balance) default: return "404\n" diff --git a/test3.gno.land/extracted/r/demo/harambe/GRC20.gno b/test3.gno.land/extracted/r/demo/harambe/GRC20.gno index 17e4a290..94992a7d 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 = "g1h6n749m920lvaef2qrpsa2vmssr4sq60ykqks3" + admin std.Address = "g1lk45335udge6nefk733e852rmexrc94m52tdt9" ) 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 445b8033..93356881 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":"g1h6n749m920lvaef2qrpsa2vmssr4sq60ykqks3","deposit":""} \ No newline at end of file +{"creator":"g1lk45335udge6nefk733e852rmexrc94m52tdt9","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/ripl/GRC20.gno b/test3.gno.land/extracted/r/demo/ripl/GRC20.gno index cc31f72e..5af2d5ef 100644 --- a/test3.gno.land/extracted/r/demo/ripl/GRC20.gno +++ b/test3.gno.land/extracted/r/demo/ripl/GRC20.gno @@ -1,4 +1,4 @@ -package RIPL +package ripl import ( "std" @@ -10,13 +10,13 @@ import ( ) var ( - RIPL *grc20.AdminToken - admin std.Address = "g1mdgdlen0nzzcycl7fq6dwyqq9qvlnm06gx5h9p" + ripl *grc20.AdminToken + admin std.Address = "g1jcsmkq74jr6uxfpfcytjvruyuqje7lqk2zfxxp" ) func init() { - RIPL = grc20.NewAdminToken("RIPLToken", "RIPL", 6) - RIPL.Mint(admin, 1000000000) // @administrator + ripl = grc20.NewAdminToken("RiplToken", "RIPL", 6) + ripl.Mint(admin, 1000000000) // @administrator } // method proxies as public functions. @@ -25,11 +25,11 @@ func init() { // getters. func TotalSupply() uint64 { - return RIPL.TotalSupply() + return ripl.TotalSupply() } func BalanceOf(owner users.AddressOrName) uint64 { - balance, err := RIPL.BalanceOf(owner.Resolve()) + balance, err := ripl.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 := RIPL.Allowance(owner.Resolve(), spender.Resolve()) + allowance, err := ripl.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() - RIPL.Transfer(caller, to.Resolve(), amount) + ripl.Transfer(caller, to.Resolve(), amount) } func Approve(spender users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - RIPL.Approve(caller, spender.Resolve(), amount) + ripl.Approve(caller, spender.Resolve(), amount) } func TransferFrom(from, to users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - RIPL.TransferFrom(caller, from.Resolve(), to.Resolve(), amount) + ripl.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) - RIPL.Mint(address.Resolve(), amount) + ripl.Mint(address.Resolve(), amount) } func Burn(address users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() assertIsAdmin(caller) - RIPL.Burn(address.Resolve(), amount) + ripl.Burn(address.Resolve(), amount) } // render. @@ -84,10 +84,10 @@ func Render(path string) string { switch { case path == "": - return RIPL.RenderHome() + return ripl.RenderHome() case c == 2 && parts[0] == "balance": owner := users.AddressOrName(parts[1]) - balance, _ := RIPL.BalanceOf(owner.Resolve()) + balance, _ := ripl.BalanceOf(owner.Resolve()) return ufmt.Sprintf("%d\n", balance) default: return "404\n" diff --git a/test3.gno.land/extracted/r/demo/ripl/pkg_metadata.json b/test3.gno.land/extracted/r/demo/ripl/pkg_metadata.json index 7db432c4..d9b539e5 100644 --- a/test3.gno.land/extracted/r/demo/ripl/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo/ripl/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1mdgdlen0nzzcycl7fq6dwyqq9qvlnm06gx5h9p","deposit":""} \ No newline at end of file +{"creator":"g1jcsmkq74jr6uxfpfcytjvruyuqje7lqk2zfxxp","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 8108381a..2a59b550 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 foo +package test import ( "std" @@ -10,13 +10,13 @@ import ( ) var ( - foo *grc20.AdminToken - admin std.Address = "g14nddjdkaqh3r84rs69txay6vqt8e4mf730v5ym" + test *grc20.AdminToken + admin std.Address = "g1fq4akfudp3aenz9kmkvh4pf6sr0yvxcr3eq703" ) func init() { - foo = grc20.NewAdminToken("FooToken", "FOO", 6) - foo.Mint(admin, 1000000000) // @administrator + test = grc20.NewAdminToken("testToken", "test", 6) + test.Mint(admin, 55555555555555) // @administrator } // method proxies as public functions. @@ -25,11 +25,11 @@ func init() { // getters. func TotalSupply() uint64 { - return foo.TotalSupply() + return test.TotalSupply() } func BalanceOf(owner users.AddressOrName) uint64 { - balance, err := foo.BalanceOf(owner.Resolve()) + balance, err := test.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 := foo.Allowance(owner.Resolve(), spender.Resolve()) + allowance, err := test.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() - foo.Transfer(caller, to.Resolve(), amount) + test.Transfer(caller, to.Resolve(), amount) } func Approve(spender users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - foo.Approve(caller, spender.Resolve(), amount) + test.Approve(caller, spender.Resolve(), amount) } func TransferFrom(from, to users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() - foo.TransferFrom(caller, from.Resolve(), to.Resolve(), amount) + test.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) - foo.Mint(address.Resolve(), amount) + test.Mint(address.Resolve(), amount) } func Burn(address users.AddressOrName, amount uint64) { caller := std.GetOrigCaller() assertIsAdmin(caller) - foo.Burn(address.Resolve(), amount) + test.Burn(address.Resolve(), amount) } // render. @@ -84,10 +84,10 @@ func Render(path string) string { switch { case path == "": - return foo.RenderHome() + return test.RenderHome() case c == 2 && parts[0] == "balance": owner := users.AddressOrName(parts[1]) - balance, _ := foo.BalanceOf(owner.Resolve()) + balance, _ := test.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 bc1c081a..bd33f568 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":"g14nddjdkaqh3r84rs69txay6vqt8e4mf730v5ym","deposit":""} \ No newline at end of file +{"creator":"g1fq4akfudp3aenz9kmkvh4pf6sr0yvxcr3eq703","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/demo/yep/pkg_metadata.json b/test3.gno.land/extracted/r/demo/yep/pkg_metadata.json index 6794c070..213b87e5 100644 --- a/test3.gno.land/extracted/r/demo/yep/pkg_metadata.json +++ b/test3.gno.land/extracted/r/demo/yep/pkg_metadata.json @@ -1 +1 @@ -{"creator":"g1p809wnm9glgxu8lauaeattqlwh92gd0vcrlm46","deposit":""} \ No newline at end of file +{"creator":"g140pvdhzwxtg8yazp5zfqtmshqnt2mefs764yrw","deposit":""} \ No newline at end of file diff --git a/test3.gno.land/extracted/r/hello/hello/pkg_metadata.json b/test3.gno.land/extracted/r/hello/hello/pkg_metadata.json index 0812c2e9..ab25f738 100644 --- a/test3.gno.land/extracted/r/hello/hello/pkg_metadata.json +++ b/test3.gno.land/extracted/r/hello/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/metadata.json b/test3.gno.land/metadata.json index d5831f71..88551f93 100644 --- a/test3.gno.land/metadata.json +++ b/test3.gno.land/metadata.json @@ -1,3 +1,3 @@ { - "latest_block_height": 336765 + "latest_block_height": 338181 }