Documentation ¶
Overview ¶
Package types is a generated GoMock package.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetGVGFamilyKey(familyID uint32) []byte
- func GetGVGFamilyStatisticsWithinSPKey(spID uint32) []byte
- func GetGVGKey(gvgID uint32) []byte
- func GetGVGStatisticsWithinSPKey(spID uint32) []byte
- func GetSwapInFamilyKey(globalVirtualGroupFamilyID uint32) []byte
- func GetSwapInGVGKey(globalVirtualGroupID uint32) []byte
- func GetSwapOutFamilyKey(globalVirtualGroupFamilyID uint32) []byte
- func GetSwapOutGVGKey(globalVirtualGroupID uint32) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type AvailableGlobalVirtualGroupFamiliesRequest
- func (*AvailableGlobalVirtualGroupFamiliesRequest) Descriptor() ([]byte, []int)
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) GetGlobalVirtualGroupFamilyIds() []uint32
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) Marshal() (dAtA []byte, err error)
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AvailableGlobalVirtualGroupFamiliesRequest) ProtoMessage()
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) Reset()
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) Size() (n int)
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) String() string
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) Unmarshal(dAtA []byte) error
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown()
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Merge(src proto.Message)
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Size() int
- func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal(b []byte) error
- type AvailableGlobalVirtualGroupFamiliesResponse
- func (*AvailableGlobalVirtualGroupFamiliesResponse) Descriptor() ([]byte, []int)
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds() []uint32
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) Marshal() (dAtA []byte, err error)
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AvailableGlobalVirtualGroupFamiliesResponse) ProtoMessage()
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) Reset()
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) Size() (n int)
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) String() string
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) Unmarshal(dAtA []byte) error
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown()
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Merge(src proto.Message)
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Size() int
- func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type EventCancelSwapIn
- func (*EventCancelSwapIn) Descriptor() ([]byte, []int)
- func (m *EventCancelSwapIn) GetGlobalVirtualGroupFamilyId() uint32
- func (m *EventCancelSwapIn) GetGlobalVirtualGroupId() uint32
- func (m *EventCancelSwapIn) GetStorageProviderId() uint32
- func (m *EventCancelSwapIn) GetTargetSpId() uint32
- func (m *EventCancelSwapIn) Marshal() (dAtA []byte, err error)
- func (m *EventCancelSwapIn) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancelSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancelSwapIn) ProtoMessage()
- func (m *EventCancelSwapIn) Reset()
- func (m *EventCancelSwapIn) Size() (n int)
- func (m *EventCancelSwapIn) String() string
- func (m *EventCancelSwapIn) Unmarshal(dAtA []byte) error
- func (m *EventCancelSwapIn) XXX_DiscardUnknown()
- func (m *EventCancelSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancelSwapIn) XXX_Merge(src proto.Message)
- func (m *EventCancelSwapIn) XXX_Size() int
- func (m *EventCancelSwapIn) XXX_Unmarshal(b []byte) error
- type EventCancelSwapOut
- func (*EventCancelSwapOut) Descriptor() ([]byte, []int)
- func (m *EventCancelSwapOut) GetGlobalVirtualGroupFamilyId() uint32
- func (m *EventCancelSwapOut) GetGlobalVirtualGroupIds() []uint32
- func (m *EventCancelSwapOut) GetStorageProviderId() uint32
- func (m *EventCancelSwapOut) GetSuccessorSpId() uint32
- func (m *EventCancelSwapOut) Marshal() (dAtA []byte, err error)
- func (m *EventCancelSwapOut) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancelSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancelSwapOut) ProtoMessage()
- func (m *EventCancelSwapOut) Reset()
- func (m *EventCancelSwapOut) Size() (n int)
- func (m *EventCancelSwapOut) String() string
- func (m *EventCancelSwapOut) Unmarshal(dAtA []byte) error
- func (m *EventCancelSwapOut) XXX_DiscardUnknown()
- func (m *EventCancelSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancelSwapOut) XXX_Merge(src proto.Message)
- func (m *EventCancelSwapOut) XXX_Size() int
- func (m *EventCancelSwapOut) XXX_Unmarshal(b []byte) error
- type EventCompleteStorageProviderExit
- func (*EventCompleteStorageProviderExit) Descriptor() ([]byte, []int)
- func (m *EventCompleteStorageProviderExit) GetForcedExit() bool
- func (m *EventCompleteStorageProviderExit) GetOperatorAddress() string
- func (m *EventCompleteStorageProviderExit) GetStorageProviderAddress() string
- func (m *EventCompleteStorageProviderExit) GetStorageProviderId() uint32
- func (m *EventCompleteStorageProviderExit) Marshal() (dAtA []byte, err error)
- func (m *EventCompleteStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCompleteStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCompleteStorageProviderExit) ProtoMessage()
- func (m *EventCompleteStorageProviderExit) Reset()
- func (m *EventCompleteStorageProviderExit) Size() (n int)
- func (m *EventCompleteStorageProviderExit) String() string
- func (m *EventCompleteStorageProviderExit) Unmarshal(dAtA []byte) error
- func (m *EventCompleteStorageProviderExit) XXX_DiscardUnknown()
- func (m *EventCompleteStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCompleteStorageProviderExit) XXX_Merge(src proto.Message)
- func (m *EventCompleteStorageProviderExit) XXX_Size() int
- func (m *EventCompleteStorageProviderExit) XXX_Unmarshal(b []byte) error
- type EventCompleteSwapIn
- func (*EventCompleteSwapIn) Descriptor() ([]byte, []int)
- func (m *EventCompleteSwapIn) GetGlobalVirtualGroupFamilyId() uint32
- func (m *EventCompleteSwapIn) GetGlobalVirtualGroupId() uint32
- func (m *EventCompleteSwapIn) GetStorageProviderId() uint32
- func (m *EventCompleteSwapIn) GetTargetStorageProviderId() uint32
- func (m *EventCompleteSwapIn) Marshal() (dAtA []byte, err error)
- func (m *EventCompleteSwapIn) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCompleteSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCompleteSwapIn) ProtoMessage()
- func (m *EventCompleteSwapIn) Reset()
- func (m *EventCompleteSwapIn) Size() (n int)
- func (m *EventCompleteSwapIn) String() string
- func (m *EventCompleteSwapIn) Unmarshal(dAtA []byte) error
- func (m *EventCompleteSwapIn) XXX_DiscardUnknown()
- func (m *EventCompleteSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCompleteSwapIn) XXX_Merge(src proto.Message)
- func (m *EventCompleteSwapIn) XXX_Size() int
- func (m *EventCompleteSwapIn) XXX_Unmarshal(b []byte) error
- type EventCompleteSwapOut
- func (*EventCompleteSwapOut) Descriptor() ([]byte, []int)
- func (m *EventCompleteSwapOut) GetGlobalVirtualGroupFamilyId() uint32
- func (m *EventCompleteSwapOut) GetGlobalVirtualGroupIds() []uint32
- func (m *EventCompleteSwapOut) GetSrcStorageProviderId() uint32
- func (m *EventCompleteSwapOut) GetStorageProviderId() uint32
- func (m *EventCompleteSwapOut) Marshal() (dAtA []byte, err error)
- func (m *EventCompleteSwapOut) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCompleteSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCompleteSwapOut) ProtoMessage()
- func (m *EventCompleteSwapOut) Reset()
- func (m *EventCompleteSwapOut) Size() (n int)
- func (m *EventCompleteSwapOut) String() string
- func (m *EventCompleteSwapOut) Unmarshal(dAtA []byte) error
- func (m *EventCompleteSwapOut) XXX_DiscardUnknown()
- func (m *EventCompleteSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCompleteSwapOut) XXX_Merge(src proto.Message)
- func (m *EventCompleteSwapOut) XXX_Size() int
- func (m *EventCompleteSwapOut) XXX_Unmarshal(b []byte) error
- type EventCreateGlobalVirtualGroup
- func (*EventCreateGlobalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *EventCreateGlobalVirtualGroup) GetFamilyId() uint32
- func (m *EventCreateGlobalVirtualGroup) GetId() uint32
- func (m *EventCreateGlobalVirtualGroup) GetPrimarySpId() uint32
- func (m *EventCreateGlobalVirtualGroup) GetSecondarySpIds() []uint32
- func (m *EventCreateGlobalVirtualGroup) GetStoredSize() uint64
- func (m *EventCreateGlobalVirtualGroup) GetVirtualPaymentAddress() string
- func (m *EventCreateGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *EventCreateGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateGlobalVirtualGroup) ProtoMessage()
- func (m *EventCreateGlobalVirtualGroup) Reset()
- func (m *EventCreateGlobalVirtualGroup) Size() (n int)
- func (m *EventCreateGlobalVirtualGroup) String() string
- func (m *EventCreateGlobalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *EventCreateGlobalVirtualGroup) XXX_DiscardUnknown()
- func (m *EventCreateGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateGlobalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *EventCreateGlobalVirtualGroup) XXX_Size() int
- func (m *EventCreateGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
- type EventCreateGlobalVirtualGroupFamily
- func (*EventCreateGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
- func (m *EventCreateGlobalVirtualGroupFamily) GetGlobalVirtualGroupIds() []uint32
- func (m *EventCreateGlobalVirtualGroupFamily) GetId() uint32
- func (m *EventCreateGlobalVirtualGroupFamily) GetPrimarySpId() uint32
- func (m *EventCreateGlobalVirtualGroupFamily) GetVirtualPaymentAddress() string
- func (m *EventCreateGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
- func (m *EventCreateGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateGlobalVirtualGroupFamily) ProtoMessage()
- func (m *EventCreateGlobalVirtualGroupFamily) Reset()
- func (m *EventCreateGlobalVirtualGroupFamily) Size() (n int)
- func (m *EventCreateGlobalVirtualGroupFamily) String() string
- func (m *EventCreateGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
- func (m *EventCreateGlobalVirtualGroupFamily) XXX_DiscardUnknown()
- func (m *EventCreateGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
- func (m *EventCreateGlobalVirtualGroupFamily) XXX_Size() int
- func (m *EventCreateGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
- type EventCreateLocalVirtualGroup
- func (*EventCreateLocalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *EventCreateLocalVirtualGroup) GetGlobalVirtualGroupId() uint32
- func (m *EventCreateLocalVirtualGroup) GetId() uint32
- func (m *EventCreateLocalVirtualGroup) GetStoredSize() uint64
- func (m *EventCreateLocalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *EventCreateLocalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateLocalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateLocalVirtualGroup) ProtoMessage()
- func (m *EventCreateLocalVirtualGroup) Reset()
- func (m *EventCreateLocalVirtualGroup) Size() (n int)
- func (m *EventCreateLocalVirtualGroup) String() string
- func (m *EventCreateLocalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *EventCreateLocalVirtualGroup) XXX_DiscardUnknown()
- func (m *EventCreateLocalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateLocalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *EventCreateLocalVirtualGroup) XXX_Size() int
- func (m *EventCreateLocalVirtualGroup) XXX_Unmarshal(b []byte) error
- type EventDeleteGlobalVirtualGroup
- func (*EventDeleteGlobalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *EventDeleteGlobalVirtualGroup) GetId() uint32
- func (m *EventDeleteGlobalVirtualGroup) GetPrimarySpId() uint32
- func (m *EventDeleteGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteGlobalVirtualGroup) ProtoMessage()
- func (m *EventDeleteGlobalVirtualGroup) Reset()
- func (m *EventDeleteGlobalVirtualGroup) Size() (n int)
- func (m *EventDeleteGlobalVirtualGroup) String() string
- func (m *EventDeleteGlobalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *EventDeleteGlobalVirtualGroup) XXX_DiscardUnknown()
- func (m *EventDeleteGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteGlobalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *EventDeleteGlobalVirtualGroup) XXX_Size() int
- func (m *EventDeleteGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
- type EventDeleteGlobalVirtualGroupFamily
- func (*EventDeleteGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
- func (m *EventDeleteGlobalVirtualGroupFamily) GetId() uint32
- func (m *EventDeleteGlobalVirtualGroupFamily) GetPrimarySpId() uint32
- func (m *EventDeleteGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteGlobalVirtualGroupFamily) ProtoMessage()
- func (m *EventDeleteGlobalVirtualGroupFamily) Reset()
- func (m *EventDeleteGlobalVirtualGroupFamily) Size() (n int)
- func (m *EventDeleteGlobalVirtualGroupFamily) String() string
- func (m *EventDeleteGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
- func (m *EventDeleteGlobalVirtualGroupFamily) XXX_DiscardUnknown()
- func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
- func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Size() int
- func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
- type EventDeleteLocalVirtualGroup
- func (*EventDeleteLocalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *EventDeleteLocalVirtualGroup) GetId() uint32
- func (m *EventDeleteLocalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteLocalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteLocalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteLocalVirtualGroup) ProtoMessage()
- func (m *EventDeleteLocalVirtualGroup) Reset()
- func (m *EventDeleteLocalVirtualGroup) Size() (n int)
- func (m *EventDeleteLocalVirtualGroup) String() string
- func (m *EventDeleteLocalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *EventDeleteLocalVirtualGroup) XXX_DiscardUnknown()
- func (m *EventDeleteLocalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteLocalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *EventDeleteLocalVirtualGroup) XXX_Size() int
- func (m *EventDeleteLocalVirtualGroup) XXX_Unmarshal(b []byte) error
- type EventReserveSwapIn
- func (*EventReserveSwapIn) Descriptor() ([]byte, []int)
- func (m *EventReserveSwapIn) GetExpirationTime() uint64
- func (m *EventReserveSwapIn) GetGlobalVirtualGroupFamilyId() uint32
- func (m *EventReserveSwapIn) GetGlobalVirtualGroupId() uint32
- func (m *EventReserveSwapIn) GetStorageProviderId() uint32
- func (m *EventReserveSwapIn) GetTargetSpId() uint32
- func (m *EventReserveSwapIn) Marshal() (dAtA []byte, err error)
- func (m *EventReserveSwapIn) MarshalTo(dAtA []byte) (int, error)
- func (m *EventReserveSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventReserveSwapIn) ProtoMessage()
- func (m *EventReserveSwapIn) Reset()
- func (m *EventReserveSwapIn) Size() (n int)
- func (m *EventReserveSwapIn) String() string
- func (m *EventReserveSwapIn) Unmarshal(dAtA []byte) error
- func (m *EventReserveSwapIn) XXX_DiscardUnknown()
- func (m *EventReserveSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventReserveSwapIn) XXX_Merge(src proto.Message)
- func (m *EventReserveSwapIn) XXX_Size() int
- func (m *EventReserveSwapIn) XXX_Unmarshal(b []byte) error
- type EventSettleGlobalVirtualGroup
- func (*EventSettleGlobalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *EventSettleGlobalVirtualGroup) GetId() uint32
- func (m *EventSettleGlobalVirtualGroup) GetSpFundingAddresses() []string
- func (m *EventSettleGlobalVirtualGroup) GetSpIds() []uint32
- func (m *EventSettleGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *EventSettleGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSettleGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSettleGlobalVirtualGroup) ProtoMessage()
- func (m *EventSettleGlobalVirtualGroup) Reset()
- func (m *EventSettleGlobalVirtualGroup) Size() (n int)
- func (m *EventSettleGlobalVirtualGroup) String() string
- func (m *EventSettleGlobalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *EventSettleGlobalVirtualGroup) XXX_DiscardUnknown()
- func (m *EventSettleGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSettleGlobalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *EventSettleGlobalVirtualGroup) XXX_Size() int
- func (m *EventSettleGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
- type EventSettleGlobalVirtualGroupFamily
- func (*EventSettleGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
- func (m *EventSettleGlobalVirtualGroupFamily) GetId() uint32
- func (m *EventSettleGlobalVirtualGroupFamily) GetSpFundingAddress() string
- func (m *EventSettleGlobalVirtualGroupFamily) GetSpId() uint32
- func (m *EventSettleGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
- func (m *EventSettleGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSettleGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSettleGlobalVirtualGroupFamily) ProtoMessage()
- func (m *EventSettleGlobalVirtualGroupFamily) Reset()
- func (m *EventSettleGlobalVirtualGroupFamily) Size() (n int)
- func (m *EventSettleGlobalVirtualGroupFamily) String() string
- func (m *EventSettleGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
- func (m *EventSettleGlobalVirtualGroupFamily) XXX_DiscardUnknown()
- func (m *EventSettleGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSettleGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
- func (m *EventSettleGlobalVirtualGroupFamily) XXX_Size() int
- func (m *EventSettleGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
- type EventStorageProviderExit
- func (*EventStorageProviderExit) Descriptor() ([]byte, []int)
- func (m *EventStorageProviderExit) GetOperatorAddress() string
- func (m *EventStorageProviderExit) GetStorageProviderId() uint32
- func (m *EventStorageProviderExit) Marshal() (dAtA []byte, err error)
- func (m *EventStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventStorageProviderExit) ProtoMessage()
- func (m *EventStorageProviderExit) Reset()
- func (m *EventStorageProviderExit) Size() (n int)
- func (m *EventStorageProviderExit) String() string
- func (m *EventStorageProviderExit) Unmarshal(dAtA []byte) error
- func (m *EventStorageProviderExit) XXX_DiscardUnknown()
- func (m *EventStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventStorageProviderExit) XXX_Merge(src proto.Message)
- func (m *EventStorageProviderExit) XXX_Size() int
- func (m *EventStorageProviderExit) XXX_Unmarshal(b []byte) error
- type EventStorageProviderForcedExit
- func (*EventStorageProviderForcedExit) Descriptor() ([]byte, []int)
- func (m *EventStorageProviderForcedExit) GetStorageProviderId() uint32
- func (m *EventStorageProviderForcedExit) Marshal() (dAtA []byte, err error)
- func (m *EventStorageProviderForcedExit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventStorageProviderForcedExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventStorageProviderForcedExit) ProtoMessage()
- func (m *EventStorageProviderForcedExit) Reset()
- func (m *EventStorageProviderForcedExit) Size() (n int)
- func (m *EventStorageProviderForcedExit) String() string
- func (m *EventStorageProviderForcedExit) Unmarshal(dAtA []byte) error
- func (m *EventStorageProviderForcedExit) XXX_DiscardUnknown()
- func (m *EventStorageProviderForcedExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventStorageProviderForcedExit) XXX_Merge(src proto.Message)
- func (m *EventStorageProviderForcedExit) XXX_Size() int
- func (m *EventStorageProviderForcedExit) XXX_Unmarshal(b []byte) error
- type EventSwapOut
- func (*EventSwapOut) Descriptor() ([]byte, []int)
- func (m *EventSwapOut) GetGlobalVirtualGroupFamilyId() uint32
- func (m *EventSwapOut) GetGlobalVirtualGroupIds() []uint32
- func (m *EventSwapOut) GetStorageProviderId() uint32
- func (m *EventSwapOut) GetSuccessorSpId() uint32
- func (m *EventSwapOut) Marshal() (dAtA []byte, err error)
- func (m *EventSwapOut) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSwapOut) ProtoMessage()
- func (m *EventSwapOut) Reset()
- func (m *EventSwapOut) Size() (n int)
- func (m *EventSwapOut) String() string
- func (m *EventSwapOut) Unmarshal(dAtA []byte) error
- func (m *EventSwapOut) XXX_DiscardUnknown()
- func (m *EventSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSwapOut) XXX_Merge(src proto.Message)
- func (m *EventSwapOut) XXX_Size() int
- func (m *EventSwapOut) XXX_Unmarshal(b []byte) error
- type EventUpdateGlobalVirtualGroup
- func (*EventUpdateGlobalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *EventUpdateGlobalVirtualGroup) GetId() uint32
- func (m *EventUpdateGlobalVirtualGroup) GetPrimarySpId() uint32
- func (m *EventUpdateGlobalVirtualGroup) GetSecondarySpIds() []uint32
- func (m *EventUpdateGlobalVirtualGroup) GetStoreSize() uint64
- func (m *EventUpdateGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateGlobalVirtualGroup) ProtoMessage()
- func (m *EventUpdateGlobalVirtualGroup) Reset()
- func (m *EventUpdateGlobalVirtualGroup) Size() (n int)
- func (m *EventUpdateGlobalVirtualGroup) String() string
- func (m *EventUpdateGlobalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *EventUpdateGlobalVirtualGroup) XXX_DiscardUnknown()
- func (m *EventUpdateGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateGlobalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *EventUpdateGlobalVirtualGroup) XXX_Size() int
- func (m *EventUpdateGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
- type EventUpdateGlobalVirtualGroupFamily
- func (*EventUpdateGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
- func (m *EventUpdateGlobalVirtualGroupFamily) GetGlobalVirtualGroupIds() []uint32
- func (m *EventUpdateGlobalVirtualGroupFamily) GetId() uint32
- func (m *EventUpdateGlobalVirtualGroupFamily) GetPrimarySpId() uint32
- func (m *EventUpdateGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateGlobalVirtualGroupFamily) ProtoMessage()
- func (m *EventUpdateGlobalVirtualGroupFamily) Reset()
- func (m *EventUpdateGlobalVirtualGroupFamily) Size() (n int)
- func (m *EventUpdateGlobalVirtualGroupFamily) String() string
- func (m *EventUpdateGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
- func (m *EventUpdateGlobalVirtualGroupFamily) XXX_DiscardUnknown()
- func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
- func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Size() int
- func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
- type EventUpdateLocalVirtualGroup
- func (*EventUpdateLocalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *EventUpdateLocalVirtualGroup) GetGlobalVirtualGroupId() uint32
- func (m *EventUpdateLocalVirtualGroup) GetId() uint32
- func (m *EventUpdateLocalVirtualGroup) GetStoredSize() uint64
- func (m *EventUpdateLocalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateLocalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateLocalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateLocalVirtualGroup) ProtoMessage()
- func (m *EventUpdateLocalVirtualGroup) Reset()
- func (m *EventUpdateLocalVirtualGroup) Size() (n int)
- func (m *EventUpdateLocalVirtualGroup) String() string
- func (m *EventUpdateLocalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *EventUpdateLocalVirtualGroup) XXX_DiscardUnknown()
- func (m *EventUpdateLocalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateLocalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *EventUpdateLocalVirtualGroup) XXX_Size() int
- func (m *EventUpdateLocalVirtualGroup) XXX_Unmarshal(b []byte) error
- type GVGFamilyStatisticsWithinSP
- func (*GVGFamilyStatisticsWithinSP) Descriptor() ([]byte, []int)
- func (m *GVGFamilyStatisticsWithinSP) GetGlobalVirtualGroupFamilyIds() []uint32
- func (m *GVGFamilyStatisticsWithinSP) GetSpId() uint32
- func (m *GVGFamilyStatisticsWithinSP) Marshal() (dAtA []byte, err error)
- func (m *GVGFamilyStatisticsWithinSP) MarshalTo(dAtA []byte) (int, error)
- func (m *GVGFamilyStatisticsWithinSP) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GVGFamilyStatisticsWithinSP) ProtoMessage()
- func (m *GVGFamilyStatisticsWithinSP) Reset()
- func (m *GVGFamilyStatisticsWithinSP) Size() (n int)
- func (m *GVGFamilyStatisticsWithinSP) String() string
- func (m *GVGFamilyStatisticsWithinSP) Unmarshal(dAtA []byte) error
- func (m *GVGFamilyStatisticsWithinSP) XXX_DiscardUnknown()
- func (m *GVGFamilyStatisticsWithinSP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GVGFamilyStatisticsWithinSP) XXX_Merge(src proto.Message)
- func (m *GVGFamilyStatisticsWithinSP) XXX_Size() int
- func (m *GVGFamilyStatisticsWithinSP) XXX_Unmarshal(b []byte) error
- type GVGStatisticsWithinSP
- func (*GVGStatisticsWithinSP) Descriptor() ([]byte, []int)
- func (m *GVGStatisticsWithinSP) GetBreakRedundancyReqmtGvgCount() uint32
- func (m *GVGStatisticsWithinSP) GetPrimaryCount() uint32
- func (m *GVGStatisticsWithinSP) GetSecondaryCount() uint32
- func (m *GVGStatisticsWithinSP) GetStorageProviderId() uint32
- func (m *GVGStatisticsWithinSP) Marshal() (dAtA []byte, err error)
- func (m *GVGStatisticsWithinSP) MarshalTo(dAtA []byte) (int, error)
- func (m *GVGStatisticsWithinSP) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GVGStatisticsWithinSP) ProtoMessage()
- func (m *GVGStatisticsWithinSP) Reset()
- func (m *GVGStatisticsWithinSP) Size() (n int)
- func (m *GVGStatisticsWithinSP) String() string
- func (m *GVGStatisticsWithinSP) Unmarshal(dAtA []byte) error
- func (m *GVGStatisticsWithinSP) XXX_DiscardUnknown()
- func (m *GVGStatisticsWithinSP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GVGStatisticsWithinSP) XXX_Merge(src proto.Message)
- func (m *GVGStatisticsWithinSP) XXX_Size() int
- func (m *GVGStatisticsWithinSP) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GlobalVirtualGroup
- func (*GlobalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *GlobalVirtualGroup) GetFamilyId() uint32
- func (m *GlobalVirtualGroup) GetId() uint32
- func (m *GlobalVirtualGroup) GetPrimarySpId() uint32
- func (m *GlobalVirtualGroup) GetSecondarySpIds() []uint32
- func (m *GlobalVirtualGroup) GetStoredSize() uint64
- func (m *GlobalVirtualGroup) GetVirtualPaymentAddress() string
- func (m *GlobalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *GlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *GlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GlobalVirtualGroup) ProtoMessage()
- func (m *GlobalVirtualGroup) Reset()
- func (m *GlobalVirtualGroup) Size() (n int)
- func (m *GlobalVirtualGroup) String() string
- func (m *GlobalVirtualGroup) Unmarshal(dAtA []byte) error
- func (m *GlobalVirtualGroup) XXX_DiscardUnknown()
- func (m *GlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GlobalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *GlobalVirtualGroup) XXX_Size() int
- func (m *GlobalVirtualGroup) XXX_Unmarshal(b []byte) error
- type GlobalVirtualGroupFamily
- func (f *GlobalVirtualGroupFamily) AppendGVG(gvgID uint32)
- func (f *GlobalVirtualGroupFamily) Contains(gvgID uint32) bool
- func (*GlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
- func (m *GlobalVirtualGroupFamily) GetGlobalVirtualGroupIds() []uint32
- func (m *GlobalVirtualGroupFamily) GetId() uint32
- func (m *GlobalVirtualGroupFamily) GetPrimarySpId() uint32
- func (m *GlobalVirtualGroupFamily) GetVirtualPaymentAddress() string
- func (m *GlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
- func (m *GlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
- func (m *GlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (f *GlobalVirtualGroupFamily) MustRemoveGVG(gvgID uint32)
- func (*GlobalVirtualGroupFamily) ProtoMessage()
- func (f *GlobalVirtualGroupFamily) RemoveGVG(gvgID uint32) error
- func (m *GlobalVirtualGroupFamily) Reset()
- func (m *GlobalVirtualGroupFamily) Size() (n int)
- func (m *GlobalVirtualGroupFamily) String() string
- func (m *GlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
- func (m *GlobalVirtualGroupFamily) XXX_DiscardUnknown()
- func (m *GlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
- func (m *GlobalVirtualGroupFamily) XXX_Size() int
- func (m *GlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
- type GlobalVirtualGroupsBindingOnBucket
- func (g *GlobalVirtualGroupsBindingOnBucket) AppendGVGAndLVG(gvgID, lvgID uint32)
- func (*GlobalVirtualGroupsBindingOnBucket) Descriptor() ([]byte, []int)
- func (g *GlobalVirtualGroupsBindingOnBucket) GetGVGIDByLVGID(lvgID uint32) uint32
- func (m *GlobalVirtualGroupsBindingOnBucket) GetGlobalVirtualGroupIds() []uint32
- func (g *GlobalVirtualGroupsBindingOnBucket) GetLVGIDByGVGID(gvgID uint32) uint32
- func (m *GlobalVirtualGroupsBindingOnBucket) GetLocalVirtualGroupIds() []uint32
- func (m *GlobalVirtualGroupsBindingOnBucket) Marshal() (dAtA []byte, err error)
- func (m *GlobalVirtualGroupsBindingOnBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *GlobalVirtualGroupsBindingOnBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GlobalVirtualGroupsBindingOnBucket) ProtoMessage()
- func (m *GlobalVirtualGroupsBindingOnBucket) Reset()
- func (m *GlobalVirtualGroupsBindingOnBucket) Size() (n int)
- func (m *GlobalVirtualGroupsBindingOnBucket) String() string
- func (m *GlobalVirtualGroupsBindingOnBucket) Unmarshal(dAtA []byte) error
- func (m *GlobalVirtualGroupsBindingOnBucket) XXX_DiscardUnknown()
- func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Merge(src proto.Message)
- func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Size() int
- func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Unmarshal(b []byte) error
- type Int
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx types0.Context, addr types0.AccAddress) types1.AccountI
- func (m *MockAccountKeeper) GetModuleAccount(ctx types0.Context, moduleName string) types1.ModuleAccountI
- func (m *MockAccountKeeper) GetModuleAddress(name string) types0.AccAddress
- func (m *MockAccountKeeper) IterateAccounts(ctx types0.Context, process func(types1.AccountI) bool)
- func (m *MockAccountKeeper) SetModuleAccount(arg0 types0.Context, arg1 types1.ModuleAccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) IterateAccounts(ctx, process interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(arg0, arg1 interface{}) *gomock.Call
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx types0.Context, addr types0.AccAddress) types0.Coins
- func (m *MockBankKeeper) GetBalance(ctx types0.Context, addr types0.AccAddress, denom string) types0.Coin
- func (m *MockBankKeeper) LockedCoins(ctx types0.Context, addr types0.AccAddress) types0.Coins
- func (m *MockBankKeeper) SendCoins(ctx types0.Context, fromAddr, toAddr types0.AccAddress, amt types0.Coins) error
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types0.Context, senderAddr types0.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types0.Context, senderModule string, recipientAddr types0.AccAddress, ...) error
- func (m *MockBankKeeper) SpendableCoins(ctx types0.Context, addr types0.AccAddress) types0.Coins
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
- type MockPaymentKeeper
- func (m *MockPaymentKeeper) EXPECT() *MockPaymentKeeperMockRecorder
- func (m *MockPaymentKeeper) IsEmptyNetFlow(ctx types0.Context, account types0.AccAddress) bool
- func (m *MockPaymentKeeper) QueryDynamicBalance(ctx types0.Context, addr types0.AccAddress) (math.Int, error)
- func (m *MockPaymentKeeper) Withdraw(ctx types0.Context, fromAddr, toAddr types0.AccAddress, amount math.Int) error
- type MockPaymentKeeperMockRecorder
- type MockSpKeeper
- func (m *MockSpKeeper) DepositDenomForSP(ctx types0.Context) string
- func (m *MockSpKeeper) EXPECT() *MockSpKeeperMockRecorder
- func (m *MockSpKeeper) Exit(ctx types0.Context, sp *types.StorageProvider) error
- func (m *MockSpKeeper) GetAllStorageProviders(ctx types0.Context) []types.StorageProvider
- func (m *MockSpKeeper) GetStorageProvider(ctx types0.Context, id uint32) (*types.StorageProvider, bool)
- func (m *MockSpKeeper) GetStorageProviderByFundingAddr(ctx types0.Context, sealAddr types0.AccAddress) (*types.StorageProvider, bool)
- func (m *MockSpKeeper) GetStorageProviderByOperatorAddr(ctx types0.Context, addr types0.AccAddress) (*types.StorageProvider, bool)
- func (m *MockSpKeeper) SetStorageProvider(ctx types0.Context, sp *types.StorageProvider)
- type MockSpKeeperMockRecorder
- func (mr *MockSpKeeperMockRecorder) DepositDenomForSP(ctx interface{}) *gomock.Call
- func (mr *MockSpKeeperMockRecorder) Exit(ctx, sp interface{}) *gomock.Call
- func (mr *MockSpKeeperMockRecorder) GetAllStorageProviders(ctx interface{}) *gomock.Call
- func (mr *MockSpKeeperMockRecorder) GetStorageProvider(ctx, id interface{}) *gomock.Call
- func (mr *MockSpKeeperMockRecorder) GetStorageProviderByFundingAddr(ctx, sealAddr interface{}) *gomock.Call
- func (mr *MockSpKeeperMockRecorder) GetStorageProviderByOperatorAddr(ctx, addr interface{}) *gomock.Call
- func (mr *MockSpKeeperMockRecorder) SetStorageProvider(ctx, sp interface{}) *gomock.Call
- type MockStorageKeeper
- type MockStorageKeeperMockRecorder
- type MsgCancelSwapIn
- func (*MsgCancelSwapIn) Descriptor() ([]byte, []int)
- func (m *MsgCancelSwapIn) GetGlobalVirtualGroupFamilyId() uint32
- func (m *MsgCancelSwapIn) GetGlobalVirtualGroupId() uint32
- func (msg *MsgCancelSwapIn) GetSigners() []sdk.AccAddress
- func (m *MsgCancelSwapIn) GetStorageProvider() string
- func (m *MsgCancelSwapIn) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelSwapIn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelSwapIn) ProtoMessage()
- func (m *MsgCancelSwapIn) Reset()
- func (msg *MsgCancelSwapIn) Route() string
- func (m *MsgCancelSwapIn) Size() (n int)
- func (m *MsgCancelSwapIn) String() string
- func (msg *MsgCancelSwapIn) Type() string
- func (m *MsgCancelSwapIn) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelSwapIn) ValidateBasic() error
- func (m *MsgCancelSwapIn) XXX_DiscardUnknown()
- func (m *MsgCancelSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelSwapIn) XXX_Merge(src proto.Message)
- func (m *MsgCancelSwapIn) XXX_Size() int
- func (m *MsgCancelSwapIn) XXX_Unmarshal(b []byte) error
- type MsgCancelSwapInResponse
- func (*MsgCancelSwapInResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelSwapInResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelSwapInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelSwapInResponse) ProtoMessage()
- func (m *MsgCancelSwapInResponse) Reset()
- func (m *MsgCancelSwapInResponse) Size() (n int)
- func (m *MsgCancelSwapInResponse) String() string
- func (m *MsgCancelSwapInResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelSwapInResponse) XXX_DiscardUnknown()
- func (m *MsgCancelSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelSwapInResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelSwapInResponse) XXX_Size() int
- func (m *MsgCancelSwapInResponse) XXX_Unmarshal(b []byte) error
- type MsgCancelSwapOut
- func (*MsgCancelSwapOut) Descriptor() ([]byte, []int)
- func (m *MsgCancelSwapOut) GetGlobalVirtualGroupFamilyId() uint32
- func (m *MsgCancelSwapOut) GetGlobalVirtualGroupIds() []uint32
- func (msg *MsgCancelSwapOut) GetSignBytes() []byte
- func (msg *MsgCancelSwapOut) GetSigners() []sdk.AccAddress
- func (m *MsgCancelSwapOut) GetStorageProvider() string
- func (m *MsgCancelSwapOut) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelSwapOut) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelSwapOut) ProtoMessage()
- func (m *MsgCancelSwapOut) Reset()
- func (msg *MsgCancelSwapOut) Route() string
- func (m *MsgCancelSwapOut) Size() (n int)
- func (m *MsgCancelSwapOut) String() string
- func (msg *MsgCancelSwapOut) Type() string
- func (m *MsgCancelSwapOut) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelSwapOut) ValidateBasic() error
- func (m *MsgCancelSwapOut) XXX_DiscardUnknown()
- func (m *MsgCancelSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelSwapOut) XXX_Merge(src proto.Message)
- func (m *MsgCancelSwapOut) XXX_Size() int
- func (m *MsgCancelSwapOut) XXX_Unmarshal(b []byte) error
- type MsgCancelSwapOutResponse
- func (*MsgCancelSwapOutResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelSwapOutResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelSwapOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelSwapOutResponse) ProtoMessage()
- func (m *MsgCancelSwapOutResponse) Reset()
- func (m *MsgCancelSwapOutResponse) Size() (n int)
- func (m *MsgCancelSwapOutResponse) String() string
- func (m *MsgCancelSwapOutResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelSwapOutResponse) XXX_DiscardUnknown()
- func (m *MsgCancelSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelSwapOutResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelSwapOutResponse) XXX_Size() int
- func (m *MsgCancelSwapOutResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCompleteStorageProviderExit
- func (*MsgCompleteStorageProviderExit) Descriptor() ([]byte, []int)
- func (m *MsgCompleteStorageProviderExit) GetOperator() string
- func (msg *MsgCompleteStorageProviderExit) GetSignBytes() []byte
- func (msg *MsgCompleteStorageProviderExit) GetSigners() []sdk.AccAddress
- func (m *MsgCompleteStorageProviderExit) GetStorageProvider() string
- func (m *MsgCompleteStorageProviderExit) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteStorageProviderExit) ProtoMessage()
- func (m *MsgCompleteStorageProviderExit) Reset()
- func (msg *MsgCompleteStorageProviderExit) Route() string
- func (m *MsgCompleteStorageProviderExit) Size() (n int)
- func (m *MsgCompleteStorageProviderExit) String() string
- func (msg *MsgCompleteStorageProviderExit) Type() string
- func (m *MsgCompleteStorageProviderExit) Unmarshal(dAtA []byte) error
- func (msg *MsgCompleteStorageProviderExit) ValidateBasic() error
- func (msg *MsgCompleteStorageProviderExit) ValidateRuntime(ctx sdk.Context) error
- func (m *MsgCompleteStorageProviderExit) XXX_DiscardUnknown()
- func (m *MsgCompleteStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteStorageProviderExit) XXX_Merge(src proto.Message)
- func (m *MsgCompleteStorageProviderExit) XXX_Size() int
- func (m *MsgCompleteStorageProviderExit) XXX_Unmarshal(b []byte) error
- type MsgCompleteStorageProviderExitResponse
- func (*MsgCompleteStorageProviderExitResponse) Descriptor() ([]byte, []int)
- func (m *MsgCompleteStorageProviderExitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteStorageProviderExitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteStorageProviderExitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteStorageProviderExitResponse) ProtoMessage()
- func (m *MsgCompleteStorageProviderExitResponse) Reset()
- func (m *MsgCompleteStorageProviderExitResponse) Size() (n int)
- func (m *MsgCompleteStorageProviderExitResponse) String() string
- func (m *MsgCompleteStorageProviderExitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCompleteStorageProviderExitResponse) XXX_DiscardUnknown()
- func (m *MsgCompleteStorageProviderExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteStorageProviderExitResponse) XXX_Merge(src proto.Message)
- func (m *MsgCompleteStorageProviderExitResponse) XXX_Size() int
- func (m *MsgCompleteStorageProviderExitResponse) XXX_Unmarshal(b []byte) error
- type MsgCompleteSwapIn
- func (*MsgCompleteSwapIn) Descriptor() ([]byte, []int)
- func (m *MsgCompleteSwapIn) GetGlobalVirtualGroupFamilyId() uint32
- func (m *MsgCompleteSwapIn) GetGlobalVirtualGroupId() uint32
- func (msg *MsgCompleteSwapIn) GetSignBytes() []byte
- func (msg *MsgCompleteSwapIn) GetSigners() []sdk.AccAddress
- func (m *MsgCompleteSwapIn) GetStorageProvider() string
- func (m *MsgCompleteSwapIn) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteSwapIn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteSwapIn) ProtoMessage()
- func (m *MsgCompleteSwapIn) Reset()
- func (msg *MsgCompleteSwapIn) Route() string
- func (m *MsgCompleteSwapIn) Size() (n int)
- func (m *MsgCompleteSwapIn) String() string
- func (msg *MsgCompleteSwapIn) Type() string
- func (m *MsgCompleteSwapIn) Unmarshal(dAtA []byte) error
- func (msg *MsgCompleteSwapIn) ValidateBasic() error
- func (m *MsgCompleteSwapIn) XXX_DiscardUnknown()
- func (m *MsgCompleteSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteSwapIn) XXX_Merge(src proto.Message)
- func (m *MsgCompleteSwapIn) XXX_Size() int
- func (m *MsgCompleteSwapIn) XXX_Unmarshal(b []byte) error
- type MsgCompleteSwapInResponse
- func (*MsgCompleteSwapInResponse) Descriptor() ([]byte, []int)
- func (m *MsgCompleteSwapInResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteSwapInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteSwapInResponse) ProtoMessage()
- func (m *MsgCompleteSwapInResponse) Reset()
- func (m *MsgCompleteSwapInResponse) Size() (n int)
- func (m *MsgCompleteSwapInResponse) String() string
- func (m *MsgCompleteSwapInResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCompleteSwapInResponse) XXX_DiscardUnknown()
- func (m *MsgCompleteSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteSwapInResponse) XXX_Merge(src proto.Message)
- func (m *MsgCompleteSwapInResponse) XXX_Size() int
- func (m *MsgCompleteSwapInResponse) XXX_Unmarshal(b []byte) error
- type MsgCompleteSwapOut
- func (*MsgCompleteSwapOut) Descriptor() ([]byte, []int)
- func (m *MsgCompleteSwapOut) GetGlobalVirtualGroupFamilyId() uint32
- func (m *MsgCompleteSwapOut) GetGlobalVirtualGroupIds() []uint32
- func (msg *MsgCompleteSwapOut) GetSignBytes() []byte
- func (msg *MsgCompleteSwapOut) GetSigners() []sdk.AccAddress
- func (m *MsgCompleteSwapOut) GetStorageProvider() string
- func (m *MsgCompleteSwapOut) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteSwapOut) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteSwapOut) ProtoMessage()
- func (m *MsgCompleteSwapOut) Reset()
- func (msg *MsgCompleteSwapOut) Route() string
- func (m *MsgCompleteSwapOut) Size() (n int)
- func (m *MsgCompleteSwapOut) String() string
- func (msg *MsgCompleteSwapOut) Type() string
- func (m *MsgCompleteSwapOut) Unmarshal(dAtA []byte) error
- func (msg *MsgCompleteSwapOut) ValidateBasic() error
- func (m *MsgCompleteSwapOut) XXX_DiscardUnknown()
- func (m *MsgCompleteSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteSwapOut) XXX_Merge(src proto.Message)
- func (m *MsgCompleteSwapOut) XXX_Size() int
- func (m *MsgCompleteSwapOut) XXX_Unmarshal(b []byte) error
- type MsgCompleteSwapOutResponse
- func (*MsgCompleteSwapOutResponse) Descriptor() ([]byte, []int)
- func (m *MsgCompleteSwapOutResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCompleteSwapOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCompleteSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCompleteSwapOutResponse) ProtoMessage()
- func (m *MsgCompleteSwapOutResponse) Reset()
- func (m *MsgCompleteSwapOutResponse) Size() (n int)
- func (m *MsgCompleteSwapOutResponse) String() string
- func (m *MsgCompleteSwapOutResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCompleteSwapOutResponse) XXX_DiscardUnknown()
- func (m *MsgCompleteSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCompleteSwapOutResponse) XXX_Merge(src proto.Message)
- func (m *MsgCompleteSwapOutResponse) XXX_Size() int
- func (m *MsgCompleteSwapOutResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateGlobalVirtualGroup
- func (*MsgCreateGlobalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *MsgCreateGlobalVirtualGroup) GetDeposit() types.Coin
- func (m *MsgCreateGlobalVirtualGroup) GetFamilyId() uint32
- func (m *MsgCreateGlobalVirtualGroup) GetSecondarySpIds() []uint32
- func (msg *MsgCreateGlobalVirtualGroup) GetSignBytes() []byte
- func (msg *MsgCreateGlobalVirtualGroup) GetSigners() []sdk.AccAddress
- func (m *MsgCreateGlobalVirtualGroup) GetStorageProvider() string
- func (m *MsgCreateGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGlobalVirtualGroup) ProtoMessage()
- func (m *MsgCreateGlobalVirtualGroup) Reset()
- func (msg *MsgCreateGlobalVirtualGroup) Route() string
- func (m *MsgCreateGlobalVirtualGroup) Size() (n int)
- func (m *MsgCreateGlobalVirtualGroup) String() string
- func (msg *MsgCreateGlobalVirtualGroup) Type() string
- func (m *MsgCreateGlobalVirtualGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateGlobalVirtualGroup) ValidateBasic() error
- func (m *MsgCreateGlobalVirtualGroup) XXX_DiscardUnknown()
- func (m *MsgCreateGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGlobalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *MsgCreateGlobalVirtualGroup) XXX_Size() int
- func (m *MsgCreateGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
- type MsgCreateGlobalVirtualGroupResponse
- func (*MsgCreateGlobalVirtualGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateGlobalVirtualGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGlobalVirtualGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGlobalVirtualGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGlobalVirtualGroupResponse) ProtoMessage()
- func (m *MsgCreateGlobalVirtualGroupResponse) Reset()
- func (m *MsgCreateGlobalVirtualGroupResponse) Size() (n int)
- func (m *MsgCreateGlobalVirtualGroupResponse) String() string
- func (m *MsgCreateGlobalVirtualGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateGlobalVirtualGroupResponse) XXX_DiscardUnknown()
- func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Size() int
- func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteGlobalVirtualGroup
- func (*MsgDeleteGlobalVirtualGroup) Descriptor() ([]byte, []int)
- func (m *MsgDeleteGlobalVirtualGroup) GetGlobalVirtualGroupId() uint32
- func (msg *MsgDeleteGlobalVirtualGroup) GetSignBytes() []byte
- func (msg *MsgDeleteGlobalVirtualGroup) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteGlobalVirtualGroup) GetStorageProvider() string
- func (m *MsgDeleteGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteGlobalVirtualGroup) ProtoMessage()
- func (m *MsgDeleteGlobalVirtualGroup) Reset()
- func (msg *MsgDeleteGlobalVirtualGroup) Route() string
- func (m *MsgDeleteGlobalVirtualGroup) Size() (n int)
- func (m *MsgDeleteGlobalVirtualGroup) String() string
- func (msg *MsgDeleteGlobalVirtualGroup) Type() string
- func (m *MsgDeleteGlobalVirtualGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteGlobalVirtualGroup) ValidateBasic() error
- func (m *MsgDeleteGlobalVirtualGroup) XXX_DiscardUnknown()
- func (m *MsgDeleteGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteGlobalVirtualGroup) XXX_Merge(src proto.Message)
- func (m *MsgDeleteGlobalVirtualGroup) XXX_Size() int
- func (m *MsgDeleteGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
- type MsgDeleteGlobalVirtualGroupResponse
- func (*MsgDeleteGlobalVirtualGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteGlobalVirtualGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteGlobalVirtualGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteGlobalVirtualGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteGlobalVirtualGroupResponse) ProtoMessage()
- func (m *MsgDeleteGlobalVirtualGroupResponse) Reset()
- func (m *MsgDeleteGlobalVirtualGroupResponse) Size() (n int)
- func (m *MsgDeleteGlobalVirtualGroupResponse) String() string
- func (m *MsgDeleteGlobalVirtualGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Size() int
- func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgDeposit
- func (*MsgDeposit) Descriptor() ([]byte, []int)
- func (m *MsgDeposit) GetDeposit() types.Coin
- func (m *MsgDeposit) GetGlobalVirtualGroupId() uint32
- func (msg *MsgDeposit) GetSignBytes() []byte
- func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgDeposit) GetStorageProvider() string
- func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeposit) ProtoMessage()
- func (m *MsgDeposit) Reset()
- func (msg *MsgDeposit) Route() string
- func (m *MsgDeposit) Size() (n int)
- func (m *MsgDeposit) String() string
- func (msg *MsgDeposit) Type() string
- func (m *MsgDeposit) Unmarshal(dAtA []byte) error
- func (msg *MsgDeposit) ValidateBasic() error
- func (m *MsgDeposit) XXX_DiscardUnknown()
- func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeposit) XXX_Merge(src proto.Message)
- func (m *MsgDeposit) XXX_Size() int
- func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
- type MsgDepositResponse
- func (*MsgDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositResponse) ProtoMessage()
- func (m *MsgDepositResponse) Reset()
- func (m *MsgDepositResponse) Size() (n int)
- func (m *MsgDepositResponse) String() string
- func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositResponse) XXX_DiscardUnknown()
- func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositResponse) XXX_Size() int
- func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgReserveSwapIn
- func (*MsgReserveSwapIn) Descriptor() ([]byte, []int)
- func (m *MsgReserveSwapIn) GetGlobalVirtualGroupFamilyId() uint32
- func (m *MsgReserveSwapIn) GetGlobalVirtualGroupId() uint32
- func (msg *MsgReserveSwapIn) GetSignBytes() []byte
- func (msg *MsgReserveSwapIn) GetSigners() []sdk.AccAddress
- func (m *MsgReserveSwapIn) GetStorageProvider() string
- func (m *MsgReserveSwapIn) GetTargetSpId() uint32
- func (m *MsgReserveSwapIn) Marshal() (dAtA []byte, err error)
- func (m *MsgReserveSwapIn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReserveSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReserveSwapIn) ProtoMessage()
- func (m *MsgReserveSwapIn) Reset()
- func (msg *MsgReserveSwapIn) Route() string
- func (m *MsgReserveSwapIn) Size() (n int)
- func (m *MsgReserveSwapIn) String() string
- func (msg *MsgReserveSwapIn) Type() string
- func (m *MsgReserveSwapIn) Unmarshal(dAtA []byte) error
- func (msg *MsgReserveSwapIn) ValidateBasic() error
- func (m *MsgReserveSwapIn) XXX_DiscardUnknown()
- func (m *MsgReserveSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReserveSwapIn) XXX_Merge(src proto.Message)
- func (m *MsgReserveSwapIn) XXX_Size() int
- func (m *MsgReserveSwapIn) XXX_Unmarshal(b []byte) error
- type MsgReserveSwapInResponse
- func (*MsgReserveSwapInResponse) Descriptor() ([]byte, []int)
- func (m *MsgReserveSwapInResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgReserveSwapInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReserveSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReserveSwapInResponse) ProtoMessage()
- func (m *MsgReserveSwapInResponse) Reset()
- func (m *MsgReserveSwapInResponse) Size() (n int)
- func (m *MsgReserveSwapInResponse) String() string
- func (m *MsgReserveSwapInResponse) Unmarshal(dAtA []byte) error
- func (m *MsgReserveSwapInResponse) XXX_DiscardUnknown()
- func (m *MsgReserveSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReserveSwapInResponse) XXX_Merge(src proto.Message)
- func (m *MsgReserveSwapInResponse) XXX_Size() int
- func (m *MsgReserveSwapInResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSettle
- func (*MsgSettle) Descriptor() ([]byte, []int)
- func (m *MsgSettle) GetGlobalVirtualGroupFamilyId() uint32
- func (m *MsgSettle) GetGlobalVirtualGroupIds() []uint32
- func (msg *MsgSettle) GetSignBytes() []byte
- func (msg *MsgSettle) GetSigners() []sdk.AccAddress
- func (m *MsgSettle) GetStorageProvider() string
- func (m *MsgSettle) Marshal() (dAtA []byte, err error)
- func (m *MsgSettle) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSettle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSettle) ProtoMessage()
- func (m *MsgSettle) Reset()
- func (msg *MsgSettle) Route() string
- func (m *MsgSettle) Size() (n int)
- func (m *MsgSettle) String() string
- func (msg *MsgSettle) Type() string
- func (m *MsgSettle) Unmarshal(dAtA []byte) error
- func (msg *MsgSettle) ValidateBasic() error
- func (m *MsgSettle) XXX_DiscardUnknown()
- func (m *MsgSettle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSettle) XXX_Merge(src proto.Message)
- func (m *MsgSettle) XXX_Size() int
- func (m *MsgSettle) XXX_Unmarshal(b []byte) error
- type MsgSettleResponse
- func (*MsgSettleResponse) Descriptor() ([]byte, []int)
- func (m *MsgSettleResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSettleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSettleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSettleResponse) ProtoMessage()
- func (m *MsgSettleResponse) Reset()
- func (m *MsgSettleResponse) Size() (n int)
- func (m *MsgSettleResponse) String() string
- func (m *MsgSettleResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSettleResponse) XXX_DiscardUnknown()
- func (m *MsgSettleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSettleResponse) XXX_Merge(src proto.Message)
- func (m *MsgSettleResponse) XXX_Size() int
- func (m *MsgSettleResponse) XXX_Unmarshal(b []byte) error
- type MsgStorageProviderExit
- func (*MsgStorageProviderExit) Descriptor() ([]byte, []int)
- func (msg *MsgStorageProviderExit) GetSignBytes() []byte
- func (msg *MsgStorageProviderExit) GetSigners() []sdk.AccAddress
- func (m *MsgStorageProviderExit) GetStorageProvider() string
- func (m *MsgStorageProviderExit) Marshal() (dAtA []byte, err error)
- func (m *MsgStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStorageProviderExit) ProtoMessage()
- func (m *MsgStorageProviderExit) Reset()
- func (msg *MsgStorageProviderExit) Route() string
- func (m *MsgStorageProviderExit) Size() (n int)
- func (m *MsgStorageProviderExit) String() string
- func (msg *MsgStorageProviderExit) Type() string
- func (m *MsgStorageProviderExit) Unmarshal(dAtA []byte) error
- func (msg *MsgStorageProviderExit) ValidateBasic() error
- func (m *MsgStorageProviderExit) XXX_DiscardUnknown()
- func (m *MsgStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStorageProviderExit) XXX_Merge(src proto.Message)
- func (m *MsgStorageProviderExit) XXX_Size() int
- func (m *MsgStorageProviderExit) XXX_Unmarshal(b []byte) error
- type MsgStorageProviderExitResponse
- func (*MsgStorageProviderExitResponse) Descriptor() ([]byte, []int)
- func (m *MsgStorageProviderExitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStorageProviderExitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStorageProviderExitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStorageProviderExitResponse) ProtoMessage()
- func (m *MsgStorageProviderExitResponse) Reset()
- func (m *MsgStorageProviderExitResponse) Size() (n int)
- func (m *MsgStorageProviderExitResponse) String() string
- func (m *MsgStorageProviderExitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStorageProviderExitResponse) XXX_DiscardUnknown()
- func (m *MsgStorageProviderExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStorageProviderExitResponse) XXX_Merge(src proto.Message)
- func (m *MsgStorageProviderExitResponse) XXX_Size() int
- func (m *MsgStorageProviderExitResponse) XXX_Unmarshal(b []byte) error
- type MsgStorageProviderForcedExit
- func (*MsgStorageProviderForcedExit) Descriptor() ([]byte, []int)
- func (m *MsgStorageProviderForcedExit) GetAuthority() string
- func (msg *MsgStorageProviderForcedExit) GetSignBytes() []byte
- func (msg *MsgStorageProviderForcedExit) GetSigners() []sdk.AccAddress
- func (m *MsgStorageProviderForcedExit) GetStorageProvider() string
- func (m *MsgStorageProviderForcedExit) Marshal() (dAtA []byte, err error)
- func (m *MsgStorageProviderForcedExit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStorageProviderForcedExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStorageProviderForcedExit) ProtoMessage()
- func (m *MsgStorageProviderForcedExit) Reset()
- func (msg *MsgStorageProviderForcedExit) Route() string
- func (m *MsgStorageProviderForcedExit) Size() (n int)
- func (m *MsgStorageProviderForcedExit) String() string
- func (msg *MsgStorageProviderForcedExit) Type() string
- func (m *MsgStorageProviderForcedExit) Unmarshal(dAtA []byte) error
- func (msg *MsgStorageProviderForcedExit) ValidateBasic() error
- func (m *MsgStorageProviderForcedExit) XXX_DiscardUnknown()
- func (m *MsgStorageProviderForcedExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStorageProviderForcedExit) XXX_Merge(src proto.Message)
- func (m *MsgStorageProviderForcedExit) XXX_Size() int
- func (m *MsgStorageProviderForcedExit) XXX_Unmarshal(b []byte) error
- type MsgStorageProviderForcedExitResponse
- func (*MsgStorageProviderForcedExitResponse) Descriptor() ([]byte, []int)
- func (m *MsgStorageProviderForcedExitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStorageProviderForcedExitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStorageProviderForcedExitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStorageProviderForcedExitResponse) ProtoMessage()
- func (m *MsgStorageProviderForcedExitResponse) Reset()
- func (m *MsgStorageProviderForcedExitResponse) Size() (n int)
- func (m *MsgStorageProviderForcedExitResponse) String() string
- func (m *MsgStorageProviderForcedExitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStorageProviderForcedExitResponse) XXX_DiscardUnknown()
- func (m *MsgStorageProviderForcedExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStorageProviderForcedExitResponse) XXX_Merge(src proto.Message)
- func (m *MsgStorageProviderForcedExitResponse) XXX_Size() int
- func (m *MsgStorageProviderForcedExitResponse) XXX_Unmarshal(b []byte) error
- type MsgSwapOut
- func (*MsgSwapOut) Descriptor() ([]byte, []int)
- func (msg *MsgSwapOut) GetApprovalBytes() []byte
- func (m *MsgSwapOut) GetGlobalVirtualGroupFamilyId() uint32
- func (m *MsgSwapOut) GetGlobalVirtualGroupIds() []uint32
- func (msg *MsgSwapOut) GetSignBytes() []byte
- func (msg *MsgSwapOut) GetSigners() []sdk.AccAddress
- func (m *MsgSwapOut) GetStorageProvider() string
- func (m *MsgSwapOut) GetSuccessorSpApproval() *common.Approval
- func (m *MsgSwapOut) GetSuccessorSpId() uint32
- func (m *MsgSwapOut) Marshal() (dAtA []byte, err error)
- func (m *MsgSwapOut) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwapOut) ProtoMessage()
- func (m *MsgSwapOut) Reset()
- func (msg *MsgSwapOut) Route() string
- func (m *MsgSwapOut) Size() (n int)
- func (m *MsgSwapOut) String() string
- func (msg *MsgSwapOut) Type() string
- func (m *MsgSwapOut) Unmarshal(dAtA []byte) error
- func (msg *MsgSwapOut) ValidateBasic() error
- func (m *MsgSwapOut) XXX_DiscardUnknown()
- func (m *MsgSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwapOut) XXX_Merge(src proto.Message)
- func (m *MsgSwapOut) XXX_Size() int
- func (m *MsgSwapOut) XXX_Unmarshal(b []byte) error
- type MsgSwapOutResponse
- func (*MsgSwapOutResponse) Descriptor() ([]byte, []int)
- func (m *MsgSwapOutResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSwapOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwapOutResponse) ProtoMessage()
- func (m *MsgSwapOutResponse) Reset()
- func (m *MsgSwapOutResponse) Size() (n int)
- func (m *MsgSwapOutResponse) String() string
- func (m *MsgSwapOutResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSwapOutResponse) XXX_DiscardUnknown()
- func (m *MsgSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwapOutResponse) XXX_Merge(src proto.Message)
- func (m *MsgSwapOutResponse) XXX_Size() int
- func (m *MsgSwapOutResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdraw
- func (*MsgWithdraw) Descriptor() ([]byte, []int)
- func (m *MsgWithdraw) GetGlobalVirtualGroupId() uint32
- func (msg *MsgWithdraw) GetSignBytes() []byte
- func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgWithdraw) GetStorageProvider() string
- func (m *MsgWithdraw) GetWithdraw() types.Coin
- func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdraw) ProtoMessage()
- func (m *MsgWithdraw) Reset()
- func (msg *MsgWithdraw) Route() string
- func (m *MsgWithdraw) Size() (n int)
- func (m *MsgWithdraw) String() string
- func (msg *MsgWithdraw) Type() string
- func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdraw) ValidateBasic() error
- func (m *MsgWithdraw) XXX_DiscardUnknown()
- func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgWithdraw) XXX_Size() int
- func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
- type MsgWithdrawResponse
- func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawResponse) ProtoMessage()
- func (m *MsgWithdrawResponse) Reset()
- func (m *MsgWithdrawResponse) Size() (n int)
- func (m *MsgWithdrawResponse) String() string
- func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawResponse) XXX_Size() int
- func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetDepositDenom() string
- func (m *Params) GetMaxGlobalVirtualGroupNumPerFamily() uint32
- func (m *Params) GetMaxLocalVirtualGroupNumPerBucket() uint32
- func (m *Params) GetMaxStoreSizePerFamily() uint64
- 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 PaymentKeeper
- type PickVGFStrategy
- type QueryClient
- type QueryGlobalVirtualGroupByFamilyIDRequest
- func (*QueryGlobalVirtualGroupByFamilyIDRequest) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) GetGlobalVirtualGroupFamilyId() uint32
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupByFamilyIDRequest) ProtoMessage()
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Reset()
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Size() (n int)
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) String() string
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Size() int
- func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Unmarshal(b []byte) error
- type QueryGlobalVirtualGroupByFamilyIDResponse
- func (*QueryGlobalVirtualGroupByFamilyIDResponse) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) GetGlobalVirtualGroups() []*GlobalVirtualGroup
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupByFamilyIDResponse) ProtoMessage()
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Reset()
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Size() (n int)
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) String() string
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Size() int
- func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Unmarshal(b []byte) error
- type QueryGlobalVirtualGroupFamiliesRequest
- func (*QueryGlobalVirtualGroupFamiliesRequest) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupFamiliesRequest) GetPagination() *query.PageRequest
- func (m *QueryGlobalVirtualGroupFamiliesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupFamiliesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupFamiliesRequest) ProtoMessage()
- func (m *QueryGlobalVirtualGroupFamiliesRequest) Reset()
- func (m *QueryGlobalVirtualGroupFamiliesRequest) Size() (n int)
- func (m *QueryGlobalVirtualGroupFamiliesRequest) String() string
- func (m *QueryGlobalVirtualGroupFamiliesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Size() int
- func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal(b []byte) error
- type QueryGlobalVirtualGroupFamiliesResponse
- func (*QueryGlobalVirtualGroupFamiliesResponse) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupFamiliesResponse) GetGvgFamilies() []*GlobalVirtualGroupFamily
- func (m *QueryGlobalVirtualGroupFamiliesResponse) GetPagination() *query.PageResponse
- func (m *QueryGlobalVirtualGroupFamiliesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupFamiliesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupFamiliesResponse) ProtoMessage()
- func (m *QueryGlobalVirtualGroupFamiliesResponse) Reset()
- func (m *QueryGlobalVirtualGroupFamiliesResponse) Size() (n int)
- func (m *QueryGlobalVirtualGroupFamiliesResponse) String() string
- func (m *QueryGlobalVirtualGroupFamiliesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Size() int
- func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal(b []byte) error
- type QueryGlobalVirtualGroupFamilyRequest
- func (*QueryGlobalVirtualGroupFamilyRequest) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupFamilyRequest) GetFamilyId() uint32
- func (m *QueryGlobalVirtualGroupFamilyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupFamilyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupFamilyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupFamilyRequest) ProtoMessage()
- func (m *QueryGlobalVirtualGroupFamilyRequest) Reset()
- func (m *QueryGlobalVirtualGroupFamilyRequest) Size() (n int)
- func (m *QueryGlobalVirtualGroupFamilyRequest) String() string
- func (m *QueryGlobalVirtualGroupFamilyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Size() int
- func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Unmarshal(b []byte) error
- type QueryGlobalVirtualGroupFamilyResponse
- func (*QueryGlobalVirtualGroupFamilyResponse) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupFamilyResponse) GetGlobalVirtualGroupFamily() *GlobalVirtualGroupFamily
- func (m *QueryGlobalVirtualGroupFamilyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupFamilyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupFamilyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupFamilyResponse) ProtoMessage()
- func (m *QueryGlobalVirtualGroupFamilyResponse) Reset()
- func (m *QueryGlobalVirtualGroupFamilyResponse) Size() (n int)
- func (m *QueryGlobalVirtualGroupFamilyResponse) String() string
- func (m *QueryGlobalVirtualGroupFamilyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Size() int
- func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Unmarshal(b []byte) error
- type QueryGlobalVirtualGroupRequest
- func (*QueryGlobalVirtualGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupRequest) GetGlobalVirtualGroupId() uint32
- func (m *QueryGlobalVirtualGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupRequest) ProtoMessage()
- func (m *QueryGlobalVirtualGroupRequest) Reset()
- func (m *QueryGlobalVirtualGroupRequest) Size() (n int)
- func (m *QueryGlobalVirtualGroupRequest) String() string
- func (m *QueryGlobalVirtualGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupRequest) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupRequest) XXX_Size() int
- func (m *QueryGlobalVirtualGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryGlobalVirtualGroupResponse
- func (*QueryGlobalVirtualGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryGlobalVirtualGroupResponse) GetGlobalVirtualGroup() *GlobalVirtualGroup
- func (m *QueryGlobalVirtualGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalVirtualGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalVirtualGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalVirtualGroupResponse) ProtoMessage()
- func (m *QueryGlobalVirtualGroupResponse) Reset()
- func (m *QueryGlobalVirtualGroupResponse) Size() (n int)
- func (m *QueryGlobalVirtualGroupResponse) String() string
- func (m *QueryGlobalVirtualGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalVirtualGroupResponse) XXX_DiscardUnknown()
- func (m *QueryGlobalVirtualGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalVirtualGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryGlobalVirtualGroupResponse) XXX_Size() int
- func (m *QueryGlobalVirtualGroupResponse) 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 QuerySPAvailableGlobalVirtualGroupFamiliesRequest
- func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Descriptor() ([]byte, []int)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) GetSpId() uint32
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) ProtoMessage()
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Reset()
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Size() (n int)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) String() string
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown()
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Merge(src proto.Message)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Size() int
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal(b []byte) error
- type QuerySPAvailableGlobalVirtualGroupFamiliesResponse
- func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Descriptor() ([]byte, []int)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds() []uint32
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) ProtoMessage()
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Reset()
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Size() (n int)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) String() string
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown()
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Merge(src proto.Message)
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Size() int
- func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal(b []byte) error
- type QuerySPGVGStatisticsRequest
- func (*QuerySPGVGStatisticsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySPGVGStatisticsRequest) GetSpId() uint32
- func (m *QuerySPGVGStatisticsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySPGVGStatisticsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySPGVGStatisticsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySPGVGStatisticsRequest) ProtoMessage()
- func (m *QuerySPGVGStatisticsRequest) Reset()
- func (m *QuerySPGVGStatisticsRequest) Size() (n int)
- func (m *QuerySPGVGStatisticsRequest) String() string
- func (m *QuerySPGVGStatisticsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySPGVGStatisticsRequest) XXX_DiscardUnknown()
- func (m *QuerySPGVGStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySPGVGStatisticsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySPGVGStatisticsRequest) XXX_Size() int
- func (m *QuerySPGVGStatisticsRequest) XXX_Unmarshal(b []byte) error
- type QuerySPGVGStatisticsResponse
- func (*QuerySPGVGStatisticsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySPGVGStatisticsResponse) GetGvgStats() *GVGStatisticsWithinSP
- func (m *QuerySPGVGStatisticsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySPGVGStatisticsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySPGVGStatisticsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySPGVGStatisticsResponse) ProtoMessage()
- func (m *QuerySPGVGStatisticsResponse) Reset()
- func (m *QuerySPGVGStatisticsResponse) Size() (n int)
- func (m *QuerySPGVGStatisticsResponse) String() string
- func (m *QuerySPGVGStatisticsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySPGVGStatisticsResponse) XXX_DiscardUnknown()
- func (m *QuerySPGVGStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySPGVGStatisticsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySPGVGStatisticsResponse) XXX_Size() int
- func (m *QuerySPGVGStatisticsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySpOptimalGlobalVirtualGroupFamilyRequest
- func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) GetPickVgfStrategy() PickVGFStrategy
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) GetSpId() uint32
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) ProtoMessage()
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Reset()
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Size() (n int)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) String() string
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_DiscardUnknown()
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Size() int
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Unmarshal(b []byte) error
- type QuerySpOptimalGlobalVirtualGroupFamilyResponse
- func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) GetGlobalVirtualGroupFamilyId() uint32
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) ProtoMessage()
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Reset()
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Size() (n int)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) String() string
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_DiscardUnknown()
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Size() int
- func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Unmarshal(b []byte) error
- type QuerySwapInInfoRequest
- func (*QuerySwapInInfoRequest) Descriptor() ([]byte, []int)
- func (m *QuerySwapInInfoRequest) GetGlobalVirtualGroupFamilyId() uint32
- func (m *QuerySwapInInfoRequest) GetGlobalVirtualGroupId() uint32
- func (m *QuerySwapInInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySwapInInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySwapInInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySwapInInfoRequest) ProtoMessage()
- func (m *QuerySwapInInfoRequest) Reset()
- func (m *QuerySwapInInfoRequest) Size() (n int)
- func (m *QuerySwapInInfoRequest) String() string
- func (m *QuerySwapInInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySwapInInfoRequest) XXX_DiscardUnknown()
- func (m *QuerySwapInInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySwapInInfoRequest) XXX_Merge(src proto.Message)
- func (m *QuerySwapInInfoRequest) XXX_Size() int
- func (m *QuerySwapInInfoRequest) XXX_Unmarshal(b []byte) error
- type QuerySwapInInfoResponse
- func (*QuerySwapInInfoResponse) Descriptor() ([]byte, []int)
- func (m *QuerySwapInInfoResponse) GetSwapInInfo() *SwapInInfo
- func (m *QuerySwapInInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySwapInInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySwapInInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySwapInInfoResponse) ProtoMessage()
- func (m *QuerySwapInInfoResponse) Reset()
- func (m *QuerySwapInInfoResponse) Size() (n int)
- func (m *QuerySwapInInfoResponse) String() string
- func (m *QuerySwapInInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySwapInInfoResponse) XXX_DiscardUnknown()
- func (m *QuerySwapInInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySwapInInfoResponse) XXX_Merge(src proto.Message)
- func (m *QuerySwapInInfoResponse) XXX_Size() int
- func (m *QuerySwapInInfoResponse) XXX_Unmarshal(b []byte) error
- type SpKeeper
- type StorageKeeper
- type SwapInInfo
- func (*SwapInInfo) Descriptor() ([]byte, []int)
- func (m *SwapInInfo) GetExpirationTime() uint64
- func (m *SwapInInfo) GetSuccessorSpId() uint32
- func (m *SwapInInfo) GetTargetSpId() uint32
- func (m *SwapInInfo) Marshal() (dAtA []byte, err error)
- func (m *SwapInInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapInInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapInInfo) ProtoMessage()
- func (m *SwapInInfo) Reset()
- func (m *SwapInInfo) Size() (n int)
- func (m *SwapInInfo) String() string
- func (m *SwapInInfo) Unmarshal(dAtA []byte) error
- func (m *SwapInInfo) XXX_DiscardUnknown()
- func (m *SwapInInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapInInfo) XXX_Merge(src proto.Message)
- func (m *SwapInInfo) XXX_Size() int
- func (m *SwapInInfo) XXX_Unmarshal(b []byte) error
- type SwapOutInfo
- func (*SwapOutInfo) Descriptor() ([]byte, []int)
- func (m *SwapOutInfo) GetSpId() uint32
- func (m *SwapOutInfo) GetSuccessorSpId() uint32
- func (m *SwapOutInfo) Marshal() (dAtA []byte, err error)
- func (m *SwapOutInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapOutInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapOutInfo) ProtoMessage()
- func (m *SwapOutInfo) Reset()
- func (m *SwapOutInfo) Size() (n int)
- func (m *SwapOutInfo) String() string
- func (m *SwapOutInfo) Unmarshal(dAtA []byte) error
- func (m *SwapOutInfo) XXX_DiscardUnknown()
- func (m *SwapOutInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapOutInfo) XXX_Merge(src proto.Message)
- func (m *SwapOutInfo) XXX_Size() int
- func (m *SwapOutInfo) XXX_Unmarshal(b []byte) error
- type Uint
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelSwapIn(ctx context.Context, req *MsgCancelSwapIn) (*MsgCancelSwapInResponse, error)
- func (*UnimplementedMsgServer) CancelSwapOut(ctx context.Context, req *MsgCancelSwapOut) (*MsgCancelSwapOutResponse, error)
- func (*UnimplementedMsgServer) CompleteStorageProviderExit(ctx context.Context, req *MsgCompleteStorageProviderExit) (*MsgCompleteStorageProviderExitResponse, error)
- func (*UnimplementedMsgServer) CompleteSwapIn(ctx context.Context, req *MsgCompleteSwapIn) (*MsgCompleteSwapInResponse, error)
- func (*UnimplementedMsgServer) CompleteSwapOut(ctx context.Context, req *MsgCompleteSwapOut) (*MsgCompleteSwapOutResponse, error)
- func (*UnimplementedMsgServer) CreateGlobalVirtualGroup(ctx context.Context, req *MsgCreateGlobalVirtualGroup) (*MsgCreateGlobalVirtualGroupResponse, error)
- func (*UnimplementedMsgServer) DeleteGlobalVirtualGroup(ctx context.Context, req *MsgDeleteGlobalVirtualGroup) (*MsgDeleteGlobalVirtualGroupResponse, error)
- func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
- func (*UnimplementedMsgServer) ReserveSwapIn(ctx context.Context, req *MsgReserveSwapIn) (*MsgReserveSwapInResponse, error)
- func (*UnimplementedMsgServer) Settle(ctx context.Context, req *MsgSettle) (*MsgSettleResponse, error)
- func (*UnimplementedMsgServer) StorageProviderExit(ctx context.Context, req *MsgStorageProviderExit) (*MsgStorageProviderExitResponse, error)
- func (*UnimplementedMsgServer) StorageProviderForcedExit(ctx context.Context, req *MsgStorageProviderForcedExit) (*MsgStorageProviderForcedExitResponse, error)
- func (*UnimplementedMsgServer) SwapOut(ctx context.Context, req *MsgSwapOut) (*MsgSwapOutResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AvailableGlobalVirtualGroupFamilies(ctx context.Context, req *AvailableGlobalVirtualGroupFamiliesRequest) (*AvailableGlobalVirtualGroupFamiliesResponse, error)
- func (*UnimplementedQueryServer) GVGStatistics(ctx context.Context, req *QuerySPGVGStatisticsRequest) (*QuerySPGVGStatisticsResponse, error)
- func (*UnimplementedQueryServer) GlobalVirtualGroup(ctx context.Context, req *QueryGlobalVirtualGroupRequest) (*QueryGlobalVirtualGroupResponse, error)
- func (*UnimplementedQueryServer) GlobalVirtualGroupByFamilyID(ctx context.Context, req *QueryGlobalVirtualGroupByFamilyIDRequest) (*QueryGlobalVirtualGroupByFamilyIDResponse, error)
- func (*UnimplementedQueryServer) GlobalVirtualGroupFamilies(ctx context.Context, req *QueryGlobalVirtualGroupFamiliesRequest) (*QueryGlobalVirtualGroupFamiliesResponse, error)
- func (*UnimplementedQueryServer) GlobalVirtualGroupFamily(ctx context.Context, req *QueryGlobalVirtualGroupFamilyRequest) (*QueryGlobalVirtualGroupFamilyResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QuerySpAvailableGlobalVirtualGroupFamilies(ctx context.Context, req *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse, error)
- func (*UnimplementedQueryServer) QuerySpOptimalGlobalVirtualGroupFamily(ctx context.Context, req *QuerySpOptimalGlobalVirtualGroupFamilyRequest) (*QuerySpOptimalGlobalVirtualGroupFamilyResponse, error)
- func (*UnimplementedQueryServer) SwapInInfo(ctx context.Context, req *QuerySwapInInfoRequest) (*QuerySwapInInfoResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "virtualgroup" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_virtualgroup" // TStoreKey defines the transient store key TStoreKey = "transient_storage" // GVGVirtualPaymentAccountName string for derive the virtual payment account for GVG GVGVirtualPaymentAccountName = "global_virtual_group" // GVGFamilyName string for derive the virtual payment account for GVG family GVGFamilyName = "global_virtual_group_family" // NoSpecifiedFamilyId defines NoSpecifiedFamilyId = uint32(0) NoSpecifiedGVGId = uint32(0) )
const ( TypeMsgCreateGlobalVirtualGroup = "create_global_virtual_group" TypeMsgDeleteGlobalVirtualGroup = "delete_global_virtual_group" TypeMsgDeposit = "deposit" TypeMsgWithdraw = "withdraw" TypeMsgSwapOut = "swap_out" TypeMsgUpdateParams = "update_params" TypeMsgSettle = "settle" TypeMsgReserveSwapIn = "reserve_swap_in" TypeMsgCancelSwapIn = "cancel_swap_in" TypeMsgCompleteSwapIn = "complete_swap_in" )
const (
// DefaultDepositDenom Dafault deposit denom
DefaultDepositDenom = "BNB"
)
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgCancelSwapOut = "cancel_swap_out"
const TypeMsgCompleteStorageProviderExit = "complete_storage_provider_exit"
const TypeMsgCompleteSwapOut = "complete_swap_out"
const TypeMsgStorageProviderExit = "storage_provider_exit"
const TypeMsgStorageProviderForcedExit = "storage_provider_force_exit"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrGVGFamilyNotExist = errors.Register(ModuleName, 1100, "global virtual group family not exist.") ErrGVGNotExistInFamily = errors.Register(ModuleName, 1101, "global virtual group not exist in family.") ErrGVGNotExist = errors.Register(ModuleName, 1102, "global virtual group not exist.") ErrGVGNotEmpty = errors.Register(ModuleName, 1103, "the store size of gvg is not zero") ErrGenSequenceIDError = errors.Register(ModuleName, 1104, "generate sequence id error.") ErrWithdrawAmountTooLarge = errors.Register(ModuleName, 1105, "withdrawal amount is too large.") ErrSwapOutFailed = errors.Register(ModuleName, 1106, "swap out failed.") ErrLVGNotExist = errors.Register(ModuleName, 1107, "local virtual group not exist.") ErrSPCanNotExit = errors.Register(ModuleName, 1108, "the sp can not exit now.") ErrSettleFailed = errors.Register(ModuleName, 1109, "fail to settle.") ErrInvalidGVGCount = errors.Register(ModuleName, 1120, "the count of global virtual group ids is invalid.") ErrWithdrawFailed = errors.Register(ModuleName, 1121, "with draw failed.") ErrInvalidSecondarySPCount = errors.Register(ModuleName, 1122, "the number of secondary sp within the global virtual group is invalid.") ErrLimitationExceed = errors.Register(ModuleName, 1123, "limitation exceed.") ErrDuplicateSecondarySP = errors.Register(ModuleName, 1124, "the global virtual group has duplicate secondary sp.") ErrInsufficientStaking = errors.Register(ModuleName, 1125, "insufficient staking for gvg") ErrDuplicateGVG = errors.Register(ModuleName, 1126, "global virtual group is duplicate") ErrSwapInFailed = errors.Register(ModuleName, 1127, "swap in failed.") ErrSwapInInfoNotExist = errors.Register(ModuleName, 1128, "swap in info not exist.") ErrGVGStatisticsNotExist = errors.Register(ModuleName, 1129, "global virtual group statistics not exist.") ErrGVGFamilyStatisticsNotExist = errors.Register(ModuleName, 1130, "global virtual group family statistics not exist.") ErrInvalidDenom = errors.Register(ModuleName, 2000, "Invalid denom.") )
x/virtualgroup module sentinel errors
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
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 ( ParamsKey = []byte{0x01} GVGKey = []byte{0x21} GVGFamilyKey = []byte{0x22} GVGSequencePrefix = []byte{0x32} GVGFamilySequencePrefix = []byte{0x33} GVGStatisticsWithinSPKey = []byte{0x41} GVGFamilyStatisticsWithinSPKey = []byte{0x42} SwapOutFamilyKey = []byte{0x51} SwapOutGVGKey = []byte{0x61} SwapInFamilyKey = []byte{0x52} SwapInGVGKey = []byte{0x62} )
var ( // DefaultGVGStakingPerBytes defines the default gvg staking price DefaultGVGStakingPerBytes = sdk.NewInt(16000) // 20%~30% of store price DefaultMaxGlobalVirtualGroupNumPerFamily = uint32(10) DefaultMaxStoreSizePerFamily = uint64(64) * 1024 * 1024 * 1024 * 1024 //64T DefaultSwapInValidityPeriod = math.NewInt(60 * 60 * 24 * 7) // 7 days DefaultSPConcurrentExitNum = math.NewInt(1) KeyDepositDenom = []byte("DepositDenom") KeyGVGStakingPerBytes = []byte("GVGStakingPerBytes") KeyMaxGlobalVirtualGroupNumPerFamily = []byte("MaxGlobalVirtualGroupNumPerFamily") KeyMaxStoreSizePerFamily = []byte("MaxStoreSizePerFamily") KeySwapInValidityPeriod = []byte("SwapInValidityPeriod") KeySPConcurrentExitNum = []byte("SPConcurrentExitNum") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var PickVGFStrategy_name = map[int32]string{
0: "Strategy_Maximize_Free_Store_Size",
1: "Strategy_Minimal_Free_Store_Size",
2: "Strategy_Oldest_Create_Time",
3: "Strategy_Recentest_Create_Time",
}
var PickVGFStrategy_value = map[string]int32{
"Strategy_Maximize_Free_Store_Size": 0,
"Strategy_Minimal_Free_Store_Size": 1,
"Strategy_Oldest_Create_Time": 2,
"Strategy_Recentest_Create_Time": 3,
}
Functions ¶
func GetGVGFamilyKey ¶
func GetGVGFamilyStatisticsWithinSPKey ¶ added in v1.6.0
func GetSwapInFamilyKey ¶ added in v1.3.0
func GetSwapInGVGKey ¶ added in v1.3.0
func GetSwapOutFamilyKey ¶
func GetSwapOutGVGKey ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI IterateAccounts(ctx sdk.Context, process func(authtypes.AccountI) (stop bool)) GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI SetModuleAccount(sdk.Context, authtypes.ModuleAccountI) }
AccountKeeper defines the expected account keeper used for simulations (noalias) Methods imported from account should be defined here
type AvailableGlobalVirtualGroupFamiliesRequest ¶
type AvailableGlobalVirtualGroupFamiliesRequest struct {
GlobalVirtualGroupFamilyIds []uint32 `` /* 156-byte string literal not displayed */
}
func (*AvailableGlobalVirtualGroupFamiliesRequest) Descriptor ¶
func (*AvailableGlobalVirtualGroupFamiliesRequest) Descriptor() ([]byte, []int)
func (*AvailableGlobalVirtualGroupFamiliesRequest) GetGlobalVirtualGroupFamilyIds ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) GetGlobalVirtualGroupFamilyIds() []uint32
func (*AvailableGlobalVirtualGroupFamiliesRequest) Marshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) Marshal() (dAtA []byte, err error)
func (*AvailableGlobalVirtualGroupFamiliesRequest) MarshalTo ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) MarshalTo(dAtA []byte) (int, error)
func (*AvailableGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AvailableGlobalVirtualGroupFamiliesRequest) ProtoMessage ¶
func (*AvailableGlobalVirtualGroupFamiliesRequest) ProtoMessage()
func (*AvailableGlobalVirtualGroupFamiliesRequest) Reset ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) Reset()
func (*AvailableGlobalVirtualGroupFamiliesRequest) Size ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) Size() (n int)
func (*AvailableGlobalVirtualGroupFamiliesRequest) String ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) String() string
func (*AvailableGlobalVirtualGroupFamiliesRequest) Unmarshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) Unmarshal(dAtA []byte) error
func (*AvailableGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown()
func (*AvailableGlobalVirtualGroupFamiliesRequest) XXX_Marshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AvailableGlobalVirtualGroupFamiliesRequest) XXX_Merge ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Merge(src proto.Message)
func (*AvailableGlobalVirtualGroupFamiliesRequest) XXX_Size ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Size() int
func (*AvailableGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal(b []byte) error
type AvailableGlobalVirtualGroupFamiliesResponse ¶
type AvailableGlobalVirtualGroupFamiliesResponse struct {
GlobalVirtualGroupFamilyIds []uint32 `` /* 156-byte string literal not displayed */
}
func (*AvailableGlobalVirtualGroupFamiliesResponse) Descriptor ¶
func (*AvailableGlobalVirtualGroupFamiliesResponse) Descriptor() ([]byte, []int)
func (*AvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds() []uint32
func (*AvailableGlobalVirtualGroupFamiliesResponse) Marshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) Marshal() (dAtA []byte, err error)
func (*AvailableGlobalVirtualGroupFamiliesResponse) MarshalTo ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) MarshalTo(dAtA []byte) (int, error)
func (*AvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AvailableGlobalVirtualGroupFamiliesResponse) ProtoMessage ¶
func (*AvailableGlobalVirtualGroupFamiliesResponse) ProtoMessage()
func (*AvailableGlobalVirtualGroupFamiliesResponse) Reset ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) Reset()
func (*AvailableGlobalVirtualGroupFamiliesResponse) Size ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) Size() (n int)
func (*AvailableGlobalVirtualGroupFamiliesResponse) String ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) String() string
func (*AvailableGlobalVirtualGroupFamiliesResponse) Unmarshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) Unmarshal(dAtA []byte) error
func (*AvailableGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown()
func (*AvailableGlobalVirtualGroupFamiliesResponse) XXX_Marshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AvailableGlobalVirtualGroupFamiliesResponse) XXX_Merge ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Merge(src proto.Message)
func (*AvailableGlobalVirtualGroupFamiliesResponse) XXX_Size ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Size() int
func (*AvailableGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal ¶
func (m *AvailableGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances. Methods imported from bank should be defined here
type EventCancelSwapIn ¶ added in v1.3.0
type EventCancelSwapIn struct { // The id of the storage provider who cancel swap in. StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The id of the gvg family GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // The id of the gvg GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ // The id of the target sp who was swapped from family or gvgs TargetSpId uint32 `protobuf:"varint,4,opt,name=target_sp_id,json=targetSpId,proto3" json:"target_sp_id,omitempty"` }
func (*EventCancelSwapIn) Descriptor ¶ added in v1.3.0
func (*EventCancelSwapIn) Descriptor() ([]byte, []int)
func (*EventCancelSwapIn) GetGlobalVirtualGroupFamilyId ¶ added in v1.3.0
func (m *EventCancelSwapIn) GetGlobalVirtualGroupFamilyId() uint32
func (*EventCancelSwapIn) GetGlobalVirtualGroupId ¶ added in v1.3.0
func (m *EventCancelSwapIn) GetGlobalVirtualGroupId() uint32
func (*EventCancelSwapIn) GetStorageProviderId ¶ added in v1.3.0
func (m *EventCancelSwapIn) GetStorageProviderId() uint32
func (*EventCancelSwapIn) GetTargetSpId ¶ added in v1.3.0
func (m *EventCancelSwapIn) GetTargetSpId() uint32
func (*EventCancelSwapIn) Marshal ¶ added in v1.3.0
func (m *EventCancelSwapIn) Marshal() (dAtA []byte, err error)
func (*EventCancelSwapIn) MarshalTo ¶ added in v1.3.0
func (m *EventCancelSwapIn) MarshalTo(dAtA []byte) (int, error)
func (*EventCancelSwapIn) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *EventCancelSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCancelSwapIn) ProtoMessage ¶ added in v1.3.0
func (*EventCancelSwapIn) ProtoMessage()
func (*EventCancelSwapIn) Reset ¶ added in v1.3.0
func (m *EventCancelSwapIn) Reset()
func (*EventCancelSwapIn) Size ¶ added in v1.3.0
func (m *EventCancelSwapIn) Size() (n int)
func (*EventCancelSwapIn) String ¶ added in v1.3.0
func (m *EventCancelSwapIn) String() string
func (*EventCancelSwapIn) Unmarshal ¶ added in v1.3.0
func (m *EventCancelSwapIn) Unmarshal(dAtA []byte) error
func (*EventCancelSwapIn) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *EventCancelSwapIn) XXX_DiscardUnknown()
func (*EventCancelSwapIn) XXX_Marshal ¶ added in v1.3.0
func (m *EventCancelSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCancelSwapIn) XXX_Merge ¶ added in v1.3.0
func (m *EventCancelSwapIn) XXX_Merge(src proto.Message)
func (*EventCancelSwapIn) XXX_Size ¶ added in v1.3.0
func (m *EventCancelSwapIn) XXX_Size() int
func (*EventCancelSwapIn) XXX_Unmarshal ¶ added in v1.3.0
func (m *EventCancelSwapIn) XXX_Unmarshal(b []byte) error
type EventCancelSwapOut ¶
type EventCancelSwapOut struct { // The id of the storage provider who cancel swap out. StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The id of the gvg family GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // The ids of the gvgs GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ // The id of the successor sp who take over this family or these gvgs SuccessorSpId uint32 `protobuf:"varint,4,opt,name=successor_sp_id,json=successorSpId,proto3" json:"successor_sp_id,omitempty"` }
func (*EventCancelSwapOut) Descriptor ¶
func (*EventCancelSwapOut) Descriptor() ([]byte, []int)
func (*EventCancelSwapOut) GetGlobalVirtualGroupFamilyId ¶
func (m *EventCancelSwapOut) GetGlobalVirtualGroupFamilyId() uint32
func (*EventCancelSwapOut) GetGlobalVirtualGroupIds ¶
func (m *EventCancelSwapOut) GetGlobalVirtualGroupIds() []uint32
func (*EventCancelSwapOut) GetStorageProviderId ¶
func (m *EventCancelSwapOut) GetStorageProviderId() uint32
func (*EventCancelSwapOut) GetSuccessorSpId ¶
func (m *EventCancelSwapOut) GetSuccessorSpId() uint32
func (*EventCancelSwapOut) Marshal ¶
func (m *EventCancelSwapOut) Marshal() (dAtA []byte, err error)
func (*EventCancelSwapOut) MarshalTo ¶
func (m *EventCancelSwapOut) MarshalTo(dAtA []byte) (int, error)
func (*EventCancelSwapOut) MarshalToSizedBuffer ¶
func (m *EventCancelSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCancelSwapOut) ProtoMessage ¶
func (*EventCancelSwapOut) ProtoMessage()
func (*EventCancelSwapOut) Reset ¶
func (m *EventCancelSwapOut) Reset()
func (*EventCancelSwapOut) Size ¶
func (m *EventCancelSwapOut) Size() (n int)
func (*EventCancelSwapOut) String ¶
func (m *EventCancelSwapOut) String() string
func (*EventCancelSwapOut) Unmarshal ¶
func (m *EventCancelSwapOut) Unmarshal(dAtA []byte) error
func (*EventCancelSwapOut) XXX_DiscardUnknown ¶
func (m *EventCancelSwapOut) XXX_DiscardUnknown()
func (*EventCancelSwapOut) XXX_Marshal ¶
func (m *EventCancelSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCancelSwapOut) XXX_Merge ¶
func (m *EventCancelSwapOut) XXX_Merge(src proto.Message)
func (*EventCancelSwapOut) XXX_Size ¶
func (m *EventCancelSwapOut) XXX_Size() int
func (*EventCancelSwapOut) XXX_Unmarshal ¶
func (m *EventCancelSwapOut) XXX_Unmarshal(b []byte) error
type EventCompleteStorageProviderExit ¶
type EventCompleteStorageProviderExit struct { // The id of the storage provider who complete exit StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The operator address which initials the complete exit transaction. OperatorAddress string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // The storage provider address which completes the exit StorageProviderAddress string `` /* 129-byte string literal not displayed */ // total_deposit defines the number of tokens deposited by this storage provider for staking. TotalDeposit github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ // forced_exit whether the exit is a forced exit ForcedExit bool `protobuf:"varint,5,opt,name=forced_exit,json=forcedExit,proto3" json:"forced_exit,omitempty"` }
func (*EventCompleteStorageProviderExit) Descriptor ¶
func (*EventCompleteStorageProviderExit) Descriptor() ([]byte, []int)
func (*EventCompleteStorageProviderExit) GetForcedExit ¶ added in v1.3.0
func (m *EventCompleteStorageProviderExit) GetForcedExit() bool
func (*EventCompleteStorageProviderExit) GetOperatorAddress ¶
func (m *EventCompleteStorageProviderExit) GetOperatorAddress() string
func (*EventCompleteStorageProviderExit) GetStorageProviderAddress ¶ added in v1.3.0
func (m *EventCompleteStorageProviderExit) GetStorageProviderAddress() string
func (*EventCompleteStorageProviderExit) GetStorageProviderId ¶
func (m *EventCompleteStorageProviderExit) GetStorageProviderId() uint32
func (*EventCompleteStorageProviderExit) Marshal ¶
func (m *EventCompleteStorageProviderExit) Marshal() (dAtA []byte, err error)
func (*EventCompleteStorageProviderExit) MarshalTo ¶
func (m *EventCompleteStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
func (*EventCompleteStorageProviderExit) MarshalToSizedBuffer ¶
func (m *EventCompleteStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCompleteStorageProviderExit) ProtoMessage ¶
func (*EventCompleteStorageProviderExit) ProtoMessage()
func (*EventCompleteStorageProviderExit) Reset ¶
func (m *EventCompleteStorageProviderExit) Reset()
func (*EventCompleteStorageProviderExit) Size ¶
func (m *EventCompleteStorageProviderExit) Size() (n int)
func (*EventCompleteStorageProviderExit) String ¶
func (m *EventCompleteStorageProviderExit) String() string
func (*EventCompleteStorageProviderExit) Unmarshal ¶
func (m *EventCompleteStorageProviderExit) Unmarshal(dAtA []byte) error
func (*EventCompleteStorageProviderExit) XXX_DiscardUnknown ¶
func (m *EventCompleteStorageProviderExit) XXX_DiscardUnknown()
func (*EventCompleteStorageProviderExit) XXX_Marshal ¶
func (m *EventCompleteStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCompleteStorageProviderExit) XXX_Merge ¶
func (m *EventCompleteStorageProviderExit) XXX_Merge(src proto.Message)
func (*EventCompleteStorageProviderExit) XXX_Size ¶
func (m *EventCompleteStorageProviderExit) XXX_Size() int
func (*EventCompleteStorageProviderExit) XXX_Unmarshal ¶
func (m *EventCompleteStorageProviderExit) XXX_Unmarshal(b []byte) error
type EventCompleteSwapIn ¶ added in v1.3.0
type EventCompleteSwapIn struct { // The id of the storage provider who complete swap in. StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The id of the storage provider who swap in the family or gvgs TargetStorageProviderId uint32 `` /* 135-byte string literal not displayed */ // The id of the gvg family GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // The id of the gvg GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ }
func (*EventCompleteSwapIn) Descriptor ¶ added in v1.3.0
func (*EventCompleteSwapIn) Descriptor() ([]byte, []int)
func (*EventCompleteSwapIn) GetGlobalVirtualGroupFamilyId ¶ added in v1.3.0
func (m *EventCompleteSwapIn) GetGlobalVirtualGroupFamilyId() uint32
func (*EventCompleteSwapIn) GetGlobalVirtualGroupId ¶ added in v1.3.0
func (m *EventCompleteSwapIn) GetGlobalVirtualGroupId() uint32
func (*EventCompleteSwapIn) GetStorageProviderId ¶ added in v1.3.0
func (m *EventCompleteSwapIn) GetStorageProviderId() uint32
func (*EventCompleteSwapIn) GetTargetStorageProviderId ¶ added in v1.3.0
func (m *EventCompleteSwapIn) GetTargetStorageProviderId() uint32
func (*EventCompleteSwapIn) Marshal ¶ added in v1.3.0
func (m *EventCompleteSwapIn) Marshal() (dAtA []byte, err error)
func (*EventCompleteSwapIn) MarshalTo ¶ added in v1.3.0
func (m *EventCompleteSwapIn) MarshalTo(dAtA []byte) (int, error)
func (*EventCompleteSwapIn) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *EventCompleteSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCompleteSwapIn) ProtoMessage ¶ added in v1.3.0
func (*EventCompleteSwapIn) ProtoMessage()
func (*EventCompleteSwapIn) Reset ¶ added in v1.3.0
func (m *EventCompleteSwapIn) Reset()
func (*EventCompleteSwapIn) Size ¶ added in v1.3.0
func (m *EventCompleteSwapIn) Size() (n int)
func (*EventCompleteSwapIn) String ¶ added in v1.3.0
func (m *EventCompleteSwapIn) String() string
func (*EventCompleteSwapIn) Unmarshal ¶ added in v1.3.0
func (m *EventCompleteSwapIn) Unmarshal(dAtA []byte) error
func (*EventCompleteSwapIn) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *EventCompleteSwapIn) XXX_DiscardUnknown()
func (*EventCompleteSwapIn) XXX_Marshal ¶ added in v1.3.0
func (m *EventCompleteSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCompleteSwapIn) XXX_Merge ¶ added in v1.3.0
func (m *EventCompleteSwapIn) XXX_Merge(src proto.Message)
func (*EventCompleteSwapIn) XXX_Size ¶ added in v1.3.0
func (m *EventCompleteSwapIn) XXX_Size() int
func (*EventCompleteSwapIn) XXX_Unmarshal ¶ added in v1.3.0
func (m *EventCompleteSwapIn) XXX_Unmarshal(b []byte) error
type EventCompleteSwapOut ¶
type EventCompleteSwapOut struct { // The id of the storage provider who complete swap out. StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The id of the storage provider who swap out the family or gvgs SrcStorageProviderId uint32 `` /* 126-byte string literal not displayed */ // The id of the gvg family GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // The ids of the gvgs GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ }
func (*EventCompleteSwapOut) Descriptor ¶
func (*EventCompleteSwapOut) Descriptor() ([]byte, []int)
func (*EventCompleteSwapOut) GetGlobalVirtualGroupFamilyId ¶
func (m *EventCompleteSwapOut) GetGlobalVirtualGroupFamilyId() uint32
func (*EventCompleteSwapOut) GetGlobalVirtualGroupIds ¶
func (m *EventCompleteSwapOut) GetGlobalVirtualGroupIds() []uint32
func (*EventCompleteSwapOut) GetSrcStorageProviderId ¶
func (m *EventCompleteSwapOut) GetSrcStorageProviderId() uint32
func (*EventCompleteSwapOut) GetStorageProviderId ¶
func (m *EventCompleteSwapOut) GetStorageProviderId() uint32
func (*EventCompleteSwapOut) Marshal ¶
func (m *EventCompleteSwapOut) Marshal() (dAtA []byte, err error)
func (*EventCompleteSwapOut) MarshalTo ¶
func (m *EventCompleteSwapOut) MarshalTo(dAtA []byte) (int, error)
func (*EventCompleteSwapOut) MarshalToSizedBuffer ¶
func (m *EventCompleteSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCompleteSwapOut) ProtoMessage ¶
func (*EventCompleteSwapOut) ProtoMessage()
func (*EventCompleteSwapOut) Reset ¶
func (m *EventCompleteSwapOut) Reset()
func (*EventCompleteSwapOut) Size ¶
func (m *EventCompleteSwapOut) Size() (n int)
func (*EventCompleteSwapOut) String ¶
func (m *EventCompleteSwapOut) String() string
func (*EventCompleteSwapOut) Unmarshal ¶
func (m *EventCompleteSwapOut) Unmarshal(dAtA []byte) error
func (*EventCompleteSwapOut) XXX_DiscardUnknown ¶
func (m *EventCompleteSwapOut) XXX_DiscardUnknown()
func (*EventCompleteSwapOut) XXX_Marshal ¶
func (m *EventCompleteSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCompleteSwapOut) XXX_Merge ¶
func (m *EventCompleteSwapOut) XXX_Merge(src proto.Message)
func (*EventCompleteSwapOut) XXX_Size ¶
func (m *EventCompleteSwapOut) XXX_Size() int
func (*EventCompleteSwapOut) XXX_Unmarshal ¶
func (m *EventCompleteSwapOut) XXX_Unmarshal(b []byte) error
type EventCreateGlobalVirtualGroup ¶
type EventCreateGlobalVirtualGroup struct { // The unique id of global virtual group, which is generated by blockchain Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the global virtual group family where the gvg belongs FamilyId uint32 `protobuf:"varint,2,opt,name=family_id,json=familyId,proto3" json:"family_id,omitempty"` // The id of the primary sp who create this global virtual group PrimarySpId uint32 `protobuf:"varint,3,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` // The ids of the secondary sps which belongs to this global virtual group SecondarySpIds []uint32 `protobuf:"varint,4,rep,packed,name=secondary_sp_ids,json=secondarySpIds,proto3" json:"secondary_sp_ids,omitempty"` // The store size of all the objects stores in this global virtual group StoredSize uint64 `protobuf:"varint,5,opt,name=stored_size,json=storedSize,proto3" json:"stored_size,omitempty"` // The virtual payment address of this global virtual group, which is auto generated by blockchain // And, all users' payment flows will flow to this account VirtualPaymentAddress string `` /* 126-byte string literal not displayed */ // The total amount of the staking for this global virtual group TotalDeposit github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ }
func (*EventCreateGlobalVirtualGroup) Descriptor ¶
func (*EventCreateGlobalVirtualGroup) Descriptor() ([]byte, []int)
func (*EventCreateGlobalVirtualGroup) GetFamilyId ¶
func (m *EventCreateGlobalVirtualGroup) GetFamilyId() uint32
func (*EventCreateGlobalVirtualGroup) GetId ¶
func (m *EventCreateGlobalVirtualGroup) GetId() uint32
func (*EventCreateGlobalVirtualGroup) GetPrimarySpId ¶
func (m *EventCreateGlobalVirtualGroup) GetPrimarySpId() uint32
func (*EventCreateGlobalVirtualGroup) GetSecondarySpIds ¶
func (m *EventCreateGlobalVirtualGroup) GetSecondarySpIds() []uint32
func (*EventCreateGlobalVirtualGroup) GetStoredSize ¶
func (m *EventCreateGlobalVirtualGroup) GetStoredSize() uint64
func (*EventCreateGlobalVirtualGroup) GetVirtualPaymentAddress ¶
func (m *EventCreateGlobalVirtualGroup) GetVirtualPaymentAddress() string
func (*EventCreateGlobalVirtualGroup) Marshal ¶
func (m *EventCreateGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*EventCreateGlobalVirtualGroup) MarshalTo ¶
func (m *EventCreateGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateGlobalVirtualGroup) MarshalToSizedBuffer ¶
func (m *EventCreateGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateGlobalVirtualGroup) ProtoMessage ¶
func (*EventCreateGlobalVirtualGroup) ProtoMessage()
func (*EventCreateGlobalVirtualGroup) Reset ¶
func (m *EventCreateGlobalVirtualGroup) Reset()
func (*EventCreateGlobalVirtualGroup) Size ¶
func (m *EventCreateGlobalVirtualGroup) Size() (n int)
func (*EventCreateGlobalVirtualGroup) String ¶
func (m *EventCreateGlobalVirtualGroup) String() string
func (*EventCreateGlobalVirtualGroup) Unmarshal ¶
func (m *EventCreateGlobalVirtualGroup) Unmarshal(dAtA []byte) error
func (*EventCreateGlobalVirtualGroup) XXX_DiscardUnknown ¶
func (m *EventCreateGlobalVirtualGroup) XXX_DiscardUnknown()
func (*EventCreateGlobalVirtualGroup) XXX_Marshal ¶
func (m *EventCreateGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateGlobalVirtualGroup) XXX_Merge ¶
func (m *EventCreateGlobalVirtualGroup) XXX_Merge(src proto.Message)
func (*EventCreateGlobalVirtualGroup) XXX_Size ¶
func (m *EventCreateGlobalVirtualGroup) XXX_Size() int
func (*EventCreateGlobalVirtualGroup) XXX_Unmarshal ¶
func (m *EventCreateGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
type EventCreateGlobalVirtualGroupFamily ¶
type EventCreateGlobalVirtualGroupFamily struct { // The id of global virtual group family, which is auto generated by blockchain Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the primary sp who create this global virtual group family PrimarySpId uint32 `protobuf:"varint,2,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` // The virtual payment address of this global virtual group family, which is auto generated by blockcahin // all users' read quota payment flows will flow to this account. VirtualPaymentAddress string `` /* 126-byte string literal not displayed */ // global_virtual_group_ids are the ids of gvgs in this family GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ }
func (*EventCreateGlobalVirtualGroupFamily) Descriptor ¶
func (*EventCreateGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
func (*EventCreateGlobalVirtualGroupFamily) GetGlobalVirtualGroupIds ¶
func (m *EventCreateGlobalVirtualGroupFamily) GetGlobalVirtualGroupIds() []uint32
func (*EventCreateGlobalVirtualGroupFamily) GetId ¶
func (m *EventCreateGlobalVirtualGroupFamily) GetId() uint32
func (*EventCreateGlobalVirtualGroupFamily) GetPrimarySpId ¶
func (m *EventCreateGlobalVirtualGroupFamily) GetPrimarySpId() uint32
func (*EventCreateGlobalVirtualGroupFamily) GetVirtualPaymentAddress ¶
func (m *EventCreateGlobalVirtualGroupFamily) GetVirtualPaymentAddress() string
func (*EventCreateGlobalVirtualGroupFamily) Marshal ¶
func (m *EventCreateGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
func (*EventCreateGlobalVirtualGroupFamily) MarshalTo ¶
func (m *EventCreateGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateGlobalVirtualGroupFamily) MarshalToSizedBuffer ¶
func (m *EventCreateGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateGlobalVirtualGroupFamily) ProtoMessage ¶
func (*EventCreateGlobalVirtualGroupFamily) ProtoMessage()
func (*EventCreateGlobalVirtualGroupFamily) Reset ¶
func (m *EventCreateGlobalVirtualGroupFamily) Reset()
func (*EventCreateGlobalVirtualGroupFamily) Size ¶
func (m *EventCreateGlobalVirtualGroupFamily) Size() (n int)
func (*EventCreateGlobalVirtualGroupFamily) String ¶
func (m *EventCreateGlobalVirtualGroupFamily) String() string
func (*EventCreateGlobalVirtualGroupFamily) Unmarshal ¶
func (m *EventCreateGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
func (*EventCreateGlobalVirtualGroupFamily) XXX_DiscardUnknown ¶
func (m *EventCreateGlobalVirtualGroupFamily) XXX_DiscardUnknown()
func (*EventCreateGlobalVirtualGroupFamily) XXX_Marshal ¶
func (m *EventCreateGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateGlobalVirtualGroupFamily) XXX_Merge ¶
func (m *EventCreateGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
func (*EventCreateGlobalVirtualGroupFamily) XXX_Size ¶
func (m *EventCreateGlobalVirtualGroupFamily) XXX_Size() int
func (*EventCreateGlobalVirtualGroupFamily) XXX_Unmarshal ¶
func (m *EventCreateGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
type EventCreateLocalVirtualGroup ¶
type EventCreateLocalVirtualGroup struct { // The id of the local virtual group and this ID is unique within the bucket // and different buckets will have the same ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the bucket BucketId Uint `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // The id of the global virtual group GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ // The stored size of all the objects stores in this lvg StoredSize uint64 `protobuf:"varint,4,opt,name=stored_size,json=storedSize,proto3" json:"stored_size,omitempty"` }
func (*EventCreateLocalVirtualGroup) Descriptor ¶
func (*EventCreateLocalVirtualGroup) Descriptor() ([]byte, []int)
func (*EventCreateLocalVirtualGroup) GetGlobalVirtualGroupId ¶
func (m *EventCreateLocalVirtualGroup) GetGlobalVirtualGroupId() uint32
func (*EventCreateLocalVirtualGroup) GetId ¶
func (m *EventCreateLocalVirtualGroup) GetId() uint32
func (*EventCreateLocalVirtualGroup) GetStoredSize ¶
func (m *EventCreateLocalVirtualGroup) GetStoredSize() uint64
func (*EventCreateLocalVirtualGroup) Marshal ¶
func (m *EventCreateLocalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*EventCreateLocalVirtualGroup) MarshalTo ¶
func (m *EventCreateLocalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateLocalVirtualGroup) MarshalToSizedBuffer ¶
func (m *EventCreateLocalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateLocalVirtualGroup) ProtoMessage ¶
func (*EventCreateLocalVirtualGroup) ProtoMessage()
func (*EventCreateLocalVirtualGroup) Reset ¶
func (m *EventCreateLocalVirtualGroup) Reset()
func (*EventCreateLocalVirtualGroup) Size ¶
func (m *EventCreateLocalVirtualGroup) Size() (n int)
func (*EventCreateLocalVirtualGroup) String ¶
func (m *EventCreateLocalVirtualGroup) String() string
func (*EventCreateLocalVirtualGroup) Unmarshal ¶
func (m *EventCreateLocalVirtualGroup) Unmarshal(dAtA []byte) error
func (*EventCreateLocalVirtualGroup) XXX_DiscardUnknown ¶
func (m *EventCreateLocalVirtualGroup) XXX_DiscardUnknown()
func (*EventCreateLocalVirtualGroup) XXX_Marshal ¶
func (m *EventCreateLocalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateLocalVirtualGroup) XXX_Merge ¶
func (m *EventCreateLocalVirtualGroup) XXX_Merge(src proto.Message)
func (*EventCreateLocalVirtualGroup) XXX_Size ¶
func (m *EventCreateLocalVirtualGroup) XXX_Size() int
func (*EventCreateLocalVirtualGroup) XXX_Unmarshal ¶
func (m *EventCreateLocalVirtualGroup) XXX_Unmarshal(b []byte) error
type EventDeleteGlobalVirtualGroup ¶
type EventDeleteGlobalVirtualGroup struct { // The id of global virtual group, which has been deleted Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the primary sp who create this global virtual group family PrimarySpId uint32 `protobuf:"varint,2,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` }
func (*EventDeleteGlobalVirtualGroup) Descriptor ¶
func (*EventDeleteGlobalVirtualGroup) Descriptor() ([]byte, []int)
func (*EventDeleteGlobalVirtualGroup) GetId ¶
func (m *EventDeleteGlobalVirtualGroup) GetId() uint32
func (*EventDeleteGlobalVirtualGroup) GetPrimarySpId ¶
func (m *EventDeleteGlobalVirtualGroup) GetPrimarySpId() uint32
func (*EventDeleteGlobalVirtualGroup) Marshal ¶
func (m *EventDeleteGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*EventDeleteGlobalVirtualGroup) MarshalTo ¶
func (m *EventDeleteGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteGlobalVirtualGroup) MarshalToSizedBuffer ¶
func (m *EventDeleteGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteGlobalVirtualGroup) ProtoMessage ¶
func (*EventDeleteGlobalVirtualGroup) ProtoMessage()
func (*EventDeleteGlobalVirtualGroup) Reset ¶
func (m *EventDeleteGlobalVirtualGroup) Reset()
func (*EventDeleteGlobalVirtualGroup) Size ¶
func (m *EventDeleteGlobalVirtualGroup) Size() (n int)
func (*EventDeleteGlobalVirtualGroup) String ¶
func (m *EventDeleteGlobalVirtualGroup) String() string
func (*EventDeleteGlobalVirtualGroup) Unmarshal ¶
func (m *EventDeleteGlobalVirtualGroup) Unmarshal(dAtA []byte) error
func (*EventDeleteGlobalVirtualGroup) XXX_DiscardUnknown ¶
func (m *EventDeleteGlobalVirtualGroup) XXX_DiscardUnknown()
func (*EventDeleteGlobalVirtualGroup) XXX_Marshal ¶
func (m *EventDeleteGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteGlobalVirtualGroup) XXX_Merge ¶
func (m *EventDeleteGlobalVirtualGroup) XXX_Merge(src proto.Message)
func (*EventDeleteGlobalVirtualGroup) XXX_Size ¶
func (m *EventDeleteGlobalVirtualGroup) XXX_Size() int
func (*EventDeleteGlobalVirtualGroup) XXX_Unmarshal ¶
func (m *EventDeleteGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
type EventDeleteGlobalVirtualGroupFamily ¶
type EventDeleteGlobalVirtualGroupFamily struct { // The id of global virtual group family, which is auto generated by blockchain Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the primary sp who create this global virtual group family PrimarySpId uint32 `protobuf:"varint,2,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` }
func (*EventDeleteGlobalVirtualGroupFamily) Descriptor ¶
func (*EventDeleteGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
func (*EventDeleteGlobalVirtualGroupFamily) GetId ¶
func (m *EventDeleteGlobalVirtualGroupFamily) GetId() uint32
func (*EventDeleteGlobalVirtualGroupFamily) GetPrimarySpId ¶
func (m *EventDeleteGlobalVirtualGroupFamily) GetPrimarySpId() uint32
func (*EventDeleteGlobalVirtualGroupFamily) Marshal ¶
func (m *EventDeleteGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
func (*EventDeleteGlobalVirtualGroupFamily) MarshalTo ¶
func (m *EventDeleteGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteGlobalVirtualGroupFamily) MarshalToSizedBuffer ¶
func (m *EventDeleteGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteGlobalVirtualGroupFamily) ProtoMessage ¶
func (*EventDeleteGlobalVirtualGroupFamily) ProtoMessage()
func (*EventDeleteGlobalVirtualGroupFamily) Reset ¶
func (m *EventDeleteGlobalVirtualGroupFamily) Reset()
func (*EventDeleteGlobalVirtualGroupFamily) Size ¶
func (m *EventDeleteGlobalVirtualGroupFamily) Size() (n int)
func (*EventDeleteGlobalVirtualGroupFamily) String ¶
func (m *EventDeleteGlobalVirtualGroupFamily) String() string
func (*EventDeleteGlobalVirtualGroupFamily) Unmarshal ¶
func (m *EventDeleteGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
func (*EventDeleteGlobalVirtualGroupFamily) XXX_DiscardUnknown ¶
func (m *EventDeleteGlobalVirtualGroupFamily) XXX_DiscardUnknown()
func (*EventDeleteGlobalVirtualGroupFamily) XXX_Marshal ¶
func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteGlobalVirtualGroupFamily) XXX_Merge ¶
func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
func (*EventDeleteGlobalVirtualGroupFamily) XXX_Size ¶
func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Size() int
func (*EventDeleteGlobalVirtualGroupFamily) XXX_Unmarshal ¶
func (m *EventDeleteGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
type EventDeleteLocalVirtualGroup ¶
type EventDeleteLocalVirtualGroup struct { // The id of the local virtual group Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the bucket BucketId Uint `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` }
func (*EventDeleteLocalVirtualGroup) Descriptor ¶
func (*EventDeleteLocalVirtualGroup) Descriptor() ([]byte, []int)
func (*EventDeleteLocalVirtualGroup) GetId ¶
func (m *EventDeleteLocalVirtualGroup) GetId() uint32
func (*EventDeleteLocalVirtualGroup) Marshal ¶
func (m *EventDeleteLocalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*EventDeleteLocalVirtualGroup) MarshalTo ¶
func (m *EventDeleteLocalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteLocalVirtualGroup) MarshalToSizedBuffer ¶
func (m *EventDeleteLocalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteLocalVirtualGroup) ProtoMessage ¶
func (*EventDeleteLocalVirtualGroup) ProtoMessage()
func (*EventDeleteLocalVirtualGroup) Reset ¶
func (m *EventDeleteLocalVirtualGroup) Reset()
func (*EventDeleteLocalVirtualGroup) Size ¶
func (m *EventDeleteLocalVirtualGroup) Size() (n int)
func (*EventDeleteLocalVirtualGroup) String ¶
func (m *EventDeleteLocalVirtualGroup) String() string
func (*EventDeleteLocalVirtualGroup) Unmarshal ¶
func (m *EventDeleteLocalVirtualGroup) Unmarshal(dAtA []byte) error
func (*EventDeleteLocalVirtualGroup) XXX_DiscardUnknown ¶
func (m *EventDeleteLocalVirtualGroup) XXX_DiscardUnknown()
func (*EventDeleteLocalVirtualGroup) XXX_Marshal ¶
func (m *EventDeleteLocalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteLocalVirtualGroup) XXX_Merge ¶
func (m *EventDeleteLocalVirtualGroup) XXX_Merge(src proto.Message)
func (*EventDeleteLocalVirtualGroup) XXX_Size ¶
func (m *EventDeleteLocalVirtualGroup) XXX_Size() int
func (*EventDeleteLocalVirtualGroup) XXX_Unmarshal ¶
func (m *EventDeleteLocalVirtualGroup) XXX_Unmarshal(b []byte) error
type EventReserveSwapIn ¶ added in v1.3.0
type EventReserveSwapIn struct { // The id of the storage provider who wants to swap in StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The id of the gvg family which the storage provider wants to swap in as primary sp GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // The id of the gvg which the storage provider wants to swap in as secondary sp GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ // The id of the target sp who will be swapped TargetSpId uint32 `protobuf:"varint,4,opt,name=target_sp_id,json=targetSpId,proto3" json:"target_sp_id,omitempty"` // the expiration time of this reserved swapIn ExpirationTime uint64 `protobuf:"varint,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` }
func (*EventReserveSwapIn) Descriptor ¶ added in v1.3.0
func (*EventReserveSwapIn) Descriptor() ([]byte, []int)
func (*EventReserveSwapIn) GetExpirationTime ¶ added in v1.3.0
func (m *EventReserveSwapIn) GetExpirationTime() uint64
func (*EventReserveSwapIn) GetGlobalVirtualGroupFamilyId ¶ added in v1.3.0
func (m *EventReserveSwapIn) GetGlobalVirtualGroupFamilyId() uint32
func (*EventReserveSwapIn) GetGlobalVirtualGroupId ¶ added in v1.3.0
func (m *EventReserveSwapIn) GetGlobalVirtualGroupId() uint32
func (*EventReserveSwapIn) GetStorageProviderId ¶ added in v1.3.0
func (m *EventReserveSwapIn) GetStorageProviderId() uint32
func (*EventReserveSwapIn) GetTargetSpId ¶ added in v1.3.0
func (m *EventReserveSwapIn) GetTargetSpId() uint32
func (*EventReserveSwapIn) Marshal ¶ added in v1.3.0
func (m *EventReserveSwapIn) Marshal() (dAtA []byte, err error)
func (*EventReserveSwapIn) MarshalTo ¶ added in v1.3.0
func (m *EventReserveSwapIn) MarshalTo(dAtA []byte) (int, error)
func (*EventReserveSwapIn) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *EventReserveSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventReserveSwapIn) ProtoMessage ¶ added in v1.3.0
func (*EventReserveSwapIn) ProtoMessage()
func (*EventReserveSwapIn) Reset ¶ added in v1.3.0
func (m *EventReserveSwapIn) Reset()
func (*EventReserveSwapIn) Size ¶ added in v1.3.0
func (m *EventReserveSwapIn) Size() (n int)
func (*EventReserveSwapIn) String ¶ added in v1.3.0
func (m *EventReserveSwapIn) String() string
func (*EventReserveSwapIn) Unmarshal ¶ added in v1.3.0
func (m *EventReserveSwapIn) Unmarshal(dAtA []byte) error
func (*EventReserveSwapIn) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *EventReserveSwapIn) XXX_DiscardUnknown()
func (*EventReserveSwapIn) XXX_Marshal ¶ added in v1.3.0
func (m *EventReserveSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventReserveSwapIn) XXX_Merge ¶ added in v1.3.0
func (m *EventReserveSwapIn) XXX_Merge(src proto.Message)
func (*EventReserveSwapIn) XXX_Size ¶ added in v1.3.0
func (m *EventReserveSwapIn) XXX_Size() int
func (*EventReserveSwapIn) XXX_Unmarshal ¶ added in v1.3.0
func (m *EventReserveSwapIn) XXX_Unmarshal(b []byte) error
type EventSettleGlobalVirtualGroup ¶ added in v1.5.0
type EventSettleGlobalVirtualGroup struct { // The id of global virtual group, which is auto generated by blockchain Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The ids of the secondary sps who will receive the fund SpIds []uint32 `protobuf:"varint,2,rep,packed,name=sp_ids,json=spIds,proto3" json:"sp_ids,omitempty"` // The funding address of the sps SpFundingAddresses []string `protobuf:"bytes,3,rep,name=sp_funding_addresses,json=spFundingAddresses,proto3" json:"sp_funding_addresses,omitempty"` // The amount the fund to send to each sp Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*EventSettleGlobalVirtualGroup) Descriptor ¶ added in v1.5.0
func (*EventSettleGlobalVirtualGroup) Descriptor() ([]byte, []int)
func (*EventSettleGlobalVirtualGroup) GetId ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) GetId() uint32
func (*EventSettleGlobalVirtualGroup) GetSpFundingAddresses ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) GetSpFundingAddresses() []string
func (*EventSettleGlobalVirtualGroup) GetSpIds ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) GetSpIds() []uint32
func (*EventSettleGlobalVirtualGroup) Marshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*EventSettleGlobalVirtualGroup) MarshalTo ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventSettleGlobalVirtualGroup) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSettleGlobalVirtualGroup) ProtoMessage ¶ added in v1.5.0
func (*EventSettleGlobalVirtualGroup) ProtoMessage()
func (*EventSettleGlobalVirtualGroup) Reset ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) Reset()
func (*EventSettleGlobalVirtualGroup) Size ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) Size() (n int)
func (*EventSettleGlobalVirtualGroup) String ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) String() string
func (*EventSettleGlobalVirtualGroup) Unmarshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) Unmarshal(dAtA []byte) error
func (*EventSettleGlobalVirtualGroup) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) XXX_DiscardUnknown()
func (*EventSettleGlobalVirtualGroup) XXX_Marshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSettleGlobalVirtualGroup) XXX_Merge ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) XXX_Merge(src proto.Message)
func (*EventSettleGlobalVirtualGroup) XXX_Size ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) XXX_Size() int
func (*EventSettleGlobalVirtualGroup) XXX_Unmarshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
type EventSettleGlobalVirtualGroupFamily ¶ added in v1.5.0
type EventSettleGlobalVirtualGroupFamily struct { // The id of global virtual group family, which is auto generated by blockchain Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the primary sp who will receive the fund SpId uint32 `protobuf:"varint,2,opt,name=sp_id,json=spId,proto3" json:"sp_id,omitempty"` // The funding address of the sp SpFundingAddress string `protobuf:"bytes,3,opt,name=sp_funding_address,json=spFundingAddress,proto3" json:"sp_funding_address,omitempty"` // The amount the fund to send to sp Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*EventSettleGlobalVirtualGroupFamily) Descriptor ¶ added in v1.5.0
func (*EventSettleGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
func (*EventSettleGlobalVirtualGroupFamily) GetId ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) GetId() uint32
func (*EventSettleGlobalVirtualGroupFamily) GetSpFundingAddress ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) GetSpFundingAddress() string
func (*EventSettleGlobalVirtualGroupFamily) GetSpId ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) GetSpId() uint32
func (*EventSettleGlobalVirtualGroupFamily) Marshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
func (*EventSettleGlobalVirtualGroupFamily) MarshalTo ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
func (*EventSettleGlobalVirtualGroupFamily) MarshalToSizedBuffer ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSettleGlobalVirtualGroupFamily) ProtoMessage ¶ added in v1.5.0
func (*EventSettleGlobalVirtualGroupFamily) ProtoMessage()
func (*EventSettleGlobalVirtualGroupFamily) Reset ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) Reset()
func (*EventSettleGlobalVirtualGroupFamily) Size ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) Size() (n int)
func (*EventSettleGlobalVirtualGroupFamily) String ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) String() string
func (*EventSettleGlobalVirtualGroupFamily) Unmarshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
func (*EventSettleGlobalVirtualGroupFamily) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) XXX_DiscardUnknown()
func (*EventSettleGlobalVirtualGroupFamily) XXX_Marshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSettleGlobalVirtualGroupFamily) XXX_Merge ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
func (*EventSettleGlobalVirtualGroupFamily) XXX_Size ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) XXX_Size() int
func (*EventSettleGlobalVirtualGroupFamily) XXX_Unmarshal ¶ added in v1.5.0
func (m *EventSettleGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
type EventStorageProviderExit ¶
type EventStorageProviderExit struct { // The id of the storage provider who wants to exit StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The operator address of the storage provider who wants to exit OperatorAddress string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` }
func (*EventStorageProviderExit) Descriptor ¶
func (*EventStorageProviderExit) Descriptor() ([]byte, []int)
func (*EventStorageProviderExit) GetOperatorAddress ¶
func (m *EventStorageProviderExit) GetOperatorAddress() string
func (*EventStorageProviderExit) GetStorageProviderId ¶
func (m *EventStorageProviderExit) GetStorageProviderId() uint32
func (*EventStorageProviderExit) Marshal ¶
func (m *EventStorageProviderExit) Marshal() (dAtA []byte, err error)
func (*EventStorageProviderExit) MarshalTo ¶
func (m *EventStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
func (*EventStorageProviderExit) MarshalToSizedBuffer ¶
func (m *EventStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventStorageProviderExit) ProtoMessage ¶
func (*EventStorageProviderExit) ProtoMessage()
func (*EventStorageProviderExit) Reset ¶
func (m *EventStorageProviderExit) Reset()
func (*EventStorageProviderExit) Size ¶
func (m *EventStorageProviderExit) Size() (n int)
func (*EventStorageProviderExit) String ¶
func (m *EventStorageProviderExit) String() string
func (*EventStorageProviderExit) Unmarshal ¶
func (m *EventStorageProviderExit) Unmarshal(dAtA []byte) error
func (*EventStorageProviderExit) XXX_DiscardUnknown ¶
func (m *EventStorageProviderExit) XXX_DiscardUnknown()
func (*EventStorageProviderExit) XXX_Marshal ¶
func (m *EventStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventStorageProviderExit) XXX_Merge ¶
func (m *EventStorageProviderExit) XXX_Merge(src proto.Message)
func (*EventStorageProviderExit) XXX_Size ¶
func (m *EventStorageProviderExit) XXX_Size() int
func (*EventStorageProviderExit) XXX_Unmarshal ¶
func (m *EventStorageProviderExit) XXX_Unmarshal(b []byte) error
type EventStorageProviderForcedExit ¶ added in v1.3.0
type EventStorageProviderForcedExit struct { // The id of the storage provider who wants to exit StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` }
func (*EventStorageProviderForcedExit) Descriptor ¶ added in v1.3.0
func (*EventStorageProviderForcedExit) Descriptor() ([]byte, []int)
func (*EventStorageProviderForcedExit) GetStorageProviderId ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) GetStorageProviderId() uint32
func (*EventStorageProviderForcedExit) Marshal ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) Marshal() (dAtA []byte, err error)
func (*EventStorageProviderForcedExit) MarshalTo ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) MarshalTo(dAtA []byte) (int, error)
func (*EventStorageProviderForcedExit) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventStorageProviderForcedExit) ProtoMessage ¶ added in v1.3.0
func (*EventStorageProviderForcedExit) ProtoMessage()
func (*EventStorageProviderForcedExit) Reset ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) Reset()
func (*EventStorageProviderForcedExit) Size ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) Size() (n int)
func (*EventStorageProviderForcedExit) String ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) String() string
func (*EventStorageProviderForcedExit) Unmarshal ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) Unmarshal(dAtA []byte) error
func (*EventStorageProviderForcedExit) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) XXX_DiscardUnknown()
func (*EventStorageProviderForcedExit) XXX_Marshal ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventStorageProviderForcedExit) XXX_Merge ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) XXX_Merge(src proto.Message)
func (*EventStorageProviderForcedExit) XXX_Size ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) XXX_Size() int
func (*EventStorageProviderForcedExit) XXX_Unmarshal ¶ added in v1.3.0
func (m *EventStorageProviderForcedExit) XXX_Unmarshal(b []byte) error
type EventSwapOut ¶
type EventSwapOut struct { // The id of the storage provider who wants to swap out StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // The id of the gvg family which the storage provider wants to swap out as primary sp GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // The ids of the gvgs which the storage provider wants to swap out as secondary sp GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ // The id of the successor sp who take over this family or these gvgs SuccessorSpId uint32 `protobuf:"varint,4,opt,name=successor_sp_id,json=successorSpId,proto3" json:"successor_sp_id,omitempty"` }
func (*EventSwapOut) Descriptor ¶
func (*EventSwapOut) Descriptor() ([]byte, []int)
func (*EventSwapOut) GetGlobalVirtualGroupFamilyId ¶
func (m *EventSwapOut) GetGlobalVirtualGroupFamilyId() uint32
func (*EventSwapOut) GetGlobalVirtualGroupIds ¶
func (m *EventSwapOut) GetGlobalVirtualGroupIds() []uint32
func (*EventSwapOut) GetStorageProviderId ¶
func (m *EventSwapOut) GetStorageProviderId() uint32
func (*EventSwapOut) GetSuccessorSpId ¶
func (m *EventSwapOut) GetSuccessorSpId() uint32
func (*EventSwapOut) Marshal ¶
func (m *EventSwapOut) Marshal() (dAtA []byte, err error)
func (*EventSwapOut) MarshalToSizedBuffer ¶
func (m *EventSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSwapOut) ProtoMessage ¶
func (*EventSwapOut) ProtoMessage()
func (*EventSwapOut) Reset ¶
func (m *EventSwapOut) Reset()
func (*EventSwapOut) Size ¶
func (m *EventSwapOut) Size() (n int)
func (*EventSwapOut) String ¶
func (m *EventSwapOut) String() string
func (*EventSwapOut) Unmarshal ¶
func (m *EventSwapOut) Unmarshal(dAtA []byte) error
func (*EventSwapOut) XXX_DiscardUnknown ¶
func (m *EventSwapOut) XXX_DiscardUnknown()
func (*EventSwapOut) XXX_Marshal ¶
func (m *EventSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSwapOut) XXX_Merge ¶
func (m *EventSwapOut) XXX_Merge(src proto.Message)
func (*EventSwapOut) XXX_Size ¶
func (m *EventSwapOut) XXX_Size() int
func (*EventSwapOut) XXX_Unmarshal ¶
func (m *EventSwapOut) XXX_Unmarshal(b []byte) error
type EventUpdateGlobalVirtualGroup ¶
type EventUpdateGlobalVirtualGroup struct { // The id of global virtual group, which has been updated Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The store size of all the objects stores in this global virtual group StoreSize uint64 `protobuf:"varint,2,opt,name=store_size,json=storeSize,proto3" json:"store_size,omitempty"` // The total amount of the staking for this global virtual group TotalDeposit github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ // Primary SP ID represents the unique id of the primary storage provider in the group. PrimarySpId uint32 `protobuf:"varint,4,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` // Secondary SP IDs represents the list of unique identifiers of the secondary storage providers in the group. SecondarySpIds []uint32 `protobuf:"varint,5,rep,packed,name=secondary_sp_ids,json=secondarySpIds,proto3" json:"secondary_sp_ids,omitempty"` }
func (*EventUpdateGlobalVirtualGroup) Descriptor ¶
func (*EventUpdateGlobalVirtualGroup) Descriptor() ([]byte, []int)
func (*EventUpdateGlobalVirtualGroup) GetId ¶
func (m *EventUpdateGlobalVirtualGroup) GetId() uint32
func (*EventUpdateGlobalVirtualGroup) GetPrimarySpId ¶
func (m *EventUpdateGlobalVirtualGroup) GetPrimarySpId() uint32
func (*EventUpdateGlobalVirtualGroup) GetSecondarySpIds ¶
func (m *EventUpdateGlobalVirtualGroup) GetSecondarySpIds() []uint32
func (*EventUpdateGlobalVirtualGroup) GetStoreSize ¶
func (m *EventUpdateGlobalVirtualGroup) GetStoreSize() uint64
func (*EventUpdateGlobalVirtualGroup) Marshal ¶
func (m *EventUpdateGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*EventUpdateGlobalVirtualGroup) MarshalTo ¶
func (m *EventUpdateGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateGlobalVirtualGroup) MarshalToSizedBuffer ¶
func (m *EventUpdateGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateGlobalVirtualGroup) ProtoMessage ¶
func (*EventUpdateGlobalVirtualGroup) ProtoMessage()
func (*EventUpdateGlobalVirtualGroup) Reset ¶
func (m *EventUpdateGlobalVirtualGroup) Reset()
func (*EventUpdateGlobalVirtualGroup) Size ¶
func (m *EventUpdateGlobalVirtualGroup) Size() (n int)
func (*EventUpdateGlobalVirtualGroup) String ¶
func (m *EventUpdateGlobalVirtualGroup) String() string
func (*EventUpdateGlobalVirtualGroup) Unmarshal ¶
func (m *EventUpdateGlobalVirtualGroup) Unmarshal(dAtA []byte) error
func (*EventUpdateGlobalVirtualGroup) XXX_DiscardUnknown ¶
func (m *EventUpdateGlobalVirtualGroup) XXX_DiscardUnknown()
func (*EventUpdateGlobalVirtualGroup) XXX_Marshal ¶
func (m *EventUpdateGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateGlobalVirtualGroup) XXX_Merge ¶
func (m *EventUpdateGlobalVirtualGroup) XXX_Merge(src proto.Message)
func (*EventUpdateGlobalVirtualGroup) XXX_Size ¶
func (m *EventUpdateGlobalVirtualGroup) XXX_Size() int
func (*EventUpdateGlobalVirtualGroup) XXX_Unmarshal ¶
func (m *EventUpdateGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
type EventUpdateGlobalVirtualGroupFamily ¶
type EventUpdateGlobalVirtualGroupFamily struct { // The id of global virtual group family, which is auto generated by blockchain Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the primary sp who create this global virtual group family PrimarySpId uint32 `protobuf:"varint,2,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` // global_virtual_group_ids are the ids of gvgs in this family GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ }
func (*EventUpdateGlobalVirtualGroupFamily) Descriptor ¶
func (*EventUpdateGlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
func (*EventUpdateGlobalVirtualGroupFamily) GetGlobalVirtualGroupIds ¶
func (m *EventUpdateGlobalVirtualGroupFamily) GetGlobalVirtualGroupIds() []uint32
func (*EventUpdateGlobalVirtualGroupFamily) GetId ¶
func (m *EventUpdateGlobalVirtualGroupFamily) GetId() uint32
func (*EventUpdateGlobalVirtualGroupFamily) GetPrimarySpId ¶
func (m *EventUpdateGlobalVirtualGroupFamily) GetPrimarySpId() uint32
func (*EventUpdateGlobalVirtualGroupFamily) Marshal ¶
func (m *EventUpdateGlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
func (*EventUpdateGlobalVirtualGroupFamily) MarshalTo ¶
func (m *EventUpdateGlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateGlobalVirtualGroupFamily) MarshalToSizedBuffer ¶
func (m *EventUpdateGlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateGlobalVirtualGroupFamily) ProtoMessage ¶
func (*EventUpdateGlobalVirtualGroupFamily) ProtoMessage()
func (*EventUpdateGlobalVirtualGroupFamily) Reset ¶
func (m *EventUpdateGlobalVirtualGroupFamily) Reset()
func (*EventUpdateGlobalVirtualGroupFamily) Size ¶
func (m *EventUpdateGlobalVirtualGroupFamily) Size() (n int)
func (*EventUpdateGlobalVirtualGroupFamily) String ¶
func (m *EventUpdateGlobalVirtualGroupFamily) String() string
func (*EventUpdateGlobalVirtualGroupFamily) Unmarshal ¶
func (m *EventUpdateGlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
func (*EventUpdateGlobalVirtualGroupFamily) XXX_DiscardUnknown ¶
func (m *EventUpdateGlobalVirtualGroupFamily) XXX_DiscardUnknown()
func (*EventUpdateGlobalVirtualGroupFamily) XXX_Marshal ¶
func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateGlobalVirtualGroupFamily) XXX_Merge ¶
func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
func (*EventUpdateGlobalVirtualGroupFamily) XXX_Size ¶
func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Size() int
func (*EventUpdateGlobalVirtualGroupFamily) XXX_Unmarshal ¶
func (m *EventUpdateGlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
type EventUpdateLocalVirtualGroup ¶
type EventUpdateLocalVirtualGroup struct { // The id of the local virtual group Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the bucket BucketId Uint `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // The global_virtual_group_id is gvgid of lvg after migrate GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ // The stored size of all the objects stores in this lvg StoredSize uint64 `protobuf:"varint,4,opt,name=stored_size,json=storedSize,proto3" json:"stored_size,omitempty"` }
func (*EventUpdateLocalVirtualGroup) Descriptor ¶
func (*EventUpdateLocalVirtualGroup) Descriptor() ([]byte, []int)
func (*EventUpdateLocalVirtualGroup) GetGlobalVirtualGroupId ¶
func (m *EventUpdateLocalVirtualGroup) GetGlobalVirtualGroupId() uint32
func (*EventUpdateLocalVirtualGroup) GetId ¶
func (m *EventUpdateLocalVirtualGroup) GetId() uint32
func (*EventUpdateLocalVirtualGroup) GetStoredSize ¶
func (m *EventUpdateLocalVirtualGroup) GetStoredSize() uint64
func (*EventUpdateLocalVirtualGroup) Marshal ¶
func (m *EventUpdateLocalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*EventUpdateLocalVirtualGroup) MarshalTo ¶
func (m *EventUpdateLocalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateLocalVirtualGroup) MarshalToSizedBuffer ¶
func (m *EventUpdateLocalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateLocalVirtualGroup) ProtoMessage ¶
func (*EventUpdateLocalVirtualGroup) ProtoMessage()
func (*EventUpdateLocalVirtualGroup) Reset ¶
func (m *EventUpdateLocalVirtualGroup) Reset()
func (*EventUpdateLocalVirtualGroup) Size ¶
func (m *EventUpdateLocalVirtualGroup) Size() (n int)
func (*EventUpdateLocalVirtualGroup) String ¶
func (m *EventUpdateLocalVirtualGroup) String() string
func (*EventUpdateLocalVirtualGroup) Unmarshal ¶
func (m *EventUpdateLocalVirtualGroup) Unmarshal(dAtA []byte) error
func (*EventUpdateLocalVirtualGroup) XXX_DiscardUnknown ¶
func (m *EventUpdateLocalVirtualGroup) XXX_DiscardUnknown()
func (*EventUpdateLocalVirtualGroup) XXX_Marshal ¶
func (m *EventUpdateLocalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateLocalVirtualGroup) XXX_Merge ¶
func (m *EventUpdateLocalVirtualGroup) XXX_Merge(src proto.Message)
func (*EventUpdateLocalVirtualGroup) XXX_Size ¶
func (m *EventUpdateLocalVirtualGroup) XXX_Size() int
func (*EventUpdateLocalVirtualGroup) XXX_Unmarshal ¶
func (m *EventUpdateLocalVirtualGroup) XXX_Unmarshal(b []byte) error
type GVGFamilyStatisticsWithinSP ¶ added in v1.6.0
type GVGFamilyStatisticsWithinSP struct { // sp_id defines the id of the sp which the statistics associated to SpId uint32 `protobuf:"varint,1,opt,name=sp_id,json=spId,proto3" json:"sp_id,omitempty"` // global_virtual_group_family_ids is a list of identifiers of the global virtual group family associated with the SP. GlobalVirtualGroupFamilyIds []uint32 `` /* 156-byte string literal not displayed */ }
func (*GVGFamilyStatisticsWithinSP) Descriptor ¶ added in v1.6.0
func (*GVGFamilyStatisticsWithinSP) Descriptor() ([]byte, []int)
func (*GVGFamilyStatisticsWithinSP) GetGlobalVirtualGroupFamilyIds ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) GetGlobalVirtualGroupFamilyIds() []uint32
func (*GVGFamilyStatisticsWithinSP) GetSpId ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) GetSpId() uint32
func (*GVGFamilyStatisticsWithinSP) Marshal ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) Marshal() (dAtA []byte, err error)
func (*GVGFamilyStatisticsWithinSP) MarshalTo ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) MarshalTo(dAtA []byte) (int, error)
func (*GVGFamilyStatisticsWithinSP) MarshalToSizedBuffer ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GVGFamilyStatisticsWithinSP) ProtoMessage ¶ added in v1.6.0
func (*GVGFamilyStatisticsWithinSP) ProtoMessage()
func (*GVGFamilyStatisticsWithinSP) Reset ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) Reset()
func (*GVGFamilyStatisticsWithinSP) Size ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) Size() (n int)
func (*GVGFamilyStatisticsWithinSP) String ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) String() string
func (*GVGFamilyStatisticsWithinSP) Unmarshal ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) Unmarshal(dAtA []byte) error
func (*GVGFamilyStatisticsWithinSP) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) XXX_DiscardUnknown()
func (*GVGFamilyStatisticsWithinSP) XXX_Marshal ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GVGFamilyStatisticsWithinSP) XXX_Merge ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) XXX_Merge(src proto.Message)
func (*GVGFamilyStatisticsWithinSP) XXX_Size ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) XXX_Size() int
func (*GVGFamilyStatisticsWithinSP) XXX_Unmarshal ¶ added in v1.6.0
func (m *GVGFamilyStatisticsWithinSP) XXX_Unmarshal(b []byte) error
type GVGStatisticsWithinSP ¶
type GVGStatisticsWithinSP struct { // storage_provider_id defines the id of the sp which the statistics associated to StorageProviderId uint32 `protobuf:"varint,1,opt,name=storage_provider_id,json=storageProviderId,proto3" json:"storage_provider_id,omitempty"` // primary_count defines the number of global virtual groups (GVGs) which this sp serves as primary sp PrimaryCount uint32 `protobuf:"varint,2,opt,name=primary_count,json=primaryCount,proto3" json:"primary_count,omitempty"` // secondary_count defines the number of global virtual groups (GVGs) in // which this storage provider serves as a secondary storage provider. SecondaryCount uint32 `protobuf:"varint,3,opt,name=secondary_count,json=secondaryCount,proto3" json:"secondary_count,omitempty"` // Redundancy defines the number of gvg that sp serves as sp and secondary sp, which breaks the data redundancy requirement. // In most case, this should not happen, // during sp exit, a successor sp might need to swapIn GVG(s) that it is already a secondary and become the primary SP // of whole family. // a successor sp which need to swapIn a GVG as secondary must be unique to all other SP. So this will not be used for // swapIn individual GVG as secondary BreakRedundancyReqmtGvgCount uint32 `` /* 152-byte string literal not displayed */ }
func (*GVGStatisticsWithinSP) Descriptor ¶
func (*GVGStatisticsWithinSP) Descriptor() ([]byte, []int)
func (*GVGStatisticsWithinSP) GetBreakRedundancyReqmtGvgCount ¶ added in v1.3.0
func (m *GVGStatisticsWithinSP) GetBreakRedundancyReqmtGvgCount() uint32
func (*GVGStatisticsWithinSP) GetPrimaryCount ¶
func (m *GVGStatisticsWithinSP) GetPrimaryCount() uint32
func (*GVGStatisticsWithinSP) GetSecondaryCount ¶
func (m *GVGStatisticsWithinSP) GetSecondaryCount() uint32
func (*GVGStatisticsWithinSP) GetStorageProviderId ¶
func (m *GVGStatisticsWithinSP) GetStorageProviderId() uint32
func (*GVGStatisticsWithinSP) Marshal ¶
func (m *GVGStatisticsWithinSP) Marshal() (dAtA []byte, err error)
func (*GVGStatisticsWithinSP) MarshalTo ¶
func (m *GVGStatisticsWithinSP) MarshalTo(dAtA []byte) (int, error)
func (*GVGStatisticsWithinSP) MarshalToSizedBuffer ¶
func (m *GVGStatisticsWithinSP) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GVGStatisticsWithinSP) ProtoMessage ¶
func (*GVGStatisticsWithinSP) ProtoMessage()
func (*GVGStatisticsWithinSP) Reset ¶
func (m *GVGStatisticsWithinSP) Reset()
func (*GVGStatisticsWithinSP) Size ¶
func (m *GVGStatisticsWithinSP) Size() (n int)
func (*GVGStatisticsWithinSP) String ¶
func (m *GVGStatisticsWithinSP) String() string
func (*GVGStatisticsWithinSP) Unmarshal ¶
func (m *GVGStatisticsWithinSP) Unmarshal(dAtA []byte) error
func (*GVGStatisticsWithinSP) XXX_DiscardUnknown ¶
func (m *GVGStatisticsWithinSP) XXX_DiscardUnknown()
func (*GVGStatisticsWithinSP) XXX_Marshal ¶
func (m *GVGStatisticsWithinSP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GVGStatisticsWithinSP) XXX_Merge ¶
func (m *GVGStatisticsWithinSP) XXX_Merge(src proto.Message)
func (*GVGStatisticsWithinSP) XXX_Size ¶
func (m *GVGStatisticsWithinSP) XXX_Size() int
func (*GVGStatisticsWithinSP) XXX_Unmarshal ¶
func (m *GVGStatisticsWithinSP) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the virtualgroup module's genesis state. GenesisState defines the raw genesis transaction in JSON.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GlobalVirtualGroup ¶
type GlobalVirtualGroup struct { // ID represents the unique identifier of the global virtual group. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Family ID represents the identifier of the GVG family that the group belongs to. FamilyId uint32 `protobuf:"varint,2,opt,name=family_id,json=familyId,proto3" json:"family_id,omitempty"` // Primary SP ID represents the unique identifier of the primary storage provider in the group. PrimarySpId uint32 `protobuf:"varint,3,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` // Secondary SP IDs represents the list of unique identifiers of the secondary storage providers in the group. SecondarySpIds []uint32 `protobuf:"varint,4,rep,packed,name=secondary_sp_ids,json=secondarySpIds,proto3" json:"secondary_sp_ids,omitempty"` // Stored size represents the size of the stored objects within the group. StoredSize uint64 `protobuf:"varint,5,opt,name=stored_size,json=storedSize,proto3" json:"stored_size,omitempty"` // Virtual payment address represents the payment address associated with the group. VirtualPaymentAddress string `` /* 126-byte string literal not displayed */ // Total deposit represents the number of tokens deposited by this storage provider for staking. TotalDeposit github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ }
A global virtual group consists of one primary SP (SP) and multiple secondary SP. Every global virtual group must belong to a GVG family, and the objects of each bucket must be stored in a GVG within a group family.
func (*GlobalVirtualGroup) Descriptor ¶
func (*GlobalVirtualGroup) Descriptor() ([]byte, []int)
func (*GlobalVirtualGroup) GetFamilyId ¶
func (m *GlobalVirtualGroup) GetFamilyId() uint32
func (*GlobalVirtualGroup) GetId ¶
func (m *GlobalVirtualGroup) GetId() uint32
func (*GlobalVirtualGroup) GetPrimarySpId ¶
func (m *GlobalVirtualGroup) GetPrimarySpId() uint32
func (*GlobalVirtualGroup) GetSecondarySpIds ¶
func (m *GlobalVirtualGroup) GetSecondarySpIds() []uint32
func (*GlobalVirtualGroup) GetStoredSize ¶
func (m *GlobalVirtualGroup) GetStoredSize() uint64
func (*GlobalVirtualGroup) GetVirtualPaymentAddress ¶
func (m *GlobalVirtualGroup) GetVirtualPaymentAddress() string
func (*GlobalVirtualGroup) Marshal ¶
func (m *GlobalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*GlobalVirtualGroup) MarshalTo ¶
func (m *GlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*GlobalVirtualGroup) MarshalToSizedBuffer ¶
func (m *GlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GlobalVirtualGroup) ProtoMessage ¶
func (*GlobalVirtualGroup) ProtoMessage()
func (*GlobalVirtualGroup) Reset ¶
func (m *GlobalVirtualGroup) Reset()
func (*GlobalVirtualGroup) Size ¶
func (m *GlobalVirtualGroup) Size() (n int)
func (*GlobalVirtualGroup) String ¶
func (m *GlobalVirtualGroup) String() string
func (*GlobalVirtualGroup) Unmarshal ¶
func (m *GlobalVirtualGroup) Unmarshal(dAtA []byte) error
func (*GlobalVirtualGroup) XXX_DiscardUnknown ¶
func (m *GlobalVirtualGroup) XXX_DiscardUnknown()
func (*GlobalVirtualGroup) XXX_Marshal ¶
func (m *GlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GlobalVirtualGroup) XXX_Merge ¶
func (m *GlobalVirtualGroup) XXX_Merge(src proto.Message)
func (*GlobalVirtualGroup) XXX_Size ¶
func (m *GlobalVirtualGroup) XXX_Size() int
func (*GlobalVirtualGroup) XXX_Unmarshal ¶
func (m *GlobalVirtualGroup) XXX_Unmarshal(b []byte) error
type GlobalVirtualGroupFamily ¶
type GlobalVirtualGroupFamily struct { // id is the identifier of the global virtual group family. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // primary_sp_id PrimarySpId uint32 `protobuf:"varint,2,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"` // global_virtual_group_ids is a list of identifiers of the global virtual groups associated with the family. GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ // virtual_payment_address is the payment address associated with the global virtual group family. VirtualPaymentAddress string `` /* 126-byte string literal not displayed */ }
Global virtual group family serve as a means of grouping global virtual groups. Each bucket must be associated with a unique global virtual group family and cannot cross families.
func (*GlobalVirtualGroupFamily) AppendGVG ¶
func (f *GlobalVirtualGroupFamily) AppendGVG(gvgID uint32)
func (*GlobalVirtualGroupFamily) Contains ¶
func (f *GlobalVirtualGroupFamily) Contains(gvgID uint32) bool
func (*GlobalVirtualGroupFamily) Descriptor ¶
func (*GlobalVirtualGroupFamily) Descriptor() ([]byte, []int)
func (*GlobalVirtualGroupFamily) GetGlobalVirtualGroupIds ¶
func (m *GlobalVirtualGroupFamily) GetGlobalVirtualGroupIds() []uint32
func (*GlobalVirtualGroupFamily) GetId ¶
func (m *GlobalVirtualGroupFamily) GetId() uint32
func (*GlobalVirtualGroupFamily) GetPrimarySpId ¶
func (m *GlobalVirtualGroupFamily) GetPrimarySpId() uint32
func (*GlobalVirtualGroupFamily) GetVirtualPaymentAddress ¶
func (m *GlobalVirtualGroupFamily) GetVirtualPaymentAddress() string
func (*GlobalVirtualGroupFamily) Marshal ¶
func (m *GlobalVirtualGroupFamily) Marshal() (dAtA []byte, err error)
func (*GlobalVirtualGroupFamily) MarshalTo ¶
func (m *GlobalVirtualGroupFamily) MarshalTo(dAtA []byte) (int, error)
func (*GlobalVirtualGroupFamily) MarshalToSizedBuffer ¶
func (m *GlobalVirtualGroupFamily) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GlobalVirtualGroupFamily) MustRemoveGVG ¶
func (f *GlobalVirtualGroupFamily) MustRemoveGVG(gvgID uint32)
func (*GlobalVirtualGroupFamily) ProtoMessage ¶
func (*GlobalVirtualGroupFamily) ProtoMessage()
func (*GlobalVirtualGroupFamily) RemoveGVG ¶
func (f *GlobalVirtualGroupFamily) RemoveGVG(gvgID uint32) error
func (*GlobalVirtualGroupFamily) Reset ¶
func (m *GlobalVirtualGroupFamily) Reset()
func (*GlobalVirtualGroupFamily) Size ¶
func (m *GlobalVirtualGroupFamily) Size() (n int)
func (*GlobalVirtualGroupFamily) String ¶
func (m *GlobalVirtualGroupFamily) String() string
func (*GlobalVirtualGroupFamily) Unmarshal ¶
func (m *GlobalVirtualGroupFamily) Unmarshal(dAtA []byte) error
func (*GlobalVirtualGroupFamily) XXX_DiscardUnknown ¶
func (m *GlobalVirtualGroupFamily) XXX_DiscardUnknown()
func (*GlobalVirtualGroupFamily) XXX_Marshal ¶
func (m *GlobalVirtualGroupFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GlobalVirtualGroupFamily) XXX_Merge ¶
func (m *GlobalVirtualGroupFamily) XXX_Merge(src proto.Message)
func (*GlobalVirtualGroupFamily) XXX_Size ¶
func (m *GlobalVirtualGroupFamily) XXX_Size() int
func (*GlobalVirtualGroupFamily) XXX_Unmarshal ¶
func (m *GlobalVirtualGroupFamily) XXX_Unmarshal(b []byte) error
type GlobalVirtualGroupsBindingOnBucket ¶
type GlobalVirtualGroupsBindingOnBucket struct { // bucket_id is the unique identification for the bucket. BucketId Uint `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // global_virtual_group_ids is a list of identifiers of the global virtual groups associated with the bucket. GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ // local_virtual_group_ids is a list of identifiers of the local virtual groups associated with the bucket. LocalVirtualGroupIds []uint32 `` /* 133-byte string literal not displayed */ }
func (*GlobalVirtualGroupsBindingOnBucket) AppendGVGAndLVG ¶
func (g *GlobalVirtualGroupsBindingOnBucket) AppendGVGAndLVG(gvgID, lvgID uint32)
func (*GlobalVirtualGroupsBindingOnBucket) Descriptor ¶
func (*GlobalVirtualGroupsBindingOnBucket) Descriptor() ([]byte, []int)
func (*GlobalVirtualGroupsBindingOnBucket) GetGVGIDByLVGID ¶
func (g *GlobalVirtualGroupsBindingOnBucket) GetGVGIDByLVGID(lvgID uint32) uint32
func (*GlobalVirtualGroupsBindingOnBucket) GetGlobalVirtualGroupIds ¶
func (m *GlobalVirtualGroupsBindingOnBucket) GetGlobalVirtualGroupIds() []uint32
func (*GlobalVirtualGroupsBindingOnBucket) GetLVGIDByGVGID ¶
func (g *GlobalVirtualGroupsBindingOnBucket) GetLVGIDByGVGID(gvgID uint32) uint32
func (*GlobalVirtualGroupsBindingOnBucket) GetLocalVirtualGroupIds ¶
func (m *GlobalVirtualGroupsBindingOnBucket) GetLocalVirtualGroupIds() []uint32
func (*GlobalVirtualGroupsBindingOnBucket) Marshal ¶
func (m *GlobalVirtualGroupsBindingOnBucket) Marshal() (dAtA []byte, err error)
func (*GlobalVirtualGroupsBindingOnBucket) MarshalTo ¶
func (m *GlobalVirtualGroupsBindingOnBucket) MarshalTo(dAtA []byte) (int, error)
func (*GlobalVirtualGroupsBindingOnBucket) MarshalToSizedBuffer ¶
func (m *GlobalVirtualGroupsBindingOnBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GlobalVirtualGroupsBindingOnBucket) ProtoMessage ¶
func (*GlobalVirtualGroupsBindingOnBucket) ProtoMessage()
func (*GlobalVirtualGroupsBindingOnBucket) Reset ¶
func (m *GlobalVirtualGroupsBindingOnBucket) Reset()
func (*GlobalVirtualGroupsBindingOnBucket) Size ¶
func (m *GlobalVirtualGroupsBindingOnBucket) Size() (n int)
func (*GlobalVirtualGroupsBindingOnBucket) String ¶
func (m *GlobalVirtualGroupsBindingOnBucket) String() string
func (*GlobalVirtualGroupsBindingOnBucket) Unmarshal ¶
func (m *GlobalVirtualGroupsBindingOnBucket) Unmarshal(dAtA []byte) error
func (*GlobalVirtualGroupsBindingOnBucket) XXX_DiscardUnknown ¶
func (m *GlobalVirtualGroupsBindingOnBucket) XXX_DiscardUnknown()
func (*GlobalVirtualGroupsBindingOnBucket) XXX_Marshal ¶
func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GlobalVirtualGroupsBindingOnBucket) XXX_Merge ¶
func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Merge(src proto.Message)
func (*GlobalVirtualGroupsBindingOnBucket) XXX_Size ¶
func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Size() int
func (*GlobalVirtualGroupsBindingOnBucket) XXX_Unmarshal ¶
func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Unmarshal(b []byte) error
type MockAccountKeeper ¶
type MockAccountKeeper struct {
// contains filtered or unexported fields
}
MockAccountKeeper is a mock of AccountKeeper interface.
func NewMockAccountKeeper ¶
func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper
NewMockAccountKeeper creates a new mock instance.
func (*MockAccountKeeper) EXPECT ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountKeeper) GetAccount ¶
func (m *MockAccountKeeper) GetAccount(ctx types0.Context, addr types0.AccAddress) types1.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetModuleAccount ¶
func (m *MockAccountKeeper) GetModuleAccount(ctx types0.Context, moduleName string) types1.ModuleAccountI
GetModuleAccount mocks base method.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(name string) types0.AccAddress
GetModuleAddress mocks base method.
func (*MockAccountKeeper) IterateAccounts ¶
IterateAccounts mocks base method.
func (*MockAccountKeeper) SetModuleAccount ¶
func (m *MockAccountKeeper) SetModuleAccount(arg0 types0.Context, arg1 types1.ModuleAccountI)
SetModuleAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) GetAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName interface{}) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call
GetModuleAddress indicates an expected call of GetModuleAddress.
func (*MockAccountKeeperMockRecorder) IterateAccounts ¶
func (mr *MockAccountKeeperMockRecorder) IterateAccounts(ctx, process interface{}) *gomock.Call
IterateAccounts indicates an expected call of IterateAccounts.
func (*MockAccountKeeperMockRecorder) SetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(arg0, arg1 interface{}) *gomock.Call
SetModuleAccount indicates an expected call of SetModuleAccount.
type MockBankKeeper ¶
type MockBankKeeper struct {
// contains filtered or unexported fields
}
MockBankKeeper is a mock of BankKeeper interface.
func NewMockBankKeeper ¶
func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper
NewMockBankKeeper creates a new mock instance.
func (*MockBankKeeper) EXPECT ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) GetAllBalances ¶
func (m *MockBankKeeper) GetAllBalances(ctx types0.Context, addr types0.AccAddress) types0.Coins
GetAllBalances mocks base method.
func (*MockBankKeeper) GetBalance ¶
func (m *MockBankKeeper) GetBalance(ctx types0.Context, addr types0.AccAddress, denom string) types0.Coin
GetBalance mocks base method.
func (*MockBankKeeper) LockedCoins ¶
func (m *MockBankKeeper) LockedCoins(ctx types0.Context, addr types0.AccAddress) types0.Coins
LockedCoins mocks base method.
func (*MockBankKeeper) SendCoins ¶
func (m *MockBankKeeper) SendCoins(ctx types0.Context, fromAddr, toAddr types0.AccAddress, amt types0.Coins) error
SendCoins mocks base method.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types0.Context, senderAddr types0.AccAddress, recipientModule string, amt types0.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types0.Context, senderModule string, recipientAddr types0.AccAddress, amt types0.Coins) error
SendCoinsFromModuleToAccount mocks base method.
func (*MockBankKeeper) SpendableCoins ¶
func (m *MockBankKeeper) SpendableCoins(ctx types0.Context, addr types0.AccAddress) types0.Coins
SpendableCoins mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) GetBalance ¶
func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockBankKeeperMockRecorder) LockedCoins ¶
func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call
LockedCoins indicates an expected call of LockedCoins.
func (*MockBankKeeperMockRecorder) SendCoins ¶
func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
SendCoins indicates an expected call of SendCoins.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.
func (*MockBankKeeperMockRecorder) SpendableCoins ¶
func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
SpendableCoins indicates an expected call of SpendableCoins.
type MockPaymentKeeper ¶
type MockPaymentKeeper struct {
// contains filtered or unexported fields
}
MockPaymentKeeper is a mock of PaymentKeeper interface.
func NewMockPaymentKeeper ¶
func NewMockPaymentKeeper(ctrl *gomock.Controller) *MockPaymentKeeper
NewMockPaymentKeeper creates a new mock instance.
func (*MockPaymentKeeper) EXPECT ¶
func (m *MockPaymentKeeper) EXPECT() *MockPaymentKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPaymentKeeper) IsEmptyNetFlow ¶
func (m *MockPaymentKeeper) IsEmptyNetFlow(ctx types0.Context, account types0.AccAddress) bool
IsEmptyNetFlow mocks base method.
func (*MockPaymentKeeper) QueryDynamicBalance ¶
func (m *MockPaymentKeeper) QueryDynamicBalance(ctx types0.Context, addr types0.AccAddress) (math.Int, error)
QueryDynamicBalance mocks base method.
func (*MockPaymentKeeper) Withdraw ¶
func (m *MockPaymentKeeper) Withdraw(ctx types0.Context, fromAddr, toAddr types0.AccAddress, amount math.Int) error
Withdraw mocks base method.
type MockPaymentKeeperMockRecorder ¶
type MockPaymentKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockPaymentKeeperMockRecorder is the mock recorder for MockPaymentKeeper.
func (*MockPaymentKeeperMockRecorder) IsEmptyNetFlow ¶
func (mr *MockPaymentKeeperMockRecorder) IsEmptyNetFlow(ctx, account interface{}) *gomock.Call
IsEmptyNetFlow indicates an expected call of IsEmptyNetFlow.
func (*MockPaymentKeeperMockRecorder) QueryDynamicBalance ¶
func (mr *MockPaymentKeeperMockRecorder) QueryDynamicBalance(ctx, addr interface{}) *gomock.Call
QueryDynamicBalance indicates an expected call of QueryDynamicBalance.
func (*MockPaymentKeeperMockRecorder) Withdraw ¶
func (mr *MockPaymentKeeperMockRecorder) Withdraw(ctx, fromAddr, toAddr, amount interface{}) *gomock.Call
Withdraw indicates an expected call of Withdraw.
type MockSpKeeper ¶
type MockSpKeeper struct {
// contains filtered or unexported fields
}
MockSpKeeper is a mock of SpKeeper interface.
func NewMockSpKeeper ¶
func NewMockSpKeeper(ctrl *gomock.Controller) *MockSpKeeper
NewMockSpKeeper creates a new mock instance.
func (*MockSpKeeper) DepositDenomForSP ¶
func (m *MockSpKeeper) DepositDenomForSP(ctx types0.Context) string
DepositDenomForSP mocks base method.
func (*MockSpKeeper) EXPECT ¶
func (m *MockSpKeeper) EXPECT() *MockSpKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSpKeeper) Exit ¶
func (m *MockSpKeeper) Exit(ctx types0.Context, sp *types.StorageProvider) error
Exit mocks base method.
func (*MockSpKeeper) GetAllStorageProviders ¶ added in v1.3.0
func (m *MockSpKeeper) GetAllStorageProviders(ctx types0.Context) []types.StorageProvider
GetAllStorageProviders mocks base method.
func (*MockSpKeeper) GetStorageProvider ¶
func (m *MockSpKeeper) GetStorageProvider(ctx types0.Context, id uint32) (*types.StorageProvider, bool)
GetStorageProvider mocks base method.
func (*MockSpKeeper) GetStorageProviderByFundingAddr ¶
func (m *MockSpKeeper) GetStorageProviderByFundingAddr(ctx types0.Context, sealAddr types0.AccAddress) (*types.StorageProvider, bool)
GetStorageProviderByFundingAddr mocks base method.
func (*MockSpKeeper) GetStorageProviderByOperatorAddr ¶
func (m *MockSpKeeper) GetStorageProviderByOperatorAddr(ctx types0.Context, addr types0.AccAddress) (*types.StorageProvider, bool)
GetStorageProviderByOperatorAddr mocks base method.
func (*MockSpKeeper) SetStorageProvider ¶
func (m *MockSpKeeper) SetStorageProvider(ctx types0.Context, sp *types.StorageProvider)
SetStorageProvider mocks base method.
type MockSpKeeperMockRecorder ¶
type MockSpKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockSpKeeperMockRecorder is the mock recorder for MockSpKeeper.
func (*MockSpKeeperMockRecorder) DepositDenomForSP ¶
func (mr *MockSpKeeperMockRecorder) DepositDenomForSP(ctx interface{}) *gomock.Call
DepositDenomForSP indicates an expected call of DepositDenomForSP.
func (*MockSpKeeperMockRecorder) Exit ¶
func (mr *MockSpKeeperMockRecorder) Exit(ctx, sp interface{}) *gomock.Call
Exit indicates an expected call of Exit.
func (*MockSpKeeperMockRecorder) GetAllStorageProviders ¶ added in v1.3.0
func (mr *MockSpKeeperMockRecorder) GetAllStorageProviders(ctx interface{}) *gomock.Call
GetAllStorageProviders indicates an expected call of GetAllStorageProviders.
func (*MockSpKeeperMockRecorder) GetStorageProvider ¶
func (mr *MockSpKeeperMockRecorder) GetStorageProvider(ctx, id interface{}) *gomock.Call
GetStorageProvider indicates an expected call of GetStorageProvider.
func (*MockSpKeeperMockRecorder) GetStorageProviderByFundingAddr ¶
func (mr *MockSpKeeperMockRecorder) GetStorageProviderByFundingAddr(ctx, sealAddr interface{}) *gomock.Call
GetStorageProviderByFundingAddr indicates an expected call of GetStorageProviderByFundingAddr.
func (*MockSpKeeperMockRecorder) GetStorageProviderByOperatorAddr ¶
func (mr *MockSpKeeperMockRecorder) GetStorageProviderByOperatorAddr(ctx, addr interface{}) *gomock.Call
GetStorageProviderByOperatorAddr indicates an expected call of GetStorageProviderByOperatorAddr.
func (*MockSpKeeperMockRecorder) SetStorageProvider ¶
func (mr *MockSpKeeperMockRecorder) SetStorageProvider(ctx, sp interface{}) *gomock.Call
SetStorageProvider indicates an expected call of SetStorageProvider.
type MockStorageKeeper ¶ added in v1.1.0
type MockStorageKeeper struct {
// contains filtered or unexported fields
}
MockStorageKeeper is a mock of StorageKeeper interface.
func NewMockStorageKeeper ¶ added in v1.1.0
func NewMockStorageKeeper(ctrl *gomock.Controller) *MockStorageKeeper
NewMockStorageKeeper creates a new mock instance.
func (*MockStorageKeeper) EXPECT ¶ added in v1.1.0
func (m *MockStorageKeeper) EXPECT() *MockStorageKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageKeeper) GetExpectSecondarySPNumForECObject ¶ added in v1.1.0
func (m *MockStorageKeeper) GetExpectSecondarySPNumForECObject(ctx types0.Context, time int64) uint32
GetExpectSecondarySPNumForECObject mocks base method.
type MockStorageKeeperMockRecorder ¶ added in v1.1.0
type MockStorageKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageKeeperMockRecorder is the mock recorder for MockStorageKeeper.
func (*MockStorageKeeperMockRecorder) GetExpectSecondarySPNumForECObject ¶ added in v1.1.0
func (mr *MockStorageKeeperMockRecorder) GetExpectSecondarySPNumForECObject(ctx, time interface{}) *gomock.Call
GetExpectSecondarySPNumForECObject indicates an expected call of GetExpectSecondarySPNumForECObject.
type MsgCancelSwapIn ¶ added in v1.3.0
type MsgCancelSwapIn struct { // storage_provider defines the operator account address of the storage provider who want to swap into the virtual group family or global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // virtual_group_family_id is the identifier of the virtual group family. // if it set to non-zero, it represents that the operator swap in as the primary storage provider // it it set to zero, it represents that the operator swap in as the secondary storage provider. GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // global_virtual_group_id is a global virtual group IDs associated with the swap in. // It allows to be empty only when the operator wants to be the successor primary storage provider in a family. GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ }
func NewMsgCancelSwapIn ¶ added in v1.3.0
func NewMsgCancelSwapIn(storageProvider sdk.AccAddress, globalVirtualGroupFamilyID, globalVirtualGroupID uint32) *MsgCancelSwapIn
func (*MsgCancelSwapIn) Descriptor ¶ added in v1.3.0
func (*MsgCancelSwapIn) Descriptor() ([]byte, []int)
func (*MsgCancelSwapIn) GetGlobalVirtualGroupFamilyId ¶ added in v1.3.0
func (m *MsgCancelSwapIn) GetGlobalVirtualGroupFamilyId() uint32
func (*MsgCancelSwapIn) GetGlobalVirtualGroupId ¶ added in v1.3.0
func (m *MsgCancelSwapIn) GetGlobalVirtualGroupId() uint32
func (*MsgCancelSwapIn) GetSigners ¶ added in v1.3.0
func (msg *MsgCancelSwapIn) GetSigners() []sdk.AccAddress
func (*MsgCancelSwapIn) GetStorageProvider ¶ added in v1.3.0
func (m *MsgCancelSwapIn) GetStorageProvider() string
func (*MsgCancelSwapIn) Marshal ¶ added in v1.3.0
func (m *MsgCancelSwapIn) Marshal() (dAtA []byte, err error)
func (*MsgCancelSwapIn) MarshalTo ¶ added in v1.3.0
func (m *MsgCancelSwapIn) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelSwapIn) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgCancelSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelSwapIn) ProtoMessage ¶ added in v1.3.0
func (*MsgCancelSwapIn) ProtoMessage()
func (*MsgCancelSwapIn) Reset ¶ added in v1.3.0
func (m *MsgCancelSwapIn) Reset()
func (*MsgCancelSwapIn) Route ¶ added in v1.3.0
func (msg *MsgCancelSwapIn) Route() string
func (*MsgCancelSwapIn) Size ¶ added in v1.3.0
func (m *MsgCancelSwapIn) Size() (n int)
func (*MsgCancelSwapIn) String ¶ added in v1.3.0
func (m *MsgCancelSwapIn) String() string
func (*MsgCancelSwapIn) Type ¶ added in v1.3.0
func (msg *MsgCancelSwapIn) Type() string
func (*MsgCancelSwapIn) Unmarshal ¶ added in v1.3.0
func (m *MsgCancelSwapIn) Unmarshal(dAtA []byte) error
func (*MsgCancelSwapIn) ValidateBasic ¶ added in v1.3.0
func (msg *MsgCancelSwapIn) ValidateBasic() error
func (*MsgCancelSwapIn) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgCancelSwapIn) XXX_DiscardUnknown()
func (*MsgCancelSwapIn) XXX_Marshal ¶ added in v1.3.0
func (m *MsgCancelSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelSwapIn) XXX_Merge ¶ added in v1.3.0
func (m *MsgCancelSwapIn) XXX_Merge(src proto.Message)
func (*MsgCancelSwapIn) XXX_Size ¶ added in v1.3.0
func (m *MsgCancelSwapIn) XXX_Size() int
func (*MsgCancelSwapIn) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgCancelSwapIn) XXX_Unmarshal(b []byte) error
type MsgCancelSwapInResponse ¶ added in v1.3.0
type MsgCancelSwapInResponse struct { }
func (*MsgCancelSwapInResponse) Descriptor ¶ added in v1.3.0
func (*MsgCancelSwapInResponse) Descriptor() ([]byte, []int)
func (*MsgCancelSwapInResponse) Marshal ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelSwapInResponse) MarshalTo ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelSwapInResponse) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelSwapInResponse) ProtoMessage ¶ added in v1.3.0
func (*MsgCancelSwapInResponse) ProtoMessage()
func (*MsgCancelSwapInResponse) Reset ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) Reset()
func (*MsgCancelSwapInResponse) Size ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) Size() (n int)
func (*MsgCancelSwapInResponse) String ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) String() string
func (*MsgCancelSwapInResponse) Unmarshal ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelSwapInResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) XXX_DiscardUnknown()
func (*MsgCancelSwapInResponse) XXX_Marshal ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelSwapInResponse) XXX_Merge ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) XXX_Merge(src proto.Message)
func (*MsgCancelSwapInResponse) XXX_Size ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) XXX_Size() int
func (*MsgCancelSwapInResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgCancelSwapInResponse) XXX_Unmarshal(b []byte) error
type MsgCancelSwapOut ¶
type MsgCancelSwapOut struct { // storage_provider defines the operator account address of the storage provider who cancel the swap out task. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // virtual_group_family_id is the identifier of the virtual group family. // if it set to non-zero, it represents that the operator swap out as the primary storage provider // it it set to zero, it represents that the operator swap out as the secondary storage provider. GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // global_virtual_group_ids is a list of global virtual group IDs associated with the swap out. // It allows to be empty only when the operator is the primary storage provider. GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ }
func NewMsgCancelSwapOut ¶
func NewMsgCancelSwapOut(storageProvider sdk.AccAddress, globalVirtualGroupFamilyID uint32, globalVirtualGroupIDs []uint32) *MsgCancelSwapOut
func (*MsgCancelSwapOut) Descriptor ¶
func (*MsgCancelSwapOut) Descriptor() ([]byte, []int)
func (*MsgCancelSwapOut) GetGlobalVirtualGroupFamilyId ¶
func (m *MsgCancelSwapOut) GetGlobalVirtualGroupFamilyId() uint32
func (*MsgCancelSwapOut) GetGlobalVirtualGroupIds ¶
func (m *MsgCancelSwapOut) GetGlobalVirtualGroupIds() []uint32
func (*MsgCancelSwapOut) GetSignBytes ¶
func (msg *MsgCancelSwapOut) GetSignBytes() []byte
func (*MsgCancelSwapOut) GetSigners ¶
func (msg *MsgCancelSwapOut) GetSigners() []sdk.AccAddress
func (*MsgCancelSwapOut) GetStorageProvider ¶
func (m *MsgCancelSwapOut) GetStorageProvider() string
func (*MsgCancelSwapOut) Marshal ¶
func (m *MsgCancelSwapOut) Marshal() (dAtA []byte, err error)
func (*MsgCancelSwapOut) MarshalToSizedBuffer ¶
func (m *MsgCancelSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelSwapOut) ProtoMessage ¶
func (*MsgCancelSwapOut) ProtoMessage()
func (*MsgCancelSwapOut) Reset ¶
func (m *MsgCancelSwapOut) Reset()
func (*MsgCancelSwapOut) Route ¶
func (msg *MsgCancelSwapOut) Route() string
func (*MsgCancelSwapOut) Size ¶
func (m *MsgCancelSwapOut) Size() (n int)
func (*MsgCancelSwapOut) String ¶
func (m *MsgCancelSwapOut) String() string
func (*MsgCancelSwapOut) Type ¶
func (msg *MsgCancelSwapOut) Type() string
func (*MsgCancelSwapOut) Unmarshal ¶
func (m *MsgCancelSwapOut) Unmarshal(dAtA []byte) error
func (*MsgCancelSwapOut) ValidateBasic ¶
func (msg *MsgCancelSwapOut) ValidateBasic() error
func (*MsgCancelSwapOut) XXX_DiscardUnknown ¶
func (m *MsgCancelSwapOut) XXX_DiscardUnknown()
func (*MsgCancelSwapOut) XXX_Marshal ¶
func (m *MsgCancelSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelSwapOut) XXX_Merge ¶
func (m *MsgCancelSwapOut) XXX_Merge(src proto.Message)
func (*MsgCancelSwapOut) XXX_Size ¶
func (m *MsgCancelSwapOut) XXX_Size() int
func (*MsgCancelSwapOut) XXX_Unmarshal ¶
func (m *MsgCancelSwapOut) XXX_Unmarshal(b []byte) error
type MsgCancelSwapOutResponse ¶
type MsgCancelSwapOutResponse struct { }
func (*MsgCancelSwapOutResponse) Descriptor ¶
func (*MsgCancelSwapOutResponse) Descriptor() ([]byte, []int)
func (*MsgCancelSwapOutResponse) Marshal ¶
func (m *MsgCancelSwapOutResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelSwapOutResponse) MarshalTo ¶
func (m *MsgCancelSwapOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelSwapOutResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelSwapOutResponse) ProtoMessage ¶
func (*MsgCancelSwapOutResponse) ProtoMessage()
func (*MsgCancelSwapOutResponse) Reset ¶
func (m *MsgCancelSwapOutResponse) Reset()
func (*MsgCancelSwapOutResponse) Size ¶
func (m *MsgCancelSwapOutResponse) Size() (n int)
func (*MsgCancelSwapOutResponse) String ¶
func (m *MsgCancelSwapOutResponse) String() string
func (*MsgCancelSwapOutResponse) Unmarshal ¶
func (m *MsgCancelSwapOutResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelSwapOutResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelSwapOutResponse) XXX_DiscardUnknown()
func (*MsgCancelSwapOutResponse) XXX_Marshal ¶
func (m *MsgCancelSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelSwapOutResponse) XXX_Merge ¶
func (m *MsgCancelSwapOutResponse) XXX_Merge(src proto.Message)
func (*MsgCancelSwapOutResponse) XXX_Size ¶
func (m *MsgCancelSwapOutResponse) XXX_Size() int
func (*MsgCancelSwapOutResponse) XXX_Unmarshal ¶
func (m *MsgCancelSwapOutResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateGlobalVirtualGroup(ctx context.Context, in *MsgCreateGlobalVirtualGroup, opts ...grpc.CallOption) (*MsgCreateGlobalVirtualGroupResponse, error) DeleteGlobalVirtualGroup(ctx context.Context, in *MsgDeleteGlobalVirtualGroup, opts ...grpc.CallOption) (*MsgDeleteGlobalVirtualGroupResponse, error) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) SwapOut(ctx context.Context, in *MsgSwapOut, opts ...grpc.CallOption) (*MsgSwapOutResponse, error) Settle(ctx context.Context, in *MsgSettle, opts ...grpc.CallOption) (*MsgSettleResponse, error) // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) StorageProviderExit(ctx context.Context, in *MsgStorageProviderExit, opts ...grpc.CallOption) (*MsgStorageProviderExitResponse, error) CompleteStorageProviderExit(ctx context.Context, in *MsgCompleteStorageProviderExit, opts ...grpc.CallOption) (*MsgCompleteStorageProviderExitResponse, error) CompleteSwapOut(ctx context.Context, in *MsgCompleteSwapOut, opts ...grpc.CallOption) (*MsgCompleteSwapOutResponse, error) CancelSwapOut(ctx context.Context, in *MsgCancelSwapOut, opts ...grpc.CallOption) (*MsgCancelSwapOutResponse, error) ReserveSwapIn(ctx context.Context, in *MsgReserveSwapIn, opts ...grpc.CallOption) (*MsgReserveSwapInResponse, error) CancelSwapIn(ctx context.Context, in *MsgCancelSwapIn, opts ...grpc.CallOption) (*MsgCancelSwapInResponse, error) CompleteSwapIn(ctx context.Context, in *MsgCompleteSwapIn, opts ...grpc.CallOption) (*MsgCompleteSwapInResponse, error) // StorageProviderForcedExit defines a governance operation for a SP to be forced to exit // The authority is defined in the keeper. StorageProviderForcedExit(ctx context.Context, in *MsgStorageProviderForcedExit, opts ...grpc.CallOption) (*MsgStorageProviderForcedExitResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCompleteStorageProviderExit ¶
type MsgCompleteStorageProviderExit struct { // storage_provider defines the operator account address of the storage provider who will exit StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // operator defines the operator account address who initials this transaction. Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` }
func NewMsgCompleteStorageProviderExit ¶
func NewMsgCompleteStorageProviderExit(operator, storageProvider sdk.AccAddress) *MsgCompleteStorageProviderExit
func (*MsgCompleteStorageProviderExit) Descriptor ¶
func (*MsgCompleteStorageProviderExit) Descriptor() ([]byte, []int)
func (*MsgCompleteStorageProviderExit) GetOperator ¶ added in v1.3.0
func (m *MsgCompleteStorageProviderExit) GetOperator() string
func (*MsgCompleteStorageProviderExit) GetSignBytes ¶
func (msg *MsgCompleteStorageProviderExit) GetSignBytes() []byte
func (*MsgCompleteStorageProviderExit) GetSigners ¶
func (msg *MsgCompleteStorageProviderExit) GetSigners() []sdk.AccAddress
func (*MsgCompleteStorageProviderExit) GetStorageProvider ¶
func (m *MsgCompleteStorageProviderExit) GetStorageProvider() string
func (*MsgCompleteStorageProviderExit) Marshal ¶
func (m *MsgCompleteStorageProviderExit) Marshal() (dAtA []byte, err error)
func (*MsgCompleteStorageProviderExit) MarshalTo ¶
func (m *MsgCompleteStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteStorageProviderExit) MarshalToSizedBuffer ¶
func (m *MsgCompleteStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteStorageProviderExit) ProtoMessage ¶
func (*MsgCompleteStorageProviderExit) ProtoMessage()
func (*MsgCompleteStorageProviderExit) Reset ¶
func (m *MsgCompleteStorageProviderExit) Reset()
func (*MsgCompleteStorageProviderExit) Route ¶
func (msg *MsgCompleteStorageProviderExit) Route() string
func (*MsgCompleteStorageProviderExit) Size ¶
func (m *MsgCompleteStorageProviderExit) Size() (n int)
func (*MsgCompleteStorageProviderExit) String ¶
func (m *MsgCompleteStorageProviderExit) String() string
func (*MsgCompleteStorageProviderExit) Type ¶
func (msg *MsgCompleteStorageProviderExit) Type() string
func (*MsgCompleteStorageProviderExit) Unmarshal ¶
func (m *MsgCompleteStorageProviderExit) Unmarshal(dAtA []byte) error
func (*MsgCompleteStorageProviderExit) ValidateBasic ¶
func (msg *MsgCompleteStorageProviderExit) ValidateBasic() error
func (*MsgCompleteStorageProviderExit) ValidateRuntime ¶ added in v1.3.0
func (msg *MsgCompleteStorageProviderExit) ValidateRuntime(ctx sdk.Context) error
func (*MsgCompleteStorageProviderExit) XXX_DiscardUnknown ¶
func (m *MsgCompleteStorageProviderExit) XXX_DiscardUnknown()
func (*MsgCompleteStorageProviderExit) XXX_Marshal ¶
func (m *MsgCompleteStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteStorageProviderExit) XXX_Merge ¶
func (m *MsgCompleteStorageProviderExit) XXX_Merge(src proto.Message)
func (*MsgCompleteStorageProviderExit) XXX_Size ¶
func (m *MsgCompleteStorageProviderExit) XXX_Size() int
func (*MsgCompleteStorageProviderExit) XXX_Unmarshal ¶
func (m *MsgCompleteStorageProviderExit) XXX_Unmarshal(b []byte) error
type MsgCompleteStorageProviderExitResponse ¶
type MsgCompleteStorageProviderExitResponse struct { }
func (*MsgCompleteStorageProviderExitResponse) Descriptor ¶
func (*MsgCompleteStorageProviderExitResponse) Descriptor() ([]byte, []int)
func (*MsgCompleteStorageProviderExitResponse) Marshal ¶
func (m *MsgCompleteStorageProviderExitResponse) Marshal() (dAtA []byte, err error)
func (*MsgCompleteStorageProviderExitResponse) MarshalTo ¶
func (m *MsgCompleteStorageProviderExitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteStorageProviderExitResponse) MarshalToSizedBuffer ¶
func (m *MsgCompleteStorageProviderExitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteStorageProviderExitResponse) ProtoMessage ¶
func (*MsgCompleteStorageProviderExitResponse) ProtoMessage()
func (*MsgCompleteStorageProviderExitResponse) Reset ¶
func (m *MsgCompleteStorageProviderExitResponse) Reset()
func (*MsgCompleteStorageProviderExitResponse) Size ¶
func (m *MsgCompleteStorageProviderExitResponse) Size() (n int)
func (*MsgCompleteStorageProviderExitResponse) String ¶
func (m *MsgCompleteStorageProviderExitResponse) String() string
func (*MsgCompleteStorageProviderExitResponse) Unmarshal ¶
func (m *MsgCompleteStorageProviderExitResponse) Unmarshal(dAtA []byte) error
func (*MsgCompleteStorageProviderExitResponse) XXX_DiscardUnknown ¶
func (m *MsgCompleteStorageProviderExitResponse) XXX_DiscardUnknown()
func (*MsgCompleteStorageProviderExitResponse) XXX_Marshal ¶
func (m *MsgCompleteStorageProviderExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteStorageProviderExitResponse) XXX_Merge ¶
func (m *MsgCompleteStorageProviderExitResponse) XXX_Merge(src proto.Message)
func (*MsgCompleteStorageProviderExitResponse) XXX_Size ¶
func (m *MsgCompleteStorageProviderExitResponse) XXX_Size() int
func (*MsgCompleteStorageProviderExitResponse) XXX_Unmarshal ¶
func (m *MsgCompleteStorageProviderExitResponse) XXX_Unmarshal(b []byte) error
type MsgCompleteSwapIn ¶ added in v1.3.0
type MsgCompleteSwapIn struct { // storage_provider defines the operator account address of the storage provider who wants to swap into the virtual group family or global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // virtual_group_family_id is the identifier of the virtual group family. // if it set to non-zero, it represents that the operator swap in as the primary storage provider // it it set to zero, it represents that the operator swap in as the secondary storage provider. GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // global_virtual_group_id is a global virtual group ID associated with the swap in. // It allows to be empty only when the operator wants to be the successor primary storage provider in a family. GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ }
func NewMsgCompleteSwapIn ¶ added in v1.3.0
func NewMsgCompleteSwapIn(storageProvider sdk.AccAddress, globalVirtualGroupFamilyID, globalVirtualGroupID uint32) *MsgCompleteSwapIn
func (*MsgCompleteSwapIn) Descriptor ¶ added in v1.3.0
func (*MsgCompleteSwapIn) Descriptor() ([]byte, []int)
func (*MsgCompleteSwapIn) GetGlobalVirtualGroupFamilyId ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) GetGlobalVirtualGroupFamilyId() uint32
func (*MsgCompleteSwapIn) GetGlobalVirtualGroupId ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) GetGlobalVirtualGroupId() uint32
func (*MsgCompleteSwapIn) GetSignBytes ¶ added in v1.3.0
func (msg *MsgCompleteSwapIn) GetSignBytes() []byte
func (*MsgCompleteSwapIn) GetSigners ¶ added in v1.3.0
func (msg *MsgCompleteSwapIn) GetSigners() []sdk.AccAddress
func (*MsgCompleteSwapIn) GetStorageProvider ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) GetStorageProvider() string
func (*MsgCompleteSwapIn) Marshal ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) Marshal() (dAtA []byte, err error)
func (*MsgCompleteSwapIn) MarshalTo ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteSwapIn) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteSwapIn) ProtoMessage ¶ added in v1.3.0
func (*MsgCompleteSwapIn) ProtoMessage()
func (*MsgCompleteSwapIn) Reset ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) Reset()
func (*MsgCompleteSwapIn) Route ¶ added in v1.3.0
func (msg *MsgCompleteSwapIn) Route() string
func (*MsgCompleteSwapIn) Size ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) Size() (n int)
func (*MsgCompleteSwapIn) String ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) String() string
func (*MsgCompleteSwapIn) Type ¶ added in v1.3.0
func (msg *MsgCompleteSwapIn) Type() string
func (*MsgCompleteSwapIn) Unmarshal ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) Unmarshal(dAtA []byte) error
func (*MsgCompleteSwapIn) ValidateBasic ¶ added in v1.3.0
func (msg *MsgCompleteSwapIn) ValidateBasic() error
func (*MsgCompleteSwapIn) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) XXX_DiscardUnknown()
func (*MsgCompleteSwapIn) XXX_Marshal ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteSwapIn) XXX_Merge ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) XXX_Merge(src proto.Message)
func (*MsgCompleteSwapIn) XXX_Size ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) XXX_Size() int
func (*MsgCompleteSwapIn) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgCompleteSwapIn) XXX_Unmarshal(b []byte) error
type MsgCompleteSwapInResponse ¶ added in v1.3.0
type MsgCompleteSwapInResponse struct { }
func (*MsgCompleteSwapInResponse) Descriptor ¶ added in v1.3.0
func (*MsgCompleteSwapInResponse) Descriptor() ([]byte, []int)
func (*MsgCompleteSwapInResponse) Marshal ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) Marshal() (dAtA []byte, err error)
func (*MsgCompleteSwapInResponse) MarshalTo ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteSwapInResponse) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteSwapInResponse) ProtoMessage ¶ added in v1.3.0
func (*MsgCompleteSwapInResponse) ProtoMessage()
func (*MsgCompleteSwapInResponse) Reset ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) Reset()
func (*MsgCompleteSwapInResponse) Size ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) Size() (n int)
func (*MsgCompleteSwapInResponse) String ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) String() string
func (*MsgCompleteSwapInResponse) Unmarshal ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) Unmarshal(dAtA []byte) error
func (*MsgCompleteSwapInResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) XXX_DiscardUnknown()
func (*MsgCompleteSwapInResponse) XXX_Marshal ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteSwapInResponse) XXX_Merge ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) XXX_Merge(src proto.Message)
func (*MsgCompleteSwapInResponse) XXX_Size ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) XXX_Size() int
func (*MsgCompleteSwapInResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgCompleteSwapInResponse) XXX_Unmarshal(b []byte) error
type MsgCompleteSwapOut ¶
type MsgCompleteSwapOut struct { // storage_provider defines the operator account address of the storage provider who complete swap out task. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // virtual_group_family_id is the identifier of the virtual group family. // if it set to non-zero, it represents that the operator swap out as the primary storage provider // it it set to zero, it represents that the operator swap out as the secondary storage provider. GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // global_virtual_group_ids is a list of global virtual group IDs associated with the swap out. // It allows to be empty only when the operator is the primary storage provider. GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ }
func NewMsgCompleteSwapOut ¶
func NewMsgCompleteSwapOut(storageProvider sdk.AccAddress, globalVirtualGroupFamilyID uint32, globalVirtualGroupIDs []uint32) *MsgCompleteSwapOut
func (*MsgCompleteSwapOut) Descriptor ¶
func (*MsgCompleteSwapOut) Descriptor() ([]byte, []int)
func (*MsgCompleteSwapOut) GetGlobalVirtualGroupFamilyId ¶
func (m *MsgCompleteSwapOut) GetGlobalVirtualGroupFamilyId() uint32
func (*MsgCompleteSwapOut) GetGlobalVirtualGroupIds ¶
func (m *MsgCompleteSwapOut) GetGlobalVirtualGroupIds() []uint32
func (*MsgCompleteSwapOut) GetSignBytes ¶
func (msg *MsgCompleteSwapOut) GetSignBytes() []byte
func (*MsgCompleteSwapOut) GetSigners ¶
func (msg *MsgCompleteSwapOut) GetSigners() []sdk.AccAddress
func (*MsgCompleteSwapOut) GetStorageProvider ¶
func (m *MsgCompleteSwapOut) GetStorageProvider() string
func (*MsgCompleteSwapOut) Marshal ¶
func (m *MsgCompleteSwapOut) Marshal() (dAtA []byte, err error)
func (*MsgCompleteSwapOut) MarshalTo ¶
func (m *MsgCompleteSwapOut) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteSwapOut) MarshalToSizedBuffer ¶
func (m *MsgCompleteSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteSwapOut) ProtoMessage ¶
func (*MsgCompleteSwapOut) ProtoMessage()
func (*MsgCompleteSwapOut) Reset ¶
func (m *MsgCompleteSwapOut) Reset()
func (*MsgCompleteSwapOut) Route ¶
func (msg *MsgCompleteSwapOut) Route() string
func (*MsgCompleteSwapOut) Size ¶
func (m *MsgCompleteSwapOut) Size() (n int)
func (*MsgCompleteSwapOut) String ¶
func (m *MsgCompleteSwapOut) String() string
func (*MsgCompleteSwapOut) Type ¶
func (msg *MsgCompleteSwapOut) Type() string
func (*MsgCompleteSwapOut) Unmarshal ¶
func (m *MsgCompleteSwapOut) Unmarshal(dAtA []byte) error
func (*MsgCompleteSwapOut) ValidateBasic ¶
func (msg *MsgCompleteSwapOut) ValidateBasic() error
func (*MsgCompleteSwapOut) XXX_DiscardUnknown ¶
func (m *MsgCompleteSwapOut) XXX_DiscardUnknown()
func (*MsgCompleteSwapOut) XXX_Marshal ¶
func (m *MsgCompleteSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteSwapOut) XXX_Merge ¶
func (m *MsgCompleteSwapOut) XXX_Merge(src proto.Message)
func (*MsgCompleteSwapOut) XXX_Size ¶
func (m *MsgCompleteSwapOut) XXX_Size() int
func (*MsgCompleteSwapOut) XXX_Unmarshal ¶
func (m *MsgCompleteSwapOut) XXX_Unmarshal(b []byte) error
type MsgCompleteSwapOutResponse ¶
type MsgCompleteSwapOutResponse struct { }
func (*MsgCompleteSwapOutResponse) Descriptor ¶
func (*MsgCompleteSwapOutResponse) Descriptor() ([]byte, []int)
func (*MsgCompleteSwapOutResponse) Marshal ¶
func (m *MsgCompleteSwapOutResponse) Marshal() (dAtA []byte, err error)
func (*MsgCompleteSwapOutResponse) MarshalTo ¶
func (m *MsgCompleteSwapOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCompleteSwapOutResponse) MarshalToSizedBuffer ¶
func (m *MsgCompleteSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCompleteSwapOutResponse) ProtoMessage ¶
func (*MsgCompleteSwapOutResponse) ProtoMessage()
func (*MsgCompleteSwapOutResponse) Reset ¶
func (m *MsgCompleteSwapOutResponse) Reset()
func (*MsgCompleteSwapOutResponse) Size ¶
func (m *MsgCompleteSwapOutResponse) Size() (n int)
func (*MsgCompleteSwapOutResponse) String ¶
func (m *MsgCompleteSwapOutResponse) String() string
func (*MsgCompleteSwapOutResponse) Unmarshal ¶
func (m *MsgCompleteSwapOutResponse) Unmarshal(dAtA []byte) error
func (*MsgCompleteSwapOutResponse) XXX_DiscardUnknown ¶
func (m *MsgCompleteSwapOutResponse) XXX_DiscardUnknown()
func (*MsgCompleteSwapOutResponse) XXX_Marshal ¶
func (m *MsgCompleteSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCompleteSwapOutResponse) XXX_Merge ¶
func (m *MsgCompleteSwapOutResponse) XXX_Merge(src proto.Message)
func (*MsgCompleteSwapOutResponse) XXX_Size ¶
func (m *MsgCompleteSwapOutResponse) XXX_Size() int
func (*MsgCompleteSwapOutResponse) XXX_Unmarshal ¶
func (m *MsgCompleteSwapOutResponse) XXX_Unmarshal(b []byte) error
type MsgCreateGlobalVirtualGroup ¶
type MsgCreateGlobalVirtualGroup struct { // storage_provider defines the operator account address of the storage provider who create the global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // family_id is the identifier for the virtual group's family. FamilyId uint32 `protobuf:"varint,2,opt,name=family_id,json=familyId,proto3" json:"family_id,omitempty"` // secondary_sp_id is a list of secondary storage provider IDs associated with the virtual group. SecondarySpIds []uint32 `protobuf:"varint,3,rep,packed,name=secondary_sp_ids,json=secondarySpIds,proto3" json:"secondary_sp_ids,omitempty"` // total_deposit is the total deposit amount required for the virtual group. // The tokens needs deposited and the size of storage are correlated. Deposit types.Coin `protobuf:"bytes,4,opt,name=deposit,proto3" json:"deposit"` }
func NewMsgCreateGlobalVirtualGroup ¶
func NewMsgCreateGlobalVirtualGroup(primarySpAddress sdk.AccAddress, globalVirtualFamilyId uint32, secondarySpIds []uint32, deposit sdk.Coin) *MsgCreateGlobalVirtualGroup
func (*MsgCreateGlobalVirtualGroup) Descriptor ¶
func (*MsgCreateGlobalVirtualGroup) Descriptor() ([]byte, []int)
func (*MsgCreateGlobalVirtualGroup) GetDeposit ¶
func (m *MsgCreateGlobalVirtualGroup) GetDeposit() types.Coin
func (*MsgCreateGlobalVirtualGroup) GetFamilyId ¶
func (m *MsgCreateGlobalVirtualGroup) GetFamilyId() uint32
func (*MsgCreateGlobalVirtualGroup) GetSecondarySpIds ¶
func (m *MsgCreateGlobalVirtualGroup) GetSecondarySpIds() []uint32
func (*MsgCreateGlobalVirtualGroup) GetSignBytes ¶
func (msg *MsgCreateGlobalVirtualGroup) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgCreateGlobalVirtualGroup) GetSigners ¶
func (msg *MsgCreateGlobalVirtualGroup) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgCreateGlobalVirtualGroup) GetStorageProvider ¶
func (m *MsgCreateGlobalVirtualGroup) GetStorageProvider() string
func (*MsgCreateGlobalVirtualGroup) Marshal ¶
func (m *MsgCreateGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*MsgCreateGlobalVirtualGroup) MarshalTo ¶
func (m *MsgCreateGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGlobalVirtualGroup) MarshalToSizedBuffer ¶
func (m *MsgCreateGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGlobalVirtualGroup) ProtoMessage ¶
func (*MsgCreateGlobalVirtualGroup) ProtoMessage()
func (*MsgCreateGlobalVirtualGroup) Reset ¶
func (m *MsgCreateGlobalVirtualGroup) Reset()
func (*MsgCreateGlobalVirtualGroup) Route ¶
func (msg *MsgCreateGlobalVirtualGroup) Route() string
func (*MsgCreateGlobalVirtualGroup) Size ¶
func (m *MsgCreateGlobalVirtualGroup) Size() (n int)
func (*MsgCreateGlobalVirtualGroup) String ¶
func (m *MsgCreateGlobalVirtualGroup) String() string
func (*MsgCreateGlobalVirtualGroup) Type ¶
func (msg *MsgCreateGlobalVirtualGroup) Type() string
func (*MsgCreateGlobalVirtualGroup) Unmarshal ¶
func (m *MsgCreateGlobalVirtualGroup) Unmarshal(dAtA []byte) error
func (*MsgCreateGlobalVirtualGroup) ValidateBasic ¶
func (msg *MsgCreateGlobalVirtualGroup) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgCreateGlobalVirtualGroup) XXX_DiscardUnknown ¶
func (m *MsgCreateGlobalVirtualGroup) XXX_DiscardUnknown()
func (*MsgCreateGlobalVirtualGroup) XXX_Marshal ¶
func (m *MsgCreateGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGlobalVirtualGroup) XXX_Merge ¶
func (m *MsgCreateGlobalVirtualGroup) XXX_Merge(src proto.Message)
func (*MsgCreateGlobalVirtualGroup) XXX_Size ¶
func (m *MsgCreateGlobalVirtualGroup) XXX_Size() int
func (*MsgCreateGlobalVirtualGroup) XXX_Unmarshal ¶
func (m *MsgCreateGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
type MsgCreateGlobalVirtualGroupResponse ¶
type MsgCreateGlobalVirtualGroupResponse struct { }
func (*MsgCreateGlobalVirtualGroupResponse) Descriptor ¶
func (*MsgCreateGlobalVirtualGroupResponse) Descriptor() ([]byte, []int)
func (*MsgCreateGlobalVirtualGroupResponse) Marshal ¶
func (m *MsgCreateGlobalVirtualGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateGlobalVirtualGroupResponse) MarshalTo ¶
func (m *MsgCreateGlobalVirtualGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGlobalVirtualGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateGlobalVirtualGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGlobalVirtualGroupResponse) ProtoMessage ¶
func (*MsgCreateGlobalVirtualGroupResponse) ProtoMessage()
func (*MsgCreateGlobalVirtualGroupResponse) Reset ¶
func (m *MsgCreateGlobalVirtualGroupResponse) Reset()
func (*MsgCreateGlobalVirtualGroupResponse) Size ¶
func (m *MsgCreateGlobalVirtualGroupResponse) Size() (n int)
func (*MsgCreateGlobalVirtualGroupResponse) String ¶
func (m *MsgCreateGlobalVirtualGroupResponse) String() string
func (*MsgCreateGlobalVirtualGroupResponse) Unmarshal ¶
func (m *MsgCreateGlobalVirtualGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateGlobalVirtualGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateGlobalVirtualGroupResponse) XXX_DiscardUnknown()
func (*MsgCreateGlobalVirtualGroupResponse) XXX_Marshal ¶
func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGlobalVirtualGroupResponse) XXX_Merge ¶
func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Merge(src proto.Message)
func (*MsgCreateGlobalVirtualGroupResponse) XXX_Size ¶
func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Size() int
func (*MsgCreateGlobalVirtualGroupResponse) XXX_Unmarshal ¶
func (m *MsgCreateGlobalVirtualGroupResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteGlobalVirtualGroup ¶
type MsgDeleteGlobalVirtualGroup struct { // storage_provider defines the operator account address of the storage provider who delete the global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // global_virtual_group_id is the identifier of the global virtual group. GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ }
func NewMsgDeleteGlobalVirtualGroup ¶
func NewMsgDeleteGlobalVirtualGroup(primarySpAddress sdk.AccAddress, globalVirtualGroupID uint32) *MsgDeleteGlobalVirtualGroup
func (*MsgDeleteGlobalVirtualGroup) Descriptor ¶
func (*MsgDeleteGlobalVirtualGroup) Descriptor() ([]byte, []int)
func (*MsgDeleteGlobalVirtualGroup) GetGlobalVirtualGroupId ¶
func (m *MsgDeleteGlobalVirtualGroup) GetGlobalVirtualGroupId() uint32
func (*MsgDeleteGlobalVirtualGroup) GetSignBytes ¶
func (msg *MsgDeleteGlobalVirtualGroup) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgDeleteGlobalVirtualGroup) GetSigners ¶
func (msg *MsgDeleteGlobalVirtualGroup) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgDeleteGlobalVirtualGroup) GetStorageProvider ¶
func (m *MsgDeleteGlobalVirtualGroup) GetStorageProvider() string
func (*MsgDeleteGlobalVirtualGroup) Marshal ¶
func (m *MsgDeleteGlobalVirtualGroup) Marshal() (dAtA []byte, err error)
func (*MsgDeleteGlobalVirtualGroup) MarshalTo ¶
func (m *MsgDeleteGlobalVirtualGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteGlobalVirtualGroup) MarshalToSizedBuffer ¶
func (m *MsgDeleteGlobalVirtualGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteGlobalVirtualGroup) ProtoMessage ¶
func (*MsgDeleteGlobalVirtualGroup) ProtoMessage()
func (*MsgDeleteGlobalVirtualGroup) Reset ¶
func (m *MsgDeleteGlobalVirtualGroup) Reset()
func (*MsgDeleteGlobalVirtualGroup) Route ¶
func (msg *MsgDeleteGlobalVirtualGroup) Route() string
func (*MsgDeleteGlobalVirtualGroup) Size ¶
func (m *MsgDeleteGlobalVirtualGroup) Size() (n int)
func (*MsgDeleteGlobalVirtualGroup) String ¶
func (m *MsgDeleteGlobalVirtualGroup) String() string
func (*MsgDeleteGlobalVirtualGroup) Type ¶
func (msg *MsgDeleteGlobalVirtualGroup) Type() string
func (*MsgDeleteGlobalVirtualGroup) Unmarshal ¶
func (m *MsgDeleteGlobalVirtualGroup) Unmarshal(dAtA []byte) error
func (*MsgDeleteGlobalVirtualGroup) ValidateBasic ¶
func (msg *MsgDeleteGlobalVirtualGroup) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgDeleteGlobalVirtualGroup) XXX_DiscardUnknown ¶
func (m *MsgDeleteGlobalVirtualGroup) XXX_DiscardUnknown()
func (*MsgDeleteGlobalVirtualGroup) XXX_Marshal ¶
func (m *MsgDeleteGlobalVirtualGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteGlobalVirtualGroup) XXX_Merge ¶
func (m *MsgDeleteGlobalVirtualGroup) XXX_Merge(src proto.Message)
func (*MsgDeleteGlobalVirtualGroup) XXX_Size ¶
func (m *MsgDeleteGlobalVirtualGroup) XXX_Size() int
func (*MsgDeleteGlobalVirtualGroup) XXX_Unmarshal ¶
func (m *MsgDeleteGlobalVirtualGroup) XXX_Unmarshal(b []byte) error
type MsgDeleteGlobalVirtualGroupResponse ¶
type MsgDeleteGlobalVirtualGroupResponse struct { }
func (*MsgDeleteGlobalVirtualGroupResponse) Descriptor ¶
func (*MsgDeleteGlobalVirtualGroupResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteGlobalVirtualGroupResponse) Marshal ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteGlobalVirtualGroupResponse) MarshalTo ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteGlobalVirtualGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteGlobalVirtualGroupResponse) ProtoMessage ¶
func (*MsgDeleteGlobalVirtualGroupResponse) ProtoMessage()
func (*MsgDeleteGlobalVirtualGroupResponse) Reset ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) Reset()
func (*MsgDeleteGlobalVirtualGroupResponse) Size ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) Size() (n int)
func (*MsgDeleteGlobalVirtualGroupResponse) String ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) String() string
func (*MsgDeleteGlobalVirtualGroupResponse) Unmarshal ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteGlobalVirtualGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_DiscardUnknown()
func (*MsgDeleteGlobalVirtualGroupResponse) XXX_Marshal ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteGlobalVirtualGroupResponse) XXX_Merge ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteGlobalVirtualGroupResponse) XXX_Size ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Size() int
func (*MsgDeleteGlobalVirtualGroupResponse) XXX_Unmarshal ¶
func (m *MsgDeleteGlobalVirtualGroupResponse) XXX_Unmarshal(b []byte) error
type MsgDeposit ¶
type MsgDeposit struct { // storage_provider defines the operator/funding account address of the storage provider who deposit to the global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // global_virtual_group_id is the identifier of the global virtual group. GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ // deposit is the amount of tokens being deposited for the global virtual group. Deposit types.Coin `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit"` }
func NewMsgDeposit ¶
func NewMsgDeposit(fundingAddress sdk.AccAddress, globalVirtualGroupID uint32, deposit sdk.Coin) *MsgDeposit
func (*MsgDeposit) Descriptor ¶
func (*MsgDeposit) Descriptor() ([]byte, []int)
func (*MsgDeposit) GetDeposit ¶
func (m *MsgDeposit) GetDeposit() types.Coin
func (*MsgDeposit) GetGlobalVirtualGroupId ¶
func (m *MsgDeposit) GetGlobalVirtualGroupId() uint32
func (*MsgDeposit) GetSignBytes ¶
func (msg *MsgDeposit) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgDeposit) GetSigners ¶
func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgDeposit) GetStorageProvider ¶
func (m *MsgDeposit) GetStorageProvider() string
func (*MsgDeposit) Marshal ¶
func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
func (*MsgDeposit) MarshalToSizedBuffer ¶
func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeposit) ProtoMessage ¶
func (*MsgDeposit) ProtoMessage()
func (*MsgDeposit) Reset ¶
func (m *MsgDeposit) Reset()
func (*MsgDeposit) Route ¶
func (msg *MsgDeposit) Route() string
func (*MsgDeposit) Size ¶
func (m *MsgDeposit) Size() (n int)
func (*MsgDeposit) String ¶
func (m *MsgDeposit) String() string
func (*MsgDeposit) Type ¶
func (msg *MsgDeposit) Type() string
func (*MsgDeposit) Unmarshal ¶
func (m *MsgDeposit) Unmarshal(dAtA []byte) error
func (*MsgDeposit) ValidateBasic ¶
func (msg *MsgDeposit) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgDeposit) XXX_DiscardUnknown ¶
func (m *MsgDeposit) XXX_DiscardUnknown()
func (*MsgDeposit) XXX_Marshal ¶
func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeposit) XXX_Merge ¶
func (m *MsgDeposit) XXX_Merge(src proto.Message)
func (*MsgDeposit) XXX_Size ¶
func (m *MsgDeposit) XXX_Size() int
func (*MsgDeposit) XXX_Unmarshal ¶
func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
type MsgDepositResponse ¶
type MsgDepositResponse struct { }
func (*MsgDepositResponse) Descriptor ¶
func (*MsgDepositResponse) Descriptor() ([]byte, []int)
func (*MsgDepositResponse) Marshal ¶
func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositResponse) MarshalTo ¶
func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositResponse) ProtoMessage ¶
func (*MsgDepositResponse) ProtoMessage()
func (*MsgDepositResponse) Reset ¶
func (m *MsgDepositResponse) Reset()
func (*MsgDepositResponse) Size ¶
func (m *MsgDepositResponse) Size() (n int)
func (*MsgDepositResponse) String ¶
func (m *MsgDepositResponse) String() string
func (*MsgDepositResponse) Unmarshal ¶
func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositResponse) XXX_DiscardUnknown()
func (*MsgDepositResponse) XXX_Marshal ¶
func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositResponse) XXX_Merge ¶
func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
func (*MsgDepositResponse) XXX_Size ¶
func (m *MsgDepositResponse) XXX_Size() int
func (*MsgDepositResponse) XXX_Unmarshal ¶
func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
type MsgReserveSwapIn ¶ added in v1.3.0
type MsgReserveSwapIn struct { // storage_provider defines the operator account address of the storage provider who want to swap into the virtual group family or global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // target_sp_id defines the storage provider id to be replaced by the successor sp. TargetSpId uint32 `protobuf:"varint,2,opt,name=target_sp_id,json=targetSpId,proto3" json:"target_sp_id,omitempty"` // virtual_group_family_id is the identifier of the virtual group family. // if it set to non-zero, it represents that the operator swap in as the primary storage provider // it it set to zero, it represents that the operator swap in as the secondary storage provider. GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // global_virtual_group_id is a global virtual group ID associated with the swap in. // It allows to be empty only when the operator wants to be the successor primary storage provider in a family. GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ }
func NewMsgReserveSwapIn ¶ added in v1.3.0
func NewMsgReserveSwapIn(storageProvider sdk.AccAddress, targetSPId, globalVirtualGroupFamilyID, globalVirtualGroupID uint32) *MsgReserveSwapIn
func (*MsgReserveSwapIn) Descriptor ¶ added in v1.3.0
func (*MsgReserveSwapIn) Descriptor() ([]byte, []int)
func (*MsgReserveSwapIn) GetGlobalVirtualGroupFamilyId ¶ added in v1.3.0
func (m *MsgReserveSwapIn) GetGlobalVirtualGroupFamilyId() uint32
func (*MsgReserveSwapIn) GetGlobalVirtualGroupId ¶ added in v1.3.0
func (m *MsgReserveSwapIn) GetGlobalVirtualGroupId() uint32
func (*MsgReserveSwapIn) GetSignBytes ¶ added in v1.3.0
func (msg *MsgReserveSwapIn) GetSignBytes() []byte
func (*MsgReserveSwapIn) GetSigners ¶ added in v1.3.0
func (msg *MsgReserveSwapIn) GetSigners() []sdk.AccAddress
func (*MsgReserveSwapIn) GetStorageProvider ¶ added in v1.3.0
func (m *MsgReserveSwapIn) GetStorageProvider() string
func (*MsgReserveSwapIn) GetTargetSpId ¶ added in v1.3.0
func (m *MsgReserveSwapIn) GetTargetSpId() uint32
func (*MsgReserveSwapIn) Marshal ¶ added in v1.3.0
func (m *MsgReserveSwapIn) Marshal() (dAtA []byte, err error)
func (*MsgReserveSwapIn) MarshalTo ¶ added in v1.3.0
func (m *MsgReserveSwapIn) MarshalTo(dAtA []byte) (int, error)
func (*MsgReserveSwapIn) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgReserveSwapIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReserveSwapIn) ProtoMessage ¶ added in v1.3.0
func (*MsgReserveSwapIn) ProtoMessage()
func (*MsgReserveSwapIn) Reset ¶ added in v1.3.0
func (m *MsgReserveSwapIn) Reset()
func (*MsgReserveSwapIn) Route ¶ added in v1.3.0
func (msg *MsgReserveSwapIn) Route() string
func (*MsgReserveSwapIn) Size ¶ added in v1.3.0
func (m *MsgReserveSwapIn) Size() (n int)
func (*MsgReserveSwapIn) String ¶ added in v1.3.0
func (m *MsgReserveSwapIn) String() string
func (*MsgReserveSwapIn) Type ¶ added in v1.3.0
func (msg *MsgReserveSwapIn) Type() string
func (*MsgReserveSwapIn) Unmarshal ¶ added in v1.3.0
func (m *MsgReserveSwapIn) Unmarshal(dAtA []byte) error
func (*MsgReserveSwapIn) ValidateBasic ¶ added in v1.3.0
func (msg *MsgReserveSwapIn) ValidateBasic() error
func (*MsgReserveSwapIn) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgReserveSwapIn) XXX_DiscardUnknown()
func (*MsgReserveSwapIn) XXX_Marshal ¶ added in v1.3.0
func (m *MsgReserveSwapIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReserveSwapIn) XXX_Merge ¶ added in v1.3.0
func (m *MsgReserveSwapIn) XXX_Merge(src proto.Message)
func (*MsgReserveSwapIn) XXX_Size ¶ added in v1.3.0
func (m *MsgReserveSwapIn) XXX_Size() int
func (*MsgReserveSwapIn) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgReserveSwapIn) XXX_Unmarshal(b []byte) error
type MsgReserveSwapInResponse ¶ added in v1.3.0
type MsgReserveSwapInResponse struct { }
func (*MsgReserveSwapInResponse) Descriptor ¶ added in v1.3.0
func (*MsgReserveSwapInResponse) Descriptor() ([]byte, []int)
func (*MsgReserveSwapInResponse) Marshal ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) Marshal() (dAtA []byte, err error)
func (*MsgReserveSwapInResponse) MarshalTo ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgReserveSwapInResponse) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReserveSwapInResponse) ProtoMessage ¶ added in v1.3.0
func (*MsgReserveSwapInResponse) ProtoMessage()
func (*MsgReserveSwapInResponse) Reset ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) Reset()
func (*MsgReserveSwapInResponse) Size ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) Size() (n int)
func (*MsgReserveSwapInResponse) String ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) String() string
func (*MsgReserveSwapInResponse) Unmarshal ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) Unmarshal(dAtA []byte) error
func (*MsgReserveSwapInResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) XXX_DiscardUnknown()
func (*MsgReserveSwapInResponse) XXX_Marshal ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReserveSwapInResponse) XXX_Merge ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) XXX_Merge(src proto.Message)
func (*MsgReserveSwapInResponse) XXX_Size ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) XXX_Size() int
func (*MsgReserveSwapInResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgReserveSwapInResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateGlobalVirtualGroup(context.Context, *MsgCreateGlobalVirtualGroup) (*MsgCreateGlobalVirtualGroupResponse, error) DeleteGlobalVirtualGroup(context.Context, *MsgDeleteGlobalVirtualGroup) (*MsgDeleteGlobalVirtualGroupResponse, error) Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error) SwapOut(context.Context, *MsgSwapOut) (*MsgSwapOutResponse, error) Settle(context.Context, *MsgSettle) (*MsgSettleResponse, error) // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) StorageProviderExit(context.Context, *MsgStorageProviderExit) (*MsgStorageProviderExitResponse, error) CompleteStorageProviderExit(context.Context, *MsgCompleteStorageProviderExit) (*MsgCompleteStorageProviderExitResponse, error) CompleteSwapOut(context.Context, *MsgCompleteSwapOut) (*MsgCompleteSwapOutResponse, error) CancelSwapOut(context.Context, *MsgCancelSwapOut) (*MsgCancelSwapOutResponse, error) ReserveSwapIn(context.Context, *MsgReserveSwapIn) (*MsgReserveSwapInResponse, error) CancelSwapIn(context.Context, *MsgCancelSwapIn) (*MsgCancelSwapInResponse, error) CompleteSwapIn(context.Context, *MsgCompleteSwapIn) (*MsgCompleteSwapInResponse, error) // StorageProviderForcedExit defines a governance operation for a SP to be forced to exit // The authority is defined in the keeper. StorageProviderForcedExit(context.Context, *MsgStorageProviderForcedExit) (*MsgStorageProviderForcedExitResponse, error) }
MsgServer is the server API for Msg service.
type MsgSettle ¶
type MsgSettle struct { // storage_provider defines the account address who initiates the settle request. // After Pampas upgrade, not only storage provider, anyone can submit this message. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // global_virtual_group_family_id is the identifier of the global virtual group family. GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // global_virtual_group_id is the identifier of the global virtual group. GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ }
MsgSettle define the message for settling storage income of GVG family or several GVGs. Firstly, the handler will do stream settlement for the payment account; and secondly, the income will be distributed to related storage providers.
func NewMsgSettle ¶
func NewMsgSettle(submitter sdk.AccAddress, globalVirtualGroupFamilyID uint32, globalVirtualGroupIDs []uint32) *MsgSettle
func (*MsgSettle) Descriptor ¶
func (*MsgSettle) GetGlobalVirtualGroupFamilyId ¶
func (*MsgSettle) GetGlobalVirtualGroupIds ¶
func (*MsgSettle) GetSignBytes ¶
GetSignBytes implements the LegacyMsg interface.
func (*MsgSettle) GetSigners ¶
func (msg *MsgSettle) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgSettle) GetStorageProvider ¶
func (*MsgSettle) MarshalToSizedBuffer ¶
func (*MsgSettle) ProtoMessage ¶
func (*MsgSettle) ProtoMessage()
func (*MsgSettle) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data.
func (*MsgSettle) XXX_DiscardUnknown ¶
func (m *MsgSettle) XXX_DiscardUnknown()
func (*MsgSettle) XXX_Marshal ¶
func (*MsgSettle) XXX_Unmarshal ¶
type MsgSettleResponse ¶
type MsgSettleResponse struct { }
func (*MsgSettleResponse) Descriptor ¶
func (*MsgSettleResponse) Descriptor() ([]byte, []int)
func (*MsgSettleResponse) Marshal ¶
func (m *MsgSettleResponse) Marshal() (dAtA []byte, err error)
func (*MsgSettleResponse) MarshalTo ¶
func (m *MsgSettleResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSettleResponse) MarshalToSizedBuffer ¶
func (m *MsgSettleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSettleResponse) ProtoMessage ¶
func (*MsgSettleResponse) ProtoMessage()
func (*MsgSettleResponse) Reset ¶
func (m *MsgSettleResponse) Reset()
func (*MsgSettleResponse) Size ¶
func (m *MsgSettleResponse) Size() (n int)
func (*MsgSettleResponse) String ¶
func (m *MsgSettleResponse) String() string
func (*MsgSettleResponse) Unmarshal ¶
func (m *MsgSettleResponse) Unmarshal(dAtA []byte) error
func (*MsgSettleResponse) XXX_DiscardUnknown ¶
func (m *MsgSettleResponse) XXX_DiscardUnknown()
func (*MsgSettleResponse) XXX_Marshal ¶
func (m *MsgSettleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSettleResponse) XXX_Merge ¶
func (m *MsgSettleResponse) XXX_Merge(src proto.Message)
func (*MsgSettleResponse) XXX_Size ¶
func (m *MsgSettleResponse) XXX_Size() int
func (*MsgSettleResponse) XXX_Unmarshal ¶
func (m *MsgSettleResponse) XXX_Unmarshal(b []byte) error
type MsgStorageProviderExit ¶
type MsgStorageProviderExit struct { // storage_provider defines the operator account address of the storage provider who want to exit from the greenfield storage network. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` }
func NewMsgStorageProviderExit ¶
func NewMsgStorageProviderExit(operatorAddress sdk.AccAddress) *MsgStorageProviderExit
func (*MsgStorageProviderExit) Descriptor ¶
func (*MsgStorageProviderExit) Descriptor() ([]byte, []int)
func (*MsgStorageProviderExit) GetSignBytes ¶
func (msg *MsgStorageProviderExit) GetSignBytes() []byte
func (*MsgStorageProviderExit) GetSigners ¶
func (msg *MsgStorageProviderExit) GetSigners() []sdk.AccAddress
func (*MsgStorageProviderExit) GetStorageProvider ¶
func (m *MsgStorageProviderExit) GetStorageProvider() string
func (*MsgStorageProviderExit) Marshal ¶
func (m *MsgStorageProviderExit) Marshal() (dAtA []byte, err error)
func (*MsgStorageProviderExit) MarshalTo ¶
func (m *MsgStorageProviderExit) MarshalTo(dAtA []byte) (int, error)
func (*MsgStorageProviderExit) MarshalToSizedBuffer ¶
func (m *MsgStorageProviderExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStorageProviderExit) ProtoMessage ¶
func (*MsgStorageProviderExit) ProtoMessage()
func (*MsgStorageProviderExit) Reset ¶
func (m *MsgStorageProviderExit) Reset()
func (*MsgStorageProviderExit) Route ¶
func (msg *MsgStorageProviderExit) Route() string
func (*MsgStorageProviderExit) Size ¶
func (m *MsgStorageProviderExit) Size() (n int)
func (*MsgStorageProviderExit) String ¶
func (m *MsgStorageProviderExit) String() string
func (*MsgStorageProviderExit) Type ¶
func (msg *MsgStorageProviderExit) Type() string
func (*MsgStorageProviderExit) Unmarshal ¶
func (m *MsgStorageProviderExit) Unmarshal(dAtA []byte) error
func (*MsgStorageProviderExit) ValidateBasic ¶
func (msg *MsgStorageProviderExit) ValidateBasic() error
func (*MsgStorageProviderExit) XXX_DiscardUnknown ¶
func (m *MsgStorageProviderExit) XXX_DiscardUnknown()
func (*MsgStorageProviderExit) XXX_Marshal ¶
func (m *MsgStorageProviderExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStorageProviderExit) XXX_Merge ¶
func (m *MsgStorageProviderExit) XXX_Merge(src proto.Message)
func (*MsgStorageProviderExit) XXX_Size ¶
func (m *MsgStorageProviderExit) XXX_Size() int
func (*MsgStorageProviderExit) XXX_Unmarshal ¶
func (m *MsgStorageProviderExit) XXX_Unmarshal(b []byte) error
type MsgStorageProviderExitResponse ¶
type MsgStorageProviderExitResponse struct { }
func (*MsgStorageProviderExitResponse) Descriptor ¶
func (*MsgStorageProviderExitResponse) Descriptor() ([]byte, []int)
func (*MsgStorageProviderExitResponse) Marshal ¶
func (m *MsgStorageProviderExitResponse) Marshal() (dAtA []byte, err error)
func (*MsgStorageProviderExitResponse) MarshalTo ¶
func (m *MsgStorageProviderExitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStorageProviderExitResponse) MarshalToSizedBuffer ¶
func (m *MsgStorageProviderExitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStorageProviderExitResponse) ProtoMessage ¶
func (*MsgStorageProviderExitResponse) ProtoMessage()
func (*MsgStorageProviderExitResponse) Reset ¶
func (m *MsgStorageProviderExitResponse) Reset()
func (*MsgStorageProviderExitResponse) Size ¶
func (m *MsgStorageProviderExitResponse) Size() (n int)
func (*MsgStorageProviderExitResponse) String ¶
func (m *MsgStorageProviderExitResponse) String() string
func (*MsgStorageProviderExitResponse) Unmarshal ¶
func (m *MsgStorageProviderExitResponse) Unmarshal(dAtA []byte) error
func (*MsgStorageProviderExitResponse) XXX_DiscardUnknown ¶
func (m *MsgStorageProviderExitResponse) XXX_DiscardUnknown()
func (*MsgStorageProviderExitResponse) XXX_Marshal ¶
func (m *MsgStorageProviderExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStorageProviderExitResponse) XXX_Merge ¶
func (m *MsgStorageProviderExitResponse) XXX_Merge(src proto.Message)
func (*MsgStorageProviderExitResponse) XXX_Size ¶
func (m *MsgStorageProviderExitResponse) XXX_Size() int
func (*MsgStorageProviderExitResponse) XXX_Unmarshal ¶
func (m *MsgStorageProviderExitResponse) XXX_Unmarshal(b []byte) error
type MsgStorageProviderForcedExit ¶ added in v1.3.0
type MsgStorageProviderForcedExit struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // storage_provider defines the account address of the storage provider forced to exit StorageProvider string `protobuf:"bytes,2,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` }
this line is used by starport scaffolding # proto/tx/message
func NewMsgStorageProviderForcedExit ¶ added in v1.3.0
func NewMsgStorageProviderForcedExit(authority string, spAddress sdk.AccAddress) *MsgStorageProviderForcedExit
func (*MsgStorageProviderForcedExit) Descriptor ¶ added in v1.3.0
func (*MsgStorageProviderForcedExit) Descriptor() ([]byte, []int)
func (*MsgStorageProviderForcedExit) GetAuthority ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) GetAuthority() string
func (*MsgStorageProviderForcedExit) GetSignBytes ¶ added in v1.3.0
func (msg *MsgStorageProviderForcedExit) GetSignBytes() []byte
func (*MsgStorageProviderForcedExit) GetSigners ¶ added in v1.3.0
func (msg *MsgStorageProviderForcedExit) GetSigners() []sdk.AccAddress
func (*MsgStorageProviderForcedExit) GetStorageProvider ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) GetStorageProvider() string
func (*MsgStorageProviderForcedExit) Marshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) Marshal() (dAtA []byte, err error)
func (*MsgStorageProviderForcedExit) MarshalTo ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) MarshalTo(dAtA []byte) (int, error)
func (*MsgStorageProviderForcedExit) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStorageProviderForcedExit) ProtoMessage ¶ added in v1.3.0
func (*MsgStorageProviderForcedExit) ProtoMessage()
func (*MsgStorageProviderForcedExit) Reset ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) Reset()
func (*MsgStorageProviderForcedExit) Route ¶ added in v1.3.0
func (msg *MsgStorageProviderForcedExit) Route() string
func (*MsgStorageProviderForcedExit) Size ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) Size() (n int)
func (*MsgStorageProviderForcedExit) String ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) String() string
func (*MsgStorageProviderForcedExit) Type ¶ added in v1.3.0
func (msg *MsgStorageProviderForcedExit) Type() string
func (*MsgStorageProviderForcedExit) Unmarshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) Unmarshal(dAtA []byte) error
func (*MsgStorageProviderForcedExit) ValidateBasic ¶ added in v1.3.0
func (msg *MsgStorageProviderForcedExit) ValidateBasic() error
func (*MsgStorageProviderForcedExit) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) XXX_DiscardUnknown()
func (*MsgStorageProviderForcedExit) XXX_Marshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStorageProviderForcedExit) XXX_Merge ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) XXX_Merge(src proto.Message)
func (*MsgStorageProviderForcedExit) XXX_Size ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) XXX_Size() int
func (*MsgStorageProviderForcedExit) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExit) XXX_Unmarshal(b []byte) error
type MsgStorageProviderForcedExitResponse ¶ added in v1.3.0
type MsgStorageProviderForcedExitResponse struct { }
func (*MsgStorageProviderForcedExitResponse) Descriptor ¶ added in v1.3.0
func (*MsgStorageProviderForcedExitResponse) Descriptor() ([]byte, []int)
func (*MsgStorageProviderForcedExitResponse) Marshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) Marshal() (dAtA []byte, err error)
func (*MsgStorageProviderForcedExitResponse) MarshalTo ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStorageProviderForcedExitResponse) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStorageProviderForcedExitResponse) ProtoMessage ¶ added in v1.3.0
func (*MsgStorageProviderForcedExitResponse) ProtoMessage()
func (*MsgStorageProviderForcedExitResponse) Reset ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) Reset()
func (*MsgStorageProviderForcedExitResponse) Size ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) Size() (n int)
func (*MsgStorageProviderForcedExitResponse) String ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) String() string
func (*MsgStorageProviderForcedExitResponse) Unmarshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) Unmarshal(dAtA []byte) error
func (*MsgStorageProviderForcedExitResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) XXX_DiscardUnknown()
func (*MsgStorageProviderForcedExitResponse) XXX_Marshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStorageProviderForcedExitResponse) XXX_Merge ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) XXX_Merge(src proto.Message)
func (*MsgStorageProviderForcedExitResponse) XXX_Size ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) XXX_Size() int
func (*MsgStorageProviderForcedExitResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *MsgStorageProviderForcedExitResponse) XXX_Unmarshal(b []byte) error
type MsgSwapOut ¶
type MsgSwapOut struct { // storage_provider defines the operator account address of the storage provider who want to swap out from the global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // virtual_group_family_id is the identifier of the virtual group family. // if it set to non-zero, it represents that the operator swap out as the primary storage provider // it it set to zero, it represents that the operator swap out as the secondary storage provider. GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ // global_virtual_group_ids is a list of global virtual group IDs associated with the swap out. // It allows to be empty only when the operator is the primary storage provider. GlobalVirtualGroupIds []uint32 `` /* 136-byte string literal not displayed */ // successor_sp_id is the unique id of the successor storage provider. SuccessorSpId uint32 `protobuf:"varint,4,opt,name=successor_sp_id,json=successorSpId,proto3" json:"successor_sp_id,omitempty"` // approval includes an expiration time and a signature. // The fields to be signed with contains the necessary information of the successor. SuccessorSpApproval *common.Approval `protobuf:"bytes,5,opt,name=successor_sp_approval,json=successorSpApproval,proto3" json:"successor_sp_approval,omitempty"` }
func NewMsgSwapOut ¶
func NewMsgSwapOut(operatorAddress sdk.AccAddress, globalVirtualGroupFamilyID uint32, globalVirtualGroupIDs []uint32, successorSPID uint32) *MsgSwapOut
func (*MsgSwapOut) Descriptor ¶
func (*MsgSwapOut) Descriptor() ([]byte, []int)
func (*MsgSwapOut) GetApprovalBytes ¶
func (msg *MsgSwapOut) GetApprovalBytes() []byte
func (*MsgSwapOut) GetGlobalVirtualGroupFamilyId ¶
func (m *MsgSwapOut) GetGlobalVirtualGroupFamilyId() uint32
func (*MsgSwapOut) GetGlobalVirtualGroupIds ¶
func (m *MsgSwapOut) GetGlobalVirtualGroupIds() []uint32
func (*MsgSwapOut) GetSignBytes ¶
func (msg *MsgSwapOut) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgSwapOut) GetSigners ¶
func (msg *MsgSwapOut) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgSwapOut) GetStorageProvider ¶
func (m *MsgSwapOut) GetStorageProvider() string
func (*MsgSwapOut) GetSuccessorSpApproval ¶
func (m *MsgSwapOut) GetSuccessorSpApproval() *common.Approval
func (*MsgSwapOut) GetSuccessorSpId ¶
func (m *MsgSwapOut) GetSuccessorSpId() uint32
func (*MsgSwapOut) Marshal ¶
func (m *MsgSwapOut) Marshal() (dAtA []byte, err error)
func (*MsgSwapOut) MarshalToSizedBuffer ¶
func (m *MsgSwapOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSwapOut) ProtoMessage ¶
func (*MsgSwapOut) ProtoMessage()
func (*MsgSwapOut) Reset ¶
func (m *MsgSwapOut) Reset()
func (*MsgSwapOut) Route ¶
func (msg *MsgSwapOut) Route() string
func (*MsgSwapOut) Size ¶
func (m *MsgSwapOut) Size() (n int)
func (*MsgSwapOut) String ¶
func (m *MsgSwapOut) String() string
func (*MsgSwapOut) Type ¶
func (msg *MsgSwapOut) Type() string
func (*MsgSwapOut) Unmarshal ¶
func (m *MsgSwapOut) Unmarshal(dAtA []byte) error
func (*MsgSwapOut) ValidateBasic ¶
func (msg *MsgSwapOut) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgSwapOut) XXX_DiscardUnknown ¶
func (m *MsgSwapOut) XXX_DiscardUnknown()
func (*MsgSwapOut) XXX_Marshal ¶
func (m *MsgSwapOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSwapOut) XXX_Merge ¶
func (m *MsgSwapOut) XXX_Merge(src proto.Message)
func (*MsgSwapOut) XXX_Size ¶
func (m *MsgSwapOut) XXX_Size() int
func (*MsgSwapOut) XXX_Unmarshal ¶
func (m *MsgSwapOut) XXX_Unmarshal(b []byte) error
type MsgSwapOutResponse ¶
type MsgSwapOutResponse struct { }
func (*MsgSwapOutResponse) Descriptor ¶
func (*MsgSwapOutResponse) Descriptor() ([]byte, []int)
func (*MsgSwapOutResponse) Marshal ¶
func (m *MsgSwapOutResponse) Marshal() (dAtA []byte, err error)
func (*MsgSwapOutResponse) MarshalTo ¶
func (m *MsgSwapOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSwapOutResponse) MarshalToSizedBuffer ¶
func (m *MsgSwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSwapOutResponse) ProtoMessage ¶
func (*MsgSwapOutResponse) ProtoMessage()
func (*MsgSwapOutResponse) Reset ¶
func (m *MsgSwapOutResponse) Reset()
func (*MsgSwapOutResponse) Size ¶
func (m *MsgSwapOutResponse) Size() (n int)
func (*MsgSwapOutResponse) String ¶
func (m *MsgSwapOutResponse) String() string
func (*MsgSwapOutResponse) Unmarshal ¶
func (m *MsgSwapOutResponse) Unmarshal(dAtA []byte) error
func (*MsgSwapOutResponse) XXX_DiscardUnknown ¶
func (m *MsgSwapOutResponse) XXX_DiscardUnknown()
func (*MsgSwapOutResponse) XXX_Marshal ¶
func (m *MsgSwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSwapOutResponse) XXX_Merge ¶
func (m *MsgSwapOutResponse) XXX_Merge(src proto.Message)
func (*MsgSwapOutResponse) XXX_Size ¶
func (m *MsgSwapOutResponse) XXX_Size() int
func (*MsgSwapOutResponse) XXX_Unmarshal ¶
func (m *MsgSwapOutResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/virtualgroup parameters to update. // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶
func (msg *MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgUpdateParams) GetSigners ¶
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (msg *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgWithdraw ¶
type MsgWithdraw struct { // storage_provider defines the operator/funding account address of the storage provider who withdraw from the global virtual group. StorageProvider string `protobuf:"bytes,1,opt,name=storage_provider,json=storageProvider,proto3" json:"storage_provider,omitempty"` // global_virtual_group_id is the identifier of the global virtual group. GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ // withdraw is the amount of coins to be withdrawn. // The amount needs to be smaller than stored_size * storage_staking_price Withdraw types.Coin `protobuf:"bytes,3,opt,name=withdraw,proto3" json:"withdraw"` }
func NewMsgWithdraw ¶
func NewMsgWithdraw(fundingAddress sdk.AccAddress, globalVirtualGroupID uint32, withdraw sdk.Coin) *MsgWithdraw
func (*MsgWithdraw) Descriptor ¶
func (*MsgWithdraw) Descriptor() ([]byte, []int)
func (*MsgWithdraw) GetGlobalVirtualGroupId ¶
func (m *MsgWithdraw) GetGlobalVirtualGroupId() uint32
func (*MsgWithdraw) GetSignBytes ¶
func (msg *MsgWithdraw) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgWithdraw) GetSigners ¶
func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgWithdraw) GetStorageProvider ¶
func (m *MsgWithdraw) GetStorageProvider() string
func (*MsgWithdraw) GetWithdraw ¶
func (m *MsgWithdraw) GetWithdraw() types.Coin
func (*MsgWithdraw) Marshal ¶
func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgWithdraw) MarshalToSizedBuffer ¶
func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdraw) ProtoMessage ¶
func (*MsgWithdraw) ProtoMessage()
func (*MsgWithdraw) Reset ¶
func (m *MsgWithdraw) Reset()
func (*MsgWithdraw) Route ¶
func (msg *MsgWithdraw) Route() string
func (*MsgWithdraw) Size ¶
func (m *MsgWithdraw) Size() (n int)
func (*MsgWithdraw) String ¶
func (m *MsgWithdraw) String() string
func (*MsgWithdraw) Type ¶
func (msg *MsgWithdraw) Type() string
func (*MsgWithdraw) Unmarshal ¶
func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
func (*MsgWithdraw) ValidateBasic ¶
func (msg *MsgWithdraw) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgWithdraw) XXX_DiscardUnknown ¶
func (m *MsgWithdraw) XXX_DiscardUnknown()
func (*MsgWithdraw) XXX_Marshal ¶
func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdraw) XXX_Merge ¶
func (m *MsgWithdraw) XXX_Merge(src proto.Message)
func (*MsgWithdraw) XXX_Size ¶
func (m *MsgWithdraw) XXX_Size() int
func (*MsgWithdraw) XXX_Unmarshal ¶
func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
type MsgWithdrawResponse ¶
type MsgWithdrawResponse struct { }
func (*MsgWithdrawResponse) Descriptor ¶
func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawResponse) Marshal ¶
func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawResponse) MarshalTo ¶
func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) ProtoMessage ¶
func (*MsgWithdrawResponse) ProtoMessage()
func (*MsgWithdrawResponse) Reset ¶
func (m *MsgWithdrawResponse) Reset()
func (*MsgWithdrawResponse) Size ¶
func (m *MsgWithdrawResponse) Size() (n int)
func (*MsgWithdrawResponse) String ¶
func (m *MsgWithdrawResponse) String() string
func (*MsgWithdrawResponse) Unmarshal ¶
func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
func (*MsgWithdrawResponse) XXX_Marshal ¶
func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawResponse) XXX_Merge ¶
func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawResponse) XXX_Size ¶
func (m *MsgWithdrawResponse) XXX_Size() int
func (*MsgWithdrawResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // deposit_denom defines the staking coin denomination. DepositDenom string `protobuf:"bytes,1,opt,name=deposit_denom,json=depositDenom,proto3" json:"deposit_denom,omitempty"` // store price, in bnb wei per charge byte GvgStakingPerBytes github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */ // the max number of lvg which allowed in a bucket MaxLocalVirtualGroupNumPerBucket uint32 `` /* 168-byte string literal not displayed */ // the max number of gvg which can exist in a family MaxGlobalVirtualGroupNumPerFamily uint32 `` /* 171-byte string literal not displayed */ // if the store size reach the exceed, the family is not allowed to sever more buckets MaxStoreSizePerFamily uint64 `` /* 131-byte string literal not displayed */ // the validity period that a successor SP can reserve to complete the swap for Global virtual group/family SwapInValidityPeriod *github_com_cosmos_cosmos_sdk_types.Int `` /* 175-byte string literal not displayed */ // the the number of sp allowed to exit concurrently. SpConcurrentExitNum *github_com_cosmos_cosmos_sdk_types.Int `` /* 172-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams(depositDenom string, gvgStakingPerBytes math.Int, maxGlobalVirtualGroupPerFamily uint32, maxStoreSizePerFamily uint64, swapInValidityPeriod, spConcurrentExitNum math.Int) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetDepositDenom ¶
func (*Params) GetMaxGlobalVirtualGroupNumPerFamily ¶
func (*Params) GetMaxLocalVirtualGroupNumPerBucket ¶
func (*Params) GetMaxStoreSizePerFamily ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PaymentKeeper ¶
type PickVGFStrategy ¶ added in v1.6.0
type PickVGFStrategy int32
PickVGFStrategy represents the method for selecting the best global virtual group family based on the strategy
const ( Strategy_Maximize_Free_Store_Size PickVGFStrategy = 0 Strategy_Minimal_Free_Store_Size PickVGFStrategy = 1 Strategy_Oldest_Create_Time PickVGFStrategy = 2 Strategy_Recentest_Create_Time PickVGFStrategy = 3 )
func (PickVGFStrategy) EnumDescriptor ¶ added in v1.6.0
func (PickVGFStrategy) EnumDescriptor() ([]byte, []int)
func (PickVGFStrategy) String ¶ added in v1.6.0
func (x PickVGFStrategy) String() string
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a global virtual group by its id. GlobalVirtualGroup(ctx context.Context, in *QueryGlobalVirtualGroupRequest, opts ...grpc.CallOption) (*QueryGlobalVirtualGroupResponse, error) // Queries a list of global virtual groups by family id. GlobalVirtualGroupByFamilyID(ctx context.Context, in *QueryGlobalVirtualGroupByFamilyIDRequest, opts ...grpc.CallOption) (*QueryGlobalVirtualGroupByFamilyIDResponse, error) // Queries a global virtual group family by its id. GlobalVirtualGroupFamily(ctx context.Context, in *QueryGlobalVirtualGroupFamilyRequest, opts ...grpc.CallOption) (*QueryGlobalVirtualGroupFamilyResponse, error) // Queries a list of GlobalVirtualGroupFamilies items. GlobalVirtualGroupFamilies(ctx context.Context, in *QueryGlobalVirtualGroupFamiliesRequest, opts ...grpc.CallOption) (*QueryGlobalVirtualGroupFamiliesResponse, error) // AvailableGlobalVirtualGroupFamilies filters a list of GlobalVirtualGroupFamilies ID which are qualified to create bucket on AvailableGlobalVirtualGroupFamilies(ctx context.Context, in *AvailableGlobalVirtualGroupFamiliesRequest, opts ...grpc.CallOption) (*AvailableGlobalVirtualGroupFamiliesResponse, error) // SwapInInfo gets reserved swapIn info for a specific global virtual group family or global virtual group SwapInInfo(ctx context.Context, in *QuerySwapInInfoRequest, opts ...grpc.CallOption) (*QuerySwapInInfoResponse, error) // GVGStatistics gets gvg statistics for a SP GVGStatistics(ctx context.Context, in *QuerySPGVGStatisticsRequest, opts ...grpc.CallOption) (*QuerySPGVGStatisticsResponse, error) // QuerySpAvailableGlobalVirtualGroupFamilies filters a list of GlobalVirtualGroupFamilies IDs under a certain SP that are qualified to create a bucket on QuerySpAvailableGlobalVirtualGroupFamilies(ctx context.Context, in *QuerySPAvailableGlobalVirtualGroupFamiliesRequest, opts ...grpc.CallOption) (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse, error) // QuerySpOptimalGlobalVirtualGroupFamily filters the optimal GlobalVirtualGroupFamily under a certain SP that is qualified to create a bucket on QuerySpOptimalGlobalVirtualGroupFamily(ctx context.Context, in *QuerySpOptimalGlobalVirtualGroupFamilyRequest, opts ...grpc.CallOption) (*QuerySpOptimalGlobalVirtualGroupFamilyResponse, 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 QueryGlobalVirtualGroupByFamilyIDRequest ¶
type QueryGlobalVirtualGroupByFamilyIDRequest struct {
GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */
}
func (*QueryGlobalVirtualGroupByFamilyIDRequest) Descriptor ¶
func (*QueryGlobalVirtualGroupByFamilyIDRequest) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupByFamilyIDRequest) GetGlobalVirtualGroupFamilyId ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) GetGlobalVirtualGroupFamilyId() uint32
func (*QueryGlobalVirtualGroupByFamilyIDRequest) Marshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupByFamilyIDRequest) MarshalTo ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupByFamilyIDRequest) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupByFamilyIDRequest) ProtoMessage ¶
func (*QueryGlobalVirtualGroupByFamilyIDRequest) ProtoMessage()
func (*QueryGlobalVirtualGroupByFamilyIDRequest) Reset ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Reset()
func (*QueryGlobalVirtualGroupByFamilyIDRequest) Size ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Size() (n int)
func (*QueryGlobalVirtualGroupByFamilyIDRequest) String ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) String() string
func (*QueryGlobalVirtualGroupByFamilyIDRequest) Unmarshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupByFamilyIDRequest) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Size ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Size() int
func (*QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Unmarshal(b []byte) error
type QueryGlobalVirtualGroupByFamilyIDResponse ¶
type QueryGlobalVirtualGroupByFamilyIDResponse struct {
GlobalVirtualGroups []*GlobalVirtualGroup `protobuf:"bytes,1,rep,name=global_virtual_groups,json=globalVirtualGroups,proto3" json:"global_virtual_groups,omitempty"`
}
func (*QueryGlobalVirtualGroupByFamilyIDResponse) Descriptor ¶
func (*QueryGlobalVirtualGroupByFamilyIDResponse) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupByFamilyIDResponse) GetGlobalVirtualGroups ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) GetGlobalVirtualGroups() []*GlobalVirtualGroup
func (*QueryGlobalVirtualGroupByFamilyIDResponse) Marshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupByFamilyIDResponse) MarshalTo ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupByFamilyIDResponse) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupByFamilyIDResponse) ProtoMessage ¶
func (*QueryGlobalVirtualGroupByFamilyIDResponse) ProtoMessage()
func (*QueryGlobalVirtualGroupByFamilyIDResponse) Reset ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Reset()
func (*QueryGlobalVirtualGroupByFamilyIDResponse) Size ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Size() (n int)
func (*QueryGlobalVirtualGroupByFamilyIDResponse) String ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) String() string
func (*QueryGlobalVirtualGroupByFamilyIDResponse) Unmarshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupByFamilyIDResponse) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Size ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Size() int
func (*QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Unmarshal(b []byte) error
type QueryGlobalVirtualGroupFamiliesRequest ¶
type QueryGlobalVirtualGroupFamiliesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryGlobalVirtualGroupFamiliesRequest) Descriptor ¶
func (*QueryGlobalVirtualGroupFamiliesRequest) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupFamiliesRequest) GetPagination ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) GetPagination() *query.PageRequest
func (*QueryGlobalVirtualGroupFamiliesRequest) Marshal ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupFamiliesRequest) MarshalTo ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamiliesRequest) ProtoMessage ¶
func (*QueryGlobalVirtualGroupFamiliesRequest) ProtoMessage()
func (*QueryGlobalVirtualGroupFamiliesRequest) Reset ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) Reset()
func (*QueryGlobalVirtualGroupFamiliesRequest) Size ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) Size() (n int)
func (*QueryGlobalVirtualGroupFamiliesRequest) String ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) String() string
func (*QueryGlobalVirtualGroupFamiliesRequest) Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupFamiliesRequest) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupFamiliesRequest) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupFamiliesRequest) XXX_Size ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Size() int
func (*QueryGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal(b []byte) error
type QueryGlobalVirtualGroupFamiliesResponse ¶
type QueryGlobalVirtualGroupFamiliesResponse struct { GvgFamilies []*GlobalVirtualGroupFamily `protobuf:"bytes,1,rep,name=gvg_families,json=gvgFamilies,proto3" json:"gvg_families,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryGlobalVirtualGroupFamiliesResponse) Descriptor ¶
func (*QueryGlobalVirtualGroupFamiliesResponse) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupFamiliesResponse) GetGvgFamilies ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) GetGvgFamilies() []*GlobalVirtualGroupFamily
func (*QueryGlobalVirtualGroupFamiliesResponse) GetPagination ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) GetPagination() *query.PageResponse
func (*QueryGlobalVirtualGroupFamiliesResponse) Marshal ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupFamiliesResponse) MarshalTo ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamiliesResponse) ProtoMessage ¶
func (*QueryGlobalVirtualGroupFamiliesResponse) ProtoMessage()
func (*QueryGlobalVirtualGroupFamiliesResponse) Reset ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) Reset()
func (*QueryGlobalVirtualGroupFamiliesResponse) Size ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) Size() (n int)
func (*QueryGlobalVirtualGroupFamiliesResponse) String ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) String() string
func (*QueryGlobalVirtualGroupFamiliesResponse) Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupFamiliesResponse) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupFamiliesResponse) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupFamiliesResponse) XXX_Size ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Size() int
func (*QueryGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal(b []byte) error
type QueryGlobalVirtualGroupFamilyRequest ¶
type QueryGlobalVirtualGroupFamilyRequest struct {
FamilyId uint32 `protobuf:"varint,1,opt,name=family_id,json=familyId,proto3" json:"family_id,omitempty"`
}
func (*QueryGlobalVirtualGroupFamilyRequest) Descriptor ¶
func (*QueryGlobalVirtualGroupFamilyRequest) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupFamilyRequest) GetFamilyId ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) GetFamilyId() uint32
func (*QueryGlobalVirtualGroupFamilyRequest) Marshal ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupFamilyRequest) MarshalTo ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamilyRequest) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamilyRequest) ProtoMessage ¶
func (*QueryGlobalVirtualGroupFamilyRequest) ProtoMessage()
func (*QueryGlobalVirtualGroupFamilyRequest) Reset ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) Reset()
func (*QueryGlobalVirtualGroupFamilyRequest) Size ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) Size() (n int)
func (*QueryGlobalVirtualGroupFamilyRequest) String ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) String() string
func (*QueryGlobalVirtualGroupFamilyRequest) Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupFamilyRequest) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupFamilyRequest) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupFamilyRequest) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupFamilyRequest) XXX_Size ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Size() int
func (*QueryGlobalVirtualGroupFamilyRequest) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamilyRequest) XXX_Unmarshal(b []byte) error
type QueryGlobalVirtualGroupFamilyResponse ¶
type QueryGlobalVirtualGroupFamilyResponse struct {
GlobalVirtualGroupFamily *GlobalVirtualGroupFamily `` /* 137-byte string literal not displayed */
}
func (*QueryGlobalVirtualGroupFamilyResponse) Descriptor ¶
func (*QueryGlobalVirtualGroupFamilyResponse) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupFamilyResponse) GetGlobalVirtualGroupFamily ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) GetGlobalVirtualGroupFamily() *GlobalVirtualGroupFamily
func (*QueryGlobalVirtualGroupFamilyResponse) Marshal ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupFamilyResponse) MarshalTo ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamilyResponse) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupFamilyResponse) ProtoMessage ¶
func (*QueryGlobalVirtualGroupFamilyResponse) ProtoMessage()
func (*QueryGlobalVirtualGroupFamilyResponse) Reset ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) Reset()
func (*QueryGlobalVirtualGroupFamilyResponse) Size ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) Size() (n int)
func (*QueryGlobalVirtualGroupFamilyResponse) String ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) String() string
func (*QueryGlobalVirtualGroupFamilyResponse) Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupFamilyResponse) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupFamilyResponse) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupFamilyResponse) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupFamilyResponse) XXX_Size ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Size() int
func (*QueryGlobalVirtualGroupFamilyResponse) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupFamilyResponse) XXX_Unmarshal(b []byte) error
type QueryGlobalVirtualGroupRequest ¶
type QueryGlobalVirtualGroupRequest struct {
GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */
}
func (*QueryGlobalVirtualGroupRequest) Descriptor ¶
func (*QueryGlobalVirtualGroupRequest) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupRequest) GetGlobalVirtualGroupId ¶
func (m *QueryGlobalVirtualGroupRequest) GetGlobalVirtualGroupId() uint32
func (*QueryGlobalVirtualGroupRequest) Marshal ¶
func (m *QueryGlobalVirtualGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupRequest) MarshalTo ¶
func (m *QueryGlobalVirtualGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupRequest) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupRequest) ProtoMessage ¶
func (*QueryGlobalVirtualGroupRequest) ProtoMessage()
func (*QueryGlobalVirtualGroupRequest) Reset ¶
func (m *QueryGlobalVirtualGroupRequest) Reset()
func (*QueryGlobalVirtualGroupRequest) Size ¶
func (m *QueryGlobalVirtualGroupRequest) Size() (n int)
func (*QueryGlobalVirtualGroupRequest) String ¶
func (m *QueryGlobalVirtualGroupRequest) String() string
func (*QueryGlobalVirtualGroupRequest) Unmarshal ¶
func (m *QueryGlobalVirtualGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupRequest) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupRequest) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupRequest) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupRequest) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupRequest) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupRequest) XXX_Size ¶
func (m *QueryGlobalVirtualGroupRequest) XXX_Size() int
func (*QueryGlobalVirtualGroupRequest) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupRequest) XXX_Unmarshal(b []byte) error
type QueryGlobalVirtualGroupResponse ¶
type QueryGlobalVirtualGroupResponse struct {
GlobalVirtualGroup *GlobalVirtualGroup `protobuf:"bytes,1,opt,name=global_virtual_group,json=globalVirtualGroup,proto3" json:"global_virtual_group,omitempty"`
}
func (*QueryGlobalVirtualGroupResponse) Descriptor ¶
func (*QueryGlobalVirtualGroupResponse) Descriptor() ([]byte, []int)
func (*QueryGlobalVirtualGroupResponse) GetGlobalVirtualGroup ¶
func (m *QueryGlobalVirtualGroupResponse) GetGlobalVirtualGroup() *GlobalVirtualGroup
func (*QueryGlobalVirtualGroupResponse) Marshal ¶
func (m *QueryGlobalVirtualGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryGlobalVirtualGroupResponse) MarshalTo ¶
func (m *QueryGlobalVirtualGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupResponse) MarshalToSizedBuffer ¶
func (m *QueryGlobalVirtualGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalVirtualGroupResponse) ProtoMessage ¶
func (*QueryGlobalVirtualGroupResponse) ProtoMessage()
func (*QueryGlobalVirtualGroupResponse) Reset ¶
func (m *QueryGlobalVirtualGroupResponse) Reset()
func (*QueryGlobalVirtualGroupResponse) Size ¶
func (m *QueryGlobalVirtualGroupResponse) Size() (n int)
func (*QueryGlobalVirtualGroupResponse) String ¶
func (m *QueryGlobalVirtualGroupResponse) String() string
func (*QueryGlobalVirtualGroupResponse) Unmarshal ¶
func (m *QueryGlobalVirtualGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryGlobalVirtualGroupResponse) XXX_DiscardUnknown ¶
func (m *QueryGlobalVirtualGroupResponse) XXX_DiscardUnknown()
func (*QueryGlobalVirtualGroupResponse) XXX_Marshal ¶
func (m *QueryGlobalVirtualGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalVirtualGroupResponse) XXX_Merge ¶
func (m *QueryGlobalVirtualGroupResponse) XXX_Merge(src proto.Message)
func (*QueryGlobalVirtualGroupResponse) XXX_Size ¶
func (m *QueryGlobalVirtualGroupResponse) XXX_Size() int
func (*QueryGlobalVirtualGroupResponse) XXX_Unmarshal ¶
func (m *QueryGlobalVirtualGroupResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
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 holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
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 QuerySPAvailableGlobalVirtualGroupFamiliesRequest ¶ added in v1.6.0
type QuerySPAvailableGlobalVirtualGroupFamiliesRequest struct {
SpId uint32 `protobuf:"varint,1,opt,name=sp_id,json=spId,proto3" json:"sp_id,omitempty"`
}
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Descriptor ¶ added in v1.6.0
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Descriptor() ([]byte, []int)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) GetSpId ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) GetSpId() uint32
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Marshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Marshal() (dAtA []byte, err error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) MarshalTo ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) ProtoMessage ¶ added in v1.6.0
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) ProtoMessage()
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Reset ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Reset()
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Size ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Size() (n int)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) String ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) String() string
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Unmarshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) Unmarshal(dAtA []byte) error
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_DiscardUnknown()
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Marshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Merge ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Merge(src proto.Message)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Size ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Size() int
func (*QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal(b []byte) error
type QuerySPAvailableGlobalVirtualGroupFamiliesResponse ¶ added in v1.6.0
type QuerySPAvailableGlobalVirtualGroupFamiliesResponse struct {
GlobalVirtualGroupFamilyIds []uint32 `` /* 156-byte string literal not displayed */
}
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Descriptor ¶ added in v1.6.0
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Descriptor() ([]byte, []int)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds() []uint32
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Marshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Marshal() (dAtA []byte, err error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) MarshalTo ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) ProtoMessage ¶ added in v1.6.0
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) ProtoMessage()
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Reset ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Reset()
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Size ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Size() (n int)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) String ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) String() string
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Unmarshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) Unmarshal(dAtA []byte) error
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_DiscardUnknown()
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Marshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Merge ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Merge(src proto.Message)
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Size ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Size() int
func (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal ¶ added in v1.6.0
func (m *QuerySPAvailableGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal(b []byte) error
type QuerySPGVGStatisticsRequest ¶ added in v1.3.0
type QuerySPGVGStatisticsRequest struct {
SpId uint32 `protobuf:"varint,1,opt,name=sp_id,json=spId,proto3" json:"sp_id,omitempty"`
}
func (*QuerySPGVGStatisticsRequest) Descriptor ¶ added in v1.3.0
func (*QuerySPGVGStatisticsRequest) Descriptor() ([]byte, []int)
func (*QuerySPGVGStatisticsRequest) GetSpId ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) GetSpId() uint32
func (*QuerySPGVGStatisticsRequest) Marshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) Marshal() (dAtA []byte, err error)
func (*QuerySPGVGStatisticsRequest) MarshalTo ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySPGVGStatisticsRequest) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySPGVGStatisticsRequest) ProtoMessage ¶ added in v1.3.0
func (*QuerySPGVGStatisticsRequest) ProtoMessage()
func (*QuerySPGVGStatisticsRequest) Reset ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) Reset()
func (*QuerySPGVGStatisticsRequest) Size ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) Size() (n int)
func (*QuerySPGVGStatisticsRequest) String ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) String() string
func (*QuerySPGVGStatisticsRequest) Unmarshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) Unmarshal(dAtA []byte) error
func (*QuerySPGVGStatisticsRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) XXX_DiscardUnknown()
func (*QuerySPGVGStatisticsRequest) XXX_Marshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySPGVGStatisticsRequest) XXX_Merge ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) XXX_Merge(src proto.Message)
func (*QuerySPGVGStatisticsRequest) XXX_Size ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) XXX_Size() int
func (*QuerySPGVGStatisticsRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsRequest) XXX_Unmarshal(b []byte) error
type QuerySPGVGStatisticsResponse ¶ added in v1.3.0
type QuerySPGVGStatisticsResponse struct {
GvgStats *GVGStatisticsWithinSP `protobuf:"bytes,1,opt,name=gvg_stats,json=gvgStats,proto3" json:"gvg_stats,omitempty"`
}
func (*QuerySPGVGStatisticsResponse) Descriptor ¶ added in v1.3.0
func (*QuerySPGVGStatisticsResponse) Descriptor() ([]byte, []int)
func (*QuerySPGVGStatisticsResponse) GetGvgStats ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) GetGvgStats() *GVGStatisticsWithinSP
func (*QuerySPGVGStatisticsResponse) Marshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) Marshal() (dAtA []byte, err error)
func (*QuerySPGVGStatisticsResponse) MarshalTo ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySPGVGStatisticsResponse) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySPGVGStatisticsResponse) ProtoMessage ¶ added in v1.3.0
func (*QuerySPGVGStatisticsResponse) ProtoMessage()
func (*QuerySPGVGStatisticsResponse) Reset ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) Reset()
func (*QuerySPGVGStatisticsResponse) Size ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) Size() (n int)
func (*QuerySPGVGStatisticsResponse) String ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) String() string
func (*QuerySPGVGStatisticsResponse) Unmarshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) Unmarshal(dAtA []byte) error
func (*QuerySPGVGStatisticsResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) XXX_DiscardUnknown()
func (*QuerySPGVGStatisticsResponse) XXX_Marshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySPGVGStatisticsResponse) XXX_Merge ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) XXX_Merge(src proto.Message)
func (*QuerySPGVGStatisticsResponse) XXX_Size ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) XXX_Size() int
func (*QuerySPGVGStatisticsResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *QuerySPGVGStatisticsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a global virtual group by its id. GlobalVirtualGroup(context.Context, *QueryGlobalVirtualGroupRequest) (*QueryGlobalVirtualGroupResponse, error) // Queries a list of global virtual groups by family id. GlobalVirtualGroupByFamilyID(context.Context, *QueryGlobalVirtualGroupByFamilyIDRequest) (*QueryGlobalVirtualGroupByFamilyIDResponse, error) // Queries a global virtual group family by its id. GlobalVirtualGroupFamily(context.Context, *QueryGlobalVirtualGroupFamilyRequest) (*QueryGlobalVirtualGroupFamilyResponse, error) // Queries a list of GlobalVirtualGroupFamilies items. GlobalVirtualGroupFamilies(context.Context, *QueryGlobalVirtualGroupFamiliesRequest) (*QueryGlobalVirtualGroupFamiliesResponse, error) // AvailableGlobalVirtualGroupFamilies filters a list of GlobalVirtualGroupFamilies ID which are qualified to create bucket on AvailableGlobalVirtualGroupFamilies(context.Context, *AvailableGlobalVirtualGroupFamiliesRequest) (*AvailableGlobalVirtualGroupFamiliesResponse, error) // SwapInInfo gets reserved swapIn info for a specific global virtual group family or global virtual group SwapInInfo(context.Context, *QuerySwapInInfoRequest) (*QuerySwapInInfoResponse, error) // GVGStatistics gets gvg statistics for a SP GVGStatistics(context.Context, *QuerySPGVGStatisticsRequest) (*QuerySPGVGStatisticsResponse, error) // QuerySpAvailableGlobalVirtualGroupFamilies filters a list of GlobalVirtualGroupFamilies IDs under a certain SP that are qualified to create a bucket on QuerySpAvailableGlobalVirtualGroupFamilies(context.Context, *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse, error) // QuerySpOptimalGlobalVirtualGroupFamily filters the optimal GlobalVirtualGroupFamily under a certain SP that is qualified to create a bucket on QuerySpOptimalGlobalVirtualGroupFamily(context.Context, *QuerySpOptimalGlobalVirtualGroupFamilyRequest) (*QuerySpOptimalGlobalVirtualGroupFamilyResponse, error) }
QueryServer is the server API for Query service.
type QuerySpOptimalGlobalVirtualGroupFamilyRequest ¶ added in v1.6.0
type QuerySpOptimalGlobalVirtualGroupFamilyRequest struct { SpId uint32 `protobuf:"varint,1,opt,name=sp_id,json=spId,proto3" json:"sp_id,omitempty"` PickVgfStrategy PickVGFStrategy `` /* 154-byte string literal not displayed */ }
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) Descriptor ¶ added in v1.6.0
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) Descriptor() ([]byte, []int)
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) GetPickVgfStrategy ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) GetPickVgfStrategy() PickVGFStrategy
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) GetSpId ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) GetSpId() uint32
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) Marshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Marshal() (dAtA []byte, err error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) MarshalTo ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) MarshalToSizedBuffer ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) ProtoMessage ¶ added in v1.6.0
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) ProtoMessage()
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) Reset ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Reset()
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) Size ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Size() (n int)
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) String ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) String() string
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) Unmarshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) Unmarshal(dAtA []byte) error
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_DiscardUnknown()
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Marshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Merge ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Merge(src proto.Message)
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Size ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Size() int
func (*QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Unmarshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyRequest) XXX_Unmarshal(b []byte) error
type QuerySpOptimalGlobalVirtualGroupFamilyResponse ¶ added in v1.6.0
type QuerySpOptimalGlobalVirtualGroupFamilyResponse struct {
GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */
}
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) Descriptor ¶ added in v1.6.0
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) Descriptor() ([]byte, []int)
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) GetGlobalVirtualGroupFamilyId ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) GetGlobalVirtualGroupFamilyId() uint32
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) Marshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Marshal() (dAtA []byte, err error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) MarshalTo ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) MarshalToSizedBuffer ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) ProtoMessage ¶ added in v1.6.0
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) ProtoMessage()
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) Reset ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Reset()
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) Size ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Size() (n int)
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) String ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) String() string
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) Unmarshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) Unmarshal(dAtA []byte) error
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_DiscardUnknown()
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Marshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Merge ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Merge(src proto.Message)
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Size ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Size() int
func (*QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Unmarshal ¶ added in v1.6.0
func (m *QuerySpOptimalGlobalVirtualGroupFamilyResponse) XXX_Unmarshal(b []byte) error
type QuerySwapInInfoRequest ¶ added in v1.3.0
type QuerySwapInInfoRequest struct { GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */ GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */ }
func (*QuerySwapInInfoRequest) Descriptor ¶ added in v1.3.0
func (*QuerySwapInInfoRequest) Descriptor() ([]byte, []int)
func (*QuerySwapInInfoRequest) GetGlobalVirtualGroupFamilyId ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) GetGlobalVirtualGroupFamilyId() uint32
func (*QuerySwapInInfoRequest) GetGlobalVirtualGroupId ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) GetGlobalVirtualGroupId() uint32
func (*QuerySwapInInfoRequest) Marshal ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) Marshal() (dAtA []byte, err error)
func (*QuerySwapInInfoRequest) MarshalTo ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySwapInInfoRequest) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySwapInInfoRequest) ProtoMessage ¶ added in v1.3.0
func (*QuerySwapInInfoRequest) ProtoMessage()
func (*QuerySwapInInfoRequest) Reset ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) Reset()
func (*QuerySwapInInfoRequest) Size ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) Size() (n int)
func (*QuerySwapInInfoRequest) String ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) String() string
func (*QuerySwapInInfoRequest) Unmarshal ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) Unmarshal(dAtA []byte) error
func (*QuerySwapInInfoRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) XXX_DiscardUnknown()
func (*QuerySwapInInfoRequest) XXX_Marshal ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySwapInInfoRequest) XXX_Merge ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) XXX_Merge(src proto.Message)
func (*QuerySwapInInfoRequest) XXX_Size ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) XXX_Size() int
func (*QuerySwapInInfoRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *QuerySwapInInfoRequest) XXX_Unmarshal(b []byte) error
type QuerySwapInInfoResponse ¶ added in v1.3.0
type QuerySwapInInfoResponse struct {
SwapInInfo *SwapInInfo `protobuf:"bytes,1,opt,name=swap_in_info,json=swapInInfo,proto3" json:"swap_in_info,omitempty"`
}
func (*QuerySwapInInfoResponse) Descriptor ¶ added in v1.3.0
func (*QuerySwapInInfoResponse) Descriptor() ([]byte, []int)
func (*QuerySwapInInfoResponse) GetSwapInInfo ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) GetSwapInInfo() *SwapInInfo
func (*QuerySwapInInfoResponse) Marshal ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) Marshal() (dAtA []byte, err error)
func (*QuerySwapInInfoResponse) MarshalTo ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySwapInInfoResponse) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySwapInInfoResponse) ProtoMessage ¶ added in v1.3.0
func (*QuerySwapInInfoResponse) ProtoMessage()
func (*QuerySwapInInfoResponse) Reset ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) Reset()
func (*QuerySwapInInfoResponse) Size ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) Size() (n int)
func (*QuerySwapInInfoResponse) String ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) String() string
func (*QuerySwapInInfoResponse) Unmarshal ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) Unmarshal(dAtA []byte) error
func (*QuerySwapInInfoResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) XXX_DiscardUnknown()
func (*QuerySwapInInfoResponse) XXX_Marshal ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySwapInInfoResponse) XXX_Merge ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) XXX_Merge(src proto.Message)
func (*QuerySwapInInfoResponse) XXX_Size ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) XXX_Size() int
func (*QuerySwapInInfoResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *QuerySwapInInfoResponse) XXX_Unmarshal(b []byte) error
type SpKeeper ¶
type SpKeeper interface { GetStorageProvider(ctx sdk.Context, id uint32) (sp *sptypes.StorageProvider, found bool) GetStorageProviderByOperatorAddr(ctx sdk.Context, addr sdk.AccAddress) (sp *sptypes.StorageProvider, found bool) GetStorageProviderByFundingAddr(ctx sdk.Context, sealAddr sdk.AccAddress) (sp *sptypes.StorageProvider, found bool) SetStorageProvider(ctx sdk.Context, sp *sptypes.StorageProvider) Exit(ctx sdk.Context, sp *sptypes.StorageProvider) error DepositDenomForSP(ctx sdk.Context) (res string) GetAllStorageProviders(ctx sdk.Context) (sps []sptypes.StorageProvider) }
type StorageKeeper ¶ added in v1.1.0
type SwapInInfo ¶ added in v1.3.0
type SwapInInfo struct { // successor_sp_id defines the id of SP who wants to join the family or GVG SuccessorSpId uint32 `protobuf:"varint,1,opt,name=successor_sp_id,json=successorSpId,proto3" json:"successor_sp_id,omitempty"` // target_sp_id is the id of SP in the family or GVG to be swapped. TargetSpId uint32 `protobuf:"varint,2,opt,name=target_sp_id,json=targetSpId,proto3" json:"target_sp_id,omitempty"` // expiration_time is the expiration of epoch time for the swapInInfo ExpirationTime uint64 `protobuf:"varint,3,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` }
func (*SwapInInfo) Descriptor ¶ added in v1.3.0
func (*SwapInInfo) Descriptor() ([]byte, []int)
func (*SwapInInfo) GetExpirationTime ¶ added in v1.3.0
func (m *SwapInInfo) GetExpirationTime() uint64
func (*SwapInInfo) GetSuccessorSpId ¶ added in v1.3.0
func (m *SwapInInfo) GetSuccessorSpId() uint32
func (*SwapInInfo) GetTargetSpId ¶ added in v1.3.0
func (m *SwapInInfo) GetTargetSpId() uint32
func (*SwapInInfo) Marshal ¶ added in v1.3.0
func (m *SwapInInfo) Marshal() (dAtA []byte, err error)
func (*SwapInInfo) MarshalTo ¶ added in v1.3.0
func (m *SwapInInfo) MarshalTo(dAtA []byte) (int, error)
func (*SwapInInfo) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *SwapInInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapInInfo) ProtoMessage ¶ added in v1.3.0
func (*SwapInInfo) ProtoMessage()
func (*SwapInInfo) Reset ¶ added in v1.3.0
func (m *SwapInInfo) Reset()
func (*SwapInInfo) Size ¶ added in v1.3.0
func (m *SwapInInfo) Size() (n int)
func (*SwapInInfo) String ¶ added in v1.3.0
func (m *SwapInInfo) String() string
func (*SwapInInfo) Unmarshal ¶ added in v1.3.0
func (m *SwapInInfo) Unmarshal(dAtA []byte) error
func (*SwapInInfo) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *SwapInInfo) XXX_DiscardUnknown()
func (*SwapInInfo) XXX_Marshal ¶ added in v1.3.0
func (m *SwapInInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapInInfo) XXX_Merge ¶ added in v1.3.0
func (m *SwapInInfo) XXX_Merge(src proto.Message)
func (*SwapInInfo) XXX_Size ¶ added in v1.3.0
func (m *SwapInInfo) XXX_Size() int
func (*SwapInInfo) XXX_Unmarshal ¶ added in v1.3.0
func (m *SwapInInfo) XXX_Unmarshal(b []byte) error
type SwapOutInfo ¶
type SwapOutInfo struct { // sp_id is the unique id of the storage provider who want to swap out. SpId uint32 `protobuf:"varint,1,opt,name=sp_id,json=spId,proto3" json:"sp_id,omitempty"` // successor_sp_id is the id of the successor storage provider. SuccessorSpId uint32 `protobuf:"varint,2,opt,name=successor_sp_id,json=successorSpId,proto3" json:"successor_sp_id,omitempty"` }
func (*SwapOutInfo) Descriptor ¶
func (*SwapOutInfo) Descriptor() ([]byte, []int)
func (*SwapOutInfo) GetSpId ¶
func (m *SwapOutInfo) GetSpId() uint32
func (*SwapOutInfo) GetSuccessorSpId ¶
func (m *SwapOutInfo) GetSuccessorSpId() uint32
func (*SwapOutInfo) Marshal ¶
func (m *SwapOutInfo) Marshal() (dAtA []byte, err error)
func (*SwapOutInfo) MarshalToSizedBuffer ¶
func (m *SwapOutInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapOutInfo) ProtoMessage ¶
func (*SwapOutInfo) ProtoMessage()
func (*SwapOutInfo) Reset ¶
func (m *SwapOutInfo) Reset()
func (*SwapOutInfo) Size ¶
func (m *SwapOutInfo) Size() (n int)
func (*SwapOutInfo) String ¶
func (m *SwapOutInfo) String() string
func (*SwapOutInfo) Unmarshal ¶
func (m *SwapOutInfo) Unmarshal(dAtA []byte) error
func (*SwapOutInfo) XXX_DiscardUnknown ¶
func (m *SwapOutInfo) XXX_DiscardUnknown()
func (*SwapOutInfo) XXX_Marshal ¶
func (m *SwapOutInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapOutInfo) XXX_Merge ¶
func (m *SwapOutInfo) XXX_Merge(src proto.Message)
func (*SwapOutInfo) XXX_Size ¶
func (m *SwapOutInfo) XXX_Size() int
func (*SwapOutInfo) XXX_Unmarshal ¶
func (m *SwapOutInfo) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelSwapIn ¶ added in v1.3.0
func (*UnimplementedMsgServer) CancelSwapIn(ctx context.Context, req *MsgCancelSwapIn) (*MsgCancelSwapInResponse, error)
func (*UnimplementedMsgServer) CancelSwapOut ¶
func (*UnimplementedMsgServer) CancelSwapOut(ctx context.Context, req *MsgCancelSwapOut) (*MsgCancelSwapOutResponse, error)
func (*UnimplementedMsgServer) CompleteStorageProviderExit ¶
func (*UnimplementedMsgServer) CompleteStorageProviderExit(ctx context.Context, req *MsgCompleteStorageProviderExit) (*MsgCompleteStorageProviderExitResponse, error)
func (*UnimplementedMsgServer) CompleteSwapIn ¶ added in v1.3.0
func (*UnimplementedMsgServer) CompleteSwapIn(ctx context.Context, req *MsgCompleteSwapIn) (*MsgCompleteSwapInResponse, error)
func (*UnimplementedMsgServer) CompleteSwapOut ¶
func (*UnimplementedMsgServer) CompleteSwapOut(ctx context.Context, req *MsgCompleteSwapOut) (*MsgCompleteSwapOutResponse, error)
func (*UnimplementedMsgServer) CreateGlobalVirtualGroup ¶
func (*UnimplementedMsgServer) CreateGlobalVirtualGroup(ctx context.Context, req *MsgCreateGlobalVirtualGroup) (*MsgCreateGlobalVirtualGroupResponse, error)
func (*UnimplementedMsgServer) DeleteGlobalVirtualGroup ¶
func (*UnimplementedMsgServer) DeleteGlobalVirtualGroup(ctx context.Context, req *MsgDeleteGlobalVirtualGroup) (*MsgDeleteGlobalVirtualGroupResponse, error)
func (*UnimplementedMsgServer) Deposit ¶
func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
func (*UnimplementedMsgServer) ReserveSwapIn ¶ added in v1.3.0
func (*UnimplementedMsgServer) ReserveSwapIn(ctx context.Context, req *MsgReserveSwapIn) (*MsgReserveSwapInResponse, error)
func (*UnimplementedMsgServer) Settle ¶
func (*UnimplementedMsgServer) Settle(ctx context.Context, req *MsgSettle) (*MsgSettleResponse, error)
func (*UnimplementedMsgServer) StorageProviderExit ¶
func (*UnimplementedMsgServer) StorageProviderExit(ctx context.Context, req *MsgStorageProviderExit) (*MsgStorageProviderExitResponse, error)
func (*UnimplementedMsgServer) StorageProviderForcedExit ¶ added in v1.3.0
func (*UnimplementedMsgServer) StorageProviderForcedExit(ctx context.Context, req *MsgStorageProviderForcedExit) (*MsgStorageProviderForcedExitResponse, error)
func (*UnimplementedMsgServer) SwapOut ¶
func (*UnimplementedMsgServer) SwapOut(ctx context.Context, req *MsgSwapOut) (*MsgSwapOutResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) Withdraw ¶
func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AvailableGlobalVirtualGroupFamilies ¶
func (*UnimplementedQueryServer) AvailableGlobalVirtualGroupFamilies(ctx context.Context, req *AvailableGlobalVirtualGroupFamiliesRequest) (*AvailableGlobalVirtualGroupFamiliesResponse, error)
func (*UnimplementedQueryServer) GVGStatistics ¶ added in v1.3.0
func (*UnimplementedQueryServer) GVGStatistics(ctx context.Context, req *QuerySPGVGStatisticsRequest) (*QuerySPGVGStatisticsResponse, error)
func (*UnimplementedQueryServer) GlobalVirtualGroup ¶
func (*UnimplementedQueryServer) GlobalVirtualGroup(ctx context.Context, req *QueryGlobalVirtualGroupRequest) (*QueryGlobalVirtualGroupResponse, error)
func (*UnimplementedQueryServer) GlobalVirtualGroupByFamilyID ¶
func (*UnimplementedQueryServer) GlobalVirtualGroupByFamilyID(ctx context.Context, req *QueryGlobalVirtualGroupByFamilyIDRequest) (*QueryGlobalVirtualGroupByFamilyIDResponse, error)
func (*UnimplementedQueryServer) GlobalVirtualGroupFamilies ¶
func (*UnimplementedQueryServer) GlobalVirtualGroupFamilies(ctx context.Context, req *QueryGlobalVirtualGroupFamiliesRequest) (*QueryGlobalVirtualGroupFamiliesResponse, error)
func (*UnimplementedQueryServer) GlobalVirtualGroupFamily ¶
func (*UnimplementedQueryServer) GlobalVirtualGroupFamily(ctx context.Context, req *QueryGlobalVirtualGroupFamilyRequest) (*QueryGlobalVirtualGroupFamilyResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QuerySpAvailableGlobalVirtualGroupFamilies ¶ added in v1.6.0
func (*UnimplementedQueryServer) QuerySpAvailableGlobalVirtualGroupFamilies(ctx context.Context, req *QuerySPAvailableGlobalVirtualGroupFamiliesRequest) (*QuerySPAvailableGlobalVirtualGroupFamiliesResponse, error)
func (*UnimplementedQueryServer) QuerySpOptimalGlobalVirtualGroupFamily ¶ added in v1.6.0
func (*UnimplementedQueryServer) QuerySpOptimalGlobalVirtualGroupFamily(ctx context.Context, req *QuerySpOptimalGlobalVirtualGroupFamilyRequest) (*QuerySpOptimalGlobalVirtualGroupFamilyResponse, error)
func (*UnimplementedQueryServer) SwapInInfo ¶ added in v1.3.0
func (*UnimplementedQueryServer) SwapInInfo(ctx context.Context, req *QuerySwapInInfoRequest) (*QuerySwapInInfoResponse, error)
Source Files ¶
- codec.go
- common.pb.go
- errors.go
- events.pb.go
- expected_keepers.go
- expected_keepers_mocks.go
- genesis.go
- genesis.pb.go
- keys.go
- message.go
- message_cancel_swap_out.go
- message_complete_storage_provider_exit.go
- message_complete_swap_out.go
- message_storage_provider_exit.go
- message_storage_provider_forced_exit.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go
- types.pb.go