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 AffiliateInfoRequest
- func (*AffiliateInfoRequest) Descriptor() ([]byte, []int)
- func (m *AffiliateInfoRequest) GetAddress() string
- func (m *AffiliateInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *AffiliateInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateInfoRequest) ProtoMessage()
- func (m *AffiliateInfoRequest) Reset()
- func (m *AffiliateInfoRequest) Size() (n int)
- func (m *AffiliateInfoRequest) String() string
- func (m *AffiliateInfoRequest) Unmarshal(dAtA []byte) error
- func (m *AffiliateInfoRequest) XXX_DiscardUnknown()
- func (m *AffiliateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateInfoRequest) XXX_Merge(src proto.Message)
- func (m *AffiliateInfoRequest) XXX_Size() int
- func (m *AffiliateInfoRequest) XXX_Unmarshal(b []byte) error
- type AffiliateInfoResponse
- func (*AffiliateInfoResponse) Descriptor() ([]byte, []int)
- func (m *AffiliateInfoResponse) GetFeeSharePpm() uint32
- func (m *AffiliateInfoResponse) GetIsWhitelisted() bool
- func (m *AffiliateInfoResponse) GetTier() uint32
- func (m *AffiliateInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *AffiliateInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateInfoResponse) ProtoMessage()
- func (m *AffiliateInfoResponse) Reset()
- func (m *AffiliateInfoResponse) Size() (n int)
- func (m *AffiliateInfoResponse) String() string
- func (m *AffiliateInfoResponse) Unmarshal(dAtA []byte) error
- func (m *AffiliateInfoResponse) XXX_DiscardUnknown()
- func (m *AffiliateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateInfoResponse) XXX_Merge(src proto.Message)
- func (m *AffiliateInfoResponse) XXX_Size() int
- func (m *AffiliateInfoResponse) XXX_Unmarshal(b []byte) error
- type AffiliateOverrides
- func (*AffiliateOverrides) Descriptor() ([]byte, []int)
- func (m *AffiliateOverrides) GetAddresses() []string
- func (m *AffiliateOverrides) Marshal() (dAtA []byte, err error)
- func (m *AffiliateOverrides) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateOverrides) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateOverrides) ProtoMessage()
- func (m *AffiliateOverrides) Reset()
- func (m *AffiliateOverrides) Size() (n int)
- func (m *AffiliateOverrides) String() string
- func (m *AffiliateOverrides) Unmarshal(dAtA []byte) error
- func (m *AffiliateOverrides) XXX_DiscardUnknown()
- func (m *AffiliateOverrides) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateOverrides) XXX_Merge(src proto.Message)
- func (m *AffiliateOverrides) XXX_Size() int
- func (m *AffiliateOverrides) XXX_Unmarshal(b []byte) error
- type AffiliateOverridesRequest
- func (*AffiliateOverridesRequest) Descriptor() ([]byte, []int)
- func (m *AffiliateOverridesRequest) Marshal() (dAtA []byte, err error)
- func (m *AffiliateOverridesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateOverridesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateOverridesRequest) ProtoMessage()
- func (m *AffiliateOverridesRequest) Reset()
- func (m *AffiliateOverridesRequest) Size() (n int)
- func (m *AffiliateOverridesRequest) String() string
- func (m *AffiliateOverridesRequest) Unmarshal(dAtA []byte) error
- func (m *AffiliateOverridesRequest) XXX_DiscardUnknown()
- func (m *AffiliateOverridesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateOverridesRequest) XXX_Merge(src proto.Message)
- func (m *AffiliateOverridesRequest) XXX_Size() int
- func (m *AffiliateOverridesRequest) XXX_Unmarshal(b []byte) error
- type AffiliateOverridesResponse
- func (*AffiliateOverridesResponse) Descriptor() ([]byte, []int)
- func (m *AffiliateOverridesResponse) GetOverrides() AffiliateOverrides
- func (m *AffiliateOverridesResponse) Marshal() (dAtA []byte, err error)
- func (m *AffiliateOverridesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateOverridesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateOverridesResponse) ProtoMessage()
- func (m *AffiliateOverridesResponse) Reset()
- func (m *AffiliateOverridesResponse) Size() (n int)
- func (m *AffiliateOverridesResponse) String() string
- func (m *AffiliateOverridesResponse) Unmarshal(dAtA []byte) error
- func (m *AffiliateOverridesResponse) XXX_DiscardUnknown()
- func (m *AffiliateOverridesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateOverridesResponse) XXX_Merge(src proto.Message)
- func (m *AffiliateOverridesResponse) XXX_Size() int
- func (m *AffiliateOverridesResponse) XXX_Unmarshal(b []byte) error
- type AffiliateParameters
- func (*AffiliateParameters) Descriptor() ([]byte, []int)
- func (m *AffiliateParameters) GetMaximum_30DAffiliateRevenuePerReferredUserQuoteQuantums() uint64
- func (m *AffiliateParameters) GetMaximum_30DAttributableVolumePerReferredUserQuoteQuantums() uint64
- func (m *AffiliateParameters) GetRefereeMinimumFeeTierIdx() uint32
- func (m *AffiliateParameters) Marshal() (dAtA []byte, err error)
- func (m *AffiliateParameters) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateParameters) ProtoMessage()
- func (m *AffiliateParameters) Reset()
- func (m *AffiliateParameters) Size() (n int)
- func (m *AffiliateParameters) String() string
- func (m *AffiliateParameters) Unmarshal(dAtA []byte) error
- func (m *AffiliateParameters) XXX_DiscardUnknown()
- func (m *AffiliateParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateParameters) XXX_Merge(src proto.Message)
- func (m *AffiliateParameters) XXX_Size() int
- func (m *AffiliateParameters) XXX_Unmarshal(b []byte) error
- type AffiliateParametersRequest
- func (*AffiliateParametersRequest) Descriptor() ([]byte, []int)
- func (m *AffiliateParametersRequest) Marshal() (dAtA []byte, err error)
- func (m *AffiliateParametersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateParametersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateParametersRequest) ProtoMessage()
- func (m *AffiliateParametersRequest) Reset()
- func (m *AffiliateParametersRequest) Size() (n int)
- func (m *AffiliateParametersRequest) String() string
- func (m *AffiliateParametersRequest) Unmarshal(dAtA []byte) error
- func (m *AffiliateParametersRequest) XXX_DiscardUnknown()
- func (m *AffiliateParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateParametersRequest) XXX_Merge(src proto.Message)
- func (m *AffiliateParametersRequest) XXX_Size() int
- func (m *AffiliateParametersRequest) XXX_Unmarshal(b []byte) error
- type AffiliateParametersResponse
- func (*AffiliateParametersResponse) Descriptor() ([]byte, []int)
- func (m *AffiliateParametersResponse) GetParameters() AffiliateParameters
- func (m *AffiliateParametersResponse) Marshal() (dAtA []byte, err error)
- func (m *AffiliateParametersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateParametersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateParametersResponse) ProtoMessage()
- func (m *AffiliateParametersResponse) Reset()
- func (m *AffiliateParametersResponse) Size() (n int)
- func (m *AffiliateParametersResponse) String() string
- func (m *AffiliateParametersResponse) Unmarshal(dAtA []byte) error
- func (m *AffiliateParametersResponse) XXX_DiscardUnknown()
- func (m *AffiliateParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateParametersResponse) XXX_Merge(src proto.Message)
- func (m *AffiliateParametersResponse) XXX_Size() int
- func (m *AffiliateParametersResponse) XXX_Unmarshal(b []byte) error
- type AffiliateTiers
- func (*AffiliateTiers) Descriptor() ([]byte, []int)
- func (m *AffiliateTiers) GetTiers() []AffiliateTiers_Tier
- func (m *AffiliateTiers) Marshal() (dAtA []byte, err error)
- func (m *AffiliateTiers) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateTiers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateTiers) ProtoMessage()
- func (m *AffiliateTiers) Reset()
- func (m *AffiliateTiers) Size() (n int)
- func (m *AffiliateTiers) String() string
- func (m *AffiliateTiers) Unmarshal(dAtA []byte) error
- func (m *AffiliateTiers) XXX_DiscardUnknown()
- func (m *AffiliateTiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateTiers) XXX_Merge(src proto.Message)
- func (m *AffiliateTiers) XXX_Size() int
- func (m *AffiliateTiers) XXX_Unmarshal(b []byte) error
- type AffiliateTiers_Tier
- func (*AffiliateTiers_Tier) Descriptor() ([]byte, []int)
- func (m *AffiliateTiers_Tier) GetReqReferredVolumeQuoteQuantums() uint64
- func (m *AffiliateTiers_Tier) GetReqStakedWholeCoins() uint32deprecated
- func (m *AffiliateTiers_Tier) GetTakerFeeSharePpm() uint32
- func (m *AffiliateTiers_Tier) Marshal() (dAtA []byte, err error)
- func (m *AffiliateTiers_Tier) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateTiers_Tier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateTiers_Tier) ProtoMessage()
- func (m *AffiliateTiers_Tier) Reset()
- func (m *AffiliateTiers_Tier) Size() (n int)
- func (m *AffiliateTiers_Tier) String() string
- func (m *AffiliateTiers_Tier) Unmarshal(dAtA []byte) error
- func (m *AffiliateTiers_Tier) XXX_DiscardUnknown()
- func (m *AffiliateTiers_Tier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateTiers_Tier) XXX_Merge(src proto.Message)
- func (m *AffiliateTiers_Tier) XXX_Size() int
- func (m *AffiliateTiers_Tier) XXX_Unmarshal(b []byte) error
- type AffiliateWhitelist
- func (*AffiliateWhitelist) Descriptor() ([]byte, []int)
- func (m *AffiliateWhitelist) GetTiers() []AffiliateWhitelist_Tier
- func (m *AffiliateWhitelist) Marshal() (dAtA []byte, err error)
- func (m *AffiliateWhitelist) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateWhitelist) ProtoMessage()
- func (m *AffiliateWhitelist) Reset()
- func (m *AffiliateWhitelist) Size() (n int)
- func (m *AffiliateWhitelist) String() string
- func (m *AffiliateWhitelist) Unmarshal(dAtA []byte) error
- func (m *AffiliateWhitelist) XXX_DiscardUnknown()
- func (m *AffiliateWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateWhitelist) XXX_Merge(src proto.Message)
- func (m *AffiliateWhitelist) XXX_Size() int
- func (m *AffiliateWhitelist) XXX_Unmarshal(b []byte) error
- type AffiliateWhitelistRequest
- func (*AffiliateWhitelistRequest) Descriptor() ([]byte, []int)
- func (m *AffiliateWhitelistRequest) Marshal() (dAtA []byte, err error)
- func (m *AffiliateWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateWhitelistRequest) ProtoMessage()
- func (m *AffiliateWhitelistRequest) Reset()
- func (m *AffiliateWhitelistRequest) Size() (n int)
- func (m *AffiliateWhitelistRequest) String() string
- func (m *AffiliateWhitelistRequest) Unmarshal(dAtA []byte) error
- func (m *AffiliateWhitelistRequest) XXX_DiscardUnknown()
- func (m *AffiliateWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateWhitelistRequest) XXX_Merge(src proto.Message)
- func (m *AffiliateWhitelistRequest) XXX_Size() int
- func (m *AffiliateWhitelistRequest) XXX_Unmarshal(b []byte) error
- type AffiliateWhitelistResponse
- func (*AffiliateWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *AffiliateWhitelistResponse) GetWhitelist() AffiliateWhitelist
- func (m *AffiliateWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *AffiliateWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateWhitelistResponse) ProtoMessage()
- func (m *AffiliateWhitelistResponse) Reset()
- func (m *AffiliateWhitelistResponse) Size() (n int)
- func (m *AffiliateWhitelistResponse) String() string
- func (m *AffiliateWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *AffiliateWhitelistResponse) XXX_DiscardUnknown()
- func (m *AffiliateWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *AffiliateWhitelistResponse) XXX_Size() int
- func (m *AffiliateWhitelistResponse) XXX_Unmarshal(b []byte) error
- type AffiliateWhitelist_Tier
- func (*AffiliateWhitelist_Tier) Descriptor() ([]byte, []int)
- func (m *AffiliateWhitelist_Tier) GetAddresses() []string
- func (m *AffiliateWhitelist_Tier) GetTakerFeeSharePpm() uint32
- func (m *AffiliateWhitelist_Tier) Marshal() (dAtA []byte, err error)
- func (m *AffiliateWhitelist_Tier) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateWhitelist_Tier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateWhitelist_Tier) ProtoMessage()
- func (m *AffiliateWhitelist_Tier) Reset()
- func (m *AffiliateWhitelist_Tier) Size() (n int)
- func (m *AffiliateWhitelist_Tier) String() string
- func (m *AffiliateWhitelist_Tier) Unmarshal(dAtA []byte) error
- func (m *AffiliateWhitelist_Tier) XXX_DiscardUnknown()
- func (m *AffiliateWhitelist_Tier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateWhitelist_Tier) XXX_Merge(src proto.Message)
- func (m *AffiliateWhitelist_Tier) XXX_Size() int
- func (m *AffiliateWhitelist_Tier) XXX_Unmarshal(b []byte) error
- type AllAffiliateTiersRequest
- func (*AllAffiliateTiersRequest) Descriptor() ([]byte, []int)
- func (m *AllAffiliateTiersRequest) Marshal() (dAtA []byte, err error)
- func (m *AllAffiliateTiersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AllAffiliateTiersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllAffiliateTiersRequest) ProtoMessage()
- func (m *AllAffiliateTiersRequest) Reset()
- func (m *AllAffiliateTiersRequest) Size() (n int)
- func (m *AllAffiliateTiersRequest) String() string
- func (m *AllAffiliateTiersRequest) Unmarshal(dAtA []byte) error
- func (m *AllAffiliateTiersRequest) XXX_DiscardUnknown()
- func (m *AllAffiliateTiersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllAffiliateTiersRequest) XXX_Merge(src proto.Message)
- func (m *AllAffiliateTiersRequest) XXX_Size() int
- func (m *AllAffiliateTiersRequest) XXX_Unmarshal(b []byte) error
- type AllAffiliateTiersResponse
- func (*AllAffiliateTiersResponse) Descriptor() ([]byte, []int)
- func (m *AllAffiliateTiersResponse) GetTiers() AffiliateTiers
- func (m *AllAffiliateTiersResponse) Marshal() (dAtA []byte, err error)
- func (m *AllAffiliateTiersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AllAffiliateTiersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllAffiliateTiersResponse) ProtoMessage()
- func (m *AllAffiliateTiersResponse) Reset()
- func (m *AllAffiliateTiersResponse) Size() (n int)
- func (m *AllAffiliateTiersResponse) String() string
- func (m *AllAffiliateTiersResponse) Unmarshal(dAtA []byte) error
- func (m *AllAffiliateTiersResponse) XXX_DiscardUnknown()
- func (m *AllAffiliateTiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllAffiliateTiersResponse) XXX_Merge(src proto.Message)
- func (m *AllAffiliateTiersResponse) XXX_Size() int
- func (m *AllAffiliateTiersResponse) XXX_Unmarshal(b []byte) error
- type FeetiersKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAffiliateParameters() AffiliateParameters
- func (m *GenesisState) GetAffiliateTiers() AffiliateTiers
- 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 MsgClient
- type MsgRegisterAffiliate
- func (*MsgRegisterAffiliate) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAffiliate) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAffiliate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAffiliate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAffiliate) ProtoMessage()
- func (m *MsgRegisterAffiliate) Reset()
- func (m *MsgRegisterAffiliate) Size() (n int)
- func (m *MsgRegisterAffiliate) String() string
- func (m *MsgRegisterAffiliate) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterAffiliate) XXX_DiscardUnknown()
- func (m *MsgRegisterAffiliate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAffiliate) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAffiliate) XXX_Size() int
- func (m *MsgRegisterAffiliate) XXX_Unmarshal(b []byte) error
- type MsgRegisterAffiliateResponse
- func (*MsgRegisterAffiliateResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAffiliateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAffiliateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAffiliateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAffiliateResponse) ProtoMessage()
- func (m *MsgRegisterAffiliateResponse) Reset()
- func (m *MsgRegisterAffiliateResponse) Size() (n int)
- func (m *MsgRegisterAffiliateResponse) String() string
- func (m *MsgRegisterAffiliateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterAffiliateResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterAffiliateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAffiliateResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAffiliateResponse) XXX_Size() int
- func (m *MsgRegisterAffiliateResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateAffiliateOverrides
- func (*MsgUpdateAffiliateOverrides) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateOverrides) GetAffiliateOverrides() AffiliateOverrides
- func (m *MsgUpdateAffiliateOverrides) GetAuthority() string
- func (m *MsgUpdateAffiliateOverrides) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateOverrides) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateOverrides) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateOverrides) ProtoMessage()
- func (m *MsgUpdateAffiliateOverrides) Reset()
- func (m *MsgUpdateAffiliateOverrides) Size() (n int)
- func (m *MsgUpdateAffiliateOverrides) String() string
- func (m *MsgUpdateAffiliateOverrides) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateOverrides) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateOverrides) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateOverrides) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateOverrides) XXX_Size() int
- func (m *MsgUpdateAffiliateOverrides) XXX_Unmarshal(b []byte) error
- type MsgUpdateAffiliateOverridesResponse
- func (*MsgUpdateAffiliateOverridesResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateOverridesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateOverridesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateOverridesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateOverridesResponse) ProtoMessage()
- func (m *MsgUpdateAffiliateOverridesResponse) Reset()
- func (m *MsgUpdateAffiliateOverridesResponse) Size() (n int)
- func (m *MsgUpdateAffiliateOverridesResponse) String() string
- func (m *MsgUpdateAffiliateOverridesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateOverridesResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateOverridesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateOverridesResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateOverridesResponse) XXX_Size() int
- func (m *MsgUpdateAffiliateOverridesResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateAffiliateParameters
- func (*MsgUpdateAffiliateParameters) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateParameters) GetAffiliateParameters() AffiliateParameters
- func (m *MsgUpdateAffiliateParameters) GetAuthority() string
- func (m *MsgUpdateAffiliateParameters) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateParameters) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateParameters) ProtoMessage()
- func (m *MsgUpdateAffiliateParameters) Reset()
- func (m *MsgUpdateAffiliateParameters) Size() (n int)
- func (m *MsgUpdateAffiliateParameters) String() string
- func (m *MsgUpdateAffiliateParameters) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateParameters) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateParameters) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateParameters) XXX_Size() int
- func (m *MsgUpdateAffiliateParameters) XXX_Unmarshal(b []byte) error
- type MsgUpdateAffiliateParametersResponse
- func (*MsgUpdateAffiliateParametersResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateParametersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateParametersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateParametersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateParametersResponse) ProtoMessage()
- func (m *MsgUpdateAffiliateParametersResponse) Reset()
- func (m *MsgUpdateAffiliateParametersResponse) Size() (n int)
- func (m *MsgUpdateAffiliateParametersResponse) String() string
- func (m *MsgUpdateAffiliateParametersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateParametersResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateParametersResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateParametersResponse) XXX_Size() int
- func (m *MsgUpdateAffiliateParametersResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateAffiliateTiers
- func (*MsgUpdateAffiliateTiers) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateTiers) GetAuthority() string
- func (m *MsgUpdateAffiliateTiers) GetTiers() AffiliateTiers
- func (m *MsgUpdateAffiliateTiers) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateTiers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateTiers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateTiers) ProtoMessage()
- func (m *MsgUpdateAffiliateTiers) Reset()
- func (m *MsgUpdateAffiliateTiers) Size() (n int)
- func (m *MsgUpdateAffiliateTiers) String() string
- func (m *MsgUpdateAffiliateTiers) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateTiers) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateTiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateTiers) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateTiers) XXX_Size() int
- func (m *MsgUpdateAffiliateTiers) XXX_Unmarshal(b []byte) error
- type MsgUpdateAffiliateTiersResponse
- func (*MsgUpdateAffiliateTiersResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateTiersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateTiersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateTiersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateTiersResponse) ProtoMessage()
- func (m *MsgUpdateAffiliateTiersResponse) Reset()
- func (m *MsgUpdateAffiliateTiersResponse) Size() (n int)
- func (m *MsgUpdateAffiliateTiersResponse) String() string
- func (m *MsgUpdateAffiliateTiersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateTiersResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateTiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateTiersResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateTiersResponse) XXX_Size() int
- func (m *MsgUpdateAffiliateTiersResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateAffiliateWhitelist
- func (*MsgUpdateAffiliateWhitelist) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateWhitelist) GetAuthority() string
- func (m *MsgUpdateAffiliateWhitelist) GetWhitelist() AffiliateWhitelist
- func (m *MsgUpdateAffiliateWhitelist) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateWhitelist) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateWhitelist) ProtoMessage()
- func (m *MsgUpdateAffiliateWhitelist) Reset()
- func (m *MsgUpdateAffiliateWhitelist) Size() (n int)
- func (m *MsgUpdateAffiliateWhitelist) String() string
- func (m *MsgUpdateAffiliateWhitelist) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateWhitelist) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateWhitelist) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateWhitelist) XXX_Size() int
- func (m *MsgUpdateAffiliateWhitelist) XXX_Unmarshal(b []byte) error
- type MsgUpdateAffiliateWhitelistResponse
- func (*MsgUpdateAffiliateWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAffiliateWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAffiliateWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAffiliateWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAffiliateWhitelistResponse) ProtoMessage()
- func (m *MsgUpdateAffiliateWhitelistResponse) Reset()
- func (m *MsgUpdateAffiliateWhitelistResponse) Size() (n int)
- func (m *MsgUpdateAffiliateWhitelistResponse) String() string
- func (m *MsgUpdateAffiliateWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAffiliateWhitelistResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Size() int
- func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type ReferredByRequest
- func (*ReferredByRequest) Descriptor() ([]byte, []int)
- func (m *ReferredByRequest) GetAddress() string
- func (m *ReferredByRequest) Marshal() (dAtA []byte, err error)
- func (m *ReferredByRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ReferredByRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReferredByRequest) ProtoMessage()
- func (m *ReferredByRequest) Reset()
- func (m *ReferredByRequest) Size() (n int)
- func (m *ReferredByRequest) String() string
- func (m *ReferredByRequest) Unmarshal(dAtA []byte) error
- func (m *ReferredByRequest) XXX_DiscardUnknown()
- func (m *ReferredByRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReferredByRequest) XXX_Merge(src proto.Message)
- func (m *ReferredByRequest) XXX_Size() int
- func (m *ReferredByRequest) XXX_Unmarshal(b []byte) error
- type ReferredByResponse
- func (*ReferredByResponse) Descriptor() ([]byte, []int)
- func (m *ReferredByResponse) GetAffiliateAddress() string
- func (m *ReferredByResponse) Marshal() (dAtA []byte, err error)
- func (m *ReferredByResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ReferredByResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReferredByResponse) ProtoMessage()
- func (m *ReferredByResponse) Reset()
- func (m *ReferredByResponse) Size() (n int)
- func (m *ReferredByResponse) String() string
- func (m *ReferredByResponse) Unmarshal(dAtA []byte) error
- func (m *ReferredByResponse) XXX_DiscardUnknown()
- func (m *ReferredByResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReferredByResponse) XXX_Merge(src proto.Message)
- func (m *ReferredByResponse) XXX_Size() int
- func (m *ReferredByResponse) XXX_Unmarshal(b []byte) error
- type StatsKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) RegisterAffiliate(ctx context.Context, req *MsgRegisterAffiliate) (*MsgRegisterAffiliateResponse, error)
- func (*UnimplementedMsgServer) UpdateAffiliateOverrides(ctx context.Context, req *MsgUpdateAffiliateOverrides) (*MsgUpdateAffiliateOverridesResponse, error)
- func (*UnimplementedMsgServer) UpdateAffiliateParameters(ctx context.Context, req *MsgUpdateAffiliateParameters) (*MsgUpdateAffiliateParametersResponse, error)
- func (*UnimplementedMsgServer) UpdateAffiliateTiers(ctx context.Context, req *MsgUpdateAffiliateTiers) (*MsgUpdateAffiliateTiersResponse, error)
- func (*UnimplementedMsgServer) UpdateAffiliateWhitelist(ctx context.Context, req *MsgUpdateAffiliateWhitelist) (*MsgUpdateAffiliateWhitelistResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AffiliateInfo(ctx context.Context, req *AffiliateInfoRequest) (*AffiliateInfoResponse, error)
- func (*UnimplementedQueryServer) AffiliateOverrides(ctx context.Context, req *AffiliateOverridesRequest) (*AffiliateOverridesResponse, error)
- func (*UnimplementedQueryServer) AffiliateParameters(ctx context.Context, req *AffiliateParametersRequest) (*AffiliateParametersResponse, error)
- func (*UnimplementedQueryServer) AffiliateWhitelist(ctx context.Context, req *AffiliateWhitelistRequest) (*AffiliateWhitelistResponse, error)
- func (*UnimplementedQueryServer) AllAffiliateTiers(ctx context.Context, req *AllAffiliateTiersRequest) (*AllAffiliateTiersResponse, error)
- func (*UnimplementedQueryServer) ReferredBy(ctx context.Context, req *ReferredByRequest) (*ReferredByResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "affiliates" // StoreKey defines the primary module store key StoreKey = ModuleName )
Module name and store keys
const ( ReferredByKeyPrefix = "RB:" ReferredVolumeInWindowKeyPrefix = "RVW:" AffiliateTiersKey = "AT" AffiliateWhitelistKey = "AW" AffiliateParametersKey = "AP" AffiliateOverridesKey = "AO" )
State
Variables ¶
var ( ErrInvalidLengthAffiliates = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAffiliates = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAffiliates = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(module.InterfaceRegistry) )
var ( DefaultAffiliateTiers = AffiliateTiers{ Tiers: []AffiliateTiers_Tier{ { ReqReferredVolumeQuoteQuantums: 0, ReqStakedWholeCoins: 0, TakerFeeSharePpm: 50_000, }, { ReqReferredVolumeQuoteQuantums: 1_000_000_000_000, ReqStakedWholeCoins: 200, TakerFeeSharePpm: 100_000, }, { ReqReferredVolumeQuoteQuantums: 5_000_000_000_000, ReqStakedWholeCoins: 1_000, TakerFeeSharePpm: 125_000, }, { ReqReferredVolumeQuoteQuantums: 25_000_000_000_000, ReqStakedWholeCoins: 5_000, TakerFeeSharePpm: 150_000, }, { ReqReferredVolumeQuoteQuantums: 50_000_000_000_000, ReqStakedWholeCoins: 100_000_000, TakerFeeSharePpm: 250_000, }, }, } DefaultAffiliateParameters = AffiliateParameters{ Maximum_30DAttributableVolumePerReferredUserQuoteQuantums: 100_000_000_000_000, RefereeMinimumFeeTierIdx: 2, Maximum_30DAffiliateRevenuePerReferredUserQuoteQuantums: 10_000_000_000, } )
var ( ErrAffiliateAlreadyExistsForReferee = errorsmod.Register(ModuleName, 1, "Affiliate already exists for referee") ErrAffiliateTiersNotInitialized = errorsmod.Register(ModuleName, 2, "Affiliate tier data not found") ErrInvalidAffiliateTiers = errorsmod.Register(ModuleName, 3, "Invalid affiliate tier data") ErrUpdatingAffiliateReferredVolume = errorsmod.Register( ModuleName, 4, "Error updating affiliate referred volume") ErrInvalidAddress = errorsmod.Register(ModuleName, 5, "Invalid address") ErrAffiliateNotFound = errorsmod.Register(ModuleName, 6, "Affiliate not found") ModuleName, 7, "Rev share safety violation") ErrDuplicateAffiliateAddressForWhitelist = errorsmod.Register( ModuleName, 8, "Duplicate affiliate address for whitelist") ErrAffiliateTiersNotSet = errorsmod.Register(ModuleName, 9, "Affiliate tiers not set (affiliate program is not active)") ErrSelfReferral = errorsmod.Register(ModuleName, 10, "Self referral not allowed") ErrUpdatingAffiliateReferredCommission = errorsmod.Register( ModuleName, 11, "Error updating affiliate referred commission") ErrUpdatingAttributedVolume = errorsmod.Register( ModuleName, 12, "Error updating attributed volume") )
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 ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
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 AffiliateInfoRequest ¶
type AffiliateInfoRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
AffiliateInfoRequest is the request type for the Query/AffiliateInfo RPC method.
func (*AffiliateInfoRequest) Descriptor ¶
func (*AffiliateInfoRequest) Descriptor() ([]byte, []int)
func (*AffiliateInfoRequest) GetAddress ¶
func (m *AffiliateInfoRequest) GetAddress() string
func (*AffiliateInfoRequest) Marshal ¶
func (m *AffiliateInfoRequest) Marshal() (dAtA []byte, err error)
func (*AffiliateInfoRequest) MarshalTo ¶
func (m *AffiliateInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateInfoRequest) MarshalToSizedBuffer ¶
func (m *AffiliateInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateInfoRequest) ProtoMessage ¶
func (*AffiliateInfoRequest) ProtoMessage()
func (*AffiliateInfoRequest) Reset ¶
func (m *AffiliateInfoRequest) Reset()
func (*AffiliateInfoRequest) Size ¶
func (m *AffiliateInfoRequest) Size() (n int)
func (*AffiliateInfoRequest) String ¶
func (m *AffiliateInfoRequest) String() string
func (*AffiliateInfoRequest) Unmarshal ¶
func (m *AffiliateInfoRequest) Unmarshal(dAtA []byte) error
func (*AffiliateInfoRequest) XXX_DiscardUnknown ¶
func (m *AffiliateInfoRequest) XXX_DiscardUnknown()
func (*AffiliateInfoRequest) XXX_Marshal ¶
func (m *AffiliateInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateInfoRequest) XXX_Merge ¶
func (m *AffiliateInfoRequest) XXX_Merge(src proto.Message)
func (*AffiliateInfoRequest) XXX_Size ¶
func (m *AffiliateInfoRequest) XXX_Size() int
func (*AffiliateInfoRequest) XXX_Unmarshal ¶
func (m *AffiliateInfoRequest) XXX_Unmarshal(b []byte) error
type AffiliateInfoResponse ¶
type AffiliateInfoResponse struct {
// Whether the address is a whitelisted affiliate (VIP).
IsWhitelisted bool `protobuf:"varint,1,opt,name=is_whitelisted,json=isWhitelisted,proto3" json:"is_whitelisted,omitempty"`
// If `is_whiteslisted == false`, the affiliate's tier qualified through
// regular affiliate program.
Tier uint32 `protobuf:"varint,2,opt,name=tier,proto3" json:"tier,omitempty"`
// regular affiliate).
FeeSharePpm uint32 `protobuf:"varint,3,opt,name=fee_share_ppm,json=feeSharePpm,proto3" json:"fee_share_ppm,omitempty"`
// The affiliate's all-time referred volume in quote quantums.
ReferredVolume github_com_1119_Labs_perpx_chain_protocol_dtypes.SerializableInt `` // Deprecated: Do not use.
/* 169-byte string literal not displayed */
// The affiliate's currently staked native tokens (in whole coins).
StakedAmount github_com_1119_Labs_perpx_chain_protocol_dtypes.SerializableInt `` /* 163-byte string literal not displayed */
// The affiliate's 30d referred volume in quote quantums.
ReferredVolume_30DRolling github_com_1119_Labs_perpx_chain_protocol_dtypes.SerializableInt `` /* 203-byte string literal not displayed */
// The affiliate's 30d attributed volume in quote quantums (from referees).
AttributedVolume_30DRolling github_com_1119_Labs_perpx_chain_protocol_dtypes.SerializableInt `` /* 209-byte string literal not displayed */
}
AffiliateInfoResponse is the response type for the Query/AffiliateInfo RPC method.
func (*AffiliateInfoResponse) Descriptor ¶
func (*AffiliateInfoResponse) Descriptor() ([]byte, []int)
func (*AffiliateInfoResponse) GetFeeSharePpm ¶
func (m *AffiliateInfoResponse) GetFeeSharePpm() uint32
func (*AffiliateInfoResponse) GetIsWhitelisted ¶
func (m *AffiliateInfoResponse) GetIsWhitelisted() bool
func (*AffiliateInfoResponse) GetTier ¶
func (m *AffiliateInfoResponse) GetTier() uint32
func (*AffiliateInfoResponse) Marshal ¶
func (m *AffiliateInfoResponse) Marshal() (dAtA []byte, err error)
func (*AffiliateInfoResponse) MarshalTo ¶
func (m *AffiliateInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateInfoResponse) MarshalToSizedBuffer ¶
func (m *AffiliateInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateInfoResponse) ProtoMessage ¶
func (*AffiliateInfoResponse) ProtoMessage()
func (*AffiliateInfoResponse) Reset ¶
func (m *AffiliateInfoResponse) Reset()
func (*AffiliateInfoResponse) Size ¶
func (m *AffiliateInfoResponse) Size() (n int)
func (*AffiliateInfoResponse) String ¶
func (m *AffiliateInfoResponse) String() string
func (*AffiliateInfoResponse) Unmarshal ¶
func (m *AffiliateInfoResponse) Unmarshal(dAtA []byte) error
func (*AffiliateInfoResponse) XXX_DiscardUnknown ¶
func (m *AffiliateInfoResponse) XXX_DiscardUnknown()
func (*AffiliateInfoResponse) XXX_Marshal ¶
func (m *AffiliateInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateInfoResponse) XXX_Merge ¶
func (m *AffiliateInfoResponse) XXX_Merge(src proto.Message)
func (*AffiliateInfoResponse) XXX_Size ¶
func (m *AffiliateInfoResponse) XXX_Size() int
func (*AffiliateInfoResponse) XXX_Unmarshal ¶
func (m *AffiliateInfoResponse) XXX_Unmarshal(b []byte) error
type AffiliateOverrides ¶
type AffiliateOverrides struct {
// List of unique whitelisted addresses.
// These are automatically put at the maximum affiliate tier
Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}
AffiliateOverrides defines the affiliate whitelist.
func (*AffiliateOverrides) Descriptor ¶
func (*AffiliateOverrides) Descriptor() ([]byte, []int)
func (*AffiliateOverrides) GetAddresses ¶
func (m *AffiliateOverrides) GetAddresses() []string
func (*AffiliateOverrides) Marshal ¶
func (m *AffiliateOverrides) Marshal() (dAtA []byte, err error)
func (*AffiliateOverrides) MarshalTo ¶
func (m *AffiliateOverrides) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateOverrides) MarshalToSizedBuffer ¶
func (m *AffiliateOverrides) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateOverrides) ProtoMessage ¶
func (*AffiliateOverrides) ProtoMessage()
func (*AffiliateOverrides) Reset ¶
func (m *AffiliateOverrides) Reset()
func (*AffiliateOverrides) Size ¶
func (m *AffiliateOverrides) Size() (n int)
func (*AffiliateOverrides) String ¶
func (m *AffiliateOverrides) String() string
func (*AffiliateOverrides) Unmarshal ¶
func (m *AffiliateOverrides) Unmarshal(dAtA []byte) error
func (*AffiliateOverrides) XXX_DiscardUnknown ¶
func (m *AffiliateOverrides) XXX_DiscardUnknown()
func (*AffiliateOverrides) XXX_Marshal ¶
func (m *AffiliateOverrides) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateOverrides) XXX_Merge ¶
func (m *AffiliateOverrides) XXX_Merge(src proto.Message)
func (*AffiliateOverrides) XXX_Size ¶
func (m *AffiliateOverrides) XXX_Size() int
func (*AffiliateOverrides) XXX_Unmarshal ¶
func (m *AffiliateOverrides) XXX_Unmarshal(b []byte) error
type AffiliateOverridesRequest ¶
type AffiliateOverridesRequest struct {
}
AffiliateOverridesRequest is the request type for the Query/AffiliateOverrides RPC method.
func (*AffiliateOverridesRequest) Descriptor ¶
func (*AffiliateOverridesRequest) Descriptor() ([]byte, []int)
func (*AffiliateOverridesRequest) Marshal ¶
func (m *AffiliateOverridesRequest) Marshal() (dAtA []byte, err error)
func (*AffiliateOverridesRequest) MarshalTo ¶
func (m *AffiliateOverridesRequest) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateOverridesRequest) MarshalToSizedBuffer ¶
func (m *AffiliateOverridesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateOverridesRequest) ProtoMessage ¶
func (*AffiliateOverridesRequest) ProtoMessage()
func (*AffiliateOverridesRequest) Reset ¶
func (m *AffiliateOverridesRequest) Reset()
func (*AffiliateOverridesRequest) Size ¶
func (m *AffiliateOverridesRequest) Size() (n int)
func (*AffiliateOverridesRequest) String ¶
func (m *AffiliateOverridesRequest) String() string
func (*AffiliateOverridesRequest) Unmarshal ¶
func (m *AffiliateOverridesRequest) Unmarshal(dAtA []byte) error
func (*AffiliateOverridesRequest) XXX_DiscardUnknown ¶
func (m *AffiliateOverridesRequest) XXX_DiscardUnknown()
func (*AffiliateOverridesRequest) XXX_Marshal ¶
func (m *AffiliateOverridesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateOverridesRequest) XXX_Merge ¶
func (m *AffiliateOverridesRequest) XXX_Merge(src proto.Message)
func (*AffiliateOverridesRequest) XXX_Size ¶
func (m *AffiliateOverridesRequest) XXX_Size() int
func (*AffiliateOverridesRequest) XXX_Unmarshal ¶
func (m *AffiliateOverridesRequest) XXX_Unmarshal(b []byte) error
type AffiliateOverridesResponse ¶
type AffiliateOverridesResponse struct {
Overrides AffiliateOverrides `protobuf:"bytes,1,opt,name=overrides,proto3" json:"overrides"`
}
AffiliateOverridesResponse is the response type for the Query/AffiliateOverrides RPC method.
func (*AffiliateOverridesResponse) Descriptor ¶
func (*AffiliateOverridesResponse) Descriptor() ([]byte, []int)
func (*AffiliateOverridesResponse) GetOverrides ¶
func (m *AffiliateOverridesResponse) GetOverrides() AffiliateOverrides
func (*AffiliateOverridesResponse) Marshal ¶
func (m *AffiliateOverridesResponse) Marshal() (dAtA []byte, err error)
func (*AffiliateOverridesResponse) MarshalTo ¶
func (m *AffiliateOverridesResponse) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateOverridesResponse) MarshalToSizedBuffer ¶
func (m *AffiliateOverridesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateOverridesResponse) ProtoMessage ¶
func (*AffiliateOverridesResponse) ProtoMessage()
func (*AffiliateOverridesResponse) Reset ¶
func (m *AffiliateOverridesResponse) Reset()
func (*AffiliateOverridesResponse) Size ¶
func (m *AffiliateOverridesResponse) Size() (n int)
func (*AffiliateOverridesResponse) String ¶
func (m *AffiliateOverridesResponse) String() string
func (*AffiliateOverridesResponse) Unmarshal ¶
func (m *AffiliateOverridesResponse) Unmarshal(dAtA []byte) error
func (*AffiliateOverridesResponse) XXX_DiscardUnknown ¶
func (m *AffiliateOverridesResponse) XXX_DiscardUnknown()
func (*AffiliateOverridesResponse) XXX_Marshal ¶
func (m *AffiliateOverridesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateOverridesResponse) XXX_Merge ¶
func (m *AffiliateOverridesResponse) XXX_Merge(src proto.Message)
func (*AffiliateOverridesResponse) XXX_Size ¶
func (m *AffiliateOverridesResponse) XXX_Size() int
func (*AffiliateOverridesResponse) XXX_Unmarshal ¶
func (m *AffiliateOverridesResponse) XXX_Unmarshal(b []byte) error
type AffiliateParameters ¶
type AffiliateParameters struct {
// Maximum attributable volume for a referred user in a 30d rolling window in
// notional
Maximum_30DAttributableVolumePerReferredUserQuoteQuantums uint64 `` /* 244-byte string literal not displayed */
// Referred user automatically gets set to this fee tier
RefereeMinimumFeeTierIdx uint32 `` /* 140-byte string literal not displayed */
// Maximum affiliate revenue for a referred user in a 30d rolling window in
// quote quantums
Maximum_30DAffiliateRevenuePerReferredUserQuoteQuantums uint64 `` /* 238-byte string literal not displayed */
}
AffiliateParameters defines the parameters for the affiliate program.
func (*AffiliateParameters) Descriptor ¶
func (*AffiliateParameters) Descriptor() ([]byte, []int)
func (*AffiliateParameters) GetMaximum_30DAffiliateRevenuePerReferredUserQuoteQuantums ¶
func (m *AffiliateParameters) GetMaximum_30DAffiliateRevenuePerReferredUserQuoteQuantums() uint64
func (*AffiliateParameters) GetMaximum_30DAttributableVolumePerReferredUserQuoteQuantums ¶
func (m *AffiliateParameters) GetMaximum_30DAttributableVolumePerReferredUserQuoteQuantums() uint64
func (*AffiliateParameters) GetRefereeMinimumFeeTierIdx ¶
func (m *AffiliateParameters) GetRefereeMinimumFeeTierIdx() uint32
func (*AffiliateParameters) Marshal ¶
func (m *AffiliateParameters) Marshal() (dAtA []byte, err error)
func (*AffiliateParameters) MarshalTo ¶
func (m *AffiliateParameters) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateParameters) MarshalToSizedBuffer ¶
func (m *AffiliateParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateParameters) ProtoMessage ¶
func (*AffiliateParameters) ProtoMessage()
func (*AffiliateParameters) Reset ¶
func (m *AffiliateParameters) Reset()
func (*AffiliateParameters) Size ¶
func (m *AffiliateParameters) Size() (n int)
func (*AffiliateParameters) String ¶
func (m *AffiliateParameters) String() string
func (*AffiliateParameters) Unmarshal ¶
func (m *AffiliateParameters) Unmarshal(dAtA []byte) error
func (*AffiliateParameters) XXX_DiscardUnknown ¶
func (m *AffiliateParameters) XXX_DiscardUnknown()
func (*AffiliateParameters) XXX_Marshal ¶
func (m *AffiliateParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateParameters) XXX_Merge ¶
func (m *AffiliateParameters) XXX_Merge(src proto.Message)
func (*AffiliateParameters) XXX_Size ¶
func (m *AffiliateParameters) XXX_Size() int
func (*AffiliateParameters) XXX_Unmarshal ¶
func (m *AffiliateParameters) XXX_Unmarshal(b []byte) error
type AffiliateParametersRequest ¶
type AffiliateParametersRequest struct {
}
AffiliateParametersRequest is the request type for the Query/AffiliateParameters RPC method.
func (*AffiliateParametersRequest) Descriptor ¶
func (*AffiliateParametersRequest) Descriptor() ([]byte, []int)
func (*AffiliateParametersRequest) Marshal ¶
func (m *AffiliateParametersRequest) Marshal() (dAtA []byte, err error)
func (*AffiliateParametersRequest) MarshalTo ¶
func (m *AffiliateParametersRequest) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateParametersRequest) MarshalToSizedBuffer ¶
func (m *AffiliateParametersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateParametersRequest) ProtoMessage ¶
func (*AffiliateParametersRequest) ProtoMessage()
func (*AffiliateParametersRequest) Reset ¶
func (m *AffiliateParametersRequest) Reset()
func (*AffiliateParametersRequest) Size ¶
func (m *AffiliateParametersRequest) Size() (n int)
func (*AffiliateParametersRequest) String ¶
func (m *AffiliateParametersRequest) String() string
func (*AffiliateParametersRequest) Unmarshal ¶
func (m *AffiliateParametersRequest) Unmarshal(dAtA []byte) error
func (*AffiliateParametersRequest) XXX_DiscardUnknown ¶
func (m *AffiliateParametersRequest) XXX_DiscardUnknown()
func (*AffiliateParametersRequest) XXX_Marshal ¶
func (m *AffiliateParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateParametersRequest) XXX_Merge ¶
func (m *AffiliateParametersRequest) XXX_Merge(src proto.Message)
func (*AffiliateParametersRequest) XXX_Size ¶
func (m *AffiliateParametersRequest) XXX_Size() int
func (*AffiliateParametersRequest) XXX_Unmarshal ¶
func (m *AffiliateParametersRequest) XXX_Unmarshal(b []byte) error
type AffiliateParametersResponse ¶
type AffiliateParametersResponse struct {
Parameters AffiliateParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters"`
}
AffiliateParametersResponse is the response type for the Query/AffiliateParameters RPC method.
func (*AffiliateParametersResponse) Descriptor ¶
func (*AffiliateParametersResponse) Descriptor() ([]byte, []int)
func (*AffiliateParametersResponse) GetParameters ¶
func (m *AffiliateParametersResponse) GetParameters() AffiliateParameters
func (*AffiliateParametersResponse) Marshal ¶
func (m *AffiliateParametersResponse) Marshal() (dAtA []byte, err error)
func (*AffiliateParametersResponse) MarshalTo ¶
func (m *AffiliateParametersResponse) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateParametersResponse) MarshalToSizedBuffer ¶
func (m *AffiliateParametersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateParametersResponse) ProtoMessage ¶
func (*AffiliateParametersResponse) ProtoMessage()
func (*AffiliateParametersResponse) Reset ¶
func (m *AffiliateParametersResponse) Reset()
func (*AffiliateParametersResponse) Size ¶
func (m *AffiliateParametersResponse) Size() (n int)
func (*AffiliateParametersResponse) String ¶
func (m *AffiliateParametersResponse) String() string
func (*AffiliateParametersResponse) Unmarshal ¶
func (m *AffiliateParametersResponse) Unmarshal(dAtA []byte) error
func (*AffiliateParametersResponse) XXX_DiscardUnknown ¶
func (m *AffiliateParametersResponse) XXX_DiscardUnknown()
func (*AffiliateParametersResponse) XXX_Marshal ¶
func (m *AffiliateParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateParametersResponse) XXX_Merge ¶
func (m *AffiliateParametersResponse) XXX_Merge(src proto.Message)
func (*AffiliateParametersResponse) XXX_Size ¶
func (m *AffiliateParametersResponse) XXX_Size() int
func (*AffiliateParametersResponse) XXX_Unmarshal ¶
func (m *AffiliateParametersResponse) XXX_Unmarshal(b []byte) error
type AffiliateTiers ¶
type AffiliateTiers struct {
// All affiliate tiers
Tiers []AffiliateTiers_Tier `protobuf:"bytes,1,rep,name=tiers,proto3" json:"tiers"`
}
AffiliateTiers defines the affiliate tiers.
func (*AffiliateTiers) Descriptor ¶
func (*AffiliateTiers) Descriptor() ([]byte, []int)
func (*AffiliateTiers) GetTiers ¶
func (m *AffiliateTiers) GetTiers() []AffiliateTiers_Tier
func (*AffiliateTiers) Marshal ¶
func (m *AffiliateTiers) Marshal() (dAtA []byte, err error)
func (*AffiliateTiers) MarshalToSizedBuffer ¶
func (m *AffiliateTiers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateTiers) ProtoMessage ¶
func (*AffiliateTiers) ProtoMessage()
func (*AffiliateTiers) Reset ¶
func (m *AffiliateTiers) Reset()
func (*AffiliateTiers) Size ¶
func (m *AffiliateTiers) Size() (n int)
func (*AffiliateTiers) String ¶
func (m *AffiliateTiers) String() string
func (*AffiliateTiers) Unmarshal ¶
func (m *AffiliateTiers) Unmarshal(dAtA []byte) error
func (*AffiliateTiers) XXX_DiscardUnknown ¶
func (m *AffiliateTiers) XXX_DiscardUnknown()
func (*AffiliateTiers) XXX_Marshal ¶
func (m *AffiliateTiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateTiers) XXX_Merge ¶
func (m *AffiliateTiers) XXX_Merge(src proto.Message)
func (*AffiliateTiers) XXX_Size ¶
func (m *AffiliateTiers) XXX_Size() int
func (*AffiliateTiers) XXX_Unmarshal ¶
func (m *AffiliateTiers) XXX_Unmarshal(b []byte) error
type AffiliateTiers_Tier ¶
type AffiliateTiers_Tier struct {
// Required all-time referred volume in quote quantums.
ReqReferredVolumeQuoteQuantums uint64 `` /* 158-byte string literal not displayed */
// Required currently staked native tokens (in whole coins).
// This is deprecated
ReqStakedWholeCoins uint32 `protobuf:"varint,2,opt,name=req_staked_whole_coins,json=reqStakedWholeCoins,proto3" json:"req_staked_whole_coins,omitempty"` // Deprecated: Do not use.
TakerFeeSharePpm uint32 `protobuf:"varint,3,opt,name=taker_fee_share_ppm,json=takerFeeSharePpm,proto3" json:"taker_fee_share_ppm,omitempty"`
}
Tier defines an affiliate tier.
func (*AffiliateTiers_Tier) Descriptor ¶
func (*AffiliateTiers_Tier) Descriptor() ([]byte, []int)
func (*AffiliateTiers_Tier) GetReqReferredVolumeQuoteQuantums ¶
func (m *AffiliateTiers_Tier) GetReqReferredVolumeQuoteQuantums() uint64
func (*AffiliateTiers_Tier) GetReqStakedWholeCoins
deprecated
func (m *AffiliateTiers_Tier) GetReqStakedWholeCoins() uint32
Deprecated: Do not use.
func (*AffiliateTiers_Tier) GetTakerFeeSharePpm ¶
func (m *AffiliateTiers_Tier) GetTakerFeeSharePpm() uint32
func (*AffiliateTiers_Tier) Marshal ¶
func (m *AffiliateTiers_Tier) Marshal() (dAtA []byte, err error)
func (*AffiliateTiers_Tier) MarshalTo ¶
func (m *AffiliateTiers_Tier) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateTiers_Tier) MarshalToSizedBuffer ¶
func (m *AffiliateTiers_Tier) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateTiers_Tier) ProtoMessage ¶
func (*AffiliateTiers_Tier) ProtoMessage()
func (*AffiliateTiers_Tier) Reset ¶
func (m *AffiliateTiers_Tier) Reset()
func (*AffiliateTiers_Tier) Size ¶
func (m *AffiliateTiers_Tier) Size() (n int)
func (*AffiliateTiers_Tier) String ¶
func (m *AffiliateTiers_Tier) String() string
func (*AffiliateTiers_Tier) Unmarshal ¶
func (m *AffiliateTiers_Tier) Unmarshal(dAtA []byte) error
func (*AffiliateTiers_Tier) XXX_DiscardUnknown ¶
func (m *AffiliateTiers_Tier) XXX_DiscardUnknown()
func (*AffiliateTiers_Tier) XXX_Marshal ¶
func (m *AffiliateTiers_Tier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateTiers_Tier) XXX_Merge ¶
func (m *AffiliateTiers_Tier) XXX_Merge(src proto.Message)
func (*AffiliateTiers_Tier) XXX_Size ¶
func (m *AffiliateTiers_Tier) XXX_Size() int
func (*AffiliateTiers_Tier) XXX_Unmarshal ¶
func (m *AffiliateTiers_Tier) XXX_Unmarshal(b []byte) error
type AffiliateWhitelist ¶
type AffiliateWhitelist struct {
// All affiliate whitelist tiers.
Tiers []AffiliateWhitelist_Tier `protobuf:"bytes,1,rep,name=tiers,proto3" json:"tiers"`
}
AffiliateWhitelist specifies the whitelisted affiliates. If an address is in the whitelist, then the affiliate fee share in this object will override fee share from the regular affiliate tiers above.
func (*AffiliateWhitelist) Descriptor ¶
func (*AffiliateWhitelist) Descriptor() ([]byte, []int)
func (*AffiliateWhitelist) GetTiers ¶
func (m *AffiliateWhitelist) GetTiers() []AffiliateWhitelist_Tier
func (*AffiliateWhitelist) Marshal ¶
func (m *AffiliateWhitelist) Marshal() (dAtA []byte, err error)
func (*AffiliateWhitelist) MarshalTo ¶
func (m *AffiliateWhitelist) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateWhitelist) MarshalToSizedBuffer ¶
func (m *AffiliateWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateWhitelist) ProtoMessage ¶
func (*AffiliateWhitelist) ProtoMessage()
func (*AffiliateWhitelist) Reset ¶
func (m *AffiliateWhitelist) Reset()
func (*AffiliateWhitelist) Size ¶
func (m *AffiliateWhitelist) Size() (n int)
func (*AffiliateWhitelist) String ¶
func (m *AffiliateWhitelist) String() string
func (*AffiliateWhitelist) Unmarshal ¶
func (m *AffiliateWhitelist) Unmarshal(dAtA []byte) error
func (*AffiliateWhitelist) XXX_DiscardUnknown ¶
func (m *AffiliateWhitelist) XXX_DiscardUnknown()
func (*AffiliateWhitelist) XXX_Marshal ¶
func (m *AffiliateWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateWhitelist) XXX_Merge ¶
func (m *AffiliateWhitelist) XXX_Merge(src proto.Message)
func (*AffiliateWhitelist) XXX_Size ¶
func (m *AffiliateWhitelist) XXX_Size() int
func (*AffiliateWhitelist) XXX_Unmarshal ¶
func (m *AffiliateWhitelist) XXX_Unmarshal(b []byte) error
type AffiliateWhitelistRequest ¶
type AffiliateWhitelistRequest struct {
}
AffiliateWhitelistRequest is the request type for the Query/AffiliateWhitelist RPC method.
func (*AffiliateWhitelistRequest) Descriptor ¶
func (*AffiliateWhitelistRequest) Descriptor() ([]byte, []int)
func (*AffiliateWhitelistRequest) Marshal ¶
func (m *AffiliateWhitelistRequest) Marshal() (dAtA []byte, err error)
func (*AffiliateWhitelistRequest) MarshalTo ¶
func (m *AffiliateWhitelistRequest) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateWhitelistRequest) MarshalToSizedBuffer ¶
func (m *AffiliateWhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateWhitelistRequest) ProtoMessage ¶
func (*AffiliateWhitelistRequest) ProtoMessage()
func (*AffiliateWhitelistRequest) Reset ¶
func (m *AffiliateWhitelistRequest) Reset()
func (*AffiliateWhitelistRequest) Size ¶
func (m *AffiliateWhitelistRequest) Size() (n int)
func (*AffiliateWhitelistRequest) String ¶
func (m *AffiliateWhitelistRequest) String() string
func (*AffiliateWhitelistRequest) Unmarshal ¶
func (m *AffiliateWhitelistRequest) Unmarshal(dAtA []byte) error
func (*AffiliateWhitelistRequest) XXX_DiscardUnknown ¶
func (m *AffiliateWhitelistRequest) XXX_DiscardUnknown()
func (*AffiliateWhitelistRequest) XXX_Marshal ¶
func (m *AffiliateWhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateWhitelistRequest) XXX_Merge ¶
func (m *AffiliateWhitelistRequest) XXX_Merge(src proto.Message)
func (*AffiliateWhitelistRequest) XXX_Size ¶
func (m *AffiliateWhitelistRequest) XXX_Size() int
func (*AffiliateWhitelistRequest) XXX_Unmarshal ¶
func (m *AffiliateWhitelistRequest) XXX_Unmarshal(b []byte) error
type AffiliateWhitelistResponse ¶
type AffiliateWhitelistResponse struct {
Whitelist AffiliateWhitelist `protobuf:"bytes,1,opt,name=whitelist,proto3" json:"whitelist"`
}
AffiliateWhitelistResponse is the response type for the Query/AffiliateWhitelist RPC method.
func (*AffiliateWhitelistResponse) Descriptor ¶
func (*AffiliateWhitelistResponse) Descriptor() ([]byte, []int)
func (*AffiliateWhitelistResponse) GetWhitelist ¶
func (m *AffiliateWhitelistResponse) GetWhitelist() AffiliateWhitelist
func (*AffiliateWhitelistResponse) Marshal ¶
func (m *AffiliateWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*AffiliateWhitelistResponse) MarshalTo ¶
func (m *AffiliateWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateWhitelistResponse) MarshalToSizedBuffer ¶
func (m *AffiliateWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateWhitelistResponse) ProtoMessage ¶
func (*AffiliateWhitelistResponse) ProtoMessage()
func (*AffiliateWhitelistResponse) Reset ¶
func (m *AffiliateWhitelistResponse) Reset()
func (*AffiliateWhitelistResponse) Size ¶
func (m *AffiliateWhitelistResponse) Size() (n int)
func (*AffiliateWhitelistResponse) String ¶
func (m *AffiliateWhitelistResponse) String() string
func (*AffiliateWhitelistResponse) Unmarshal ¶
func (m *AffiliateWhitelistResponse) Unmarshal(dAtA []byte) error
func (*AffiliateWhitelistResponse) XXX_DiscardUnknown ¶
func (m *AffiliateWhitelistResponse) XXX_DiscardUnknown()
func (*AffiliateWhitelistResponse) XXX_Marshal ¶
func (m *AffiliateWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateWhitelistResponse) XXX_Merge ¶
func (m *AffiliateWhitelistResponse) XXX_Merge(src proto.Message)
func (*AffiliateWhitelistResponse) XXX_Size ¶
func (m *AffiliateWhitelistResponse) XXX_Size() int
func (*AffiliateWhitelistResponse) XXX_Unmarshal ¶
func (m *AffiliateWhitelistResponse) XXX_Unmarshal(b []byte) error
type AffiliateWhitelist_Tier ¶
type AffiliateWhitelist_Tier struct {
// List of unique whitelisted addresses.
Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
TakerFeeSharePpm uint32 `protobuf:"varint,2,opt,name=taker_fee_share_ppm,json=takerFeeSharePpm,proto3" json:"taker_fee_share_ppm,omitempty"`
}
Tier defines an affiliate whitelist tier.
func (*AffiliateWhitelist_Tier) Descriptor ¶
func (*AffiliateWhitelist_Tier) Descriptor() ([]byte, []int)
func (*AffiliateWhitelist_Tier) GetAddresses ¶
func (m *AffiliateWhitelist_Tier) GetAddresses() []string
func (*AffiliateWhitelist_Tier) GetTakerFeeSharePpm ¶
func (m *AffiliateWhitelist_Tier) GetTakerFeeSharePpm() uint32
func (*AffiliateWhitelist_Tier) Marshal ¶
func (m *AffiliateWhitelist_Tier) Marshal() (dAtA []byte, err error)
func (*AffiliateWhitelist_Tier) MarshalTo ¶
func (m *AffiliateWhitelist_Tier) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateWhitelist_Tier) MarshalToSizedBuffer ¶
func (m *AffiliateWhitelist_Tier) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateWhitelist_Tier) ProtoMessage ¶
func (*AffiliateWhitelist_Tier) ProtoMessage()
func (*AffiliateWhitelist_Tier) Reset ¶
func (m *AffiliateWhitelist_Tier) Reset()
func (*AffiliateWhitelist_Tier) Size ¶
func (m *AffiliateWhitelist_Tier) Size() (n int)
func (*AffiliateWhitelist_Tier) String ¶
func (m *AffiliateWhitelist_Tier) String() string
func (*AffiliateWhitelist_Tier) Unmarshal ¶
func (m *AffiliateWhitelist_Tier) Unmarshal(dAtA []byte) error
func (*AffiliateWhitelist_Tier) XXX_DiscardUnknown ¶
func (m *AffiliateWhitelist_Tier) XXX_DiscardUnknown()
func (*AffiliateWhitelist_Tier) XXX_Marshal ¶
func (m *AffiliateWhitelist_Tier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateWhitelist_Tier) XXX_Merge ¶
func (m *AffiliateWhitelist_Tier) XXX_Merge(src proto.Message)
func (*AffiliateWhitelist_Tier) XXX_Size ¶
func (m *AffiliateWhitelist_Tier) XXX_Size() int
func (*AffiliateWhitelist_Tier) XXX_Unmarshal ¶
func (m *AffiliateWhitelist_Tier) XXX_Unmarshal(b []byte) error
type AllAffiliateTiersRequest ¶
type AllAffiliateTiersRequest struct {
}
AllAffiliateTiersRequest is the request type for the Query/AllAffiliateTiers RPC method.
func (*AllAffiliateTiersRequest) Descriptor ¶
func (*AllAffiliateTiersRequest) Descriptor() ([]byte, []int)
func (*AllAffiliateTiersRequest) Marshal ¶
func (m *AllAffiliateTiersRequest) Marshal() (dAtA []byte, err error)
func (*AllAffiliateTiersRequest) MarshalTo ¶
func (m *AllAffiliateTiersRequest) MarshalTo(dAtA []byte) (int, error)
func (*AllAffiliateTiersRequest) MarshalToSizedBuffer ¶
func (m *AllAffiliateTiersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllAffiliateTiersRequest) ProtoMessage ¶
func (*AllAffiliateTiersRequest) ProtoMessage()
func (*AllAffiliateTiersRequest) Reset ¶
func (m *AllAffiliateTiersRequest) Reset()
func (*AllAffiliateTiersRequest) Size ¶
func (m *AllAffiliateTiersRequest) Size() (n int)
func (*AllAffiliateTiersRequest) String ¶
func (m *AllAffiliateTiersRequest) String() string
func (*AllAffiliateTiersRequest) Unmarshal ¶
func (m *AllAffiliateTiersRequest) Unmarshal(dAtA []byte) error
func (*AllAffiliateTiersRequest) XXX_DiscardUnknown ¶
func (m *AllAffiliateTiersRequest) XXX_DiscardUnknown()
func (*AllAffiliateTiersRequest) XXX_Marshal ¶
func (m *AllAffiliateTiersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllAffiliateTiersRequest) XXX_Merge ¶
func (m *AllAffiliateTiersRequest) XXX_Merge(src proto.Message)
func (*AllAffiliateTiersRequest) XXX_Size ¶
func (m *AllAffiliateTiersRequest) XXX_Size() int
func (*AllAffiliateTiersRequest) XXX_Unmarshal ¶
func (m *AllAffiliateTiersRequest) XXX_Unmarshal(b []byte) error
type AllAffiliateTiersResponse ¶
type AllAffiliateTiersResponse struct {
// All affiliate tiers information.
Tiers AffiliateTiers `protobuf:"bytes,1,opt,name=tiers,proto3" json:"tiers"`
}
AllAffiliateTiersResponse is the response type for the Query/AllAffiliateTiers RPC method.
func (*AllAffiliateTiersResponse) Descriptor ¶
func (*AllAffiliateTiersResponse) Descriptor() ([]byte, []int)
func (*AllAffiliateTiersResponse) GetTiers ¶
func (m *AllAffiliateTiersResponse) GetTiers() AffiliateTiers
func (*AllAffiliateTiersResponse) Marshal ¶
func (m *AllAffiliateTiersResponse) Marshal() (dAtA []byte, err error)
func (*AllAffiliateTiersResponse) MarshalTo ¶
func (m *AllAffiliateTiersResponse) MarshalTo(dAtA []byte) (int, error)
func (*AllAffiliateTiersResponse) MarshalToSizedBuffer ¶
func (m *AllAffiliateTiersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllAffiliateTiersResponse) ProtoMessage ¶
func (*AllAffiliateTiersResponse) ProtoMessage()
func (*AllAffiliateTiersResponse) Reset ¶
func (m *AllAffiliateTiersResponse) Reset()
func (*AllAffiliateTiersResponse) Size ¶
func (m *AllAffiliateTiersResponse) Size() (n int)
func (*AllAffiliateTiersResponse) String ¶
func (m *AllAffiliateTiersResponse) String() string
func (*AllAffiliateTiersResponse) Unmarshal ¶
func (m *AllAffiliateTiersResponse) Unmarshal(dAtA []byte) error
func (*AllAffiliateTiersResponse) XXX_DiscardUnknown ¶
func (m *AllAffiliateTiersResponse) XXX_DiscardUnknown()
func (*AllAffiliateTiersResponse) XXX_Marshal ¶
func (m *AllAffiliateTiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllAffiliateTiersResponse) XXX_Merge ¶
func (m *AllAffiliateTiersResponse) XXX_Merge(src proto.Message)
func (*AllAffiliateTiersResponse) XXX_Size ¶
func (m *AllAffiliateTiersResponse) XXX_Size() int
func (*AllAffiliateTiersResponse) XXX_Unmarshal ¶
func (m *AllAffiliateTiersResponse) XXX_Unmarshal(b []byte) error
type FeetiersKeeper ¶
type GenesisState ¶
type GenesisState struct {
// The list of affiliate tiers
AffiliateTiers AffiliateTiers `protobuf:"bytes,1,opt,name=affiliate_tiers,json=affiliateTiers,proto3" json:"affiliate_tiers"`
// The affiliate parameters
AffiliateParameters AffiliateParameters `protobuf:"bytes,2,opt,name=affiliate_parameters,json=affiliateParameters,proto3" json:"affiliate_parameters"`
}
GenesisState defines generis state of `x/affiliates`
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default stats genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAffiliateParameters ¶
func (m *GenesisState) GetAffiliateParameters() AffiliateParameters
func (*GenesisState) GetAffiliateTiers ¶
func (m *GenesisState) GetAffiliateTiers() AffiliateTiers
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 MsgClient ¶
type MsgClient interface {
// RegisterAffiliate registers a referee-affiliate relationship
RegisterAffiliate(ctx context.Context, in *MsgRegisterAffiliate, opts ...grpc.CallOption) (*MsgRegisterAffiliateResponse, error)
// UpdateAffiliateTiers updates affiliate tiers
UpdateAffiliateTiers(ctx context.Context, in *MsgUpdateAffiliateTiers, opts ...grpc.CallOption) (*MsgUpdateAffiliateTiersResponse, error)
// UpdateAffiliateWhitelist updates affiliate whitelist
UpdateAffiliateWhitelist(ctx context.Context, in *MsgUpdateAffiliateWhitelist, opts ...grpc.CallOption) (*MsgUpdateAffiliateWhitelistResponse, error)
// UpdateAffiliateParameters updates affiliate program parameters
UpdateAffiliateParameters(ctx context.Context, in *MsgUpdateAffiliateParameters, opts ...grpc.CallOption) (*MsgUpdateAffiliateParametersResponse, error)
// UpdateAffiliateOverrides updates affiliate overrides
UpdateAffiliateOverrides(ctx context.Context, in *MsgUpdateAffiliateOverrides, opts ...grpc.CallOption) (*MsgUpdateAffiliateOverridesResponse, 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 MsgRegisterAffiliate ¶
type MsgRegisterAffiliate struct {
// Address of the referee
Referee string `protobuf:"bytes,1,opt,name=referee,proto3" json:"referee,omitempty"`
// Address of the affiliate
Affiliate string `protobuf:"bytes,2,opt,name=affiliate,proto3" json:"affiliate,omitempty"`
}
Message to register a referee-affiliate relationship
func (*MsgRegisterAffiliate) Descriptor ¶
func (*MsgRegisterAffiliate) Descriptor() ([]byte, []int)
func (*MsgRegisterAffiliate) Marshal ¶
func (m *MsgRegisterAffiliate) Marshal() (dAtA []byte, err error)
func (*MsgRegisterAffiliate) MarshalTo ¶
func (m *MsgRegisterAffiliate) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterAffiliate) MarshalToSizedBuffer ¶
func (m *MsgRegisterAffiliate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterAffiliate) ProtoMessage ¶
func (*MsgRegisterAffiliate) ProtoMessage()
func (*MsgRegisterAffiliate) Reset ¶
func (m *MsgRegisterAffiliate) Reset()
func (*MsgRegisterAffiliate) Size ¶
func (m *MsgRegisterAffiliate) Size() (n int)
func (*MsgRegisterAffiliate) String ¶
func (m *MsgRegisterAffiliate) String() string
func (*MsgRegisterAffiliate) Unmarshal ¶
func (m *MsgRegisterAffiliate) Unmarshal(dAtA []byte) error
func (*MsgRegisterAffiliate) XXX_DiscardUnknown ¶
func (m *MsgRegisterAffiliate) XXX_DiscardUnknown()
func (*MsgRegisterAffiliate) XXX_Marshal ¶
func (m *MsgRegisterAffiliate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterAffiliate) XXX_Merge ¶
func (m *MsgRegisterAffiliate) XXX_Merge(src proto.Message)
func (*MsgRegisterAffiliate) XXX_Size ¶
func (m *MsgRegisterAffiliate) XXX_Size() int
func (*MsgRegisterAffiliate) XXX_Unmarshal ¶
func (m *MsgRegisterAffiliate) XXX_Unmarshal(b []byte) error
type MsgRegisterAffiliateResponse ¶
type MsgRegisterAffiliateResponse struct {
}
Response to MsgRegisterAffiliate
func (*MsgRegisterAffiliateResponse) Descriptor ¶
func (*MsgRegisterAffiliateResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterAffiliateResponse) Marshal ¶
func (m *MsgRegisterAffiliateResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterAffiliateResponse) MarshalTo ¶
func (m *MsgRegisterAffiliateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterAffiliateResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterAffiliateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterAffiliateResponse) ProtoMessage ¶
func (*MsgRegisterAffiliateResponse) ProtoMessage()
func (*MsgRegisterAffiliateResponse) Reset ¶
func (m *MsgRegisterAffiliateResponse) Reset()
func (*MsgRegisterAffiliateResponse) Size ¶
func (m *MsgRegisterAffiliateResponse) Size() (n int)
func (*MsgRegisterAffiliateResponse) String ¶
func (m *MsgRegisterAffiliateResponse) String() string
func (*MsgRegisterAffiliateResponse) Unmarshal ¶
func (m *MsgRegisterAffiliateResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterAffiliateResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterAffiliateResponse) XXX_DiscardUnknown()
func (*MsgRegisterAffiliateResponse) XXX_Marshal ¶
func (m *MsgRegisterAffiliateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterAffiliateResponse) XXX_Merge ¶
func (m *MsgRegisterAffiliateResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterAffiliateResponse) XXX_Size ¶
func (m *MsgRegisterAffiliateResponse) XXX_Size() int
func (*MsgRegisterAffiliateResponse) XXX_Unmarshal ¶
func (m *MsgRegisterAffiliateResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// RegisterAffiliate registers a referee-affiliate relationship
RegisterAffiliate(context.Context, *MsgRegisterAffiliate) (*MsgRegisterAffiliateResponse, error)
// UpdateAffiliateTiers updates affiliate tiers
UpdateAffiliateTiers(context.Context, *MsgUpdateAffiliateTiers) (*MsgUpdateAffiliateTiersResponse, error)
// UpdateAffiliateWhitelist updates affiliate whitelist
UpdateAffiliateWhitelist(context.Context, *MsgUpdateAffiliateWhitelist) (*MsgUpdateAffiliateWhitelistResponse, error)
// UpdateAffiliateParameters updates affiliate program parameters
UpdateAffiliateParameters(context.Context, *MsgUpdateAffiliateParameters) (*MsgUpdateAffiliateParametersResponse, error)
// UpdateAffiliateOverrides updates affiliate overrides
UpdateAffiliateOverrides(context.Context, *MsgUpdateAffiliateOverrides) (*MsgUpdateAffiliateOverridesResponse, error)
}
MsgServer is the server API for Msg service.
type MsgUpdateAffiliateOverrides ¶
type MsgUpdateAffiliateOverrides struct {
// Authority sending this message. Will be sent by gov
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// Addresses that automatically have the maximum affiliate tier
AffiliateOverrides AffiliateOverrides `protobuf:"bytes,2,opt,name=affiliate_overrides,json=affiliateOverrides,proto3" json:"affiliate_overrides"`
}
Message to update affiliate overrides
func (*MsgUpdateAffiliateOverrides) Descriptor ¶
func (*MsgUpdateAffiliateOverrides) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateOverrides) GetAffiliateOverrides ¶
func (m *MsgUpdateAffiliateOverrides) GetAffiliateOverrides() AffiliateOverrides
func (*MsgUpdateAffiliateOverrides) GetAuthority ¶
func (m *MsgUpdateAffiliateOverrides) GetAuthority() string
func (*MsgUpdateAffiliateOverrides) Marshal ¶
func (m *MsgUpdateAffiliateOverrides) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateOverrides) MarshalTo ¶
func (m *MsgUpdateAffiliateOverrides) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateOverrides) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateOverrides) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateOverrides) ProtoMessage ¶
func (*MsgUpdateAffiliateOverrides) ProtoMessage()
func (*MsgUpdateAffiliateOverrides) Reset ¶
func (m *MsgUpdateAffiliateOverrides) Reset()
func (*MsgUpdateAffiliateOverrides) Size ¶
func (m *MsgUpdateAffiliateOverrides) Size() (n int)
func (*MsgUpdateAffiliateOverrides) String ¶
func (m *MsgUpdateAffiliateOverrides) String() string
func (*MsgUpdateAffiliateOverrides) Unmarshal ¶
func (m *MsgUpdateAffiliateOverrides) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateOverrides) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateOverrides) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateOverrides) XXX_Marshal ¶
func (m *MsgUpdateAffiliateOverrides) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateOverrides) XXX_Merge ¶
func (m *MsgUpdateAffiliateOverrides) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateOverrides) XXX_Size ¶
func (m *MsgUpdateAffiliateOverrides) XXX_Size() int
func (*MsgUpdateAffiliateOverrides) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateOverrides) XXX_Unmarshal(b []byte) error
type MsgUpdateAffiliateOverridesResponse ¶
type MsgUpdateAffiliateOverridesResponse struct {
}
Response to MsgUpdateAffiliateOverrides
func (*MsgUpdateAffiliateOverridesResponse) Descriptor ¶
func (*MsgUpdateAffiliateOverridesResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateOverridesResponse) Marshal ¶
func (m *MsgUpdateAffiliateOverridesResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateOverridesResponse) MarshalTo ¶
func (m *MsgUpdateAffiliateOverridesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateOverridesResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateOverridesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateOverridesResponse) ProtoMessage ¶
func (*MsgUpdateAffiliateOverridesResponse) ProtoMessage()
func (*MsgUpdateAffiliateOverridesResponse) Reset ¶
func (m *MsgUpdateAffiliateOverridesResponse) Reset()
func (*MsgUpdateAffiliateOverridesResponse) Size ¶
func (m *MsgUpdateAffiliateOverridesResponse) Size() (n int)
func (*MsgUpdateAffiliateOverridesResponse) String ¶
func (m *MsgUpdateAffiliateOverridesResponse) String() string
func (*MsgUpdateAffiliateOverridesResponse) Unmarshal ¶
func (m *MsgUpdateAffiliateOverridesResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateOverridesResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateOverridesResponse) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateOverridesResponse) XXX_Marshal ¶
func (m *MsgUpdateAffiliateOverridesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateOverridesResponse) XXX_Merge ¶
func (m *MsgUpdateAffiliateOverridesResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateOverridesResponse) XXX_Size ¶
func (m *MsgUpdateAffiliateOverridesResponse) XXX_Size() int
func (*MsgUpdateAffiliateOverridesResponse) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateOverridesResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateAffiliateParameters ¶
type MsgUpdateAffiliateParameters struct {
// Authority sending this message. Will be sent by gov
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// Affiliate program parameters
AffiliateParameters AffiliateParameters `protobuf:"bytes,2,opt,name=affiliate_parameters,json=affiliateParameters,proto3" json:"affiliate_parameters"`
}
Message to update affiliate program parameters
func (*MsgUpdateAffiliateParameters) Descriptor ¶
func (*MsgUpdateAffiliateParameters) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateParameters) GetAffiliateParameters ¶
func (m *MsgUpdateAffiliateParameters) GetAffiliateParameters() AffiliateParameters
func (*MsgUpdateAffiliateParameters) GetAuthority ¶
func (m *MsgUpdateAffiliateParameters) GetAuthority() string
func (*MsgUpdateAffiliateParameters) Marshal ¶
func (m *MsgUpdateAffiliateParameters) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateParameters) MarshalTo ¶
func (m *MsgUpdateAffiliateParameters) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateParameters) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateParameters) ProtoMessage ¶
func (*MsgUpdateAffiliateParameters) ProtoMessage()
func (*MsgUpdateAffiliateParameters) Reset ¶
func (m *MsgUpdateAffiliateParameters) Reset()
func (*MsgUpdateAffiliateParameters) Size ¶
func (m *MsgUpdateAffiliateParameters) Size() (n int)
func (*MsgUpdateAffiliateParameters) String ¶
func (m *MsgUpdateAffiliateParameters) String() string
func (*MsgUpdateAffiliateParameters) Unmarshal ¶
func (m *MsgUpdateAffiliateParameters) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateParameters) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateParameters) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateParameters) XXX_Marshal ¶
func (m *MsgUpdateAffiliateParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateParameters) XXX_Merge ¶
func (m *MsgUpdateAffiliateParameters) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateParameters) XXX_Size ¶
func (m *MsgUpdateAffiliateParameters) XXX_Size() int
func (*MsgUpdateAffiliateParameters) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateParameters) XXX_Unmarshal(b []byte) error
type MsgUpdateAffiliateParametersResponse ¶
type MsgUpdateAffiliateParametersResponse struct {
}
Response to MsgUpdateAffiliateParameters
func (*MsgUpdateAffiliateParametersResponse) Descriptor ¶
func (*MsgUpdateAffiliateParametersResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateParametersResponse) Marshal ¶
func (m *MsgUpdateAffiliateParametersResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateParametersResponse) MarshalTo ¶
func (m *MsgUpdateAffiliateParametersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateParametersResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateParametersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateParametersResponse) ProtoMessage ¶
func (*MsgUpdateAffiliateParametersResponse) ProtoMessage()
func (*MsgUpdateAffiliateParametersResponse) Reset ¶
func (m *MsgUpdateAffiliateParametersResponse) Reset()
func (*MsgUpdateAffiliateParametersResponse) Size ¶
func (m *MsgUpdateAffiliateParametersResponse) Size() (n int)
func (*MsgUpdateAffiliateParametersResponse) String ¶
func (m *MsgUpdateAffiliateParametersResponse) String() string
func (*MsgUpdateAffiliateParametersResponse) Unmarshal ¶
func (m *MsgUpdateAffiliateParametersResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateParametersResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateParametersResponse) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateParametersResponse) XXX_Marshal ¶
func (m *MsgUpdateAffiliateParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateParametersResponse) XXX_Merge ¶
func (m *MsgUpdateAffiliateParametersResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateParametersResponse) XXX_Size ¶
func (m *MsgUpdateAffiliateParametersResponse) XXX_Size() int
func (*MsgUpdateAffiliateParametersResponse) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateParametersResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateAffiliateTiers ¶
type MsgUpdateAffiliateTiers struct {
// Authority sending this message. Will be sent by gov
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// Updated affiliate tiers information
Tiers AffiliateTiers `protobuf:"bytes,2,opt,name=tiers,proto3" json:"tiers"`
}
Message to update affiliate tiers
func (*MsgUpdateAffiliateTiers) Descriptor ¶
func (*MsgUpdateAffiliateTiers) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateTiers) GetAuthority ¶
func (m *MsgUpdateAffiliateTiers) GetAuthority() string
func (*MsgUpdateAffiliateTiers) GetTiers ¶
func (m *MsgUpdateAffiliateTiers) GetTiers() AffiliateTiers
func (*MsgUpdateAffiliateTiers) Marshal ¶
func (m *MsgUpdateAffiliateTiers) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateTiers) MarshalTo ¶
func (m *MsgUpdateAffiliateTiers) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateTiers) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateTiers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateTiers) ProtoMessage ¶
func (*MsgUpdateAffiliateTiers) ProtoMessage()
func (*MsgUpdateAffiliateTiers) Reset ¶
func (m *MsgUpdateAffiliateTiers) Reset()
func (*MsgUpdateAffiliateTiers) Size ¶
func (m *MsgUpdateAffiliateTiers) Size() (n int)
func (*MsgUpdateAffiliateTiers) String ¶
func (m *MsgUpdateAffiliateTiers) String() string
func (*MsgUpdateAffiliateTiers) Unmarshal ¶
func (m *MsgUpdateAffiliateTiers) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateTiers) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateTiers) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateTiers) XXX_Marshal ¶
func (m *MsgUpdateAffiliateTiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateTiers) XXX_Merge ¶
func (m *MsgUpdateAffiliateTiers) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateTiers) XXX_Size ¶
func (m *MsgUpdateAffiliateTiers) XXX_Size() int
func (*MsgUpdateAffiliateTiers) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateTiers) XXX_Unmarshal(b []byte) error
type MsgUpdateAffiliateTiersResponse ¶
type MsgUpdateAffiliateTiersResponse struct {
}
Response to MsgUpdateAffiliateTiers
func (*MsgUpdateAffiliateTiersResponse) Descriptor ¶
func (*MsgUpdateAffiliateTiersResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateTiersResponse) Marshal ¶
func (m *MsgUpdateAffiliateTiersResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateTiersResponse) MarshalTo ¶
func (m *MsgUpdateAffiliateTiersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateTiersResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateTiersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateTiersResponse) ProtoMessage ¶
func (*MsgUpdateAffiliateTiersResponse) ProtoMessage()
func (*MsgUpdateAffiliateTiersResponse) Reset ¶
func (m *MsgUpdateAffiliateTiersResponse) Reset()
func (*MsgUpdateAffiliateTiersResponse) Size ¶
func (m *MsgUpdateAffiliateTiersResponse) Size() (n int)
func (*MsgUpdateAffiliateTiersResponse) String ¶
func (m *MsgUpdateAffiliateTiersResponse) String() string
func (*MsgUpdateAffiliateTiersResponse) Unmarshal ¶
func (m *MsgUpdateAffiliateTiersResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateTiersResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateTiersResponse) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateTiersResponse) XXX_Marshal ¶
func (m *MsgUpdateAffiliateTiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateTiersResponse) XXX_Merge ¶
func (m *MsgUpdateAffiliateTiersResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateTiersResponse) XXX_Size ¶
func (m *MsgUpdateAffiliateTiersResponse) XXX_Size() int
func (*MsgUpdateAffiliateTiersResponse) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateTiersResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateAffiliateWhitelist ¶
type MsgUpdateAffiliateWhitelist struct {
// Authority sending this message. Will be sent by gov
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// Updated affiliate whitelist information
Whitelist AffiliateWhitelist `protobuf:"bytes,2,opt,name=whitelist,proto3" json:"whitelist"`
}
Message to update affiliate whitelist
func (*MsgUpdateAffiliateWhitelist) Descriptor ¶
func (*MsgUpdateAffiliateWhitelist) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateWhitelist) GetAuthority ¶
func (m *MsgUpdateAffiliateWhitelist) GetAuthority() string
func (*MsgUpdateAffiliateWhitelist) GetWhitelist ¶
func (m *MsgUpdateAffiliateWhitelist) GetWhitelist() AffiliateWhitelist
func (*MsgUpdateAffiliateWhitelist) Marshal ¶
func (m *MsgUpdateAffiliateWhitelist) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateWhitelist) MarshalTo ¶
func (m *MsgUpdateAffiliateWhitelist) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateWhitelist) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateWhitelist) ProtoMessage ¶
func (*MsgUpdateAffiliateWhitelist) ProtoMessage()
func (*MsgUpdateAffiliateWhitelist) Reset ¶
func (m *MsgUpdateAffiliateWhitelist) Reset()
func (*MsgUpdateAffiliateWhitelist) Size ¶
func (m *MsgUpdateAffiliateWhitelist) Size() (n int)
func (*MsgUpdateAffiliateWhitelist) String ¶
func (m *MsgUpdateAffiliateWhitelist) String() string
func (*MsgUpdateAffiliateWhitelist) Unmarshal ¶
func (m *MsgUpdateAffiliateWhitelist) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateWhitelist) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateWhitelist) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateWhitelist) XXX_Marshal ¶
func (m *MsgUpdateAffiliateWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateWhitelist) XXX_Merge ¶
func (m *MsgUpdateAffiliateWhitelist) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateWhitelist) XXX_Size ¶
func (m *MsgUpdateAffiliateWhitelist) XXX_Size() int
func (*MsgUpdateAffiliateWhitelist) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateWhitelist) XXX_Unmarshal(b []byte) error
type MsgUpdateAffiliateWhitelistResponse ¶
type MsgUpdateAffiliateWhitelistResponse struct {
}
Response to MsgUpdateAffiliateWhitelist
func (*MsgUpdateAffiliateWhitelistResponse) Descriptor ¶
func (*MsgUpdateAffiliateWhitelistResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateAffiliateWhitelistResponse) Marshal ¶
func (m *MsgUpdateAffiliateWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAffiliateWhitelistResponse) MarshalTo ¶
func (m *MsgUpdateAffiliateWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateWhitelistResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateAffiliateWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAffiliateWhitelistResponse) ProtoMessage ¶
func (*MsgUpdateAffiliateWhitelistResponse) ProtoMessage()
func (*MsgUpdateAffiliateWhitelistResponse) Reset ¶
func (m *MsgUpdateAffiliateWhitelistResponse) Reset()
func (*MsgUpdateAffiliateWhitelistResponse) Size ¶
func (m *MsgUpdateAffiliateWhitelistResponse) Size() (n int)
func (*MsgUpdateAffiliateWhitelistResponse) String ¶
func (m *MsgUpdateAffiliateWhitelistResponse) String() string
func (*MsgUpdateAffiliateWhitelistResponse) Unmarshal ¶
func (m *MsgUpdateAffiliateWhitelistResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateAffiliateWhitelistResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateAffiliateWhitelistResponse) XXX_DiscardUnknown()
func (*MsgUpdateAffiliateWhitelistResponse) XXX_Marshal ¶
func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAffiliateWhitelistResponse) XXX_Merge ¶
func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateAffiliateWhitelistResponse) XXX_Size ¶
func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Size() int
func (*MsgUpdateAffiliateWhitelistResponse) XXX_Unmarshal ¶
func (m *MsgUpdateAffiliateWhitelistResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface {
// Query AffiliateInfo returns the affiliate info for a given address.
AffiliateInfo(ctx context.Context, in *AffiliateInfoRequest, opts ...grpc.CallOption) (*AffiliateInfoResponse, error)
// Query ReferredBy returns the affiliate that referred a given address.
ReferredBy(ctx context.Context, in *ReferredByRequest, opts ...grpc.CallOption) (*ReferredByResponse, error)
// Query AllAffiliateTiers returns all affiliate tiers.
AllAffiliateTiers(ctx context.Context, in *AllAffiliateTiersRequest, opts ...grpc.CallOption) (*AllAffiliateTiersResponse, error)
// Query AffiliateWhitelist returns the affiliate whitelist.
AffiliateWhitelist(ctx context.Context, in *AffiliateWhitelistRequest, opts ...grpc.CallOption) (*AffiliateWhitelistResponse, error)
// Query AffiliateParameters returns the affiliate parameters.
AffiliateParameters(ctx context.Context, in *AffiliateParametersRequest, opts ...grpc.CallOption) (*AffiliateParametersResponse, error)
// Query AffiliateOverrides returns the affiliate overrides.
AffiliateOverrides(ctx context.Context, in *AffiliateOverridesRequest, opts ...grpc.CallOption) (*AffiliateOverridesResponse, 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 QueryServer ¶
type QueryServer interface {
// Query AffiliateInfo returns the affiliate info for a given address.
AffiliateInfo(context.Context, *AffiliateInfoRequest) (*AffiliateInfoResponse, error)
// Query ReferredBy returns the affiliate that referred a given address.
ReferredBy(context.Context, *ReferredByRequest) (*ReferredByResponse, error)
// Query AllAffiliateTiers returns all affiliate tiers.
AllAffiliateTiers(context.Context, *AllAffiliateTiersRequest) (*AllAffiliateTiersResponse, error)
// Query AffiliateWhitelist returns the affiliate whitelist.
AffiliateWhitelist(context.Context, *AffiliateWhitelistRequest) (*AffiliateWhitelistResponse, error)
// Query AffiliateParameters returns the affiliate parameters.
AffiliateParameters(context.Context, *AffiliateParametersRequest) (*AffiliateParametersResponse, error)
// Query AffiliateOverrides returns the affiliate overrides.
AffiliateOverrides(context.Context, *AffiliateOverridesRequest) (*AffiliateOverridesResponse, error)
}
QueryServer is the server API for Query service.
type ReferredByRequest ¶
type ReferredByRequest struct {
// The address to query.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
ReferredByRequest is the request type for the Query/ReferredBy RPC method.
func (*ReferredByRequest) Descriptor ¶
func (*ReferredByRequest) Descriptor() ([]byte, []int)
func (*ReferredByRequest) GetAddress ¶
func (m *ReferredByRequest) GetAddress() string
func (*ReferredByRequest) Marshal ¶
func (m *ReferredByRequest) Marshal() (dAtA []byte, err error)
func (*ReferredByRequest) MarshalTo ¶
func (m *ReferredByRequest) MarshalTo(dAtA []byte) (int, error)
func (*ReferredByRequest) MarshalToSizedBuffer ¶
func (m *ReferredByRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReferredByRequest) ProtoMessage ¶
func (*ReferredByRequest) ProtoMessage()
func (*ReferredByRequest) Reset ¶
func (m *ReferredByRequest) Reset()
func (*ReferredByRequest) Size ¶
func (m *ReferredByRequest) Size() (n int)
func (*ReferredByRequest) String ¶
func (m *ReferredByRequest) String() string
func (*ReferredByRequest) Unmarshal ¶
func (m *ReferredByRequest) Unmarshal(dAtA []byte) error
func (*ReferredByRequest) XXX_DiscardUnknown ¶
func (m *ReferredByRequest) XXX_DiscardUnknown()
func (*ReferredByRequest) XXX_Marshal ¶
func (m *ReferredByRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReferredByRequest) XXX_Merge ¶
func (m *ReferredByRequest) XXX_Merge(src proto.Message)
func (*ReferredByRequest) XXX_Size ¶
func (m *ReferredByRequest) XXX_Size() int
func (*ReferredByRequest) XXX_Unmarshal ¶
func (m *ReferredByRequest) XXX_Unmarshal(b []byte) error
type ReferredByResponse ¶
type ReferredByResponse struct {
// The affiliate's address that referred the queried address.
AffiliateAddress string `protobuf:"bytes,1,opt,name=affiliate_address,json=affiliateAddress,proto3" json:"affiliate_address,omitempty"`
}
ReferredByResponse is the response type for the Query/ReferredBy RPC method.
func (*ReferredByResponse) Descriptor ¶
func (*ReferredByResponse) Descriptor() ([]byte, []int)
func (*ReferredByResponse) GetAffiliateAddress ¶
func (m *ReferredByResponse) GetAffiliateAddress() string
func (*ReferredByResponse) Marshal ¶
func (m *ReferredByResponse) Marshal() (dAtA []byte, err error)
func (*ReferredByResponse) MarshalTo ¶
func (m *ReferredByResponse) MarshalTo(dAtA []byte) (int, error)
func (*ReferredByResponse) MarshalToSizedBuffer ¶
func (m *ReferredByResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReferredByResponse) ProtoMessage ¶
func (*ReferredByResponse) ProtoMessage()
func (*ReferredByResponse) Reset ¶
func (m *ReferredByResponse) Reset()
func (*ReferredByResponse) Size ¶
func (m *ReferredByResponse) Size() (n int)
func (*ReferredByResponse) String ¶
func (m *ReferredByResponse) String() string
func (*ReferredByResponse) Unmarshal ¶
func (m *ReferredByResponse) Unmarshal(dAtA []byte) error
func (*ReferredByResponse) XXX_DiscardUnknown ¶
func (m *ReferredByResponse) XXX_DiscardUnknown()
func (*ReferredByResponse) XXX_Marshal ¶
func (m *ReferredByResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReferredByResponse) XXX_Merge ¶
func (m *ReferredByResponse) XXX_Merge(src proto.Message)
func (*ReferredByResponse) XXX_Size ¶
func (m *ReferredByResponse) XXX_Size() int
func (*ReferredByResponse) XXX_Unmarshal ¶
func (m *ReferredByResponse) XXX_Unmarshal(b []byte) error
type StatsKeeper ¶
type StatsKeeper interface {
GetStakedBaseTokens(ctx sdk.Context, delegatorAddr string) *big.Int
GetBlockStats(ctx sdk.Context) *stattypes.BlockStats
GetUserStats(ctx sdk.Context, address string) *stattypes.UserStats
SetUserStats(ctx sdk.Context, address string, userStats *stattypes.UserStats)
GetEpochStatsOrNil(ctx sdk.Context, epoch uint32) *stattypes.EpochStats
SetEpochStats(ctx sdk.Context, epoch uint32, epochStats *stattypes.EpochStats)
}
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RegisterAffiliate ¶
func (*UnimplementedMsgServer) RegisterAffiliate(ctx context.Context, req *MsgRegisterAffiliate) (*MsgRegisterAffiliateResponse, error)
func (*UnimplementedMsgServer) UpdateAffiliateOverrides ¶
func (*UnimplementedMsgServer) UpdateAffiliateOverrides(ctx context.Context, req *MsgUpdateAffiliateOverrides) (*MsgUpdateAffiliateOverridesResponse, error)
func (*UnimplementedMsgServer) UpdateAffiliateParameters ¶
func (*UnimplementedMsgServer) UpdateAffiliateParameters(ctx context.Context, req *MsgUpdateAffiliateParameters) (*MsgUpdateAffiliateParametersResponse, error)
func (*UnimplementedMsgServer) UpdateAffiliateTiers ¶
func (*UnimplementedMsgServer) UpdateAffiliateTiers(ctx context.Context, req *MsgUpdateAffiliateTiers) (*MsgUpdateAffiliateTiersResponse, error)
func (*UnimplementedMsgServer) UpdateAffiliateWhitelist ¶
func (*UnimplementedMsgServer) UpdateAffiliateWhitelist(ctx context.Context, req *MsgUpdateAffiliateWhitelist) (*MsgUpdateAffiliateWhitelistResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AffiliateInfo ¶
func (*UnimplementedQueryServer) AffiliateInfo(ctx context.Context, req *AffiliateInfoRequest) (*AffiliateInfoResponse, error)
func (*UnimplementedQueryServer) AffiliateOverrides ¶
func (*UnimplementedQueryServer) AffiliateOverrides(ctx context.Context, req *AffiliateOverridesRequest) (*AffiliateOverridesResponse, error)
func (*UnimplementedQueryServer) AffiliateParameters ¶
func (*UnimplementedQueryServer) AffiliateParameters(ctx context.Context, req *AffiliateParametersRequest) (*AffiliateParametersResponse, error)
func (*UnimplementedQueryServer) AffiliateWhitelist ¶
func (*UnimplementedQueryServer) AffiliateWhitelist(ctx context.Context, req *AffiliateWhitelistRequest) (*AffiliateWhitelistResponse, error)
func (*UnimplementedQueryServer) AllAffiliateTiers ¶
func (*UnimplementedQueryServer) AllAffiliateTiers(ctx context.Context, req *AllAffiliateTiersRequest) (*AllAffiliateTiersResponse, error)
func (*UnimplementedQueryServer) ReferredBy ¶
func (*UnimplementedQueryServer) ReferredBy(ctx context.Context, req *ReferredByRequest) (*ReferredByResponse, error)