Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.
Authorized(id uint64, principal string, coins int64) bool
Count() int
Exercise(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, id uint64, coins int64)
Get(id uint64) struct{ID uint64; Granter .uverse.address; Principal .uverse.address; TargetRealm string; Function string; MaxCoins int64; ValidUntil int64; RemainingUses uint32; ArgsPolicy string; Revoked bool; GrantedAt int64; Uses []gno.land/r/moul/agents/capwallet/v0.Use}
Grant(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, principal string, targetRealm string, function string, maxCoins int64, validUntil int64, uses uint32, argsPolicy string) uint64
Render(path string) string
Revoke(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, id uint64)
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
# Capability Wallet
_Don't give an agent a wallet. Give it a capability._
| # | Principal | Scope | Ceiling | Uses left | State |
|---|---|---|---|---|---|
| [1](/r/moul/agents/capwallet/v0:1) | g1nwl2gx…truf | `gno.land/r/moul/agents/receipt/v0.Attest` | 0 ugnot | 8 | ✅ live |
| [2](/r/moul/agents/capwallet/v0:2) | g1nwl2gx…truf | `gno.land/r/moul/x/reaper/v1.Post` | 0 ugnot | 5 | ✅ live |
vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.