Documentation ¶
Index ¶
- Constants
- Variables
- func EpochPaymentsKey(index string) []byte
- func ProviderPaymentStorageKey(index string) []byte
- func RemoveAllEpochPayments(ctx sdk.Context, storeKey storetypes.StoreKey)
- func RemoveAllProviderPaymentStorage(ctx sdk.Context, storeKey storetypes.StoreKey)
- func RemoveAllUniquePaymentStorageClientProvider(ctx sdk.Context, storeKey storetypes.StoreKey)
- func UniquePaymentStorageClientProviderKey(index string) []byte
- type EpochPayments
- func (*EpochPayments) Descriptor() ([]byte, []int)
- func (m *EpochPayments) GetIndex() string
- func (m *EpochPayments) GetProviderPaymentStorageKeys() []string
- func (m *EpochPayments) Marshal() (dAtA []byte, err error)
- func (m *EpochPayments) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochPayments) ProtoMessage()
- func (m *EpochPayments) Reset()
- func (m *EpochPayments) Size() (n int)
- func (m *EpochPayments) String() string
- func (m *EpochPayments) Unmarshal(dAtA []byte) error
- func (m *EpochPayments) XXX_DiscardUnknown()
- func (m *EpochPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochPayments) XXX_Merge(src proto.Message)
- func (m *EpochPayments) XXX_Size() int
- func (m *EpochPayments) XXX_Unmarshal(b []byte) error
- type ProviderPaymentStorage
- func (*ProviderPaymentStorage) Descriptor() ([]byte, []int)
- func (m *ProviderPaymentStorage) GetComplainersTotalCu() uint64
- func (m *ProviderPaymentStorage) GetEpoch() uint64
- func (m *ProviderPaymentStorage) GetIndex() string
- func (m *ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys() []string
- func (m *ProviderPaymentStorage) Marshal() (dAtA []byte, err error)
- func (m *ProviderPaymentStorage) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderPaymentStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderPaymentStorage) ProtoMessage()
- func (m *ProviderPaymentStorage) Reset()
- func (m *ProviderPaymentStorage) Size() (n int)
- func (m *ProviderPaymentStorage) String() string
- func (m *ProviderPaymentStorage) Unmarshal(dAtA []byte) error
- func (m *ProviderPaymentStorage) XXX_DiscardUnknown()
- func (m *ProviderPaymentStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderPaymentStorage) XXX_Merge(src proto.Message)
- func (m *ProviderPaymentStorage) XXX_Size() int
- func (m *ProviderPaymentStorage) XXX_Unmarshal(b []byte) error
- type UniquePaymentStorageClientProvider
- func (*UniquePaymentStorageClientProvider) Descriptor() ([]byte, []int)
- func (m *UniquePaymentStorageClientProvider) GetBlock() uint64
- func (m *UniquePaymentStorageClientProvider) GetIndex() string
- func (m *UniquePaymentStorageClientProvider) GetUsedCU() uint64
- func (m *UniquePaymentStorageClientProvider) Marshal() (dAtA []byte, err error)
- func (m *UniquePaymentStorageClientProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *UniquePaymentStorageClientProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniquePaymentStorageClientProvider) ProtoMessage()
- func (m *UniquePaymentStorageClientProvider) Reset()
- func (m *UniquePaymentStorageClientProvider) Size() (n int)
- func (m *UniquePaymentStorageClientProvider) String() string
- func (m *UniquePaymentStorageClientProvider) Unmarshal(dAtA []byte) error
- func (m *UniquePaymentStorageClientProvider) XXX_DiscardUnknown()
- func (m *UniquePaymentStorageClientProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniquePaymentStorageClientProvider) XXX_Merge(src proto.Message)
- func (m *UniquePaymentStorageClientProvider) XXX_Size() int
- func (m *UniquePaymentStorageClientProvider) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( // EpochPaymentsKeyPrefix is the prefix to retrieve all EpochPayments EpochPaymentsKeyPrefix = "EpochPayments/value/" ProviderPaymentStorageKeyPrefix = "ProviderPaymentStorage/value/" UniquePaymentStorageClientProviderKeyPrefix = "UniquePaymentStorageClientProvider/value/" )
Variables ¶
View Source
var ( ErrInvalidLengthEpochPayments = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEpochPayments = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEpochPayments = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthProviderPaymentStorage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProviderPaymentStorage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProviderPaymentStorage = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthUniquePaymentStorageClientProvider = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUniquePaymentStorageClientProvider = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUniquePaymentStorageClientProvider = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func EpochPaymentsKey ¶
EpochPaymentsKey returns the store key to retrieve a EpochPayments from the index fields
func ProviderPaymentStorageKey ¶
ProviderPaymentStorageKey returns the store key to retrieve a ProviderPaymentStorage from the index fields
func RemoveAllEpochPayments ¶
func RemoveAllEpochPayments(ctx sdk.Context, storeKey storetypes.StoreKey)
RemoveAllEpochPayments removes all epochPayments
func RemoveAllProviderPaymentStorage ¶
func RemoveAllProviderPaymentStorage(ctx sdk.Context, storeKey storetypes.StoreKey)
RemoveAllProviderPaymentStorage removes all providerPaymentStorage
func RemoveAllUniquePaymentStorageClientProvider ¶
func RemoveAllUniquePaymentStorageClientProvider(ctx sdk.Context, storeKey storetypes.StoreKey)
RemoveAllUniquePaymentStorageClientProvider removes all uniquePaymentStorageClientProvider
Types ¶
type EpochPayments ¶
type EpochPayments struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` ProviderPaymentStorageKeys []string `protobuf:"bytes,3,rep,name=providerPaymentStorageKeys,proto3" json:"providerPaymentStorageKeys,omitempty"` }
func (*EpochPayments) Descriptor ¶
func (*EpochPayments) Descriptor() ([]byte, []int)
func (*EpochPayments) GetIndex ¶
func (m *EpochPayments) GetIndex() string
func (*EpochPayments) GetProviderPaymentStorageKeys ¶
func (m *EpochPayments) GetProviderPaymentStorageKeys() []string
func (*EpochPayments) Marshal ¶
func (m *EpochPayments) Marshal() (dAtA []byte, err error)
func (*EpochPayments) MarshalToSizedBuffer ¶
func (m *EpochPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochPayments) ProtoMessage ¶
func (*EpochPayments) ProtoMessage()
func (*EpochPayments) Reset ¶
func (m *EpochPayments) Reset()
func (*EpochPayments) Size ¶
func (m *EpochPayments) Size() (n int)
func (*EpochPayments) String ¶
func (m *EpochPayments) String() string
func (*EpochPayments) Unmarshal ¶
func (m *EpochPayments) Unmarshal(dAtA []byte) error
func (*EpochPayments) XXX_DiscardUnknown ¶
func (m *EpochPayments) XXX_DiscardUnknown()
func (*EpochPayments) XXX_Marshal ¶
func (m *EpochPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochPayments) XXX_Merge ¶
func (m *EpochPayments) XXX_Merge(src proto.Message)
func (*EpochPayments) XXX_Size ¶
func (m *EpochPayments) XXX_Size() int
func (*EpochPayments) XXX_Unmarshal ¶
func (m *EpochPayments) XXX_Unmarshal(b []byte) error
type ProviderPaymentStorage ¶
type ProviderPaymentStorage struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"` UniquePaymentStorageClientProviderKeys []string `` /* 129-byte string literal not displayed */ ComplainersTotalCu uint64 `protobuf:"varint,6,opt,name=complainersTotalCu,proto3" json:"complainersTotalCu,omitempty"` }
func (*ProviderPaymentStorage) Descriptor ¶
func (*ProviderPaymentStorage) Descriptor() ([]byte, []int)
func (*ProviderPaymentStorage) GetComplainersTotalCu ¶
func (m *ProviderPaymentStorage) GetComplainersTotalCu() uint64
func (*ProviderPaymentStorage) GetEpoch ¶
func (m *ProviderPaymentStorage) GetEpoch() uint64
func (*ProviderPaymentStorage) GetIndex ¶
func (m *ProviderPaymentStorage) GetIndex() string
func (*ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys ¶
func (m *ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys() []string
func (*ProviderPaymentStorage) Marshal ¶
func (m *ProviderPaymentStorage) Marshal() (dAtA []byte, err error)
func (*ProviderPaymentStorage) MarshalTo ¶
func (m *ProviderPaymentStorage) MarshalTo(dAtA []byte) (int, error)
func (*ProviderPaymentStorage) MarshalToSizedBuffer ¶
func (m *ProviderPaymentStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderPaymentStorage) ProtoMessage ¶
func (*ProviderPaymentStorage) ProtoMessage()
func (*ProviderPaymentStorage) Reset ¶
func (m *ProviderPaymentStorage) Reset()
func (*ProviderPaymentStorage) Size ¶
func (m *ProviderPaymentStorage) Size() (n int)
func (*ProviderPaymentStorage) String ¶
func (m *ProviderPaymentStorage) String() string
func (*ProviderPaymentStorage) Unmarshal ¶
func (m *ProviderPaymentStorage) Unmarshal(dAtA []byte) error
func (*ProviderPaymentStorage) XXX_DiscardUnknown ¶
func (m *ProviderPaymentStorage) XXX_DiscardUnknown()
func (*ProviderPaymentStorage) XXX_Marshal ¶
func (m *ProviderPaymentStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderPaymentStorage) XXX_Merge ¶
func (m *ProviderPaymentStorage) XXX_Merge(src proto.Message)
func (*ProviderPaymentStorage) XXX_Size ¶
func (m *ProviderPaymentStorage) XXX_Size() int
func (*ProviderPaymentStorage) XXX_Unmarshal ¶
func (m *ProviderPaymentStorage) XXX_Unmarshal(b []byte) error
type UniquePaymentStorageClientProvider ¶
type UniquePaymentStorageClientProvider struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` UsedCU uint64 `protobuf:"varint,3,opt,name=usedCU,proto3" json:"usedCU,omitempty"` }
func (*UniquePaymentStorageClientProvider) Descriptor ¶
func (*UniquePaymentStorageClientProvider) Descriptor() ([]byte, []int)
func (*UniquePaymentStorageClientProvider) GetBlock ¶
func (m *UniquePaymentStorageClientProvider) GetBlock() uint64
func (*UniquePaymentStorageClientProvider) GetIndex ¶
func (m *UniquePaymentStorageClientProvider) GetIndex() string
func (*UniquePaymentStorageClientProvider) GetUsedCU ¶
func (m *UniquePaymentStorageClientProvider) GetUsedCU() uint64
func (*UniquePaymentStorageClientProvider) Marshal ¶
func (m *UniquePaymentStorageClientProvider) Marshal() (dAtA []byte, err error)
func (*UniquePaymentStorageClientProvider) MarshalTo ¶
func (m *UniquePaymentStorageClientProvider) MarshalTo(dAtA []byte) (int, error)
func (*UniquePaymentStorageClientProvider) MarshalToSizedBuffer ¶
func (m *UniquePaymentStorageClientProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniquePaymentStorageClientProvider) ProtoMessage ¶
func (*UniquePaymentStorageClientProvider) ProtoMessage()
func (*UniquePaymentStorageClientProvider) Reset ¶
func (m *UniquePaymentStorageClientProvider) Reset()
func (*UniquePaymentStorageClientProvider) Size ¶
func (m *UniquePaymentStorageClientProvider) Size() (n int)
func (*UniquePaymentStorageClientProvider) String ¶
func (m *UniquePaymentStorageClientProvider) String() string
func (*UniquePaymentStorageClientProvider) Unmarshal ¶
func (m *UniquePaymentStorageClientProvider) Unmarshal(dAtA []byte) error
func (*UniquePaymentStorageClientProvider) XXX_DiscardUnknown ¶
func (m *UniquePaymentStorageClientProvider) XXX_DiscardUnknown()
func (*UniquePaymentStorageClientProvider) XXX_Marshal ¶
func (m *UniquePaymentStorageClientProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniquePaymentStorageClientProvider) XXX_Merge ¶
func (m *UniquePaymentStorageClientProvider) XXX_Merge(src proto.Message)
func (*UniquePaymentStorageClientProvider) XXX_Size ¶
func (m *UniquePaymentStorageClientProvider) XXX_Size() int
func (*UniquePaymentStorageClientProvider) XXX_Unmarshal ¶
func (m *UniquePaymentStorageClientProvider) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.