Documentation ¶
Index ¶
- type Keeper
- func (k *Keeper) ActualizeLegacy(ctx sdk.Context, pubKeyBytes []byte) error
- func (k Keeper) Check(c context.Context, req *types.QueryCheckRequest) (*types.QueryCheckResponse, error)
- func (k *Keeper) DeleteLegacyRecord(ctx sdk.Context, legacyAddress string)
- func (k *Keeper) GetLegacyRecord(ctx sdk.Context, legacyAddress string) (types.Record, error)
- func (k *Keeper) GetLegacyRecords(ctx sdk.Context) []types.Record
- func (k *Keeper) IsLegacyAddress(ctx sdk.Context, address string) bool
- func (k Keeper) Record(c context.Context, req *types.QueryRecordRequest) (*types.QueryRecordResponse, error)
- func (k Keeper) Records(c context.Context, req *types.QueryRecordsRequest) (*types.QueryRecordsResponse, error)
- func (k Keeper) ReturnLegacy(goCtx context.Context, msg *types.MsgReturnLegacy) (*types.MsgReturnLegacyResponse, error)
- func (k *Keeper) SetLegacyRecord(ctx sdk.Context, record types.Record)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine.
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey store.StoreKey, bankKeeper types.BankKeeper, nftKeeper types.NftKeeper, multisigKeeper types.MultisigKeeper, validatorKeeper types.ValidatorKeeper, ) *Keeper
NewKeeper creates new Keeper instance.
func (*Keeper) ActualizeLegacy ¶
func (Keeper) Check ¶
func (k Keeper) Check(c context.Context, req *types.QueryCheckRequest) (*types.QueryCheckResponse, error)
func (*Keeper) DeleteLegacyRecord ¶
func (*Keeper) GetLegacyRecord ¶
func (*Keeper) IsLegacyAddress ¶
func (Keeper) Record ¶
func (k Keeper) Record(c context.Context, req *types.QueryRecordRequest) (*types.QueryRecordResponse, error)
func (Keeper) Records ¶
func (k Keeper) Records(c context.Context, req *types.QueryRecordsRequest) (*types.QueryRecordsResponse, error)
func (Keeper) ReturnLegacy ¶
func (k Keeper) ReturnLegacy(goCtx context.Context, msg *types.MsgReturnLegacy) (*types.MsgReturnLegacyResponse, error)
Click to show internal directories.
Click to hide internal directories.