types

package
v0.0.0-...-3786997 Latest Latest
Warning

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

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

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ProposalTypeSetProtoRevEnabled      = "SetProtoRevEnabledProposal"
	ProposalTypeSetProtoRevAdminAccount = "SetProtoRevAdminAccountProposal"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "protorev"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName
)
View Source
const (
	TypeMsgSetHotRoutes             = "set_hot_routes"
	TypeMsgSetDeveloperAccount      = "set_developer_account"
	TypeMsgSetMaxPoolPointsPerTx    = "set_max_pool_points_per_tx"
	TypeMsgSetMaxPoolPointsPerBlock = "set_max_pool_points_per_block"
	TypeMsgSetPoolWeights           = "set_pool_weights"
	TypeMsgSetBaseDenoms            = "set_base_denoms"
)
View Source
const MaxIterations int = 14

Max iterations for binary search (log2(16_384) = 14)

View Source
const MaxPoolPointsPerBlock uint64 = 200

Max number of pool points that can be consumed per block (default of 100). This roughly corresponds to the maximum execution time (in ms) of protorev per block

View Source
const MaxPoolPointsPerTx uint64 = 50

Max number of pool points that can be consumed per tx. This roughly corresponds to the maximum execution time (in ms) of protorev per tx

View Source
const Phase1Length uint64 = 365

Year 1 (20% of total profit)

View Source
const Phase2Length uint64 = 730

Year 2 (10% of total profit)

View Source
const ProfitSplitPhase1 int64 = 20
View Source
const ProfitSplitPhase2 int64 = 10
View Source
const ProfitSplitPhase3 int64 = 5

All other years (5% of total profit)

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// -------------- Keys for trading stores -------------- //
	// KeyPrefixTokenPairRoutes is the prefix for the TokenPairArbRoutes store
	KeyPrefixTokenPairRoutes = []byte{prefixTokenPairRoutes}

	// KeyPrefixDenomPairToPool is the prefix that is used to store the pool id for a given denom pair (baseDenom, otherDenom)
	KeyPrefixDenomPairToPool = []byte{prefixDenomPairToPool}

	// KeyPrefixBaseDenoms is the prefix that is used to store the base denoms that are used to create cyclic arbitrage routes
	KeyPrefixBaseDenoms = []byte{prefixBaseDenoms}

	// -------------- Keys for statistics stores -------------- //
	// KeyPrefixNumberOfTrades is the prefix for the store that keeps track of the number of trades executed
	KeyPrefixNumberOfTrades = []byte{prefixNumberOfTrades}

	// KeyPrefixProfitByDenom is the prefix for the store that keeps track of the profits
	KeyPrefixProfitByDenom = []byte{prefixProfitsByDenom}

	// KeyPrefixTradesByRoute is the prefix for the store that keeps track of the number of trades executed by route
	KeyPrefixTradesByRoute = []byte{prefixTradesByRoute}

	// KeyPrefixProfitsByRoute is the prefix for the store that keeps track of the profits made by route
	KeyPrefixProfitsByRoute = []byte{prefixProfitsByRoute}

	// -------------- Keys for configuration/admin stores -------------- //
	// KeyPrefixProtoRevEnabled is the prefix for store that keeps track of whether protorev is enabled
	KeyPrefixProtoRevEnabled = []byte{prefixProtoRevEnabled}

	// KeyPrefixAdminAccount is the prefix for store that keeps track of the admin account
	KeyPrefixAdminAccount = []byte{prefixAdminAccount}

	// KeyPrefixDeveloperAccount is the prefix for store that keeps track of the developer account
	KeyPrefixDeveloperAccount = []byte{prefixDeveloperAccount}

	// KeyPrefixDaysSinceGenesis is the prefix for store that keeps track of the number of days since genesis
	KeyPrefixDaysSinceGenesis = []byte{prefixDaysSinceGenesis}

	// KeyPrefixDeveloperFees is the prefix for store that keeps track of the developer fees
	KeyPrefixDeveloperFees = []byte{prefixDeveloperFees}

	// KeyPrefixMaxPointsPerTx is the prefix for store that keeps track of the max number of pool points that can be consumed per tx
	KeyPrefixMaxPointsPerTx = []byte{prefixMaxPoolPointsPerTx}

	// KeyPrefixMaxPointsPerBlock is the prefix for store that keeps track of the max number of pool points that can be consumed per block
	KeyPrefixMaxPointsPerBlock = []byte{prefixMaxPoolPointsPerBlock}

	// KeyPrefixPointCountForBlock is the prefix for store that keeps track of the number of pool points that have been consumed in the current block
	KeyPrefixPointCountForBlock = []byte{prefixPoolPointCountForBlock}

	// KeyPrefixLatestBlockHeight is the prefix for store that keeps track of the latest recorded block height
	KeyPrefixLatestBlockHeight = []byte{prefixLatestBlockHeight}

	// KeyPrefixPoolWeights is the prefix for store that keeps track of the weights for different pool types
	KeyPrefixPoolWeights = []byte{prefixPoolWeights}
)
View Source
var (
	DefaultEnableModule = true

	ParamStoreKeyEnableModule = []byte("EnableProtoRevModule")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProtorev        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProtorev          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProtorev = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AtomDenomination string = "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2"

AtomDenomination stores the native denom name for Atom on chain used for route building

View Source
var MaxInputAmount = sdk.NewInt(16_384)

MaxInputAmount is the upper bound index for finding the optimal in amount when determining route profitability (2 ^ 14) = 16,384

View Source
var MerlinDenomination string = "umer"

MerlinDenomination stores the native denom name for Merlin on chain used for route building

View Source
var StepSize = sdk.NewInt(1_000_000)

StepSize is the amount we multiply each index in the binary search method

Functions

func CreateRouteFromKey

func CreateRouteFromKey(key []byte) ([]uint64, error)

createRouteFromKey creates a route from a key. converts a string separated by a pipe to a slice of uint64 []byte("1|2|3|4") -> {1,2,3,4}

func CreateRouteKey

func CreateRouteKey(route []uint64) []byte

createRouteKey creates a key for the given route. converts a slice of uint64 to a string separated by a pipe {1,2,3,4} -> []byte("1|2|3|4")

func GetKeyPrefixBaseDenom

func GetKeyPrefixBaseDenom(priority uint64) []byte

Returns the key needed to fetch info about base denoms

func GetKeyPrefixDenomPairToPool

func GetKeyPrefixDenomPairToPool(baseDenom, matchDenom string) []byte

Returns the key needed to fetch the pool id for a given denom

func GetKeyPrefixDeveloperFees

func GetKeyPrefixDeveloperFees(denom string) []byte

Returns the key needed to fetch the developer fees by coin

func GetKeyPrefixProfitByDenom

func GetKeyPrefixProfitByDenom(denom string) []byte

Returns the key needed to fetch the profit by coin

func GetKeyPrefixProfitsByRoute

func GetKeyPrefixProfitsByRoute(route []uint64, denom string) []byte

Returns the key needed to fetch the profits by route

func GetKeyPrefixRouteForTokenPair

func GetKeyPrefixRouteForTokenPair(tokenA, tokenB string) []byte

Returns the key needed to fetch the tokenPair routes for a given pair of tokens

func GetKeyPrefixTradesByRoute

func GetKeyPrefixTradesByRoute(route []uint64) []byte

Returns the key needed to fetch the number of trades by route

func NewSetProtoRevAdminAccountProposal

func NewSetProtoRevAdminAccountProposal(title, description string, account string) govtypes.Content

---------------- Interface for SetProtoRevAdminAccountProposal ---------------- //

func NewSetProtoRevEnabledProposal

func NewSetProtoRevEnabledProposal(title, description string, enabled bool) govtypes.Content

---------------- Interface for SetProtoRevEnabledProposal ---------------- //

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgHandler

func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMsgHandler registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMsgHandlerClient

func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error

RegisterMsgHandlerClient registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MsgClient" to call the correct interceptors.

func RegisterMsgHandlerFromEndpoint

func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMsgHandlerServer

func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error

RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateBoolean

func ValidateBoolean(i interface{}) error

Types

type AccountKeeper

type AccountKeeper interface {
	GetModuleAddress(moduleName string) sdk.AccAddress
}

AccountKeeper defines the account contract that must be fulfilled when creating a x/protorev keeper.

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error
}

BankKeeper defines the banking contract that must be fulfilled when creating a x/protorev keeper.

type BaseDenom

type BaseDenom struct {
	// The denom i.e. name of the base denom (ex. umer)
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// The step size of the binary search that is used to find the optimal swap
	// amount
	StepSize github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=step_size,json=stepSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"step_size"`
}

BaseDenom represents a single base denom that the module uses for its arbitrage trades. It contains the denom name alongside the step size of the binary search that is used to find the optimal swap amount

func (*BaseDenom) Descriptor

func (*BaseDenom) Descriptor() ([]byte, []int)

func (*BaseDenom) GetDenom

func (m *BaseDenom) GetDenom() string

func (*BaseDenom) Marshal

func (m *BaseDenom) Marshal() (dAtA []byte, err error)

func (*BaseDenom) MarshalTo

func (m *BaseDenom) MarshalTo(dAtA []byte) (int, error)

func (*BaseDenom) MarshalToSizedBuffer

func (m *BaseDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BaseDenom) ProtoMessage

func (*BaseDenom) ProtoMessage()

func (*BaseDenom) Reset

func (m *BaseDenom) Reset()

func (*BaseDenom) Size

func (m *BaseDenom) Size() (n int)

func (*BaseDenom) String

func (m *BaseDenom) String() string

func (*BaseDenom) Unmarshal

func (m *BaseDenom) Unmarshal(dAtA []byte) error

func (*BaseDenom) XXX_DiscardUnknown

func (m *BaseDenom) XXX_DiscardUnknown()

func (*BaseDenom) XXX_Marshal

func (m *BaseDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BaseDenom) XXX_Merge

func (m *BaseDenom) XXX_Merge(src proto.Message)

func (*BaseDenom) XXX_Size

func (m *BaseDenom) XXX_Size() int

func (*BaseDenom) XXX_Unmarshal

func (m *BaseDenom) XXX_Unmarshal(b []byte) error

type EpochKeeper

type EpochKeeper interface {
	GetEpochInfo(ctx sdk.Context, identifier string) epochtypes.EpochInfo
}

EpochKeeper defines the Epoch contract that must be fulfilled when creating a x/protorev keeper.

type GAMMKeeper

type GAMMKeeper interface {
	GetPoolAndPoke(ctx sdk.Context, poolId uint64) (gammtypes.CFMMPoolI, error)
	GetPoolsAndPoke(ctx sdk.Context) (res []gammtypes.CFMMPoolI, err error)
	GetPoolDenoms(ctx sdk.Context, poolId uint64) ([]string, error)
	GetPoolType(ctx sdk.Context, poolId uint64) (poolmanagertypes.PoolType, error)
}

GAMMKeeper defines the Gamm contract that must be fulfilled when creating a x/protorev keeper.

type GenesisState

type GenesisState struct {
	// Module Parameters
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// Hot routes that are configured on genesis
	TokenPairs []TokenPairArbRoutes `protobuf:"bytes,2,rep,name=token_pairs,json=tokenPairs,proto3" json:"token_pairs"`
}

GenesisState defines the protorev module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (GenesisState) CheckRoutes

func (gs GenesisState) CheckRoutes() error

Routes entered into the genesis state must start and end with the same denomination and the denomination must be Mer or Atom. Additionally, there cannot be duplicate routes (same token pairs).

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetTokenPairs

func (m *GenesisState) GetTokenPairs() []TokenPairArbRoutes

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// SetHotRoutes sets the hot routes that will be explored when creating
	// cyclic arbitrage routes. Can only be called by the admin account.
	SetHotRoutes(ctx context.Context, in *MsgSetHotRoutes, opts ...grpc.CallOption) (*MsgSetHotRoutesResponse, error)
	// SetDeveloperAccount sets the account that can withdraw a portion of the
	// profits from the protorev module. This will be Skip's address.
	SetDeveloperAccount(ctx context.Context, in *MsgSetDeveloperAccount, opts ...grpc.CallOption) (*MsgSetDeveloperAccountResponse, error)
	// SetMaxPoolPointsPerTx sets the maximum number of pool points that can be
	// consumed per transaction. Can only be called by the admin account.
	SetMaxPoolPointsPerTx(ctx context.Context, in *MsgSetMaxPoolPointsPerTx, opts ...grpc.CallOption) (*MsgSetMaxPoolPointsPerTxResponse, error)
	// SetMaxPoolPointsPerBlock sets the maximum number of pool points that can be
	// consumed per block. Can only be called by the admin account.
	SetMaxPoolPointsPerBlock(ctx context.Context, in *MsgSetMaxPoolPointsPerBlock, opts ...grpc.CallOption) (*MsgSetMaxPoolPointsPerBlockResponse, error)
	// SetPoolWeights sets the weights of each pool type in the store. Can only be
	// called by the admin account.
	SetPoolWeights(ctx context.Context, in *MsgSetPoolWeights, opts ...grpc.CallOption) (*MsgSetPoolWeightsResponse, error)
	// SetBaseDenoms sets the base denoms that will be used to create cyclic
	// arbitrage routes. Can only be called by the admin account.
	SetBaseDenoms(ctx context.Context, in *MsgSetBaseDenoms, opts ...grpc.CallOption) (*MsgSetBaseDenomsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgServer

type MsgServer interface {
	// SetHotRoutes sets the hot routes that will be explored when creating
	// cyclic arbitrage routes. Can only be called by the admin account.
	SetHotRoutes(context.Context, *MsgSetHotRoutes) (*MsgSetHotRoutesResponse, error)
	// SetDeveloperAccount sets the account that can withdraw a portion of the
	// profits from the protorev module. This will be Skip's address.
	SetDeveloperAccount(context.Context, *MsgSetDeveloperAccount) (*MsgSetDeveloperAccountResponse, error)
	// SetMaxPoolPointsPerTx sets the maximum number of pool points that can be
	// consumed per transaction. Can only be called by the admin account.
	SetMaxPoolPointsPerTx(context.Context, *MsgSetMaxPoolPointsPerTx) (*MsgSetMaxPoolPointsPerTxResponse, error)
	// SetMaxPoolPointsPerBlock sets the maximum number of pool points that can be
	// consumed per block. Can only be called by the admin account.
	SetMaxPoolPointsPerBlock(context.Context, *MsgSetMaxPoolPointsPerBlock) (*MsgSetMaxPoolPointsPerBlockResponse, error)
	// SetPoolWeights sets the weights of each pool type in the store. Can only be
	// called by the admin account.
	SetPoolWeights(context.Context, *MsgSetPoolWeights) (*MsgSetPoolWeightsResponse, error)
	// SetBaseDenoms sets the base denoms that will be used to create cyclic
	// arbitrage routes. Can only be called by the admin account.
	SetBaseDenoms(context.Context, *MsgSetBaseDenoms) (*MsgSetBaseDenomsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetBaseDenoms

type MsgSetBaseDenoms struct {
	// admin is the account that is authorized to set the base denoms.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// base_denoms is the list of base denoms to set.
	BaseDenoms []*BaseDenom `protobuf:"bytes,2,rep,name=base_denoms,json=baseDenoms,proto3" json:"base_denoms,omitempty"`
}

MsgSetBaseDenoms defines the Msg/SetBaseDenoms request type.

func NewMsgSetBaseDenoms

func NewMsgSetBaseDenoms(admin string, baseDenoms []*BaseDenom) *MsgSetBaseDenoms

---------------------- Interface for MsgSetBaseDenoms ---------------------- // NewMsgSetBaseDenoms creates a new MsgSetBaseDenoms instance

func (*MsgSetBaseDenoms) Descriptor

func (*MsgSetBaseDenoms) Descriptor() ([]byte, []int)

func (*MsgSetBaseDenoms) GetAdmin

func (m *MsgSetBaseDenoms) GetAdmin() string

func (*MsgSetBaseDenoms) GetBaseDenoms

func (m *MsgSetBaseDenoms) GetBaseDenoms() []*BaseDenom

func (MsgSetBaseDenoms) GetSignBytes

func (msg MsgSetBaseDenoms) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSetBaseDenoms) GetSigners

func (msg MsgSetBaseDenoms) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSetBaseDenoms) Marshal

func (m *MsgSetBaseDenoms) Marshal() (dAtA []byte, err error)

func (*MsgSetBaseDenoms) MarshalTo

func (m *MsgSetBaseDenoms) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetBaseDenoms) MarshalToSizedBuffer

func (m *MsgSetBaseDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetBaseDenoms) ProtoMessage

func (*MsgSetBaseDenoms) ProtoMessage()

func (*MsgSetBaseDenoms) Reset

func (m *MsgSetBaseDenoms) Reset()

func (MsgSetBaseDenoms) Route

func (msg MsgSetBaseDenoms) Route() string

Route returns the name of the module

func (*MsgSetBaseDenoms) Size

func (m *MsgSetBaseDenoms) Size() (n int)

func (*MsgSetBaseDenoms) String

func (m *MsgSetBaseDenoms) String() string

func (MsgSetBaseDenoms) Type

func (msg MsgSetBaseDenoms) Type() string

Type returns the type of the message

func (*MsgSetBaseDenoms) Unmarshal

func (m *MsgSetBaseDenoms) Unmarshal(dAtA []byte) error

func (MsgSetBaseDenoms) ValidateBasic

func (msg MsgSetBaseDenoms) ValidateBasic() error

ValidateBasic validates the MsgSetBaseDenoms

func (*MsgSetBaseDenoms) XXX_DiscardUnknown

func (m *MsgSetBaseDenoms) XXX_DiscardUnknown()

func (*MsgSetBaseDenoms) XXX_Marshal

func (m *MsgSetBaseDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetBaseDenoms) XXX_Merge

func (m *MsgSetBaseDenoms) XXX_Merge(src proto.Message)

func (*MsgSetBaseDenoms) XXX_Size

func (m *MsgSetBaseDenoms) XXX_Size() int

func (*MsgSetBaseDenoms) XXX_Unmarshal

func (m *MsgSetBaseDenoms) XXX_Unmarshal(b []byte) error

type MsgSetBaseDenomsResponse

type MsgSetBaseDenomsResponse struct {
}

MsgSetBaseDenomsResponse defines the Msg/SetBaseDenoms response type.

func (*MsgSetBaseDenomsResponse) Descriptor

func (*MsgSetBaseDenomsResponse) Descriptor() ([]byte, []int)

func (*MsgSetBaseDenomsResponse) Marshal

func (m *MsgSetBaseDenomsResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetBaseDenomsResponse) MarshalTo

func (m *MsgSetBaseDenomsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetBaseDenomsResponse) MarshalToSizedBuffer

func (m *MsgSetBaseDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetBaseDenomsResponse) ProtoMessage

func (*MsgSetBaseDenomsResponse) ProtoMessage()

func (*MsgSetBaseDenomsResponse) Reset

func (m *MsgSetBaseDenomsResponse) Reset()

func (*MsgSetBaseDenomsResponse) Size

func (m *MsgSetBaseDenomsResponse) Size() (n int)

func (*MsgSetBaseDenomsResponse) String

func (m *MsgSetBaseDenomsResponse) String() string

func (*MsgSetBaseDenomsResponse) Unmarshal

func (m *MsgSetBaseDenomsResponse) Unmarshal(dAtA []byte) error

func (*MsgSetBaseDenomsResponse) XXX_DiscardUnknown

func (m *MsgSetBaseDenomsResponse) XXX_DiscardUnknown()

func (*MsgSetBaseDenomsResponse) XXX_Marshal

func (m *MsgSetBaseDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetBaseDenomsResponse) XXX_Merge

func (m *MsgSetBaseDenomsResponse) XXX_Merge(src proto.Message)

func (*MsgSetBaseDenomsResponse) XXX_Size

func (m *MsgSetBaseDenomsResponse) XXX_Size() int

func (*MsgSetBaseDenomsResponse) XXX_Unmarshal

func (m *MsgSetBaseDenomsResponse) XXX_Unmarshal(b []byte) error

type MsgSetDeveloperAccount

type MsgSetDeveloperAccount struct {
	// admin is the account that is authorized to set the developer account.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// developer_account is the account that will receive a portion of the profits
	// from the protorev module.
	DeveloperAccount string `protobuf:"bytes,2,opt,name=developer_account,json=developerAccount,proto3" json:"developer_account,omitempty"`
}

MsgSetDeveloperAccount defines the Msg/SetDeveloperAccount request type.

func NewMsgSetDeveloperAccount

func NewMsgSetDeveloperAccount(admin string, developerAccount string) *MsgSetDeveloperAccount

---------------------- Interface for MsgSetDeveloperAccount ---------------------- // NewMsgSetDeveloperAccount creates a new MsgSetDeveloperAccount instance

func (*MsgSetDeveloperAccount) Descriptor

func (*MsgSetDeveloperAccount) Descriptor() ([]byte, []int)

func (*MsgSetDeveloperAccount) GetAdmin

func (m *MsgSetDeveloperAccount) GetAdmin() string

func (*MsgSetDeveloperAccount) GetDeveloperAccount

func (m *MsgSetDeveloperAccount) GetDeveloperAccount() string

func (MsgSetDeveloperAccount) GetSignBytes

func (msg MsgSetDeveloperAccount) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSetDeveloperAccount) GetSigners

func (msg MsgSetDeveloperAccount) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSetDeveloperAccount) Marshal

func (m *MsgSetDeveloperAccount) Marshal() (dAtA []byte, err error)

func (*MsgSetDeveloperAccount) MarshalTo

func (m *MsgSetDeveloperAccount) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetDeveloperAccount) MarshalToSizedBuffer

func (m *MsgSetDeveloperAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetDeveloperAccount) ProtoMessage

func (*MsgSetDeveloperAccount) ProtoMessage()

func (*MsgSetDeveloperAccount) Reset

func (m *MsgSetDeveloperAccount) Reset()

func (MsgSetDeveloperAccount) Route

func (msg MsgSetDeveloperAccount) Route() string

Route returns the name of the module

func (*MsgSetDeveloperAccount) Size

func (m *MsgSetDeveloperAccount) Size() (n int)

func (*MsgSetDeveloperAccount) String

func (m *MsgSetDeveloperAccount) String() string

func (MsgSetDeveloperAccount) Type

func (msg MsgSetDeveloperAccount) Type() string

Type returns the type of the message

func (*MsgSetDeveloperAccount) Unmarshal

func (m *MsgSetDeveloperAccount) Unmarshal(dAtA []byte) error

func (MsgSetDeveloperAccount) ValidateBasic

func (msg MsgSetDeveloperAccount) ValidateBasic() error

ValidateBasic validates the MsgSetDeveloperAccount

func (*MsgSetDeveloperAccount) XXX_DiscardUnknown

func (m *MsgSetDeveloperAccount) XXX_DiscardUnknown()

func (*MsgSetDeveloperAccount) XXX_Marshal

func (m *MsgSetDeveloperAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetDeveloperAccount) XXX_Merge

func (m *MsgSetDeveloperAccount) XXX_Merge(src proto.Message)

func (*MsgSetDeveloperAccount) XXX_Size

func (m *MsgSetDeveloperAccount) XXX_Size() int

func (*MsgSetDeveloperAccount) XXX_Unmarshal

func (m *MsgSetDeveloperAccount) XXX_Unmarshal(b []byte) error

type MsgSetDeveloperAccountResponse

type MsgSetDeveloperAccountResponse struct {
}

MsgSetDeveloperAccountResponse defines the Msg/SetDeveloperAccount response type.

func (*MsgSetDeveloperAccountResponse) Descriptor

func (*MsgSetDeveloperAccountResponse) Descriptor() ([]byte, []int)

func (*MsgSetDeveloperAccountResponse) Marshal

func (m *MsgSetDeveloperAccountResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetDeveloperAccountResponse) MarshalTo

func (m *MsgSetDeveloperAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetDeveloperAccountResponse) MarshalToSizedBuffer

func (m *MsgSetDeveloperAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetDeveloperAccountResponse) ProtoMessage

func (*MsgSetDeveloperAccountResponse) ProtoMessage()

func (*MsgSetDeveloperAccountResponse) Reset

func (m *MsgSetDeveloperAccountResponse) Reset()

func (*MsgSetDeveloperAccountResponse) Size

func (m *MsgSetDeveloperAccountResponse) Size() (n int)

func (*MsgSetDeveloperAccountResponse) String

func (*MsgSetDeveloperAccountResponse) Unmarshal

func (m *MsgSetDeveloperAccountResponse) Unmarshal(dAtA []byte) error

func (*MsgSetDeveloperAccountResponse) XXX_DiscardUnknown

func (m *MsgSetDeveloperAccountResponse) XXX_DiscardUnknown()

func (*MsgSetDeveloperAccountResponse) XXX_Marshal

func (m *MsgSetDeveloperAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetDeveloperAccountResponse) XXX_Merge

func (m *MsgSetDeveloperAccountResponse) XXX_Merge(src proto.Message)

func (*MsgSetDeveloperAccountResponse) XXX_Size

func (m *MsgSetDeveloperAccountResponse) XXX_Size() int

func (*MsgSetDeveloperAccountResponse) XXX_Unmarshal

func (m *MsgSetDeveloperAccountResponse) XXX_Unmarshal(b []byte) error

type MsgSetHotRoutes

type MsgSetHotRoutes struct {
	// admin is the account that is authorized to set the hot routes.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// hot_routes is the list of hot routes to set.
	HotRoutes []*TokenPairArbRoutes `protobuf:"bytes,2,rep,name=hot_routes,json=hotRoutes,proto3" json:"hot_routes,omitempty"`
}

MsgSetHotRoutes defines the Msg/SetHotRoutes request type.

func NewMsgSetHotRoutes

func NewMsgSetHotRoutes(admin string, tokenPairArbRoutes []*TokenPairArbRoutes) *MsgSetHotRoutes

---------------------- Interface for MsgSetHotRoutes ---------------------- // NewMsgSetHotRoutes creates a new MsgSetHotRoutes instance

func (*MsgSetHotRoutes) Descriptor

func (*MsgSetHotRoutes) Descriptor() ([]byte, []int)

func (*MsgSetHotRoutes) GetAdmin

func (m *MsgSetHotRoutes) GetAdmin() string

func (*MsgSetHotRoutes) GetHotRoutes

func (m *MsgSetHotRoutes) GetHotRoutes() []*TokenPairArbRoutes

func (MsgSetHotRoutes) GetSignBytes

func (msg MsgSetHotRoutes) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSetHotRoutes) GetSigners

func (msg MsgSetHotRoutes) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSetHotRoutes) Marshal

func (m *MsgSetHotRoutes) Marshal() (dAtA []byte, err error)

func (*MsgSetHotRoutes) MarshalTo

func (m *MsgSetHotRoutes) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetHotRoutes) MarshalToSizedBuffer

func (m *MsgSetHotRoutes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetHotRoutes) ProtoMessage

func (*MsgSetHotRoutes) ProtoMessage()

func (*MsgSetHotRoutes) Reset

func (m *MsgSetHotRoutes) Reset()

func (MsgSetHotRoutes) Route

func (msg MsgSetHotRoutes) Route() string

Route returns the name of the module

func (*MsgSetHotRoutes) Size

func (m *MsgSetHotRoutes) Size() (n int)

func (*MsgSetHotRoutes) String

func (m *MsgSetHotRoutes) String() string

func (MsgSetHotRoutes) Type

func (msg MsgSetHotRoutes) Type() string

Type returns the type of the message

func (*MsgSetHotRoutes) Unmarshal

func (m *MsgSetHotRoutes) Unmarshal(dAtA []byte) error

func (MsgSetHotRoutes) ValidateBasic

func (msg MsgSetHotRoutes) ValidateBasic() error

ValidateBasic validates the MsgSetHotRoutes

func (*MsgSetHotRoutes) XXX_DiscardUnknown

func (m *MsgSetHotRoutes) XXX_DiscardUnknown()

func (*MsgSetHotRoutes) XXX_Marshal

func (m *MsgSetHotRoutes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetHotRoutes) XXX_Merge

func (m *MsgSetHotRoutes) XXX_Merge(src proto.Message)

func (*MsgSetHotRoutes) XXX_Size

func (m *MsgSetHotRoutes) XXX_Size() int

func (*MsgSetHotRoutes) XXX_Unmarshal

func (m *MsgSetHotRoutes) XXX_Unmarshal(b []byte) error

type MsgSetHotRoutesResponse

type MsgSetHotRoutesResponse struct {
}

MsgSetHotRoutesResponse defines the Msg/SetHotRoutes response type.

func (*MsgSetHotRoutesResponse) Descriptor

func (*MsgSetHotRoutesResponse) Descriptor() ([]byte, []int)

func (*MsgSetHotRoutesResponse) Marshal

func (m *MsgSetHotRoutesResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetHotRoutesResponse) MarshalTo

func (m *MsgSetHotRoutesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetHotRoutesResponse) MarshalToSizedBuffer

func (m *MsgSetHotRoutesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetHotRoutesResponse) ProtoMessage

func (*MsgSetHotRoutesResponse) ProtoMessage()

func (*MsgSetHotRoutesResponse) Reset

func (m *MsgSetHotRoutesResponse) Reset()

func (*MsgSetHotRoutesResponse) Size

func (m *MsgSetHotRoutesResponse) Size() (n int)

func (*MsgSetHotRoutesResponse) String

func (m *MsgSetHotRoutesResponse) String() string

func (*MsgSetHotRoutesResponse) Unmarshal

func (m *MsgSetHotRoutesResponse) Unmarshal(dAtA []byte) error

func (*MsgSetHotRoutesResponse) XXX_DiscardUnknown

func (m *MsgSetHotRoutesResponse) XXX_DiscardUnknown()

func (*MsgSetHotRoutesResponse) XXX_Marshal

func (m *MsgSetHotRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetHotRoutesResponse) XXX_Merge

func (m *MsgSetHotRoutesResponse) XXX_Merge(src proto.Message)

func (*MsgSetHotRoutesResponse) XXX_Size

func (m *MsgSetHotRoutesResponse) XXX_Size() int

func (*MsgSetHotRoutesResponse) XXX_Unmarshal

func (m *MsgSetHotRoutesResponse) XXX_Unmarshal(b []byte) error

type MsgSetMaxPoolPointsPerBlock

type MsgSetMaxPoolPointsPerBlock struct {
	// admin is the account that is authorized to set the max pool points per
	// block.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// max_pool_points_per_block is the maximum number of pool points that can be
	// consumed per block.
	MaxPoolPointsPerBlock uint64 `` /* 131-byte string literal not displayed */
}

MsgSetMaxPoolPointsPerBlock defines the Msg/SetMaxPoolPointsPerBlock request type.

func NewMsgSetMaxPoolPointsPerBlock

func NewMsgSetMaxPoolPointsPerBlock(admin string, maxPoolPointsPerBlock uint64) *MsgSetMaxPoolPointsPerBlock

---------------------- Interface for MsgSetMaxPoolPointsPerBlock ---------------------- // NewMsgSetMaxPoolPointsPerBlock creates a new MsgSetMaxPoolPointsPerBlock instance

func (*MsgSetMaxPoolPointsPerBlock) Descriptor

func (*MsgSetMaxPoolPointsPerBlock) Descriptor() ([]byte, []int)

func (*MsgSetMaxPoolPointsPerBlock) GetAdmin

func (m *MsgSetMaxPoolPointsPerBlock) GetAdmin() string

func (*MsgSetMaxPoolPointsPerBlock) GetMaxPoolPointsPerBlock

func (m *MsgSetMaxPoolPointsPerBlock) GetMaxPoolPointsPerBlock() uint64

func (MsgSetMaxPoolPointsPerBlock) GetSignBytes

func (msg MsgSetMaxPoolPointsPerBlock) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSetMaxPoolPointsPerBlock) GetSigners

func (msg MsgSetMaxPoolPointsPerBlock) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSetMaxPoolPointsPerBlock) Marshal

func (m *MsgSetMaxPoolPointsPerBlock) Marshal() (dAtA []byte, err error)

func (*MsgSetMaxPoolPointsPerBlock) MarshalTo

func (m *MsgSetMaxPoolPointsPerBlock) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerBlock) MarshalToSizedBuffer

func (m *MsgSetMaxPoolPointsPerBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerBlock) ProtoMessage

func (*MsgSetMaxPoolPointsPerBlock) ProtoMessage()

func (*MsgSetMaxPoolPointsPerBlock) Reset

func (m *MsgSetMaxPoolPointsPerBlock) Reset()

func (MsgSetMaxPoolPointsPerBlock) Route

func (msg MsgSetMaxPoolPointsPerBlock) Route() string

Route returns the name of the module

func (*MsgSetMaxPoolPointsPerBlock) Size

func (m *MsgSetMaxPoolPointsPerBlock) Size() (n int)

func (*MsgSetMaxPoolPointsPerBlock) String

func (m *MsgSetMaxPoolPointsPerBlock) String() string

func (MsgSetMaxPoolPointsPerBlock) Type

Type returns the type of the message

func (*MsgSetMaxPoolPointsPerBlock) Unmarshal

func (m *MsgSetMaxPoolPointsPerBlock) Unmarshal(dAtA []byte) error

func (MsgSetMaxPoolPointsPerBlock) ValidateBasic

func (msg MsgSetMaxPoolPointsPerBlock) ValidateBasic() error

ValidateBasic validates the MsgSetMaxPoolPointsPerBlock

func (*MsgSetMaxPoolPointsPerBlock) XXX_DiscardUnknown

func (m *MsgSetMaxPoolPointsPerBlock) XXX_DiscardUnknown()

func (*MsgSetMaxPoolPointsPerBlock) XXX_Marshal

func (m *MsgSetMaxPoolPointsPerBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetMaxPoolPointsPerBlock) XXX_Merge

func (m *MsgSetMaxPoolPointsPerBlock) XXX_Merge(src proto.Message)

func (*MsgSetMaxPoolPointsPerBlock) XXX_Size

func (m *MsgSetMaxPoolPointsPerBlock) XXX_Size() int

func (*MsgSetMaxPoolPointsPerBlock) XXX_Unmarshal

func (m *MsgSetMaxPoolPointsPerBlock) XXX_Unmarshal(b []byte) error

type MsgSetMaxPoolPointsPerBlockResponse

type MsgSetMaxPoolPointsPerBlockResponse struct {
}

MsgSetMaxPoolPointsPerBlockResponse defines the Msg/SetMaxPoolPointsPerBlock response type.

func (*MsgSetMaxPoolPointsPerBlockResponse) Descriptor

func (*MsgSetMaxPoolPointsPerBlockResponse) Descriptor() ([]byte, []int)

func (*MsgSetMaxPoolPointsPerBlockResponse) Marshal

func (m *MsgSetMaxPoolPointsPerBlockResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetMaxPoolPointsPerBlockResponse) MarshalTo

func (m *MsgSetMaxPoolPointsPerBlockResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerBlockResponse) MarshalToSizedBuffer

func (m *MsgSetMaxPoolPointsPerBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerBlockResponse) ProtoMessage

func (*MsgSetMaxPoolPointsPerBlockResponse) ProtoMessage()

func (*MsgSetMaxPoolPointsPerBlockResponse) Reset

func (*MsgSetMaxPoolPointsPerBlockResponse) Size

func (*MsgSetMaxPoolPointsPerBlockResponse) String

func (*MsgSetMaxPoolPointsPerBlockResponse) Unmarshal

func (m *MsgSetMaxPoolPointsPerBlockResponse) Unmarshal(dAtA []byte) error

func (*MsgSetMaxPoolPointsPerBlockResponse) XXX_DiscardUnknown

func (m *MsgSetMaxPoolPointsPerBlockResponse) XXX_DiscardUnknown()

func (*MsgSetMaxPoolPointsPerBlockResponse) XXX_Marshal

func (m *MsgSetMaxPoolPointsPerBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetMaxPoolPointsPerBlockResponse) XXX_Merge

func (*MsgSetMaxPoolPointsPerBlockResponse) XXX_Size

func (*MsgSetMaxPoolPointsPerBlockResponse) XXX_Unmarshal

func (m *MsgSetMaxPoolPointsPerBlockResponse) XXX_Unmarshal(b []byte) error

type MsgSetMaxPoolPointsPerTx

type MsgSetMaxPoolPointsPerTx struct {
	// admin is the account that is authorized to set the max pool points per tx.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// max_pool_points_per_tx is the maximum number of pool points that can be
	// consumed per transaction.
	MaxPoolPointsPerTx uint64 `protobuf:"varint,2,opt,name=max_pool_points_per_tx,json=maxPoolPointsPerTx,proto3" json:"max_pool_points_per_tx,omitempty"`
}

MsgSetMaxPoolPointsPerTx defines the Msg/SetMaxPoolPointsPerTx request type.

func NewMsgSetMaxPoolPointsPerTx

func NewMsgSetMaxPoolPointsPerTx(admin string, maxPoolPointsPerTx uint64) *MsgSetMaxPoolPointsPerTx

---------------------- Interface for MsgSetMaxPoolPointsPerTx ---------------------- // NewMsgSetMaxPoolPointsPerTx creates a new MsgSetMaxPoolPointsPerTx instance

func (*MsgSetMaxPoolPointsPerTx) Descriptor

func (*MsgSetMaxPoolPointsPerTx) Descriptor() ([]byte, []int)

func (*MsgSetMaxPoolPointsPerTx) GetAdmin

func (m *MsgSetMaxPoolPointsPerTx) GetAdmin() string

func (*MsgSetMaxPoolPointsPerTx) GetMaxPoolPointsPerTx

func (m *MsgSetMaxPoolPointsPerTx) GetMaxPoolPointsPerTx() uint64

func (MsgSetMaxPoolPointsPerTx) GetSignBytes

func (msg MsgSetMaxPoolPointsPerTx) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSetMaxPoolPointsPerTx) GetSigners

func (msg MsgSetMaxPoolPointsPerTx) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSetMaxPoolPointsPerTx) Marshal

func (m *MsgSetMaxPoolPointsPerTx) Marshal() (dAtA []byte, err error)

func (*MsgSetMaxPoolPointsPerTx) MarshalTo

func (m *MsgSetMaxPoolPointsPerTx) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerTx) MarshalToSizedBuffer

func (m *MsgSetMaxPoolPointsPerTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerTx) ProtoMessage

func (*MsgSetMaxPoolPointsPerTx) ProtoMessage()

func (*MsgSetMaxPoolPointsPerTx) Reset

func (m *MsgSetMaxPoolPointsPerTx) Reset()

func (MsgSetMaxPoolPointsPerTx) Route

func (msg MsgSetMaxPoolPointsPerTx) Route() string

Route returns the name of the module

func (*MsgSetMaxPoolPointsPerTx) Size

func (m *MsgSetMaxPoolPointsPerTx) Size() (n int)

func (*MsgSetMaxPoolPointsPerTx) String

func (m *MsgSetMaxPoolPointsPerTx) String() string

func (MsgSetMaxPoolPointsPerTx) Type

func (msg MsgSetMaxPoolPointsPerTx) Type() string

Type returns the type of the message

func (*MsgSetMaxPoolPointsPerTx) Unmarshal

func (m *MsgSetMaxPoolPointsPerTx) Unmarshal(dAtA []byte) error

func (MsgSetMaxPoolPointsPerTx) ValidateBasic

func (msg MsgSetMaxPoolPointsPerTx) ValidateBasic() error

ValidateBasic validates the MsgSetMaxPoolPointsPerTx

func (*MsgSetMaxPoolPointsPerTx) XXX_DiscardUnknown

func (m *MsgSetMaxPoolPointsPerTx) XXX_DiscardUnknown()

func (*MsgSetMaxPoolPointsPerTx) XXX_Marshal

func (m *MsgSetMaxPoolPointsPerTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetMaxPoolPointsPerTx) XXX_Merge

func (m *MsgSetMaxPoolPointsPerTx) XXX_Merge(src proto.Message)

func (*MsgSetMaxPoolPointsPerTx) XXX_Size

func (m *MsgSetMaxPoolPointsPerTx) XXX_Size() int

func (*MsgSetMaxPoolPointsPerTx) XXX_Unmarshal

func (m *MsgSetMaxPoolPointsPerTx) XXX_Unmarshal(b []byte) error

type MsgSetMaxPoolPointsPerTxResponse

type MsgSetMaxPoolPointsPerTxResponse struct {
}

MsgSetMaxPoolPointsPerTxResponse defines the Msg/SetMaxPoolPointsPerTx response type.

func (*MsgSetMaxPoolPointsPerTxResponse) Descriptor

func (*MsgSetMaxPoolPointsPerTxResponse) Descriptor() ([]byte, []int)

func (*MsgSetMaxPoolPointsPerTxResponse) Marshal

func (m *MsgSetMaxPoolPointsPerTxResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetMaxPoolPointsPerTxResponse) MarshalTo

func (m *MsgSetMaxPoolPointsPerTxResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerTxResponse) MarshalToSizedBuffer

func (m *MsgSetMaxPoolPointsPerTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetMaxPoolPointsPerTxResponse) ProtoMessage

func (*MsgSetMaxPoolPointsPerTxResponse) ProtoMessage()

func (*MsgSetMaxPoolPointsPerTxResponse) Reset

func (*MsgSetMaxPoolPointsPerTxResponse) Size

func (m *MsgSetMaxPoolPointsPerTxResponse) Size() (n int)

func (*MsgSetMaxPoolPointsPerTxResponse) String

func (*MsgSetMaxPoolPointsPerTxResponse) Unmarshal

func (m *MsgSetMaxPoolPointsPerTxResponse) Unmarshal(dAtA []byte) error

func (*MsgSetMaxPoolPointsPerTxResponse) XXX_DiscardUnknown

func (m *MsgSetMaxPoolPointsPerTxResponse) XXX_DiscardUnknown()

func (*MsgSetMaxPoolPointsPerTxResponse) XXX_Marshal

func (m *MsgSetMaxPoolPointsPerTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetMaxPoolPointsPerTxResponse) XXX_Merge

func (*MsgSetMaxPoolPointsPerTxResponse) XXX_Size

func (m *MsgSetMaxPoolPointsPerTxResponse) XXX_Size() int

func (*MsgSetMaxPoolPointsPerTxResponse) XXX_Unmarshal

func (m *MsgSetMaxPoolPointsPerTxResponse) XXX_Unmarshal(b []byte) error

type MsgSetPoolWeights

type MsgSetPoolWeights struct {
	// admin is the account that is authorized to set the pool weights.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// pool_weights is the list of pool weights to set.
	PoolWeights *PoolWeights `protobuf:"bytes,2,opt,name=pool_weights,json=poolWeights,proto3" json:"pool_weights,omitempty"`
}

MsgSetPoolWeights defines the Msg/SetPoolWeights request type.

func NewMsgSetPoolWeights

func NewMsgSetPoolWeights(admin string, poolWeights *PoolWeights) *MsgSetPoolWeights

---------------------- Interface for MsgSetPoolWeights ---------------------- // NewMsgSetPoolWeights creates a new MsgSetPoolWeights instance

func (*MsgSetPoolWeights) Descriptor

func (*MsgSetPoolWeights) Descriptor() ([]byte, []int)

func (*MsgSetPoolWeights) GetAdmin

func (m *MsgSetPoolWeights) GetAdmin() string

func (*MsgSetPoolWeights) GetPoolWeights

func (m *MsgSetPoolWeights) GetPoolWeights() *PoolWeights

func (MsgSetPoolWeights) GetSignBytes

func (msg MsgSetPoolWeights) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSetPoolWeights) GetSigners

func (msg MsgSetPoolWeights) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSetPoolWeights) Marshal

func (m *MsgSetPoolWeights) Marshal() (dAtA []byte, err error)

func (*MsgSetPoolWeights) MarshalTo

func (m *MsgSetPoolWeights) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetPoolWeights) MarshalToSizedBuffer

func (m *MsgSetPoolWeights) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetPoolWeights) ProtoMessage

func (*MsgSetPoolWeights) ProtoMessage()

func (*MsgSetPoolWeights) Reset

func (m *MsgSetPoolWeights) Reset()

func (MsgSetPoolWeights) Route

func (msg MsgSetPoolWeights) Route() string

Route returns the name of the module

func (*MsgSetPoolWeights) Size

func (m *MsgSetPoolWeights) Size() (n int)

func (*MsgSetPoolWeights) String

func (m *MsgSetPoolWeights) String() string

func (MsgSetPoolWeights) Type

func (msg MsgSetPoolWeights) Type() string

Type returns the type of the message

func (*MsgSetPoolWeights) Unmarshal

func (m *MsgSetPoolWeights) Unmarshal(dAtA []byte) error

func (MsgSetPoolWeights) ValidateBasic

func (msg MsgSetPoolWeights) ValidateBasic() error

ValidateBasic validates the MsgSetPoolWeights

func (*MsgSetPoolWeights) XXX_DiscardUnknown

func (m *MsgSetPoolWeights) XXX_DiscardUnknown()

func (*MsgSetPoolWeights) XXX_Marshal

func (m *MsgSetPoolWeights) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetPoolWeights) XXX_Merge

func (m *MsgSetPoolWeights) XXX_Merge(src proto.Message)

func (*MsgSetPoolWeights) XXX_Size

func (m *MsgSetPoolWeights) XXX_Size() int

func (*MsgSetPoolWeights) XXX_Unmarshal

func (m *MsgSetPoolWeights) XXX_Unmarshal(b []byte) error

type MsgSetPoolWeightsResponse

type MsgSetPoolWeightsResponse struct {
}

MsgSetPoolWeightsResponse defines the Msg/SetPoolWeights response type.

func (*MsgSetPoolWeightsResponse) Descriptor

func (*MsgSetPoolWeightsResponse) Descriptor() ([]byte, []int)

func (*MsgSetPoolWeightsResponse) Marshal

func (m *MsgSetPoolWeightsResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetPoolWeightsResponse) MarshalTo

func (m *MsgSetPoolWeightsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetPoolWeightsResponse) MarshalToSizedBuffer

func (m *MsgSetPoolWeightsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetPoolWeightsResponse) ProtoMessage

func (*MsgSetPoolWeightsResponse) ProtoMessage()

func (*MsgSetPoolWeightsResponse) Reset

func (m *MsgSetPoolWeightsResponse) Reset()

func (*MsgSetPoolWeightsResponse) Size

func (m *MsgSetPoolWeightsResponse) Size() (n int)

func (*MsgSetPoolWeightsResponse) String

func (m *MsgSetPoolWeightsResponse) String() string

func (*MsgSetPoolWeightsResponse) Unmarshal

func (m *MsgSetPoolWeightsResponse) Unmarshal(dAtA []byte) error

func (*MsgSetPoolWeightsResponse) XXX_DiscardUnknown

func (m *MsgSetPoolWeightsResponse) XXX_DiscardUnknown()

func (*MsgSetPoolWeightsResponse) XXX_Marshal

func (m *MsgSetPoolWeightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetPoolWeightsResponse) XXX_Merge

func (m *MsgSetPoolWeightsResponse) XXX_Merge(src proto.Message)

func (*MsgSetPoolWeightsResponse) XXX_Size

func (m *MsgSetPoolWeightsResponse) XXX_Size() int

func (*MsgSetPoolWeightsResponse) XXX_Unmarshal

func (m *MsgSetPoolWeightsResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	// Boolean whether the module is going to be enabled
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(enable bool) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetEnabled

func (m *Params) GetEnabled() bool

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type PoolManagerKeeper

type PoolManagerKeeper interface {
	RouteExactAmountIn(
		ctx sdk.Context,
		sender sdk.AccAddress,
		routes []poolmanagertypes.SwapAmountInRoute,
		tokenIn sdk.Coin,
		tokenOutMinAmount sdk.Int) (tokenOutAmount sdk.Int, err error)

	MultihopEstimateOutGivenExactAmountIn(
		ctx sdk.Context,
		routes []poolmanagertypes.SwapAmountInRoute,
		tokenIn sdk.Coin,
	) (tokenOutAmount sdk.Int, err error)
}

PoolManagerKeeper defines the PoolManager contract that must be fulfilled when creating a x/protorev keeper.

type PoolWeights

type PoolWeights struct {
	// The weight of a stableswap pool
	StableWeight uint64 `protobuf:"varint,1,opt,name=stable_weight,json=stableWeight,proto3" json:"stable_weight,omitempty"`
	// The weight of a balancer pool
	BalancerWeight uint64 `protobuf:"varint,2,opt,name=balancer_weight,json=balancerWeight,proto3" json:"balancer_weight,omitempty"`
	// The weight of a concentrated pool
	ConcentratedWeight uint64 `protobuf:"varint,3,opt,name=concentrated_weight,json=concentratedWeight,proto3" json:"concentrated_weight,omitempty"`
}

PoolWeights contains the weights of all of the different pool types. This distinction is made and necessary because the execution time ranges significantly between the different pool types. Each weight roughly corresponds to the amount of time (in ms) it takes to execute a swap on that pool type.

func (*PoolWeights) Descriptor

func (*PoolWeights) Descriptor() ([]byte, []int)

func (*PoolWeights) GetBalancerWeight

func (m *PoolWeights) GetBalancerWeight() uint64

func (*PoolWeights) GetConcentratedWeight

func (m *PoolWeights) GetConcentratedWeight() uint64

func (*PoolWeights) GetStableWeight

func (m *PoolWeights) GetStableWeight() uint64

func (*PoolWeights) Marshal

func (m *PoolWeights) Marshal() (dAtA []byte, err error)

func (*PoolWeights) MarshalTo

func (m *PoolWeights) MarshalTo(dAtA []byte) (int, error)

func (*PoolWeights) MarshalToSizedBuffer

func (m *PoolWeights) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolWeights) ProtoMessage

func (*PoolWeights) ProtoMessage()

func (*PoolWeights) Reset

func (m *PoolWeights) Reset()

func (*PoolWeights) Size

func (m *PoolWeights) Size() (n int)

func (*PoolWeights) String

func (m *PoolWeights) String() string

func (*PoolWeights) Unmarshal

func (m *PoolWeights) Unmarshal(dAtA []byte) error

func (*PoolWeights) XXX_DiscardUnknown

func (m *PoolWeights) XXX_DiscardUnknown()

func (*PoolWeights) XXX_Marshal

func (m *PoolWeights) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolWeights) XXX_Merge

func (m *PoolWeights) XXX_Merge(src proto.Message)

func (*PoolWeights) XXX_Size

func (m *PoolWeights) XXX_Size() int

func (*PoolWeights) XXX_Unmarshal

func (m *PoolWeights) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Params queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// GetProtoRevNumberOfTrades queries the number of arbitrage trades the module
	// has executed
	GetProtoRevNumberOfTrades(ctx context.Context, in *QueryGetProtoRevNumberOfTradesRequest, opts ...grpc.CallOption) (*QueryGetProtoRevNumberOfTradesResponse, error)
	// GetProtoRevProfitsByDenom queries the profits of the module by denom
	GetProtoRevProfitsByDenom(ctx context.Context, in *QueryGetProtoRevProfitsByDenomRequest, opts ...grpc.CallOption) (*QueryGetProtoRevProfitsByDenomResponse, error)
	// GetProtoRevAllProfits queries all of the profits from the module
	GetProtoRevAllProfits(ctx context.Context, in *QueryGetProtoRevAllProfitsRequest, opts ...grpc.CallOption) (*QueryGetProtoRevAllProfitsResponse, error)
	// GetProtoRevStatisticsByRoute queries the number of arbitrages and profits
	// that have been executed for a given route
	GetProtoRevStatisticsByRoute(ctx context.Context, in *QueryGetProtoRevStatisticsByRouteRequest, opts ...grpc.CallOption) (*QueryGetProtoRevStatisticsByRouteResponse, error)
	// GetProtoRevAllRouteStatistics queries all of routes that the module has
	// arbitraged against and the number of trades and profits that have been
	// accumulated for each route
	GetProtoRevAllRouteStatistics(ctx context.Context, in *QueryGetProtoRevAllRouteStatisticsRequest, opts ...grpc.CallOption) (*QueryGetProtoRevAllRouteStatisticsResponse, error)
	// GetProtoRevTokenPairArbRoutes queries all of the hot routes that the module
	// is currently arbitraging
	GetProtoRevTokenPairArbRoutes(ctx context.Context, in *QueryGetProtoRevTokenPairArbRoutesRequest, opts ...grpc.CallOption) (*QueryGetProtoRevTokenPairArbRoutesResponse, error)
	// GetProtoRevAdminAccount queries the admin account of the module
	GetProtoRevAdminAccount(ctx context.Context, in *QueryGetProtoRevAdminAccountRequest, opts ...grpc.CallOption) (*QueryGetProtoRevAdminAccountResponse, error)
	// GetProtoRevDeveloperAccount queries the developer account of the module
	GetProtoRevDeveloperAccount(ctx context.Context, in *QueryGetProtoRevDeveloperAccountRequest, opts ...grpc.CallOption) (*QueryGetProtoRevDeveloperAccountResponse, error)
	// GetProtoRevPoolWeights queries the weights of each pool type currently
	// being used by the module
	GetProtoRevPoolWeights(ctx context.Context, in *QueryGetProtoRevPoolWeightsRequest, opts ...grpc.CallOption) (*QueryGetProtoRevPoolWeightsResponse, error)
	// GetProtoRevMaxPoolPointsPerTx queries the maximum number of pool points
	// that can be consumed per transaction
	GetProtoRevMaxPoolPointsPerTx(ctx context.Context, in *QueryGetProtoRevMaxPoolPointsPerTxRequest, opts ...grpc.CallOption) (*QueryGetProtoRevMaxPoolPointsPerTxResponse, error)
	// GetProtoRevMaxPoolPointsPerBlock queries the maximum number of pool points
	// that can consumed per block
	GetProtoRevMaxPoolPointsPerBlock(ctx context.Context, in *QueryGetProtoRevMaxPoolPointsPerBlockRequest, opts ...grpc.CallOption) (*QueryGetProtoRevMaxPoolPointsPerBlockResponse, error)
	// GetProtoRevBaseDenoms queries the base denoms that the module is currently
	// utilizing for arbitrage
	GetProtoRevBaseDenoms(ctx context.Context, in *QueryGetProtoRevBaseDenomsRequest, opts ...grpc.CallOption) (*QueryGetProtoRevBaseDenomsResponse, error)
	// GetProtoRevEnabled queries whether the module is enabled or not
	GetProtoRevEnabled(ctx context.Context, in *QueryGetProtoRevEnabledRequest, opts ...grpc.CallOption) (*QueryGetProtoRevEnabledResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetProtoRevAdminAccountRequest

type QueryGetProtoRevAdminAccountRequest struct {
}

QueryGetProtoRevAdminAccountRequest is request type for the Query/GetProtoRevAdminAccount RPC method.

func (*QueryGetProtoRevAdminAccountRequest) Descriptor

func (*QueryGetProtoRevAdminAccountRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevAdminAccountRequest) Marshal

func (m *QueryGetProtoRevAdminAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevAdminAccountRequest) MarshalTo

func (m *QueryGetProtoRevAdminAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevAdminAccountRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevAdminAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevAdminAccountRequest) ProtoMessage

func (*QueryGetProtoRevAdminAccountRequest) ProtoMessage()

func (*QueryGetProtoRevAdminAccountRequest) Reset

func (*QueryGetProtoRevAdminAccountRequest) Size

func (*QueryGetProtoRevAdminAccountRequest) String

func (*QueryGetProtoRevAdminAccountRequest) Unmarshal

func (m *QueryGetProtoRevAdminAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevAdminAccountRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevAdminAccountRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevAdminAccountRequest) XXX_Marshal

func (m *QueryGetProtoRevAdminAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevAdminAccountRequest) XXX_Merge

func (*QueryGetProtoRevAdminAccountRequest) XXX_Size

func (*QueryGetProtoRevAdminAccountRequest) XXX_Unmarshal

func (m *QueryGetProtoRevAdminAccountRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevAdminAccountResponse

type QueryGetProtoRevAdminAccountResponse struct {
	// admin_account is the admin account of the module
	AdminAccount string `protobuf:"bytes,1,opt,name=admin_account,json=adminAccount,proto3" json:"admin_account,omitempty"`
}

QueryGetProtoRevAdminAccountResponse is response type for the Query/GetProtoRevAdminAccount RPC method.

func (*QueryGetProtoRevAdminAccountResponse) Descriptor

func (*QueryGetProtoRevAdminAccountResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevAdminAccountResponse) GetAdminAccount

func (m *QueryGetProtoRevAdminAccountResponse) GetAdminAccount() string

func (*QueryGetProtoRevAdminAccountResponse) Marshal

func (m *QueryGetProtoRevAdminAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevAdminAccountResponse) MarshalTo

func (m *QueryGetProtoRevAdminAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevAdminAccountResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevAdminAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevAdminAccountResponse) ProtoMessage

func (*QueryGetProtoRevAdminAccountResponse) ProtoMessage()

func (*QueryGetProtoRevAdminAccountResponse) Reset

func (*QueryGetProtoRevAdminAccountResponse) Size

func (*QueryGetProtoRevAdminAccountResponse) String

func (*QueryGetProtoRevAdminAccountResponse) Unmarshal

func (m *QueryGetProtoRevAdminAccountResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevAdminAccountResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevAdminAccountResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevAdminAccountResponse) XXX_Marshal

func (m *QueryGetProtoRevAdminAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevAdminAccountResponse) XXX_Merge

func (*QueryGetProtoRevAdminAccountResponse) XXX_Size

func (*QueryGetProtoRevAdminAccountResponse) XXX_Unmarshal

func (m *QueryGetProtoRevAdminAccountResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevAllProfitsRequest

type QueryGetProtoRevAllProfitsRequest struct {
}

QueryGetProtoRevAllProfitsRequest is request type for the Query/GetProtoRevAllProfits RPC method.

func (*QueryGetProtoRevAllProfitsRequest) Descriptor

func (*QueryGetProtoRevAllProfitsRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevAllProfitsRequest) Marshal

func (m *QueryGetProtoRevAllProfitsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevAllProfitsRequest) MarshalTo

func (m *QueryGetProtoRevAllProfitsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllProfitsRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevAllProfitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllProfitsRequest) ProtoMessage

func (*QueryGetProtoRevAllProfitsRequest) ProtoMessage()

func (*QueryGetProtoRevAllProfitsRequest) Reset

func (*QueryGetProtoRevAllProfitsRequest) Size

func (m *QueryGetProtoRevAllProfitsRequest) Size() (n int)

func (*QueryGetProtoRevAllProfitsRequest) String

func (*QueryGetProtoRevAllProfitsRequest) Unmarshal

func (m *QueryGetProtoRevAllProfitsRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevAllProfitsRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevAllProfitsRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevAllProfitsRequest) XXX_Marshal

func (m *QueryGetProtoRevAllProfitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevAllProfitsRequest) XXX_Merge

func (*QueryGetProtoRevAllProfitsRequest) XXX_Size

func (m *QueryGetProtoRevAllProfitsRequest) XXX_Size() int

func (*QueryGetProtoRevAllProfitsRequest) XXX_Unmarshal

func (m *QueryGetProtoRevAllProfitsRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevAllProfitsResponse

type QueryGetProtoRevAllProfitsResponse struct {
	// profits is a list of all of the profits from the module
	Profits []*types.Coin `protobuf:"bytes,1,rep,name=profits,proto3" json:"profits,omitempty"`
}

QueryGetProtoRevAllProfitsResponse is response type for the Query/GetProtoRevAllProfits RPC method.

func (*QueryGetProtoRevAllProfitsResponse) Descriptor

func (*QueryGetProtoRevAllProfitsResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevAllProfitsResponse) GetProfits

func (m *QueryGetProtoRevAllProfitsResponse) GetProfits() []*types.Coin

func (*QueryGetProtoRevAllProfitsResponse) Marshal

func (m *QueryGetProtoRevAllProfitsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevAllProfitsResponse) MarshalTo

func (m *QueryGetProtoRevAllProfitsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllProfitsResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevAllProfitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllProfitsResponse) ProtoMessage

func (*QueryGetProtoRevAllProfitsResponse) ProtoMessage()

func (*QueryGetProtoRevAllProfitsResponse) Reset

func (*QueryGetProtoRevAllProfitsResponse) Size

func (*QueryGetProtoRevAllProfitsResponse) String

func (*QueryGetProtoRevAllProfitsResponse) Unmarshal

func (m *QueryGetProtoRevAllProfitsResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevAllProfitsResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevAllProfitsResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevAllProfitsResponse) XXX_Marshal

func (m *QueryGetProtoRevAllProfitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevAllProfitsResponse) XXX_Merge

func (*QueryGetProtoRevAllProfitsResponse) XXX_Size

func (*QueryGetProtoRevAllProfitsResponse) XXX_Unmarshal

func (m *QueryGetProtoRevAllProfitsResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevAllRouteStatisticsRequest

type QueryGetProtoRevAllRouteStatisticsRequest struct {
}

QueryGetProtoRevAllRouteStatisticsRequest is request type for the Query/GetProtoRevAllRouteStatistics RPC method.

func (*QueryGetProtoRevAllRouteStatisticsRequest) Descriptor

func (*QueryGetProtoRevAllRouteStatisticsRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevAllRouteStatisticsRequest) Marshal

func (m *QueryGetProtoRevAllRouteStatisticsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevAllRouteStatisticsRequest) MarshalTo

func (m *QueryGetProtoRevAllRouteStatisticsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllRouteStatisticsRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevAllRouteStatisticsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllRouteStatisticsRequest) ProtoMessage

func (*QueryGetProtoRevAllRouteStatisticsRequest) Reset

func (*QueryGetProtoRevAllRouteStatisticsRequest) Size

func (*QueryGetProtoRevAllRouteStatisticsRequest) String

func (*QueryGetProtoRevAllRouteStatisticsRequest) Unmarshal

func (*QueryGetProtoRevAllRouteStatisticsRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevAllRouteStatisticsRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevAllRouteStatisticsRequest) XXX_Marshal

func (m *QueryGetProtoRevAllRouteStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevAllRouteStatisticsRequest) XXX_Merge

func (*QueryGetProtoRevAllRouteStatisticsRequest) XXX_Size

func (*QueryGetProtoRevAllRouteStatisticsRequest) XXX_Unmarshal

type QueryGetProtoRevAllRouteStatisticsResponse

type QueryGetProtoRevAllRouteStatisticsResponse struct {
	// statistics contains the number of trades/profits the module has executed on
	// all routes it has successfully executed a trade on
	Statistics []RouteStatistics `protobuf:"bytes,1,rep,name=statistics,proto3" json:"statistics"`
}

QueryGetProtoRevAllRouteStatisticsResponse is response type for the Query/GetProtoRevAllRouteStatistics RPC method.

func (*QueryGetProtoRevAllRouteStatisticsResponse) Descriptor

func (*QueryGetProtoRevAllRouteStatisticsResponse) GetStatistics

func (*QueryGetProtoRevAllRouteStatisticsResponse) Marshal

func (m *QueryGetProtoRevAllRouteStatisticsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevAllRouteStatisticsResponse) MarshalTo

func (m *QueryGetProtoRevAllRouteStatisticsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllRouteStatisticsResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevAllRouteStatisticsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevAllRouteStatisticsResponse) ProtoMessage

func (*QueryGetProtoRevAllRouteStatisticsResponse) Reset

func (*QueryGetProtoRevAllRouteStatisticsResponse) Size

func (*QueryGetProtoRevAllRouteStatisticsResponse) String

func (*QueryGetProtoRevAllRouteStatisticsResponse) Unmarshal

func (*QueryGetProtoRevAllRouteStatisticsResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevAllRouteStatisticsResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevAllRouteStatisticsResponse) XXX_Marshal

func (m *QueryGetProtoRevAllRouteStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevAllRouteStatisticsResponse) XXX_Merge

func (*QueryGetProtoRevAllRouteStatisticsResponse) XXX_Size

func (*QueryGetProtoRevAllRouteStatisticsResponse) XXX_Unmarshal

type QueryGetProtoRevBaseDenomsRequest

type QueryGetProtoRevBaseDenomsRequest struct {
}

QueryGetProtoRevBaseDenomsRequest is request type for the Query/GetProtoRevBaseDenoms RPC method.

func (*QueryGetProtoRevBaseDenomsRequest) Descriptor

func (*QueryGetProtoRevBaseDenomsRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevBaseDenomsRequest) Marshal

func (m *QueryGetProtoRevBaseDenomsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevBaseDenomsRequest) MarshalTo

func (m *QueryGetProtoRevBaseDenomsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevBaseDenomsRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevBaseDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevBaseDenomsRequest) ProtoMessage

func (*QueryGetProtoRevBaseDenomsRequest) ProtoMessage()

func (*QueryGetProtoRevBaseDenomsRequest) Reset

func (*QueryGetProtoRevBaseDenomsRequest) Size

func (m *QueryGetProtoRevBaseDenomsRequest) Size() (n int)

func (*QueryGetProtoRevBaseDenomsRequest) String

func (*QueryGetProtoRevBaseDenomsRequest) Unmarshal

func (m *QueryGetProtoRevBaseDenomsRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevBaseDenomsRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevBaseDenomsRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevBaseDenomsRequest) XXX_Marshal

func (m *QueryGetProtoRevBaseDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevBaseDenomsRequest) XXX_Merge

func (*QueryGetProtoRevBaseDenomsRequest) XXX_Size

func (m *QueryGetProtoRevBaseDenomsRequest) XXX_Size() int

func (*QueryGetProtoRevBaseDenomsRequest) XXX_Unmarshal

func (m *QueryGetProtoRevBaseDenomsRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevBaseDenomsResponse

type QueryGetProtoRevBaseDenomsResponse struct {
	// base_denoms is a list of all of the base denoms and step sizes
	BaseDenoms []*BaseDenom `protobuf:"bytes,1,rep,name=base_denoms,json=baseDenoms,proto3" json:"base_denoms,omitempty"`
}

QueryGetProtoRevBaseDenomsResponse is response type for the Query/GetProtoRevBaseDenoms RPC method.

func (*QueryGetProtoRevBaseDenomsResponse) Descriptor

func (*QueryGetProtoRevBaseDenomsResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevBaseDenomsResponse) GetBaseDenoms

func (m *QueryGetProtoRevBaseDenomsResponse) GetBaseDenoms() []*BaseDenom

func (*QueryGetProtoRevBaseDenomsResponse) Marshal

func (m *QueryGetProtoRevBaseDenomsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevBaseDenomsResponse) MarshalTo

func (m *QueryGetProtoRevBaseDenomsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevBaseDenomsResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevBaseDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevBaseDenomsResponse) ProtoMessage

func (*QueryGetProtoRevBaseDenomsResponse) ProtoMessage()

func (*QueryGetProtoRevBaseDenomsResponse) Reset

func (*QueryGetProtoRevBaseDenomsResponse) Size

func (*QueryGetProtoRevBaseDenomsResponse) String

func (*QueryGetProtoRevBaseDenomsResponse) Unmarshal

func (m *QueryGetProtoRevBaseDenomsResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevBaseDenomsResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevBaseDenomsResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevBaseDenomsResponse) XXX_Marshal

func (m *QueryGetProtoRevBaseDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevBaseDenomsResponse) XXX_Merge

func (*QueryGetProtoRevBaseDenomsResponse) XXX_Size

func (*QueryGetProtoRevBaseDenomsResponse) XXX_Unmarshal

func (m *QueryGetProtoRevBaseDenomsResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevDeveloperAccountRequest

type QueryGetProtoRevDeveloperAccountRequest struct {
}

QueryGetProtoRevDeveloperAccountRequest is request type for the Query/GetProtoRevDeveloperAccount RPC method.

func (*QueryGetProtoRevDeveloperAccountRequest) Descriptor

func (*QueryGetProtoRevDeveloperAccountRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevDeveloperAccountRequest) Marshal

func (m *QueryGetProtoRevDeveloperAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevDeveloperAccountRequest) MarshalTo

func (m *QueryGetProtoRevDeveloperAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevDeveloperAccountRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevDeveloperAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevDeveloperAccountRequest) ProtoMessage

func (*QueryGetProtoRevDeveloperAccountRequest) Reset

func (*QueryGetProtoRevDeveloperAccountRequest) Size

func (*QueryGetProtoRevDeveloperAccountRequest) String

func (*QueryGetProtoRevDeveloperAccountRequest) Unmarshal

func (m *QueryGetProtoRevDeveloperAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevDeveloperAccountRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevDeveloperAccountRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevDeveloperAccountRequest) XXX_Marshal

func (m *QueryGetProtoRevDeveloperAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevDeveloperAccountRequest) XXX_Merge

func (*QueryGetProtoRevDeveloperAccountRequest) XXX_Size

func (*QueryGetProtoRevDeveloperAccountRequest) XXX_Unmarshal

func (m *QueryGetProtoRevDeveloperAccountRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevDeveloperAccountResponse

type QueryGetProtoRevDeveloperAccountResponse struct {
	// developer_account is the developer account of the module
	DeveloperAccount string `protobuf:"bytes,1,opt,name=developer_account,json=developerAccount,proto3" json:"developer_account,omitempty"`
}

QueryGetProtoRevDeveloperAccountResponse is response type for the Query/GetProtoRevDeveloperAccount RPC method.

func (*QueryGetProtoRevDeveloperAccountResponse) Descriptor

func (*QueryGetProtoRevDeveloperAccountResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevDeveloperAccountResponse) GetDeveloperAccount

func (m *QueryGetProtoRevDeveloperAccountResponse) GetDeveloperAccount() string

func (*QueryGetProtoRevDeveloperAccountResponse) Marshal

func (m *QueryGetProtoRevDeveloperAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevDeveloperAccountResponse) MarshalTo

func (m *QueryGetProtoRevDeveloperAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevDeveloperAccountResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevDeveloperAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevDeveloperAccountResponse) ProtoMessage

func (*QueryGetProtoRevDeveloperAccountResponse) Reset

func (*QueryGetProtoRevDeveloperAccountResponse) Size

func (*QueryGetProtoRevDeveloperAccountResponse) String

func (*QueryGetProtoRevDeveloperAccountResponse) Unmarshal

func (*QueryGetProtoRevDeveloperAccountResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevDeveloperAccountResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevDeveloperAccountResponse) XXX_Marshal

func (m *QueryGetProtoRevDeveloperAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevDeveloperAccountResponse) XXX_Merge

func (*QueryGetProtoRevDeveloperAccountResponse) XXX_Size

func (*QueryGetProtoRevDeveloperAccountResponse) XXX_Unmarshal

func (m *QueryGetProtoRevDeveloperAccountResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevEnabledRequest

type QueryGetProtoRevEnabledRequest struct {
}

QueryGetProtoRevEnabledRequest is request type for the Query/GetProtoRevEnabled RPC method.

func (*QueryGetProtoRevEnabledRequest) Descriptor

func (*QueryGetProtoRevEnabledRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevEnabledRequest) Marshal

func (m *QueryGetProtoRevEnabledRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevEnabledRequest) MarshalTo

func (m *QueryGetProtoRevEnabledRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevEnabledRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevEnabledRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevEnabledRequest) ProtoMessage

func (*QueryGetProtoRevEnabledRequest) ProtoMessage()

func (*QueryGetProtoRevEnabledRequest) Reset

func (m *QueryGetProtoRevEnabledRequest) Reset()

func (*QueryGetProtoRevEnabledRequest) Size

func (m *QueryGetProtoRevEnabledRequest) Size() (n int)

func (*QueryGetProtoRevEnabledRequest) String

func (*QueryGetProtoRevEnabledRequest) Unmarshal

func (m *QueryGetProtoRevEnabledRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevEnabledRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevEnabledRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevEnabledRequest) XXX_Marshal

func (m *QueryGetProtoRevEnabledRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevEnabledRequest) XXX_Merge

func (m *QueryGetProtoRevEnabledRequest) XXX_Merge(src proto.Message)

func (*QueryGetProtoRevEnabledRequest) XXX_Size

func (m *QueryGetProtoRevEnabledRequest) XXX_Size() int

func (*QueryGetProtoRevEnabledRequest) XXX_Unmarshal

func (m *QueryGetProtoRevEnabledRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevEnabledResponse

type QueryGetProtoRevEnabledResponse struct {
	// enabled is whether the module is enabled
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

QueryGetProtoRevEnabledResponse is response type for the Query/GetProtoRevEnabled RPC method.

func (*QueryGetProtoRevEnabledResponse) Descriptor

func (*QueryGetProtoRevEnabledResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevEnabledResponse) GetEnabled

func (m *QueryGetProtoRevEnabledResponse) GetEnabled() bool

func (*QueryGetProtoRevEnabledResponse) Marshal

func (m *QueryGetProtoRevEnabledResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevEnabledResponse) MarshalTo

func (m *QueryGetProtoRevEnabledResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevEnabledResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevEnabledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevEnabledResponse) ProtoMessage

func (*QueryGetProtoRevEnabledResponse) ProtoMessage()

func (*QueryGetProtoRevEnabledResponse) Reset

func (*QueryGetProtoRevEnabledResponse) Size

func (m *QueryGetProtoRevEnabledResponse) Size() (n int)

func (*QueryGetProtoRevEnabledResponse) String

func (*QueryGetProtoRevEnabledResponse) Unmarshal

func (m *QueryGetProtoRevEnabledResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevEnabledResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevEnabledResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevEnabledResponse) XXX_Marshal

func (m *QueryGetProtoRevEnabledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevEnabledResponse) XXX_Merge

func (m *QueryGetProtoRevEnabledResponse) XXX_Merge(src proto.Message)

func (*QueryGetProtoRevEnabledResponse) XXX_Size

func (m *QueryGetProtoRevEnabledResponse) XXX_Size() int

func (*QueryGetProtoRevEnabledResponse) XXX_Unmarshal

func (m *QueryGetProtoRevEnabledResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevMaxPoolPointsPerBlockRequest

type QueryGetProtoRevMaxPoolPointsPerBlockRequest struct {
}

QueryGetProtoRevMaxPoolPointsPerBlockRequest is request type for the Query/GetProtoRevMaxPoolPointsPerBlock RPC method.

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) Descriptor

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerBlockRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) MarshalTo

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevMaxPoolPointsPerBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) ProtoMessage

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) Reset

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) Size

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) String

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) Unmarshal

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevMaxPoolPointsPerBlockRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) XXX_Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) XXX_Merge

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) XXX_Size

func (*QueryGetProtoRevMaxPoolPointsPerBlockRequest) XXX_Unmarshal

type QueryGetProtoRevMaxPoolPointsPerBlockResponse

type QueryGetProtoRevMaxPoolPointsPerBlockResponse struct {
	// max_pool_points_per_block is the maximum number of pool points that can be
	// consumed per block
	MaxPoolPointsPerBlock uint64 `` /* 131-byte string literal not displayed */
}

QueryGetProtoRevMaxPoolPointsPerBlockResponse is response type for the Query/GetProtoRevMaxPoolPointsPerBlock RPC method.

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) Descriptor

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) GetMaxPoolPointsPerBlock

func (m *QueryGetProtoRevMaxPoolPointsPerBlockResponse) GetMaxPoolPointsPerBlock() uint64

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerBlockResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) MarshalTo

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevMaxPoolPointsPerBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) ProtoMessage

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) Reset

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) Size

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) String

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) Unmarshal

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevMaxPoolPointsPerBlockResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) XXX_Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) XXX_Merge

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) XXX_Size

func (*QueryGetProtoRevMaxPoolPointsPerBlockResponse) XXX_Unmarshal

type QueryGetProtoRevMaxPoolPointsPerTxRequest

type QueryGetProtoRevMaxPoolPointsPerTxRequest struct {
}

QueryGetProtoRevMaxPoolPointsPerTxRequest is request type for the Query/GetProtoRevMaxPoolPointsPerTx RPC method.

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) Descriptor

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerTxRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) MarshalTo

func (m *QueryGetProtoRevMaxPoolPointsPerTxRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevMaxPoolPointsPerTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) ProtoMessage

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) Reset

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) Size

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) String

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) Unmarshal

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevMaxPoolPointsPerTxRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) XXX_Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) XXX_Merge

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) XXX_Size

func (*QueryGetProtoRevMaxPoolPointsPerTxRequest) XXX_Unmarshal

type QueryGetProtoRevMaxPoolPointsPerTxResponse

type QueryGetProtoRevMaxPoolPointsPerTxResponse struct {
	// max_pool_points_per_tx is the maximum number of pool points that can be
	// consumed per transaction
	MaxPoolPointsPerTx uint64 `protobuf:"varint,1,opt,name=max_pool_points_per_tx,json=maxPoolPointsPerTx,proto3" json:"max_pool_points_per_tx,omitempty"`
}

QueryGetProtoRevMaxPoolPointsPerTxResponse is response type for the Query/GetProtoRevMaxPoolPointsPerTx RPC method.

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) Descriptor

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) GetMaxPoolPointsPerTx

func (m *QueryGetProtoRevMaxPoolPointsPerTxResponse) GetMaxPoolPointsPerTx() uint64

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerTxResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) MarshalTo

func (m *QueryGetProtoRevMaxPoolPointsPerTxResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevMaxPoolPointsPerTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) ProtoMessage

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) Reset

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) Size

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) String

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) Unmarshal

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevMaxPoolPointsPerTxResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) XXX_Marshal

func (m *QueryGetProtoRevMaxPoolPointsPerTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) XXX_Merge

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) XXX_Size

func (*QueryGetProtoRevMaxPoolPointsPerTxResponse) XXX_Unmarshal

type QueryGetProtoRevNumberOfTradesRequest

type QueryGetProtoRevNumberOfTradesRequest struct {
}

QueryGetProtoRevNumberOfTradesRequest is request type for the Query/GetProtoRevNumberOfTrades RPC method.

func (*QueryGetProtoRevNumberOfTradesRequest) Descriptor

func (*QueryGetProtoRevNumberOfTradesRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevNumberOfTradesRequest) Marshal

func (m *QueryGetProtoRevNumberOfTradesRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevNumberOfTradesRequest) MarshalTo

func (m *QueryGetProtoRevNumberOfTradesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevNumberOfTradesRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevNumberOfTradesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevNumberOfTradesRequest) ProtoMessage

func (*QueryGetProtoRevNumberOfTradesRequest) ProtoMessage()

func (*QueryGetProtoRevNumberOfTradesRequest) Reset

func (*QueryGetProtoRevNumberOfTradesRequest) Size

func (*QueryGetProtoRevNumberOfTradesRequest) String

func (*QueryGetProtoRevNumberOfTradesRequest) Unmarshal

func (m *QueryGetProtoRevNumberOfTradesRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevNumberOfTradesRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevNumberOfTradesRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevNumberOfTradesRequest) XXX_Marshal

func (m *QueryGetProtoRevNumberOfTradesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevNumberOfTradesRequest) XXX_Merge

func (*QueryGetProtoRevNumberOfTradesRequest) XXX_Size

func (*QueryGetProtoRevNumberOfTradesRequest) XXX_Unmarshal

func (m *QueryGetProtoRevNumberOfTradesRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevNumberOfTradesResponse

type QueryGetProtoRevNumberOfTradesResponse struct {
	// number_of_trades is the number of trades the module has executed
	NumberOfTrades github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
}

QueryGetProtoRevNumberOfTradesResponse is response type for the Query/GetProtoRevNumberOfTrades RPC method.

func (*QueryGetProtoRevNumberOfTradesResponse) Descriptor

func (*QueryGetProtoRevNumberOfTradesResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevNumberOfTradesResponse) Marshal

func (m *QueryGetProtoRevNumberOfTradesResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevNumberOfTradesResponse) MarshalTo

func (m *QueryGetProtoRevNumberOfTradesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevNumberOfTradesResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevNumberOfTradesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevNumberOfTradesResponse) ProtoMessage

func (*QueryGetProtoRevNumberOfTradesResponse) Reset

func (*QueryGetProtoRevNumberOfTradesResponse) Size

func (*QueryGetProtoRevNumberOfTradesResponse) String

func (*QueryGetProtoRevNumberOfTradesResponse) Unmarshal

func (m *QueryGetProtoRevNumberOfTradesResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevNumberOfTradesResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevNumberOfTradesResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevNumberOfTradesResponse) XXX_Marshal

func (m *QueryGetProtoRevNumberOfTradesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevNumberOfTradesResponse) XXX_Merge

func (*QueryGetProtoRevNumberOfTradesResponse) XXX_Size

func (*QueryGetProtoRevNumberOfTradesResponse) XXX_Unmarshal

func (m *QueryGetProtoRevNumberOfTradesResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevPoolWeightsRequest

type QueryGetProtoRevPoolWeightsRequest struct {
}

QueryGetProtoRevPoolWeightsRequest is request type for the Query/GetProtoRevPoolWeights RPC method.

func (*QueryGetProtoRevPoolWeightsRequest) Descriptor

func (*QueryGetProtoRevPoolWeightsRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevPoolWeightsRequest) Marshal

func (m *QueryGetProtoRevPoolWeightsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevPoolWeightsRequest) MarshalTo

func (m *QueryGetProtoRevPoolWeightsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevPoolWeightsRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevPoolWeightsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevPoolWeightsRequest) ProtoMessage

func (*QueryGetProtoRevPoolWeightsRequest) ProtoMessage()

func (*QueryGetProtoRevPoolWeightsRequest) Reset

func (*QueryGetProtoRevPoolWeightsRequest) Size

func (*QueryGetProtoRevPoolWeightsRequest) String

func (*QueryGetProtoRevPoolWeightsRequest) Unmarshal

func (m *QueryGetProtoRevPoolWeightsRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevPoolWeightsRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevPoolWeightsRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevPoolWeightsRequest) XXX_Marshal

func (m *QueryGetProtoRevPoolWeightsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevPoolWeightsRequest) XXX_Merge

func (*QueryGetProtoRevPoolWeightsRequest) XXX_Size

func (*QueryGetProtoRevPoolWeightsRequest) XXX_Unmarshal

func (m *QueryGetProtoRevPoolWeightsRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevPoolWeightsResponse

type QueryGetProtoRevPoolWeightsResponse struct {
	// pool_weights is a list of all of the pool weights
	PoolWeights *PoolWeights `protobuf:"bytes,1,opt,name=pool_weights,json=poolWeights,proto3" json:"pool_weights,omitempty"`
}

QueryGetProtoRevPoolWeightsResponse is response type for the Query/GetProtoRevPoolWeights RPC method.

func (*QueryGetProtoRevPoolWeightsResponse) Descriptor

func (*QueryGetProtoRevPoolWeightsResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevPoolWeightsResponse) GetPoolWeights

func (m *QueryGetProtoRevPoolWeightsResponse) GetPoolWeights() *PoolWeights

func (*QueryGetProtoRevPoolWeightsResponse) Marshal

func (m *QueryGetProtoRevPoolWeightsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevPoolWeightsResponse) MarshalTo

func (m *QueryGetProtoRevPoolWeightsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevPoolWeightsResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevPoolWeightsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevPoolWeightsResponse) ProtoMessage

func (*QueryGetProtoRevPoolWeightsResponse) ProtoMessage()

func (*QueryGetProtoRevPoolWeightsResponse) Reset

func (*QueryGetProtoRevPoolWeightsResponse) Size

func (*QueryGetProtoRevPoolWeightsResponse) String

func (*QueryGetProtoRevPoolWeightsResponse) Unmarshal

func (m *QueryGetProtoRevPoolWeightsResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevPoolWeightsResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevPoolWeightsResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevPoolWeightsResponse) XXX_Marshal

func (m *QueryGetProtoRevPoolWeightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevPoolWeightsResponse) XXX_Merge

func (*QueryGetProtoRevPoolWeightsResponse) XXX_Size

func (*QueryGetProtoRevPoolWeightsResponse) XXX_Unmarshal

func (m *QueryGetProtoRevPoolWeightsResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevProfitsByDenomRequest

type QueryGetProtoRevProfitsByDenomRequest struct {
	// denom is the denom to query profits by
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

QueryGetProtoRevProfitsByDenomRequest is request type for the Query/GetProtoRevProfitsByDenom RPC method.

func (*QueryGetProtoRevProfitsByDenomRequest) Descriptor

func (*QueryGetProtoRevProfitsByDenomRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevProfitsByDenomRequest) GetDenom

func (*QueryGetProtoRevProfitsByDenomRequest) Marshal

func (m *QueryGetProtoRevProfitsByDenomRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevProfitsByDenomRequest) MarshalTo

func (m *QueryGetProtoRevProfitsByDenomRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevProfitsByDenomRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevProfitsByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevProfitsByDenomRequest) ProtoMessage

func (*QueryGetProtoRevProfitsByDenomRequest) ProtoMessage()

func (*QueryGetProtoRevProfitsByDenomRequest) Reset

func (*QueryGetProtoRevProfitsByDenomRequest) Size

func (*QueryGetProtoRevProfitsByDenomRequest) String

func (*QueryGetProtoRevProfitsByDenomRequest) Unmarshal

func (m *QueryGetProtoRevProfitsByDenomRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevProfitsByDenomRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevProfitsByDenomRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevProfitsByDenomRequest) XXX_Marshal

func (m *QueryGetProtoRevProfitsByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevProfitsByDenomRequest) XXX_Merge

func (*QueryGetProtoRevProfitsByDenomRequest) XXX_Size

func (*QueryGetProtoRevProfitsByDenomRequest) XXX_Unmarshal

func (m *QueryGetProtoRevProfitsByDenomRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevProfitsByDenomResponse

type QueryGetProtoRevProfitsByDenomResponse struct {
	// profit is the profits of the module by the selected denom
	Profit *types.Coin `protobuf:"bytes,1,opt,name=profit,proto3" json:"profit,omitempty"`
}

QueryGetProtoRevProfitsByDenomResponse is response type for the Query/GetProtoRevProfitsByDenom RPC method.

func (*QueryGetProtoRevProfitsByDenomResponse) Descriptor

func (*QueryGetProtoRevProfitsByDenomResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevProfitsByDenomResponse) GetProfit

func (*QueryGetProtoRevProfitsByDenomResponse) Marshal

func (m *QueryGetProtoRevProfitsByDenomResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevProfitsByDenomResponse) MarshalTo

func (m *QueryGetProtoRevProfitsByDenomResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevProfitsByDenomResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevProfitsByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevProfitsByDenomResponse) ProtoMessage

func (*QueryGetProtoRevProfitsByDenomResponse) Reset

func (*QueryGetProtoRevProfitsByDenomResponse) Size

func (*QueryGetProtoRevProfitsByDenomResponse) String

func (*QueryGetProtoRevProfitsByDenomResponse) Unmarshal

func (m *QueryGetProtoRevProfitsByDenomResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProtoRevProfitsByDenomResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevProfitsByDenomResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevProfitsByDenomResponse) XXX_Marshal

func (m *QueryGetProtoRevProfitsByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevProfitsByDenomResponse) XXX_Merge

func (*QueryGetProtoRevProfitsByDenomResponse) XXX_Size

func (*QueryGetProtoRevProfitsByDenomResponse) XXX_Unmarshal

func (m *QueryGetProtoRevProfitsByDenomResponse) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevStatisticsByRouteRequest

type QueryGetProtoRevStatisticsByRouteRequest struct {
	// route is the set of pool ids to query statistics by i.e. 1,2,3
	Route []uint64 `protobuf:"varint,1,rep,packed,name=route,proto3" json:"route,omitempty"`
}

QueryGetProtoRevStatisticsByPoolRequest is request type for the Query/GetProtoRevStatisticsByRoute RPC method.

func (*QueryGetProtoRevStatisticsByRouteRequest) Descriptor

func (*QueryGetProtoRevStatisticsByRouteRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevStatisticsByRouteRequest) GetRoute

func (*QueryGetProtoRevStatisticsByRouteRequest) Marshal

func (m *QueryGetProtoRevStatisticsByRouteRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevStatisticsByRouteRequest) MarshalTo

func (m *QueryGetProtoRevStatisticsByRouteRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevStatisticsByRouteRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevStatisticsByRouteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevStatisticsByRouteRequest) ProtoMessage

func (*QueryGetProtoRevStatisticsByRouteRequest) Reset

func (*QueryGetProtoRevStatisticsByRouteRequest) Size

func (*QueryGetProtoRevStatisticsByRouteRequest) String

func (*QueryGetProtoRevStatisticsByRouteRequest) Unmarshal

func (*QueryGetProtoRevStatisticsByRouteRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevStatisticsByRouteRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevStatisticsByRouteRequest) XXX_Marshal

func (m *QueryGetProtoRevStatisticsByRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevStatisticsByRouteRequest) XXX_Merge

func (*QueryGetProtoRevStatisticsByRouteRequest) XXX_Size

func (*QueryGetProtoRevStatisticsByRouteRequest) XXX_Unmarshal

func (m *QueryGetProtoRevStatisticsByRouteRequest) XXX_Unmarshal(b []byte) error

type QueryGetProtoRevStatisticsByRouteResponse

type QueryGetProtoRevStatisticsByRouteResponse struct {
	// statistics contains the number of trades the module has executed after a
	// swap on a given pool and the profits from the trades
	Statistics *RouteStatistics `protobuf:"bytes,1,opt,name=statistics,proto3" json:"statistics,omitempty"`
}

QueryGetProtoRevStatisticsByRouteResponse is response type for the Query/GetProtoRevStatisticsByRoute RPC method.

func (*QueryGetProtoRevStatisticsByRouteResponse) Descriptor

func (*QueryGetProtoRevStatisticsByRouteResponse) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevStatisticsByRouteResponse) GetStatistics

func (*QueryGetProtoRevStatisticsByRouteResponse) Marshal

func (m *QueryGetProtoRevStatisticsByRouteResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevStatisticsByRouteResponse) MarshalTo

func (m *QueryGetProtoRevStatisticsByRouteResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevStatisticsByRouteResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevStatisticsByRouteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevStatisticsByRouteResponse) ProtoMessage

func (*QueryGetProtoRevStatisticsByRouteResponse) Reset

func (*QueryGetProtoRevStatisticsByRouteResponse) Size

func (*QueryGetProtoRevStatisticsByRouteResponse) String

func (*QueryGetProtoRevStatisticsByRouteResponse) Unmarshal

func (*QueryGetProtoRevStatisticsByRouteResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevStatisticsByRouteResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevStatisticsByRouteResponse) XXX_Marshal

func (m *QueryGetProtoRevStatisticsByRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevStatisticsByRouteResponse) XXX_Merge

func (*QueryGetProtoRevStatisticsByRouteResponse) XXX_Size

func (*QueryGetProtoRevStatisticsByRouteResponse) XXX_Unmarshal

type QueryGetProtoRevTokenPairArbRoutesRequest

type QueryGetProtoRevTokenPairArbRoutesRequest struct {
}

QueryGetProtoRevTokenPairArbRoutesRequest is request type for the Query/GetProtoRevTokenPairArbRoutes RPC method.

func (*QueryGetProtoRevTokenPairArbRoutesRequest) Descriptor

func (*QueryGetProtoRevTokenPairArbRoutesRequest) Descriptor() ([]byte, []int)

func (*QueryGetProtoRevTokenPairArbRoutesRequest) Marshal

func (m *QueryGetProtoRevTokenPairArbRoutesRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevTokenPairArbRoutesRequest) MarshalTo

func (m *QueryGetProtoRevTokenPairArbRoutesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevTokenPairArbRoutesRequest) MarshalToSizedBuffer

func (m *QueryGetProtoRevTokenPairArbRoutesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevTokenPairArbRoutesRequest) ProtoMessage

func (*QueryGetProtoRevTokenPairArbRoutesRequest) Reset

func (*QueryGetProtoRevTokenPairArbRoutesRequest) Size

func (*QueryGetProtoRevTokenPairArbRoutesRequest) String

func (*QueryGetProtoRevTokenPairArbRoutesRequest) Unmarshal

func (*QueryGetProtoRevTokenPairArbRoutesRequest) XXX_DiscardUnknown

func (m *QueryGetProtoRevTokenPairArbRoutesRequest) XXX_DiscardUnknown()

func (*QueryGetProtoRevTokenPairArbRoutesRequest) XXX_Marshal

func (m *QueryGetProtoRevTokenPairArbRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevTokenPairArbRoutesRequest) XXX_Merge

func (*QueryGetProtoRevTokenPairArbRoutesRequest) XXX_Size

func (*QueryGetProtoRevTokenPairArbRoutesRequest) XXX_Unmarshal

type QueryGetProtoRevTokenPairArbRoutesResponse

type QueryGetProtoRevTokenPairArbRoutesResponse struct {
	// routes is a list of all of the hot routes that the module is currently
	// arbitraging
	Routes []*TokenPairArbRoutes `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
}

QueryGetProtoRevTokenPairArbRoutesResponse is response type for the Query/GetProtoRevTokenPairArbRoutes RPC method.

func (*QueryGetProtoRevTokenPairArbRoutesResponse) Descriptor

func (*QueryGetProtoRevTokenPairArbRoutesResponse) GetRoutes

func (*QueryGetProtoRevTokenPairArbRoutesResponse) Marshal

func (m *QueryGetProtoRevTokenPairArbRoutesResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProtoRevTokenPairArbRoutesResponse) MarshalTo

func (m *QueryGetProtoRevTokenPairArbRoutesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProtoRevTokenPairArbRoutesResponse) MarshalToSizedBuffer

func (m *QueryGetProtoRevTokenPairArbRoutesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProtoRevTokenPairArbRoutesResponse) ProtoMessage

func (*QueryGetProtoRevTokenPairArbRoutesResponse) Reset

func (*QueryGetProtoRevTokenPairArbRoutesResponse) Size

func (*QueryGetProtoRevTokenPairArbRoutesResponse) String

func (*QueryGetProtoRevTokenPairArbRoutesResponse) Unmarshal

func (*QueryGetProtoRevTokenPairArbRoutesResponse) XXX_DiscardUnknown

func (m *QueryGetProtoRevTokenPairArbRoutesResponse) XXX_DiscardUnknown()

func (*QueryGetProtoRevTokenPairArbRoutesResponse) XXX_Marshal

func (m *QueryGetProtoRevTokenPairArbRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProtoRevTokenPairArbRoutesResponse) XXX_Merge

func (*QueryGetProtoRevTokenPairArbRoutesResponse) XXX_Size

func (*QueryGetProtoRevTokenPairArbRoutesResponse) XXX_Unmarshal

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Params queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// GetProtoRevNumberOfTrades queries the number of arbitrage trades the module
	// has executed
	GetProtoRevNumberOfTrades(context.Context, *QueryGetProtoRevNumberOfTradesRequest) (*QueryGetProtoRevNumberOfTradesResponse, error)
	// GetProtoRevProfitsByDenom queries the profits of the module by denom
	GetProtoRevProfitsByDenom(context.Context, *QueryGetProtoRevProfitsByDenomRequest) (*QueryGetProtoRevProfitsByDenomResponse, error)
	// GetProtoRevAllProfits queries all of the profits from the module
	GetProtoRevAllProfits(context.Context, *QueryGetProtoRevAllProfitsRequest) (*QueryGetProtoRevAllProfitsResponse, error)
	// GetProtoRevStatisticsByRoute queries the number of arbitrages and profits
	// that have been executed for a given route
	GetProtoRevStatisticsByRoute(context.Context, *QueryGetProtoRevStatisticsByRouteRequest) (*QueryGetProtoRevStatisticsByRouteResponse, error)
	// GetProtoRevAllRouteStatistics queries all of routes that the module has
	// arbitraged against and the number of trades and profits that have been
	// accumulated for each route
	GetProtoRevAllRouteStatistics(context.Context, *QueryGetProtoRevAllRouteStatisticsRequest) (*QueryGetProtoRevAllRouteStatisticsResponse, error)
	// GetProtoRevTokenPairArbRoutes queries all of the hot routes that the module
	// is currently arbitraging
	GetProtoRevTokenPairArbRoutes(context.Context, *QueryGetProtoRevTokenPairArbRoutesRequest) (*QueryGetProtoRevTokenPairArbRoutesResponse, error)
	// GetProtoRevAdminAccount queries the admin account of the module
	GetProtoRevAdminAccount(context.Context, *QueryGetProtoRevAdminAccountRequest) (*QueryGetProtoRevAdminAccountResponse, error)
	// GetProtoRevDeveloperAccount queries the developer account of the module
	GetProtoRevDeveloperAccount(context.Context, *QueryGetProtoRevDeveloperAccountRequest) (*QueryGetProtoRevDeveloperAccountResponse, error)
	// GetProtoRevPoolWeights queries the weights of each pool type currently
	// being used by the module
	GetProtoRevPoolWeights(context.Context, *QueryGetProtoRevPoolWeightsRequest) (*QueryGetProtoRevPoolWeightsResponse, error)
	// GetProtoRevMaxPoolPointsPerTx queries the maximum number of pool points
	// that can be consumed per transaction
	GetProtoRevMaxPoolPointsPerTx(context.Context, *QueryGetProtoRevMaxPoolPointsPerTxRequest) (*QueryGetProtoRevMaxPoolPointsPerTxResponse, error)
	// GetProtoRevMaxPoolPointsPerBlock queries the maximum number of pool points
	// that can consumed per block
	GetProtoRevMaxPoolPointsPerBlock(context.Context, *QueryGetProtoRevMaxPoolPointsPerBlockRequest) (*QueryGetProtoRevMaxPoolPointsPerBlockResponse, error)
	// GetProtoRevBaseDenoms queries the base denoms that the module is currently
	// utilizing for arbitrage
	GetProtoRevBaseDenoms(context.Context, *QueryGetProtoRevBaseDenomsRequest) (*QueryGetProtoRevBaseDenomsResponse, error)
	// GetProtoRevEnabled queries whether the module is enabled or not
	GetProtoRevEnabled(context.Context, *QueryGetProtoRevEnabledRequest) (*QueryGetProtoRevEnabledResponse, error)
}

QueryServer is the server API for Query service.

type Route

type Route struct {
	// The pool IDs that are travered in the directed cyclic graph (traversed left
	// -> right)
	Trades []*Trade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
}

Route is a hot route for a given pair of tokens

func NewRoutes

func NewRoutes(trades []*Trade) Route

func (*Route) Descriptor

func (*Route) Descriptor() ([]byte, []int)

func (*Route) Equal

func (this *Route) Equal(that interface{}) bool

func (*Route) GetTrades

func (m *Route) GetTrades() []*Trade

func (*Route) Marshal

func (m *Route) Marshal() (dAtA []byte, err error)

func (*Route) MarshalTo

func (m *Route) MarshalTo(dAtA []byte) (int, error)

func (*Route) MarshalToSizedBuffer

func (m *Route) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) Size

func (m *Route) Size() (n int)

func (*Route) String

func (m *Route) String() string

func (*Route) Unmarshal

func (m *Route) Unmarshal(dAtA []byte) error

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (m *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

type RouteStatistics

type RouteStatistics struct {
	// profits is the total profit from all trades on this route
	Profits []*types.Coin `protobuf:"bytes,1,rep,name=profits,proto3" json:"profits,omitempty"`
	// number_of_trades is the number of trades the module has executed using this
	// route
	NumberOfTrades github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
	// route is the route that was used (pool ids along the arbitrage route)
	Route []uint64 `protobuf:"varint,3,rep,packed,name=route,proto3" json:"route,omitempty"`
}

RouteStatistics contains the number of trades the module has executed after a swap on a given route and the profits from the trades

func (*RouteStatistics) Descriptor

func (*RouteStatistics) Descriptor() ([]byte, []int)

func (*RouteStatistics) GetProfits

func (m *RouteStatistics) GetProfits() []*types.Coin

func (*RouteStatistics) GetRoute

func (m *RouteStatistics) GetRoute() []uint64

func (*RouteStatistics) Marshal

func (m *RouteStatistics) Marshal() (dAtA []byte, err error)

func (*RouteStatistics) MarshalTo

func (m *RouteStatistics) MarshalTo(dAtA []byte) (int, error)

func (*RouteStatistics) MarshalToSizedBuffer

func (m *RouteStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouteStatistics) ProtoMessage

func (*RouteStatistics) ProtoMessage()

func (*RouteStatistics) Reset

func (m *RouteStatistics) Reset()

func (*RouteStatistics) Size

func (m *RouteStatistics) Size() (n int)

func (*RouteStatistics) String

func (m *RouteStatistics) String() string

func (*RouteStatistics) Unmarshal

func (m *RouteStatistics) Unmarshal(dAtA []byte) error

func (*RouteStatistics) XXX_DiscardUnknown

func (m *RouteStatistics) XXX_DiscardUnknown()

func (*RouteStatistics) XXX_Marshal

func (m *RouteStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteStatistics) XXX_Merge

func (m *RouteStatistics) XXX_Merge(src proto.Message)

func (*RouteStatistics) XXX_Size

func (m *RouteStatistics) XXX_Size() int

func (*RouteStatistics) XXX_Unmarshal

func (m *RouteStatistics) XXX_Unmarshal(b []byte) error

type SetProtoRevAdminAccountProposal

type SetProtoRevAdminAccountProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Account     string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
}

SetProtoRevAdminAccountProposal is a gov Content type to set the admin account that will receive permissions to alter hot routes and set the developer address that will be receiving a share of profits from the module

func (*SetProtoRevAdminAccountProposal) Descriptor

func (*SetProtoRevAdminAccountProposal) Descriptor() ([]byte, []int)

func (*SetProtoRevAdminAccountProposal) Equal

func (this *SetProtoRevAdminAccountProposal) Equal(that interface{}) bool

func (*SetProtoRevAdminAccountProposal) GetDescription

func (p *SetProtoRevAdminAccountProposal) GetDescription() string

func (*SetProtoRevAdminAccountProposal) GetTitle

func (*SetProtoRevAdminAccountProposal) Marshal

func (m *SetProtoRevAdminAccountProposal) Marshal() (dAtA []byte, err error)

func (*SetProtoRevAdminAccountProposal) MarshalTo

func (m *SetProtoRevAdminAccountProposal) MarshalTo(dAtA []byte) (int, error)

func (*SetProtoRevAdminAccountProposal) MarshalToSizedBuffer

func (m *SetProtoRevAdminAccountProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetProtoRevAdminAccountProposal) ProposalRoute

func (p *SetProtoRevAdminAccountProposal) ProposalRoute() string

func (*SetProtoRevAdminAccountProposal) ProposalType

func (p *SetProtoRevAdminAccountProposal) ProposalType() string

func (*SetProtoRevAdminAccountProposal) ProtoMessage

func (*SetProtoRevAdminAccountProposal) ProtoMessage()

func (*SetProtoRevAdminAccountProposal) Reset

func (*SetProtoRevAdminAccountProposal) Size

func (m *SetProtoRevAdminAccountProposal) Size() (n int)

func (SetProtoRevAdminAccountProposal) String

func (*SetProtoRevAdminAccountProposal) Unmarshal

func (m *SetProtoRevAdminAccountProposal) Unmarshal(dAtA []byte) error

func (*SetProtoRevAdminAccountProposal) ValidateBasic

func (p *SetProtoRevAdminAccountProposal) ValidateBasic() error

func (*SetProtoRevAdminAccountProposal) XXX_DiscardUnknown

func (m *SetProtoRevAdminAccountProposal) XXX_DiscardUnknown()

func (*SetProtoRevAdminAccountProposal) XXX_Marshal

func (m *SetProtoRevAdminAccountProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetProtoRevAdminAccountProposal) XXX_Merge

func (m *SetProtoRevAdminAccountProposal) XXX_Merge(src proto.Message)

func (*SetProtoRevAdminAccountProposal) XXX_Size

func (m *SetProtoRevAdminAccountProposal) XXX_Size() int

func (*SetProtoRevAdminAccountProposal) XXX_Unmarshal

func (m *SetProtoRevAdminAccountProposal) XXX_Unmarshal(b []byte) error

type SetProtoRevEnabledProposal

type SetProtoRevEnabledProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Enabled     bool   `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

SetProtoRevEnabledProposal is a gov Content type to update whether the protorev module is enabled

func (*SetProtoRevEnabledProposal) Descriptor

func (*SetProtoRevEnabledProposal) Descriptor() ([]byte, []int)

func (*SetProtoRevEnabledProposal) Equal

func (this *SetProtoRevEnabledProposal) Equal(that interface{}) bool

func (*SetProtoRevEnabledProposal) GetDescription

func (p *SetProtoRevEnabledProposal) GetDescription() string

func (*SetProtoRevEnabledProposal) GetTitle

func (p *SetProtoRevEnabledProposal) GetTitle() string

func (*SetProtoRevEnabledProposal) Marshal

func (m *SetProtoRevEnabledProposal) Marshal() (dAtA []byte, err error)

func (*SetProtoRevEnabledProposal) MarshalTo

func (m *SetProtoRevEnabledProposal) MarshalTo(dAtA []byte) (int, error)

func (*SetProtoRevEnabledProposal) MarshalToSizedBuffer

func (m *SetProtoRevEnabledProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetProtoRevEnabledProposal) ProposalRoute

func (p *SetProtoRevEnabledProposal) ProposalRoute() string

func (*SetProtoRevEnabledProposal) ProposalType

func (p *SetProtoRevEnabledProposal) ProposalType() string

func (*SetProtoRevEnabledProposal) ProtoMessage

func (*SetProtoRevEnabledProposal) ProtoMessage()

func (*SetProtoRevEnabledProposal) Reset

func (m *SetProtoRevEnabledProposal) Reset()

func (*SetProtoRevEnabledProposal) Size

func (m *SetProtoRevEnabledProposal) Size() (n int)

func (SetProtoRevEnabledProposal) String

func (*SetProtoRevEnabledProposal) Unmarshal

func (m *SetProtoRevEnabledProposal) Unmarshal(dAtA []byte) error

func (*SetProtoRevEnabledProposal) ValidateBasic

func (p *SetProtoRevEnabledProposal) ValidateBasic() error

func (*SetProtoRevEnabledProposal) XXX_DiscardUnknown

func (m *SetProtoRevEnabledProposal) XXX_DiscardUnknown()

func (*SetProtoRevEnabledProposal) XXX_Marshal

func (m *SetProtoRevEnabledProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetProtoRevEnabledProposal) XXX_Merge

func (m *SetProtoRevEnabledProposal) XXX_Merge(src proto.Message)

func (*SetProtoRevEnabledProposal) XXX_Size

func (m *SetProtoRevEnabledProposal) XXX_Size() int

func (*SetProtoRevEnabledProposal) XXX_Unmarshal

func (m *SetProtoRevEnabledProposal) XXX_Unmarshal(b []byte) error

type TokenPair

type TokenPair struct {
	TokenA string
	TokenB string
}

type TokenPairArbRoutes

type TokenPairArbRoutes struct {
	// Stores all of the possible hot paths for a given pair of tokens
	ArbRoutes []*Route `protobuf:"bytes,1,rep,name=arb_routes,json=arbRoutes,proto3" json:"arb_routes,omitempty"`
	// Token denomination of the first asset
	TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	// Token denomination of the second asset
	TokenOut string `protobuf:"bytes,3,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"`
}

TokenPairArbRoutes tracks all of the hot routes for a given pair of tokens

func NewTokenPairArbRoutes

func NewTokenPairArbRoutes(routes []*Route, tokenA, tokenB string) TokenPairArbRoutes

Creates a new TokenPairArbRoutes object

func (*TokenPairArbRoutes) Descriptor

func (*TokenPairArbRoutes) Descriptor() ([]byte, []int)

func (*TokenPairArbRoutes) Equal

func (this *TokenPairArbRoutes) Equal(that interface{}) bool

func (*TokenPairArbRoutes) GetArbRoutes

func (m *TokenPairArbRoutes) GetArbRoutes() []*Route

func (*TokenPairArbRoutes) GetTokenIn

func (m *TokenPairArbRoutes) GetTokenIn() string

func (*TokenPairArbRoutes) GetTokenOut

func (m *TokenPairArbRoutes) GetTokenOut() string

func (*TokenPairArbRoutes) Marshal

func (m *TokenPairArbRoutes) Marshal() (dAtA []byte, err error)

func (*TokenPairArbRoutes) MarshalTo

func (m *TokenPairArbRoutes) MarshalTo(dAtA []byte) (int, error)

func (*TokenPairArbRoutes) MarshalToSizedBuffer

func (m *TokenPairArbRoutes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenPairArbRoutes) ProtoMessage

func (*TokenPairArbRoutes) ProtoMessage()

func (*TokenPairArbRoutes) Reset

func (m *TokenPairArbRoutes) Reset()

func (*TokenPairArbRoutes) Size

func (m *TokenPairArbRoutes) Size() (n int)

func (*TokenPairArbRoutes) String

func (m *TokenPairArbRoutes) String() string

func (*TokenPairArbRoutes) Unmarshal

func (m *TokenPairArbRoutes) Unmarshal(dAtA []byte) error

func (*TokenPairArbRoutes) Validate

func (tp *TokenPairArbRoutes) Validate() error

func (*TokenPairArbRoutes) XXX_DiscardUnknown

func (m *TokenPairArbRoutes) XXX_DiscardUnknown()

func (*TokenPairArbRoutes) XXX_Marshal

func (m *TokenPairArbRoutes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenPairArbRoutes) XXX_Merge

func (m *TokenPairArbRoutes) XXX_Merge(src proto.Message)

func (*TokenPairArbRoutes) XXX_Size

func (m *TokenPairArbRoutes) XXX_Size() int

func (*TokenPairArbRoutes) XXX_Unmarshal

func (m *TokenPairArbRoutes) XXX_Unmarshal(b []byte) error

type Trade

type Trade struct {
	// The pool IDs that are travered in the directed cyclic graph (traversed left
	// -> right)
	Pool uint64 `protobuf:"varint,1,opt,name=pool,proto3" json:"pool,omitempty"`
	// The denom of token A that is traded
	TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	// The denom of token B that is traded
	TokenOut string `protobuf:"bytes,3,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"`
}

Trade is a single trade in a route

func NewTrade

func NewTrade(pool uint64, tokenA, tokenB string) Trade

func (*Trade) Descriptor

func (*Trade) Descriptor() ([]byte, []int)

func (*Trade) Equal

func (this *Trade) Equal(that interface{}) bool

func (*Trade) GetPool

func (m *Trade) GetPool() uint64

func (*Trade) GetTokenIn

func (m *Trade) GetTokenIn() string

func (*Trade) GetTokenOut

func (m *Trade) GetTokenOut() string

func (*Trade) Marshal

func (m *Trade) Marshal() (dAtA []byte, err error)

func (*Trade) MarshalTo

func (m *Trade) MarshalTo(dAtA []byte) (int, error)

func (*Trade) MarshalToSizedBuffer

func (m *Trade) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Trade) ProtoMessage

func (*Trade) ProtoMessage()

func (*Trade) Reset

func (m *Trade) Reset()

func (*Trade) Size

func (m *Trade) Size() (n int)

func (*Trade) String

func (m *Trade) String() string

func (*Trade) Unmarshal

func (m *Trade) Unmarshal(dAtA []byte) error

func (*Trade) XXX_DiscardUnknown

func (m *Trade) XXX_DiscardUnknown()

func (*Trade) XXX_Marshal

func (m *Trade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trade) XXX_Merge

func (m *Trade) XXX_Merge(src proto.Message)

func (*Trade) XXX_Size

func (m *Trade) XXX_Size() int

func (*Trade) XXX_Unmarshal

func (m *Trade) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) SetBaseDenoms

func (*UnimplementedMsgServer) SetDeveloperAccount

func (*UnimplementedMsgServer) SetHotRoutes

func (*UnimplementedMsgServer) SetMaxPoolPointsPerBlock

func (*UnimplementedMsgServer) SetMaxPoolPointsPerTx

func (*UnimplementedMsgServer) SetPoolWeights

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetProtoRevEnabled

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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