Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() MarketMapperRevenueShareParams
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MarketMapperRevShareDetails
- func (*MarketMapperRevShareDetails) Descriptor() ([]byte, []int)
- func (m *MarketMapperRevShareDetails) GetExpirationTs() uint64
- func (m *MarketMapperRevShareDetails) Marshal() (dAtA []byte, err error)
- func (m *MarketMapperRevShareDetails) MarshalTo(dAtA []byte) (int, error)
- func (m *MarketMapperRevShareDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MarketMapperRevShareDetails) ProtoMessage()
- func (m *MarketMapperRevShareDetails) Reset()
- func (m *MarketMapperRevShareDetails) Size() (n int)
- func (m *MarketMapperRevShareDetails) String() string
- func (m *MarketMapperRevShareDetails) Unmarshal(dAtA []byte) error
- func (m *MarketMapperRevShareDetails) XXX_DiscardUnknown()
- func (m *MarketMapperRevShareDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketMapperRevShareDetails) XXX_Merge(src proto.Message)
- func (m *MarketMapperRevShareDetails) XXX_Size() int
- func (m *MarketMapperRevShareDetails) XXX_Unmarshal(b []byte) error
- type MarketMapperRevenueShareParams
- func (*MarketMapperRevenueShareParams) Descriptor() ([]byte, []int)
- func (m *MarketMapperRevenueShareParams) GetAddress() string
- func (m *MarketMapperRevenueShareParams) GetRevenueSharePpm() uint32
- func (m *MarketMapperRevenueShareParams) GetValidDays() uint32
- func (m *MarketMapperRevenueShareParams) Marshal() (dAtA []byte, err error)
- func (m *MarketMapperRevenueShareParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MarketMapperRevenueShareParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MarketMapperRevenueShareParams) ProtoMessage()
- func (m *MarketMapperRevenueShareParams) Reset()
- func (m *MarketMapperRevenueShareParams) Size() (n int)
- func (m *MarketMapperRevenueShareParams) String() string
- func (m *MarketMapperRevenueShareParams) Unmarshal(dAtA []byte) error
- func (p MarketMapperRevenueShareParams) Validate() error
- func (m *MarketMapperRevenueShareParams) XXX_DiscardUnknown()
- func (m *MarketMapperRevenueShareParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketMapperRevenueShareParams) XXX_Merge(src proto.Message)
- func (m *MarketMapperRevenueShareParams) XXX_Size() int
- func (m *MarketMapperRevenueShareParams) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgSetMarketMapperRevShareDetailsForMarket
- func (*MsgSetMarketMapperRevShareDetailsForMarket) Descriptor() ([]byte, []int)
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) GetAuthority() string
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) GetMarketId() uint32
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) GetParams() MarketMapperRevShareDetails
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMarketMapperRevShareDetailsForMarket) ProtoMessage()
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) Reset()
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) Size() (n int)
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) String() string
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) Unmarshal(dAtA []byte) error
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_DiscardUnknown()
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Merge(src proto.Message)
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Size() int
- func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Unmarshal(b []byte) error
- type MsgSetMarketMapperRevShareDetailsForMarketResponse
- func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) ProtoMessage()
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Reset()
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Size() (n int)
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) String() string
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_DiscardUnknown()
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Size() int
- func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Unmarshal(b []byte) error
- type MsgSetMarketMapperRevenueShare
- func (*MsgSetMarketMapperRevenueShare) Descriptor() ([]byte, []int)
- func (m *MsgSetMarketMapperRevenueShare) GetAuthority() string
- func (m *MsgSetMarketMapperRevenueShare) GetParams() MarketMapperRevenueShareParams
- func (m *MsgSetMarketMapperRevenueShare) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMarketMapperRevenueShare) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMarketMapperRevenueShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMarketMapperRevenueShare) ProtoMessage()
- func (m *MsgSetMarketMapperRevenueShare) Reset()
- func (m *MsgSetMarketMapperRevenueShare) Size() (n int)
- func (m *MsgSetMarketMapperRevenueShare) String() string
- func (m *MsgSetMarketMapperRevenueShare) Unmarshal(dAtA []byte) error
- func (m *MsgSetMarketMapperRevenueShare) XXX_DiscardUnknown()
- func (m *MsgSetMarketMapperRevenueShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMarketMapperRevenueShare) XXX_Merge(src proto.Message)
- func (m *MsgSetMarketMapperRevenueShare) XXX_Size() int
- func (m *MsgSetMarketMapperRevenueShare) XXX_Unmarshal(b []byte) error
- type MsgSetMarketMapperRevenueShareResponse
- func (*MsgSetMarketMapperRevenueShareResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetMarketMapperRevenueShareResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMarketMapperRevenueShareResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMarketMapperRevenueShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMarketMapperRevenueShareResponse) ProtoMessage()
- func (m *MsgSetMarketMapperRevenueShareResponse) Reset()
- func (m *MsgSetMarketMapperRevenueShareResponse) Size() (n int)
- func (m *MsgSetMarketMapperRevenueShareResponse) String() string
- func (m *MsgSetMarketMapperRevenueShareResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetMarketMapperRevenueShareResponse) XXX_DiscardUnknown()
- func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Size() int
- func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateUnconditionalRevShareConfig
- func (*MsgUpdateUnconditionalRevShareConfig) Descriptor() ([]byte, []int)
- func (m *MsgUpdateUnconditionalRevShareConfig) GetAuthority() string
- func (m *MsgUpdateUnconditionalRevShareConfig) GetConfig() UnconditionalRevShareConfig
- func (m *MsgUpdateUnconditionalRevShareConfig) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateUnconditionalRevShareConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateUnconditionalRevShareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateUnconditionalRevShareConfig) ProtoMessage()
- func (m *MsgUpdateUnconditionalRevShareConfig) Reset()
- func (m *MsgUpdateUnconditionalRevShareConfig) Size() (n int)
- func (m *MsgUpdateUnconditionalRevShareConfig) String() string
- func (m *MsgUpdateUnconditionalRevShareConfig) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateUnconditionalRevShareConfig) ValidateBasic() error
- func (m *MsgUpdateUnconditionalRevShareConfig) XXX_DiscardUnknown()
- func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Merge(src proto.Message)
- func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Size() int
- func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Unmarshal(b []byte) error
- type MsgUpdateUnconditionalRevShareConfigResponse
- func (*MsgUpdateUnconditionalRevShareConfigResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateUnconditionalRevShareConfigResponse) ProtoMessage()
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) Reset()
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) Size() (n int)
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) String() string
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Size() int
- func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryMarketMapperRevShareDetails
- func (*QueryMarketMapperRevShareDetails) Descriptor() ([]byte, []int)
- func (m *QueryMarketMapperRevShareDetails) GetMarketId() uint32
- func (m *QueryMarketMapperRevShareDetails) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketMapperRevShareDetails) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketMapperRevShareDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketMapperRevShareDetails) ProtoMessage()
- func (m *QueryMarketMapperRevShareDetails) Reset()
- func (m *QueryMarketMapperRevShareDetails) Size() (n int)
- func (m *QueryMarketMapperRevShareDetails) String() string
- func (m *QueryMarketMapperRevShareDetails) Unmarshal(dAtA []byte) error
- func (m *QueryMarketMapperRevShareDetails) XXX_DiscardUnknown()
- func (m *QueryMarketMapperRevShareDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketMapperRevShareDetails) XXX_Merge(src proto.Message)
- func (m *QueryMarketMapperRevShareDetails) XXX_Size() int
- func (m *QueryMarketMapperRevShareDetails) XXX_Unmarshal(b []byte) error
- type QueryMarketMapperRevShareDetailsResponse
- func (*QueryMarketMapperRevShareDetailsResponse) Descriptor() ([]byte, []int)
- func (m *QueryMarketMapperRevShareDetailsResponse) GetDetails() MarketMapperRevShareDetails
- func (m *QueryMarketMapperRevShareDetailsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketMapperRevShareDetailsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketMapperRevShareDetailsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketMapperRevShareDetailsResponse) ProtoMessage()
- func (m *QueryMarketMapperRevShareDetailsResponse) Reset()
- func (m *QueryMarketMapperRevShareDetailsResponse) Size() (n int)
- func (m *QueryMarketMapperRevShareDetailsResponse) String() string
- func (m *QueryMarketMapperRevShareDetailsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMarketMapperRevShareDetailsResponse) XXX_DiscardUnknown()
- func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Merge(src proto.Message)
- func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Size() int
- func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Unmarshal(b []byte) error
- type QueryMarketMapperRevenueShareParams
- func (*QueryMarketMapperRevenueShareParams) Descriptor() ([]byte, []int)
- func (m *QueryMarketMapperRevenueShareParams) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketMapperRevenueShareParams) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketMapperRevenueShareParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketMapperRevenueShareParams) ProtoMessage()
- func (m *QueryMarketMapperRevenueShareParams) Reset()
- func (m *QueryMarketMapperRevenueShareParams) Size() (n int)
- func (m *QueryMarketMapperRevenueShareParams) String() string
- func (m *QueryMarketMapperRevenueShareParams) Unmarshal(dAtA []byte) error
- func (m *QueryMarketMapperRevenueShareParams) XXX_DiscardUnknown()
- func (m *QueryMarketMapperRevenueShareParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketMapperRevenueShareParams) XXX_Merge(src proto.Message)
- func (m *QueryMarketMapperRevenueShareParams) XXX_Size() int
- func (m *QueryMarketMapperRevenueShareParams) XXX_Unmarshal(b []byte) error
- type QueryMarketMapperRevenueShareParamsResponse
- func (*QueryMarketMapperRevenueShareParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryMarketMapperRevenueShareParamsResponse) GetParams() MarketMapperRevenueShareParams
- func (m *QueryMarketMapperRevenueShareParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketMapperRevenueShareParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketMapperRevenueShareParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketMapperRevenueShareParamsResponse) ProtoMessage()
- func (m *QueryMarketMapperRevenueShareParamsResponse) Reset()
- func (m *QueryMarketMapperRevenueShareParamsResponse) Size() (n int)
- func (m *QueryMarketMapperRevenueShareParamsResponse) String() string
- func (m *QueryMarketMapperRevenueShareParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_DiscardUnknown()
- func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Size() int
- func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryUnconditionalRevShareConfig
- func (*QueryUnconditionalRevShareConfig) Descriptor() ([]byte, []int)
- func (m *QueryUnconditionalRevShareConfig) Marshal() (dAtA []byte, err error)
- func (m *QueryUnconditionalRevShareConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUnconditionalRevShareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUnconditionalRevShareConfig) ProtoMessage()
- func (m *QueryUnconditionalRevShareConfig) Reset()
- func (m *QueryUnconditionalRevShareConfig) Size() (n int)
- func (m *QueryUnconditionalRevShareConfig) String() string
- func (m *QueryUnconditionalRevShareConfig) Unmarshal(dAtA []byte) error
- func (m *QueryUnconditionalRevShareConfig) XXX_DiscardUnknown()
- func (m *QueryUnconditionalRevShareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUnconditionalRevShareConfig) XXX_Merge(src proto.Message)
- func (m *QueryUnconditionalRevShareConfig) XXX_Size() int
- func (m *QueryUnconditionalRevShareConfig) XXX_Unmarshal(b []byte) error
- type QueryUnconditionalRevShareConfigResponse
- func (*QueryUnconditionalRevShareConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryUnconditionalRevShareConfigResponse) GetConfig() UnconditionalRevShareConfig
- func (m *QueryUnconditionalRevShareConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUnconditionalRevShareConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUnconditionalRevShareConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUnconditionalRevShareConfigResponse) ProtoMessage()
- func (m *QueryUnconditionalRevShareConfigResponse) Reset()
- func (m *QueryUnconditionalRevShareConfigResponse) Size() (n int)
- func (m *QueryUnconditionalRevShareConfigResponse) String() string
- func (m *QueryUnconditionalRevShareConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUnconditionalRevShareConfigResponse) XXX_DiscardUnknown()
- func (m *QueryUnconditionalRevShareConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUnconditionalRevShareConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryUnconditionalRevShareConfigResponse) XXX_Size() int
- func (m *QueryUnconditionalRevShareConfigResponse) XXX_Unmarshal(b []byte) error
- type RevShare
- type RevShareFeeSource
- type RevShareKeeper
- type RevShareType
- type RevSharesForFill
- type UnconditionalRevShareConfig
- func (*UnconditionalRevShareConfig) Descriptor() ([]byte, []int)
- func (m *UnconditionalRevShareConfig) GetConfigs() []UnconditionalRevShareConfig_RecipientConfig
- func (m *UnconditionalRevShareConfig) Marshal() (dAtA []byte, err error)
- func (m *UnconditionalRevShareConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *UnconditionalRevShareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnconditionalRevShareConfig) ProtoMessage()
- func (m *UnconditionalRevShareConfig) Reset()
- func (m *UnconditionalRevShareConfig) Size() (n int)
- func (m *UnconditionalRevShareConfig) String() string
- func (m *UnconditionalRevShareConfig) Unmarshal(dAtA []byte) error
- func (m *UnconditionalRevShareConfig) XXX_DiscardUnknown()
- func (m *UnconditionalRevShareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnconditionalRevShareConfig) XXX_Merge(src proto.Message)
- func (m *UnconditionalRevShareConfig) XXX_Size() int
- func (m *UnconditionalRevShareConfig) XXX_Unmarshal(b []byte) error
- type UnconditionalRevShareConfig_RecipientConfig
- func (*UnconditionalRevShareConfig_RecipientConfig) Descriptor() ([]byte, []int)
- func (m *UnconditionalRevShareConfig_RecipientConfig) GetAddress() string
- func (m *UnconditionalRevShareConfig_RecipientConfig) GetSharePpm() uint32
- func (m *UnconditionalRevShareConfig_RecipientConfig) Marshal() (dAtA []byte, err error)
- func (m *UnconditionalRevShareConfig_RecipientConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *UnconditionalRevShareConfig_RecipientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnconditionalRevShareConfig_RecipientConfig) ProtoMessage()
- func (m *UnconditionalRevShareConfig_RecipientConfig) Reset()
- func (m *UnconditionalRevShareConfig_RecipientConfig) Size() (n int)
- func (m *UnconditionalRevShareConfig_RecipientConfig) String() string
- func (m *UnconditionalRevShareConfig_RecipientConfig) Unmarshal(dAtA []byte) error
- func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_DiscardUnknown()
- func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Merge(src proto.Message)
- func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Size() int
- func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) SetMarketMapperRevShareDetailsForMarket(ctx context.Context, req *MsgSetMarketMapperRevShareDetailsForMarket) (*MsgSetMarketMapperRevShareDetailsForMarketResponse, error)
- func (*UnimplementedMsgServer) SetMarketMapperRevenueShare(ctx context.Context, req *MsgSetMarketMapperRevenueShare) (*MsgSetMarketMapperRevenueShareResponse, error)
- func (*UnimplementedMsgServer) UpdateUnconditionalRevShareConfig(ctx context.Context, req *MsgUpdateUnconditionalRevShareConfig) (*MsgUpdateUnconditionalRevShareConfigResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) MarketMapperRevShareDetails(ctx context.Context, req *QueryMarketMapperRevShareDetails) (*QueryMarketMapperRevShareDetailsResponse, error)
- func (*UnimplementedQueryServer) MarketMapperRevenueShareParams(ctx context.Context, req *QueryMarketMapperRevenueShareParams) (*QueryMarketMapperRevenueShareParamsResponse, error)
- func (*UnimplementedQueryServer) UnconditionalRevShareConfig(ctx context.Context, req *QueryUnconditionalRevShareConfig) (*QueryUnconditionalRevShareConfigResponse, error)
Constants ¶
const ( // ModuleName defines the module name. ModuleName = "revshare" // StoreKey defines the primary module store key. StoreKey = ModuleName )
Module name and store keys.
const ( MarketMapperRevenueShareParamsKey = "MarketMapperRevenueShareParams" MarketMapperRevSharePrefix = "MarketMapperRevShare:" )
State
const ( MaxReferee30dVolumeForAffiliateShareQuantums = uint64(50_000_000_000_000) )
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(module.InterfaceRegistry) )
var ( ErrInvalidAddress = errorsmod.Register( ModuleName, 1, "invalid address", ) ModuleName, 2, "invalid revenue share ppm", ) ModuleName, 3, "MarketMapperRevShareDetails not found for marketId", ) ModuleName, 4, "invalid unconditional revshare config", ) ModuleName, 5, "rev shares greater than or equal to 100%", ) ModuleName, 6, "total fees shared exceeds net fees", ) ModuleName, 7, "affiliate fees shared greater than or equal to net fees", ) )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( )
Functions ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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)
Types ¶
type GenesisState ¶
type GenesisState struct {
Params MarketMapperRevenueShareParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines `x/revshare`'s genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default stats genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() MarketMapperRevenueShareParams
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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 MarketMapperRevShareDetails ¶
type MarketMapperRevShareDetails struct {
ExpirationTs uint64 `protobuf:"varint,1,opt,name=expiration_ts,json=expirationTs,proto3" json:"expiration_ts,omitempty"`
}
MarketMapperRevShareDetails specifies any details associated with the market mapper revenue share
func (*MarketMapperRevShareDetails) Descriptor ¶
func (*MarketMapperRevShareDetails) Descriptor() ([]byte, []int)
func (*MarketMapperRevShareDetails) GetExpirationTs ¶
func (m *MarketMapperRevShareDetails) GetExpirationTs() uint64
func (*MarketMapperRevShareDetails) Marshal ¶
func (m *MarketMapperRevShareDetails) Marshal() (dAtA []byte, err error)
func (*MarketMapperRevShareDetails) MarshalTo ¶
func (m *MarketMapperRevShareDetails) MarshalTo(dAtA []byte) (int, error)
func (*MarketMapperRevShareDetails) MarshalToSizedBuffer ¶
func (m *MarketMapperRevShareDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MarketMapperRevShareDetails) ProtoMessage ¶
func (*MarketMapperRevShareDetails) ProtoMessage()
func (*MarketMapperRevShareDetails) Reset ¶
func (m *MarketMapperRevShareDetails) Reset()
func (*MarketMapperRevShareDetails) Size ¶
func (m *MarketMapperRevShareDetails) Size() (n int)
func (*MarketMapperRevShareDetails) String ¶
func (m *MarketMapperRevShareDetails) String() string
func (*MarketMapperRevShareDetails) Unmarshal ¶
func (m *MarketMapperRevShareDetails) Unmarshal(dAtA []byte) error
func (*MarketMapperRevShareDetails) XXX_DiscardUnknown ¶
func (m *MarketMapperRevShareDetails) XXX_DiscardUnknown()
func (*MarketMapperRevShareDetails) XXX_Marshal ¶
func (m *MarketMapperRevShareDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketMapperRevShareDetails) XXX_Merge ¶
func (m *MarketMapperRevShareDetails) XXX_Merge(src proto.Message)
func (*MarketMapperRevShareDetails) XXX_Size ¶
func (m *MarketMapperRevShareDetails) XXX_Size() int
func (*MarketMapperRevShareDetails) XXX_Unmarshal ¶
func (m *MarketMapperRevShareDetails) XXX_Unmarshal(b []byte) error
type MarketMapperRevenueShareParams ¶
type MarketMapperRevenueShareParams struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// In parts-per-million
RevenueSharePpm uint32 `protobuf:"varint,2,opt,name=revenue_share_ppm,json=revenueSharePpm,proto3" json:"revenue_share_ppm,omitempty"`
// revenue share be applied for. After valid_days from market initiation
// the revenue share goes down to 0
ValidDays uint32 `protobuf:"varint,3,opt,name=valid_days,json=validDays,proto3" json:"valid_days,omitempty"`
}
MarketMappeRevenueShareParams represents params for the above message
func DefaultParams ¶
func DefaultParams() MarketMapperRevenueShareParams
DefaultParams returns a default set of `x/revshare` market mapper parameters.
func (*MarketMapperRevenueShareParams) Descriptor ¶
func (*MarketMapperRevenueShareParams) Descriptor() ([]byte, []int)
func (*MarketMapperRevenueShareParams) GetAddress ¶
func (m *MarketMapperRevenueShareParams) GetAddress() string
func (*MarketMapperRevenueShareParams) GetRevenueSharePpm ¶
func (m *MarketMapperRevenueShareParams) GetRevenueSharePpm() uint32
func (*MarketMapperRevenueShareParams) GetValidDays ¶
func (m *MarketMapperRevenueShareParams) GetValidDays() uint32
func (*MarketMapperRevenueShareParams) Marshal ¶
func (m *MarketMapperRevenueShareParams) Marshal() (dAtA []byte, err error)
func (*MarketMapperRevenueShareParams) MarshalTo ¶
func (m *MarketMapperRevenueShareParams) MarshalTo(dAtA []byte) (int, error)
func (*MarketMapperRevenueShareParams) MarshalToSizedBuffer ¶
func (m *MarketMapperRevenueShareParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MarketMapperRevenueShareParams) ProtoMessage ¶
func (*MarketMapperRevenueShareParams) ProtoMessage()
func (*MarketMapperRevenueShareParams) Reset ¶
func (m *MarketMapperRevenueShareParams) Reset()
func (*MarketMapperRevenueShareParams) Size ¶
func (m *MarketMapperRevenueShareParams) Size() (n int)
func (*MarketMapperRevenueShareParams) String ¶
func (m *MarketMapperRevenueShareParams) String() string
func (*MarketMapperRevenueShareParams) Unmarshal ¶
func (m *MarketMapperRevenueShareParams) Unmarshal(dAtA []byte) error
func (MarketMapperRevenueShareParams) Validate ¶
func (p MarketMapperRevenueShareParams) Validate() error
Validate validates `x/revshare` parameters.
func (*MarketMapperRevenueShareParams) XXX_DiscardUnknown ¶
func (m *MarketMapperRevenueShareParams) XXX_DiscardUnknown()
func (*MarketMapperRevenueShareParams) XXX_Marshal ¶
func (m *MarketMapperRevenueShareParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketMapperRevenueShareParams) XXX_Merge ¶
func (m *MarketMapperRevenueShareParams) XXX_Merge(src proto.Message)
func (*MarketMapperRevenueShareParams) XXX_Size ¶
func (m *MarketMapperRevenueShareParams) XXX_Size() int
func (*MarketMapperRevenueShareParams) XXX_Unmarshal ¶
func (m *MarketMapperRevenueShareParams) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
// mapper.
SetMarketMapperRevenueShare(ctx context.Context, in *MsgSetMarketMapperRevenueShare, opts ...grpc.CallOption) (*MsgSetMarketMapperRevenueShareResponse, error)
// market mapper.
SetMarketMapperRevShareDetailsForMarket(ctx context.Context, in *MsgSetMarketMapperRevShareDetailsForMarket, opts ...grpc.CallOption) (*MsgSetMarketMapperRevShareDetailsForMarketResponse, error)
UpdateUnconditionalRevShareConfig(ctx context.Context, in *MsgUpdateUnconditionalRevShareConfig, opts ...grpc.CallOption) (*MsgUpdateUnconditionalRevShareConfigResponse, 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 {
// mapper.
SetMarketMapperRevenueShare(context.Context, *MsgSetMarketMapperRevenueShare) (*MsgSetMarketMapperRevenueShareResponse, error)
// market mapper.
SetMarketMapperRevShareDetailsForMarket(context.Context, *MsgSetMarketMapperRevShareDetailsForMarket) (*MsgSetMarketMapperRevShareDetailsForMarketResponse, error)
UpdateUnconditionalRevShareConfig(context.Context, *MsgUpdateUnconditionalRevShareConfig) (*MsgUpdateUnconditionalRevShareConfigResponse, error)
}
MsgServer is the server API for Msg service.
type MsgSetMarketMapperRevShareDetailsForMarket ¶
type MsgSetMarketMapperRevShareDetailsForMarket struct {
MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
Params MarketMapperRevShareDetails `protobuf:"bytes,3,opt,name=params,proto3" json:"params"`
}
Msg to set market mapper revenue share details (e.g. expiration timestamp) for a specific market. To be used as an override for existing revenue share settings set by the MsgSetMarketMapperRevenueShare msg
func (*MsgSetMarketMapperRevShareDetailsForMarket) Descriptor ¶
func (*MsgSetMarketMapperRevShareDetailsForMarket) Descriptor() ([]byte, []int)
func (*MsgSetMarketMapperRevShareDetailsForMarket) GetAuthority ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) GetAuthority() string
func (*MsgSetMarketMapperRevShareDetailsForMarket) GetMarketId ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) GetMarketId() uint32
func (*MsgSetMarketMapperRevShareDetailsForMarket) GetParams ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) GetParams() MarketMapperRevShareDetails
func (*MsgSetMarketMapperRevShareDetailsForMarket) Marshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) Marshal() (dAtA []byte, err error)
func (*MsgSetMarketMapperRevShareDetailsForMarket) MarshalTo ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevShareDetailsForMarket) MarshalToSizedBuffer ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevShareDetailsForMarket) ProtoMessage ¶
func (*MsgSetMarketMapperRevShareDetailsForMarket) ProtoMessage()
func (*MsgSetMarketMapperRevShareDetailsForMarket) Reset ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) Reset()
func (*MsgSetMarketMapperRevShareDetailsForMarket) Size ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) Size() (n int)
func (*MsgSetMarketMapperRevShareDetailsForMarket) String ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) String() string
func (*MsgSetMarketMapperRevShareDetailsForMarket) Unmarshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) Unmarshal(dAtA []byte) error
func (*MsgSetMarketMapperRevShareDetailsForMarket) XXX_DiscardUnknown ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_DiscardUnknown()
func (*MsgSetMarketMapperRevShareDetailsForMarket) XXX_Marshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMarketMapperRevShareDetailsForMarket) XXX_Merge ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Merge(src proto.Message)
func (*MsgSetMarketMapperRevShareDetailsForMarket) XXX_Size ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Size() int
func (*MsgSetMarketMapperRevShareDetailsForMarket) XXX_Unmarshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarket) XXX_Unmarshal(b []byte) error
type MsgSetMarketMapperRevShareDetailsForMarketResponse ¶
type MsgSetMarketMapperRevShareDetailsForMarketResponse struct {
}
Response to a MsgSetMarketMapperRevShareDetailsForMarket
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Descriptor ¶
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Descriptor() ([]byte, []int)
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Marshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalTo ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalToSizedBuffer ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) ProtoMessage ¶
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) ProtoMessage()
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Reset ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Reset()
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Size ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Size() (n int)
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) String ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) String() string
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Unmarshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) Unmarshal(dAtA []byte) error
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_DiscardUnknown ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_DiscardUnknown()
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Marshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Merge ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Merge(src proto.Message)
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Size ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Size() int
func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Unmarshal ¶
func (m *MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Unmarshal(b []byte) error
type MsgSetMarketMapperRevenueShare ¶
type MsgSetMarketMapperRevenueShare struct {
Params MarketMapperRevenueShareParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}
Message to set the market mapper revenue share
func (*MsgSetMarketMapperRevenueShare) Descriptor ¶
func (*MsgSetMarketMapperRevenueShare) Descriptor() ([]byte, []int)
func (*MsgSetMarketMapperRevenueShare) GetAuthority ¶
func (m *MsgSetMarketMapperRevenueShare) GetAuthority() string
func (*MsgSetMarketMapperRevenueShare) GetParams ¶
func (m *MsgSetMarketMapperRevenueShare) GetParams() MarketMapperRevenueShareParams
func (*MsgSetMarketMapperRevenueShare) Marshal ¶
func (m *MsgSetMarketMapperRevenueShare) Marshal() (dAtA []byte, err error)
func (*MsgSetMarketMapperRevenueShare) MarshalTo ¶
func (m *MsgSetMarketMapperRevenueShare) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevenueShare) MarshalToSizedBuffer ¶
func (m *MsgSetMarketMapperRevenueShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevenueShare) ProtoMessage ¶
func (*MsgSetMarketMapperRevenueShare) ProtoMessage()
func (*MsgSetMarketMapperRevenueShare) Reset ¶
func (m *MsgSetMarketMapperRevenueShare) Reset()
func (*MsgSetMarketMapperRevenueShare) Size ¶
func (m *MsgSetMarketMapperRevenueShare) Size() (n int)
func (*MsgSetMarketMapperRevenueShare) String ¶
func (m *MsgSetMarketMapperRevenueShare) String() string
func (*MsgSetMarketMapperRevenueShare) Unmarshal ¶
func (m *MsgSetMarketMapperRevenueShare) Unmarshal(dAtA []byte) error
func (*MsgSetMarketMapperRevenueShare) XXX_DiscardUnknown ¶
func (m *MsgSetMarketMapperRevenueShare) XXX_DiscardUnknown()
func (*MsgSetMarketMapperRevenueShare) XXX_Marshal ¶
func (m *MsgSetMarketMapperRevenueShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMarketMapperRevenueShare) XXX_Merge ¶
func (m *MsgSetMarketMapperRevenueShare) XXX_Merge(src proto.Message)
func (*MsgSetMarketMapperRevenueShare) XXX_Size ¶
func (m *MsgSetMarketMapperRevenueShare) XXX_Size() int
func (*MsgSetMarketMapperRevenueShare) XXX_Unmarshal ¶
func (m *MsgSetMarketMapperRevenueShare) XXX_Unmarshal(b []byte) error
type MsgSetMarketMapperRevenueShareResponse ¶
type MsgSetMarketMapperRevenueShareResponse struct {
}
Response to a MsgSetMarketMapperRevenueShare
func (*MsgSetMarketMapperRevenueShareResponse) Descriptor ¶
func (*MsgSetMarketMapperRevenueShareResponse) Descriptor() ([]byte, []int)
func (*MsgSetMarketMapperRevenueShareResponse) Marshal ¶
func (m *MsgSetMarketMapperRevenueShareResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetMarketMapperRevenueShareResponse) MarshalTo ¶
func (m *MsgSetMarketMapperRevenueShareResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevenueShareResponse) MarshalToSizedBuffer ¶
func (m *MsgSetMarketMapperRevenueShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMarketMapperRevenueShareResponse) ProtoMessage ¶
func (*MsgSetMarketMapperRevenueShareResponse) ProtoMessage()
func (*MsgSetMarketMapperRevenueShareResponse) Reset ¶
func (m *MsgSetMarketMapperRevenueShareResponse) Reset()
func (*MsgSetMarketMapperRevenueShareResponse) Size ¶
func (m *MsgSetMarketMapperRevenueShareResponse) Size() (n int)
func (*MsgSetMarketMapperRevenueShareResponse) String ¶
func (m *MsgSetMarketMapperRevenueShareResponse) String() string
func (*MsgSetMarketMapperRevenueShareResponse) Unmarshal ¶
func (m *MsgSetMarketMapperRevenueShareResponse) Unmarshal(dAtA []byte) error
func (*MsgSetMarketMapperRevenueShareResponse) XXX_DiscardUnknown ¶
func (m *MsgSetMarketMapperRevenueShareResponse) XXX_DiscardUnknown()
func (*MsgSetMarketMapperRevenueShareResponse) XXX_Marshal ¶
func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMarketMapperRevenueShareResponse) XXX_Merge ¶
func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Merge(src proto.Message)
func (*MsgSetMarketMapperRevenueShareResponse) XXX_Size ¶
func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Size() int
func (*MsgSetMarketMapperRevenueShareResponse) XXX_Unmarshal ¶
func (m *MsgSetMarketMapperRevenueShareResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateUnconditionalRevShareConfig ¶
type MsgUpdateUnconditionalRevShareConfig struct {
Config UnconditionalRevShareConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config"`
}
Message to update the unconditional revenue share config.
func (*MsgUpdateUnconditionalRevShareConfig) Descriptor ¶
func (*MsgUpdateUnconditionalRevShareConfig) Descriptor() ([]byte, []int)
func (*MsgUpdateUnconditionalRevShareConfig) GetAuthority ¶
func (m *MsgUpdateUnconditionalRevShareConfig) GetAuthority() string
func (*MsgUpdateUnconditionalRevShareConfig) GetConfig ¶
func (m *MsgUpdateUnconditionalRevShareConfig) GetConfig() UnconditionalRevShareConfig
func (*MsgUpdateUnconditionalRevShareConfig) Marshal ¶
func (m *MsgUpdateUnconditionalRevShareConfig) Marshal() (dAtA []byte, err error)
func (*MsgUpdateUnconditionalRevShareConfig) MarshalTo ¶
func (m *MsgUpdateUnconditionalRevShareConfig) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateUnconditionalRevShareConfig) MarshalToSizedBuffer ¶
func (m *MsgUpdateUnconditionalRevShareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateUnconditionalRevShareConfig) ProtoMessage ¶
func (*MsgUpdateUnconditionalRevShareConfig) ProtoMessage()
func (*MsgUpdateUnconditionalRevShareConfig) Reset ¶
func (m *MsgUpdateUnconditionalRevShareConfig) Reset()
func (*MsgUpdateUnconditionalRevShareConfig) Size ¶
func (m *MsgUpdateUnconditionalRevShareConfig) Size() (n int)
func (*MsgUpdateUnconditionalRevShareConfig) String ¶
func (m *MsgUpdateUnconditionalRevShareConfig) String() string
func (*MsgUpdateUnconditionalRevShareConfig) Unmarshal ¶
func (m *MsgUpdateUnconditionalRevShareConfig) Unmarshal(dAtA []byte) error
func (*MsgUpdateUnconditionalRevShareConfig) ValidateBasic ¶
func (msg *MsgUpdateUnconditionalRevShareConfig) ValidateBasic() error
ValidateBasic performs validation to check the total percentage across all configs is <= 100
func (*MsgUpdateUnconditionalRevShareConfig) XXX_DiscardUnknown ¶
func (m *MsgUpdateUnconditionalRevShareConfig) XXX_DiscardUnknown()
func (*MsgUpdateUnconditionalRevShareConfig) XXX_Marshal ¶
func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateUnconditionalRevShareConfig) XXX_Merge ¶
func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Merge(src proto.Message)
func (*MsgUpdateUnconditionalRevShareConfig) XXX_Size ¶
func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Size() int
func (*MsgUpdateUnconditionalRevShareConfig) XXX_Unmarshal ¶
func (m *MsgUpdateUnconditionalRevShareConfig) XXX_Unmarshal(b []byte) error
type MsgUpdateUnconditionalRevShareConfigResponse ¶
type MsgUpdateUnconditionalRevShareConfigResponse struct {
}
Response to MsgUpdateUnconditionalRevShareConfig
func (*MsgUpdateUnconditionalRevShareConfigResponse) Descriptor ¶
func (*MsgUpdateUnconditionalRevShareConfigResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateUnconditionalRevShareConfigResponse) Marshal ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateUnconditionalRevShareConfigResponse) MarshalTo ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateUnconditionalRevShareConfigResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateUnconditionalRevShareConfigResponse) ProtoMessage ¶
func (*MsgUpdateUnconditionalRevShareConfigResponse) ProtoMessage()
func (*MsgUpdateUnconditionalRevShareConfigResponse) Reset ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) Reset()
func (*MsgUpdateUnconditionalRevShareConfigResponse) Size ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) Size() (n int)
func (*MsgUpdateUnconditionalRevShareConfigResponse) String ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) String() string
func (*MsgUpdateUnconditionalRevShareConfigResponse) Unmarshal ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateUnconditionalRevShareConfigResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_DiscardUnknown()
func (*MsgUpdateUnconditionalRevShareConfigResponse) XXX_Marshal ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateUnconditionalRevShareConfigResponse) XXX_Merge ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateUnconditionalRevShareConfigResponse) XXX_Size ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Size() int
func (*MsgUpdateUnconditionalRevShareConfigResponse) XXX_Unmarshal ¶
func (m *MsgUpdateUnconditionalRevShareConfigResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface {
// market mapper
MarketMapperRevenueShareParams(ctx context.Context, in *QueryMarketMapperRevenueShareParams, opts ...grpc.CallOption) (*QueryMarketMapperRevenueShareParamsResponse, error)
MarketMapperRevShareDetails(ctx context.Context, in *QueryMarketMapperRevShareDetails, opts ...grpc.CallOption) (*QueryMarketMapperRevShareDetailsResponse, error)
UnconditionalRevShareConfig(ctx context.Context, in *QueryUnconditionalRevShareConfig, opts ...grpc.CallOption) (*QueryUnconditionalRevShareConfigResponse, 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 QueryMarketMapperRevShareDetails ¶
type QueryMarketMapperRevShareDetails struct {
}
Queries market mapper revenue share details for a specific market
func (*QueryMarketMapperRevShareDetails) Descriptor ¶
func (*QueryMarketMapperRevShareDetails) Descriptor() ([]byte, []int)
func (*QueryMarketMapperRevShareDetails) GetMarketId ¶
func (m *QueryMarketMapperRevShareDetails) GetMarketId() uint32
func (*QueryMarketMapperRevShareDetails) Marshal ¶
func (m *QueryMarketMapperRevShareDetails) Marshal() (dAtA []byte, err error)
func (*QueryMarketMapperRevShareDetails) MarshalTo ¶
func (m *QueryMarketMapperRevShareDetails) MarshalTo(dAtA []byte) (int, error)
func (*QueryMarketMapperRevShareDetails) MarshalToSizedBuffer ¶
func (m *QueryMarketMapperRevShareDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMarketMapperRevShareDetails) ProtoMessage ¶
func (*QueryMarketMapperRevShareDetails) ProtoMessage()
func (*QueryMarketMapperRevShareDetails) Reset ¶
func (m *QueryMarketMapperRevShareDetails) Reset()
func (*QueryMarketMapperRevShareDetails) Size ¶
func (m *QueryMarketMapperRevShareDetails) Size() (n int)
func (*QueryMarketMapperRevShareDetails) String ¶
func (m *QueryMarketMapperRevShareDetails) String() string
func (*QueryMarketMapperRevShareDetails) Unmarshal ¶
func (m *QueryMarketMapperRevShareDetails) Unmarshal(dAtA []byte) error
func (*QueryMarketMapperRevShareDetails) XXX_DiscardUnknown ¶
func (m *QueryMarketMapperRevShareDetails) XXX_DiscardUnknown()
func (*QueryMarketMapperRevShareDetails) XXX_Marshal ¶
func (m *QueryMarketMapperRevShareDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMarketMapperRevShareDetails) XXX_Merge ¶
func (m *QueryMarketMapperRevShareDetails) XXX_Merge(src proto.Message)
func (*QueryMarketMapperRevShareDetails) XXX_Size ¶
func (m *QueryMarketMapperRevShareDetails) XXX_Size() int
func (*QueryMarketMapperRevShareDetails) XXX_Unmarshal ¶
func (m *QueryMarketMapperRevShareDetails) XXX_Unmarshal(b []byte) error
type QueryMarketMapperRevShareDetailsResponse ¶
type QueryMarketMapperRevShareDetailsResponse struct {
}
Response type for QueryMarketMapperRevShareDetails
func (*QueryMarketMapperRevShareDetailsResponse) Descriptor ¶
func (*QueryMarketMapperRevShareDetailsResponse) Descriptor() ([]byte, []int)
func (*QueryMarketMapperRevShareDetailsResponse) GetDetails ¶
func (m *QueryMarketMapperRevShareDetailsResponse) GetDetails() MarketMapperRevShareDetails
func (*QueryMarketMapperRevShareDetailsResponse) Marshal ¶
func (m *QueryMarketMapperRevShareDetailsResponse) Marshal() (dAtA []byte, err error)
func (*QueryMarketMapperRevShareDetailsResponse) MarshalTo ¶
func (m *QueryMarketMapperRevShareDetailsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMarketMapperRevShareDetailsResponse) MarshalToSizedBuffer ¶
func (m *QueryMarketMapperRevShareDetailsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMarketMapperRevShareDetailsResponse) ProtoMessage ¶
func (*QueryMarketMapperRevShareDetailsResponse) ProtoMessage()
func (*QueryMarketMapperRevShareDetailsResponse) Reset ¶
func (m *QueryMarketMapperRevShareDetailsResponse) Reset()
func (*QueryMarketMapperRevShareDetailsResponse) Size ¶
func (m *QueryMarketMapperRevShareDetailsResponse) Size() (n int)
func (*QueryMarketMapperRevShareDetailsResponse) String ¶
func (m *QueryMarketMapperRevShareDetailsResponse) String() string
func (*QueryMarketMapperRevShareDetailsResponse) Unmarshal ¶
func (m *QueryMarketMapperRevShareDetailsResponse) Unmarshal(dAtA []byte) error
func (*QueryMarketMapperRevShareDetailsResponse) XXX_DiscardUnknown ¶
func (m *QueryMarketMapperRevShareDetailsResponse) XXX_DiscardUnknown()
func (*QueryMarketMapperRevShareDetailsResponse) XXX_Marshal ¶
func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMarketMapperRevShareDetailsResponse) XXX_Merge ¶
func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Merge(src proto.Message)
func (*QueryMarketMapperRevShareDetailsResponse) XXX_Size ¶
func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Size() int
func (*QueryMarketMapperRevShareDetailsResponse) XXX_Unmarshal ¶
func (m *QueryMarketMapperRevShareDetailsResponse) XXX_Unmarshal(b []byte) error
type QueryMarketMapperRevenueShareParams ¶
type QueryMarketMapperRevenueShareParams struct {
}
Queries for the default market mapper revenue share params
func (*QueryMarketMapperRevenueShareParams) Descriptor ¶
func (*QueryMarketMapperRevenueShareParams) Descriptor() ([]byte, []int)
func (*QueryMarketMapperRevenueShareParams) Marshal ¶
func (m *QueryMarketMapperRevenueShareParams) Marshal() (dAtA []byte, err error)
func (*QueryMarketMapperRevenueShareParams) MarshalTo ¶
func (m *QueryMarketMapperRevenueShareParams) MarshalTo(dAtA []byte) (int, error)
func (*QueryMarketMapperRevenueShareParams) MarshalToSizedBuffer ¶
func (m *QueryMarketMapperRevenueShareParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMarketMapperRevenueShareParams) ProtoMessage ¶
func (*QueryMarketMapperRevenueShareParams) ProtoMessage()
func (*QueryMarketMapperRevenueShareParams) Reset ¶
func (m *QueryMarketMapperRevenueShareParams) Reset()
func (*QueryMarketMapperRevenueShareParams) Size ¶
func (m *QueryMarketMapperRevenueShareParams) Size() (n int)
func (*QueryMarketMapperRevenueShareParams) String ¶
func (m *QueryMarketMapperRevenueShareParams) String() string
func (*QueryMarketMapperRevenueShareParams) Unmarshal ¶
func (m *QueryMarketMapperRevenueShareParams) Unmarshal(dAtA []byte) error
func (*QueryMarketMapperRevenueShareParams) XXX_DiscardUnknown ¶
func (m *QueryMarketMapperRevenueShareParams) XXX_DiscardUnknown()
func (*QueryMarketMapperRevenueShareParams) XXX_Marshal ¶
func (m *QueryMarketMapperRevenueShareParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMarketMapperRevenueShareParams) XXX_Merge ¶
func (m *QueryMarketMapperRevenueShareParams) XXX_Merge(src proto.Message)
func (*QueryMarketMapperRevenueShareParams) XXX_Size ¶
func (m *QueryMarketMapperRevenueShareParams) XXX_Size() int
func (*QueryMarketMapperRevenueShareParams) XXX_Unmarshal ¶
func (m *QueryMarketMapperRevenueShareParams) XXX_Unmarshal(b []byte) error
type QueryMarketMapperRevenueShareParamsResponse ¶
type QueryMarketMapperRevenueShareParamsResponse struct {
}
Response type for QueryMarketMapperRevenueShareParams
func (*QueryMarketMapperRevenueShareParamsResponse) Descriptor ¶
func (*QueryMarketMapperRevenueShareParamsResponse) Descriptor() ([]byte, []int)
func (*QueryMarketMapperRevenueShareParamsResponse) GetParams ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) GetParams() MarketMapperRevenueShareParams
func (*QueryMarketMapperRevenueShareParamsResponse) Marshal ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryMarketMapperRevenueShareParamsResponse) MarshalTo ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMarketMapperRevenueShareParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMarketMapperRevenueShareParamsResponse) ProtoMessage ¶
func (*QueryMarketMapperRevenueShareParamsResponse) ProtoMessage()
func (*QueryMarketMapperRevenueShareParamsResponse) Reset ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) Reset()
func (*QueryMarketMapperRevenueShareParamsResponse) Size ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) Size() (n int)
func (*QueryMarketMapperRevenueShareParamsResponse) String ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) String() string
func (*QueryMarketMapperRevenueShareParamsResponse) Unmarshal ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryMarketMapperRevenueShareParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_DiscardUnknown()
func (*QueryMarketMapperRevenueShareParamsResponse) XXX_Marshal ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMarketMapperRevenueShareParamsResponse) XXX_Merge ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Merge(src proto.Message)
func (*QueryMarketMapperRevenueShareParamsResponse) XXX_Size ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Size() int
func (*QueryMarketMapperRevenueShareParamsResponse) XXX_Unmarshal ¶
func (m *QueryMarketMapperRevenueShareParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// market mapper
MarketMapperRevenueShareParams(context.Context, *QueryMarketMapperRevenueShareParams) (*QueryMarketMapperRevenueShareParamsResponse, error)
MarketMapperRevShareDetails(context.Context, *QueryMarketMapperRevShareDetails) (*QueryMarketMapperRevShareDetailsResponse, error)
UnconditionalRevShareConfig(context.Context, *QueryUnconditionalRevShareConfig) (*QueryUnconditionalRevShareConfigResponse, error)
}
QueryServer is the server API for Query service.
type QueryUnconditionalRevShareConfig ¶
type QueryUnconditionalRevShareConfig struct {
}
Queries unconditional revenue share details
func (*QueryUnconditionalRevShareConfig) Descriptor ¶
func (*QueryUnconditionalRevShareConfig) Descriptor() ([]byte, []int)
func (*QueryUnconditionalRevShareConfig) Marshal ¶
func (m *QueryUnconditionalRevShareConfig) Marshal() (dAtA []byte, err error)
func (*QueryUnconditionalRevShareConfig) MarshalTo ¶
func (m *QueryUnconditionalRevShareConfig) MarshalTo(dAtA []byte) (int, error)
func (*QueryUnconditionalRevShareConfig) MarshalToSizedBuffer ¶
func (m *QueryUnconditionalRevShareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUnconditionalRevShareConfig) ProtoMessage ¶
func (*QueryUnconditionalRevShareConfig) ProtoMessage()
func (*QueryUnconditionalRevShareConfig) Reset ¶
func (m *QueryUnconditionalRevShareConfig) Reset()
func (*QueryUnconditionalRevShareConfig) Size ¶
func (m *QueryUnconditionalRevShareConfig) Size() (n int)
func (*QueryUnconditionalRevShareConfig) String ¶
func (m *QueryUnconditionalRevShareConfig) String() string
func (*QueryUnconditionalRevShareConfig) Unmarshal ¶
func (m *QueryUnconditionalRevShareConfig) Unmarshal(dAtA []byte) error
func (*QueryUnconditionalRevShareConfig) XXX_DiscardUnknown ¶
func (m *QueryUnconditionalRevShareConfig) XXX_DiscardUnknown()
func (*QueryUnconditionalRevShareConfig) XXX_Marshal ¶
func (m *QueryUnconditionalRevShareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUnconditionalRevShareConfig) XXX_Merge ¶
func (m *QueryUnconditionalRevShareConfig) XXX_Merge(src proto.Message)
func (*QueryUnconditionalRevShareConfig) XXX_Size ¶
func (m *QueryUnconditionalRevShareConfig) XXX_Size() int
func (*QueryUnconditionalRevShareConfig) XXX_Unmarshal ¶
func (m *QueryUnconditionalRevShareConfig) XXX_Unmarshal(b []byte) error
type QueryUnconditionalRevShareConfigResponse ¶
type QueryUnconditionalRevShareConfigResponse struct {
}
Response type for QueryUnconditionalRevShareConfig
func (*QueryUnconditionalRevShareConfigResponse) Descriptor ¶
func (*QueryUnconditionalRevShareConfigResponse) Descriptor() ([]byte, []int)
func (*QueryUnconditionalRevShareConfigResponse) GetConfig ¶
func (m *QueryUnconditionalRevShareConfigResponse) GetConfig() UnconditionalRevShareConfig
func (*QueryUnconditionalRevShareConfigResponse) Marshal ¶
func (m *QueryUnconditionalRevShareConfigResponse) Marshal() (dAtA []byte, err error)
func (*QueryUnconditionalRevShareConfigResponse) MarshalTo ¶
func (m *QueryUnconditionalRevShareConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUnconditionalRevShareConfigResponse) MarshalToSizedBuffer ¶
func (m *QueryUnconditionalRevShareConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUnconditionalRevShareConfigResponse) ProtoMessage ¶
func (*QueryUnconditionalRevShareConfigResponse) ProtoMessage()
func (*QueryUnconditionalRevShareConfigResponse) Reset ¶
func (m *QueryUnconditionalRevShareConfigResponse) Reset()
func (*QueryUnconditionalRevShareConfigResponse) Size ¶
func (m *QueryUnconditionalRevShareConfigResponse) Size() (n int)
func (*QueryUnconditionalRevShareConfigResponse) String ¶
func (m *QueryUnconditionalRevShareConfigResponse) String() string
func (*QueryUnconditionalRevShareConfigResponse) Unmarshal ¶
func (m *QueryUnconditionalRevShareConfigResponse) Unmarshal(dAtA []byte) error
func (*QueryUnconditionalRevShareConfigResponse) XXX_DiscardUnknown ¶
func (m *QueryUnconditionalRevShareConfigResponse) XXX_DiscardUnknown()
func (*QueryUnconditionalRevShareConfigResponse) XXX_Marshal ¶
func (m *QueryUnconditionalRevShareConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUnconditionalRevShareConfigResponse) XXX_Merge ¶
func (m *QueryUnconditionalRevShareConfigResponse) XXX_Merge(src proto.Message)
func (*QueryUnconditionalRevShareConfigResponse) XXX_Size ¶
func (m *QueryUnconditionalRevShareConfigResponse) XXX_Size() int
func (*QueryUnconditionalRevShareConfigResponse) XXX_Unmarshal ¶
func (m *QueryUnconditionalRevShareConfigResponse) XXX_Unmarshal(b []byte) error
type RevShareFeeSource ¶
type RevShareFeeSource int
const ( REV_SHARE_FEE_SOURCE_UNSPECIFIED RevShareFeeSource = iota REV_SHARE_FEE_SOURCE_NET_PROTOCOL_REVENUE REV_SHARE_FEE_SOURCE_TAKER_FEE )
type RevShareKeeper ¶
type RevShareKeeper interface {
SetMarketMapperRevenueShareParams(
ctx sdk.Context,
params MarketMapperRevenueShareParams,
) (err error)
ctx sdk.Context,
) (params MarketMapperRevenueShareParams)
SetMarketMapperRevShareDetails(
ctx sdk.Context,
marketId uint32,
params MarketMapperRevShareDetails,
)
ctx sdk.Context,
marketId uint32,
) (params MarketMapperRevShareDetails, err error)
}
type RevShareType ¶
type RevShareType int
const ( REV_SHARE_TYPE_UNSPECIFIED RevShareType = iota REV_SHARE_TYPE_MARKET_MAPPER REV_SHARE_TYPE_UNCONDITIONAL REV_SHARE_TYPE_AFFILIATE )
func (RevShareType) String ¶
func (r RevShareType) String() string
type RevSharesForFill ¶
type RevSharesForFill struct {
}
type UnconditionalRevShareConfig ¶
type UnconditionalRevShareConfig struct {
Configs []UnconditionalRevShareConfig_RecipientConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs"`
}
UnconditionalRevShareConfig stores recipients that receive a share of net revenue unconditionally.
func (*UnconditionalRevShareConfig) Descriptor ¶
func (*UnconditionalRevShareConfig) Descriptor() ([]byte, []int)
func (*UnconditionalRevShareConfig) GetConfigs ¶
func (m *UnconditionalRevShareConfig) GetConfigs() []UnconditionalRevShareConfig_RecipientConfig
func (*UnconditionalRevShareConfig) Marshal ¶
func (m *UnconditionalRevShareConfig) Marshal() (dAtA []byte, err error)
func (*UnconditionalRevShareConfig) MarshalTo ¶
func (m *UnconditionalRevShareConfig) MarshalTo(dAtA []byte) (int, error)
func (*UnconditionalRevShareConfig) MarshalToSizedBuffer ¶
func (m *UnconditionalRevShareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnconditionalRevShareConfig) ProtoMessage ¶
func (*UnconditionalRevShareConfig) ProtoMessage()
func (*UnconditionalRevShareConfig) Reset ¶
func (m *UnconditionalRevShareConfig) Reset()
func (*UnconditionalRevShareConfig) Size ¶
func (m *UnconditionalRevShareConfig) Size() (n int)
func (*UnconditionalRevShareConfig) String ¶
func (m *UnconditionalRevShareConfig) String() string
func (*UnconditionalRevShareConfig) Unmarshal ¶
func (m *UnconditionalRevShareConfig) Unmarshal(dAtA []byte) error
func (*UnconditionalRevShareConfig) XXX_DiscardUnknown ¶
func (m *UnconditionalRevShareConfig) XXX_DiscardUnknown()
func (*UnconditionalRevShareConfig) XXX_Marshal ¶
func (m *UnconditionalRevShareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnconditionalRevShareConfig) XXX_Merge ¶
func (m *UnconditionalRevShareConfig) XXX_Merge(src proto.Message)
func (*UnconditionalRevShareConfig) XXX_Size ¶
func (m *UnconditionalRevShareConfig) XXX_Size() int
func (*UnconditionalRevShareConfig) XXX_Unmarshal ¶
func (m *UnconditionalRevShareConfig) XXX_Unmarshal(b []byte) error
type UnconditionalRevShareConfig_RecipientConfig ¶
type UnconditionalRevShareConfig_RecipientConfig struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
SharePpm uint32 `protobuf:"varint,2,opt,name=share_ppm,json=sharePpm,proto3" json:"share_ppm,omitempty"`
}
Describes the config of a recipient
func (*UnconditionalRevShareConfig_RecipientConfig) Descriptor ¶
func (*UnconditionalRevShareConfig_RecipientConfig) Descriptor() ([]byte, []int)
func (*UnconditionalRevShareConfig_RecipientConfig) GetAddress ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) GetAddress() string
func (*UnconditionalRevShareConfig_RecipientConfig) GetSharePpm ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) GetSharePpm() uint32
func (*UnconditionalRevShareConfig_RecipientConfig) Marshal ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) Marshal() (dAtA []byte, err error)
func (*UnconditionalRevShareConfig_RecipientConfig) MarshalTo ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) MarshalTo(dAtA []byte) (int, error)
func (*UnconditionalRevShareConfig_RecipientConfig) MarshalToSizedBuffer ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnconditionalRevShareConfig_RecipientConfig) ProtoMessage ¶
func (*UnconditionalRevShareConfig_RecipientConfig) ProtoMessage()
func (*UnconditionalRevShareConfig_RecipientConfig) Reset ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) Reset()
func (*UnconditionalRevShareConfig_RecipientConfig) Size ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) Size() (n int)
func (*UnconditionalRevShareConfig_RecipientConfig) String ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) String() string
func (*UnconditionalRevShareConfig_RecipientConfig) Unmarshal ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) Unmarshal(dAtA []byte) error
func (*UnconditionalRevShareConfig_RecipientConfig) XXX_DiscardUnknown ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_DiscardUnknown()
func (*UnconditionalRevShareConfig_RecipientConfig) XXX_Marshal ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnconditionalRevShareConfig_RecipientConfig) XXX_Merge ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Merge(src proto.Message)
func (*UnconditionalRevShareConfig_RecipientConfig) XXX_Size ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Size() int
func (*UnconditionalRevShareConfig_RecipientConfig) XXX_Unmarshal ¶
func (m *UnconditionalRevShareConfig_RecipientConfig) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) SetMarketMapperRevShareDetailsForMarket ¶
func (*UnimplementedMsgServer) SetMarketMapperRevShareDetailsForMarket(ctx context.Context, req *MsgSetMarketMapperRevShareDetailsForMarket) (*MsgSetMarketMapperRevShareDetailsForMarketResponse, error)
func (*UnimplementedMsgServer) SetMarketMapperRevenueShare ¶
func (*UnimplementedMsgServer) SetMarketMapperRevenueShare(ctx context.Context, req *MsgSetMarketMapperRevenueShare) (*MsgSetMarketMapperRevenueShareResponse, error)
func (*UnimplementedMsgServer) UpdateUnconditionalRevShareConfig ¶
func (*UnimplementedMsgServer) UpdateUnconditionalRevShareConfig(ctx context.Context, req *MsgUpdateUnconditionalRevShareConfig) (*MsgUpdateUnconditionalRevShareConfigResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) MarketMapperRevShareDetails ¶
func (*UnimplementedQueryServer) MarketMapperRevShareDetails(ctx context.Context, req *QueryMarketMapperRevShareDetails) (*QueryMarketMapperRevShareDetailsResponse, error)
func (*UnimplementedQueryServer) MarketMapperRevenueShareParams ¶
func (*UnimplementedQueryServer) MarketMapperRevenueShareParams(ctx context.Context, req *QueryMarketMapperRevenueShareParams) (*QueryMarketMapperRevenueShareParamsResponse, error)
func (*UnimplementedQueryServer) UnconditionalRevShareConfig ¶
func (*UnimplementedQueryServer) UnconditionalRevShareConfig(ctx context.Context, req *QueryUnconditionalRevShareConfig) (*QueryUnconditionalRevShareConfigResponse, error)