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.

accesscontrol source pure

Functions 4

func AssertIsAdminOrigin

1func AssertIsAdminOrigin(isAdmin AuthCheck)
source

AssertIsAdminOrigin checks the transaction signer, not the direct caller realm. Use it only for explicit delegation APIs that intentionally allow code-realm relays.

Types 1

type AuthCheck

func
1type AuthCheck func(address) bool
source

AuthCheck must be owned by the calling realm/package. Do not pass callbacks received from untrusted callers.

Dependencies

Imports 1

/p/akkadia/beta/accesscontrol

Source Files 3