Documentation ¶
Index ¶
- func NewMsgServiceServer(keeper Keeper) types.MsgServiceServer
- func NewQueryServiceServer(keeper Keeper) types.QueryServiceServer
- type Keeper
- func (k *Keeper) ApproveBy(ctx sdk.Context) (address string)
- func (k *Keeper) GetParams(ctx sdk.Context) types.Params
- func (k *Keeper) GetSwap(ctx sdk.Context, txHash types.EthereumHash) (swap types.Swap, found bool)
- func (k *Keeper) GetSwaps(ctx sdk.Context, skip, limit int64) (items types.Swaps)
- func (k *Keeper) HasSwap(ctx sdk.Context, txHash types.EthereumHash) bool
- func (k *Keeper) Logger(ctx sdk.Context) log.Logger
- func (k *Keeper) MintCoin(ctx sdk.Context, coin sdk.Coin) error
- func (k *Keeper) SendCoinFromModuleToAccount(ctx sdk.Context, address sdk.AccAddress, coin sdk.Coin) error
- func (k *Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k *Keeper) SetSwap(ctx sdk.Context, swap types.Swap)
- func (k *Keeper) Store(ctx sdk.Context) sdk.KVStore
- func (k *Keeper) SwapDenom(ctx sdk.Context) (denom string)
- func (k *Keeper) SwapEnabled(ctx sdk.Context) (yes bool)
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 NewKeeper ¶
func NewKeeper(cdc codec.BinaryMarshaler, key sdk.StoreKey, params paramstypes.Subspace, bank expected.BankKeeper) Keeper
func (*Keeper) SendCoinFromModuleToAccount ¶
Click to show internal directories.
Click to hide internal directories.