Documentation ¶
Index ¶
- Constants
- func NewQuerier(k Keeper) sdk.Querier
- func ParamKeyTable() params.KeyTable
- type Keeper
- func (k Keeper) DequeueAllMatureUnBondingQueue(ctx sdk.Context, curTime time.Time) (matureUnBondings []types.UnBonding)
- func (k Keeper) DoServiceNodeClaim(ctx sdk.Context, m types.MsgServiceNodeClaim) (err sdk.Error)
- func (k Keeper) DoUnbond(ctx sdk.Context, unBonding types.UnBonding) sdk.Error
- func (k Keeper) GetAllServiceNodes(ctx sdk.Context) (serviceNodes types.ServiceNodes)
- func (k Keeper) GetMinBond(ctx sdk.Context) (res sdk.Coin)
- func (k Keeper) GetParams(ctx sdk.Context) (res types.Params)
- func (k Keeper) GetServiceNode(ctx sdk.Context, operator sdk.AccAddress) (obj types.ServiceNode, found bool)
- func (k Keeper) GetServiceNodeAddByMoniker(ctx sdk.Context, moniker string) (acc sdk.AccAddress, exist bool)
- func (k Keeper) GetUnBondingQueueTimeSlice(ctx sdk.Context, timestamp time.Time) (unBondings types.UnBondings)
- func (k Keeper) GetUnbondingTime(ctx sdk.Context) (res time.Duration)
- func (k Keeper) InsertUnBondingQueue(ctx sdk.Context, unBonding types.UnBonding, endTime time.Time)
- func (k Keeper) SetMinBond(ctx sdk.Context, minBond sdk.Coin)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetUnBondingQueueTimeSlice(ctx sdk.Context, timestamp time.Time, todos types.UnBondings)
- func (k Keeper) SetUnbondingTime(ctx sdk.Context, unbondingTime time.Duration)
- func (k Keeper) UnBondingQueueIterator(ctx sdk.Context, endTime time.Time) sdk.Iterator
Constants ¶
View Source
const (
DefaultParamspace = types.ModuleName
)
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func ParamKeyTable ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) DequeueAllMatureUnBondingQueue ¶
func (Keeper) DoServiceNodeClaim ¶
func (Keeper) GetAllServiceNodes ¶
func (k Keeper) GetAllServiceNodes(ctx sdk.Context) (serviceNodes types.ServiceNodes)
func (Keeper) GetServiceNode ¶
func (k Keeper) GetServiceNode(ctx sdk.Context, operator sdk.AccAddress) (obj types.ServiceNode, found bool)
func (Keeper) GetServiceNodeAddByMoniker ¶
func (Keeper) GetUnBondingQueueTimeSlice ¶
func (Keeper) GetUnbondingTime ¶
func (Keeper) InsertUnBondingQueue ¶
func (Keeper) SetUnBondingQueueTimeSlice ¶
func (Keeper) SetUnbondingTime ¶
Click to show internal directories.
Click to hide internal directories.