Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

z_attest_from_realm_filetest.gno

0.39 Kb · 14 lines
 1// PKGPATH: gno.land/r/demo/intruder
 2package intruder
 3
 4// A foreign realm cannot attest.
 5
 6import bouncer "gno.land/r/g19wmd95cwm3s0w0c5592tgu3zh4zgrtlggvugnj/bouncer/v2"
 7
 8func main(cur realm) {
 9	h := "0000000000000000000000000000000000000000000000000000000000000000"
10	bouncer.Attest(cross(cur), "gno.land/r/demo/vault", h, "0.1.0", h, "x", h, "ipfs://cid", "", "")
11}
12
13// Error:
14// attester only