Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertCancelFeeSplitMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error)
- func ConvertRegisterFeeSplitMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error)
- func ConvertUpdateFeeSplitMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error)
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, data types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- func NewProposalHandler(k *Keeper) govTypes.Handler
- func RegisterConvert()
- type AppModule
- func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
- func (am AppModule) CommitFilter() *store.StoreFilter
- func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (AppModule) Name() string
- func (am AppModule) NewHandler() sdk.Handler
- func (am AppModule) NewQuerierHandler() sdk.Querier
- func (am AppModule) PruneFilter() *store.StoreFilter
- func (am AppModule) QuerierRoute() string
- func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
- func (am AppModule) RegisterTask() upgrade.HeightTask
- func (am AppModule) Route() string
- func (am AppModule) UpgradeHeight() int64
- func (am AppModule) VersionFilter() *store.VersionFilter
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type Keeper
Constants ¶
const ( ModuleName = types.ModuleName StoreKey = types.StoreKey RouterKey = types.RouterKey )
Variables ¶
var ( NewKeeper = keeper.NewKeeper SetParamsNeedUpdate = types.SetParamsNeedUpdate )
var (
ErrCheckSignerFail = errors.New("check signer fail")
)
Functions ¶
func ExportGenesis ¶
ExportGenesis export module state
func InitGenesis ¶
InitGenesis import module genesis
func NewHandler ¶
NewHandler defines the fees module handler instance
func NewProposalHandler ¶
NewProposalHandler handles "gov" type message in "feesplit"
func RegisterConvert ¶
func RegisterConvert()
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic *base.BaseIBCUpgradeModule // contains filtered or unexported fields }
AppModule implements the AppModule interface for the fees module.
func NewAppModule ¶
NewAppModule creates a new AppModule Object
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
BeginBlock executes all ABCI BeginBlock logic respective to the fees module.
func (AppModule) CommitFilter ¶
func (am AppModule) CommitFilter() *store.StoreFilter
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock executes all ABCI EndBlock logic respective to the fees module. It returns no validator updates.
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
ExportGenesis returns the fees module's exported genesis state as raw JSON bytes.
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
InitGenesis performs the fees module's genesis initialization. It returns no validator updates.
func (AppModule) NewHandler ¶
NewHandler returns nil - fees module doesn't expose tx gRPC endpoints
func (AppModule) NewQuerierHandler ¶
NewQuerierHandler sets up new querier handler for module
func (AppModule) PruneFilter ¶
func (am AppModule) PruneFilter() *store.StoreFilter
func (AppModule) QuerierRoute ¶
QuerierRoute returns the claim module's query routing key.
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
RegisterInvariants registers the fees module's invariants.
func (AppModule) RegisterTask ¶
func (am AppModule) RegisterTask() upgrade.HeightTask
func (AppModule) UpgradeHeight ¶
func (AppModule) VersionFilter ¶
func (am AppModule) VersionFilter() *store.VersionFilter
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic type for the fees module
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
DefaultGenesis is json default structure
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
GetQueryCmd Gets the root query command of this module
func (AppModuleBasic) GetTxCmd ¶
func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
GetTxCmd returns the root tx command for the swap module.
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the fees module's name.
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
RegisterCodec registers types for module
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router)
RegisterRESTRoutes Registers rest routes
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis is the validation check of the Genesis