keeper

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServiceServer added in v0.6.0

func NewMsgServiceServer(keeper Keeper) types.MsgServiceServer

func NewQueryServiceServer added in v0.6.0

func NewQueryServiceServer(keeper Keeper) types.QueryServiceServer

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) GetParams

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

func (*Keeper) GetSwap

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

func (*Keeper) GetSwaps

func (k *Keeper) GetSwaps(ctx sdk.Context, skip, limit int64) (items types.Swaps)

func (*Keeper) HasSwap

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

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 types.Params)

func (*Keeper) SetSwap

func (k *Keeper) SetSwap(ctx sdk.Context, swap types.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