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
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
- 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, cdc codec.JSONMarshaler) json.RawMessage
- func (a AppModule) GenerateGenesisState(_ *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, message json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
- func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalContent
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RandomizedParams(_ *rand.Rand) []simulation.ParamChange
- func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(configurator module.Configurator)
- func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
- func (a AppModule) Route() sdk.Route
- func (a AppModule) WeightedOperations(_ module.SimulationState) []simulation.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONMarshaler) json.RawMessage
- func (a AppModuleBasic) GetQueryCmd() *cobra.Command
- func (a AppModuleBasic) GetTxCmd() *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
- func (a AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONMarshaler, _ client.TxEncodingConfig, message json.RawMessage) error
- type EthereumHash
- type GenesisState
- type Keeper
- type MsgServiceClient
- type MsgServiceServer
- type MsgSwapRequest
- type MsgSwapResponse
- type Params
- type QueryServiceClient
- type QueryServiceServer
- type QuerySwapRequest
- type QuerySwapResponse
- type QuerySwapsRequest
- type QuerySwapsResponse
- type Swap
- type Swaps
- type UnimplementedMsgServiceServer
- type UnimplementedQueryServiceServer
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 DefaultApproveBy = types.DefaultApproveBy )
Variables ¶
View Source
var ( // functions aliases RegisterLegacyAminoCodec = types.RegisterLegacyAminoCodec RegisterInterfaces = types.RegisterInterfaces BytesToHash = types.BytesToHash NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState SwapKey = types.SwapKey NewMsgSwapRequest = types.NewMsgSwapRequest NewMsgServiceClient = types.NewMsgServiceClient RegisterMsgServiceServer = types.RegisterMsgServiceServer NewParams = types.NewParams DefaultParams = types.DefaultParams ParamsKeyTable = types.ParamsKeyTable NewQuerySwapRequest = types.NewQuerySwapRequest NewQuerySwapsRequest = types.NewQuerySwapsRequest NewQueryServiceClient = types.NewQueryServiceClient RegisterQueryServiceServer = types.RegisterQueryServiceServer RegisterQueryServiceHandlerServer = types.RegisterQueryServiceHandlerServer RegisterQueryServiceHandlerFromEndpoint = types.RegisterQueryServiceHandlerFromEndpoint RegisterQueryServiceHandler = types.RegisterQueryServiceHandler RegisterQueryServiceHandlerClient = types.RegisterQueryServiceHandlerClient NewKeeper = keeper.NewKeeper NewMsgServiceServer = keeper.NewMsgServiceServer NewQueryServiceServer = keeper.NewQueryServiceServer // 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 ErrInvalidLengthGenesis = types.ErrInvalidLengthGenesis ErrIntOverflowGenesis = types.ErrIntOverflowGenesis ErrUnexpectedEndOfGroupGenesis = types.ErrUnexpectedEndOfGroupGenesis ParamsSubspace = types.ParamsSubspace RouterKey = types.RouterKey StoreKey = types.StoreKey PrecisionLoss = types.PrecisionLoss EventModuleName = types.EventModuleName SwapKeyPrefix = types.SwapKeyPrefix ErrInvalidLengthMsg = types.ErrInvalidLengthMsg ErrIntOverflowMsg = types.ErrIntOverflowMsg ErrUnexpectedEndOfGroupMsg = types.ErrUnexpectedEndOfGroupMsg KeySwapEnabled = types.KeySwapEnabled KeySwapDenom = types.KeySwapDenom KeyApproveBy = types.KeyApproveBy ErrInvalidLengthParams = types.ErrInvalidLengthParams ErrIntOverflowParams = types.ErrIntOverflowParams ErrUnexpectedEndOfGroupParams = types.ErrUnexpectedEndOfGroupParams ErrInvalidLengthQuerier = types.ErrInvalidLengthQuerier ErrIntOverflowQuerier = types.ErrIntOverflowQuerier ErrUnexpectedEndOfGroupQuerier = types.ErrUnexpectedEndOfGroupQuerier ErrInvalidLengthSwap = types.ErrInvalidLengthSwap ErrIntOverflowSwap = types.ErrIntOverflowSwap ErrUnexpectedEndOfGroupSwap = types.ErrUnexpectedEndOfGroupSwap )
Functions ¶
func ExportGenesis ¶
func InitGenesis ¶
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, cdc codec.JSONMarshaler) json.RawMessage
func (AppModule) GenerateGenesisState ¶
func (a AppModule) GenerateGenesisState(_ *module.SimulationState)
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, message json.RawMessage) []abci.ValidatorUpdate
func (AppModule) LegacyQuerierHandler ¶ added in v0.6.0
func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
func (AppModule) ProposalContents ¶
func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalContent
func (AppModule) QuerierRoute ¶
func (AppModule) RandomizedParams ¶
func (a AppModule) RandomizedParams(_ *rand.Rand) []simulation.ParamChange
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶ added in v0.6.0
func (a AppModule) RegisterServices(configurator module.Configurator)
func (AppModule) RegisterStoreDecoder ¶
func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶
func (a AppModule) WeightedOperations(_ module.SimulationState) []simulation.WeightedOperation
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONMarshaler) json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd() *cobra.Command
func (AppModuleBasic) GetTxCmd ¶
func (a AppModuleBasic) GetTxCmd() *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶ added in v0.6.0
func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶ added in v0.6.0
func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶ added in v0.6.0
func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (a AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONMarshaler, _ client.TxEncodingConfig, message json.RawMessage) error
type EthereumHash ¶
type EthereumHash = types.EthereumHash
type GenesisState ¶
type GenesisState = types.GenesisState
type MsgServiceClient ¶
type MsgServiceClient = types.MsgServiceClient
type MsgServiceServer ¶
type MsgServiceServer = types.MsgServiceServer
type MsgSwapRequest ¶
type MsgSwapRequest = types.MsgSwapRequest
type MsgSwapResponse ¶
type MsgSwapResponse = types.MsgSwapResponse
type QueryServiceClient ¶
type QueryServiceClient = types.QueryServiceClient
type QueryServiceServer ¶
type QueryServiceServer = types.QueryServiceServer
type QuerySwapRequest ¶
type QuerySwapRequest = types.QuerySwapRequest
type QuerySwapResponse ¶
type QuerySwapResponse = types.QuerySwapResponse
type QuerySwapsRequest ¶
type QuerySwapsRequest = types.QuerySwapsRequest
type QuerySwapsResponse ¶
type QuerySwapsResponse = types.QuerySwapsResponse
type UnimplementedMsgServiceServer ¶
type UnimplementedMsgServiceServer = types.UnimplementedMsgServiceServer
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer = types.UnimplementedQueryServiceServer
Directories
¶
Path | Synopsis |
---|---|
client
|
|
Package types is a reverse proxy.
|
Package types is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.