keeper

package
v0.0.0-...-74c1675 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2025 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const CostSubmitProofExternalOwnedAccount int64 = 1e18

CostSubmitProofExternalOwnedAccount cost for each submission

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) vauthtypes.MsgServer

NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.

func NewQueryServerImpl

func NewQueryServerImpl(keeper Keeper) vauthtypes.QueryServer

NewQueryServerImpl returns an implementation of the QueryServer interface

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

Keeper of the VAuth store

func NewKeeper

NewKeeper returns a new instance of the VAuth keeper

func (Keeper) GetProofExternalOwnedAccount

func (k Keeper) GetProofExternalOwnedAccount(ctx sdk.Context, accAddr sdk.AccAddress) *vauthtypes.ProofExternalOwnedAccount

GetProofExternalOwnedAccount retrieves proof from KVStore. It returns nil if not found

func (Keeper) HasProofExternalOwnedAccount

func (k Keeper) HasProofExternalOwnedAccount(ctx sdk.Context, accAddr sdk.AccAddress) bool

HasProofExternalOwnedAccount check if proof of EOA of the account exists in KVStore.

func (*Keeper) Logger

func (k *Keeper) Logger(ctx sdk.Context) log.Logger

Logger returns a module-specific logger.

func (Keeper) SaveProofExternalOwnedAccount

func (k Keeper) SaveProofExternalOwnedAccount(ctx sdk.Context, proof vauthtypes.ProofExternalOwnedAccount) error

SaveProofExternalOwnedAccount persists proof into KVStore.

Jump to

Keyboard shortcuts

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