Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AfterValidatorBeginUnbonding(ctx sdk.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error
- func (k Keeper) ApplyAndReturnValidatorSetUpdates(ctx sdk.Context) (updates []abci.ValidatorUpdate, err error)
- func (k Keeper) BlockChurnInterval(ctx sdk.Context) (res int64)
- func (k Keeper) BlockValidatorUpdates(ctx sdk.Context) []abci.ValidatorUpdate
- func (k Keeper) CandidateRatio(ctx sdk.Context) (res sdk.Dec)
- func (k Keeper) CreatePool(c context.Context, req *types.QueryGetCreatePoolRequest) (*types.QueryGetCreatePoolResponse, error)
- func (k Keeper) CreatePoolAll(c context.Context, req *types.QueryAllCreatePoolRequest) (*types.QueryAllCreatePoolResponse, error)
- func (k Keeper) GetAllCreatePool(ctx sdk.Context) (list []types.CreatePool)
- func (k Keeper) GetAllIssueToken(ctx sdk.Context) (list []types.IssueToken)
- func (k Keeper) GetCreatePool(ctx sdk.Context, index string) (val types.CreatePool, found bool)
- func (k Keeper) GetEligibleValidators(ctx sdk.Context) (stakingtypes.Validators, error)
- func (k Keeper) GetIssueToken(ctx sdk.Context, index string) (val types.IssueToken, found bool)
- func (k Keeper) GetLastPool(c context.Context, req *types.QueryLatestPoolRequest) (*types.QueryLastPoolResponse, error)
- func (k Keeper) GetParams(ctx sdk.Context) vaultmoduletypes.Params
- func (k Keeper) IssueToken(c context.Context, req *types.QueryGetIssueTokenRequest) (*types.QueryGetIssueTokenResponse, error)
- func (k Keeper) IssueTokenAll(c context.Context, req *types.QueryAllIssueTokenRequest) (*types.QueryAllIssueTokenResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) NewUpdate(ctx sdk.Context) []abci.ValidatorUpdate
- func (k Keeper) Power(ctx sdk.Context) (res int64)
- func (k Keeper) RemoveCreatePool(ctx sdk.Context, index string)
- func (k Keeper) SetCreatePool(ctx sdk.Context, createPool types.CreatePool)
- func (k Keeper) SetIssueToken(ctx sdk.Context, issueToken types.IssueToken)
- func (k Keeper) SetParams(ctx sdk.Context, params vaultmoduletypes.Params)
- func (k Keeper) StakingInfo(ctx sdk.Context)
- func (k Keeper) Step(ctx sdk.Context) (res int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.Marshaler, storeKey, memKey sdk.StoreKey, vaultStaking types.VaultStaking, bankKeeper types.BankKeeper, ps paramtypes.Subspace, ) *Keeper
func (Keeper) AfterValidatorBeginUnbonding ¶
func (k Keeper) AfterValidatorBeginUnbonding(ctx sdk.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error
AfterValidatorBeginUnbonding - call hook if registered
func (Keeper) ApplyAndReturnValidatorSetUpdates ¶
func (Keeper) BlockValidatorUpdates ¶
func (k Keeper) BlockValidatorUpdates(ctx sdk.Context) []abci.ValidatorUpdate
func (Keeper) CreatePool ¶
func (k Keeper) CreatePool(c context.Context, req *types.QueryGetCreatePoolRequest) (*types.QueryGetCreatePoolResponse, error)
func (Keeper) CreatePoolAll ¶
func (k Keeper) CreatePoolAll(c context.Context, req *types.QueryAllCreatePoolRequest) (*types.QueryAllCreatePoolResponse, error)
func (Keeper) GetAllCreatePool ¶
func (k Keeper) GetAllCreatePool(ctx sdk.Context) (list []types.CreatePool)
GetAllCreatePool returns all createPool
func (Keeper) GetAllIssueToken ¶
func (k Keeper) GetAllIssueToken(ctx sdk.Context) (list []types.IssueToken)
GetAllIssueToken returns all issueToken
func (Keeper) GetCreatePool ¶
GetCreatePool returns a createPool from its index
func (Keeper) GetEligibleValidators ¶
func (k Keeper) GetEligibleValidators(ctx sdk.Context) (stakingtypes.Validators, error)
func (Keeper) GetIssueToken ¶
GetIssueToken returns a issueToken from its index
func (Keeper) GetLastPool ¶
func (k Keeper) GetLastPool(c context.Context, req *types.QueryLatestPoolRequest) (*types.QueryLastPoolResponse, error)
func (Keeper) GetParams ¶
func (k Keeper) GetParams(ctx sdk.Context) vaultmoduletypes.Params
Get all parameteras as types.Params
func (Keeper) IssueToken ¶
func (k Keeper) IssueToken(c context.Context, req *types.QueryGetIssueTokenRequest) (*types.QueryGetIssueTokenResponse, error)
func (Keeper) IssueTokenAll ¶
func (k Keeper) IssueTokenAll(c context.Context, req *types.QueryAllIssueTokenRequest) (*types.QueryAllIssueTokenResponse, error)
func (Keeper) RemoveCreatePool ¶
RemoveCreatePool removes a createPool from the store
func (Keeper) SetCreatePool ¶
func (k Keeper) SetCreatePool(ctx sdk.Context, createPool types.CreatePool)
SetCreatePool set a specific createPool in the store from its index
func (Keeper) SetIssueToken ¶
func (k Keeper) SetIssueToken(ctx sdk.Context, issueToken types.IssueToken)
SetIssueToken set a specific issueToken in the store from its index
func (Keeper) SetParams ¶
func (k Keeper) SetParams(ctx sdk.Context, params vaultmoduletypes.Params)
set the params
func (Keeper) StakingInfo ¶
Click to show internal directories.
Click to hide internal directories.