Documentation ¶
Index ¶
- Constants
- func NewQuerier(k Keeper) sdk.Querier
- func ParamKeyTable() params.KeyTable
- type Keeper
- func (k Keeper) CheckBalance(ctx sdk.Context, address sdk.AccAddress, coins sdk.Coins) (bool, error)
- func (k Keeper) CheckPoolFunds(ctx sdk.Context, coins sdk.Coins) (bool, error)
- func (k Keeper) GetAllSwaps(ctx sdk.Context) types.Swaps
- func (k Keeper) GetChain(ctx sdk.Context, chainNumber int) (types.Chain, bool)
- func (k Keeper) GetLockedFunds(ctx sdk.Context) sdk.Coins
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetPool(ctx sdk.Context) exported.ModuleAccountI
- func (k Keeper) GetSwap(ctx sdk.Context, hash types.Hash) (types.Swap, bool)
- func (k Keeper) HasChain(ctx sdk.Context, chainNumber int) bool
- func (k Keeper) HasSwap(ctx sdk.Context, hash types.Hash) bool
- func (k Keeper) HasSwapV2(ctx sdk.Context, hash types.Hash) bool
- func (k Keeper) LockFunds(ctx sdk.Context, address sdk.AccAddress, coins sdk.Coins) error
- func (k Keeper) LockedTimeIn(ctx sdk.Context) (res time.Duration)
- func (k Keeper) LockedTimeOut(ctx sdk.Context) (res time.Duration)
- func (k Keeper) SetChain(ctx sdk.Context, chainNumber int, chain types.Chain)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetSwap(ctx sdk.Context, swap types.Swap)
- func (k Keeper) SetSwapV2(ctx sdk.Context, hash types.Hash)
- func (k Keeper) UnlockFunds(ctx sdk.Context, address sdk.AccAddress, coins sdk.Coins) error
Constants ¶
View Source
const (
DefaultParamspace = types.ModuleName
)
Variables ¶
This section is empty.
Functions ¶
func ParamKeyTable ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the validator store
func (Keeper) CheckBalance ¶
func (Keeper) CheckPoolFunds ¶
func (Keeper) UnlockFunds ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.