keeper

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 (k *Keeper) ActualizeLegacy(ctx sdk.Context, pubKeyBytes []byte) error

func (Keeper) Check

func (*Keeper) DeleteLegacyRecord

func (k *Keeper) DeleteLegacyRecord(ctx sdk.Context, legacyAddress string)

func (*Keeper) GetLegacyRecord

func (k *Keeper) GetLegacyRecord(ctx sdk.Context, legacyAddress string) (types.Record, error)

func (*Keeper) GetLegacyRecords

func (k *Keeper) GetLegacyRecords(ctx sdk.Context) []types.Record

func (*Keeper) IsLegacyAddress

func (k *Keeper) IsLegacyAddress(ctx sdk.Context, address string) bool

func (Keeper) Record

func (Keeper) ReturnLegacy

func (*Keeper) SetLegacyRecord

func (k *Keeper) SetLegacyRecord(ctx sdk.Context, record types.Record)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL