Documentation ¶
Index ¶
- type Keeper
- func (k *Keeper) ApproveBy(ctx sdk.Context) (address string)
- func (k *Keeper) ExportGenesis(ctx sdk.Context) *v1.GenesisState
- func (k *Keeper) GetParams(ctx sdk.Context) v1.Params
- func (k *Keeper) GetSwap(ctx sdk.Context, txHash types.EthereumHash) (swap v1.Swap, found bool)
- func (k *Keeper) GetSwaps(ctx sdk.Context) (items v1.Swaps)
- func (k *Keeper) HandleMsgSwap(ctx sdk.Context, msg *v1.MsgSwapRequest) (*v1.MsgSwapResponse, error)
- func (k *Keeper) HandleQueryParams(ctx sdk.Context, _ *v1.QueryParamsRequest) (*v1.QueryParamsResponse, error)
- func (k *Keeper) HandleQuerySwap(ctx sdk.Context, req *v1.QuerySwapRequest) (*v1.QuerySwapResponse, error)
- func (k *Keeper) HandleQuerySwaps(ctx sdk.Context, req *v1.QuerySwapsRequest) (*v1.QuerySwapsResponse, error)
- func (k *Keeper) HasSwap(ctx sdk.Context, txHash types.EthereumHash) bool
- func (k *Keeper) InitGenesis(ctx sdk.Context, state *v1.GenesisState)
- 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 v1.Params)
- func (k *Keeper) SetSwap(ctx sdk.Context, swap v1.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 ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, params paramstypes.Subspace, account expected.AccountKeeper, bank expected.BankKeeper) Keeper
func (*Keeper) ExportGenesis ¶
func (k *Keeper) ExportGenesis(ctx sdk.Context) *v1.GenesisState
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) InitGenesis ¶
func (k *Keeper) InitGenesis(ctx sdk.Context, state *v1.GenesisState)
func (*Keeper) SendCoinFromModuleToAccount ¶
Click to show internal directories.
Click to hide internal directories.