Documentation
¶
Index ¶
- Constants
- func NewMsgServerImpl(keeper Keeper) vauthtypes.MsgServer
- func NewQueryServerImpl(keeper Keeper) vauthtypes.QueryServer
- type Keeper
- func (k Keeper) GetProofExternalOwnedAccount(ctx sdk.Context, accAddr sdk.AccAddress) *vauthtypes.ProofExternalOwnedAccount
- func (k Keeper) HasProofExternalOwnedAccount(ctx sdk.Context, accAddr sdk.AccAddress) bool
- func (k *Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SaveProofExternalOwnedAccount(ctx sdk.Context, proof vauthtypes.ProofExternalOwnedAccount) error
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 ¶
func NewKeeper( cdc codec.BinaryCodec, key storetypes.StoreKey, bk bankkeeper.Keeper, ek evmkeeper.Keeper, ) Keeper
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 ¶
HasProofExternalOwnedAccount check if proof of EOA of the account exists in KVStore.
func (Keeper) SaveProofExternalOwnedAccount ¶
func (k Keeper) SaveProofExternalOwnedAccount(ctx sdk.Context, proof vauthtypes.ProofExternalOwnedAccount) error
SaveProofExternalOwnedAccount persists proof into KVStore.
Click to show internal directories.
Click to hide internal directories.