Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetPoolGaugeIdInternalStoreKey(poolId uint64, duration time.Duration) []byte
- func GetPoolIdFromGaugeIdStoreKey(gaugeId uint64, duration time.Duration) []byte
- func GetPoolNoLockGaugeIdIterationStoreKey(poolId uint64) []byte
- func GetPoolNoLockGaugeIdStoreKey(poolId uint64, gaugeId uint64) []byte
- func NewReplacePoolIncentivesProposal(title, description string, records []DistrRecord) govtypesv1.Content
- func NewUpdatePoolIncentivesProposal(title, description string, records []DistrRecord) govtypesv1.Content
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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)
- func ValidateGenesis(data *GenesisState) error
- type AccountKeeper
- type AnyPoolToInternalGauges
- func (*AnyPoolToInternalGauges) Descriptor() ([]byte, []int)
- func (m *AnyPoolToInternalGauges) GetPoolToGauge() []PoolToGauge
- func (m *AnyPoolToInternalGauges) Marshal() (dAtA []byte, err error)
- func (m *AnyPoolToInternalGauges) MarshalTo(dAtA []byte) (int, error)
- func (m *AnyPoolToInternalGauges) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnyPoolToInternalGauges) ProtoMessage()
- func (m *AnyPoolToInternalGauges) Reset()
- func (m *AnyPoolToInternalGauges) Size() (n int)
- func (m *AnyPoolToInternalGauges) String() string
- func (m *AnyPoolToInternalGauges) Unmarshal(dAtA []byte) error
- func (m *AnyPoolToInternalGauges) XXX_DiscardUnknown()
- func (m *AnyPoolToInternalGauges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnyPoolToInternalGauges) XXX_Merge(src proto.Message)
- func (m *AnyPoolToInternalGauges) XXX_Size() int
- func (m *AnyPoolToInternalGauges) XXX_Unmarshal(b []byte) error
- type BalancerToConcentratedPoolLink
- func (*BalancerToConcentratedPoolLink) Descriptor() ([]byte, []int)
- func (this *BalancerToConcentratedPoolLink) Equal(that interface{}) bool
- func (m *BalancerToConcentratedPoolLink) GetBalancerPoolId() uint64
- func (m *BalancerToConcentratedPoolLink) GetClPoolId() uint64
- func (m *BalancerToConcentratedPoolLink) Marshal() (dAtA []byte, err error)
- func (m *BalancerToConcentratedPoolLink) MarshalTo(dAtA []byte) (int, error)
- func (m *BalancerToConcentratedPoolLink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BalancerToConcentratedPoolLink) ProtoMessage()
- func (m *BalancerToConcentratedPoolLink) Reset()
- func (m *BalancerToConcentratedPoolLink) Size() (n int)
- func (m *BalancerToConcentratedPoolLink) String() string
- func (m *BalancerToConcentratedPoolLink) Unmarshal(dAtA []byte) error
- func (m *BalancerToConcentratedPoolLink) XXX_DiscardUnknown()
- func (m *BalancerToConcentratedPoolLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalancerToConcentratedPoolLink) XXX_Merge(src proto.Message)
- func (m *BalancerToConcentratedPoolLink) XXX_Size() int
- func (m *BalancerToConcentratedPoolLink) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type ConcentratedPoolToNoLockGauges
- func (*ConcentratedPoolToNoLockGauges) Descriptor() ([]byte, []int)
- func (m *ConcentratedPoolToNoLockGauges) GetPoolToGauge() []PoolToGauge
- func (m *ConcentratedPoolToNoLockGauges) Marshal() (dAtA []byte, err error)
- func (m *ConcentratedPoolToNoLockGauges) MarshalTo(dAtA []byte) (int, error)
- func (m *ConcentratedPoolToNoLockGauges) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConcentratedPoolToNoLockGauges) ProtoMessage()
- func (m *ConcentratedPoolToNoLockGauges) Reset()
- func (m *ConcentratedPoolToNoLockGauges) Size() (n int)
- func (m *ConcentratedPoolToNoLockGauges) String() string
- func (m *ConcentratedPoolToNoLockGauges) Unmarshal(dAtA []byte) error
- func (m *ConcentratedPoolToNoLockGauges) XXX_DiscardUnknown()
- func (m *ConcentratedPoolToNoLockGauges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConcentratedPoolToNoLockGauges) XXX_Merge(src proto.Message)
- func (m *ConcentratedPoolToNoLockGauges) XXX_Size() int
- func (m *ConcentratedPoolToNoLockGauges) XXX_Unmarshal(b []byte) error
- type DistrInfo
- func (*DistrInfo) Descriptor() ([]byte, []int)
- func (m *DistrInfo) GetRecords() []DistrRecord
- func (m *DistrInfo) Marshal() (dAtA []byte, err error)
- func (m *DistrInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DistrInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DistrInfo) ProtoMessage()
- func (m *DistrInfo) Reset()
- func (m *DistrInfo) Size() (n int)
- func (m *DistrInfo) String() string
- func (m *DistrInfo) Unmarshal(dAtA []byte) error
- func (m *DistrInfo) XXX_DiscardUnknown()
- func (m *DistrInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DistrInfo) XXX_Merge(src proto.Message)
- func (m *DistrInfo) XXX_Size() int
- func (m *DistrInfo) XXX_Unmarshal(b []byte) error
- type DistrKeeper
- type DistrRecord
- func (*DistrRecord) Descriptor() ([]byte, []int)
- func (this *DistrRecord) Equal(that interface{}) bool
- func (m *DistrRecord) GetGaugeId() uint64
- func (m *DistrRecord) Marshal() (dAtA []byte, err error)
- func (m *DistrRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *DistrRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DistrRecord) ProtoMessage()
- func (m *DistrRecord) Reset()
- func (m *DistrRecord) Size() (n int)
- func (m *DistrRecord) String() string
- func (m *DistrRecord) Unmarshal(dAtA []byte) error
- func (r DistrRecord) ValidateBasic() error
- func (m *DistrRecord) XXX_DiscardUnknown()
- func (m *DistrRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DistrRecord) XXX_Merge(src proto.Message)
- func (m *DistrRecord) XXX_Size() int
- func (m *DistrRecord) XXX_Unmarshal(b []byte) error
- type EpochKeeper
- type GAMMKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAnyPoolToInternalGauges() *AnyPoolToInternalGauges
- func (m *GenesisState) GetConcentratedPoolToNoLockGauges() *ConcentratedPoolToNoLockGauges
- func (m *GenesisState) GetDistrInfo() *DistrInfo
- func (m *GenesisState) GetLockableDurations() []time.Duration
- func (m *GenesisState) GetParams() Params
- 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 (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 IncentiveRecordContainsNonLockableDurationError
- type IncentivesKeeper
- type IncentivizedPool
- func (*IncentivizedPool) Descriptor() ([]byte, []int)
- func (m *IncentivizedPool) GetGaugeId() uint64
- func (m *IncentivizedPool) GetLockableDuration() time.Duration
- func (m *IncentivizedPool) GetPoolId() uint64
- func (m *IncentivizedPool) Marshal() (dAtA []byte, err error)
- func (m *IncentivizedPool) MarshalTo(dAtA []byte) (int, error)
- func (m *IncentivizedPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IncentivizedPool) ProtoMessage()
- func (m *IncentivizedPool) Reset()
- func (m *IncentivizedPool) Size() (n int)
- func (m *IncentivizedPool) String() string
- func (m *IncentivizedPool) Unmarshal(dAtA []byte) error
- func (m *IncentivizedPool) XXX_DiscardUnknown()
- func (m *IncentivizedPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncentivizedPool) XXX_Merge(src proto.Message)
- func (m *IncentivizedPool) XXX_Size() int
- func (m *IncentivizedPool) XXX_Unmarshal(b []byte) error
- type LockableDurationsInfo
- func (*LockableDurationsInfo) Descriptor() ([]byte, []int)
- func (m *LockableDurationsInfo) GetLockableDurations() []time.Duration
- func (m *LockableDurationsInfo) Marshal() (dAtA []byte, err error)
- func (m *LockableDurationsInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *LockableDurationsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LockableDurationsInfo) ProtoMessage()
- func (m *LockableDurationsInfo) Reset()
- func (m *LockableDurationsInfo) Size() (n int)
- func (m *LockableDurationsInfo) String() string
- func (m *LockableDurationsInfo) Unmarshal(dAtA []byte) error
- func (m *LockableDurationsInfo) XXX_DiscardUnknown()
- func (m *LockableDurationsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockableDurationsInfo) XXX_Merge(src proto.Message)
- func (m *LockableDurationsInfo) XXX_Size() int
- func (m *LockableDurationsInfo) XXX_Unmarshal(b []byte) error
- type MigrationRecords
- func (*MigrationRecords) Descriptor() ([]byte, []int)
- func (m *MigrationRecords) GetBalancerToConcentratedPoolLinks() []BalancerToConcentratedPoolLink
- func (m *MigrationRecords) Marshal() (dAtA []byte, err error)
- func (m *MigrationRecords) MarshalTo(dAtA []byte) (int, error)
- func (m *MigrationRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MigrationRecords) ProtoMessage()
- func (m *MigrationRecords) Reset()
- func (m *MigrationRecords) Size() (n int)
- func (m *MigrationRecords) String() string
- func (m *MigrationRecords) Unmarshal(dAtA []byte) error
- func (m *MigrationRecords) XXX_DiscardUnknown()
- func (m *MigrationRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MigrationRecords) XXX_Merge(src proto.Message)
- func (m *MigrationRecords) XXX_Size() int
- func (m *MigrationRecords) XXX_Unmarshal(b []byte) error
- type NoGaugeAssociatedWithPoolError
- type NoPoolAssociatedWithGaugeError
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMintedDenom() string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PoolManagerKeeper
- type PoolToGauge
- func (*PoolToGauge) Descriptor() ([]byte, []int)
- func (m *PoolToGauge) GetDuration() time.Duration
- func (m *PoolToGauge) GetGaugeId() uint64
- func (m *PoolToGauge) GetPoolId() uint64
- func (m *PoolToGauge) Marshal() (dAtA []byte, err error)
- func (m *PoolToGauge) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolToGauge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolToGauge) ProtoMessage()
- func (m *PoolToGauge) Reset()
- func (m *PoolToGauge) Size() (n int)
- func (m *PoolToGauge) String() string
- func (m *PoolToGauge) Unmarshal(dAtA []byte) error
- func (m *PoolToGauge) XXX_DiscardUnknown()
- func (m *PoolToGauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolToGauge) XXX_Merge(src proto.Message)
- func (m *PoolToGauge) XXX_Size() int
- func (m *PoolToGauge) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDistrInfoRequest
- func (*QueryDistrInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryDistrInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDistrInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDistrInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDistrInfoRequest) ProtoMessage()
- func (m *QueryDistrInfoRequest) Reset()
- func (m *QueryDistrInfoRequest) Size() (n int)
- func (m *QueryDistrInfoRequest) String() string
- func (m *QueryDistrInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDistrInfoRequest) XXX_DiscardUnknown()
- func (m *QueryDistrInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDistrInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryDistrInfoRequest) XXX_Size() int
- func (m *QueryDistrInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryDistrInfoResponse
- func (*QueryDistrInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryDistrInfoResponse) GetDistrInfo() DistrInfo
- func (m *QueryDistrInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDistrInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDistrInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDistrInfoResponse) ProtoMessage()
- func (m *QueryDistrInfoResponse) Reset()
- func (m *QueryDistrInfoResponse) Size() (n int)
- func (m *QueryDistrInfoResponse) String() string
- func (m *QueryDistrInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDistrInfoResponse) XXX_DiscardUnknown()
- func (m *QueryDistrInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDistrInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryDistrInfoResponse) XXX_Size() int
- func (m *QueryDistrInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryExternalIncentiveGaugesRequest
- func (*QueryExternalIncentiveGaugesRequest) Descriptor() ([]byte, []int)
- func (m *QueryExternalIncentiveGaugesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExternalIncentiveGaugesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExternalIncentiveGaugesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExternalIncentiveGaugesRequest) ProtoMessage()
- func (m *QueryExternalIncentiveGaugesRequest) Reset()
- func (m *QueryExternalIncentiveGaugesRequest) Size() (n int)
- func (m *QueryExternalIncentiveGaugesRequest) String() string
- func (m *QueryExternalIncentiveGaugesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExternalIncentiveGaugesRequest) XXX_DiscardUnknown()
- func (m *QueryExternalIncentiveGaugesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExternalIncentiveGaugesRequest) XXX_Merge(src proto.Message)
- func (m *QueryExternalIncentiveGaugesRequest) XXX_Size() int
- func (m *QueryExternalIncentiveGaugesRequest) XXX_Unmarshal(b []byte) error
- type QueryExternalIncentiveGaugesResponse
- func (*QueryExternalIncentiveGaugesResponse) Descriptor() ([]byte, []int)
- func (m *QueryExternalIncentiveGaugesResponse) GetData() []types.Gauge
- func (m *QueryExternalIncentiveGaugesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExternalIncentiveGaugesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExternalIncentiveGaugesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExternalIncentiveGaugesResponse) ProtoMessage()
- func (m *QueryExternalIncentiveGaugesResponse) Reset()
- func (m *QueryExternalIncentiveGaugesResponse) Size() (n int)
- func (m *QueryExternalIncentiveGaugesResponse) String() string
- func (m *QueryExternalIncentiveGaugesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExternalIncentiveGaugesResponse) XXX_DiscardUnknown()
- func (m *QueryExternalIncentiveGaugesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExternalIncentiveGaugesResponse) XXX_Merge(src proto.Message)
- func (m *QueryExternalIncentiveGaugesResponse) XXX_Size() int
- func (m *QueryExternalIncentiveGaugesResponse) XXX_Unmarshal(b []byte) error
- type QueryGaugeIdsRequest
- func (*QueryGaugeIdsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGaugeIdsRequest) GetPoolId() uint64
- func (m *QueryGaugeIdsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGaugeIdsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGaugeIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGaugeIdsRequest) ProtoMessage()
- func (m *QueryGaugeIdsRequest) Reset()
- func (m *QueryGaugeIdsRequest) Size() (n int)
- func (m *QueryGaugeIdsRequest) String() string
- func (m *QueryGaugeIdsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGaugeIdsRequest) XXX_DiscardUnknown()
- func (m *QueryGaugeIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGaugeIdsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGaugeIdsRequest) XXX_Size() int
- func (m *QueryGaugeIdsRequest) XXX_Unmarshal(b []byte) error
- type QueryGaugeIdsResponse
- func (*QueryGaugeIdsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGaugeIdsResponse) GetGaugeIdsWithDuration() []*QueryGaugeIdsResponse_GaugeIdWithDuration
- func (m *QueryGaugeIdsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGaugeIdsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGaugeIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGaugeIdsResponse) ProtoMessage()
- func (m *QueryGaugeIdsResponse) Reset()
- func (m *QueryGaugeIdsResponse) Size() (n int)
- func (m *QueryGaugeIdsResponse) String() string
- func (m *QueryGaugeIdsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGaugeIdsResponse) XXX_DiscardUnknown()
- func (m *QueryGaugeIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGaugeIdsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGaugeIdsResponse) XXX_Size() int
- func (m *QueryGaugeIdsResponse) XXX_Unmarshal(b []byte) error
- type QueryGaugeIdsResponse_GaugeIdWithDuration
- func (*QueryGaugeIdsResponse_GaugeIdWithDuration) Descriptor() ([]byte, []int)
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) GetDuration() time.Duration
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) GetGaugeId() uint64
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) GetGaugeIncentivePercentage() string
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Marshal() (dAtA []byte, err error)
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGaugeIdsResponse_GaugeIdWithDuration) ProtoMessage()
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Reset()
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Size() (n int)
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) String() string
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Unmarshal(dAtA []byte) error
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_DiscardUnknown()
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Merge(src proto.Message)
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Size() int
- func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Unmarshal(b []byte) error
- type QueryIncentivizedPoolsRequest
- func (*QueryIncentivizedPoolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryIncentivizedPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryIncentivizedPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIncentivizedPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIncentivizedPoolsRequest) ProtoMessage()
- func (m *QueryIncentivizedPoolsRequest) Reset()
- func (m *QueryIncentivizedPoolsRequest) Size() (n int)
- func (m *QueryIncentivizedPoolsRequest) String() string
- func (m *QueryIncentivizedPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryIncentivizedPoolsRequest) XXX_DiscardUnknown()
- func (m *QueryIncentivizedPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIncentivizedPoolsRequest) XXX_Merge(src proto.Message)
- func (m *QueryIncentivizedPoolsRequest) XXX_Size() int
- func (m *QueryIncentivizedPoolsRequest) XXX_Unmarshal(b []byte) error
- type QueryIncentivizedPoolsResponse
- func (*QueryIncentivizedPoolsResponse) Descriptor() ([]byte, []int)
- func (m *QueryIncentivizedPoolsResponse) GetIncentivizedPools() []IncentivizedPool
- func (m *QueryIncentivizedPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIncentivizedPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIncentivizedPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIncentivizedPoolsResponse) ProtoMessage()
- func (m *QueryIncentivizedPoolsResponse) Reset()
- func (m *QueryIncentivizedPoolsResponse) Size() (n int)
- func (m *QueryIncentivizedPoolsResponse) String() string
- func (m *QueryIncentivizedPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIncentivizedPoolsResponse) XXX_DiscardUnknown()
- func (m *QueryIncentivizedPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIncentivizedPoolsResponse) XXX_Merge(src proto.Message)
- func (m *QueryIncentivizedPoolsResponse) XXX_Size() int
- func (m *QueryIncentivizedPoolsResponse) XXX_Unmarshal(b []byte) error
- type QueryLockableDurationsRequest
- func (*QueryLockableDurationsRequest) Descriptor() ([]byte, []int)
- func (m *QueryLockableDurationsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLockableDurationsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLockableDurationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLockableDurationsRequest) ProtoMessage()
- func (m *QueryLockableDurationsRequest) Reset()
- func (m *QueryLockableDurationsRequest) Size() (n int)
- func (m *QueryLockableDurationsRequest) String() string
- func (m *QueryLockableDurationsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLockableDurationsRequest) XXX_DiscardUnknown()
- func (m *QueryLockableDurationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLockableDurationsRequest) XXX_Merge(src proto.Message)
- func (m *QueryLockableDurationsRequest) XXX_Size() int
- func (m *QueryLockableDurationsRequest) XXX_Unmarshal(b []byte) error
- type QueryLockableDurationsResponse
- func (*QueryLockableDurationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryLockableDurationsResponse) GetLockableDurations() []time.Duration
- func (m *QueryLockableDurationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLockableDurationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLockableDurationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLockableDurationsResponse) ProtoMessage()
- func (m *QueryLockableDurationsResponse) Reset()
- func (m *QueryLockableDurationsResponse) Size() (n int)
- func (m *QueryLockableDurationsResponse) String() string
- func (m *QueryLockableDurationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLockableDurationsResponse) XXX_DiscardUnknown()
- func (m *QueryLockableDurationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLockableDurationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryLockableDurationsResponse) XXX_Size() int
- func (m *QueryLockableDurationsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type ReplacePoolIncentivesProposal
- func (*ReplacePoolIncentivesProposal) Descriptor() ([]byte, []int)
- func (this *ReplacePoolIncentivesProposal) Equal(that interface{}) bool
- func (p *ReplacePoolIncentivesProposal) GetDescription() string
- func (p *ReplacePoolIncentivesProposal) GetTitle() string
- func (m *ReplacePoolIncentivesProposal) Marshal() (dAtA []byte, err error)
- func (m *ReplacePoolIncentivesProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ReplacePoolIncentivesProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ReplacePoolIncentivesProposal) ProposalRoute() string
- func (p *ReplacePoolIncentivesProposal) ProposalType() string
- func (*ReplacePoolIncentivesProposal) ProtoMessage()
- func (m *ReplacePoolIncentivesProposal) Reset()
- func (m *ReplacePoolIncentivesProposal) Size() (n int)
- func (p ReplacePoolIncentivesProposal) String() string
- func (m *ReplacePoolIncentivesProposal) Unmarshal(dAtA []byte) error
- func (p *ReplacePoolIncentivesProposal) ValidateBasic() error
- func (m *ReplacePoolIncentivesProposal) XXX_DiscardUnknown()
- func (m *ReplacePoolIncentivesProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplacePoolIncentivesProposal) XXX_Merge(src proto.Message)
- func (m *ReplacePoolIncentivesProposal) XXX_Size() int
- func (m *ReplacePoolIncentivesProposal) XXX_Unmarshal(b []byte) error
- type SuperfluidKeeper
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DistrInfo(ctx context.Context, req *QueryDistrInfoRequest) (*QueryDistrInfoResponse, error)
- func (*UnimplementedQueryServer) ExternalIncentiveGauges(ctx context.Context, req *QueryExternalIncentiveGaugesRequest) (*QueryExternalIncentiveGaugesResponse, error)
- func (*UnimplementedQueryServer) GaugeIds(ctx context.Context, req *QueryGaugeIdsRequest) (*QueryGaugeIdsResponse, error)
- func (*UnimplementedQueryServer) IncentivizedPools(ctx context.Context, req *QueryIncentivizedPoolsRequest) (*QueryIncentivizedPoolsResponse, error)
- func (*UnimplementedQueryServer) LockableDurations(ctx context.Context, req *QueryLockableDurationsRequest) (*QueryLockableDurationsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsupportedPoolTypeError
- type UpdatePoolIncentivesProposal
- func (*UpdatePoolIncentivesProposal) Descriptor() ([]byte, []int)
- func (this *UpdatePoolIncentivesProposal) Equal(that interface{}) bool
- func (p *UpdatePoolIncentivesProposal) GetDescription() string
- func (p *UpdatePoolIncentivesProposal) GetTitle() string
- func (m *UpdatePoolIncentivesProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdatePoolIncentivesProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdatePoolIncentivesProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *UpdatePoolIncentivesProposal) ProposalRoute() string
- func (p *UpdatePoolIncentivesProposal) ProposalType() string
- func (*UpdatePoolIncentivesProposal) ProtoMessage()
- func (m *UpdatePoolIncentivesProposal) Reset()
- func (m *UpdatePoolIncentivesProposal) Size() (n int)
- func (p UpdatePoolIncentivesProposal) String() string
- func (m *UpdatePoolIncentivesProposal) Unmarshal(dAtA []byte) error
- func (p *UpdatePoolIncentivesProposal) ValidateBasic() error
- func (m *UpdatePoolIncentivesProposal) XXX_DiscardUnknown()
- func (m *UpdatePoolIncentivesProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePoolIncentivesProposal) XXX_Merge(src proto.Message)
- func (m *UpdatePoolIncentivesProposal) XXX_Size() int
- func (m *UpdatePoolIncentivesProposal) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ProposalTypeUpdatePoolIncentives = "UpdatePoolIncentives" ProposalTypeReplacePoolIncentives = "ReplacePoolIncentives" )
const ( ModuleName = "poolincentives" StoreKey = ModuleName RouterKey = ModuleName QuerierRoute = ModuleName )
const CommunityPoolDistributionGaugeID uint64 = 0
If pool incentive distribution record gauge ID is 0, it means the distribution is for the community pool.
Variables ¶
var ( ErrNoGaugeIdExist = errorsmod.Register(ModuleName, 1, "no gauge id exist") ErrDistrRecordNotPositiveWeight = errorsmod.Register(ModuleName, 2, "weight in record should be positive") ErrDistrRecordNotRegisteredGauge = errorsmod.Register(ModuleName, 3, "gauge was not registered") ErrDistrRecordRegisteredGauge = errorsmod.Register(ModuleName, 4, "gauge was already registered") ErrDistrRecordNotSorted = errorsmod.Register(ModuleName, 5, "gauges are not sorted") ErrEmptyProposalRecords = errorsmod.Register(ModuleName, 10, "records are empty") ErrEmptyProposalGaugeIds = errorsmod.Register(ModuleName, 11, "gauge ids are empty") )
The following regiisters various pool-incentives errors.
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 ( ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthIncentives = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIncentives = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIncentives = fmt.Errorf("proto: unexpected end of group") )
var ( LockableDurationsKey = []byte("lockable_durations") DistrInfoKey = []byte("distr_info") )
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 ()
var KeyMintedDenom = []byte("MintedDenom")
Functions ¶
func GetPoolGaugeIdInternalStoreKey ¶
GetPoolGaugeIdInternalStoreKey returns a StoreKey with pool ID and its duration as inputs This is used for linking pool id, duration and gauge id for internal incentives.
func GetPoolIdFromGaugeIdStoreKey ¶
GetPoolIdFromGaugeIdStoreKey returns a StoreKey from the given gaugeID and duration.
func GetPoolNoLockGaugeIdIterationStoreKey ¶
GetPoolNoLockGaugeIdIterationStoreKey returns a StoreKey with pool ID as input assumming that the pool has no lockable duration. It is used for collecting values by iterating over this prefix.
func GetPoolNoLockGaugeIdStoreKey ¶
GetPoolNoLockGaugeIdStoreKey returns a StoreKey with pool ID and gauge id as input assumming that the pool has no lockable duration.
func NewReplacePoolIncentivesProposal ¶
func NewReplacePoolIncentivesProposal(title, description string, records []DistrRecord) govtypesv1.Content
NewReplacePoolIncentivesProposal returns a new instance of a replace pool incentives proposal struct.
func NewUpdatePoolIncentivesProposal ¶
func NewUpdatePoolIncentivesProposal(title, description string, records []DistrRecord) govtypesv1.Content
NewReplacePoolIncentivesProposal returns a new instance of a replace pool incentives proposal struct.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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)
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
ValidateGenesis validates the provided pool-yield genesis state to ensure the expected invariants holds. (i.e. params in correct bounds).
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, name string) authtypes.ModuleAccountI }
AccountKeeper interface contains functions for getting accounts and the module address
type AnyPoolToInternalGauges ¶
type AnyPoolToInternalGauges struct {
PoolToGauge []PoolToGauge `protobuf:"bytes,2,rep,name=pool_to_gauge,json=poolToGauge,proto3" json:"pool_to_gauge"`
}
func (*AnyPoolToInternalGauges) Descriptor ¶
func (*AnyPoolToInternalGauges) Descriptor() ([]byte, []int)
func (*AnyPoolToInternalGauges) GetPoolToGauge ¶
func (m *AnyPoolToInternalGauges) GetPoolToGauge() []PoolToGauge
func (*AnyPoolToInternalGauges) Marshal ¶
func (m *AnyPoolToInternalGauges) Marshal() (dAtA []byte, err error)
func (*AnyPoolToInternalGauges) MarshalTo ¶
func (m *AnyPoolToInternalGauges) MarshalTo(dAtA []byte) (int, error)
func (*AnyPoolToInternalGauges) MarshalToSizedBuffer ¶
func (m *AnyPoolToInternalGauges) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyPoolToInternalGauges) ProtoMessage ¶
func (*AnyPoolToInternalGauges) ProtoMessage()
func (*AnyPoolToInternalGauges) Reset ¶
func (m *AnyPoolToInternalGauges) Reset()
func (*AnyPoolToInternalGauges) Size ¶
func (m *AnyPoolToInternalGauges) Size() (n int)
func (*AnyPoolToInternalGauges) String ¶
func (m *AnyPoolToInternalGauges) String() string
func (*AnyPoolToInternalGauges) Unmarshal ¶
func (m *AnyPoolToInternalGauges) Unmarshal(dAtA []byte) error
func (*AnyPoolToInternalGauges) XXX_DiscardUnknown ¶
func (m *AnyPoolToInternalGauges) XXX_DiscardUnknown()
func (*AnyPoolToInternalGauges) XXX_Marshal ¶
func (m *AnyPoolToInternalGauges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnyPoolToInternalGauges) XXX_Merge ¶
func (m *AnyPoolToInternalGauges) XXX_Merge(src proto.Message)
func (*AnyPoolToInternalGauges) XXX_Size ¶
func (m *AnyPoolToInternalGauges) XXX_Size() int
func (*AnyPoolToInternalGauges) XXX_Unmarshal ¶
func (m *AnyPoolToInternalGauges) XXX_Unmarshal(b []byte) error
type BalancerToConcentratedPoolLink ¶
type BalancerToConcentratedPoolLink struct { BalancerPoolId uint64 `protobuf:"varint,1,opt,name=balancer_pool_id,json=balancerPoolId,proto3" json:"balancer_pool_id,omitempty"` ClPoolId uint64 `protobuf:"varint,2,opt,name=cl_pool_id,json=clPoolId,proto3" json:"cl_pool_id,omitempty"` }
BalancerToConcentratedPoolLink defines a single link between a single balancer pool and a single concentrated liquidity pool. This link is used to allow a balancer pool to migrate to a single canonical full range concentrated liquidity pool position A balancer pool can be linked to a maximum of one cl pool, and a cl pool can be linked to a maximum of one balancer pool.
This is copied over from the gamm proto file in order to circumnavigate the circular dependency between the two modules.
func (*BalancerToConcentratedPoolLink) Descriptor ¶
func (*BalancerToConcentratedPoolLink) Descriptor() ([]byte, []int)
func (*BalancerToConcentratedPoolLink) Equal ¶
func (this *BalancerToConcentratedPoolLink) Equal(that interface{}) bool
func (*BalancerToConcentratedPoolLink) GetBalancerPoolId ¶
func (m *BalancerToConcentratedPoolLink) GetBalancerPoolId() uint64
func (*BalancerToConcentratedPoolLink) GetClPoolId ¶
func (m *BalancerToConcentratedPoolLink) GetClPoolId() uint64
func (*BalancerToConcentratedPoolLink) Marshal ¶
func (m *BalancerToConcentratedPoolLink) Marshal() (dAtA []byte, err error)
func (*BalancerToConcentratedPoolLink) MarshalTo ¶
func (m *BalancerToConcentratedPoolLink) MarshalTo(dAtA []byte) (int, error)
func (*BalancerToConcentratedPoolLink) MarshalToSizedBuffer ¶
func (m *BalancerToConcentratedPoolLink) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BalancerToConcentratedPoolLink) ProtoMessage ¶
func (*BalancerToConcentratedPoolLink) ProtoMessage()
func (*BalancerToConcentratedPoolLink) Reset ¶
func (m *BalancerToConcentratedPoolLink) Reset()
func (*BalancerToConcentratedPoolLink) Size ¶
func (m *BalancerToConcentratedPoolLink) Size() (n int)
func (*BalancerToConcentratedPoolLink) String ¶
func (m *BalancerToConcentratedPoolLink) String() string
func (*BalancerToConcentratedPoolLink) Unmarshal ¶
func (m *BalancerToConcentratedPoolLink) Unmarshal(dAtA []byte) error
func (*BalancerToConcentratedPoolLink) XXX_DiscardUnknown ¶
func (m *BalancerToConcentratedPoolLink) XXX_DiscardUnknown()
func (*BalancerToConcentratedPoolLink) XXX_Marshal ¶
func (m *BalancerToConcentratedPoolLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BalancerToConcentratedPoolLink) XXX_Merge ¶
func (m *BalancerToConcentratedPoolLink) XXX_Merge(src proto.Message)
func (*BalancerToConcentratedPoolLink) XXX_Size ¶
func (m *BalancerToConcentratedPoolLink) XXX_Size() int
func (*BalancerToConcentratedPoolLink) XXX_Unmarshal ¶
func (m *BalancerToConcentratedPoolLink) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface {
GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
}
BankKeeper sends tokens across modules and is able to get account balances.
type ConcentratedPoolToNoLockGauges ¶
type ConcentratedPoolToNoLockGauges struct {
PoolToGauge []PoolToGauge `protobuf:"bytes,1,rep,name=pool_to_gauge,json=poolToGauge,proto3" json:"pool_to_gauge"`
}
func (*ConcentratedPoolToNoLockGauges) Descriptor ¶
func (*ConcentratedPoolToNoLockGauges) Descriptor() ([]byte, []int)
func (*ConcentratedPoolToNoLockGauges) GetPoolToGauge ¶
func (m *ConcentratedPoolToNoLockGauges) GetPoolToGauge() []PoolToGauge
func (*ConcentratedPoolToNoLockGauges) Marshal ¶
func (m *ConcentratedPoolToNoLockGauges) Marshal() (dAtA []byte, err error)
func (*ConcentratedPoolToNoLockGauges) MarshalTo ¶
func (m *ConcentratedPoolToNoLockGauges) MarshalTo(dAtA []byte) (int, error)
func (*ConcentratedPoolToNoLockGauges) MarshalToSizedBuffer ¶
func (m *ConcentratedPoolToNoLockGauges) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConcentratedPoolToNoLockGauges) ProtoMessage ¶
func (*ConcentratedPoolToNoLockGauges) ProtoMessage()
func (*ConcentratedPoolToNoLockGauges) Reset ¶
func (m *ConcentratedPoolToNoLockGauges) Reset()
func (*ConcentratedPoolToNoLockGauges) Size ¶
func (m *ConcentratedPoolToNoLockGauges) Size() (n int)
func (*ConcentratedPoolToNoLockGauges) String ¶
func (m *ConcentratedPoolToNoLockGauges) String() string
func (*ConcentratedPoolToNoLockGauges) Unmarshal ¶
func (m *ConcentratedPoolToNoLockGauges) Unmarshal(dAtA []byte) error
func (*ConcentratedPoolToNoLockGauges) XXX_DiscardUnknown ¶
func (m *ConcentratedPoolToNoLockGauges) XXX_DiscardUnknown()
func (*ConcentratedPoolToNoLockGauges) XXX_Marshal ¶
func (m *ConcentratedPoolToNoLockGauges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConcentratedPoolToNoLockGauges) XXX_Merge ¶
func (m *ConcentratedPoolToNoLockGauges) XXX_Merge(src proto.Message)
func (*ConcentratedPoolToNoLockGauges) XXX_Size ¶
func (m *ConcentratedPoolToNoLockGauges) XXX_Size() int
func (*ConcentratedPoolToNoLockGauges) XXX_Unmarshal ¶
func (m *ConcentratedPoolToNoLockGauges) XXX_Unmarshal(b []byte) error
type DistrInfo ¶
type DistrInfo struct { TotalWeight cosmossdk_io_math.Int `` /* 137-byte string literal not displayed */ Records []DistrRecord `protobuf:"bytes,2,rep,name=records,proto3" json:"records"` }
func (*DistrInfo) Descriptor ¶
func (*DistrInfo) GetRecords ¶
func (m *DistrInfo) GetRecords() []DistrRecord
func (*DistrInfo) MarshalToSizedBuffer ¶
func (*DistrInfo) ProtoMessage ¶
func (*DistrInfo) ProtoMessage()
func (*DistrInfo) XXX_DiscardUnknown ¶
func (m *DistrInfo) XXX_DiscardUnknown()
func (*DistrInfo) XXX_Marshal ¶
func (*DistrInfo) XXX_Unmarshal ¶
type DistrKeeper ¶
type DistrKeeper interface { SetFeePool(ctx sdk.Context, feePool distrtypes.FeePool) FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error }
DistrKeeper handles pool-fees functionality - setting / getting fees and funding the community pool.
type DistrRecord ¶
type DistrRecord struct { GaugeId uint64 `protobuf:"varint,1,opt,name=gauge_id,json=gaugeId,proto3" json:"gauge_id,omitempty" yaml:"gauge_id"` Weight cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=weight,proto3,customtype=cosmossdk.io/math.Int" json:"weight"` }
func (*DistrRecord) Descriptor ¶
func (*DistrRecord) Descriptor() ([]byte, []int)
func (*DistrRecord) Equal ¶
func (this *DistrRecord) Equal(that interface{}) bool
func (*DistrRecord) GetGaugeId ¶
func (m *DistrRecord) GetGaugeId() uint64
func (*DistrRecord) Marshal ¶
func (m *DistrRecord) Marshal() (dAtA []byte, err error)
func (*DistrRecord) MarshalToSizedBuffer ¶
func (m *DistrRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DistrRecord) ProtoMessage ¶
func (*DistrRecord) ProtoMessage()
func (*DistrRecord) Reset ¶
func (m *DistrRecord) Reset()
func (*DistrRecord) Size ¶
func (m *DistrRecord) Size() (n int)
func (*DistrRecord) String ¶
func (m *DistrRecord) String() string
func (*DistrRecord) Unmarshal ¶
func (m *DistrRecord) Unmarshal(dAtA []byte) error
func (DistrRecord) ValidateBasic ¶
func (r DistrRecord) ValidateBasic() error
ValidateBasic is a basic validation test on recordd distribution gauges' weights.
func (*DistrRecord) XXX_DiscardUnknown ¶
func (m *DistrRecord) XXX_DiscardUnknown()
func (*DistrRecord) XXX_Marshal ¶
func (m *DistrRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DistrRecord) XXX_Merge ¶
func (m *DistrRecord) XXX_Merge(src proto.Message)
func (*DistrRecord) XXX_Size ¶
func (m *DistrRecord) XXX_Size() int
func (*DistrRecord) XXX_Unmarshal ¶
func (m *DistrRecord) XXX_Unmarshal(b []byte) error
type EpochKeeper ¶
type EpochKeeper interface {
GetEpochInfo(ctx sdk.Context, identifier string) epochstypes.EpochInfo
}
type GAMMKeeper ¶
type GAMMKeeper interface {
GetAllMigrationInfo(ctx sdk.Context) (gammmigration.MigrationRecords, error)
}
type GenesisState ¶
type GenesisState struct { // params defines all the paramaters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` LockableDurations []time.Duration `` /* 140-byte string literal not displayed */ DistrInfo *DistrInfo `protobuf:"bytes,3,opt,name=distr_info,json=distrInfo,proto3" json:"distr_info,omitempty" yaml:"distr_info"` // any_pool_to_internal_gauges defines the gauges for any pool to internal // pool. For every pool type (e.g. LP, Concentrated, etc), there is one such // link AnyPoolToInternalGauges *AnyPoolToInternalGauges `` /* 167-byte string literal not displayed */ // concentrated_pool_to_no_lock_gauges defines the no lock gauges for // concentrated pool. This only exists between concentrated pool and no lock // gauges. Both external and internal gauges are included. ConcentratedPoolToNoLockGauges *ConcentratedPoolToNoLockGauges `` /* 202-byte string literal not displayed */ }
GenesisState defines the pool incentives module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState gets the raw genesis raw message for testing.
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/pool-yield GenesisState given raw application genesis state.
func NewGenesisState ¶
func NewGenesisState(params Params, lockableDurations []time.Duration, distrInfo *DistrInfo) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAnyPoolToInternalGauges ¶
func (m *GenesisState) GetAnyPoolToInternalGauges() *AnyPoolToInternalGauges
func (*GenesisState) GetConcentratedPoolToNoLockGauges ¶
func (m *GenesisState) GetConcentratedPoolToNoLockGauges() *ConcentratedPoolToNoLockGauges
func (*GenesisState) GetDistrInfo ¶
func (m *GenesisState) GetDistrInfo() *DistrInfo
func (*GenesisState) GetLockableDurations ¶
func (m *GenesisState) GetLockableDurations() []time.Duration
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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) 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 IncentiveRecordContainsNonLockableDurationError ¶
type IncentiveRecordContainsNonLockableDurationError struct { GaugeId uint64 Duration time.Duration LockableDurations []time.Duration }
func (IncentiveRecordContainsNonLockableDurationError) Error ¶
func (e IncentiveRecordContainsNonLockableDurationError) Error() string
type IncentivesKeeper ¶
type IncentivesKeeper interface { CreateGauge(ctx sdk.Context, isPerpetual bool, owner sdk.AccAddress, coins sdk.Coins, distrTo lockuptypes.QueryCondition, startTime time.Time, numEpochsPaidOver uint64, poolId uint64) (uint64, error) GetGaugeByID(ctx sdk.Context, gaugeID uint64) (*incentivestypes.Gauge, error) GetGauges(ctx sdk.Context) []incentivestypes.Gauge GetParams(ctx sdk.Context) incentivestypes.Params GetEpochInfo(ctx sdk.Context) epochstypes.EpochInfo AddToGaugeRewards(ctx sdk.Context, owner sdk.AccAddress, coins sdk.Coins, gaugeID uint64) error GetGroupByGaugeID(ctx sdk.Context, gaugeID uint64) (incentivestypes.Group, error) GetPoolIdsAndDurationsFromGaugeRecords(ctx sdk.Context, gaugeRecords []incentivestypes.InternalGaugeRecord) ([]uint64, []time.Duration, error) }
IncentivesKeeper creates and gets gauges, and also allows additions to gauge rewards.
type IncentivizedPool ¶
type IncentivizedPool struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` LockableDuration time.Duration `` /* 136-byte string literal not displayed */ GaugeId uint64 `protobuf:"varint,3,opt,name=gauge_id,json=gaugeId,proto3" json:"gauge_id,omitempty" yaml:"gauge_id"` }
func (*IncentivizedPool) Descriptor ¶
func (*IncentivizedPool) Descriptor() ([]byte, []int)
func (*IncentivizedPool) GetGaugeId ¶
func (m *IncentivizedPool) GetGaugeId() uint64
func (*IncentivizedPool) GetLockableDuration ¶
func (m *IncentivizedPool) GetLockableDuration() time.Duration
func (*IncentivizedPool) GetPoolId ¶
func (m *IncentivizedPool) GetPoolId() uint64
func (*IncentivizedPool) Marshal ¶
func (m *IncentivizedPool) Marshal() (dAtA []byte, err error)
func (*IncentivizedPool) MarshalToSizedBuffer ¶
func (m *IncentivizedPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IncentivizedPool) ProtoMessage ¶
func (*IncentivizedPool) ProtoMessage()
func (*IncentivizedPool) Reset ¶
func (m *IncentivizedPool) Reset()
func (*IncentivizedPool) Size ¶
func (m *IncentivizedPool) Size() (n int)
func (*IncentivizedPool) String ¶
func (m *IncentivizedPool) String() string
func (*IncentivizedPool) Unmarshal ¶
func (m *IncentivizedPool) Unmarshal(dAtA []byte) error
func (*IncentivizedPool) XXX_DiscardUnknown ¶
func (m *IncentivizedPool) XXX_DiscardUnknown()
func (*IncentivizedPool) XXX_Marshal ¶
func (m *IncentivizedPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncentivizedPool) XXX_Merge ¶
func (m *IncentivizedPool) XXX_Merge(src proto.Message)
func (*IncentivizedPool) XXX_Size ¶
func (m *IncentivizedPool) XXX_Size() int
func (*IncentivizedPool) XXX_Unmarshal ¶
func (m *IncentivizedPool) XXX_Unmarshal(b []byte) error
type LockableDurationsInfo ¶
type LockableDurationsInfo struct {
LockableDurations []time.Duration `` /* 140-byte string literal not displayed */
}
func (*LockableDurationsInfo) Descriptor ¶
func (*LockableDurationsInfo) Descriptor() ([]byte, []int)
func (*LockableDurationsInfo) GetLockableDurations ¶
func (m *LockableDurationsInfo) GetLockableDurations() []time.Duration
func (*LockableDurationsInfo) Marshal ¶
func (m *LockableDurationsInfo) Marshal() (dAtA []byte, err error)
func (*LockableDurationsInfo) MarshalTo ¶
func (m *LockableDurationsInfo) MarshalTo(dAtA []byte) (int, error)
func (*LockableDurationsInfo) MarshalToSizedBuffer ¶
func (m *LockableDurationsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LockableDurationsInfo) ProtoMessage ¶
func (*LockableDurationsInfo) ProtoMessage()
func (*LockableDurationsInfo) Reset ¶
func (m *LockableDurationsInfo) Reset()
func (*LockableDurationsInfo) Size ¶
func (m *LockableDurationsInfo) Size() (n int)
func (*LockableDurationsInfo) String ¶
func (m *LockableDurationsInfo) String() string
func (*LockableDurationsInfo) Unmarshal ¶
func (m *LockableDurationsInfo) Unmarshal(dAtA []byte) error
func (*LockableDurationsInfo) XXX_DiscardUnknown ¶
func (m *LockableDurationsInfo) XXX_DiscardUnknown()
func (*LockableDurationsInfo) XXX_Marshal ¶
func (m *LockableDurationsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LockableDurationsInfo) XXX_Merge ¶
func (m *LockableDurationsInfo) XXX_Merge(src proto.Message)
func (*LockableDurationsInfo) XXX_Size ¶
func (m *LockableDurationsInfo) XXX_Size() int
func (*LockableDurationsInfo) XXX_Unmarshal ¶
func (m *LockableDurationsInfo) XXX_Unmarshal(b []byte) error
type MigrationRecords ¶
type MigrationRecords struct {
BalancerToConcentratedPoolLinks []BalancerToConcentratedPoolLink `` /* 150-byte string literal not displayed */
}
MigrationRecords contains all the links between balancer and concentrated pools.
This is copied over from the gamm proto file in order to circumnavigate the circular dependency between the two modules.
func (*MigrationRecords) Descriptor ¶
func (*MigrationRecords) Descriptor() ([]byte, []int)
func (*MigrationRecords) GetBalancerToConcentratedPoolLinks ¶
func (m *MigrationRecords) GetBalancerToConcentratedPoolLinks() []BalancerToConcentratedPoolLink
func (*MigrationRecords) Marshal ¶
func (m *MigrationRecords) Marshal() (dAtA []byte, err error)
func (*MigrationRecords) MarshalToSizedBuffer ¶
func (m *MigrationRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MigrationRecords) ProtoMessage ¶
func (*MigrationRecords) ProtoMessage()
func (*MigrationRecords) Reset ¶
func (m *MigrationRecords) Reset()
func (*MigrationRecords) Size ¶
func (m *MigrationRecords) Size() (n int)
func (*MigrationRecords) String ¶
func (m *MigrationRecords) String() string
func (*MigrationRecords) Unmarshal ¶
func (m *MigrationRecords) Unmarshal(dAtA []byte) error
func (*MigrationRecords) XXX_DiscardUnknown ¶
func (m *MigrationRecords) XXX_DiscardUnknown()
func (*MigrationRecords) XXX_Marshal ¶
func (m *MigrationRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MigrationRecords) XXX_Merge ¶
func (m *MigrationRecords) XXX_Merge(src proto.Message)
func (*MigrationRecords) XXX_Size ¶
func (m *MigrationRecords) XXX_Size() int
func (*MigrationRecords) XXX_Unmarshal ¶
func (m *MigrationRecords) XXX_Unmarshal(b []byte) error
type NoGaugeAssociatedWithPoolError ¶
func (NoGaugeAssociatedWithPoolError) Error ¶
func (e NoGaugeAssociatedWithPoolError) Error() string
type NoPoolAssociatedWithGaugeError ¶
func (NoPoolAssociatedWithGaugeError) Error ¶
func (e NoPoolAssociatedWithGaugeError) Error() string
type Params ¶
type Params struct { // minted_denom is the denomination of the coin expected to be minted by the // minting module. Pool-incentives module doesn’t actually mint the coin // itself, but rather manages the distribution of coins that matches the // defined minted_denom. MintedDenom string `protobuf:"bytes,1,opt,name=minted_denom,json=mintedDenom,proto3" json:"minted_denom,omitempty" yaml:"minted_denom"` }
func DefaultParams ¶
func DefaultParams() Params
DefaultParams is the default parameter configuration for the pool-incentives module.
func (*Params) Descriptor ¶
func (*Params) GetMintedDenom ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PoolManagerKeeper ¶
type PoolManagerKeeper interface { GetNextPoolId(ctx sdk.Context) uint64 GetPool(ctx sdk.Context, poolId uint64) (poolmanagertypes.PoolI, error) }
PoolManagerKeeper gets the pool interface from poolID.
type PoolToGauge ¶
type PoolToGauge struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` GaugeId uint64 `protobuf:"varint,2,opt,name=gauge_id,json=gaugeId,proto3" json:"gauge_id,omitempty" yaml:"gauge"` Duration time.Duration `protobuf:"bytes,3,opt,name=duration,proto3,stdduration" json:"duration" yaml:"duration"` }
func (*PoolToGauge) Descriptor ¶
func (*PoolToGauge) Descriptor() ([]byte, []int)
func (*PoolToGauge) GetDuration ¶
func (m *PoolToGauge) GetDuration() time.Duration
func (*PoolToGauge) GetGaugeId ¶
func (m *PoolToGauge) GetGaugeId() uint64
func (*PoolToGauge) GetPoolId ¶
func (m *PoolToGauge) GetPoolId() uint64
func (*PoolToGauge) Marshal ¶
func (m *PoolToGauge) Marshal() (dAtA []byte, err error)
func (*PoolToGauge) MarshalToSizedBuffer ¶
func (m *PoolToGauge) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolToGauge) ProtoMessage ¶
func (*PoolToGauge) ProtoMessage()
func (*PoolToGauge) Reset ¶
func (m *PoolToGauge) Reset()
func (*PoolToGauge) Size ¶
func (m *PoolToGauge) Size() (n int)
func (*PoolToGauge) String ¶
func (m *PoolToGauge) String() string
func (*PoolToGauge) Unmarshal ¶
func (m *PoolToGauge) Unmarshal(dAtA []byte) error
func (*PoolToGauge) XXX_DiscardUnknown ¶
func (m *PoolToGauge) XXX_DiscardUnknown()
func (*PoolToGauge) XXX_Marshal ¶
func (m *PoolToGauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolToGauge) XXX_Merge ¶
func (m *PoolToGauge) XXX_Merge(src proto.Message)
func (*PoolToGauge) XXX_Size ¶
func (m *PoolToGauge) XXX_Size() int
func (*PoolToGauge) XXX_Unmarshal ¶
func (m *PoolToGauge) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // GaugeIds takes the pool id and returns the matching gauge ids and durations GaugeIds(ctx context.Context, in *QueryGaugeIdsRequest, opts ...grpc.CallOption) (*QueryGaugeIdsResponse, error) // DistrInfo returns the pool's matching gauge ids and weights. DistrInfo(ctx context.Context, in *QueryDistrInfoRequest, opts ...grpc.CallOption) (*QueryDistrInfoResponse, error) // Params returns pool incentives params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // LockableDurations returns lock durations for pools. LockableDurations(ctx context.Context, in *QueryLockableDurationsRequest, opts ...grpc.CallOption) (*QueryLockableDurationsResponse, error) // IncentivizedPools returns currently incentivized pools IncentivizedPools(ctx context.Context, in *QueryIncentivizedPoolsRequest, opts ...grpc.CallOption) (*QueryIncentivizedPoolsResponse, error) // ExternalIncentiveGauges returns external incentive gauges. ExternalIncentiveGauges(ctx context.Context, in *QueryExternalIncentiveGaugesRequest, opts ...grpc.CallOption) (*QueryExternalIncentiveGaugesResponse, 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 QueryDistrInfoRequest ¶
type QueryDistrInfoRequest struct { }
func (*QueryDistrInfoRequest) Descriptor ¶
func (*QueryDistrInfoRequest) Descriptor() ([]byte, []int)
func (*QueryDistrInfoRequest) Marshal ¶
func (m *QueryDistrInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryDistrInfoRequest) MarshalTo ¶
func (m *QueryDistrInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDistrInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryDistrInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDistrInfoRequest) ProtoMessage ¶
func (*QueryDistrInfoRequest) ProtoMessage()
func (*QueryDistrInfoRequest) Reset ¶
func (m *QueryDistrInfoRequest) Reset()
func (*QueryDistrInfoRequest) Size ¶
func (m *QueryDistrInfoRequest) Size() (n int)
func (*QueryDistrInfoRequest) String ¶
func (m *QueryDistrInfoRequest) String() string
func (*QueryDistrInfoRequest) Unmarshal ¶
func (m *QueryDistrInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryDistrInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryDistrInfoRequest) XXX_DiscardUnknown()
func (*QueryDistrInfoRequest) XXX_Marshal ¶
func (m *QueryDistrInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDistrInfoRequest) XXX_Merge ¶
func (m *QueryDistrInfoRequest) XXX_Merge(src proto.Message)
func (*QueryDistrInfoRequest) XXX_Size ¶
func (m *QueryDistrInfoRequest) XXX_Size() int
func (*QueryDistrInfoRequest) XXX_Unmarshal ¶
func (m *QueryDistrInfoRequest) XXX_Unmarshal(b []byte) error
type QueryDistrInfoResponse ¶
type QueryDistrInfoResponse struct {
DistrInfo DistrInfo `protobuf:"bytes,1,opt,name=distr_info,json=distrInfo,proto3" json:"distr_info" yaml:"distr_info"`
}
func (*QueryDistrInfoResponse) Descriptor ¶
func (*QueryDistrInfoResponse) Descriptor() ([]byte, []int)
func (*QueryDistrInfoResponse) GetDistrInfo ¶
func (m *QueryDistrInfoResponse) GetDistrInfo() DistrInfo
func (*QueryDistrInfoResponse) Marshal ¶
func (m *QueryDistrInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryDistrInfoResponse) MarshalTo ¶
func (m *QueryDistrInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDistrInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryDistrInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDistrInfoResponse) ProtoMessage ¶
func (*QueryDistrInfoResponse) ProtoMessage()
func (*QueryDistrInfoResponse) Reset ¶
func (m *QueryDistrInfoResponse) Reset()
func (*QueryDistrInfoResponse) Size ¶
func (m *QueryDistrInfoResponse) Size() (n int)
func (*QueryDistrInfoResponse) String ¶
func (m *QueryDistrInfoResponse) String() string
func (*QueryDistrInfoResponse) Unmarshal ¶
func (m *QueryDistrInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryDistrInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryDistrInfoResponse) XXX_DiscardUnknown()
func (*QueryDistrInfoResponse) XXX_Marshal ¶
func (m *QueryDistrInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDistrInfoResponse) XXX_Merge ¶
func (m *QueryDistrInfoResponse) XXX_Merge(src proto.Message)
func (*QueryDistrInfoResponse) XXX_Size ¶
func (m *QueryDistrInfoResponse) XXX_Size() int
func (*QueryDistrInfoResponse) XXX_Unmarshal ¶
func (m *QueryDistrInfoResponse) XXX_Unmarshal(b []byte) error
type QueryExternalIncentiveGaugesRequest ¶
type QueryExternalIncentiveGaugesRequest struct { }
func (*QueryExternalIncentiveGaugesRequest) Descriptor ¶
func (*QueryExternalIncentiveGaugesRequest) Descriptor() ([]byte, []int)
func (*QueryExternalIncentiveGaugesRequest) Marshal ¶
func (m *QueryExternalIncentiveGaugesRequest) Marshal() (dAtA []byte, err error)
func (*QueryExternalIncentiveGaugesRequest) MarshalTo ¶
func (m *QueryExternalIncentiveGaugesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryExternalIncentiveGaugesRequest) MarshalToSizedBuffer ¶
func (m *QueryExternalIncentiveGaugesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExternalIncentiveGaugesRequest) ProtoMessage ¶
func (*QueryExternalIncentiveGaugesRequest) ProtoMessage()
func (*QueryExternalIncentiveGaugesRequest) Reset ¶
func (m *QueryExternalIncentiveGaugesRequest) Reset()
func (*QueryExternalIncentiveGaugesRequest) Size ¶
func (m *QueryExternalIncentiveGaugesRequest) Size() (n int)
func (*QueryExternalIncentiveGaugesRequest) String ¶
func (m *QueryExternalIncentiveGaugesRequest) String() string
func (*QueryExternalIncentiveGaugesRequest) Unmarshal ¶
func (m *QueryExternalIncentiveGaugesRequest) Unmarshal(dAtA []byte) error
func (*QueryExternalIncentiveGaugesRequest) XXX_DiscardUnknown ¶
func (m *QueryExternalIncentiveGaugesRequest) XXX_DiscardUnknown()
func (*QueryExternalIncentiveGaugesRequest) XXX_Marshal ¶
func (m *QueryExternalIncentiveGaugesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExternalIncentiveGaugesRequest) XXX_Merge ¶
func (m *QueryExternalIncentiveGaugesRequest) XXX_Merge(src proto.Message)
func (*QueryExternalIncentiveGaugesRequest) XXX_Size ¶
func (m *QueryExternalIncentiveGaugesRequest) XXX_Size() int
func (*QueryExternalIncentiveGaugesRequest) XXX_Unmarshal ¶
func (m *QueryExternalIncentiveGaugesRequest) XXX_Unmarshal(b []byte) error
type QueryExternalIncentiveGaugesResponse ¶
type QueryExternalIncentiveGaugesResponse struct {
Data []types.Gauge `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
}
func (*QueryExternalIncentiveGaugesResponse) Descriptor ¶
func (*QueryExternalIncentiveGaugesResponse) Descriptor() ([]byte, []int)
func (*QueryExternalIncentiveGaugesResponse) GetData ¶
func (m *QueryExternalIncentiveGaugesResponse) GetData() []types.Gauge
func (*QueryExternalIncentiveGaugesResponse) Marshal ¶
func (m *QueryExternalIncentiveGaugesResponse) Marshal() (dAtA []byte, err error)
func (*QueryExternalIncentiveGaugesResponse) MarshalTo ¶
func (m *QueryExternalIncentiveGaugesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryExternalIncentiveGaugesResponse) MarshalToSizedBuffer ¶
func (m *QueryExternalIncentiveGaugesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExternalIncentiveGaugesResponse) ProtoMessage ¶
func (*QueryExternalIncentiveGaugesResponse) ProtoMessage()
func (*QueryExternalIncentiveGaugesResponse) Reset ¶
func (m *QueryExternalIncentiveGaugesResponse) Reset()
func (*QueryExternalIncentiveGaugesResponse) Size ¶
func (m *QueryExternalIncentiveGaugesResponse) Size() (n int)
func (*QueryExternalIncentiveGaugesResponse) String ¶
func (m *QueryExternalIncentiveGaugesResponse) String() string
func (*QueryExternalIncentiveGaugesResponse) Unmarshal ¶
func (m *QueryExternalIncentiveGaugesResponse) Unmarshal(dAtA []byte) error
func (*QueryExternalIncentiveGaugesResponse) XXX_DiscardUnknown ¶
func (m *QueryExternalIncentiveGaugesResponse) XXX_DiscardUnknown()
func (*QueryExternalIncentiveGaugesResponse) XXX_Marshal ¶
func (m *QueryExternalIncentiveGaugesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExternalIncentiveGaugesResponse) XXX_Merge ¶
func (m *QueryExternalIncentiveGaugesResponse) XXX_Merge(src proto.Message)
func (*QueryExternalIncentiveGaugesResponse) XXX_Size ¶
func (m *QueryExternalIncentiveGaugesResponse) XXX_Size() int
func (*QueryExternalIncentiveGaugesResponse) XXX_Unmarshal ¶
func (m *QueryExternalIncentiveGaugesResponse) XXX_Unmarshal(b []byte) error
type QueryGaugeIdsRequest ¶
type QueryGaugeIdsRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
}
func (*QueryGaugeIdsRequest) Descriptor ¶
func (*QueryGaugeIdsRequest) Descriptor() ([]byte, []int)
func (*QueryGaugeIdsRequest) GetPoolId ¶
func (m *QueryGaugeIdsRequest) GetPoolId() uint64
func (*QueryGaugeIdsRequest) Marshal ¶
func (m *QueryGaugeIdsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGaugeIdsRequest) MarshalTo ¶
func (m *QueryGaugeIdsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGaugeIdsRequest) MarshalToSizedBuffer ¶
func (m *QueryGaugeIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGaugeIdsRequest) ProtoMessage ¶
func (*QueryGaugeIdsRequest) ProtoMessage()
func (*QueryGaugeIdsRequest) Reset ¶
func (m *QueryGaugeIdsRequest) Reset()
func (*QueryGaugeIdsRequest) Size ¶
func (m *QueryGaugeIdsRequest) Size() (n int)
func (*QueryGaugeIdsRequest) String ¶
func (m *QueryGaugeIdsRequest) String() string
func (*QueryGaugeIdsRequest) Unmarshal ¶
func (m *QueryGaugeIdsRequest) Unmarshal(dAtA []byte) error
func (*QueryGaugeIdsRequest) XXX_DiscardUnknown ¶
func (m *QueryGaugeIdsRequest) XXX_DiscardUnknown()
func (*QueryGaugeIdsRequest) XXX_Marshal ¶
func (m *QueryGaugeIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGaugeIdsRequest) XXX_Merge ¶
func (m *QueryGaugeIdsRequest) XXX_Merge(src proto.Message)
func (*QueryGaugeIdsRequest) XXX_Size ¶
func (m *QueryGaugeIdsRequest) XXX_Size() int
func (*QueryGaugeIdsRequest) XXX_Unmarshal ¶
func (m *QueryGaugeIdsRequest) XXX_Unmarshal(b []byte) error
type QueryGaugeIdsResponse ¶
type QueryGaugeIdsResponse struct {
GaugeIdsWithDuration []*QueryGaugeIdsResponse_GaugeIdWithDuration `` /* 156-byte string literal not displayed */
}
func (*QueryGaugeIdsResponse) Descriptor ¶
func (*QueryGaugeIdsResponse) Descriptor() ([]byte, []int)
func (*QueryGaugeIdsResponse) GetGaugeIdsWithDuration ¶
func (m *QueryGaugeIdsResponse) GetGaugeIdsWithDuration() []*QueryGaugeIdsResponse_GaugeIdWithDuration
func (*QueryGaugeIdsResponse) Marshal ¶
func (m *QueryGaugeIdsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGaugeIdsResponse) MarshalTo ¶
func (m *QueryGaugeIdsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGaugeIdsResponse) MarshalToSizedBuffer ¶
func (m *QueryGaugeIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGaugeIdsResponse) ProtoMessage ¶
func (*QueryGaugeIdsResponse) ProtoMessage()
func (*QueryGaugeIdsResponse) Reset ¶
func (m *QueryGaugeIdsResponse) Reset()
func (*QueryGaugeIdsResponse) Size ¶
func (m *QueryGaugeIdsResponse) Size() (n int)
func (*QueryGaugeIdsResponse) String ¶
func (m *QueryGaugeIdsResponse) String() string
func (*QueryGaugeIdsResponse) Unmarshal ¶
func (m *QueryGaugeIdsResponse) Unmarshal(dAtA []byte) error
func (*QueryGaugeIdsResponse) XXX_DiscardUnknown ¶
func (m *QueryGaugeIdsResponse) XXX_DiscardUnknown()
func (*QueryGaugeIdsResponse) XXX_Marshal ¶
func (m *QueryGaugeIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGaugeIdsResponse) XXX_Merge ¶
func (m *QueryGaugeIdsResponse) XXX_Merge(src proto.Message)
func (*QueryGaugeIdsResponse) XXX_Size ¶
func (m *QueryGaugeIdsResponse) XXX_Size() int
func (*QueryGaugeIdsResponse) XXX_Unmarshal ¶
func (m *QueryGaugeIdsResponse) XXX_Unmarshal(b []byte) error
type QueryGaugeIdsResponse_GaugeIdWithDuration ¶
type QueryGaugeIdsResponse_GaugeIdWithDuration struct { GaugeId uint64 `protobuf:"varint,1,opt,name=gauge_id,json=gaugeId,proto3" json:"gauge_id,omitempty" yaml:"gauge_id"` Duration time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,stdduration" json:"duration"` GaugeIncentivePercentage string `` /* 135-byte string literal not displayed */ }
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) Descriptor ¶
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) Descriptor() ([]byte, []int)
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) GetDuration ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) GetDuration() time.Duration
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) GetGaugeId ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) GetGaugeId() uint64
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) GetGaugeIncentivePercentage ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) GetGaugeIncentivePercentage() string
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) Marshal ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Marshal() (dAtA []byte, err error)
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) MarshalTo ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) MarshalTo(dAtA []byte) (int, error)
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) MarshalToSizedBuffer ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) ProtoMessage ¶
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) ProtoMessage()
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) Reset ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Reset()
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) Size ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Size() (n int)
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) String ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) String() string
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) Unmarshal ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) Unmarshal(dAtA []byte) error
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_DiscardUnknown ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_DiscardUnknown()
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Marshal ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Merge ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Merge(src proto.Message)
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Size ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Size() int
func (*QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Unmarshal ¶
func (m *QueryGaugeIdsResponse_GaugeIdWithDuration) XXX_Unmarshal(b []byte) error
type QueryIncentivizedPoolsRequest ¶
type QueryIncentivizedPoolsRequest struct { }
func (*QueryIncentivizedPoolsRequest) Descriptor ¶
func (*QueryIncentivizedPoolsRequest) Descriptor() ([]byte, []int)
func (*QueryIncentivizedPoolsRequest) Marshal ¶
func (m *QueryIncentivizedPoolsRequest) Marshal() (dAtA []byte, err error)
func (*QueryIncentivizedPoolsRequest) MarshalTo ¶
func (m *QueryIncentivizedPoolsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryIncentivizedPoolsRequest) MarshalToSizedBuffer ¶
func (m *QueryIncentivizedPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIncentivizedPoolsRequest) ProtoMessage ¶
func (*QueryIncentivizedPoolsRequest) ProtoMessage()
func (*QueryIncentivizedPoolsRequest) Reset ¶
func (m *QueryIncentivizedPoolsRequest) Reset()
func (*QueryIncentivizedPoolsRequest) Size ¶
func (m *QueryIncentivizedPoolsRequest) Size() (n int)
func (*QueryIncentivizedPoolsRequest) String ¶
func (m *QueryIncentivizedPoolsRequest) String() string
func (*QueryIncentivizedPoolsRequest) Unmarshal ¶
func (m *QueryIncentivizedPoolsRequest) Unmarshal(dAtA []byte) error
func (*QueryIncentivizedPoolsRequest) XXX_DiscardUnknown ¶
func (m *QueryIncentivizedPoolsRequest) XXX_DiscardUnknown()
func (*QueryIncentivizedPoolsRequest) XXX_Marshal ¶
func (m *QueryIncentivizedPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIncentivizedPoolsRequest) XXX_Merge ¶
func (m *QueryIncentivizedPoolsRequest) XXX_Merge(src proto.Message)
func (*QueryIncentivizedPoolsRequest) XXX_Size ¶
func (m *QueryIncentivizedPoolsRequest) XXX_Size() int
func (*QueryIncentivizedPoolsRequest) XXX_Unmarshal ¶
func (m *QueryIncentivizedPoolsRequest) XXX_Unmarshal(b []byte) error
type QueryIncentivizedPoolsResponse ¶
type QueryIncentivizedPoolsResponse struct {
IncentivizedPools []IncentivizedPool `` /* 128-byte string literal not displayed */
}
func (*QueryIncentivizedPoolsResponse) Descriptor ¶
func (*QueryIncentivizedPoolsResponse) Descriptor() ([]byte, []int)
func (*QueryIncentivizedPoolsResponse) GetIncentivizedPools ¶
func (m *QueryIncentivizedPoolsResponse) GetIncentivizedPools() []IncentivizedPool
func (*QueryIncentivizedPoolsResponse) Marshal ¶
func (m *QueryIncentivizedPoolsResponse) Marshal() (dAtA []byte, err error)
func (*QueryIncentivizedPoolsResponse) MarshalTo ¶
func (m *QueryIncentivizedPoolsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIncentivizedPoolsResponse) MarshalToSizedBuffer ¶
func (m *QueryIncentivizedPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIncentivizedPoolsResponse) ProtoMessage ¶
func (*QueryIncentivizedPoolsResponse) ProtoMessage()
func (*QueryIncentivizedPoolsResponse) Reset ¶
func (m *QueryIncentivizedPoolsResponse) Reset()
func (*QueryIncentivizedPoolsResponse) Size ¶
func (m *QueryIncentivizedPoolsResponse) Size() (n int)
func (*QueryIncentivizedPoolsResponse) String ¶
func (m *QueryIncentivizedPoolsResponse) String() string
func (*QueryIncentivizedPoolsResponse) Unmarshal ¶
func (m *QueryIncentivizedPoolsResponse) Unmarshal(dAtA []byte) error
func (*QueryIncentivizedPoolsResponse) XXX_DiscardUnknown ¶
func (m *QueryIncentivizedPoolsResponse) XXX_DiscardUnknown()
func (*QueryIncentivizedPoolsResponse) XXX_Marshal ¶
func (m *QueryIncentivizedPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIncentivizedPoolsResponse) XXX_Merge ¶
func (m *QueryIncentivizedPoolsResponse) XXX_Merge(src proto.Message)
func (*QueryIncentivizedPoolsResponse) XXX_Size ¶
func (m *QueryIncentivizedPoolsResponse) XXX_Size() int
func (*QueryIncentivizedPoolsResponse) XXX_Unmarshal ¶
func (m *QueryIncentivizedPoolsResponse) XXX_Unmarshal(b []byte) error
type QueryLockableDurationsRequest ¶
type QueryLockableDurationsRequest struct { }
func (*QueryLockableDurationsRequest) Descriptor ¶
func (*QueryLockableDurationsRequest) Descriptor() ([]byte, []int)
func (*QueryLockableDurationsRequest) Marshal ¶
func (m *QueryLockableDurationsRequest) Marshal() (dAtA []byte, err error)
func (*QueryLockableDurationsRequest) MarshalTo ¶
func (m *QueryLockableDurationsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLockableDurationsRequest) MarshalToSizedBuffer ¶
func (m *QueryLockableDurationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLockableDurationsRequest) ProtoMessage ¶
func (*QueryLockableDurationsRequest) ProtoMessage()
func (*QueryLockableDurationsRequest) Reset ¶
func (m *QueryLockableDurationsRequest) Reset()
func (*QueryLockableDurationsRequest) Size ¶
func (m *QueryLockableDurationsRequest) Size() (n int)
func (*QueryLockableDurationsRequest) String ¶
func (m *QueryLockableDurationsRequest) String() string
func (*QueryLockableDurationsRequest) Unmarshal ¶
func (m *QueryLockableDurationsRequest) Unmarshal(dAtA []byte) error
func (*QueryLockableDurationsRequest) XXX_DiscardUnknown ¶
func (m *QueryLockableDurationsRequest) XXX_DiscardUnknown()
func (*QueryLockableDurationsRequest) XXX_Marshal ¶
func (m *QueryLockableDurationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLockableDurationsRequest) XXX_Merge ¶
func (m *QueryLockableDurationsRequest) XXX_Merge(src proto.Message)
func (*QueryLockableDurationsRequest) XXX_Size ¶
func (m *QueryLockableDurationsRequest) XXX_Size() int
func (*QueryLockableDurationsRequest) XXX_Unmarshal ¶
func (m *QueryLockableDurationsRequest) XXX_Unmarshal(b []byte) error
type QueryLockableDurationsResponse ¶
type QueryLockableDurationsResponse struct {
LockableDurations []time.Duration `` /* 140-byte string literal not displayed */
}
func (*QueryLockableDurationsResponse) Descriptor ¶
func (*QueryLockableDurationsResponse) Descriptor() ([]byte, []int)
func (*QueryLockableDurationsResponse) GetLockableDurations ¶
func (m *QueryLockableDurationsResponse) GetLockableDurations() []time.Duration
func (*QueryLockableDurationsResponse) Marshal ¶
func (m *QueryLockableDurationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryLockableDurationsResponse) MarshalTo ¶
func (m *QueryLockableDurationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLockableDurationsResponse) MarshalToSizedBuffer ¶
func (m *QueryLockableDurationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLockableDurationsResponse) ProtoMessage ¶
func (*QueryLockableDurationsResponse) ProtoMessage()
func (*QueryLockableDurationsResponse) Reset ¶
func (m *QueryLockableDurationsResponse) Reset()
func (*QueryLockableDurationsResponse) Size ¶
func (m *QueryLockableDurationsResponse) Size() (n int)
func (*QueryLockableDurationsResponse) String ¶
func (m *QueryLockableDurationsResponse) String() string
func (*QueryLockableDurationsResponse) Unmarshal ¶
func (m *QueryLockableDurationsResponse) Unmarshal(dAtA []byte) error
func (*QueryLockableDurationsResponse) XXX_DiscardUnknown ¶
func (m *QueryLockableDurationsResponse) XXX_DiscardUnknown()
func (*QueryLockableDurationsResponse) XXX_Marshal ¶
func (m *QueryLockableDurationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLockableDurationsResponse) XXX_Merge ¶
func (m *QueryLockableDurationsResponse) XXX_Merge(src proto.Message)
func (*QueryLockableDurationsResponse) XXX_Size ¶
func (m *QueryLockableDurationsResponse) XXX_Size() int
func (*QueryLockableDurationsResponse) XXX_Unmarshal ¶
func (m *QueryLockableDurationsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // GaugeIds takes the pool id and returns the matching gauge ids and durations GaugeIds(context.Context, *QueryGaugeIdsRequest) (*QueryGaugeIdsResponse, error) // DistrInfo returns the pool's matching gauge ids and weights. DistrInfo(context.Context, *QueryDistrInfoRequest) (*QueryDistrInfoResponse, error) // Params returns pool incentives params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // LockableDurations returns lock durations for pools. LockableDurations(context.Context, *QueryLockableDurationsRequest) (*QueryLockableDurationsResponse, error) // IncentivizedPools returns currently incentivized pools IncentivizedPools(context.Context, *QueryIncentivizedPoolsRequest) (*QueryIncentivizedPoolsResponse, error) // ExternalIncentiveGauges returns external incentive gauges. ExternalIncentiveGauges(context.Context, *QueryExternalIncentiveGaugesRequest) (*QueryExternalIncentiveGaugesResponse, error) }
QueryServer is the server API for Query service.
type ReplacePoolIncentivesProposal ¶
type ReplacePoolIncentivesProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Records []DistrRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records"` }
ReplacePoolIncentivesProposal is a gov Content type for updating the pool incentives. If a ReplacePoolIncentivesProposal passes, the proposal’s records override the existing DistrRecords set in the module. Each record has a specified gauge id and weight, and the incentives are distributed to each gauge according to weight/total_weight. The incentives are put in the fee pool and it is allocated to gauges and community pool by the DistrRecords configuration. Note that gaugeId=0 represents the community pool.
func (*ReplacePoolIncentivesProposal) Descriptor ¶
func (*ReplacePoolIncentivesProposal) Descriptor() ([]byte, []int)
func (*ReplacePoolIncentivesProposal) Equal ¶
func (this *ReplacePoolIncentivesProposal) Equal(that interface{}) bool
func (*ReplacePoolIncentivesProposal) GetDescription ¶
func (p *ReplacePoolIncentivesProposal) GetDescription() string
GetDescription gets the description of the proposal
func (*ReplacePoolIncentivesProposal) GetTitle ¶
func (p *ReplacePoolIncentivesProposal) GetTitle() string
GetTitle gets the title of the proposal
func (*ReplacePoolIncentivesProposal) Marshal ¶
func (m *ReplacePoolIncentivesProposal) Marshal() (dAtA []byte, err error)
func (*ReplacePoolIncentivesProposal) MarshalTo ¶
func (m *ReplacePoolIncentivesProposal) MarshalTo(dAtA []byte) (int, error)
func (*ReplacePoolIncentivesProposal) MarshalToSizedBuffer ¶
func (m *ReplacePoolIncentivesProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReplacePoolIncentivesProposal) ProposalRoute ¶
func (p *ReplacePoolIncentivesProposal) ProposalRoute() string
ProposalRoute returns the router key for the proposal
func (*ReplacePoolIncentivesProposal) ProposalType ¶
func (p *ReplacePoolIncentivesProposal) ProposalType() string
ProposalType returns the type of the proposal
func (*ReplacePoolIncentivesProposal) ProtoMessage ¶
func (*ReplacePoolIncentivesProposal) ProtoMessage()
func (*ReplacePoolIncentivesProposal) Reset ¶
func (m *ReplacePoolIncentivesProposal) Reset()
func (*ReplacePoolIncentivesProposal) Size ¶
func (m *ReplacePoolIncentivesProposal) Size() (n int)
func (ReplacePoolIncentivesProposal) String ¶
func (p ReplacePoolIncentivesProposal) String() string
String returns a string containing the pool incentives proposal.
func (*ReplacePoolIncentivesProposal) Unmarshal ¶
func (m *ReplacePoolIncentivesProposal) Unmarshal(dAtA []byte) error
func (*ReplacePoolIncentivesProposal) ValidateBasic ¶
func (p *ReplacePoolIncentivesProposal) ValidateBasic() error
ValidateBasic validates a governance proposal's abstract and basic contents
func (*ReplacePoolIncentivesProposal) XXX_DiscardUnknown ¶
func (m *ReplacePoolIncentivesProposal) XXX_DiscardUnknown()
func (*ReplacePoolIncentivesProposal) XXX_Marshal ¶
func (m *ReplacePoolIncentivesProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplacePoolIncentivesProposal) XXX_Merge ¶
func (m *ReplacePoolIncentivesProposal) XXX_Merge(src proto.Message)
func (*ReplacePoolIncentivesProposal) XXX_Size ¶
func (m *ReplacePoolIncentivesProposal) XXX_Size() int
func (*ReplacePoolIncentivesProposal) XXX_Unmarshal ¶
func (m *ReplacePoolIncentivesProposal) XXX_Unmarshal(b []byte) error
type SuperfluidKeeper ¶
type SuperfluidKeeper interface {
GetAllMigrationInfo(ctx sdk.Context) (MigrationRecords, error)
}
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DistrInfo ¶
func (*UnimplementedQueryServer) DistrInfo(ctx context.Context, req *QueryDistrInfoRequest) (*QueryDistrInfoResponse, error)
func (*UnimplementedQueryServer) ExternalIncentiveGauges ¶
func (*UnimplementedQueryServer) ExternalIncentiveGauges(ctx context.Context, req *QueryExternalIncentiveGaugesRequest) (*QueryExternalIncentiveGaugesResponse, error)
func (*UnimplementedQueryServer) GaugeIds ¶
func (*UnimplementedQueryServer) GaugeIds(ctx context.Context, req *QueryGaugeIdsRequest) (*QueryGaugeIdsResponse, error)
func (*UnimplementedQueryServer) IncentivizedPools ¶
func (*UnimplementedQueryServer) IncentivizedPools(ctx context.Context, req *QueryIncentivizedPoolsRequest) (*QueryIncentivizedPoolsResponse, error)
func (*UnimplementedQueryServer) LockableDurations ¶
func (*UnimplementedQueryServer) LockableDurations(ctx context.Context, req *QueryLockableDurationsRequest) (*QueryLockableDurationsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsupportedPoolTypeError ¶
type UnsupportedPoolTypeError struct { PoolID uint64 PoolType poolmanagertypes.PoolType }
func (UnsupportedPoolTypeError) Error ¶
func (e UnsupportedPoolTypeError) Error() string
type UpdatePoolIncentivesProposal ¶
type UpdatePoolIncentivesProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Records []DistrRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records"` }
For example: if the existing DistrRecords were: [(Gauge 0, 5), (Gauge 1, 6), (Gauge 2, 6)] An UpdatePoolIncentivesProposal includes [(Gauge 1, 0), (Gauge 2, 4), (Gauge 3, 10)] This would delete Gauge 1, Edit Gauge 2, and Add Gauge 3 The result DistrRecords in state would be: [(Gauge 0, 5), (Gauge 2, 4), (Gauge 3, 10)]
func (*UpdatePoolIncentivesProposal) Descriptor ¶
func (*UpdatePoolIncentivesProposal) Descriptor() ([]byte, []int)
func (*UpdatePoolIncentivesProposal) Equal ¶
func (this *UpdatePoolIncentivesProposal) Equal(that interface{}) bool
func (*UpdatePoolIncentivesProposal) GetDescription ¶
func (p *UpdatePoolIncentivesProposal) GetDescription() string
GetDescription gets the description of the proposal
func (*UpdatePoolIncentivesProposal) GetTitle ¶
func (p *UpdatePoolIncentivesProposal) GetTitle() string
GetTitle gets the title of the proposal
func (*UpdatePoolIncentivesProposal) Marshal ¶
func (m *UpdatePoolIncentivesProposal) Marshal() (dAtA []byte, err error)
func (*UpdatePoolIncentivesProposal) MarshalTo ¶
func (m *UpdatePoolIncentivesProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePoolIncentivesProposal) MarshalToSizedBuffer ¶
func (m *UpdatePoolIncentivesProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdatePoolIncentivesProposal) ProposalRoute ¶
func (p *UpdatePoolIncentivesProposal) ProposalRoute() string
ProposalRoute returns the router key for the proposal
func (*UpdatePoolIncentivesProposal) ProposalType ¶
func (p *UpdatePoolIncentivesProposal) ProposalType() string
ProposalType returns the type of the proposal
func (*UpdatePoolIncentivesProposal) ProtoMessage ¶
func (*UpdatePoolIncentivesProposal) ProtoMessage()
func (*UpdatePoolIncentivesProposal) Reset ¶
func (m *UpdatePoolIncentivesProposal) Reset()
func (*UpdatePoolIncentivesProposal) Size ¶
func (m *UpdatePoolIncentivesProposal) Size() (n int)
func (UpdatePoolIncentivesProposal) String ¶
func (p UpdatePoolIncentivesProposal) String() string
String returns a string containing the pool incentives proposal.
func (*UpdatePoolIncentivesProposal) Unmarshal ¶
func (m *UpdatePoolIncentivesProposal) Unmarshal(dAtA []byte) error
func (*UpdatePoolIncentivesProposal) ValidateBasic ¶
func (p *UpdatePoolIncentivesProposal) ValidateBasic() error
ValidateBasic validates a governance proposal's abstract and basic contents.
func (*UpdatePoolIncentivesProposal) XXX_DiscardUnknown ¶
func (m *UpdatePoolIncentivesProposal) XXX_DiscardUnknown()
func (*UpdatePoolIncentivesProposal) XXX_Marshal ¶
func (m *UpdatePoolIncentivesProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePoolIncentivesProposal) XXX_Merge ¶
func (m *UpdatePoolIncentivesProposal) XXX_Merge(src proto.Message)
func (*UpdatePoolIncentivesProposal) XXX_Size ¶
func (m *UpdatePoolIncentivesProposal) XXX_Size() int
func (*UpdatePoolIncentivesProposal) XXX_Unmarshal ¶
func (m *UpdatePoolIncentivesProposal) XXX_Unmarshal(b []byte) error