Documentation ¶
Index ¶
- func NewMsgServer(kb Builder) auction.MsgServer
- func NewQuerier(kb Builder) auction.QueryServer
- type Builder
- type Keeper
- func (k Keeper) ExportGenesis() (*auction.GenesisState, error)
- func (k Keeper) FinalizeRewardsAuction() error
- func (k Keeper) GetRewardsParams() (params auction.RewardsParams)
- func (k Keeper) InitGenesis(g *auction.GenesisState) error
- func (k Keeper) SetRewardsParams(p *auction.RewardsParams, byEmergencyGroup bool) error
- type Querier
- func (q Querier) RewardsAuction(goCtx context.Context, msg *auction.QueryRewardsAuction) (*auction.QueryRewardsAuctionResponse, error)
- func (q Querier) RewardsAuctions(goCtx context.Context, req *auction.QueryRewardsAuctions) (*auction.QueryRewardsAuctionsResponse, error)
- func (q Querier) RewardsParams(goCtx context.Context, _ *auction.QueryRewardsParams) (*auction.QueryRewardsParamsResponse, error)
- type SubAccounts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServer ¶
NewMsgServer returns an implementation of auction.MsgServer
func NewQuerier ¶
func NewQuerier(kb Builder) auction.QueryServer
Types ¶
type Builder ¶
type Builder struct { Accs SubAccounts // contains filtered or unexported fields }
func NewBuilder ¶
func NewBuilder(cdc codec.BinaryCodec, key storetypes.StoreKey, accs SubAccounts, b auction.BankKeeper, ugov ugov.EmergencyGroupBuilder) Builder
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis() (*auction.GenesisState, error)
func (Keeper) FinalizeRewardsAuction ¶
func (Keeper) GetRewardsParams ¶
func (k Keeper) GetRewardsParams() (params auction.RewardsParams)
GetRewardsParams gets the x/uibc module's parameters.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(g *auction.GenesisState) error
func (Keeper) SetRewardsParams ¶
func (k Keeper) SetRewardsParams(p *auction.RewardsParams, byEmergencyGroup bool) error
SetRewardsParams sets params
type Querier ¶
type Querier struct {
Builder
}
Querier implements a QueryServer for the x/uibc module.
func (Querier) RewardsAuction ¶
func (q Querier) RewardsAuction(goCtx context.Context, msg *auction.QueryRewardsAuction) ( *auction.QueryRewardsAuctionResponse, error, )
RewardsAuction returns params of the x/auction module. Bidder and Bid are nul if there is no active auction.
func (Querier) RewardsAuctions ¶
func (q Querier) RewardsAuctions(goCtx context.Context, req *auction.QueryRewardsAuctions) ( *auction.QueryRewardsAuctionsResponse, error)
RewardsAuctions returns all the auctions with bids and rewards
func (Querier) RewardsParams ¶
func (q Querier) RewardsParams(goCtx context.Context, _ *auction.QueryRewardsParams) ( *auction.QueryRewardsParamsResponse, error, )
Params returns params of the x/auction module.
type SubAccounts ¶
type SubAccounts struct { // Account used to collect rewards RewardsCollect []byte }
Click to show internal directories.
Click to hide internal directories.