Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/swap/types ALIASGEN: github.com/sentinel-official/hub/x/swap/keeper ALIASGEN: github.com/sentinel-official/hub/x/swap/querier
Index ¶
- Constants
- Variables
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- func ValidateGenesis(state types.GenesisState) error
- type AppModule
- func (a AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
- func (a AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (a AppModule) GenerateGenesisState(_ *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) NewHandler() sdk.Handler
- func (a AppModule) NewQuerierHandler() sdk.Querier
- func (a AppModule) ProposalContents(_ module.SimulationState) []xsimulation.WeightedProposalContent
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RandomizedParams(_ *rand.Rand) []xsimulation.ParamChange
- func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
- func (a AppModule) Route() string
- func (a AppModule) WeightedOperations(_ module.SimulationState) []xsimulation.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis() json.RawMessage
- func (a AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (a AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (a AppModuleBasic) RegisterRESTRoutes(context context.CLIContext, router *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(data json.RawMessage) error
- type EthereumHash
- type GenesisState
- type Keeper
- type MsgSwap
- type Params
- type QuerySwapParams
- type QuerySwapsParams
- type Swap
- type Swaps
Constants ¶
View Source
const ( EthereumHashLength = types.EthereumHashLength AttributeKeyTxHash = types.AttributeKeyTxHash AttributeKeyAddress = types.AttributeKeyAddress AttributeKeyAmount = types.AttributeKeyAmount ModuleName = types.ModuleName QuerierRoute = types.QuerierRoute DefaultParamspace = types.DefaultParamspace DefaultSwapEnabled = types.DefaultSwapEnabled DefaultSwapDenom = types.DefaultSwapDenom QuerySwap = types.QuerySwap QuerySwaps = types.QuerySwaps )
Variables ¶
View Source
var ( // functions aliases RegisterCodec = types.RegisterCodec BytesToHash = types.BytesToHash NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState SwapKey = types.SwapKey NewMsgSwap = types.NewMsgSwap NewParams = types.NewParams DefaultParams = types.DefaultParams ParamsKeyTable = types.ParamsKeyTable NewQuerySwapParams = types.NewQuerySwapParams NewQuerySwapsParams = types.NewQuerySwapsParams NewKeeper = keeper.NewKeeper NewQuerier = querier.NewQuerier // variable aliases ModuleCdc = types.ModuleCdc ErrorMarshal = types.ErrorMarshal ErrorUnmarshal = types.ErrorUnmarshal ErrorUnknownMsgType = types.ErrorUnknownMsgType ErrorUnknownQueryType = types.ErrorUnknownQueryType ErrorInvalidField = types.ErrorInvalidField ErrorSwapIsDisabled = types.ErrorSwapIsDisabled ErrorDuplicateSwap = types.ErrorDuplicateSwap EventTypeSet = types.EventTypeSet ParamsSubspace = types.ParamsSubspace RouterKey = types.RouterKey StoreKey = types.StoreKey EventModuleName = types.EventModuleName SwapKeyPrefix = types.SwapKeyPrefix DefaultApproveBy = types.DefaultApproveBy KeySwapEnabled = types.KeySwapEnabled KeySwapDenom = types.KeySwapDenom KeyApproveBy = types.KeyApproveBy )
Functions ¶
func ExportGenesis ¶
func InitGenesis ¶
func ValidateGenesis ¶
func ValidateGenesis(state types.GenesisState) error
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
func (AppModule) GenerateGenesisState ¶
func (a AppModule) GenerateGenesisState(_ *module.SimulationState)
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) ProposalContents ¶
func (a AppModule) ProposalContents(_ module.SimulationState) []xsimulation.WeightedProposalContent
func (AppModule) QuerierRoute ¶
func (AppModule) RandomizedParams ¶
func (a AppModule) RandomizedParams(_ *rand.Rand) []xsimulation.ParamChange
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterStoreDecoder ¶
func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶
func (a AppModule) WeightedOperations(_ module.SimulationState) []xsimulation.WeightedOperation
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (a AppModuleBasic) RegisterRESTRoutes(context context.CLIContext, router *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(data json.RawMessage) error
type EthereumHash ¶
type EthereumHash = types.EthereumHash
type GenesisState ¶
type GenesisState = types.GenesisState
type QuerySwapParams ¶
type QuerySwapParams = types.QuerySwapParams
type QuerySwapsParams ¶
type QuerySwapsParams = types.QuerySwapsParams
Click to show internal directories.
Click to hide internal directories.