Versions in this module Expand all Collapse all v1 v1.4.0 Nov 17, 2023 Changes in this version + var ErrIntOverflowPool = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthPool = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group") + var PoolStatus_name = map[int32]string + var PoolStatus_value = map[string]int32 + type Funder struct + Address string + Amount uint64 + func (*Funder) Descriptor() ([]byte, []int) + func (*Funder) ProtoMessage() + func (m *Funder) GetAddress() string + func (m *Funder) GetAmount() uint64 + func (m *Funder) Marshal() (dAtA []byte, err error) + func (m *Funder) MarshalTo(dAtA []byte) (int, error) + func (m *Funder) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Funder) Reset() + func (m *Funder) Size() (n int) + func (m *Funder) String() string + func (m *Funder) Unmarshal(dAtA []byte) error + func (m *Funder) XXX_DiscardUnknown() + func (m *Funder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Funder) XXX_Merge(src proto.Message) + func (m *Funder) XXX_Size() int + func (m *Funder) XXX_Unmarshal(b []byte) error + type Pool struct + Config string + CurrentCompressionId uint32 + CurrentIndex uint64 + CurrentKey string + CurrentStorageProviderId uint32 + CurrentSummary string + Disabled bool + Funders []*Funder + Id uint64 + Logo string + MaxBundleSize uint64 + MinDelegation uint64 + Name string + OperatingCost uint64 + Protocol *Protocol + Runtime string + StartKey string + TotalBundles uint64 + TotalFunds uint64 + UpgradePlan *UpgradePlan + UploadInterval uint64 + func GetAllPools(ctx sdk.Context, poolKeeper poolKeeper.Keeper, cdc codec.BinaryCodec) (list []Pool, err error) + func (*Pool) Descriptor() ([]byte, []int) + func (*Pool) ProtoMessage() + func (m *Pool) GetConfig() string + func (m *Pool) GetCurrentCompressionId() uint32 + func (m *Pool) GetCurrentIndex() uint64 + func (m *Pool) GetCurrentKey() string + func (m *Pool) GetCurrentStorageProviderId() uint32 + func (m *Pool) GetCurrentSummary() string + func (m *Pool) GetDisabled() bool + func (m *Pool) GetFunders() []*Funder + func (m *Pool) GetId() uint64 + func (m *Pool) GetLogo() string + func (m *Pool) GetMaxBundleSize() uint64 + func (m *Pool) GetMinDelegation() uint64 + func (m *Pool) GetName() string + func (m *Pool) GetOperatingCost() uint64 + func (m *Pool) GetProtocol() *Protocol + func (m *Pool) GetRuntime() string + func (m *Pool) GetStartKey() string + func (m *Pool) GetTotalBundles() uint64 + func (m *Pool) GetTotalFunds() uint64 + func (m *Pool) GetUpgradePlan() *UpgradePlan + func (m *Pool) GetUploadInterval() uint64 + func (m *Pool) Marshal() (dAtA []byte, err error) + func (m *Pool) MarshalTo(dAtA []byte) (int, error) + func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Pool) Reset() + func (m *Pool) Size() (n int) + func (m *Pool) String() string + func (m *Pool) Unmarshal(dAtA []byte) error + func (m *Pool) XXX_DiscardUnknown() + func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pool) XXX_Merge(src proto.Message) + func (m *Pool) XXX_Size() int + func (m *Pool) XXX_Unmarshal(b []byte) error + type PoolStatus int32 + const POOL_STATUS_ACTIVE + const POOL_STATUS_DISABLED + const POOL_STATUS_NOT_ENOUGH_DELEGATION + const POOL_STATUS_NO_FUNDS + const POOL_STATUS_UNSPECIFIED + const POOL_STATUS_UPGRADING + func (PoolStatus) EnumDescriptor() ([]byte, []int) + func (x PoolStatus) String() string + type Protocol struct + Binaries string + LastUpgrade uint64 + Version string + func (*Protocol) Descriptor() ([]byte, []int) + func (*Protocol) ProtoMessage() + func (m *Protocol) GetBinaries() string + func (m *Protocol) GetLastUpgrade() uint64 + func (m *Protocol) GetVersion() string + func (m *Protocol) Marshal() (dAtA []byte, err error) + func (m *Protocol) MarshalTo(dAtA []byte) (int, error) + func (m *Protocol) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Protocol) Reset() + func (m *Protocol) Size() (n int) + func (m *Protocol) String() string + func (m *Protocol) Unmarshal(dAtA []byte) error + func (m *Protocol) XXX_DiscardUnknown() + func (m *Protocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Protocol) XXX_Merge(src proto.Message) + func (m *Protocol) XXX_Size() int + func (m *Protocol) XXX_Unmarshal(b []byte) error + type UpgradePlan struct + Binaries string + Duration uint64 + ScheduledAt uint64 + Version string + func (*UpgradePlan) Descriptor() ([]byte, []int) + func (*UpgradePlan) ProtoMessage() + func (m *UpgradePlan) GetBinaries() string + func (m *UpgradePlan) GetDuration() uint64 + func (m *UpgradePlan) GetScheduledAt() uint64 + func (m *UpgradePlan) GetVersion() string + func (m *UpgradePlan) Marshal() (dAtA []byte, err error) + func (m *UpgradePlan) MarshalTo(dAtA []byte) (int, error) + func (m *UpgradePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpgradePlan) Reset() + func (m *UpgradePlan) Size() (n int) + func (m *UpgradePlan) String() string + func (m *UpgradePlan) Unmarshal(dAtA []byte) error + func (m *UpgradePlan) XXX_DiscardUnknown() + func (m *UpgradePlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpgradePlan) XXX_Merge(src proto.Message) + func (m *UpgradePlan) XXX_Size() int + func (m *UpgradePlan) XXX_Unmarshal(b []byte) error v1.4.0-rc0 Nov 8, 2023