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.

publisher.gno

0.37 Kb · 8 lines
1package memba_arcade_leaderboard_v1
2
3import "chain/runtime/unsafe"
4
5// publisherAtLoad captures the AddPackage signer during package initialization.
6// Keeping the unsafe load-time primitive separate from crossing entrypoints lets
7// privileged calls use only the frame-verified cur.IsCurrent/cur.Previous API.
8func publisherAtLoad() address { return unsafe.OriginCaller() }