types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name.
	ModuleName = "revshare"

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

Module name and store keys.

View Source
const (
	// Key for MarketMapperRevenueShareParams
	MarketMapperRevenueShareParamsKey = "MarketMapperRevenueShareParams"

	// Key prefix for storing MarketMapperRevShareDetails per market
	MarketMapperRevSharePrefix = "MarketMapperRevShare:"

	UnconditionalRevShareConfigKey = "UnconditionalRevShareConfig"
)

State

View Source
const (
	// 50 million USDC
	MaxReferee30dVolumeForAffiliateShareQuantums = uint64(50_000_000_000_000)
)

Variables

View Source
var (
	ErrInvalidAddress = errorsmod.Register(
		ModuleName,
		1,
		"invalid address",
	)

	ErrInvalidRevenueSharePpm = errorsmod.Register(
		ModuleName,
		2,
		"invalid revenue share ppm",
	)

	ErrMarketMapperRevShareDetailsNotFound = errorsmod.Register(
		ModuleName,
		3,
		"MarketMapperRevShareDetails not found for marketId",
	)
	ErrInvalidRevShareConfig = errorsmod.Register(
		ModuleName,
		4,
		"invalid unconditional revshare config",
	)

	ErrRevShareSafetyViolation = errorsmod.Register(
		ModuleName,
		5,
		"rev shares greater than or equal to 100%",
	)
	ErrTotalFeesSharedExceedsNetFees = errorsmod.Register(
		ModuleName,
		6,
		"total fees shared exceeds net fees",
	)
	ErrAffiliateFeesSharedGreaterThanOrEqualToNetFees = errorsmod.Register(
		ModuleName,
		7,
		"affiliate fees shared greater than or equal to net fees",
	)
)
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 (
	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 (
	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 (
	ErrInvalidLengthRevshare        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRevshare          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRevshare = 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")
)

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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)

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 (*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 MarketMapperRevShareDetails

type MarketMapperRevShareDetails struct {
	// Unix timestamp recorded when the market revenue share expires
	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 {
	// The address which will receive the revenue share payouts
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The fraction of the fees which will go to the above mentioned address.
	// In parts-per-million
	RevenueSharePpm uint32 `protobuf:"varint,2,opt,name=revenue_share_ppm,json=revenueSharePpm,proto3" json:"revenue_share_ppm,omitempty"`
	// This parameter defines how many days post market initiation will the
	// 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 (*MarketMapperRevenueShareParams) Unmarshal

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

func (MarketMapperRevenueShareParams) Validate

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 {
	// SetMarketMapperRevenueShare sets the revenue share for a market
	// mapper.
	SetMarketMapperRevenueShare(ctx context.Context, in *MsgSetMarketMapperRevenueShare, opts ...grpc.CallOption) (*MsgSetMarketMapperRevenueShareResponse, error)
	// SetMarketMapperRevenueShareDetails sets the revenue share details for a
	// market mapper.
	SetMarketMapperRevShareDetailsForMarket(ctx context.Context, in *MsgSetMarketMapperRevShareDetailsForMarket, opts ...grpc.CallOption) (*MsgSetMarketMapperRevShareDetailsForMarketResponse, error)
	// UpdateUnconditionalRevShareConfig sets the unconditional revshare config
	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 {
	// SetMarketMapperRevenueShare sets the revenue share for a market
	// mapper.
	SetMarketMapperRevenueShare(context.Context, *MsgSetMarketMapperRevenueShare) (*MsgSetMarketMapperRevenueShareResponse, error)
	// SetMarketMapperRevenueShareDetails sets the revenue share details for a
	// market mapper.
	SetMarketMapperRevShareDetailsForMarket(context.Context, *MsgSetMarketMapperRevShareDetailsForMarket) (*MsgSetMarketMapperRevShareDetailsForMarketResponse, error)
	// UpdateUnconditionalRevShareConfig sets the unconditional revshare config
	UpdateUnconditionalRevShareConfig(context.Context, *MsgUpdateUnconditionalRevShareConfig) (*MsgUpdateUnconditionalRevShareConfigResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetMarketMapperRevShareDetailsForMarket

type MsgSetMarketMapperRevShareDetailsForMarket struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// The market ID for which to set the revenue share details
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Parameters for the revenue share details
	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) GetAuthority

func (*MsgSetMarketMapperRevShareDetailsForMarket) GetMarketId

func (*MsgSetMarketMapperRevShareDetailsForMarket) GetParams

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) Reset

func (*MsgSetMarketMapperRevShareDetailsForMarket) Size

func (*MsgSetMarketMapperRevShareDetailsForMarket) String

func (*MsgSetMarketMapperRevShareDetailsForMarket) Unmarshal

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 (*MsgSetMarketMapperRevShareDetailsForMarket) XXX_Size

func (*MsgSetMarketMapperRevShareDetailsForMarket) XXX_Unmarshal

type MsgSetMarketMapperRevShareDetailsForMarketResponse

type MsgSetMarketMapperRevShareDetailsForMarketResponse struct {
}

Response to a MsgSetMarketMapperRevShareDetailsForMarket

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Descriptor

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Marshal

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalTo

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) MarshalToSizedBuffer

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

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) ProtoMessage

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Reset

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Size

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) String

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) Unmarshal

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_DiscardUnknown

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Marshal

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

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Merge

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Size

func (*MsgSetMarketMapperRevShareDetailsForMarketResponse) XXX_Unmarshal

type MsgSetMarketMapperRevenueShare

type MsgSetMarketMapperRevenueShare struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// Parameters for the revenue share
	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 (*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 (*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) Reset

func (*MsgSetMarketMapperRevenueShareResponse) Size

func (*MsgSetMarketMapperRevenueShareResponse) 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 (*MsgSetMarketMapperRevenueShareResponse) XXX_Size

func (*MsgSetMarketMapperRevenueShareResponse) XXX_Unmarshal

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

type MsgUpdateUnconditionalRevShareConfig

type MsgUpdateUnconditionalRevShareConfig struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// The config to update.
	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 (*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 (*MsgUpdateUnconditionalRevShareConfig) Size

func (*MsgUpdateUnconditionalRevShareConfig) 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 (*MsgUpdateUnconditionalRevShareConfig) XXX_Size

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) Marshal

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

func (*MsgUpdateUnconditionalRevShareConfigResponse) MarshalTo

func (*MsgUpdateUnconditionalRevShareConfigResponse) MarshalToSizedBuffer

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

func (*MsgUpdateUnconditionalRevShareConfigResponse) ProtoMessage

func (*MsgUpdateUnconditionalRevShareConfigResponse) Reset

func (*MsgUpdateUnconditionalRevShareConfigResponse) Size

func (*MsgUpdateUnconditionalRevShareConfigResponse) String

func (*MsgUpdateUnconditionalRevShareConfigResponse) Unmarshal

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 (*MsgUpdateUnconditionalRevShareConfigResponse) XXX_Size

func (*MsgUpdateUnconditionalRevShareConfigResponse) XXX_Unmarshal

type QueryClient

type QueryClient interface {
	// MarketMapperRevenueShareParams queries the revenue share params for the
	// market mapper
	MarketMapperRevenueShareParams(ctx context.Context, in *QueryMarketMapperRevenueShareParams, opts ...grpc.CallOption) (*QueryMarketMapperRevenueShareParamsResponse, error)
	// Queries market mapper revenue share details for a specific market
	MarketMapperRevShareDetails(ctx context.Context, in *QueryMarketMapperRevShareDetails, opts ...grpc.CallOption) (*QueryMarketMapperRevShareDetailsResponse, error)
	// Queries unconditional revenue share config
	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 {
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

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 (*QueryMarketMapperRevShareDetails) Size

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

func (*QueryMarketMapperRevShareDetails) 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 (*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 {
	Details MarketMapperRevShareDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details"`
}

Response type for QueryMarketMapperRevShareDetails

func (*QueryMarketMapperRevShareDetailsResponse) Descriptor

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

func (*QueryMarketMapperRevShareDetailsResponse) GetDetails

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) Reset

func (*QueryMarketMapperRevShareDetailsResponse) Size

func (*QueryMarketMapperRevShareDetailsResponse) String

func (*QueryMarketMapperRevShareDetailsResponse) Unmarshal

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 (*QueryMarketMapperRevShareDetailsResponse) XXX_Size

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 (*QueryMarketMapperRevenueShareParams) Size

func (*QueryMarketMapperRevenueShareParams) 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 (*QueryMarketMapperRevenueShareParams) XXX_Size

func (*QueryMarketMapperRevenueShareParams) XXX_Unmarshal

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

type QueryMarketMapperRevenueShareParamsResponse

type QueryMarketMapperRevenueShareParamsResponse struct {
	Params MarketMapperRevenueShareParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

Response type for QueryMarketMapperRevenueShareParams

func (*QueryMarketMapperRevenueShareParamsResponse) Descriptor

func (*QueryMarketMapperRevenueShareParamsResponse) GetParams

func (*QueryMarketMapperRevenueShareParamsResponse) Marshal

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

func (*QueryMarketMapperRevenueShareParamsResponse) MarshalTo

func (*QueryMarketMapperRevenueShareParamsResponse) MarshalToSizedBuffer

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

func (*QueryMarketMapperRevenueShareParamsResponse) ProtoMessage

func (*QueryMarketMapperRevenueShareParamsResponse) Reset

func (*QueryMarketMapperRevenueShareParamsResponse) Size

func (*QueryMarketMapperRevenueShareParamsResponse) String

func (*QueryMarketMapperRevenueShareParamsResponse) Unmarshal

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 (*QueryMarketMapperRevenueShareParamsResponse) XXX_Size

func (*QueryMarketMapperRevenueShareParamsResponse) XXX_Unmarshal

type QueryServer

type QueryServer interface {
	// MarketMapperRevenueShareParams queries the revenue share params for the
	// market mapper
	MarketMapperRevenueShareParams(context.Context, *QueryMarketMapperRevenueShareParams) (*QueryMarketMapperRevenueShareParamsResponse, error)
	// Queries market mapper revenue share details for a specific market
	MarketMapperRevShareDetails(context.Context, *QueryMarketMapperRevShareDetails) (*QueryMarketMapperRevShareDetailsResponse, error)
	// Queries unconditional revenue share config
	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 (*QueryUnconditionalRevShareConfig) Size

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

func (*QueryUnconditionalRevShareConfig) 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 (*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 {
	Config UnconditionalRevShareConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config"`
}

Response type for QueryUnconditionalRevShareConfig

func (*QueryUnconditionalRevShareConfigResponse) Descriptor

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

func (*QueryUnconditionalRevShareConfigResponse) GetConfig

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) Reset

func (*QueryUnconditionalRevShareConfigResponse) Size

func (*QueryUnconditionalRevShareConfigResponse) String

func (*QueryUnconditionalRevShareConfigResponse) Unmarshal

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 (*QueryUnconditionalRevShareConfigResponse) XXX_Size

func (*QueryUnconditionalRevShareConfigResponse) XXX_Unmarshal

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

type RevShare

type RevShare struct {
	Recipient         string
	RevShareFeeSource RevShareFeeSource
	RevShareType      RevShareType
	QuoteQuantums     *big.Int
	RevSharePpm       uint32
}

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 {
	// MarketMapperRevenueShareParams
	SetMarketMapperRevenueShareParams(
		ctx sdk.Context,
		params MarketMapperRevenueShareParams,
	) (err error)
	GetMarketMapperRevenueShareParams(
		ctx sdk.Context,
	) (params MarketMapperRevenueShareParams)

	// MarketMapperRevShareDetails
	SetMarketMapperRevShareDetails(
		ctx sdk.Context,
		marketId uint32,
		params MarketMapperRevShareDetails,
	)
	GetMarketMapperRevShareDetails(
		ctx sdk.Context,
		marketId uint32,
	) (params MarketMapperRevShareDetails, err error)
	CreateNewMarketRevShare(ctx sdk.Context, marketId uint32)
}

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 {
	AffiliateRevShare        *RevShare
	FeeSourceToQuoteQuantums map[RevShareFeeSource]*big.Int
	FeeSourceToRevSharePpm   map[RevShareFeeSource]uint32
	AllRevShares             []RevShare
}

type UnconditionalRevShareConfig

type UnconditionalRevShareConfig struct {
	// Configs for each recipient.
	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 (*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 of the recepient.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Percentage of net revenue to share with recipient, in parts-per-million.
	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) GetAddress

func (*UnconditionalRevShareConfig_RecipientConfig) GetSharePpm

func (*UnconditionalRevShareConfig_RecipientConfig) Marshal

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

func (*UnconditionalRevShareConfig_RecipientConfig) MarshalTo

func (*UnconditionalRevShareConfig_RecipientConfig) MarshalToSizedBuffer

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

func (*UnconditionalRevShareConfig_RecipientConfig) ProtoMessage

func (*UnconditionalRevShareConfig_RecipientConfig) Reset

func (*UnconditionalRevShareConfig_RecipientConfig) Size

func (*UnconditionalRevShareConfig_RecipientConfig) String

func (*UnconditionalRevShareConfig_RecipientConfig) Unmarshal

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 (*UnconditionalRevShareConfig_RecipientConfig) XXX_Size

func (*UnconditionalRevShareConfig_RecipientConfig) XXX_Unmarshal

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

Jump to

Keyboard shortcuts

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