feesplit

package
v0.0.0-...-f498596 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = types.ModuleName
	StoreKey   = types.StoreKey
	RouterKey  = types.RouterKey
)

Variables

View Source
var (
	NewKeeper           = keeper.NewKeeper
	SetParamsNeedUpdate = types.SetParamsNeedUpdate
)
View Source
var (
	ErrCheckSignerFail = errors.New("check signer fail")
)

Functions

func ConvertCancelFeeSplitMsg

func ConvertCancelFeeSplitMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error)

func ConvertRegisterFeeSplitMsg

func ConvertRegisterFeeSplitMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error)

func ConvertUpdateFeeSplitMsg

func ConvertUpdateFeeSplitMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error)

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState

ExportGenesis export module state

func InitGenesis

func InitGenesis(
	ctx sdk.Context,
	k keeper.Keeper,
	data types.GenesisState,
)

InitGenesis import module genesis

func NewHandler

func NewHandler(k keeper.Keeper) sdk.Handler

NewHandler defines the fees module handler instance

func NewProposalHandler

func NewProposalHandler(k *Keeper) govTypes.Handler

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

func NewAppModule(k keeper.Keeper) AppModule

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

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) Name

func (AppModule) Name() string

Name returns the fees module's name.

func (AppModule) NewHandler

func (am AppModule) NewHandler() sdk.Handler

NewHandler returns nil - fees module doesn't expose tx gRPC endpoints

func (AppModule) NewQuerierHandler

func (am AppModule) NewQuerierHandler() sdk.Querier

NewQuerierHandler sets up new querier handler for module

func (AppModule) PruneFilter

func (am AppModule) PruneFilter() *store.StoreFilter

func (AppModule) QuerierRoute

func (am AppModule) QuerierRoute() string

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) Route

func (am AppModule) Route() string

Route returns the fees module's message routing key.

func (AppModule) UpgradeHeight

func (am AppModule) UpgradeHeight() int64

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

type Keeper

type Keeper = keeper.Keeper

Directories

Path Synopsis
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL