Skip to content Search Apps Documentation Source Content 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_outsider_filetest.gno

0.44 Kb · 13 lines
 1// PKGPATH: gno.land/r/nym-moultest123/main
 2package main
 3
 4import "gno.land/r/nym-moultest123/x/upgrade/selfreg/facade/v0"
 5
 6// A realm outside the guarded prefix cannot seize the facade. The path is read
 7// off the crossing frame, so there is no argument to lie about.
 8func main(cur realm) {
 9	facade.Register(cross(cur), nil)
10}
11
12// Error:
13// unauthorized: gno.land/r/nym-moultest123/main is not under gno.land/r/nym-moultest123/x/upgrade/selfreg/impl/