Documentation ¶
Index ¶
- func CmdSetProtoRevAdminAccountProposal() *cobra.Command
- func CmdSetProtoRevEnabledProposal() *cobra.Command
- func NewCmdQuery() *cobra.Command
- func NewCmdTx() *cobra.Command
- func NewQueryAdminAccountCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevAdminAccountRequest)
- func NewQueryAllProfitsCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevAllProfitsRequest)
- func NewQueryAllRouteStatisticsCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevAllRouteStatisticsRequest)
- func NewQueryBaseDenomsCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevBaseDenomsRequest)
- func NewQueryDeveloperAccountCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevDeveloperAccountRequest)
- func NewQueryEnabledCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevEnabledRequest)
- func NewQueryMaxPoolPointsPerBlockCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevMaxPoolPointsPerBlockRequest)
- func NewQueryMaxPoolPointsPerTxCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevMaxPoolPointsPerTxRequest)
- func NewQueryNumberOfTradesCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevNumberOfTradesRequest)
- func NewQueryParamsCmd() (*osmocli.QueryDescriptor, *types.QueryParamsRequest)
- func NewQueryProfitsByDenomCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevProfitsByDenomRequest)
- func NewQueryStatisticsByRouteCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevStatisticsByRouteRequest)
- func NewQueryTokenPairArbRoutesCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevTokenPairArbRoutesRequest)
- func ProposalExecute(cmd *cobra.Command, args []string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdSetProtoRevAdminAccountProposal ¶
CmdSetProtoRevAdminAccountProposal implements the command to submit a SetProtoRevAdminAccountProposal
func CmdSetProtoRevEnabledProposal ¶
CmdSetProtoRevEnabledProposal implements the command to submit a SetProtoRevEnabledProposal
func NewCmdQuery ¶
NewCmdQuery returns the cli query commands for this module
func NewQueryAdminAccountCmd ¶
func NewQueryAdminAccountCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevAdminAccountRequest)
NewQueryAdminAccountCmd returns the command to query the admin account
func NewQueryAllProfitsCmd ¶
func NewQueryAllProfitsCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevAllProfitsRequest)
NewQueryAllProfitsCmd returns the command to query all profits of protorev
func NewQueryAllRouteStatisticsCmd ¶
func NewQueryAllRouteStatisticsCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevAllRouteStatisticsRequest)
NewQueryAllRouteStatisticsCmd returns the command to query all route statistics of protorev
func NewQueryBaseDenomsCmd ¶
func NewQueryBaseDenomsCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevBaseDenomsRequest)
NewQueryBaseDenomsCmd returns the command to query the base denoms
func NewQueryDeveloperAccountCmd ¶
func NewQueryDeveloperAccountCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevDeveloperAccountRequest)
NewQueryDeveloperAccountCmd returns the command to query the developer account
func NewQueryEnabledCmd ¶
func NewQueryEnabledCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevEnabledRequest)
NewQueryEnabled returns the command to query the enabled status of protorev
func NewQueryMaxPoolPointsPerBlockCmd ¶
func NewQueryMaxPoolPointsPerBlockCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevMaxPoolPointsPerBlockRequest)
NewQueryMaxPoolPointsPerBlockCmd returns the command to query the max pool points per block
func NewQueryMaxPoolPointsPerTxCmd ¶
func NewQueryMaxPoolPointsPerTxCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevMaxPoolPointsPerTxRequest)
NewQueryMaxPoolPointsPerTxCmd returns the command to query the max pool points per tx
func NewQueryNumberOfTradesCmd ¶
func NewQueryNumberOfTradesCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevNumberOfTradesRequest)
NewQueryNumberOfTradesCmd returns the command to query the number of trades executed by protorev
func NewQueryParamsCmd ¶
func NewQueryParamsCmd() (*osmocli.QueryDescriptor, *types.QueryParamsRequest)
NewQueryParamsCmd returns the command to query the module params
func NewQueryProfitsByDenomCmd ¶
func NewQueryProfitsByDenomCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevProfitsByDenomRequest)
NewQueryProfitsByDenomCmd returns the command to query the profits of protorev by denom
func NewQueryStatisticsByRouteCmd ¶
func NewQueryStatisticsByRouteCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevStatisticsByRouteRequest)
NewQueryStatisticsByRoute returns the command to query the statistics of protorev by route
func NewQueryTokenPairArbRoutesCmd ¶
func NewQueryTokenPairArbRoutesCmd() (*osmocli.QueryDescriptor, *types.QueryGetProtoRevTokenPairArbRoutesRequest)
NewQueryTokenPairArbRoutesCmd returns the command to query the token pair arb routes
func ProposalExecute ¶
func ProposalExecute(cmd *cobra.Command, args []string, createContent func(title string, description string, args ...string) (govtypes.Content, error)) error
ProposalExecute is a helper function to execute a proposal command. It takes in a function to create the proposal content.
Types ¶
This section is empty.