publisher.gno
0.37 Kb · 8 lines
1package memba_quest_attestation_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() }