keeper

package
v12.0.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 12 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
}

func (*Keeper) ApproveBy

func (k *Keeper) ApproveBy(ctx sdk.Context) (address string)

func (*Keeper) ExportGenesis

func (k *Keeper) ExportGenesis(ctx sdk.Context) *v1.GenesisState

func (*Keeper) GetParams

func (k *Keeper) GetParams(ctx sdk.Context) v1.Params

func (*Keeper) GetSwap

func (k *Keeper) GetSwap(ctx sdk.Context, txHash types.EthereumHash) (swap v1.Swap, found bool)

func (*Keeper) GetSwaps

func (k *Keeper) GetSwaps(ctx sdk.Context) (items v1.Swaps)

func (*Keeper) HandleMsgSwap

func (k *Keeper) HandleMsgSwap(ctx sdk.Context, msg *v1.MsgSwapRequest) (*v1.MsgSwapResponse, error)

func (*Keeper) HandleQueryParams

func (k *Keeper) HandleQueryParams(ctx sdk.Context, _ *v1.QueryParamsRequest) (*v1.QueryParamsResponse, error)

func (*Keeper) HandleQuerySwap

func (k *Keeper) HandleQuerySwap(ctx sdk.Context, req *v1.QuerySwapRequest) (*v1.QuerySwapResponse, error)

func (*Keeper) HandleQuerySwaps

func (k *Keeper) HandleQuerySwaps(ctx sdk.Context, req *v1.QuerySwapsRequest) (*v1.QuerySwapsResponse, error)

func (*Keeper) HasSwap

func (k *Keeper) HasSwap(ctx sdk.Context, txHash types.EthereumHash) bool

func (*Keeper) InitGenesis

func (k *Keeper) InitGenesis(ctx sdk.Context, state *v1.GenesisState)

func (*Keeper) Logger

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

func (*Keeper) MintCoin

func (k *Keeper) MintCoin(ctx sdk.Context, coin sdk.Coin) error

func (*Keeper) SendCoinFromModuleToAccount

func (k *Keeper) SendCoinFromModuleToAccount(ctx sdk.Context, address sdk.AccAddress, coin sdk.Coin) error

func (*Keeper) SetParams

func (k *Keeper) SetParams(ctx sdk.Context, params v1.Params)

func (*Keeper) SetSwap

func (k *Keeper) SetSwap(ctx sdk.Context, swap v1.Swap)

func (*Keeper) Store

func (k *Keeper) Store(ctx sdk.Context) sdk.KVStore

func (*Keeper) SwapDenom

func (k *Keeper) SwapDenom(ctx sdk.Context) (denom string)

func (*Keeper) SwapEnabled

func (k *Keeper) SwapEnabled(ctx sdk.Context) (yes bool)

Jump to

Keyboard shortcuts

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