types

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2023 License: AGPL-3.0 Imports: 39 Imported by: 25

Documentation

Overview

Package types is a generated GoMock package.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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)
)
View Source
const (
	TypeMsgCreateGlobalVirtualGroup = "create_global_virtual_group"
	TypeMsgDeleteGlobalVirtualGroup = "delete_global_virtual_group"
	TypeMsgDeposit                  = "deposit"
	TypeMsgWithdraw                 = "withdraw"
	TypeMsgSwapOut                  = "swap_out"
	TypeMsgUpdateParams             = "update_params"
	TypeMsgSettle                   = "settle"
)
View Source
const (
	// DefaultDepositDenom Dafault deposit denom
	DefaultDepositDenom = "BNB"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const TypeMsgCancelSwapOut = "cancel_swap_out"
View Source
const TypeMsgCompleteStorageProviderExit = "complete_storage_provider_exit"
View Source
const TypeMsgCompleteSwapOut = "complete_swap_out"
View Source
const TypeMsgStorageProviderExit = "storage_provider_exit"

Variables

View Source
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.")

	ErrLimitationExceed    = errors.Register(ModuleName, 1123, "limitation exceed.")
	ErrInsufficientStaking = errors.Register(ModuleName, 1125, "insufficient staking for gvg")

	ErrInvalidDenom = errors.Register(ModuleName, 2000, "Invalid denom.")
)

x/virtualgroup module sentinel errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ParamsKey = []byte{0x01}

	GVGKey       = []byte{0x21}
	GVGFamilyKey = []byte{0x22}

	GVGSequencePrefix       = []byte{0x32}
	GVGFamilySequencePrefix = []byte{0x33}

	GVGStatisticsWithinSPKey = []byte{0x41}

	SwapOutFamilyKey = []byte{0x51}
	SwapOutGVGKey    = []byte{0x61}
)
View Source
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

	KeyDepositDenom                      = []byte("DepositDenom")
	KeyGVGStakingPerBytes                = []byte("GVGStakingPerBytes")
	KeyMaxGlobalVirtualGroupNumPerFamily = []byte("MaxGlobalVirtualGroupNumPerFamily")
	KeyMaxStoreSizePerFamily             = []byte("MaxStoreSizePerFamily")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

func GetGVGFamilyKey

func GetGVGFamilyKey(familyID uint32) []byte

func GetGVGKey

func GetGVGKey(gvgID uint32) []byte

func GetGVGStatisticsWithinSPKey

func GetGVGStatisticsWithinSPKey(spID uint32) []byte

func GetSwapOutFamilyKey

func GetSwapOutFamilyKey(globalVirtualGroupFamilyID uint32) []byte

func GetSwapOutGVGKey

func GetSwapOutGVGKey(globalVirtualGroupID uint32) []byte

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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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) 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) Reset

func (*AvailableGlobalVirtualGroupFamiliesRequest) Size

func (*AvailableGlobalVirtualGroupFamiliesRequest) String

func (*AvailableGlobalVirtualGroupFamiliesRequest) Unmarshal

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 (*AvailableGlobalVirtualGroupFamiliesRequest) XXX_Size

func (*AvailableGlobalVirtualGroupFamiliesRequest) XXX_Unmarshal

type AvailableGlobalVirtualGroupFamiliesResponse

type AvailableGlobalVirtualGroupFamiliesResponse struct {
	GlobalVirtualGroupFamilyIds []uint32 `` /* 156-byte string literal not displayed */
}

func (*AvailableGlobalVirtualGroupFamiliesResponse) Descriptor

func (*AvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds

func (m *AvailableGlobalVirtualGroupFamiliesResponse) GetGlobalVirtualGroupFamilyIds() []uint32

func (*AvailableGlobalVirtualGroupFamiliesResponse) Marshal

func (m *AvailableGlobalVirtualGroupFamiliesResponse) Marshal() (dAtA []byte, err error)

func (*AvailableGlobalVirtualGroupFamiliesResponse) MarshalTo

func (*AvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer

func (m *AvailableGlobalVirtualGroupFamiliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AvailableGlobalVirtualGroupFamiliesResponse) ProtoMessage

func (*AvailableGlobalVirtualGroupFamiliesResponse) Reset

func (*AvailableGlobalVirtualGroupFamiliesResponse) Size

func (*AvailableGlobalVirtualGroupFamiliesResponse) String

func (*AvailableGlobalVirtualGroupFamiliesResponse) Unmarshal

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 (*AvailableGlobalVirtualGroupFamiliesResponse) XXX_Size

func (*AvailableGlobalVirtualGroupFamiliesResponse) XXX_Unmarshal

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 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 initial the complete exit transaction
	OperatorAddress string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
	// 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 */
}

func (*EventCompleteStorageProviderExit) Descriptor

func (*EventCompleteStorageProviderExit) Descriptor() ([]byte, []int)

func (*EventCompleteStorageProviderExit) GetOperatorAddress

func (m *EventCompleteStorageProviderExit) GetOperatorAddress() 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 (*EventCompleteStorageProviderExit) Size

func (m *EventCompleteStorageProviderExit) Size() (n int)

func (*EventCompleteStorageProviderExit) 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 (*EventCompleteStorageProviderExit) XXX_Size

func (m *EventCompleteStorageProviderExit) XXX_Size() int

func (*EventCompleteStorageProviderExit) XXX_Unmarshal

func (m *EventCompleteStorageProviderExit) 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 (*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 (*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 (*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 (*EventCreateGlobalVirtualGroupFamily) Size

func (*EventCreateGlobalVirtualGroupFamily) 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 (*EventCreateGlobalVirtualGroupFamily) XXX_Size

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 (*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 (*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 (*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 (*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 (*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 (*EventDeleteGlobalVirtualGroupFamily) Size

func (*EventDeleteGlobalVirtualGroupFamily) 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 (*EventDeleteGlobalVirtualGroupFamily) XXX_Size

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 (*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 (*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 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 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) MarshalTo

func (m *EventSwapOut) MarshalTo(dAtA []byte) (int, 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 (*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 (*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 (*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 (*EventUpdateGlobalVirtualGroupFamily) Size

func (*EventUpdateGlobalVirtualGroupFamily) 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 (*EventUpdateGlobalVirtualGroupFamily) XXX_Size

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 (*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 (*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 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_sp_family_count defines the number of the family 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"`
}

func (*GVGStatisticsWithinSP) Descriptor

func (*GVGStatisticsWithinSP) Descriptor() ([]byte, []int)

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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 (*GlobalVirtualGroupsBindingOnBucket) Size

func (*GlobalVirtualGroupsBindingOnBucket) 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 (*GlobalVirtualGroupsBindingOnBucket) XXX_Size

func (*GlobalVirtualGroupsBindingOnBucket) XXX_Unmarshal

func (m *GlobalVirtualGroupsBindingOnBucket) XXX_Unmarshal(b []byte) error

type Int

type Int = sdkmath.Int

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

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

func (m *MockAccountKeeper) IterateAccounts(ctx types0.Context, process func(types1.AccountI) bool)

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

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSpKeeper) Exit

Exit 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) 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 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) MarshalTo

func (m *MsgCancelSwapOut) MarshalTo(dAtA []byte) (int, 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 {
	// this line is used by starport scaffolding # proto/tx/import
	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)
}

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 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 NewMsgCompleteStorageProviderExit

func NewMsgCompleteStorageProviderExit(operator sdk.AccAddress) *MsgCompleteStorageProviderExit

func (*MsgCompleteStorageProviderExit) Descriptor

func (*MsgCompleteStorageProviderExit) Descriptor() ([]byte, []int)

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 (*MsgCompleteStorageProviderExit) Size

func (m *MsgCompleteStorageProviderExit) Size() (n int)

func (*MsgCompleteStorageProviderExit) String

func (*MsgCompleteStorageProviderExit) Type

func (*MsgCompleteStorageProviderExit) Unmarshal

func (m *MsgCompleteStorageProviderExit) Unmarshal(dAtA []byte) error

func (*MsgCompleteStorageProviderExit) ValidateBasic

func (msg *MsgCompleteStorageProviderExit) ValidateBasic() 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) Reset

func (*MsgCompleteStorageProviderExitResponse) Size

func (*MsgCompleteStorageProviderExitResponse) 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 (*MsgCompleteStorageProviderExitResponse) XXX_Size

func (*MsgCompleteStorageProviderExitResponse) XXX_Unmarshal

func (m *MsgCompleteStorageProviderExitResponse) 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 (*MsgCreateGlobalVirtualGroupResponse) Size

func (*MsgCreateGlobalVirtualGroupResponse) 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 (*MsgCreateGlobalVirtualGroupResponse) XXX_Size

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 (*MsgDeleteGlobalVirtualGroupResponse) Size

func (*MsgDeleteGlobalVirtualGroupResponse) 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 (*MsgDeleteGlobalVirtualGroupResponse) XXX_Size

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) MarshalTo

func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, 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 MsgServer

MsgServer is the server API for Msg service.

type MsgSettle

type MsgSettle struct {
	// storage_provider defines the operator/funding account address of the storage provider who initial settle request.
	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(fundingAddress sdk.AccAddress, globalVirtualGroupFamilyID uint32, globalVirtualGroupIDs []uint32) *MsgSettle

func (*MsgSettle) Descriptor

func (*MsgSettle) Descriptor() ([]byte, []int)

func (*MsgSettle) GetGlobalVirtualGroupFamilyId

func (m *MsgSettle) GetGlobalVirtualGroupFamilyId() uint32

func (*MsgSettle) GetGlobalVirtualGroupIds

func (m *MsgSettle) GetGlobalVirtualGroupIds() []uint32

func (*MsgSettle) GetSignBytes

func (msg *MsgSettle) GetSignBytes() []byte

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 (m *MsgSettle) GetStorageProvider() string

func (*MsgSettle) Marshal

func (m *MsgSettle) Marshal() (dAtA []byte, err error)

func (*MsgSettle) MarshalTo

func (m *MsgSettle) MarshalTo(dAtA []byte) (int, error)

func (*MsgSettle) MarshalToSizedBuffer

func (m *MsgSettle) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSettle) ProtoMessage

func (*MsgSettle) ProtoMessage()

func (*MsgSettle) Reset

func (m *MsgSettle) Reset()

func (*MsgSettle) Route

func (msg *MsgSettle) Route() string

func (*MsgSettle) Size

func (m *MsgSettle) Size() (n int)

func (*MsgSettle) String

func (m *MsgSettle) String() string

func (*MsgSettle) Type

func (msg *MsgSettle) Type() string

func (*MsgSettle) Unmarshal

func (m *MsgSettle) Unmarshal(dAtA []byte) error

func (*MsgSettle) ValidateBasic

func (msg *MsgSettle) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgSettle) XXX_DiscardUnknown

func (m *MsgSettle) XXX_DiscardUnknown()

func (*MsgSettle) XXX_Marshal

func (m *MsgSettle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSettle) XXX_Merge

func (m *MsgSettle) XXX_Merge(src proto.Message)

func (*MsgSettle) XXX_Size

func (m *MsgSettle) XXX_Size() int

func (*MsgSettle) XXX_Unmarshal

func (m *MsgSettle) XXX_Unmarshal(b []byte) error

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"`
}

this line is used by starport scaffolding # proto/tx/message

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 (*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 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) MarshalTo

func (m *MsgSwapOut) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, 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 */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(depositDenom string, gvgStakingPerBytes math.Int, maxGlobalVirtualGroupPerFamily uint32,
	maxStoreSizePerFamily uint64) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetDepositDenom

func (m *Params) GetDepositDenom() string

func (*Params) GetMaxGlobalVirtualGroupNumPerFamily

func (m *Params) GetMaxGlobalVirtualGroupNumPerFamily() uint32

func (*Params) GetMaxLocalVirtualGroupNumPerBucket

func (m *Params) GetMaxLocalVirtualGroupNumPerBucket() uint32

func (*Params) GetMaxStoreSizePerFamily

func (m *Params) GetMaxStoreSizePerFamily() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type PaymentKeeper

type PaymentKeeper interface {
	QueryDynamicBalance(ctx sdk.Context, addr sdk.AccAddress) (amount sdkmath.Int, err error)
	Withdraw(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amount sdkmath.Int) error
	IsEmptyNetFlow(ctx sdk.Context, account sdk.AccAddress) bool
}

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)
}

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) Reset

func (*QueryGlobalVirtualGroupByFamilyIDRequest) Size

func (*QueryGlobalVirtualGroupByFamilyIDRequest) String

func (*QueryGlobalVirtualGroupByFamilyIDRequest) Unmarshal

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 (*QueryGlobalVirtualGroupByFamilyIDRequest) XXX_Size

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) Reset

func (*QueryGlobalVirtualGroupByFamilyIDResponse) Size

func (*QueryGlobalVirtualGroupByFamilyIDResponse) String

func (*QueryGlobalVirtualGroupByFamilyIDResponse) Unmarshal

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 (*QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Size

func (*QueryGlobalVirtualGroupByFamilyIDResponse) XXX_Unmarshal

type QueryGlobalVirtualGroupFamiliesRequest

type QueryGlobalVirtualGroupFamiliesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

this line is used by starport scaffolding # 3

func (*QueryGlobalVirtualGroupFamiliesRequest) Descriptor

func (*QueryGlobalVirtualGroupFamiliesRequest) Descriptor() ([]byte, []int)

func (*QueryGlobalVirtualGroupFamiliesRequest) GetPagination

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) Reset

func (*QueryGlobalVirtualGroupFamiliesRequest) Size

func (*QueryGlobalVirtualGroupFamiliesRequest) 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 (*QueryGlobalVirtualGroupFamiliesRequest) XXX_Size

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 (*QueryGlobalVirtualGroupFamiliesResponse) GetPagination

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) Reset

func (*QueryGlobalVirtualGroupFamiliesResponse) Size

func (*QueryGlobalVirtualGroupFamiliesResponse) 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 (*QueryGlobalVirtualGroupFamiliesResponse) XXX_Size

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 (*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 (*QueryGlobalVirtualGroupFamilyRequest) Size

func (*QueryGlobalVirtualGroupFamilyRequest) 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 (*QueryGlobalVirtualGroupFamilyRequest) XXX_Size

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 (*QueryGlobalVirtualGroupFamilyResponse) Size

func (*QueryGlobalVirtualGroupFamilyResponse) 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 (*QueryGlobalVirtualGroupFamilyResponse) XXX_Size

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 (*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 (*QueryGlobalVirtualGroupResponse) Size

func (m *QueryGlobalVirtualGroupResponse) Size() (n int)

func (*QueryGlobalVirtualGroupResponse) 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 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)
}

QueryServer is the server API for Query service.

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)
}

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) MarshalTo

func (m *SwapOutInfo) MarshalTo(dAtA []byte) (int, 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 Uint

type Uint = sdkmath.Uint

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CancelSwapOut

func (*UnimplementedMsgServer) CompleteSwapOut

func (*UnimplementedMsgServer) CreateGlobalVirtualGroup

func (*UnimplementedMsgServer) DeleteGlobalVirtualGroup

func (*UnimplementedMsgServer) Deposit

func (*UnimplementedMsgServer) Settle

func (*UnimplementedMsgServer) StorageProviderExit

func (*UnimplementedMsgServer) SwapOut

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GlobalVirtualGroup

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL