# Functions
DefaultGenesis returns the default Capability genesis state.
FwdCapabilityKey returns a forward lookup key for a given module and capability reference.
IndexFromKey returns an index from a call to IndexToKey for a given capability index.
IndexToKey returns bytes to be used as a key for a given capability index.
NewCapability returns a reference to a new Capability to be used as an actual capability.
No description provided by the author
No description provided by the author
RevCapabilityKey returns a reverse lookup key for a given module and capability name.
# Constants
DefaultIndex is the default capability global index.
MemStoreKey defines the in-memory store key.
ModuleName defines the module name.
StoreKey defines the primary module store key.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KeyIndex defines the key that stores the current globally unique capability index.
KeyMemInitialized defines the key that stores the initialized flag in the memory store.
KeyPrefixIndexCapability defines a key prefix that stores index to capability owners mappings.
# Structs
Capability defines an implementation of an object capability.
CapabilityOwners defines a set of owners of a single Capability.
GenesisOwners defines the capability owners with their corresponding index.
GenesisState defines the capability module's genesis state.
Owner defines a single capability owner.