# Functions
AddRecordToNameMapping adds a name to the record ID -> []names index.
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
GetNameAuthority - gets a name authority from the store.
GetNameAuthorityIndexKey Generates name -> NameAuthority index key.
GetNameRecord - gets a name record from the store.
GetNameRecordIndexKey Generates CRN -> NameRecord index key.
GetRecordIndexKey Generates Bond ID -> Bond index key.
HasNameAuthority - checks if a name authority entry exists.
NewKeeper creates new instances of the registry Keeper.
NewMsgServerImpl returns an implementation of the bond MsgServer interface for the provided Keeper.
NewRecordKeeper creates new instances of the registry RecordKeeper.
RecordInvariants checks that every record: (1) has a corresponding naming record & (2) associated bond exists, if bondID is not null.
RegisterInvariants registers all registry module invariants.
No description provided by the author
RemoveRecordToNameMapping removes a name from the record ID -> []names index.
ResolveCRN resolves a CRN to a record.
No description provided by the author
SetNameRecord - sets a name record.
# Constants
BondIDAttributeName denotes the record bond ID.
ExpiryTimeAttributeName denotes the record expiry time.
# Variables
PrefixAttributesIndex is the prefix for the registry Record.Attribute -> []Record.ID index.
PrefixAuctionToAuthorityNameIndex is the prefix for the auction ID -> authority name index.
PrefixBlockChangesetIndex is the prefix for the block changeset index.
PrefixBondIDToAuthoritiesIndex is the prefix for the Bond ID -> [Authority] index.
PrefixBondIDToRecordsIndex is the prefix for the Bond ID -> [Record] index.
PrefixCIDToNamesIndex the the reverse index for naming, i.e.
PrefixCIDToRecordIndex is the prefix for CID -> Record index.
PrefixCRNToNameRecordIndex is the prefix for the CRN -> NamingRecord index.
PrefixExpiryTimeToAuthoritiesIndex is the prefix for the Expiry Time -> [Authority] index.
PrefixExpiryTimeToRecordsIndex is the prefix for the Expiry Time -> [Record] index.
PrefixNameAuthorityRecordIndex is the prefix for the name -> NameAuthority index.
# Structs
Keeper maintains the link to storage and exposes getter/setter methods for the various parts of the state machine.
No description provided by the author
RecordKeeper exposes the bare minimal read-only API for other modules.