Documentation ¶
Index ¶
- func NewMsgServer(kb Builder) ugov.MsgServer
- type Builder
- type Keeper
- func (k Keeper) EmergencyGroup() sdk.AccAddress
- func (k Keeper) ExportGenesis() *ugov.GenesisState
- func (k Keeper) InflationCycleEnd() time.Time
- func (k Keeper) InflationParams() ugov.InflationParams
- func (k Keeper) InitGenesis(gs *ugov.GenesisState) error
- func (k Keeper) MinGasPrice() sdk.DecCoin
- func (k Keeper) SetEmergencyGroup(p sdk.AccAddress)
- func (k Keeper) SetInflationCycleEnd(cycleEnd time.Time) error
- func (k Keeper) SetInflationParams(ip ugov.InflationParams) error
- func (k Keeper) SetMinGasPrice(p sdk.DecCoin) error
- type Migrator
- type Querier
- func (q Querier) EmergencyGroup(ctx context.Context, _ *ugov.QueryEmergencyGroup) (*ugov.QueryEmergencyGroupResponse, error)
- func (q Querier) InflationCycleEnd(ctx context.Context, _ *ugov.QueryInflationCycleEnd) (*ugov.QueryInflationCycleEndResponse, error)
- func (q Querier) InflationParams(ctx context.Context, _ *ugov.QueryInflationParams) (*ugov.QueryInflationParamsResponse, error)
- func (q Querier) MinGasPrice(ctx context.Context, _ *ugov.QueryMinGasPrice) (*ugov.QueryMinGasPriceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServer ¶
NewMsgServer returns an implementation of uibc.MsgServer
Types ¶
type Builder ¶
type Builder struct { Cdc codec.BinaryCodec // contains filtered or unexported fields }
Builder constructs Keeper by perparing all related dependencies (notably the store).
func NewKeeperBuilder ¶
func NewKeeperBuilder( cdc codec.BinaryCodec, key storetypes.StoreKey, ) Builder
func (Builder) EmergencyGroup ¶
func (kb Builder) EmergencyGroup(ctx *sdk.Context) ugov.WithEmergencyGroup
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper provides a light interface for module data access and transformation
func (Keeper) EmergencyGroup ¶
func (k Keeper) EmergencyGroup() sdk.AccAddress
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis() *ugov.GenesisState
func (Keeper) InflationCycleEnd ¶
Returns zero unix time if the inflation cycle was not set.
func (Keeper) InflationParams ¶
func (k Keeper) InflationParams() ugov.InflationParams
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(gs *ugov.GenesisState) error
func (Keeper) MinGasPrice ¶
func (Keeper) SetEmergencyGroup ¶
func (k Keeper) SetEmergencyGroup(p sdk.AccAddress)
func (Keeper) SetInflationParams ¶
func (k Keeper) SetInflationParams(ip ugov.InflationParams) error
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
func NewMigrator ¶
NewMigrator returns a new Migrator instance.
type Querier ¶
type Querier struct {
Builder
}
Querier implements a QueryServer for the x/uibc module.
func NewQuerier ¶
func (Querier) EmergencyGroup ¶
func (q Querier) EmergencyGroup(ctx context.Context, _ *ugov.QueryEmergencyGroup, ) (*ugov.QueryEmergencyGroupResponse, error)
func (Querier) InflationCycleEnd ¶
func (q Querier) InflationCycleEnd(ctx context.Context, _ *ugov.QueryInflationCycleEnd) ( *ugov.QueryInflationCycleEndResponse, error, )
InflationCycleEnd return when the inflation cycle will be ended.
func (Querier) InflationParams ¶
func (q Querier) InflationParams(ctx context.Context, _ *ugov.QueryInflationParams) ( *ugov.QueryInflationParamsResponse, error, )
InflationParams returns inflation rate change params
func (Querier) MinGasPrice ¶
func (q Querier) MinGasPrice(ctx context.Context, _ *ugov.QueryMinGasPrice) (*ugov.QueryMinGasPriceResponse, error)
MinTxFees returns minimum transaction fees.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.