github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/examples/gno.land/r/gnoland/faucet/z1_filetest.gno (about) 1 package main 2 3 import ( 4 "std" 5 6 "gno.land/r/gnoland/faucet" 7 ) 8 9 // mints ugnot to current realm 10 func init() { 11 facuetaddr := std.DerivePkgAddr("gno.land/r/gnoland/faucet") 12 std.TestIssueCoins(facuetaddr, std.Coins{{"ugnot", 200000000}}) 13 } 14 15 // assert render with a path and no controllers 16 func main() { 17 println(faucet.Render("path")) 18 } 19 20 // Output: 21 // # Community Faucet. 22 // 23 // Status: active. 24 // Balance: 200000000ugnot. 25 // Total transfers: (in 0 times). 26 // 27 // Package address: g1ttrq7mp4zy6dssnmgyyktnn4hcj3ys8xhju0n7 28 // 29 // Admin: g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5 30 // 31 // Controllers: 32 // 33 // 34 // 35 // Per request limit: 350000000ugnot