Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CheckValidBucketName(bucketName string) (err error)
- func CheckValidContentType(contentType string) error
- func CheckValidExpectChecksums(expectChecksums [][]byte) error
- func CheckValidGroupName(groupName string) error
- func CheckValidObjectName(objectName string) error
- func GetBucketKey(bucketName string) []byte
- func GetGroupKey(owner string, groupName string) []byte
- func GetGroupMemberKey(groupId math.Uint, memberAcc string) []byte
- func GetObjectKey(bucketName string, objectName string) []byte
- func MustMarshalUint(n sdkmath.Uint) []byte
- func MustUnmarshalUint(data []byte) sdkmath.Uint
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func VerifySignature(sigAccAddress sdk.AccAddress, sigHash []byte, sig []byte) error
- type AccountKeeper
- type Approval
- func (*Approval) Descriptor() ([]byte, []int)
- func (m *Approval) GetExpiredHeight() uint64
- func (m *Approval) GetSig() []byte
- func (m *Approval) Marshal() (dAtA []byte, err error)
- func (m *Approval) MarshalTo(dAtA []byte) (int, error)
- func (m *Approval) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Approval) ProtoMessage()
- func (m *Approval) Reset()
- func (m *Approval) Size() (n int)
- func (m *Approval) String() string
- func (m *Approval) Unmarshal(dAtA []byte) error
- func (m *Approval) XXX_DiscardUnknown()
- func (m *Approval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Approval) XXX_Merge(src proto.Message)
- func (m *Approval) XXX_Size() int
- func (m *Approval) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BucketInfo
- func (*BucketInfo) Descriptor() ([]byte, []int)
- func (m *BucketInfo) GetBucketName() string
- func (m *BucketInfo) GetCreateAt() int64
- func (m *BucketInfo) GetIsPublic() bool
- func (m *BucketInfo) GetOwner() string
- func (m *BucketInfo) GetPaymentAddress() string
- func (m *BucketInfo) GetPaymentOutFlows() []types.OutFlowInUSD
- func (m *BucketInfo) GetPaymentPriceTime() int64
- func (m *BucketInfo) GetPrimarySpAddress() string
- func (m *BucketInfo) GetReadQuota() ReadQuota
- func (m *BucketInfo) GetSourceType() SourceType
- func (m *BucketInfo) Marshal() (dAtA []byte, err error)
- func (m *BucketInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *BucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BucketInfo) ProtoMessage()
- func (m *BucketInfo) Reset()
- func (m *BucketInfo) Size() (n int)
- func (m *BucketInfo) String() string
- func (m *BucketInfo) Unmarshal(dAtA []byte) error
- func (m *BucketInfo) XXX_DiscardUnknown()
- func (m *BucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BucketInfo) XXX_Merge(src proto.Message)
- func (m *BucketInfo) XXX_Size() int
- func (m *BucketInfo) XXX_Unmarshal(b []byte) error
- type EventCancelCreateObject
- func (*EventCancelCreateObject) Descriptor() ([]byte, []int)
- func (m *EventCancelCreateObject) GetBucketName() string
- func (m *EventCancelCreateObject) GetObjectName() string
- func (m *EventCancelCreateObject) GetOperatorAddress() string
- func (m *EventCancelCreateObject) GetPrimarySpAddress() string
- func (m *EventCancelCreateObject) Marshal() (dAtA []byte, err error)
- func (m *EventCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancelCreateObject) ProtoMessage()
- func (m *EventCancelCreateObject) Reset()
- func (m *EventCancelCreateObject) Size() (n int)
- func (m *EventCancelCreateObject) String() string
- func (m *EventCancelCreateObject) Unmarshal(dAtA []byte) error
- func (m *EventCancelCreateObject) XXX_DiscardUnknown()
- func (m *EventCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancelCreateObject) XXX_Merge(src proto.Message)
- func (m *EventCancelCreateObject) XXX_Size() int
- func (m *EventCancelCreateObject) XXX_Unmarshal(b []byte) error
- type EventCopyObject
- func (*EventCopyObject) Descriptor() ([]byte, []int)
- func (m *EventCopyObject) GetDstBucketName() string
- func (m *EventCopyObject) GetDstObjectName() string
- func (m *EventCopyObject) GetOperatorAddress() string
- func (m *EventCopyObject) GetSrcBucketName() string
- func (m *EventCopyObject) GetSrcObjectName() string
- func (m *EventCopyObject) Marshal() (dAtA []byte, err error)
- func (m *EventCopyObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCopyObject) ProtoMessage()
- func (m *EventCopyObject) Reset()
- func (m *EventCopyObject) Size() (n int)
- func (m *EventCopyObject) String() string
- func (m *EventCopyObject) Unmarshal(dAtA []byte) error
- func (m *EventCopyObject) XXX_DiscardUnknown()
- func (m *EventCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCopyObject) XXX_Merge(src proto.Message)
- func (m *EventCopyObject) XXX_Size() int
- func (m *EventCopyObject) XXX_Unmarshal(b []byte) error
- type EventCreateBucket
- func (*EventCreateBucket) Descriptor() ([]byte, []int)
- func (m *EventCreateBucket) GetBucketName() string
- func (m *EventCreateBucket) GetCreateAt() int64
- func (m *EventCreateBucket) GetIsPublic() bool
- func (m *EventCreateBucket) GetOwnerAddress() string
- func (m *EventCreateBucket) GetPaymentAddress() string
- func (m *EventCreateBucket) GetPrimarySpAddress() string
- func (m *EventCreateBucket) GetReadQuota() ReadQuota
- func (m *EventCreateBucket) GetSourceType() SourceType
- func (m *EventCreateBucket) Marshal() (dAtA []byte, err error)
- func (m *EventCreateBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateBucket) ProtoMessage()
- func (m *EventCreateBucket) Reset()
- func (m *EventCreateBucket) Size() (n int)
- func (m *EventCreateBucket) String() string
- func (m *EventCreateBucket) Unmarshal(dAtA []byte) error
- func (m *EventCreateBucket) XXX_DiscardUnknown()
- func (m *EventCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateBucket) XXX_Merge(src proto.Message)
- func (m *EventCreateBucket) XXX_Size() int
- func (m *EventCreateBucket) XXX_Unmarshal(b []byte) error
- type EventCreateGroup
- func (*EventCreateGroup) Descriptor() ([]byte, []int)
- func (m *EventCreateGroup) GetGroupName() string
- func (m *EventCreateGroup) GetMembers() []string
- func (m *EventCreateGroup) GetOwnerAddress() string
- func (m *EventCreateGroup) GetSourceType() SourceType
- func (m *EventCreateGroup) Marshal() (dAtA []byte, err error)
- func (m *EventCreateGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateGroup) ProtoMessage()
- func (m *EventCreateGroup) Reset()
- func (m *EventCreateGroup) Size() (n int)
- func (m *EventCreateGroup) String() string
- func (m *EventCreateGroup) Unmarshal(dAtA []byte) error
- func (m *EventCreateGroup) XXX_DiscardUnknown()
- func (m *EventCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateGroup) XXX_Merge(src proto.Message)
- func (m *EventCreateGroup) XXX_Size() int
- func (m *EventCreateGroup) XXX_Unmarshal(b []byte) error
- type EventCreateObject
- func (*EventCreateObject) Descriptor() ([]byte, []int)
- func (m *EventCreateObject) GetBucketName() string
- func (m *EventCreateObject) GetChecksums() [][]byte
- func (m *EventCreateObject) GetContentType() string
- func (m *EventCreateObject) GetCreateAt() int64
- func (m *EventCreateObject) GetCreatorAddress() string
- func (m *EventCreateObject) GetIsPublic() bool
- func (m *EventCreateObject) GetObjectName() string
- func (m *EventCreateObject) GetOwnerAddress() string
- func (m *EventCreateObject) GetPayloadSize() uint64
- func (m *EventCreateObject) GetPrimarySpAddress() string
- func (m *EventCreateObject) GetRedundancyType() RedundancyType
- func (m *EventCreateObject) GetSourceType() SourceType
- func (m *EventCreateObject) GetStatus() ObjectStatus
- func (m *EventCreateObject) Marshal() (dAtA []byte, err error)
- func (m *EventCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateObject) ProtoMessage()
- func (m *EventCreateObject) Reset()
- func (m *EventCreateObject) Size() (n int)
- func (m *EventCreateObject) String() string
- func (m *EventCreateObject) Unmarshal(dAtA []byte) error
- func (m *EventCreateObject) XXX_DiscardUnknown()
- func (m *EventCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateObject) XXX_Merge(src proto.Message)
- func (m *EventCreateObject) XXX_Size() int
- func (m *EventCreateObject) XXX_Unmarshal(b []byte) error
- type EventDeleteBucket
- func (*EventDeleteBucket) Descriptor() ([]byte, []int)
- func (m *EventDeleteBucket) GetBucketName() string
- func (m *EventDeleteBucket) GetOperatorAddress() string
- func (m *EventDeleteBucket) GetOwnerAddress() string
- func (m *EventDeleteBucket) GetPrimarySpAddress() string
- func (m *EventDeleteBucket) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteBucket) ProtoMessage()
- func (m *EventDeleteBucket) Reset()
- func (m *EventDeleteBucket) Size() (n int)
- func (m *EventDeleteBucket) String() string
- func (m *EventDeleteBucket) Unmarshal(dAtA []byte) error
- func (m *EventDeleteBucket) XXX_DiscardUnknown()
- func (m *EventDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteBucket) XXX_Merge(src proto.Message)
- func (m *EventDeleteBucket) XXX_Size() int
- func (m *EventDeleteBucket) XXX_Unmarshal(b []byte) error
- type EventDeleteGroup
- func (*EventDeleteGroup) Descriptor() ([]byte, []int)
- func (m *EventDeleteGroup) GetGroupName() string
- func (m *EventDeleteGroup) GetOwnerAddress() string
- func (m *EventDeleteGroup) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteGroup) ProtoMessage()
- func (m *EventDeleteGroup) Reset()
- func (m *EventDeleteGroup) Size() (n int)
- func (m *EventDeleteGroup) String() string
- func (m *EventDeleteGroup) Unmarshal(dAtA []byte) error
- func (m *EventDeleteGroup) XXX_DiscardUnknown()
- func (m *EventDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteGroup) XXX_Merge(src proto.Message)
- func (m *EventDeleteGroup) XXX_Size() int
- func (m *EventDeleteGroup) XXX_Unmarshal(b []byte) error
- type EventDeleteObject
- func (*EventDeleteObject) Descriptor() ([]byte, []int)
- func (m *EventDeleteObject) GetBucketName() string
- func (m *EventDeleteObject) GetObjectName() string
- func (m *EventDeleteObject) GetOperatorAddress() string
- func (m *EventDeleteObject) GetPrimarySpAddress() string
- func (m *EventDeleteObject) GetSecondarySpAddresses() []string
- func (m *EventDeleteObject) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteObject) ProtoMessage()
- func (m *EventDeleteObject) Reset()
- func (m *EventDeleteObject) Size() (n int)
- func (m *EventDeleteObject) String() string
- func (m *EventDeleteObject) Unmarshal(dAtA []byte) error
- func (m *EventDeleteObject) XXX_DiscardUnknown()
- func (m *EventDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteObject) XXX_Merge(src proto.Message)
- func (m *EventDeleteObject) XXX_Size() int
- func (m *EventDeleteObject) XXX_Unmarshal(b []byte) error
- type EventLeaveGroup
- func (*EventLeaveGroup) Descriptor() ([]byte, []int)
- func (m *EventLeaveGroup) GetGroupName() string
- func (m *EventLeaveGroup) GetMemberAddress() string
- func (m *EventLeaveGroup) GetOwnerAddress() string
- func (m *EventLeaveGroup) Marshal() (dAtA []byte, err error)
- func (m *EventLeaveGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLeaveGroup) ProtoMessage()
- func (m *EventLeaveGroup) Reset()
- func (m *EventLeaveGroup) Size() (n int)
- func (m *EventLeaveGroup) String() string
- func (m *EventLeaveGroup) Unmarshal(dAtA []byte) error
- func (m *EventLeaveGroup) XXX_DiscardUnknown()
- func (m *EventLeaveGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLeaveGroup) XXX_Merge(src proto.Message)
- func (m *EventLeaveGroup) XXX_Size() int
- func (m *EventLeaveGroup) XXX_Unmarshal(b []byte) error
- type EventRejectSealObject
- func (*EventRejectSealObject) Descriptor() ([]byte, []int)
- func (m *EventRejectSealObject) GetBucketName() string
- func (m *EventRejectSealObject) GetObjectName() string
- func (m *EventRejectSealObject) GetOperatorAddress() string
- func (m *EventRejectSealObject) Marshal() (dAtA []byte, err error)
- func (m *EventRejectSealObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRejectSealObject) ProtoMessage()
- func (m *EventRejectSealObject) Reset()
- func (m *EventRejectSealObject) Size() (n int)
- func (m *EventRejectSealObject) String() string
- func (m *EventRejectSealObject) Unmarshal(dAtA []byte) error
- func (m *EventRejectSealObject) XXX_DiscardUnknown()
- func (m *EventRejectSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRejectSealObject) XXX_Merge(src proto.Message)
- func (m *EventRejectSealObject) XXX_Size() int
- func (m *EventRejectSealObject) XXX_Unmarshal(b []byte) error
- type EventSealObject
- func (*EventSealObject) Descriptor() ([]byte, []int)
- func (m *EventSealObject) GetBucketName() string
- func (m *EventSealObject) GetObjectName() string
- func (m *EventSealObject) GetOperatorAddress() string
- func (m *EventSealObject) GetSecondarySpAddress() []string
- func (m *EventSealObject) GetStatus() ObjectStatus
- func (m *EventSealObject) Marshal() (dAtA []byte, err error)
- func (m *EventSealObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSealObject) ProtoMessage()
- func (m *EventSealObject) Reset()
- func (m *EventSealObject) Size() (n int)
- func (m *EventSealObject) String() string
- func (m *EventSealObject) Unmarshal(dAtA []byte) error
- func (m *EventSealObject) XXX_DiscardUnknown()
- func (m *EventSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSealObject) XXX_Merge(src proto.Message)
- func (m *EventSealObject) XXX_Size() int
- func (m *EventSealObject) XXX_Unmarshal(b []byte) error
- type EventUpdateBucketInfo
- func (*EventUpdateBucketInfo) Descriptor() ([]byte, []int)
- func (m *EventUpdateBucketInfo) GetBucketName() string
- func (m *EventUpdateBucketInfo) GetOperatorAddress() string
- func (m *EventUpdateBucketInfo) GetPaymentAddressAfter() string
- func (m *EventUpdateBucketInfo) GetPaymentAddressBefore() string
- func (m *EventUpdateBucketInfo) GetReadQuotaAfter() ReadQuota
- func (m *EventUpdateBucketInfo) GetReadQuotaBefore() ReadQuota
- func (m *EventUpdateBucketInfo) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateBucketInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateBucketInfo) ProtoMessage()
- func (m *EventUpdateBucketInfo) Reset()
- func (m *EventUpdateBucketInfo) Size() (n int)
- func (m *EventUpdateBucketInfo) String() string
- func (m *EventUpdateBucketInfo) Unmarshal(dAtA []byte) error
- func (m *EventUpdateBucketInfo) XXX_DiscardUnknown()
- func (m *EventUpdateBucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateBucketInfo) XXX_Merge(src proto.Message)
- func (m *EventUpdateBucketInfo) XXX_Size() int
- func (m *EventUpdateBucketInfo) XXX_Unmarshal(b []byte) error
- type EventUpdateGroupMember
- func (*EventUpdateGroupMember) Descriptor() ([]byte, []int)
- func (m *EventUpdateGroupMember) GetGroupName() string
- func (m *EventUpdateGroupMember) GetMembersToAdd() []string
- func (m *EventUpdateGroupMember) GetMembersToDelete() []string
- func (m *EventUpdateGroupMember) GetOperatorAddress() string
- func (m *EventUpdateGroupMember) GetOwnerAddress() string
- func (m *EventUpdateGroupMember) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateGroupMember) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateGroupMember) ProtoMessage()
- func (m *EventUpdateGroupMember) Reset()
- func (m *EventUpdateGroupMember) Size() (n int)
- func (m *EventUpdateGroupMember) String() string
- func (m *EventUpdateGroupMember) Unmarshal(dAtA []byte) error
- func (m *EventUpdateGroupMember) XXX_DiscardUnknown()
- func (m *EventUpdateGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateGroupMember) XXX_Merge(src proto.Message)
- func (m *EventUpdateGroupMember) XXX_Size() int
- func (m *EventUpdateGroupMember) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)
- func (m *GroupInfo) GetGroupName() string
- func (m *GroupInfo) GetOwner() string
- func (m *GroupInfo) GetSourceType() SourceType
- func (m *GroupInfo) Marshal() (dAtA []byte, err error)
- func (m *GroupInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupInfo) ProtoMessage()
- func (m *GroupInfo) Reset()
- func (m *GroupInfo) Size() (n int)
- func (m *GroupInfo) String() string
- func (m *GroupInfo) Unmarshal(dAtA []byte) error
- func (m *GroupInfo) XXX_DiscardUnknown()
- func (m *GroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupInfo) XXX_Merge(src proto.Message)
- func (m *GroupInfo) XXX_Size() int
- func (m *GroupInfo) XXX_Unmarshal(b []byte) error
- type GroupMemberInfo
- func (*GroupMemberInfo) Descriptor() ([]byte, []int)
- func (m *GroupMemberInfo) GetExpireTime() uint64
- func (m *GroupMemberInfo) GetMember() string
- func (m *GroupMemberInfo) Marshal() (dAtA []byte, err error)
- func (m *GroupMemberInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupMemberInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupMemberInfo) ProtoMessage()
- func (m *GroupMemberInfo) Reset()
- func (m *GroupMemberInfo) Size() (n int)
- func (m *GroupMemberInfo) String() string
- func (m *GroupMemberInfo) Unmarshal(dAtA []byte) error
- func (m *GroupMemberInfo) XXX_DiscardUnknown()
- func (m *GroupMemberInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupMemberInfo) XXX_Merge(src proto.Message)
- func (m *GroupMemberInfo) XXX_Size() int
- func (m *GroupMemberInfo) XXX_Unmarshal(b []byte) error
- type Intdeprecated
- type MsgCancelCreateObject
- func (*MsgCancelCreateObject) Descriptor() ([]byte, []int)
- func (m *MsgCancelCreateObject) GetBucketName() string
- func (m *MsgCancelCreateObject) GetObjectName() string
- func (m *MsgCancelCreateObject) GetOperator() string
- func (msg *MsgCancelCreateObject) GetSignBytes() []byte
- func (msg *MsgCancelCreateObject) GetSigners() []sdk.AccAddress
- func (m *MsgCancelCreateObject) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelCreateObject) ProtoMessage()
- func (m *MsgCancelCreateObject) Reset()
- func (msg *MsgCancelCreateObject) Route() string
- func (m *MsgCancelCreateObject) Size() (n int)
- func (m *MsgCancelCreateObject) String() string
- func (msg *MsgCancelCreateObject) Type() string
- func (m *MsgCancelCreateObject) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelCreateObject) ValidateBasic() error
- func (m *MsgCancelCreateObject) XXX_DiscardUnknown()
- func (m *MsgCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelCreateObject) XXX_Merge(src proto.Message)
- func (m *MsgCancelCreateObject) XXX_Size() int
- func (m *MsgCancelCreateObject) XXX_Unmarshal(b []byte) error
- type MsgCancelCreateObjectResponse
- func (*MsgCancelCreateObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelCreateObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelCreateObjectResponse) ProtoMessage()
- func (m *MsgCancelCreateObjectResponse) Reset()
- func (m *MsgCancelCreateObjectResponse) Size() (n int)
- func (m *MsgCancelCreateObjectResponse) String() string
- func (m *MsgCancelCreateObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelCreateObjectResponse) XXX_DiscardUnknown()
- func (m *MsgCancelCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelCreateObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelCreateObjectResponse) XXX_Size() int
- func (m *MsgCancelCreateObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCopyObject
- func (*MsgCopyObject) Descriptor() ([]byte, []int)
- func (msg *MsgCopyObject) GetApprovalBytes() []byte
- func (m *MsgCopyObject) GetDstBucketName() string
- func (m *MsgCopyObject) GetDstObjectName() string
- func (m *MsgCopyObject) GetDstPrimarySpApproval() *Approval
- func (m *MsgCopyObject) GetOperator() string
- func (msg *MsgCopyObject) GetSignBytes() []byte
- func (msg *MsgCopyObject) GetSigners() []sdk.AccAddress
- func (m *MsgCopyObject) GetSrcBucketName() string
- func (m *MsgCopyObject) GetSrcObjectName() string
- func (m *MsgCopyObject) Marshal() (dAtA []byte, err error)
- func (m *MsgCopyObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCopyObject) ProtoMessage()
- func (m *MsgCopyObject) Reset()
- func (msg *MsgCopyObject) Route() string
- func (m *MsgCopyObject) Size() (n int)
- func (m *MsgCopyObject) String() string
- func (msg *MsgCopyObject) Type() string
- func (m *MsgCopyObject) Unmarshal(dAtA []byte) error
- func (msg *MsgCopyObject) ValidateBasic() error
- func (m *MsgCopyObject) XXX_DiscardUnknown()
- func (m *MsgCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCopyObject) XXX_Merge(src proto.Message)
- func (m *MsgCopyObject) XXX_Size() int
- func (m *MsgCopyObject) XXX_Unmarshal(b []byte) error
- type MsgCopyObjectResponse
- func (*MsgCopyObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCopyObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCopyObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCopyObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCopyObjectResponse) ProtoMessage()
- func (m *MsgCopyObjectResponse) Reset()
- func (m *MsgCopyObjectResponse) Size() (n int)
- func (m *MsgCopyObjectResponse) String() string
- func (m *MsgCopyObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCopyObjectResponse) XXX_DiscardUnknown()
- func (m *MsgCopyObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCopyObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCopyObjectResponse) XXX_Size() int
- func (m *MsgCopyObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateBucket
- func (*MsgCreateBucket) Descriptor() ([]byte, []int)
- func (msg *MsgCreateBucket) GetApprovalBytes() []byte
- func (m *MsgCreateBucket) GetBucketName() string
- func (m *MsgCreateBucket) GetCreator() string
- func (m *MsgCreateBucket) GetIsPublic() bool
- func (m *MsgCreateBucket) GetPaymentAddress() string
- func (m *MsgCreateBucket) GetPrimarySpAddress() string
- func (m *MsgCreateBucket) GetPrimarySpApproval() *Approval
- func (m *MsgCreateBucket) GetReadQuota() ReadQuota
- func (msg *MsgCreateBucket) GetSignBytes() []byte
- func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress
- func (m *MsgCreateBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBucket) ProtoMessage()
- func (m *MsgCreateBucket) Reset()
- func (msg *MsgCreateBucket) Route() string
- func (m *MsgCreateBucket) Size() (n int)
- func (m *MsgCreateBucket) String() string
- func (msg *MsgCreateBucket) Type() string
- func (m *MsgCreateBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateBucket) ValidateBasic() error
- func (m *MsgCreateBucket) XXX_DiscardUnknown()
- func (m *MsgCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBucket) XXX_Merge(src proto.Message)
- func (m *MsgCreateBucket) XXX_Size() int
- func (m *MsgCreateBucket) XXX_Unmarshal(b []byte) error
- type MsgCreateBucketResponse
- func (*MsgCreateBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBucketResponse) ProtoMessage()
- func (m *MsgCreateBucketResponse) Reset()
- func (m *MsgCreateBucketResponse) Size() (n int)
- func (m *MsgCreateBucketResponse) String() string
- func (m *MsgCreateBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateBucketResponse) XXX_DiscardUnknown()
- func (m *MsgCreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateBucketResponse) XXX_Size() int
- func (m *MsgCreateBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateGroup
- func (*MsgCreateGroup) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroup) GetCreator() string
- func (m *MsgCreateGroup) GetGroupName() string
- func (m *MsgCreateGroup) GetMembers() []string
- func (msg *MsgCreateGroup) GetSignBytes() []byte
- func (msg *MsgCreateGroup) GetSigners() []sdk.AccAddress
- func (m *MsgCreateGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroup) ProtoMessage()
- func (m *MsgCreateGroup) Reset()
- func (msg *MsgCreateGroup) Route() string
- func (m *MsgCreateGroup) Size() (n int)
- func (m *MsgCreateGroup) String() string
- func (msg *MsgCreateGroup) Type() string
- func (m *MsgCreateGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateGroup) ValidateBasic() error
- func (m *MsgCreateGroup) XXX_DiscardUnknown()
- func (m *MsgCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroup) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroup) XXX_Size() int
- func (m *MsgCreateGroup) XXX_Unmarshal(b []byte) error
- type MsgCreateGroupResponse
- func (*MsgCreateGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroupResponse) ProtoMessage()
- func (m *MsgCreateGroupResponse) Reset()
- func (m *MsgCreateGroupResponse) Size() (n int)
- func (m *MsgCreateGroupResponse) String() string
- func (m *MsgCreateGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateGroupResponse) XXX_DiscardUnknown()
- func (m *MsgCreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroupResponse) XXX_Size() int
- func (m *MsgCreateGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateObject
- func (*MsgCreateObject) Descriptor() ([]byte, []int)
- func (msg *MsgCreateObject) GetApprovalBytes() []byte
- func (m *MsgCreateObject) GetBucketName() string
- func (m *MsgCreateObject) GetContentType() string
- func (m *MsgCreateObject) GetCreator() string
- func (m *MsgCreateObject) GetExpectChecksums() [][]byte
- func (m *MsgCreateObject) GetExpectSecondarySpAddresses() []string
- func (m *MsgCreateObject) GetIsPublic() bool
- func (m *MsgCreateObject) GetObjectName() string
- func (m *MsgCreateObject) GetPayloadSize() uint64
- func (m *MsgCreateObject) GetPrimarySpApproval() *Approval
- func (msg *MsgCreateObject) GetSignBytes() []byte
- func (msg *MsgCreateObject) GetSigners() []sdk.AccAddress
- func (m *MsgCreateObject) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateObject) ProtoMessage()
- func (m *MsgCreateObject) Reset()
- func (msg *MsgCreateObject) Route() string
- func (m *MsgCreateObject) Size() (n int)
- func (m *MsgCreateObject) String() string
- func (msg *MsgCreateObject) Type() string
- func (m *MsgCreateObject) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateObject) ValidateBasic() error
- func (m *MsgCreateObject) XXX_DiscardUnknown()
- func (m *MsgCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateObject) XXX_Merge(src proto.Message)
- func (m *MsgCreateObject) XXX_Size() int
- func (m *MsgCreateObject) XXX_Unmarshal(b []byte) error
- type MsgCreateObjectResponse
- func (*MsgCreateObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateObjectResponse) ProtoMessage()
- func (m *MsgCreateObjectResponse) Reset()
- func (m *MsgCreateObjectResponse) Size() (n int)
- func (m *MsgCreateObjectResponse) String() string
- func (m *MsgCreateObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateObjectResponse) XXX_DiscardUnknown()
- func (m *MsgCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateObjectResponse) XXX_Size() int
- func (m *MsgCreateObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteBucket
- func (*MsgDeleteBucket) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBucket) GetBucketName() string
- func (m *MsgDeleteBucket) GetOperator() string
- func (msg *MsgDeleteBucket) GetSignBytes() []byte
- func (msg *MsgDeleteBucket) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBucket) ProtoMessage()
- func (m *MsgDeleteBucket) Reset()
- func (msg *MsgDeleteBucket) Route() string
- func (m *MsgDeleteBucket) Size() (n int)
- func (m *MsgDeleteBucket) String() string
- func (msg *MsgDeleteBucket) Type() string
- func (m *MsgDeleteBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteBucket) ValidateBasic() error
- func (m *MsgDeleteBucket) XXX_DiscardUnknown()
- func (m *MsgDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBucket) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBucket) XXX_Size() int
- func (m *MsgDeleteBucket) XXX_Unmarshal(b []byte) error
- type MsgDeleteBucketResponse
- func (*MsgDeleteBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBucketResponse) ProtoMessage()
- func (m *MsgDeleteBucketResponse) Reset()
- func (m *MsgDeleteBucketResponse) Size() (n int)
- func (m *MsgDeleteBucketResponse) String() string
- func (m *MsgDeleteBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteBucketResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBucketResponse) XXX_Size() int
- func (m *MsgDeleteBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteGroup
- func (*MsgDeleteGroup) Descriptor() ([]byte, []int)
- func (m *MsgDeleteGroup) GetGroupName() string
- func (m *MsgDeleteGroup) GetOperator() string
- func (msg *MsgDeleteGroup) GetSignBytes() []byte
- func (msg *MsgDeleteGroup) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteGroup) ProtoMessage()
- func (m *MsgDeleteGroup) Reset()
- func (msg *MsgDeleteGroup) Route() string
- func (m *MsgDeleteGroup) Size() (n int)
- func (m *MsgDeleteGroup) String() string
- func (msg *MsgDeleteGroup) Type() string
- func (m *MsgDeleteGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteGroup) ValidateBasic() error
- func (m *MsgDeleteGroup) XXX_DiscardUnknown()
- func (m *MsgDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteGroup) XXX_Merge(src proto.Message)
- func (m *MsgDeleteGroup) XXX_Size() int
- func (m *MsgDeleteGroup) XXX_Unmarshal(b []byte) error
- type MsgDeleteGroupResponse
- func (*MsgDeleteGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteGroupResponse) ProtoMessage()
- func (m *MsgDeleteGroupResponse) Reset()
- func (m *MsgDeleteGroupResponse) Size() (n int)
- func (m *MsgDeleteGroupResponse) String() string
- func (m *MsgDeleteGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteGroupResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteGroupResponse) XXX_Size() int
- func (m *MsgDeleteGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteObject
- func (*MsgDeleteObject) Descriptor() ([]byte, []int)
- func (m *MsgDeleteObject) GetBucketName() string
- func (m *MsgDeleteObject) GetObjectName() string
- func (m *MsgDeleteObject) GetOperator() string
- func (msg *MsgDeleteObject) GetSignBytes() []byte
- func (msg *MsgDeleteObject) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteObject) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteObject) ProtoMessage()
- func (m *MsgDeleteObject) Reset()
- func (msg *MsgDeleteObject) Route() string
- func (m *MsgDeleteObject) Size() (n int)
- func (m *MsgDeleteObject) String() string
- func (msg *MsgDeleteObject) Type() string
- func (m *MsgDeleteObject) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteObject) ValidateBasic() error
- func (m *MsgDeleteObject) XXX_DiscardUnknown()
- func (m *MsgDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteObject) XXX_Merge(src proto.Message)
- func (m *MsgDeleteObject) XXX_Size() int
- func (m *MsgDeleteObject) XXX_Unmarshal(b []byte) error
- type MsgDeleteObjectResponse
- func (*MsgDeleteObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteObjectResponse) ProtoMessage()
- func (m *MsgDeleteObjectResponse) Reset()
- func (m *MsgDeleteObjectResponse) Size() (n int)
- func (m *MsgDeleteObjectResponse) String() string
- func (m *MsgDeleteObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteObjectResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteObjectResponse) XXX_Size() int
- func (m *MsgDeleteObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgLeaveGroup
- func (*MsgLeaveGroup) Descriptor() ([]byte, []int)
- func (m *MsgLeaveGroup) GetGroupName() string
- func (m *MsgLeaveGroup) GetGroupOwner() string
- func (m *MsgLeaveGroup) GetMember() string
- func (msg *MsgLeaveGroup) GetSignBytes() []byte
- func (msg *MsgLeaveGroup) GetSigners() []sdk.AccAddress
- func (m *MsgLeaveGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgLeaveGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLeaveGroup) ProtoMessage()
- func (m *MsgLeaveGroup) Reset()
- func (msg *MsgLeaveGroup) Route() string
- func (m *MsgLeaveGroup) Size() (n int)
- func (m *MsgLeaveGroup) String() string
- func (msg *MsgLeaveGroup) Type() string
- func (m *MsgLeaveGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgLeaveGroup) ValidateBasic() error
- func (m *MsgLeaveGroup) XXX_DiscardUnknown()
- func (m *MsgLeaveGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLeaveGroup) XXX_Merge(src proto.Message)
- func (m *MsgLeaveGroup) XXX_Size() int
- func (m *MsgLeaveGroup) XXX_Unmarshal(b []byte) error
- type MsgLeaveGroupResponse
- func (*MsgLeaveGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgLeaveGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgLeaveGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLeaveGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLeaveGroupResponse) ProtoMessage()
- func (m *MsgLeaveGroupResponse) Reset()
- func (m *MsgLeaveGroupResponse) Size() (n int)
- func (m *MsgLeaveGroupResponse) String() string
- func (m *MsgLeaveGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgLeaveGroupResponse) XXX_DiscardUnknown()
- func (m *MsgLeaveGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLeaveGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgLeaveGroupResponse) XXX_Size() int
- func (m *MsgLeaveGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgRejectSealObject
- func (*MsgRejectSealObject) Descriptor() ([]byte, []int)
- func (m *MsgRejectSealObject) GetBucketName() string
- func (m *MsgRejectSealObject) GetObjectName() string
- func (m *MsgRejectSealObject) GetOperator() string
- func (msg *MsgRejectSealObject) GetSignBytes() []byte
- func (msg *MsgRejectSealObject) GetSigners() []sdk.AccAddress
- func (m *MsgRejectSealObject) Marshal() (dAtA []byte, err error)
- func (m *MsgRejectSealObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRejectSealObject) ProtoMessage()
- func (m *MsgRejectSealObject) Reset()
- func (msg *MsgRejectSealObject) Route() string
- func (m *MsgRejectSealObject) Size() (n int)
- func (m *MsgRejectSealObject) String() string
- func (msg *MsgRejectSealObject) Type() string
- func (m *MsgRejectSealObject) Unmarshal(dAtA []byte) error
- func (msg *MsgRejectSealObject) ValidateBasic() error
- func (m *MsgRejectSealObject) XXX_DiscardUnknown()
- func (m *MsgRejectSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRejectSealObject) XXX_Merge(src proto.Message)
- func (m *MsgRejectSealObject) XXX_Size() int
- func (m *MsgRejectSealObject) XXX_Unmarshal(b []byte) error
- type MsgRejectSealObjectResponse
- func (*MsgRejectSealObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgRejectSealObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRejectSealObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRejectSealObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRejectSealObjectResponse) ProtoMessage()
- func (m *MsgRejectSealObjectResponse) Reset()
- func (m *MsgRejectSealObjectResponse) Size() (n int)
- func (m *MsgRejectSealObjectResponse) String() string
- func (m *MsgRejectSealObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRejectSealObjectResponse) XXX_DiscardUnknown()
- func (m *MsgRejectSealObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRejectSealObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgRejectSealObjectResponse) XXX_Size() int
- func (m *MsgRejectSealObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgSealObject
- func (*MsgSealObject) Descriptor() ([]byte, []int)
- func (m *MsgSealObject) GetBucketName() string
- func (m *MsgSealObject) GetObjectName() string
- func (m *MsgSealObject) GetOperator() string
- func (m *MsgSealObject) GetSecondarySpAddresses() []string
- func (m *MsgSealObject) GetSecondarySpSignatures() [][]byte
- func (msg *MsgSealObject) GetSignBytes() []byte
- func (msg *MsgSealObject) GetSigners() []sdk.AccAddress
- func (m *MsgSealObject) Marshal() (dAtA []byte, err error)
- func (m *MsgSealObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSealObject) ProtoMessage()
- func (m *MsgSealObject) Reset()
- func (msg *MsgSealObject) Route() string
- func (m *MsgSealObject) Size() (n int)
- func (m *MsgSealObject) String() string
- func (msg *MsgSealObject) Type() string
- func (m *MsgSealObject) Unmarshal(dAtA []byte) error
- func (msg *MsgSealObject) ValidateBasic() error
- func (m *MsgSealObject) XXX_DiscardUnknown()
- func (m *MsgSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSealObject) XXX_Merge(src proto.Message)
- func (m *MsgSealObject) XXX_Size() int
- func (m *MsgSealObject) XXX_Unmarshal(b []byte) error
- type MsgSealObjectResponse
- func (*MsgSealObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgSealObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSealObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSealObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSealObjectResponse) ProtoMessage()
- func (m *MsgSealObjectResponse) Reset()
- func (m *MsgSealObjectResponse) Size() (n int)
- func (m *MsgSealObjectResponse) String() string
- func (m *MsgSealObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSealObjectResponse) XXX_DiscardUnknown()
- func (m *MsgSealObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSealObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgSealObjectResponse) XXX_Size() int
- func (m *MsgSealObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateBucketInfo
- func (*MsgUpdateBucketInfo) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBucketInfo) GetBucketName() string
- func (m *MsgUpdateBucketInfo) GetOperator() string
- func (m *MsgUpdateBucketInfo) GetPaymentAddress() string
- func (m *MsgUpdateBucketInfo) GetReadQuota() ReadQuota
- func (msg *MsgUpdateBucketInfo) GetSignBytes() []byte
- func (msg *MsgUpdateBucketInfo) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateBucketInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBucketInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBucketInfo) ProtoMessage()
- func (m *MsgUpdateBucketInfo) Reset()
- func (msg *MsgUpdateBucketInfo) Route() string
- func (m *MsgUpdateBucketInfo) Size() (n int)
- func (m *MsgUpdateBucketInfo) String() string
- func (msg *MsgUpdateBucketInfo) Type() string
- func (m *MsgUpdateBucketInfo) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateBucketInfo) ValidateBasic() error
- func (m *MsgUpdateBucketInfo) XXX_DiscardUnknown()
- func (m *MsgUpdateBucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBucketInfo) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBucketInfo) XXX_Size() int
- func (m *MsgUpdateBucketInfo) XXX_Unmarshal(b []byte) error
- type MsgUpdateBucketInfoResponse
- func (*MsgUpdateBucketInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBucketInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBucketInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBucketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBucketInfoResponse) ProtoMessage()
- func (m *MsgUpdateBucketInfoResponse) Reset()
- func (m *MsgUpdateBucketInfoResponse) Size() (n int)
- func (m *MsgUpdateBucketInfoResponse) String() string
- func (m *MsgUpdateBucketInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateBucketInfoResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateBucketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBucketInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBucketInfoResponse) XXX_Size() int
- func (m *MsgUpdateBucketInfoResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMember
- func (*MsgUpdateGroupMember) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMember) GetGroupName() string
- func (m *MsgUpdateGroupMember) GetMembersToAdd() []string
- func (m *MsgUpdateGroupMember) GetMembersToDelete() []string
- func (m *MsgUpdateGroupMember) GetOperator() string
- func (msg *MsgUpdateGroupMember) GetSignBytes() []byte
- func (msg *MsgUpdateGroupMember) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupMember) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMember) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMember) ProtoMessage()
- func (m *MsgUpdateGroupMember) Reset()
- func (msg *MsgUpdateGroupMember) Route() string
- func (m *MsgUpdateGroupMember) Size() (n int)
- func (m *MsgUpdateGroupMember) String() string
- func (msg *MsgUpdateGroupMember) Type() string
- func (m *MsgUpdateGroupMember) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateGroupMember) ValidateBasic() error
- func (m *MsgUpdateGroupMember) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMember) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMember) XXX_Size() int
- func (m *MsgUpdateGroupMember) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMemberResponse
- func (*MsgUpdateGroupMemberResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMemberResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMemberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMemberResponse) ProtoMessage()
- func (m *MsgUpdateGroupMemberResponse) Reset()
- func (m *MsgUpdateGroupMemberResponse) Size() (n int)
- func (m *MsgUpdateGroupMemberResponse) String() string
- func (m *MsgUpdateGroupMemberResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupMemberResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMemberResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMemberResponse) XXX_Size() int
- func (m *MsgUpdateGroupMemberResponse) XXX_Unmarshal(b []byte) error
- type ObjectInfo
- func (*ObjectInfo) Descriptor() ([]byte, []int)
- func (m *ObjectInfo) GetBucketName() string
- func (m *ObjectInfo) GetChecksums() [][]byte
- func (m *ObjectInfo) GetContentType() string
- func (m *ObjectInfo) GetCreateAt() int64
- func (m *ObjectInfo) GetIsPublic() bool
- func (m *ObjectInfo) GetObjectName() string
- func (m *ObjectInfo) GetObjectStatus() ObjectStatus
- func (m *ObjectInfo) GetOwner() string
- func (m *ObjectInfo) GetPayloadSize() uint64
- func (m *ObjectInfo) GetRedundancyType() RedundancyType
- func (m *ObjectInfo) GetSecondarySpAddresses() []string
- func (m *ObjectInfo) GetSourceType() SourceType
- func (m *ObjectInfo) Marshal() (dAtA []byte, err error)
- func (m *ObjectInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectInfo) ProtoMessage()
- func (m *ObjectInfo) Reset()
- func (m *ObjectInfo) Size() (n int)
- func (m *ObjectInfo) String() string
- func (m *ObjectInfo) Unmarshal(dAtA []byte) error
- func (m *ObjectInfo) XXX_DiscardUnknown()
- func (m *ObjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectInfo) XXX_Merge(src proto.Message)
- func (m *ObjectInfo) XXX_Size() int
- func (m *ObjectInfo) XXX_Unmarshal(b []byte) error
- type ObjectStatus
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMaxPayloadSize() uint64
- func (m *Params) GetMaxSegmentSize() uint64
- func (m *Params) GetRedundantDataChunkNum() uint32
- func (m *Params) GetRedundantParityChunkNum() uint32
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PaymentKeeper
- type QueryClient
- type QueryHeadBucketRequest
- func (*QueryHeadBucketRequest) Descriptor() ([]byte, []int)
- func (m *QueryHeadBucketRequest) GetBucketName() string
- func (m *QueryHeadBucketRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadBucketRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadBucketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadBucketRequest) ProtoMessage()
- func (m *QueryHeadBucketRequest) Reset()
- func (m *QueryHeadBucketRequest) Size() (n int)
- func (m *QueryHeadBucketRequest) String() string
- func (m *QueryHeadBucketRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHeadBucketRequest) XXX_DiscardUnknown()
- func (m *QueryHeadBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadBucketRequest) XXX_Merge(src proto.Message)
- func (m *QueryHeadBucketRequest) XXX_Size() int
- func (m *QueryHeadBucketRequest) XXX_Unmarshal(b []byte) error
- type QueryHeadBucketResponse
- func (*QueryHeadBucketResponse) Descriptor() ([]byte, []int)
- func (m *QueryHeadBucketResponse) GetBucketInfo() *BucketInfo
- func (m *QueryHeadBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadBucketResponse) ProtoMessage()
- func (m *QueryHeadBucketResponse) Reset()
- func (m *QueryHeadBucketResponse) Size() (n int)
- func (m *QueryHeadBucketResponse) String() string
- func (m *QueryHeadBucketResponse) Unmarshal(dAtA []byte) error
- func (m *QueryHeadBucketResponse) XXX_DiscardUnknown()
- func (m *QueryHeadBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadBucketResponse) XXX_Merge(src proto.Message)
- func (m *QueryHeadBucketResponse) XXX_Size() int
- func (m *QueryHeadBucketResponse) XXX_Unmarshal(b []byte) error
- type QueryHeadObjectRequest
- func (*QueryHeadObjectRequest) Descriptor() ([]byte, []int)
- func (m *QueryHeadObjectRequest) GetBucketName() string
- func (m *QueryHeadObjectRequest) GetObjectName() string
- func (m *QueryHeadObjectRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadObjectRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadObjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadObjectRequest) ProtoMessage()
- func (m *QueryHeadObjectRequest) Reset()
- func (m *QueryHeadObjectRequest) Size() (n int)
- func (m *QueryHeadObjectRequest) String() string
- func (m *QueryHeadObjectRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHeadObjectRequest) XXX_DiscardUnknown()
- func (m *QueryHeadObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadObjectRequest) XXX_Merge(src proto.Message)
- func (m *QueryHeadObjectRequest) XXX_Size() int
- func (m *QueryHeadObjectRequest) XXX_Unmarshal(b []byte) error
- type QueryHeadObjectResponse
- func (*QueryHeadObjectResponse) Descriptor() ([]byte, []int)
- func (m *QueryHeadObjectResponse) GetObjectInfo() *ObjectInfo
- func (m *QueryHeadObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadObjectResponse) ProtoMessage()
- func (m *QueryHeadObjectResponse) Reset()
- func (m *QueryHeadObjectResponse) Size() (n int)
- func (m *QueryHeadObjectResponse) String() string
- func (m *QueryHeadObjectResponse) Unmarshal(dAtA []byte) error
- func (m *QueryHeadObjectResponse) XXX_DiscardUnknown()
- func (m *QueryHeadObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadObjectResponse) XXX_Merge(src proto.Message)
- func (m *QueryHeadObjectResponse) XXX_Size() int
- func (m *QueryHeadObjectResponse) XXX_Unmarshal(b []byte) error
- type QueryListBucketsRequest
- func (*QueryListBucketsRequest) Descriptor() ([]byte, []int)
- func (m *QueryListBucketsRequest) GetPagination() *query.PageRequest
- func (m *QueryListBucketsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListBucketsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListBucketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListBucketsRequest) ProtoMessage()
- func (m *QueryListBucketsRequest) Reset()
- func (m *QueryListBucketsRequest) Size() (n int)
- func (m *QueryListBucketsRequest) String() string
- func (m *QueryListBucketsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListBucketsRequest) XXX_DiscardUnknown()
- func (m *QueryListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListBucketsRequest) XXX_Merge(src proto.Message)
- func (m *QueryListBucketsRequest) XXX_Size() int
- func (m *QueryListBucketsRequest) XXX_Unmarshal(b []byte) error
- type QueryListBucketsResponse
- func (*QueryListBucketsResponse) Descriptor() ([]byte, []int)
- func (m *QueryListBucketsResponse) GetBucketInfos() []BucketInfo
- func (m *QueryListBucketsResponse) GetPagination() *query.PageResponse
- func (m *QueryListBucketsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryListBucketsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListBucketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListBucketsResponse) ProtoMessage()
- func (m *QueryListBucketsResponse) Reset()
- func (m *QueryListBucketsResponse) Size() (n int)
- func (m *QueryListBucketsResponse) String() string
- func (m *QueryListBucketsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryListBucketsResponse) XXX_DiscardUnknown()
- func (m *QueryListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListBucketsResponse) XXX_Merge(src proto.Message)
- func (m *QueryListBucketsResponse) XXX_Size() int
- func (m *QueryListBucketsResponse) XXX_Unmarshal(b []byte) error
- type QueryListObjectsRequest
- func (*QueryListObjectsRequest) Descriptor() ([]byte, []int)
- func (m *QueryListObjectsRequest) GetBucketName() string
- func (m *QueryListObjectsRequest) GetPagination() *query.PageRequest
- func (m *QueryListObjectsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListObjectsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListObjectsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListObjectsRequest) ProtoMessage()
- func (m *QueryListObjectsRequest) Reset()
- func (m *QueryListObjectsRequest) Size() (n int)
- func (m *QueryListObjectsRequest) String() string
- func (m *QueryListObjectsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListObjectsRequest) XXX_DiscardUnknown()
- func (m *QueryListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListObjectsRequest) XXX_Merge(src proto.Message)
- func (m *QueryListObjectsRequest) XXX_Size() int
- func (m *QueryListObjectsRequest) XXX_Unmarshal(b []byte) error
- type QueryListObjectsResponse
- func (*QueryListObjectsResponse) Descriptor() ([]byte, []int)
- func (m *QueryListObjectsResponse) GetObjectInfos() []ObjectInfo
- func (m *QueryListObjectsResponse) GetPagination() *query.PageResponse
- func (m *QueryListObjectsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryListObjectsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListObjectsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListObjectsResponse) ProtoMessage()
- func (m *QueryListObjectsResponse) Reset()
- func (m *QueryListObjectsResponse) Size() (n int)
- func (m *QueryListObjectsResponse) String() string
- func (m *QueryListObjectsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryListObjectsResponse) XXX_DiscardUnknown()
- func (m *QueryListObjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListObjectsResponse) XXX_Merge(src proto.Message)
- func (m *QueryListObjectsResponse) XXX_Size() int
- func (m *QueryListObjectsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type ReadQuota
- type RedundancyType
- type SecondarySpSignDoc
- func (*SecondarySpSignDoc) Descriptor() ([]byte, []int)
- func (m *SecondarySpSignDoc) GetChecksum() []byte
- func (sr *SecondarySpSignDoc) GetSignBytes() []byte
- func (m *SecondarySpSignDoc) GetSpAddress() string
- func (m *SecondarySpSignDoc) Marshal() (dAtA []byte, err error)
- func (m *SecondarySpSignDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *SecondarySpSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SecondarySpSignDoc) ProtoMessage()
- func (m *SecondarySpSignDoc) Reset()
- func (m *SecondarySpSignDoc) Size() (n int)
- func (m *SecondarySpSignDoc) String() string
- func (m *SecondarySpSignDoc) Unmarshal(dAtA []byte) error
- func (m *SecondarySpSignDoc) XXX_DiscardUnknown()
- func (m *SecondarySpSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecondarySpSignDoc) XXX_Merge(src proto.Message)
- func (m *SecondarySpSignDoc) XXX_Size() int
- func (m *SecondarySpSignDoc) XXX_Unmarshal(b []byte) error
- type SourceType
- type SpKeeper
- type Uintdeprecated
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelCreateObject(ctx context.Context, req *MsgCancelCreateObject) (*MsgCancelCreateObjectResponse, error)
- func (*UnimplementedMsgServer) CopyObject(ctx context.Context, req *MsgCopyObject) (*MsgCopyObjectResponse, error)
- func (*UnimplementedMsgServer) CreateBucket(ctx context.Context, req *MsgCreateBucket) (*MsgCreateBucketResponse, error)
- func (*UnimplementedMsgServer) CreateGroup(ctx context.Context, req *MsgCreateGroup) (*MsgCreateGroupResponse, error)
- func (*UnimplementedMsgServer) CreateObject(ctx context.Context, req *MsgCreateObject) (*MsgCreateObjectResponse, error)
- func (*UnimplementedMsgServer) DeleteBucket(ctx context.Context, req *MsgDeleteBucket) (*MsgDeleteBucketResponse, error)
- func (*UnimplementedMsgServer) DeleteGroup(ctx context.Context, req *MsgDeleteGroup) (*MsgDeleteGroupResponse, error)
- func (*UnimplementedMsgServer) DeleteObject(ctx context.Context, req *MsgDeleteObject) (*MsgDeleteObjectResponse, error)
- func (*UnimplementedMsgServer) LeaveGroup(ctx context.Context, req *MsgLeaveGroup) (*MsgLeaveGroupResponse, error)
- func (*UnimplementedMsgServer) RejectSealObject(ctx context.Context, req *MsgRejectSealObject) (*MsgRejectSealObjectResponse, error)
- func (*UnimplementedMsgServer) SealObject(ctx context.Context, req *MsgSealObject) (*MsgSealObjectResponse, error)
- func (*UnimplementedMsgServer) UpdateBucketInfo(ctx context.Context, req *MsgUpdateBucketInfo) (*MsgUpdateBucketInfoResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupMember(ctx context.Context, req *MsgUpdateGroupMember) (*MsgUpdateGroupMemberResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) HeadBucket(ctx context.Context, req *QueryHeadBucketRequest) (*QueryHeadBucketResponse, error)
- func (*UnimplementedQueryServer) HeadObject(ctx context.Context, req *QueryHeadObjectRequest) (*QueryHeadObjectResponse, error)
- func (*UnimplementedQueryServer) ListBuckets(ctx context.Context, req *QueryListBucketsRequest) (*QueryListBucketsResponse, error)
- func (*UnimplementedQueryServer) ListObjects(ctx context.Context, req *QueryListObjectsRequest) (*QueryListObjectsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "storage" // 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_storage" )
const ( // For bucket TypeMsgCreateBucket = "create_bucket" TypeMsgDeleteBucket = "delete_bucket" TypeMsgUpdateBucketInfo = "update_bucket_info" // For object TypeMsgCopyObject = "copy_object" TypeMsgCreateObject = "create_object" TypeMsgDeleteObject = "delete_object" TypeMsgSealObject = "seal_object" TypeMsgRejectSealObject = "reject_seal_object" TypeMsgCancelCreateObject = "cancel_create_object" // For group TypeMsgCreateGroup = "create_group" TypeMsgDeleteGroup = "delete_group" TypeMsgLeaveGroup = "leave_group" TypeMsgUpdateGroupMember = "update_group_member" )
const ( DefaultMaxSegmentSize uint64 = 16 * 1024 * 1024 // 16M DefaultRedundantDataChunkNum uint32 = 4 DefaultRedundantParityChunkNum uint32 = 2 DefaultMaxPayloadSize uint64 = 2 * 1024 * 1024 * 1024 )
storage params default values
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
// SlashSeparator - slash separator.
SlashSeparator = "/"
)
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group") )
var ( ErrNoSuchBucket = errors.Register(ModuleName, 1100, "no such bucket") ErrNoSuchObject = errors.Register(ModuleName, 1101, "no such object") ErrNoSuchGroup = errors.Register(ModuleName, 1102, "no such group") ErrBucketAlreadyExists = errors.Register(ModuleName, 1103, "bucket already exists") ErrObjectAlreadyExists = errors.Register(ModuleName, 1104, "object already exists") ErrGroupAlreadyExists = errors.Register(ModuleName, 1105, "group already exists") ErrAccessDenied = errors.Register(ModuleName, 1106, "access denied") ErrObjectAlreadySealed = errors.Register(ModuleName, 1107, "object already sealed") ErrBucketNotEmpty = errors.Register(ModuleName, 1108, "bucket is not empty") ErrNoSuchGroupMember = errors.Register(ModuleName, 1109, "no such group member") ErrGroupMemberAlreadyExists = errors.Register(ModuleName, 1110, "group member already exists") ErrGroupMemberNotExists = errors.Register(ModuleName, 1111, "group member already exists") ErrNoSuchStorageProvider = errors.Register(ModuleName, 1112, "no such storage provider") ErrSequenceUniqueConstraint = errors.Register(ModuleName, 1113, "sequence already initialized") ErrStorageProviderNotInService = errors.Register(ModuleName, 1114, "storage provider not in service") ErrObjectNotInit = errors.Register(ModuleName, 1115, "not a INIT object") ErrObjectNotInService = errors.Register(ModuleName, 1116, "object not in service") ErrSourceTypeMismatch = errors.Register(ModuleName, 1117, "object source type mismatch") ErrTooLargeObject = errors.Register(ModuleName, 1118, "object payload size is too large") ErrInvalidApproval = errors.Register(ModuleName, 1119, "Invalid approval of sp") ErrInvalidBucketName = errors.Register(ModuleName, 2000, "invalid bucket name") ErrInvalidObjectName = errors.Register(ModuleName, 2001, "invalid object name") ErrInvalidGroupName = errors.Register(ModuleName, 2002, "invalid group name") ErrInvalidChcecksum = errors.Register(ModuleName, 2003, "invalid checksum") ErrInvalidContentType = errors.Register(ModuleName, 2004, "invalid content type") ErrInvalidSPSignature = errors.Register(ModuleName, 2005, "invalid sp signature") ErrInvalidSPAddress = errors.Register(ModuleName, 2006, "invalid sp address") )
x/storage module sentinel errors
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( BucketPrefix = []byte{0x11} ObjectPrefix = []byte{0x12} GroupPrefix = []byte{0x13} GroupMemberPrefix = []byte{0x14} // TODO(fynn): will be deprecated after permission module ready BucketSequencePrefix = []byte{0x21} ObjectSequencePrefix = []byte{0x22} GroupSequencePrefix = []byte{0x23} )
var ( KeyMaxSegmentSize = []byte("MaxSegmentSize") KeyRedundantDataChunkNum = []byte("RedundantDataChunkNum") KeyRedundantParityChunkNum = []byte("RedundantParityChunkNum") KeyMaxPayloadSize = []byte("MaxPayloadSize") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var ObjectStatus_name = map[int32]string{
0: "OBJECT_STATUS_INIT",
1: "OBJECT_STATUS_IN_SERVICE",
}
var ObjectStatus_value = map[string]int32{
"OBJECT_STATUS_INIT": 0,
"OBJECT_STATUS_IN_SERVICE": 1,
}
var ReadQuota_name = map[int32]string{
0: "READ_QUOTA_FREE",
1: "READ_QUOTA_1G",
2: "READ_QUOTA_10G",
}
var ReadQuota_value = map[string]int32{
"READ_QUOTA_FREE": 0,
"READ_QUOTA_1G": 1,
"READ_QUOTA_10G": 2,
}
var RedundancyType_name = map[int32]string{
0: "REDUNDANCY_REPLICA_TYPE",
1: "REDUNDANCY_EC_TYPE",
2: "REDUNDANCY_INLINE_TYPE",
}
var RedundancyType_value = map[string]int32{
"REDUNDANCY_REPLICA_TYPE": 0,
"REDUNDANCY_EC_TYPE": 1,
"REDUNDANCY_INLINE_TYPE": 2,
}
var SourceType_name = map[int32]string{
0: "SOURCE_TYPE_ORIGIN",
1: "SOURCE_TYPE_BSC_CROSS_CHAIN",
}
var SourceType_value = map[string]int32{
"SOURCE_TYPE_ORIGIN": 0,
"SOURCE_TYPE_BSC_CROSS_CHAIN": 1,
}
Functions ¶
func CheckValidBucketName ¶
CheckValidBucketName - checks if we have a valid input bucket name. This is a stricter version. - http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html
func CheckValidContentType ¶
func CheckValidExpectChecksums ¶
CheckValidExpectChecksums checks if the MSG have a valid SHA256 checksum.
func CheckValidGroupName ¶
func CheckValidObjectName ¶
/ CheckValidObjectName - checks if we have a valid input object name.
func GetBucketKey ¶
func GetGroupKey ¶
func GetObjectKey ¶
func MustMarshalUint ¶
func MustUnmarshalUint ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func VerifySignature ¶
func VerifySignature(sigAccAddress sdk.AccAddress, sigHash []byte, sig []byte) error
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
}
AccountKeeper defines the expected account keeper used for simulations (noalias)
type Approval ¶ added in v0.0.6
type Approval struct { ExpiredHeight uint64 `protobuf:"varint,1,opt,name=expired_height,json=expiredHeight,proto3" json:"expired_height,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` }
func (*Approval) Descriptor ¶ added in v0.0.6
func (*Approval) GetExpiredHeight ¶ added in v0.0.6
func (*Approval) MarshalToSizedBuffer ¶ added in v0.0.6
func (*Approval) ProtoMessage ¶ added in v0.0.6
func (*Approval) ProtoMessage()
func (*Approval) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *Approval) XXX_DiscardUnknown()
func (*Approval) XXX_Marshal ¶ added in v0.0.6
func (*Approval) XXX_Unmarshal ¶ added in v0.0.6
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type BucketInfo ¶
type BucketInfo struct { // owner is the account address of bucket creator, it is also the bucket owner. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // bucket_name is a globally unique name of bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // is_public define the highest permissions for bucket. When the bucket is public, everyone can get the object in it. IsPublic bool `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // id is the unique identification for bucket. Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // source_type define the source of the bucket SourceType SourceType `` /* 136-byte string literal not displayed */ // create_at define the block number when the bucket created. CreateAt int64 `protobuf:"varint,6,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // payment_address is the address of the payment account PaymentAddress string `protobuf:"bytes,7,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` // primary_sp_address is the address of the primary sp. Objects belongs to this bucket will never // leave this SP, unless you explicitly shift them to another SP. PrimarySpAddress string `protobuf:"bytes,8,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // read_quota defines the traffic quota for read ReadQuota ReadQuota `` /* 132-byte string literal not displayed */ // payment_price_time TODO(Owen): refine the comments PaymentPriceTime int64 `protobuf:"varint,10,opt,name=payment_price_time,json=paymentPriceTime,proto3" json:"payment_price_time,omitempty"` // payment_out_flows PaymentOutFlows []types.OutFlowInUSD `protobuf:"bytes,11,rep,name=payment_out_flows,json=paymentOutFlows,proto3" json:"payment_out_flows"` }
func (*BucketInfo) Descriptor ¶
func (*BucketInfo) Descriptor() ([]byte, []int)
func (*BucketInfo) GetBucketName ¶
func (m *BucketInfo) GetBucketName() string
func (*BucketInfo) GetCreateAt ¶
func (m *BucketInfo) GetCreateAt() int64
func (*BucketInfo) GetIsPublic ¶
func (m *BucketInfo) GetIsPublic() bool
func (*BucketInfo) GetOwner ¶
func (m *BucketInfo) GetOwner() string
func (*BucketInfo) GetPaymentAddress ¶
func (m *BucketInfo) GetPaymentAddress() string
func (*BucketInfo) GetPaymentOutFlows ¶ added in v0.0.6
func (m *BucketInfo) GetPaymentOutFlows() []types.OutFlowInUSD
func (*BucketInfo) GetPaymentPriceTime ¶ added in v0.0.6
func (m *BucketInfo) GetPaymentPriceTime() int64
func (*BucketInfo) GetPrimarySpAddress ¶
func (m *BucketInfo) GetPrimarySpAddress() string
func (*BucketInfo) GetReadQuota ¶
func (m *BucketInfo) GetReadQuota() ReadQuota
func (*BucketInfo) GetSourceType ¶ added in v0.0.6
func (m *BucketInfo) GetSourceType() SourceType
func (*BucketInfo) Marshal ¶
func (m *BucketInfo) Marshal() (dAtA []byte, err error)
func (*BucketInfo) MarshalToSizedBuffer ¶
func (m *BucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BucketInfo) ProtoMessage ¶
func (*BucketInfo) ProtoMessage()
func (*BucketInfo) Reset ¶
func (m *BucketInfo) Reset()
func (*BucketInfo) Size ¶
func (m *BucketInfo) Size() (n int)
func (*BucketInfo) String ¶
func (m *BucketInfo) String() string
func (*BucketInfo) Unmarshal ¶
func (m *BucketInfo) Unmarshal(dAtA []byte) error
func (*BucketInfo) XXX_DiscardUnknown ¶
func (m *BucketInfo) XXX_DiscardUnknown()
func (*BucketInfo) XXX_Marshal ¶
func (m *BucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BucketInfo) XXX_Merge ¶
func (m *BucketInfo) XXX_Merge(src proto.Message)
func (*BucketInfo) XXX_Size ¶
func (m *BucketInfo) XXX_Size() int
func (*BucketInfo) XXX_Unmarshal ¶
func (m *BucketInfo) XXX_Unmarshal(b []byte) error
type EventCancelCreateObject ¶ added in v0.0.6
type EventCancelCreateObject struct { // operator_address define the account address of operator who cancel create object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // primary_sp_address define the operator account address of the sp PrimarySpAddress string `protobuf:"bytes,4,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,6,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventSealObject is emitted on MsgSealObject
func (*EventCancelCreateObject) Descriptor ¶ added in v0.0.6
func (*EventCancelCreateObject) Descriptor() ([]byte, []int)
func (*EventCancelCreateObject) GetBucketName ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetBucketName() string
func (*EventCancelCreateObject) GetObjectName ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetObjectName() string
func (*EventCancelCreateObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetOperatorAddress() string
func (*EventCancelCreateObject) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetPrimarySpAddress() string
func (*EventCancelCreateObject) Marshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) Marshal() (dAtA []byte, err error)
func (*EventCancelCreateObject) MarshalTo ¶ added in v0.0.6
func (m *EventCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
func (*EventCancelCreateObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCancelCreateObject) ProtoMessage ¶ added in v0.0.6
func (*EventCancelCreateObject) ProtoMessage()
func (*EventCancelCreateObject) Reset ¶ added in v0.0.6
func (m *EventCancelCreateObject) Reset()
func (*EventCancelCreateObject) Size ¶ added in v0.0.6
func (m *EventCancelCreateObject) Size() (n int)
func (*EventCancelCreateObject) String ¶ added in v0.0.6
func (m *EventCancelCreateObject) String() string
func (*EventCancelCreateObject) Unmarshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) Unmarshal(dAtA []byte) error
func (*EventCancelCreateObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_DiscardUnknown()
func (*EventCancelCreateObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCancelCreateObject) XXX_Merge ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Merge(src proto.Message)
func (*EventCancelCreateObject) XXX_Size ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Size() int
func (*EventCancelCreateObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Unmarshal(b []byte) error
type EventCopyObject ¶ added in v0.0.6
type EventCopyObject struct { // operator_address define the account address of operator who copy the object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // src_bucket_name define the name of the src bucket SrcBucketName string `protobuf:"bytes,2,opt,name=src_bucket_name,json=srcBucketName,proto3" json:"src_bucket_name,omitempty"` // src_object_name define the name of the src object SrcObjectName string `protobuf:"bytes,3,opt,name=src_object_name,json=srcObjectName,proto3" json:"src_object_name,omitempty"` // dst_bucket_name define the name of the dst bucket DstBucketName string `protobuf:"bytes,4,opt,name=dst_bucket_name,json=dstBucketName,proto3" json:"dst_bucket_name,omitempty"` // dst_object_name define the name of the dst object DstObjectName string `protobuf:"bytes,5,opt,name=dst_object_name,json=dstObjectName,proto3" json:"dst_object_name,omitempty"` // src_object_id define the u256 id for src object SrcObjectId Uint `protobuf:"bytes,6,opt,name=src_object_id,json=srcObjectId,proto3,customtype=Uint" json:"src_object_id"` // dst_object_id define the u256 id for dst object DstObjectId Uint `protobuf:"bytes,7,opt,name=dst_object_id,json=dstObjectId,proto3,customtype=Uint" json:"dst_object_id"` }
EventCopyObject is emitted on MsgCopyObject
func (*EventCopyObject) Descriptor ¶ added in v0.0.6
func (*EventCopyObject) Descriptor() ([]byte, []int)
func (*EventCopyObject) GetDstBucketName ¶ added in v0.0.6
func (m *EventCopyObject) GetDstBucketName() string
func (*EventCopyObject) GetDstObjectName ¶ added in v0.0.6
func (m *EventCopyObject) GetDstObjectName() string
func (*EventCopyObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventCopyObject) GetOperatorAddress() string
func (*EventCopyObject) GetSrcBucketName ¶ added in v0.0.6
func (m *EventCopyObject) GetSrcBucketName() string
func (*EventCopyObject) GetSrcObjectName ¶ added in v0.0.6
func (m *EventCopyObject) GetSrcObjectName() string
func (*EventCopyObject) Marshal ¶ added in v0.0.6
func (m *EventCopyObject) Marshal() (dAtA []byte, err error)
func (*EventCopyObject) MarshalTo ¶ added in v0.0.6
func (m *EventCopyObject) MarshalTo(dAtA []byte) (int, error)
func (*EventCopyObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCopyObject) ProtoMessage ¶ added in v0.0.6
func (*EventCopyObject) ProtoMessage()
func (*EventCopyObject) Reset ¶ added in v0.0.6
func (m *EventCopyObject) Reset()
func (*EventCopyObject) Size ¶ added in v0.0.6
func (m *EventCopyObject) Size() (n int)
func (*EventCopyObject) String ¶ added in v0.0.6
func (m *EventCopyObject) String() string
func (*EventCopyObject) Unmarshal ¶ added in v0.0.6
func (m *EventCopyObject) Unmarshal(dAtA []byte) error
func (*EventCopyObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCopyObject) XXX_DiscardUnknown()
func (*EventCopyObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCopyObject) XXX_Merge ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Merge(src proto.Message)
func (*EventCopyObject) XXX_Size ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Size() int
func (*EventCopyObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Unmarshal(b []byte) error
type EventCreateBucket ¶ added in v0.0.6
type EventCreateBucket struct { // owner_address define the account address of bucket owner OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // bucket_name is a globally unique name of bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // is_public define the highest permissions for bucket. When the bucket is public, everyone can get the object in it. IsPublic bool `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // create_at define the block number when the bucket has been created CreateAt int64 `protobuf:"varint,4,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // id is the unique u256 for bucket. Not global, only unique in buckets. Id Uint `protobuf:"bytes,5,opt,name=id,proto3,customtype=Uint" json:"id"` // source_type define the source of the bucket. CrossChain or Greenfield origin SourceType SourceType `` /* 136-byte string literal not displayed */ // read_quota defines the traffic quota for read ReadQuota ReadQuota `` /* 132-byte string literal not displayed */ // payment_address is the address of the payment account PaymentAddress string `protobuf:"bytes,8,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` // primary_sp_address is the operator address of the primary sp. PrimarySpAddress string `protobuf:"bytes,9,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` }
EventCreateBucket is emitted on MsgCreateBucket
func (*EventCreateBucket) Descriptor ¶ added in v0.0.6
func (*EventCreateBucket) Descriptor() ([]byte, []int)
func (*EventCreateBucket) GetBucketName ¶ added in v0.0.6
func (m *EventCreateBucket) GetBucketName() string
func (*EventCreateBucket) GetCreateAt ¶ added in v0.0.6
func (m *EventCreateBucket) GetCreateAt() int64
func (*EventCreateBucket) GetIsPublic ¶ added in v0.0.6
func (m *EventCreateBucket) GetIsPublic() bool
func (*EventCreateBucket) GetOwnerAddress ¶ added in v0.0.6
func (m *EventCreateBucket) GetOwnerAddress() string
func (*EventCreateBucket) GetPaymentAddress ¶ added in v0.0.6
func (m *EventCreateBucket) GetPaymentAddress() string
func (*EventCreateBucket) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventCreateBucket) GetPrimarySpAddress() string
func (*EventCreateBucket) GetReadQuota ¶ added in v0.0.6
func (m *EventCreateBucket) GetReadQuota() ReadQuota
func (*EventCreateBucket) GetSourceType ¶ added in v0.0.6
func (m *EventCreateBucket) GetSourceType() SourceType
func (*EventCreateBucket) Marshal ¶ added in v0.0.6
func (m *EventCreateBucket) Marshal() (dAtA []byte, err error)
func (*EventCreateBucket) MarshalTo ¶ added in v0.0.6
func (m *EventCreateBucket) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateBucket) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateBucket) ProtoMessage ¶ added in v0.0.6
func (*EventCreateBucket) ProtoMessage()
func (*EventCreateBucket) Reset ¶ added in v0.0.6
func (m *EventCreateBucket) Reset()
func (*EventCreateBucket) Size ¶ added in v0.0.6
func (m *EventCreateBucket) Size() (n int)
func (*EventCreateBucket) String ¶ added in v0.0.6
func (m *EventCreateBucket) String() string
func (*EventCreateBucket) Unmarshal ¶ added in v0.0.6
func (m *EventCreateBucket) Unmarshal(dAtA []byte) error
func (*EventCreateBucket) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_DiscardUnknown()
func (*EventCreateBucket) XXX_Marshal ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateBucket) XXX_Merge ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Merge(src proto.Message)
func (*EventCreateBucket) XXX_Size ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Size() int
func (*EventCreateBucket) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Unmarshal(b []byte) error
type EventCreateGroup ¶ added in v0.0.6
type EventCreateGroup struct { // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,3,opt,name=id,proto3,customtype=Uint" json:"id"` // source_type define the source of the group. CrossChain or Greenfield origin SourceType SourceType `` /* 136-byte string literal not displayed */ // members define the all the address of the members. Members []string `protobuf:"bytes,5,rep,name=members,proto3" json:"members,omitempty"` }
EventCreateGroup is emitted on MsgCreateGroup
func (*EventCreateGroup) Descriptor ¶ added in v0.0.6
func (*EventCreateGroup) Descriptor() ([]byte, []int)
func (*EventCreateGroup) GetGroupName ¶ added in v0.0.6
func (m *EventCreateGroup) GetGroupName() string
func (*EventCreateGroup) GetMembers ¶ added in v0.0.6
func (m *EventCreateGroup) GetMembers() []string
func (*EventCreateGroup) GetOwnerAddress ¶ added in v0.0.6
func (m *EventCreateGroup) GetOwnerAddress() string
func (*EventCreateGroup) GetSourceType ¶ added in v0.0.6
func (m *EventCreateGroup) GetSourceType() SourceType
func (*EventCreateGroup) Marshal ¶ added in v0.0.6
func (m *EventCreateGroup) Marshal() (dAtA []byte, err error)
func (*EventCreateGroup) MarshalTo ¶ added in v0.0.6
func (m *EventCreateGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateGroup) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateGroup) ProtoMessage ¶ added in v0.0.6
func (*EventCreateGroup) ProtoMessage()
func (*EventCreateGroup) Reset ¶ added in v0.0.6
func (m *EventCreateGroup) Reset()
func (*EventCreateGroup) Size ¶ added in v0.0.6
func (m *EventCreateGroup) Size() (n int)
func (*EventCreateGroup) String ¶ added in v0.0.6
func (m *EventCreateGroup) String() string
func (*EventCreateGroup) Unmarshal ¶ added in v0.0.6
func (m *EventCreateGroup) Unmarshal(dAtA []byte) error
func (*EventCreateGroup) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_DiscardUnknown()
func (*EventCreateGroup) XXX_Marshal ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateGroup) XXX_Merge ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Merge(src proto.Message)
func (*EventCreateGroup) XXX_Size ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Size() int
func (*EventCreateGroup) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Unmarshal(b []byte) error
type EventCreateObject ¶ added in v0.0.6
type EventCreateObject struct { // creator_address define the account address of msg creator CreatorAddress string `protobuf:"bytes,1,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` // owner_address define the account address of object owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // bucket_name define the name of bucket BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of object ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,6,opt,name=id,proto3,customtype=Uint" json:"id"` // primary_sp_address define the account address of primary sp PrimarySpAddress string `protobuf:"bytes,7,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // payload_size define the size of payload data which you want upload PayloadSize uint64 `protobuf:"varint,8,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // is_public define the highest permission of object. IsPublic bool `protobuf:"varint,9,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // content_type define the content type of the payload data ContentType string `protobuf:"bytes,10,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // create_at define the block number when the object created CreateAt int64 `protobuf:"varint,11,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // status define the status of the object. INIT or IN_SERVICE or others Status ObjectStatus `protobuf:"varint,12,opt,name=status,proto3,enum=bnbchain.greenfield.storage.ObjectStatus" json:"status,omitempty"` // redundancy_type define the type of redundancy. Replication or EC RedundancyType RedundancyType `` /* 153-byte string literal not displayed */ // source_type define the source of the object. CrossChain or Greenfield origin SourceType SourceType `` /* 137-byte string literal not displayed */ // checksums define the total checksums of the object which generated by redundancy Checksums [][]byte `protobuf:"bytes,15,rep,name=checksums,proto3" json:"checksums,omitempty"` }
EventCreateObject is emitted on MsgCreateObject
func (*EventCreateObject) Descriptor ¶ added in v0.0.6
func (*EventCreateObject) Descriptor() ([]byte, []int)
func (*EventCreateObject) GetBucketName ¶ added in v0.0.6
func (m *EventCreateObject) GetBucketName() string
func (*EventCreateObject) GetChecksums ¶ added in v0.0.6
func (m *EventCreateObject) GetChecksums() [][]byte
func (*EventCreateObject) GetContentType ¶ added in v0.0.6
func (m *EventCreateObject) GetContentType() string
func (*EventCreateObject) GetCreateAt ¶ added in v0.0.6
func (m *EventCreateObject) GetCreateAt() int64
func (*EventCreateObject) GetCreatorAddress ¶ added in v0.0.6
func (m *EventCreateObject) GetCreatorAddress() string
func (*EventCreateObject) GetIsPublic ¶ added in v0.0.6
func (m *EventCreateObject) GetIsPublic() bool
func (*EventCreateObject) GetObjectName ¶ added in v0.0.6
func (m *EventCreateObject) GetObjectName() string
func (*EventCreateObject) GetOwnerAddress ¶ added in v0.0.6
func (m *EventCreateObject) GetOwnerAddress() string
func (*EventCreateObject) GetPayloadSize ¶ added in v0.0.6
func (m *EventCreateObject) GetPayloadSize() uint64
func (*EventCreateObject) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventCreateObject) GetPrimarySpAddress() string
func (*EventCreateObject) GetRedundancyType ¶ added in v0.0.6
func (m *EventCreateObject) GetRedundancyType() RedundancyType
func (*EventCreateObject) GetSourceType ¶ added in v0.0.6
func (m *EventCreateObject) GetSourceType() SourceType
func (*EventCreateObject) GetStatus ¶ added in v0.0.6
func (m *EventCreateObject) GetStatus() ObjectStatus
func (*EventCreateObject) Marshal ¶ added in v0.0.6
func (m *EventCreateObject) Marshal() (dAtA []byte, err error)
func (*EventCreateObject) MarshalTo ¶ added in v0.0.6
func (m *EventCreateObject) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateObject) ProtoMessage ¶ added in v0.0.6
func (*EventCreateObject) ProtoMessage()
func (*EventCreateObject) Reset ¶ added in v0.0.6
func (m *EventCreateObject) Reset()
func (*EventCreateObject) Size ¶ added in v0.0.6
func (m *EventCreateObject) Size() (n int)
func (*EventCreateObject) String ¶ added in v0.0.6
func (m *EventCreateObject) String() string
func (*EventCreateObject) Unmarshal ¶ added in v0.0.6
func (m *EventCreateObject) Unmarshal(dAtA []byte) error
func (*EventCreateObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCreateObject) XXX_DiscardUnknown()
func (*EventCreateObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateObject) XXX_Merge ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Merge(src proto.Message)
func (*EventCreateObject) XXX_Size ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Size() int
func (*EventCreateObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Unmarshal(b []byte) error
type EventDeleteBucket ¶ added in v0.0.6
type EventDeleteBucket struct { // operator_address define the account address of operator who delete the bucket OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // owner_address define the account address of the bucket owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // bucket_name define the name of the deleted bucket BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // id define an u256 id for bucket Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // primary_sp_address define the account address of primary sp PrimarySpAddress string `protobuf:"bytes,5,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` }
EventDeleteBucket is emitted on MsgDeleteBucket
func (*EventDeleteBucket) Descriptor ¶ added in v0.0.6
func (*EventDeleteBucket) Descriptor() ([]byte, []int)
func (*EventDeleteBucket) GetBucketName ¶ added in v0.0.6
func (m *EventDeleteBucket) GetBucketName() string
func (*EventDeleteBucket) GetOperatorAddress ¶ added in v0.0.6
func (m *EventDeleteBucket) GetOperatorAddress() string
func (*EventDeleteBucket) GetOwnerAddress ¶ added in v0.0.6
func (m *EventDeleteBucket) GetOwnerAddress() string
func (*EventDeleteBucket) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventDeleteBucket) GetPrimarySpAddress() string
func (*EventDeleteBucket) Marshal ¶ added in v0.0.6
func (m *EventDeleteBucket) Marshal() (dAtA []byte, err error)
func (*EventDeleteBucket) MarshalTo ¶ added in v0.0.6
func (m *EventDeleteBucket) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteBucket) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteBucket) ProtoMessage ¶ added in v0.0.6
func (*EventDeleteBucket) ProtoMessage()
func (*EventDeleteBucket) Reset ¶ added in v0.0.6
func (m *EventDeleteBucket) Reset()
func (*EventDeleteBucket) Size ¶ added in v0.0.6
func (m *EventDeleteBucket) Size() (n int)
func (*EventDeleteBucket) String ¶ added in v0.0.6
func (m *EventDeleteBucket) String() string
func (*EventDeleteBucket) Unmarshal ¶ added in v0.0.6
func (m *EventDeleteBucket) Unmarshal(dAtA []byte) error
func (*EventDeleteBucket) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_DiscardUnknown()
func (*EventDeleteBucket) XXX_Marshal ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteBucket) XXX_Merge ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Merge(src proto.Message)
func (*EventDeleteBucket) XXX_Size ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Size() int
func (*EventDeleteBucket) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Unmarshal(b []byte) error
type EventDeleteGroup ¶ added in v0.0.6
type EventDeleteGroup struct { // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventDeleteGroup is emitted on MsgDeleteGroup
func (*EventDeleteGroup) Descriptor ¶ added in v0.0.6
func (*EventDeleteGroup) Descriptor() ([]byte, []int)
func (*EventDeleteGroup) GetGroupName ¶ added in v0.0.6
func (m *EventDeleteGroup) GetGroupName() string
func (*EventDeleteGroup) GetOwnerAddress ¶ added in v0.0.6
func (m *EventDeleteGroup) GetOwnerAddress() string
func (*EventDeleteGroup) Marshal ¶ added in v0.0.6
func (m *EventDeleteGroup) Marshal() (dAtA []byte, err error)
func (*EventDeleteGroup) MarshalTo ¶ added in v0.0.6
func (m *EventDeleteGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteGroup) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteGroup) ProtoMessage ¶ added in v0.0.6
func (*EventDeleteGroup) ProtoMessage()
func (*EventDeleteGroup) Reset ¶ added in v0.0.6
func (m *EventDeleteGroup) Reset()
func (*EventDeleteGroup) Size ¶ added in v0.0.6
func (m *EventDeleteGroup) Size() (n int)
func (*EventDeleteGroup) String ¶ added in v0.0.6
func (m *EventDeleteGroup) String() string
func (*EventDeleteGroup) Unmarshal ¶ added in v0.0.6
func (m *EventDeleteGroup) Unmarshal(dAtA []byte) error
func (*EventDeleteGroup) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_DiscardUnknown()
func (*EventDeleteGroup) XXX_Marshal ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteGroup) XXX_Merge ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Merge(src proto.Message)
func (*EventDeleteGroup) XXX_Size ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Size() int
func (*EventDeleteGroup) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Unmarshal(b []byte) error
type EventDeleteObject ¶ added in v0.0.6
type EventDeleteObject struct { // operator_address define the account address of operator who delete the object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // primary_sp_address define the operator account address of the sp PrimarySpAddress string `protobuf:"bytes,5,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // secondary_sp_address define all the operator address of the secondary sps SecondarySpAddresses []string `protobuf:"bytes,6,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"` }
EventDeleteObject is emitted on MsgDeleteObject
func (*EventDeleteObject) Descriptor ¶ added in v0.0.6
func (*EventDeleteObject) Descriptor() ([]byte, []int)
func (*EventDeleteObject) GetBucketName ¶ added in v0.0.6
func (m *EventDeleteObject) GetBucketName() string
func (*EventDeleteObject) GetObjectName ¶ added in v0.0.6
func (m *EventDeleteObject) GetObjectName() string
func (*EventDeleteObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventDeleteObject) GetOperatorAddress() string
func (*EventDeleteObject) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventDeleteObject) GetPrimarySpAddress() string
func (*EventDeleteObject) GetSecondarySpAddresses ¶ added in v0.0.6
func (m *EventDeleteObject) GetSecondarySpAddresses() []string
func (*EventDeleteObject) Marshal ¶ added in v0.0.6
func (m *EventDeleteObject) Marshal() (dAtA []byte, err error)
func (*EventDeleteObject) MarshalTo ¶ added in v0.0.6
func (m *EventDeleteObject) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteObject) ProtoMessage ¶ added in v0.0.6
func (*EventDeleteObject) ProtoMessage()
func (*EventDeleteObject) Reset ¶ added in v0.0.6
func (m *EventDeleteObject) Reset()
func (*EventDeleteObject) Size ¶ added in v0.0.6
func (m *EventDeleteObject) Size() (n int)
func (*EventDeleteObject) String ¶ added in v0.0.6
func (m *EventDeleteObject) String() string
func (*EventDeleteObject) Unmarshal ¶ added in v0.0.6
func (m *EventDeleteObject) Unmarshal(dAtA []byte) error
func (*EventDeleteObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_DiscardUnknown()
func (*EventDeleteObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteObject) XXX_Merge ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Merge(src proto.Message)
func (*EventDeleteObject) XXX_Size ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Size() int
func (*EventDeleteObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Unmarshal(b []byte) error
type EventLeaveGroup ¶ added in v0.0.6
type EventLeaveGroup struct { // member_address define the address of the member who leave the group MemberAddress string `protobuf:"bytes,1,opt,name=member_address,json=memberAddress,proto3" json:"member_address,omitempty"` // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventLeaveGroup is emitted on MsgLeaveGroup
func (*EventLeaveGroup) Descriptor ¶ added in v0.0.6
func (*EventLeaveGroup) Descriptor() ([]byte, []int)
func (*EventLeaveGroup) GetGroupName ¶ added in v0.0.6
func (m *EventLeaveGroup) GetGroupName() string
func (*EventLeaveGroup) GetMemberAddress ¶ added in v0.0.6
func (m *EventLeaveGroup) GetMemberAddress() string
func (*EventLeaveGroup) GetOwnerAddress ¶ added in v0.0.6
func (m *EventLeaveGroup) GetOwnerAddress() string
func (*EventLeaveGroup) Marshal ¶ added in v0.0.6
func (m *EventLeaveGroup) Marshal() (dAtA []byte, err error)
func (*EventLeaveGroup) MarshalTo ¶ added in v0.0.6
func (m *EventLeaveGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventLeaveGroup) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventLeaveGroup) ProtoMessage ¶ added in v0.0.6
func (*EventLeaveGroup) ProtoMessage()
func (*EventLeaveGroup) Reset ¶ added in v0.0.6
func (m *EventLeaveGroup) Reset()
func (*EventLeaveGroup) Size ¶ added in v0.0.6
func (m *EventLeaveGroup) Size() (n int)
func (*EventLeaveGroup) String ¶ added in v0.0.6
func (m *EventLeaveGroup) String() string
func (*EventLeaveGroup) Unmarshal ¶ added in v0.0.6
func (m *EventLeaveGroup) Unmarshal(dAtA []byte) error
func (*EventLeaveGroup) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_DiscardUnknown()
func (*EventLeaveGroup) XXX_Marshal ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventLeaveGroup) XXX_Merge ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Merge(src proto.Message)
func (*EventLeaveGroup) XXX_Size ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Size() int
func (*EventLeaveGroup) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Unmarshal(b []byte) error
type EventRejectSealObject ¶ added in v0.0.6
type EventRejectSealObject struct { // operator_address define the account address of operator who reject seal object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventRejectSealObject is emitted on MsgRejectSealObject
func (*EventRejectSealObject) Descriptor ¶ added in v0.0.6
func (*EventRejectSealObject) Descriptor() ([]byte, []int)
func (*EventRejectSealObject) GetBucketName ¶ added in v0.0.6
func (m *EventRejectSealObject) GetBucketName() string
func (*EventRejectSealObject) GetObjectName ¶ added in v0.0.6
func (m *EventRejectSealObject) GetObjectName() string
func (*EventRejectSealObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventRejectSealObject) GetOperatorAddress() string
func (*EventRejectSealObject) Marshal ¶ added in v0.0.6
func (m *EventRejectSealObject) Marshal() (dAtA []byte, err error)
func (*EventRejectSealObject) MarshalTo ¶ added in v0.0.6
func (m *EventRejectSealObject) MarshalTo(dAtA []byte) (int, error)
func (*EventRejectSealObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRejectSealObject) ProtoMessage ¶ added in v0.0.6
func (*EventRejectSealObject) ProtoMessage()
func (*EventRejectSealObject) Reset ¶ added in v0.0.6
func (m *EventRejectSealObject) Reset()
func (*EventRejectSealObject) Size ¶ added in v0.0.6
func (m *EventRejectSealObject) Size() (n int)
func (*EventRejectSealObject) String ¶ added in v0.0.6
func (m *EventRejectSealObject) String() string
func (*EventRejectSealObject) Unmarshal ¶ added in v0.0.6
func (m *EventRejectSealObject) Unmarshal(dAtA []byte) error
func (*EventRejectSealObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_DiscardUnknown()
func (*EventRejectSealObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRejectSealObject) XXX_Merge ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Merge(src proto.Message)
func (*EventRejectSealObject) XXX_Size ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Size() int
func (*EventRejectSealObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Unmarshal(b []byte) error
type EventSealObject ¶ added in v0.0.6
type EventSealObject struct { // operator_address define the account address of operator who seal object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,5,opt,name=id,proto3,customtype=Uint" json:"id"` // status define the status of the object. INIT or IN_SERVICE or others Status ObjectStatus `protobuf:"varint,6,opt,name=status,proto3,enum=bnbchain.greenfield.storage.ObjectStatus" json:"status,omitempty"` // secondary_sp_address define all the operator address of the secondary sps SecondarySpAddress []string `protobuf:"bytes,7,rep,name=secondary_sp_address,json=secondarySpAddress,proto3" json:"secondary_sp_address,omitempty"` }
EventSealObject is emitted on MsgSealObject
func (*EventSealObject) Descriptor ¶ added in v0.0.6
func (*EventSealObject) Descriptor() ([]byte, []int)
func (*EventSealObject) GetBucketName ¶ added in v0.0.6
func (m *EventSealObject) GetBucketName() string
func (*EventSealObject) GetObjectName ¶ added in v0.0.6
func (m *EventSealObject) GetObjectName() string
func (*EventSealObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventSealObject) GetOperatorAddress() string
func (*EventSealObject) GetSecondarySpAddress ¶ added in v0.0.6
func (m *EventSealObject) GetSecondarySpAddress() []string
func (*EventSealObject) GetStatus ¶ added in v0.0.6
func (m *EventSealObject) GetStatus() ObjectStatus
func (*EventSealObject) Marshal ¶ added in v0.0.6
func (m *EventSealObject) Marshal() (dAtA []byte, err error)
func (*EventSealObject) MarshalTo ¶ added in v0.0.6
func (m *EventSealObject) MarshalTo(dAtA []byte) (int, error)
func (*EventSealObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSealObject) ProtoMessage ¶ added in v0.0.6
func (*EventSealObject) ProtoMessage()
func (*EventSealObject) Reset ¶ added in v0.0.6
func (m *EventSealObject) Reset()
func (*EventSealObject) Size ¶ added in v0.0.6
func (m *EventSealObject) Size() (n int)
func (*EventSealObject) String ¶ added in v0.0.6
func (m *EventSealObject) String() string
func (*EventSealObject) Unmarshal ¶ added in v0.0.6
func (m *EventSealObject) Unmarshal(dAtA []byte) error
func (*EventSealObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventSealObject) XXX_DiscardUnknown()
func (*EventSealObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSealObject) XXX_Merge ¶ added in v0.0.6
func (m *EventSealObject) XXX_Merge(src proto.Message)
func (*EventSealObject) XXX_Size ¶ added in v0.0.6
func (m *EventSealObject) XXX_Size() int
func (*EventSealObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventSealObject) XXX_Unmarshal(b []byte) error
type EventUpdateBucketInfo ¶ added in v0.0.6
type EventUpdateBucketInfo struct { // operator_address define the account address of operator who update the bucket OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // id define an u256 id for bucket Id Uint `protobuf:"bytes,3,opt,name=id,proto3,customtype=Uint" json:"id"` // read_quota_before define the read quota before updated ReadQuotaBefore ReadQuota `` /* 152-byte string literal not displayed */ // read_quota_after define the read quota after updated ReadQuotaAfter ReadQuota `` /* 149-byte string literal not displayed */ // payment_address_before define the payment address before updated PaymentAddressBefore string `protobuf:"bytes,6,opt,name=payment_address_before,json=paymentAddressBefore,proto3" json:"payment_address_before,omitempty"` // payment_address_after define the payment address after updated PaymentAddressAfter string `protobuf:"bytes,7,opt,name=payment_address_after,json=paymentAddressAfter,proto3" json:"payment_address_after,omitempty"` }
EventUpdateBucketInfo is emitted on MsgUpdateBucketInfo
func (*EventUpdateBucketInfo) Descriptor ¶ added in v0.0.6
func (*EventUpdateBucketInfo) Descriptor() ([]byte, []int)
func (*EventUpdateBucketInfo) GetBucketName ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetBucketName() string
func (*EventUpdateBucketInfo) GetOperatorAddress ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetOperatorAddress() string
func (*EventUpdateBucketInfo) GetPaymentAddressAfter ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetPaymentAddressAfter() string
func (*EventUpdateBucketInfo) GetPaymentAddressBefore ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetPaymentAddressBefore() string
func (*EventUpdateBucketInfo) GetReadQuotaAfter ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetReadQuotaAfter() ReadQuota
func (*EventUpdateBucketInfo) GetReadQuotaBefore ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetReadQuotaBefore() ReadQuota
func (*EventUpdateBucketInfo) Marshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Marshal() (dAtA []byte, err error)
func (*EventUpdateBucketInfo) MarshalTo ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateBucketInfo) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateBucketInfo) ProtoMessage ¶ added in v0.0.6
func (*EventUpdateBucketInfo) ProtoMessage()
func (*EventUpdateBucketInfo) Reset ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Reset()
func (*EventUpdateBucketInfo) Size ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Size() (n int)
func (*EventUpdateBucketInfo) String ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) String() string
func (*EventUpdateBucketInfo) Unmarshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Unmarshal(dAtA []byte) error
func (*EventUpdateBucketInfo) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_DiscardUnknown()
func (*EventUpdateBucketInfo) XXX_Marshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateBucketInfo) XXX_Merge ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Merge(src proto.Message)
func (*EventUpdateBucketInfo) XXX_Size ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Size() int
func (*EventUpdateBucketInfo) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Unmarshal(b []byte) error
type EventUpdateGroupMember ¶ added in v0.0.6
type EventUpdateGroupMember struct { // operator_address define the account address of operator who update the group member OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // members_to_add defines all the members to be added to the group MembersToAdd []string `protobuf:"bytes,5,rep,name=members_to_add,json=membersToAdd,proto3" json:"members_to_add,omitempty"` // members_to_add defines all the members to be deleted from the group MembersToDelete []string `protobuf:"bytes,6,rep,name=members_to_delete,json=membersToDelete,proto3" json:"members_to_delete,omitempty"` }
EventUpdateGroupMember is emitted on MsgUpdateGroupMember
func (*EventUpdateGroupMember) Descriptor ¶ added in v0.0.6
func (*EventUpdateGroupMember) Descriptor() ([]byte, []int)
func (*EventUpdateGroupMember) GetGroupName ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetGroupName() string
func (*EventUpdateGroupMember) GetMembersToAdd ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetMembersToAdd() []string
func (*EventUpdateGroupMember) GetMembersToDelete ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetMembersToDelete() []string
func (*EventUpdateGroupMember) GetOperatorAddress ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetOperatorAddress() string
func (*EventUpdateGroupMember) GetOwnerAddress ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetOwnerAddress() string
func (*EventUpdateGroupMember) Marshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Marshal() (dAtA []byte, err error)
func (*EventUpdateGroupMember) MarshalTo ¶ added in v0.0.6
func (m *EventUpdateGroupMember) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateGroupMember) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateGroupMember) ProtoMessage ¶ added in v0.0.6
func (*EventUpdateGroupMember) ProtoMessage()
func (*EventUpdateGroupMember) Reset ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Reset()
func (*EventUpdateGroupMember) Size ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Size() (n int)
func (*EventUpdateGroupMember) String ¶ added in v0.0.6
func (m *EventUpdateGroupMember) String() string
func (*EventUpdateGroupMember) Unmarshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Unmarshal(dAtA []byte) error
func (*EventUpdateGroupMember) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_DiscardUnknown()
func (*EventUpdateGroupMember) XXX_Marshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateGroupMember) XXX_Merge ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Merge(src proto.Message)
func (*EventUpdateGroupMember) XXX_Size ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Size() int
func (*EventUpdateGroupMember) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the bridge module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GroupInfo ¶
type GroupInfo struct { // owner is the owner of the group. It can not changed once it created. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // group_name is the name of group which is unique under an account. GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // source_type SourceType SourceType `` /* 136-byte string literal not displayed */ // id is the unique identifier of group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
func (*GroupInfo) Descriptor ¶
func (*GroupInfo) GetGroupName ¶
func (*GroupInfo) GetSourceType ¶ added in v0.0.6
func (m *GroupInfo) GetSourceType() SourceType
func (*GroupInfo) MarshalToSizedBuffer ¶
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (*GroupInfo) XXX_DiscardUnknown ¶
func (m *GroupInfo) XXX_DiscardUnknown()
func (*GroupInfo) XXX_Marshal ¶
func (*GroupInfo) XXX_Unmarshal ¶
type GroupMemberInfo ¶
type GroupMemberInfo struct { Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"` Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"` ExpireTime uint64 `protobuf:"varint,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` }
func (*GroupMemberInfo) Descriptor ¶
func (*GroupMemberInfo) Descriptor() ([]byte, []int)
func (*GroupMemberInfo) GetExpireTime ¶
func (m *GroupMemberInfo) GetExpireTime() uint64
func (*GroupMemberInfo) GetMember ¶
func (m *GroupMemberInfo) GetMember() string
func (*GroupMemberInfo) Marshal ¶
func (m *GroupMemberInfo) Marshal() (dAtA []byte, err error)
func (*GroupMemberInfo) MarshalToSizedBuffer ¶
func (m *GroupMemberInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupMemberInfo) ProtoMessage ¶
func (*GroupMemberInfo) ProtoMessage()
func (*GroupMemberInfo) Reset ¶
func (m *GroupMemberInfo) Reset()
func (*GroupMemberInfo) Size ¶
func (m *GroupMemberInfo) Size() (n int)
func (*GroupMemberInfo) String ¶
func (m *GroupMemberInfo) String() string
func (*GroupMemberInfo) Unmarshal ¶
func (m *GroupMemberInfo) Unmarshal(dAtA []byte) error
func (*GroupMemberInfo) XXX_DiscardUnknown ¶
func (m *GroupMemberInfo) XXX_DiscardUnknown()
func (*GroupMemberInfo) XXX_Marshal ¶
func (m *GroupMemberInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupMemberInfo) XXX_Merge ¶
func (m *GroupMemberInfo) XXX_Merge(src proto.Message)
func (*GroupMemberInfo) XXX_Size ¶
func (m *GroupMemberInfo) XXX_Size() int
func (*GroupMemberInfo) XXX_Unmarshal ¶
func (m *GroupMemberInfo) XXX_Unmarshal(b []byte) error
type MsgCancelCreateObject ¶ added in v0.0.6
type MsgCancelCreateObject struct { // operator is the account address of the operator Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` }
func NewMsgCancelCreateObject ¶ added in v0.0.6
func NewMsgCancelCreateObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgCancelCreateObject
func (*MsgCancelCreateObject) Descriptor ¶ added in v0.0.6
func (*MsgCancelCreateObject) Descriptor() ([]byte, []int)
func (*MsgCancelCreateObject) GetBucketName ¶ added in v0.0.6
func (m *MsgCancelCreateObject) GetBucketName() string
func (*MsgCancelCreateObject) GetObjectName ¶ added in v0.0.6
func (m *MsgCancelCreateObject) GetObjectName() string
func (*MsgCancelCreateObject) GetOperator ¶ added in v0.0.6
func (m *MsgCancelCreateObject) GetOperator() string
func (*MsgCancelCreateObject) GetSignBytes ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) GetSignBytes() []byte
func (*MsgCancelCreateObject) GetSigners ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) GetSigners() []sdk.AccAddress
func (*MsgCancelCreateObject) Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Marshal() (dAtA []byte, err error)
func (*MsgCancelCreateObject) MarshalTo ¶ added in v0.0.6
func (m *MsgCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelCreateObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelCreateObject) ProtoMessage ¶ added in v0.0.6
func (*MsgCancelCreateObject) ProtoMessage()
func (*MsgCancelCreateObject) Reset ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Reset()
func (*MsgCancelCreateObject) Route ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) Route() string
func (*MsgCancelCreateObject) Size ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Size() (n int)
func (*MsgCancelCreateObject) String ¶ added in v0.0.6
func (m *MsgCancelCreateObject) String() string
func (*MsgCancelCreateObject) Type ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) Type() string
func (*MsgCancelCreateObject) Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Unmarshal(dAtA []byte) error
func (*MsgCancelCreateObject) ValidateBasic ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) ValidateBasic() error
func (*MsgCancelCreateObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_DiscardUnknown()
func (*MsgCancelCreateObject) XXX_Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelCreateObject) XXX_Merge ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Merge(src proto.Message)
func (*MsgCancelCreateObject) XXX_Size ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Size() int
func (*MsgCancelCreateObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Unmarshal(b []byte) error
type MsgCancelCreateObjectResponse ¶ added in v0.0.6
type MsgCancelCreateObjectResponse struct { }
func (*MsgCancelCreateObjectResponse) Descriptor ¶ added in v0.0.6
func (*MsgCancelCreateObjectResponse) Descriptor() ([]byte, []int)
func (*MsgCancelCreateObjectResponse) Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelCreateObjectResponse) MarshalTo ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelCreateObjectResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelCreateObjectResponse) ProtoMessage ¶ added in v0.0.6
func (*MsgCancelCreateObjectResponse) ProtoMessage()
func (*MsgCancelCreateObjectResponse) Reset ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Reset()
func (*MsgCancelCreateObjectResponse) Size ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Size() (n int)
func (*MsgCancelCreateObjectResponse) String ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) String() string
func (*MsgCancelCreateObjectResponse) Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelCreateObjectResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_DiscardUnknown()
func (*MsgCancelCreateObjectResponse) XXX_Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelCreateObjectResponse) XXX_Merge ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Merge(src proto.Message)
func (*MsgCancelCreateObjectResponse) XXX_Size ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Size() int
func (*MsgCancelCreateObjectResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateBucket(ctx context.Context, in *MsgCreateBucket, opts ...grpc.CallOption) (*MsgCreateBucketResponse, error) DeleteBucket(ctx context.Context, in *MsgDeleteBucket, opts ...grpc.CallOption) (*MsgDeleteBucketResponse, error) CreateObject(ctx context.Context, in *MsgCreateObject, opts ...grpc.CallOption) (*MsgCreateObjectResponse, error) SealObject(ctx context.Context, in *MsgSealObject, opts ...grpc.CallOption) (*MsgSealObjectResponse, error) RejectSealObject(ctx context.Context, in *MsgRejectSealObject, opts ...grpc.CallOption) (*MsgRejectSealObjectResponse, error) DeleteObject(ctx context.Context, in *MsgDeleteObject, opts ...grpc.CallOption) (*MsgDeleteObjectResponse, error) CreateGroup(ctx context.Context, in *MsgCreateGroup, opts ...grpc.CallOption) (*MsgCreateGroupResponse, error) DeleteGroup(ctx context.Context, in *MsgDeleteGroup, opts ...grpc.CallOption) (*MsgDeleteGroupResponse, error) UpdateGroupMember(ctx context.Context, in *MsgUpdateGroupMember, opts ...grpc.CallOption) (*MsgUpdateGroupMemberResponse, error) LeaveGroup(ctx context.Context, in *MsgLeaveGroup, opts ...grpc.CallOption) (*MsgLeaveGroupResponse, error) CopyObject(ctx context.Context, in *MsgCopyObject, opts ...grpc.CallOption) (*MsgCopyObjectResponse, error) // this line is used by starport scaffolding # proto/tx/rpc UpdateBucketInfo(ctx context.Context, in *MsgUpdateBucketInfo, opts ...grpc.CallOption) (*MsgUpdateBucketInfoResponse, error) CancelCreateObject(ctx context.Context, in *MsgCancelCreateObject, opts ...grpc.CallOption) (*MsgCancelCreateObjectResponse, 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 MsgCopyObject ¶
type MsgCopyObject struct { // operator is the account address of the operator who has the CopyObject permission of the object to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // src_bucket_name is the name of the bucket where the object to be copied is located SrcBucketName string `protobuf:"bytes,2,opt,name=src_bucket_name,json=srcBucketName,proto3" json:"src_bucket_name,omitempty"` // dst_bucket_name is the name of the bucket where the object is copied to. DstBucketName string `protobuf:"bytes,3,opt,name=dst_bucket_name,json=dstBucketName,proto3" json:"dst_bucket_name,omitempty"` // src_object_name is the name of the object which to be copied SrcObjectName string `protobuf:"bytes,4,opt,name=src_object_name,json=srcObjectName,proto3" json:"src_object_name,omitempty"` // dst_object_name is the name of the object which is copied to DstObjectName string `protobuf:"bytes,5,opt,name=dst_object_name,json=dstObjectName,proto3" json:"dst_object_name,omitempty"` // primary_sp_approval is the approval info of the primary SP which indicates that primary sp confirm the user's request. DstPrimarySpApproval *Approval `protobuf:"bytes,6,opt,name=dst_primary_sp_approval,json=dstPrimarySpApproval,proto3" json:"dst_primary_sp_approval,omitempty"` }
func NewMsgCopyObject ¶
func NewMsgCopyObject( operator sdk.AccAddress, srcBucketName string, dstBucketName string, srcObjectName string, dstObjectName string, timeoutHeight uint64, sig []byte) *MsgCopyObject
func (*MsgCopyObject) Descriptor ¶
func (*MsgCopyObject) Descriptor() ([]byte, []int)
func (*MsgCopyObject) GetApprovalBytes ¶ added in v0.0.6
func (msg *MsgCopyObject) GetApprovalBytes() []byte
GetApprovalBytes returns the message bytes of approval info.
func (*MsgCopyObject) GetDstBucketName ¶
func (m *MsgCopyObject) GetDstBucketName() string
func (*MsgCopyObject) GetDstObjectName ¶
func (m *MsgCopyObject) GetDstObjectName() string
func (*MsgCopyObject) GetDstPrimarySpApproval ¶ added in v0.0.6
func (m *MsgCopyObject) GetDstPrimarySpApproval() *Approval
func (*MsgCopyObject) GetOperator ¶
func (m *MsgCopyObject) GetOperator() string
func (*MsgCopyObject) GetSignBytes ¶
func (msg *MsgCopyObject) GetSignBytes() []byte
func (*MsgCopyObject) GetSigners ¶
func (msg *MsgCopyObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgCopyObject) GetSrcBucketName ¶
func (m *MsgCopyObject) GetSrcBucketName() string
func (*MsgCopyObject) GetSrcObjectName ¶
func (m *MsgCopyObject) GetSrcObjectName() string
func (*MsgCopyObject) Marshal ¶
func (m *MsgCopyObject) Marshal() (dAtA []byte, err error)
func (*MsgCopyObject) MarshalToSizedBuffer ¶
func (m *MsgCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCopyObject) ProtoMessage ¶
func (*MsgCopyObject) ProtoMessage()
func (*MsgCopyObject) Reset ¶
func (m *MsgCopyObject) Reset()
func (*MsgCopyObject) Route ¶
func (msg *MsgCopyObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgCopyObject) Size ¶
func (m *MsgCopyObject) Size() (n int)
func (*MsgCopyObject) String ¶
func (m *MsgCopyObject) String() string
func (*MsgCopyObject) Type ¶
func (msg *MsgCopyObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgCopyObject) Unmarshal ¶
func (m *MsgCopyObject) Unmarshal(dAtA []byte) error
func (*MsgCopyObject) ValidateBasic ¶
func (msg *MsgCopyObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCopyObject) XXX_DiscardUnknown ¶
func (m *MsgCopyObject) XXX_DiscardUnknown()
func (*MsgCopyObject) XXX_Marshal ¶
func (m *MsgCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCopyObject) XXX_Merge ¶
func (m *MsgCopyObject) XXX_Merge(src proto.Message)
func (*MsgCopyObject) XXX_Size ¶
func (m *MsgCopyObject) XXX_Size() int
func (*MsgCopyObject) XXX_Unmarshal ¶
func (m *MsgCopyObject) XXX_Unmarshal(b []byte) error
type MsgCopyObjectResponse ¶
type MsgCopyObjectResponse struct { }
func (*MsgCopyObjectResponse) Descriptor ¶
func (*MsgCopyObjectResponse) Descriptor() ([]byte, []int)
func (*MsgCopyObjectResponse) Marshal ¶
func (m *MsgCopyObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgCopyObjectResponse) MarshalTo ¶
func (m *MsgCopyObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCopyObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgCopyObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCopyObjectResponse) ProtoMessage ¶
func (*MsgCopyObjectResponse) ProtoMessage()
func (*MsgCopyObjectResponse) Reset ¶
func (m *MsgCopyObjectResponse) Reset()
func (*MsgCopyObjectResponse) Size ¶
func (m *MsgCopyObjectResponse) Size() (n int)
func (*MsgCopyObjectResponse) String ¶
func (m *MsgCopyObjectResponse) String() string
func (*MsgCopyObjectResponse) Unmarshal ¶
func (m *MsgCopyObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgCopyObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgCopyObjectResponse) XXX_DiscardUnknown()
func (*MsgCopyObjectResponse) XXX_Marshal ¶
func (m *MsgCopyObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCopyObjectResponse) XXX_Merge ¶
func (m *MsgCopyObjectResponse) XXX_Merge(src proto.Message)
func (*MsgCopyObjectResponse) XXX_Size ¶
func (m *MsgCopyObjectResponse) XXX_Size() int
func (*MsgCopyObjectResponse) XXX_Unmarshal ¶
func (m *MsgCopyObjectResponse) XXX_Unmarshal(b []byte) error
type MsgCreateBucket ¶
type MsgCreateBucket struct { // creator is the account address of bucket creator, it is also the bucket owner. Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // bucket_name is a globally unique name of bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // is_public means the bucket is private or public. if private, only bucket owner or grantee can read it, // otherwise every greenfield user can read it. IsPublic bool `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // payment_address is an account address specified by bucket owner to pay the read fee. Default: creator PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` // primary_sp_address is the address of primary sp. PrimarySpAddress string `protobuf:"bytes,6,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // primary_sp_approval is the approval info of the primary SP which indicates that primary sp confirm the user's request. PrimarySpApproval *Approval `protobuf:"bytes,7,opt,name=primary_sp_approval,json=primarySpApproval,proto3" json:"primary_sp_approval,omitempty"` // read_quota ReadQuota ReadQuota `` /* 132-byte string literal not displayed */ }
func NewMsgCreateBucket ¶
func NewMsgCreateBucket( creator sdk.AccAddress, bucketName string, isPublic bool, primarySPAddress sdk.AccAddress, paymentAddress sdk.AccAddress, timeoutHeight uint64, sig []byte) *MsgCreateBucket
NewMsgCreateBucket creates a new MsgCreateBucket instance.
func (*MsgCreateBucket) Descriptor ¶
func (*MsgCreateBucket) Descriptor() ([]byte, []int)
func (*MsgCreateBucket) GetApprovalBytes ¶ added in v0.0.6
func (msg *MsgCreateBucket) GetApprovalBytes() []byte
GetApprovalBytes returns the message bytes of approval info.
func (*MsgCreateBucket) GetBucketName ¶
func (m *MsgCreateBucket) GetBucketName() string
func (*MsgCreateBucket) GetCreator ¶
func (m *MsgCreateBucket) GetCreator() string
func (*MsgCreateBucket) GetIsPublic ¶
func (m *MsgCreateBucket) GetIsPublic() bool
func (*MsgCreateBucket) GetPaymentAddress ¶
func (m *MsgCreateBucket) GetPaymentAddress() string
func (*MsgCreateBucket) GetPrimarySpAddress ¶
func (m *MsgCreateBucket) GetPrimarySpAddress() string
func (*MsgCreateBucket) GetPrimarySpApproval ¶ added in v0.0.6
func (m *MsgCreateBucket) GetPrimarySpApproval() *Approval
func (*MsgCreateBucket) GetReadQuota ¶ added in v0.0.6
func (m *MsgCreateBucket) GetReadQuota() ReadQuota
func (*MsgCreateBucket) GetSignBytes ¶
func (msg *MsgCreateBucket) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgCreateBucket) GetSigners ¶
func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It returns the address(es) that must sign over msg.GetSignBytes().
func (*MsgCreateBucket) Marshal ¶
func (m *MsgCreateBucket) Marshal() (dAtA []byte, err error)
func (*MsgCreateBucket) MarshalToSizedBuffer ¶
func (m *MsgCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBucket) ProtoMessage ¶
func (*MsgCreateBucket) ProtoMessage()
func (*MsgCreateBucket) Reset ¶
func (m *MsgCreateBucket) Reset()
func (*MsgCreateBucket) Route ¶
func (msg *MsgCreateBucket) Route() string
Route implements the sdk.Msg interface.
func (*MsgCreateBucket) Size ¶
func (m *MsgCreateBucket) Size() (n int)
func (*MsgCreateBucket) String ¶
func (m *MsgCreateBucket) String() string
func (*MsgCreateBucket) Type ¶
func (msg *MsgCreateBucket) Type() string
Type implements the sdk.Msg interface.
func (*MsgCreateBucket) Unmarshal ¶
func (m *MsgCreateBucket) Unmarshal(dAtA []byte) error
func (*MsgCreateBucket) ValidateBasic ¶
func (msg *MsgCreateBucket) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCreateBucket) XXX_DiscardUnknown ¶
func (m *MsgCreateBucket) XXX_DiscardUnknown()
func (*MsgCreateBucket) XXX_Marshal ¶
func (m *MsgCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBucket) XXX_Merge ¶
func (m *MsgCreateBucket) XXX_Merge(src proto.Message)
func (*MsgCreateBucket) XXX_Size ¶
func (m *MsgCreateBucket) XXX_Size() int
func (*MsgCreateBucket) XXX_Unmarshal ¶
func (m *MsgCreateBucket) XXX_Unmarshal(b []byte) error
type MsgCreateBucketResponse ¶
type MsgCreateBucketResponse struct { }
func (*MsgCreateBucketResponse) Descriptor ¶
func (*MsgCreateBucketResponse) Descriptor() ([]byte, []int)
func (*MsgCreateBucketResponse) Marshal ¶
func (m *MsgCreateBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateBucketResponse) MarshalTo ¶
func (m *MsgCreateBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateBucketResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBucketResponse) ProtoMessage ¶
func (*MsgCreateBucketResponse) ProtoMessage()
func (*MsgCreateBucketResponse) Reset ¶
func (m *MsgCreateBucketResponse) Reset()
func (*MsgCreateBucketResponse) Size ¶
func (m *MsgCreateBucketResponse) Size() (n int)
func (*MsgCreateBucketResponse) String ¶
func (m *MsgCreateBucketResponse) String() string
func (*MsgCreateBucketResponse) Unmarshal ¶
func (m *MsgCreateBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateBucketResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateBucketResponse) XXX_DiscardUnknown()
func (*MsgCreateBucketResponse) XXX_Marshal ¶
func (m *MsgCreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBucketResponse) XXX_Merge ¶
func (m *MsgCreateBucketResponse) XXX_Merge(src proto.Message)
func (*MsgCreateBucketResponse) XXX_Size ¶
func (m *MsgCreateBucketResponse) XXX_Size() int
func (*MsgCreateBucketResponse) XXX_Unmarshal ¶
func (m *MsgCreateBucketResponse) XXX_Unmarshal(b []byte) error
type MsgCreateGroup ¶
type MsgCreateGroup struct { // owner is the account address of group owner who create the group Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // group_name is the name of the group. it's not globally unique. GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // member_request is a list of member which to be add or remove Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` }
func NewMsgCreateGroup ¶
func NewMsgCreateGroup(creator sdk.AccAddress, groupName string, membersAcc []sdk.AccAddress) *MsgCreateGroup
func (*MsgCreateGroup) Descriptor ¶
func (*MsgCreateGroup) Descriptor() ([]byte, []int)
func (*MsgCreateGroup) GetCreator ¶
func (m *MsgCreateGroup) GetCreator() string
func (*MsgCreateGroup) GetGroupName ¶
func (m *MsgCreateGroup) GetGroupName() string
func (*MsgCreateGroup) GetMembers ¶
func (m *MsgCreateGroup) GetMembers() []string
func (*MsgCreateGroup) GetSignBytes ¶
func (msg *MsgCreateGroup) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgCreateGroup) GetSigners ¶
func (msg *MsgCreateGroup) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgCreateGroup) Marshal ¶
func (m *MsgCreateGroup) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroup) MarshalToSizedBuffer ¶
func (m *MsgCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroup) ProtoMessage ¶
func (*MsgCreateGroup) ProtoMessage()
func (*MsgCreateGroup) Reset ¶
func (m *MsgCreateGroup) Reset()
func (*MsgCreateGroup) Route ¶
func (msg *MsgCreateGroup) Route() string
Route implements the sdk.Msg interface.
func (*MsgCreateGroup) Size ¶
func (m *MsgCreateGroup) Size() (n int)
func (*MsgCreateGroup) String ¶
func (m *MsgCreateGroup) String() string
func (*MsgCreateGroup) Type ¶
func (msg *MsgCreateGroup) Type() string
Type implements the sdk.Msg interface.
func (*MsgCreateGroup) Unmarshal ¶
func (m *MsgCreateGroup) Unmarshal(dAtA []byte) error
func (*MsgCreateGroup) ValidateBasic ¶
func (msg *MsgCreateGroup) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCreateGroup) XXX_DiscardUnknown ¶
func (m *MsgCreateGroup) XXX_DiscardUnknown()
func (*MsgCreateGroup) XXX_Marshal ¶
func (m *MsgCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroup) XXX_Merge ¶
func (m *MsgCreateGroup) XXX_Merge(src proto.Message)
func (*MsgCreateGroup) XXX_Size ¶
func (m *MsgCreateGroup) XXX_Size() int
func (*MsgCreateGroup) XXX_Unmarshal ¶
func (m *MsgCreateGroup) XXX_Unmarshal(b []byte) error
type MsgCreateGroupResponse ¶
type MsgCreateGroupResponse struct { }
func (*MsgCreateGroupResponse) Descriptor ¶
func (*MsgCreateGroupResponse) Descriptor() ([]byte, []int)
func (*MsgCreateGroupResponse) Marshal ¶
func (m *MsgCreateGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroupResponse) MarshalTo ¶
func (m *MsgCreateGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroupResponse) ProtoMessage ¶
func (*MsgCreateGroupResponse) ProtoMessage()
func (*MsgCreateGroupResponse) Reset ¶
func (m *MsgCreateGroupResponse) Reset()
func (*MsgCreateGroupResponse) Size ¶
func (m *MsgCreateGroupResponse) Size() (n int)
func (*MsgCreateGroupResponse) String ¶
func (m *MsgCreateGroupResponse) String() string
func (*MsgCreateGroupResponse) Unmarshal ¶
func (m *MsgCreateGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateGroupResponse) XXX_DiscardUnknown()
func (*MsgCreateGroupResponse) XXX_Marshal ¶
func (m *MsgCreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroupResponse) XXX_Merge ¶
func (m *MsgCreateGroupResponse) XXX_Merge(src proto.Message)
func (*MsgCreateGroupResponse) XXX_Size ¶
func (m *MsgCreateGroupResponse) XXX_Size() int
func (*MsgCreateGroupResponse) XXX_Unmarshal ¶
func (m *MsgCreateGroupResponse) XXX_Unmarshal(b []byte) error
type MsgCreateObject ¶
type MsgCreateObject struct { // creator is the account address of object uploader Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // bucket_name is the name of the bucket where the object is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // payload_size is size of the object's payload PayloadSize uint64 `protobuf:"varint,4,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // is_public means the bucket is private or public. if private, only bucket owner or grantee can access it, // otherwise every greenfield user can access it. IsPublic bool `protobuf:"varint,5,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // content_type is a standard MIME type describing the format of the object. ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // primary_sp_approval is the approval info of the primary SP which indicates that primary sp confirm the user's request. PrimarySpApproval *Approval `protobuf:"bytes,7,opt,name=primary_sp_approval,json=primarySpApproval,proto3" json:"primary_sp_approval,omitempty"` // expect_checksums is a list of hashes which was generate by redundancy algorithm. ExpectChecksums [][]byte `protobuf:"bytes,8,rep,name=expect_checksums,json=expectChecksums,proto3" json:"expect_checksums,omitempty"` // expect_secondarySPs is a list of StorageProvider address, which is optional ExpectSecondarySpAddresses []string `` /* 143-byte string literal not displayed */ }
func NewMsgCreateObject ¶
func NewMsgCreateObject( creator sdk.AccAddress, bucketName string, objectName string, payloadSize uint64, isPublic bool, expectChecksums [][]byte, contentType string, timeoutHeight uint64, sig []byte, secondarySPAccs []sdk.AccAddress) *MsgCreateObject
NewMsgCreateObject creates a new MsgCreateObject instance.
func (*MsgCreateObject) Descriptor ¶
func (*MsgCreateObject) Descriptor() ([]byte, []int)
func (*MsgCreateObject) GetApprovalBytes ¶ added in v0.0.6
func (msg *MsgCreateObject) GetApprovalBytes() []byte
GetApprovalBytes returns the message bytes of approval info.
func (*MsgCreateObject) GetBucketName ¶
func (m *MsgCreateObject) GetBucketName() string
func (*MsgCreateObject) GetContentType ¶
func (m *MsgCreateObject) GetContentType() string
func (*MsgCreateObject) GetCreator ¶
func (m *MsgCreateObject) GetCreator() string
func (*MsgCreateObject) GetExpectChecksums ¶
func (m *MsgCreateObject) GetExpectChecksums() [][]byte
func (*MsgCreateObject) GetExpectSecondarySpAddresses ¶
func (m *MsgCreateObject) GetExpectSecondarySpAddresses() []string
func (*MsgCreateObject) GetIsPublic ¶
func (m *MsgCreateObject) GetIsPublic() bool
func (*MsgCreateObject) GetObjectName ¶
func (m *MsgCreateObject) GetObjectName() string
func (*MsgCreateObject) GetPayloadSize ¶
func (m *MsgCreateObject) GetPayloadSize() uint64
func (*MsgCreateObject) GetPrimarySpApproval ¶ added in v0.0.6
func (m *MsgCreateObject) GetPrimarySpApproval() *Approval
func (*MsgCreateObject) GetSignBytes ¶
func (msg *MsgCreateObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgCreateObject) GetSigners ¶
func (msg *MsgCreateObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgCreateObject) Marshal ¶
func (m *MsgCreateObject) Marshal() (dAtA []byte, err error)
func (*MsgCreateObject) MarshalToSizedBuffer ¶
func (m *MsgCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateObject) ProtoMessage ¶
func (*MsgCreateObject) ProtoMessage()
func (*MsgCreateObject) Reset ¶
func (m *MsgCreateObject) Reset()
func (*MsgCreateObject) Route ¶
func (msg *MsgCreateObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgCreateObject) Size ¶
func (m *MsgCreateObject) Size() (n int)
func (*MsgCreateObject) String ¶
func (m *MsgCreateObject) String() string
func (*MsgCreateObject) Type ¶
func (msg *MsgCreateObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgCreateObject) Unmarshal ¶
func (m *MsgCreateObject) Unmarshal(dAtA []byte) error
func (*MsgCreateObject) ValidateBasic ¶
func (msg *MsgCreateObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCreateObject) XXX_DiscardUnknown ¶
func (m *MsgCreateObject) XXX_DiscardUnknown()
func (*MsgCreateObject) XXX_Marshal ¶
func (m *MsgCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateObject) XXX_Merge ¶
func (m *MsgCreateObject) XXX_Merge(src proto.Message)
func (*MsgCreateObject) XXX_Size ¶
func (m *MsgCreateObject) XXX_Size() int
func (*MsgCreateObject) XXX_Unmarshal ¶
func (m *MsgCreateObject) XXX_Unmarshal(b []byte) error
type MsgCreateObjectResponse ¶
type MsgCreateObjectResponse struct { }
func (*MsgCreateObjectResponse) Descriptor ¶
func (*MsgCreateObjectResponse) Descriptor() ([]byte, []int)
func (*MsgCreateObjectResponse) Marshal ¶
func (m *MsgCreateObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateObjectResponse) MarshalTo ¶
func (m *MsgCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateObjectResponse) ProtoMessage ¶
func (*MsgCreateObjectResponse) ProtoMessage()
func (*MsgCreateObjectResponse) Reset ¶
func (m *MsgCreateObjectResponse) Reset()
func (*MsgCreateObjectResponse) Size ¶
func (m *MsgCreateObjectResponse) Size() (n int)
func (*MsgCreateObjectResponse) String ¶
func (m *MsgCreateObjectResponse) String() string
func (*MsgCreateObjectResponse) Unmarshal ¶
func (m *MsgCreateObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateObjectResponse) XXX_DiscardUnknown()
func (*MsgCreateObjectResponse) XXX_Marshal ¶
func (m *MsgCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateObjectResponse) XXX_Merge ¶
func (m *MsgCreateObjectResponse) XXX_Merge(src proto.Message)
func (*MsgCreateObjectResponse) XXX_Size ¶
func (m *MsgCreateObjectResponse) XXX_Size() int
func (*MsgCreateObjectResponse) XXX_Unmarshal ¶
func (m *MsgCreateObjectResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteBucket ¶
type MsgDeleteBucket struct { // creator is the account address of the grantee who has the DeleteBucket permission of the bucket to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket to be deleted. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` }
func NewMsgDeleteBucket ¶
func NewMsgDeleteBucket(operator sdk.AccAddress, bucketName string) *MsgDeleteBucket
NewMsgDeleteBucket creates a new MsgDeleteBucket instance
func (*MsgDeleteBucket) Descriptor ¶
func (*MsgDeleteBucket) Descriptor() ([]byte, []int)
func (*MsgDeleteBucket) GetBucketName ¶
func (m *MsgDeleteBucket) GetBucketName() string
func (*MsgDeleteBucket) GetOperator ¶
func (m *MsgDeleteBucket) GetOperator() string
func (*MsgDeleteBucket) GetSignBytes ¶
func (msg *MsgDeleteBucket) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (*MsgDeleteBucket) GetSigners ¶
func (msg *MsgDeleteBucket) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgDeleteBucket) Marshal ¶
func (m *MsgDeleteBucket) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBucket) MarshalToSizedBuffer ¶
func (m *MsgDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBucket) ProtoMessage ¶
func (*MsgDeleteBucket) ProtoMessage()
func (*MsgDeleteBucket) Reset ¶
func (m *MsgDeleteBucket) Reset()
func (*MsgDeleteBucket) Route ¶
func (msg *MsgDeleteBucket) Route() string
Route implements the sdk.Msg interface.
func (*MsgDeleteBucket) Size ¶
func (m *MsgDeleteBucket) Size() (n int)
func (*MsgDeleteBucket) String ¶
func (m *MsgDeleteBucket) String() string
func (*MsgDeleteBucket) Type ¶
func (msg *MsgDeleteBucket) Type() string
Type implements the sdk.Msg interface.
func (*MsgDeleteBucket) Unmarshal ¶
func (m *MsgDeleteBucket) Unmarshal(dAtA []byte) error
func (*MsgDeleteBucket) ValidateBasic ¶
func (msg *MsgDeleteBucket) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgDeleteBucket) XXX_DiscardUnknown ¶
func (m *MsgDeleteBucket) XXX_DiscardUnknown()
func (*MsgDeleteBucket) XXX_Marshal ¶
func (m *MsgDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBucket) XXX_Merge ¶
func (m *MsgDeleteBucket) XXX_Merge(src proto.Message)
func (*MsgDeleteBucket) XXX_Size ¶
func (m *MsgDeleteBucket) XXX_Size() int
func (*MsgDeleteBucket) XXX_Unmarshal ¶
func (m *MsgDeleteBucket) XXX_Unmarshal(b []byte) error
type MsgDeleteBucketResponse ¶
type MsgDeleteBucketResponse struct { }
func (*MsgDeleteBucketResponse) Descriptor ¶
func (*MsgDeleteBucketResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteBucketResponse) Marshal ¶
func (m *MsgDeleteBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBucketResponse) MarshalTo ¶
func (m *MsgDeleteBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteBucketResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBucketResponse) ProtoMessage ¶
func (*MsgDeleteBucketResponse) ProtoMessage()
func (*MsgDeleteBucketResponse) Reset ¶
func (m *MsgDeleteBucketResponse) Reset()
func (*MsgDeleteBucketResponse) Size ¶
func (m *MsgDeleteBucketResponse) Size() (n int)
func (*MsgDeleteBucketResponse) String ¶
func (m *MsgDeleteBucketResponse) String() string
func (*MsgDeleteBucketResponse) Unmarshal ¶
func (m *MsgDeleteBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteBucketResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteBucketResponse) XXX_DiscardUnknown()
func (*MsgDeleteBucketResponse) XXX_Marshal ¶
func (m *MsgDeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBucketResponse) XXX_Merge ¶
func (m *MsgDeleteBucketResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteBucketResponse) XXX_Size ¶
func (m *MsgDeleteBucketResponse) XXX_Size() int
func (*MsgDeleteBucketResponse) XXX_Unmarshal ¶
func (m *MsgDeleteBucketResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteGroup ¶
type MsgDeleteGroup struct { // operator is the account address of the operator who has the DeleteGroup permission of the group to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // group_name is the name of the group which to be deleted GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` }
func NewMsgDeleteGroup ¶
func NewMsgDeleteGroup(operator sdk.AccAddress, groupName string) *MsgDeleteGroup
func (*MsgDeleteGroup) Descriptor ¶
func (*MsgDeleteGroup) Descriptor() ([]byte, []int)
func (*MsgDeleteGroup) GetGroupName ¶
func (m *MsgDeleteGroup) GetGroupName() string
func (*MsgDeleteGroup) GetOperator ¶
func (m *MsgDeleteGroup) GetOperator() string
func (*MsgDeleteGroup) GetSignBytes ¶
func (msg *MsgDeleteGroup) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgDeleteGroup) GetSigners ¶
func (msg *MsgDeleteGroup) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgDeleteGroup) Marshal ¶
func (m *MsgDeleteGroup) Marshal() (dAtA []byte, err error)
func (*MsgDeleteGroup) MarshalToSizedBuffer ¶
func (m *MsgDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteGroup) ProtoMessage ¶
func (*MsgDeleteGroup) ProtoMessage()
func (*MsgDeleteGroup) Reset ¶
func (m *MsgDeleteGroup) Reset()
func (*MsgDeleteGroup) Route ¶
func (msg *MsgDeleteGroup) Route() string
Route implements the sdk.Msg interface.
func (*MsgDeleteGroup) Size ¶
func (m *MsgDeleteGroup) Size() (n int)
func (*MsgDeleteGroup) String ¶
func (m *MsgDeleteGroup) String() string
func (*MsgDeleteGroup) Type ¶
func (msg *MsgDeleteGroup) Type() string
Type implements the sdk.Msg interface.
func (*MsgDeleteGroup) Unmarshal ¶
func (m *MsgDeleteGroup) Unmarshal(dAtA []byte) error
func (*MsgDeleteGroup) ValidateBasic ¶
func (msg *MsgDeleteGroup) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgDeleteGroup) XXX_DiscardUnknown ¶
func (m *MsgDeleteGroup) XXX_DiscardUnknown()
func (*MsgDeleteGroup) XXX_Marshal ¶
func (m *MsgDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteGroup) XXX_Merge ¶
func (m *MsgDeleteGroup) XXX_Merge(src proto.Message)
func (*MsgDeleteGroup) XXX_Size ¶
func (m *MsgDeleteGroup) XXX_Size() int
func (*MsgDeleteGroup) XXX_Unmarshal ¶
func (m *MsgDeleteGroup) XXX_Unmarshal(b []byte) error
type MsgDeleteGroupResponse ¶
type MsgDeleteGroupResponse struct { }
func (*MsgDeleteGroupResponse) Descriptor ¶
func (*MsgDeleteGroupResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteGroupResponse) Marshal ¶
func (m *MsgDeleteGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteGroupResponse) MarshalTo ¶
func (m *MsgDeleteGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteGroupResponse) ProtoMessage ¶
func (*MsgDeleteGroupResponse) ProtoMessage()
func (*MsgDeleteGroupResponse) Reset ¶
func (m *MsgDeleteGroupResponse) Reset()
func (*MsgDeleteGroupResponse) Size ¶
func (m *MsgDeleteGroupResponse) Size() (n int)
func (*MsgDeleteGroupResponse) String ¶
func (m *MsgDeleteGroupResponse) String() string
func (*MsgDeleteGroupResponse) Unmarshal ¶
func (m *MsgDeleteGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteGroupResponse) XXX_DiscardUnknown()
func (*MsgDeleteGroupResponse) XXX_Marshal ¶
func (m *MsgDeleteGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteGroupResponse) XXX_Merge ¶
func (m *MsgDeleteGroupResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteGroupResponse) XXX_Size ¶
func (m *MsgDeleteGroupResponse) XXX_Size() int
func (*MsgDeleteGroupResponse) XXX_Unmarshal ¶
func (m *MsgDeleteGroupResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteObject ¶
type MsgDeleteObject struct { // operator is the account address of the operator who has the DeleteObject permission of the object to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket where the object which to be deleted is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of the object which to be deleted. ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` }
func NewMsgDeleteObject ¶
func NewMsgDeleteObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgDeleteObject
func (*MsgDeleteObject) Descriptor ¶
func (*MsgDeleteObject) Descriptor() ([]byte, []int)
func (*MsgDeleteObject) GetBucketName ¶
func (m *MsgDeleteObject) GetBucketName() string
func (*MsgDeleteObject) GetObjectName ¶
func (m *MsgDeleteObject) GetObjectName() string
func (*MsgDeleteObject) GetOperator ¶
func (m *MsgDeleteObject) GetOperator() string
func (*MsgDeleteObject) GetSignBytes ¶
func (msg *MsgDeleteObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgDeleteObject) GetSigners ¶
func (msg *MsgDeleteObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgDeleteObject) Marshal ¶
func (m *MsgDeleteObject) Marshal() (dAtA []byte, err error)
func (*MsgDeleteObject) MarshalToSizedBuffer ¶
func (m *MsgDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteObject) ProtoMessage ¶
func (*MsgDeleteObject) ProtoMessage()
func (*MsgDeleteObject) Reset ¶
func (m *MsgDeleteObject) Reset()
func (*MsgDeleteObject) Route ¶
func (msg *MsgDeleteObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgDeleteObject) Size ¶
func (m *MsgDeleteObject) Size() (n int)
func (*MsgDeleteObject) String ¶
func (m *MsgDeleteObject) String() string
func (*MsgDeleteObject) Type ¶
func (msg *MsgDeleteObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgDeleteObject) Unmarshal ¶
func (m *MsgDeleteObject) Unmarshal(dAtA []byte) error
func (*MsgDeleteObject) ValidateBasic ¶
func (msg *MsgDeleteObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgDeleteObject) XXX_DiscardUnknown ¶
func (m *MsgDeleteObject) XXX_DiscardUnknown()
func (*MsgDeleteObject) XXX_Marshal ¶
func (m *MsgDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteObject) XXX_Merge ¶
func (m *MsgDeleteObject) XXX_Merge(src proto.Message)
func (*MsgDeleteObject) XXX_Size ¶
func (m *MsgDeleteObject) XXX_Size() int
func (*MsgDeleteObject) XXX_Unmarshal ¶
func (m *MsgDeleteObject) XXX_Unmarshal(b []byte) error
type MsgDeleteObjectResponse ¶
type MsgDeleteObjectResponse struct { }
func (*MsgDeleteObjectResponse) Descriptor ¶
func (*MsgDeleteObjectResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteObjectResponse) Marshal ¶
func (m *MsgDeleteObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteObjectResponse) MarshalTo ¶
func (m *MsgDeleteObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteObjectResponse) ProtoMessage ¶
func (*MsgDeleteObjectResponse) ProtoMessage()
func (*MsgDeleteObjectResponse) Reset ¶
func (m *MsgDeleteObjectResponse) Reset()
func (*MsgDeleteObjectResponse) Size ¶
func (m *MsgDeleteObjectResponse) Size() (n int)
func (*MsgDeleteObjectResponse) String ¶
func (m *MsgDeleteObjectResponse) String() string
func (*MsgDeleteObjectResponse) Unmarshal ¶
func (m *MsgDeleteObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteObjectResponse) XXX_DiscardUnknown()
func (*MsgDeleteObjectResponse) XXX_Marshal ¶
func (m *MsgDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteObjectResponse) XXX_Merge ¶
func (m *MsgDeleteObjectResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteObjectResponse) XXX_Size ¶
func (m *MsgDeleteObjectResponse) XXX_Size() int
func (*MsgDeleteObjectResponse) XXX_Unmarshal ¶
func (m *MsgDeleteObjectResponse) XXX_Unmarshal(b []byte) error
type MsgLeaveGroup ¶
type MsgLeaveGroup struct { // member is the account address of the member who want to leave the group Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"` // group_owner is the owner of the group you want to leave GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"` // group_name is the name of the group you want to leave GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` }
func NewMsgLeaveGroup ¶
func NewMsgLeaveGroup(member sdk.AccAddress, groupOwner sdk.AccAddress, groupName string) *MsgLeaveGroup
func (*MsgLeaveGroup) Descriptor ¶
func (*MsgLeaveGroup) Descriptor() ([]byte, []int)
func (*MsgLeaveGroup) GetGroupName ¶
func (m *MsgLeaveGroup) GetGroupName() string
func (*MsgLeaveGroup) GetGroupOwner ¶
func (m *MsgLeaveGroup) GetGroupOwner() string
func (*MsgLeaveGroup) GetMember ¶
func (m *MsgLeaveGroup) GetMember() string
func (*MsgLeaveGroup) GetSignBytes ¶
func (msg *MsgLeaveGroup) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgLeaveGroup) GetSigners ¶
func (msg *MsgLeaveGroup) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgLeaveGroup) Marshal ¶
func (m *MsgLeaveGroup) Marshal() (dAtA []byte, err error)
func (*MsgLeaveGroup) MarshalToSizedBuffer ¶
func (m *MsgLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLeaveGroup) ProtoMessage ¶
func (*MsgLeaveGroup) ProtoMessage()
func (*MsgLeaveGroup) Reset ¶
func (m *MsgLeaveGroup) Reset()
func (*MsgLeaveGroup) Route ¶
func (msg *MsgLeaveGroup) Route() string
Route implements the sdk.Msg interface.
func (*MsgLeaveGroup) Size ¶
func (m *MsgLeaveGroup) Size() (n int)
func (*MsgLeaveGroup) String ¶
func (m *MsgLeaveGroup) String() string
func (*MsgLeaveGroup) Type ¶
func (msg *MsgLeaveGroup) Type() string
Type implements the sdk.Msg interface.
func (*MsgLeaveGroup) Unmarshal ¶
func (m *MsgLeaveGroup) Unmarshal(dAtA []byte) error
func (*MsgLeaveGroup) ValidateBasic ¶
func (msg *MsgLeaveGroup) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgLeaveGroup) XXX_DiscardUnknown ¶
func (m *MsgLeaveGroup) XXX_DiscardUnknown()
func (*MsgLeaveGroup) XXX_Marshal ¶
func (m *MsgLeaveGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLeaveGroup) XXX_Merge ¶
func (m *MsgLeaveGroup) XXX_Merge(src proto.Message)
func (*MsgLeaveGroup) XXX_Size ¶
func (m *MsgLeaveGroup) XXX_Size() int
func (*MsgLeaveGroup) XXX_Unmarshal ¶
func (m *MsgLeaveGroup) XXX_Unmarshal(b []byte) error
type MsgLeaveGroupResponse ¶
type MsgLeaveGroupResponse struct { }
func (*MsgLeaveGroupResponse) Descriptor ¶
func (*MsgLeaveGroupResponse) Descriptor() ([]byte, []int)
func (*MsgLeaveGroupResponse) Marshal ¶
func (m *MsgLeaveGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgLeaveGroupResponse) MarshalTo ¶
func (m *MsgLeaveGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgLeaveGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgLeaveGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLeaveGroupResponse) ProtoMessage ¶
func (*MsgLeaveGroupResponse) ProtoMessage()
func (*MsgLeaveGroupResponse) Reset ¶
func (m *MsgLeaveGroupResponse) Reset()
func (*MsgLeaveGroupResponse) Size ¶
func (m *MsgLeaveGroupResponse) Size() (n int)
func (*MsgLeaveGroupResponse) String ¶
func (m *MsgLeaveGroupResponse) String() string
func (*MsgLeaveGroupResponse) Unmarshal ¶
func (m *MsgLeaveGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgLeaveGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgLeaveGroupResponse) XXX_DiscardUnknown()
func (*MsgLeaveGroupResponse) XXX_Marshal ¶
func (m *MsgLeaveGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLeaveGroupResponse) XXX_Merge ¶
func (m *MsgLeaveGroupResponse) XXX_Merge(src proto.Message)
func (*MsgLeaveGroupResponse) XXX_Size ¶
func (m *MsgLeaveGroupResponse) XXX_Size() int
func (*MsgLeaveGroupResponse) XXX_Unmarshal ¶
func (m *MsgLeaveGroupResponse) XXX_Unmarshal(b []byte) error
type MsgRejectSealObject ¶
type MsgRejectSealObject struct { // operator is the account address of the object owner Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket where the object is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of unsealed object to be reject. ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` }
func NewMsgRejectUnsealedObject ¶
func NewMsgRejectUnsealedObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgRejectSealObject
func (*MsgRejectSealObject) Descriptor ¶
func (*MsgRejectSealObject) Descriptor() ([]byte, []int)
func (*MsgRejectSealObject) GetBucketName ¶
func (m *MsgRejectSealObject) GetBucketName() string
func (*MsgRejectSealObject) GetObjectName ¶
func (m *MsgRejectSealObject) GetObjectName() string
func (*MsgRejectSealObject) GetOperator ¶
func (m *MsgRejectSealObject) GetOperator() string
func (*MsgRejectSealObject) GetSignBytes ¶
func (msg *MsgRejectSealObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgRejectSealObject) GetSigners ¶
func (msg *MsgRejectSealObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgRejectSealObject) Marshal ¶
func (m *MsgRejectSealObject) Marshal() (dAtA []byte, err error)
func (*MsgRejectSealObject) MarshalTo ¶
func (m *MsgRejectSealObject) MarshalTo(dAtA []byte) (int, error)
func (*MsgRejectSealObject) MarshalToSizedBuffer ¶
func (m *MsgRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRejectSealObject) ProtoMessage ¶
func (*MsgRejectSealObject) ProtoMessage()
func (*MsgRejectSealObject) Reset ¶
func (m *MsgRejectSealObject) Reset()
func (*MsgRejectSealObject) Route ¶
func (msg *MsgRejectSealObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgRejectSealObject) Size ¶
func (m *MsgRejectSealObject) Size() (n int)
func (*MsgRejectSealObject) String ¶
func (m *MsgRejectSealObject) String() string
func (*MsgRejectSealObject) Type ¶
func (msg *MsgRejectSealObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgRejectSealObject) Unmarshal ¶
func (m *MsgRejectSealObject) Unmarshal(dAtA []byte) error
func (*MsgRejectSealObject) ValidateBasic ¶
func (msg *MsgRejectSealObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgRejectSealObject) XXX_DiscardUnknown ¶
func (m *MsgRejectSealObject) XXX_DiscardUnknown()
func (*MsgRejectSealObject) XXX_Marshal ¶
func (m *MsgRejectSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRejectSealObject) XXX_Merge ¶
func (m *MsgRejectSealObject) XXX_Merge(src proto.Message)
func (*MsgRejectSealObject) XXX_Size ¶
func (m *MsgRejectSealObject) XXX_Size() int
func (*MsgRejectSealObject) XXX_Unmarshal ¶
func (m *MsgRejectSealObject) XXX_Unmarshal(b []byte) error
type MsgRejectSealObjectResponse ¶
type MsgRejectSealObjectResponse struct { }
func (*MsgRejectSealObjectResponse) Descriptor ¶
func (*MsgRejectSealObjectResponse) Descriptor() ([]byte, []int)
func (*MsgRejectSealObjectResponse) Marshal ¶
func (m *MsgRejectSealObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgRejectSealObjectResponse) MarshalTo ¶
func (m *MsgRejectSealObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRejectSealObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgRejectSealObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRejectSealObjectResponse) ProtoMessage ¶
func (*MsgRejectSealObjectResponse) ProtoMessage()
func (*MsgRejectSealObjectResponse) Reset ¶
func (m *MsgRejectSealObjectResponse) Reset()
func (*MsgRejectSealObjectResponse) Size ¶
func (m *MsgRejectSealObjectResponse) Size() (n int)
func (*MsgRejectSealObjectResponse) String ¶
func (m *MsgRejectSealObjectResponse) String() string
func (*MsgRejectSealObjectResponse) Unmarshal ¶
func (m *MsgRejectSealObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgRejectSealObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgRejectSealObjectResponse) XXX_DiscardUnknown()
func (*MsgRejectSealObjectResponse) XXX_Marshal ¶
func (m *MsgRejectSealObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRejectSealObjectResponse) XXX_Merge ¶
func (m *MsgRejectSealObjectResponse) XXX_Merge(src proto.Message)
func (*MsgRejectSealObjectResponse) XXX_Size ¶
func (m *MsgRejectSealObjectResponse) XXX_Size() int
func (*MsgRejectSealObjectResponse) XXX_Unmarshal ¶
func (m *MsgRejectSealObjectResponse) XXX_Unmarshal(b []byte) error
type MsgSealObject ¶
type MsgSealObject struct { // operator is the account address of primary SP Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket where the object is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of object to be sealed. ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // secondary_sp_addresses is a list of storage provider which store the redundant data. SecondarySpAddresses []string `protobuf:"bytes,4,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"` // secondary_sp_signatures is the signature of the secondary sp that can // acknowledge that the payload data has received and stored. SecondarySpSignatures [][]byte `` /* 126-byte string literal not displayed */ }
func NewMsgSealObject ¶
func NewMsgSealObject( operator sdk.AccAddress, bucketName string, objectName string, secondarySPAccs []sdk.AccAddress, secondarySpSignatures [][]byte) *MsgSealObject
func (*MsgSealObject) Descriptor ¶
func (*MsgSealObject) Descriptor() ([]byte, []int)
func (*MsgSealObject) GetBucketName ¶
func (m *MsgSealObject) GetBucketName() string
func (*MsgSealObject) GetObjectName ¶
func (m *MsgSealObject) GetObjectName() string
func (*MsgSealObject) GetOperator ¶
func (m *MsgSealObject) GetOperator() string
func (*MsgSealObject) GetSecondarySpAddresses ¶
func (m *MsgSealObject) GetSecondarySpAddresses() []string
func (*MsgSealObject) GetSecondarySpSignatures ¶
func (m *MsgSealObject) GetSecondarySpSignatures() [][]byte
func (*MsgSealObject) GetSignBytes ¶
func (msg *MsgSealObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgSealObject) GetSigners ¶
func (msg *MsgSealObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgSealObject) Marshal ¶
func (m *MsgSealObject) Marshal() (dAtA []byte, err error)
func (*MsgSealObject) MarshalToSizedBuffer ¶
func (m *MsgSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSealObject) ProtoMessage ¶
func (*MsgSealObject) ProtoMessage()
func (*MsgSealObject) Reset ¶
func (m *MsgSealObject) Reset()
func (*MsgSealObject) Route ¶
func (msg *MsgSealObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgSealObject) Size ¶
func (m *MsgSealObject) Size() (n int)
func (*MsgSealObject) String ¶
func (m *MsgSealObject) String() string
func (*MsgSealObject) Type ¶
func (msg *MsgSealObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgSealObject) Unmarshal ¶
func (m *MsgSealObject) Unmarshal(dAtA []byte) error
func (*MsgSealObject) ValidateBasic ¶
func (msg *MsgSealObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgSealObject) XXX_DiscardUnknown ¶
func (m *MsgSealObject) XXX_DiscardUnknown()
func (*MsgSealObject) XXX_Marshal ¶
func (m *MsgSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSealObject) XXX_Merge ¶
func (m *MsgSealObject) XXX_Merge(src proto.Message)
func (*MsgSealObject) XXX_Size ¶
func (m *MsgSealObject) XXX_Size() int
func (*MsgSealObject) XXX_Unmarshal ¶
func (m *MsgSealObject) XXX_Unmarshal(b []byte) error
type MsgSealObjectResponse ¶
type MsgSealObjectResponse struct { }
func (*MsgSealObjectResponse) Descriptor ¶
func (*MsgSealObjectResponse) Descriptor() ([]byte, []int)
func (*MsgSealObjectResponse) Marshal ¶
func (m *MsgSealObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgSealObjectResponse) MarshalTo ¶
func (m *MsgSealObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSealObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgSealObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSealObjectResponse) ProtoMessage ¶
func (*MsgSealObjectResponse) ProtoMessage()
func (*MsgSealObjectResponse) Reset ¶
func (m *MsgSealObjectResponse) Reset()
func (*MsgSealObjectResponse) Size ¶
func (m *MsgSealObjectResponse) Size() (n int)
func (*MsgSealObjectResponse) String ¶
func (m *MsgSealObjectResponse) String() string
func (*MsgSealObjectResponse) Unmarshal ¶
func (m *MsgSealObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgSealObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgSealObjectResponse) XXX_DiscardUnknown()
func (*MsgSealObjectResponse) XXX_Marshal ¶
func (m *MsgSealObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSealObjectResponse) XXX_Merge ¶
func (m *MsgSealObjectResponse) XXX_Merge(src proto.Message)
func (*MsgSealObjectResponse) XXX_Size ¶
func (m *MsgSealObjectResponse) XXX_Size() int
func (*MsgSealObjectResponse) XXX_Unmarshal ¶
func (m *MsgSealObjectResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateBucket(context.Context, *MsgCreateBucket) (*MsgCreateBucketResponse, error) DeleteBucket(context.Context, *MsgDeleteBucket) (*MsgDeleteBucketResponse, error) CreateObject(context.Context, *MsgCreateObject) (*MsgCreateObjectResponse, error) SealObject(context.Context, *MsgSealObject) (*MsgSealObjectResponse, error) RejectSealObject(context.Context, *MsgRejectSealObject) (*MsgRejectSealObjectResponse, error) DeleteObject(context.Context, *MsgDeleteObject) (*MsgDeleteObjectResponse, error) CreateGroup(context.Context, *MsgCreateGroup) (*MsgCreateGroupResponse, error) DeleteGroup(context.Context, *MsgDeleteGroup) (*MsgDeleteGroupResponse, error) UpdateGroupMember(context.Context, *MsgUpdateGroupMember) (*MsgUpdateGroupMemberResponse, error) LeaveGroup(context.Context, *MsgLeaveGroup) (*MsgLeaveGroupResponse, error) CopyObject(context.Context, *MsgCopyObject) (*MsgCopyObjectResponse, error) // this line is used by starport scaffolding # proto/tx/rpc UpdateBucketInfo(context.Context, *MsgUpdateBucketInfo) (*MsgUpdateBucketInfoResponse, error) CancelCreateObject(context.Context, *MsgCancelCreateObject) (*MsgCancelCreateObjectResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateBucketInfo ¶ added in v0.0.6
type MsgUpdateBucketInfo struct { // operator is the account address of the operator Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of bucket which you'll update BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // read_quota is the traffic quota that you read from primary sp ReadQuota ReadQuota `` /* 132-byte string literal not displayed */ // payment_address is the account address of the payment account PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` }
func NewMsgUpdateBucketInfo ¶ added in v0.0.6
func NewMsgUpdateBucketInfo(operator sdk.AccAddress, bucketName string, readQuota ReadQuota, paymentAcc sdk.AccAddress) *MsgUpdateBucketInfo
NewMsgBucketReadQuota creates a new MsgBucketReadQuota instance.
func (*MsgUpdateBucketInfo) Descriptor ¶ added in v0.0.6
func (*MsgUpdateBucketInfo) Descriptor() ([]byte, []int)
func (*MsgUpdateBucketInfo) GetBucketName ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetBucketName() string
func (*MsgUpdateBucketInfo) GetOperator ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetOperator() string
func (*MsgUpdateBucketInfo) GetPaymentAddress ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetPaymentAddress() string
func (*MsgUpdateBucketInfo) GetReadQuota ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetReadQuota() ReadQuota
func (*MsgUpdateBucketInfo) GetSignBytes ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) GetSignBytes() []byte
func (*MsgUpdateBucketInfo) GetSigners ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) GetSigners() []sdk.AccAddress
func (*MsgUpdateBucketInfo) Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBucketInfo) MarshalTo ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfo) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfo) ProtoMessage ¶ added in v0.0.6
func (*MsgUpdateBucketInfo) ProtoMessage()
func (*MsgUpdateBucketInfo) Reset ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Reset()
func (*MsgUpdateBucketInfo) Route ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) Route() string
func (*MsgUpdateBucketInfo) Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Size() (n int)
func (*MsgUpdateBucketInfo) String ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) String() string
func (*MsgUpdateBucketInfo) Type ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) Type() string
func (*MsgUpdateBucketInfo) Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Unmarshal(dAtA []byte) error
func (*MsgUpdateBucketInfo) ValidateBasic ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) ValidateBasic() error
func (*MsgUpdateBucketInfo) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_DiscardUnknown()
func (*MsgUpdateBucketInfo) XXX_Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBucketInfo) XXX_Merge ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Merge(src proto.Message)
func (*MsgUpdateBucketInfo) XXX_Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Size() int
func (*MsgUpdateBucketInfo) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Unmarshal(b []byte) error
type MsgUpdateBucketInfoResponse ¶ added in v0.0.6
type MsgUpdateBucketInfoResponse struct { }
func (*MsgUpdateBucketInfoResponse) Descriptor ¶ added in v0.0.6
func (*MsgUpdateBucketInfoResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateBucketInfoResponse) Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBucketInfoResponse) MarshalTo ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfoResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfoResponse) ProtoMessage ¶ added in v0.0.6
func (*MsgUpdateBucketInfoResponse) ProtoMessage()
func (*MsgUpdateBucketInfoResponse) Reset ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Reset()
func (*MsgUpdateBucketInfoResponse) Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Size() (n int)
func (*MsgUpdateBucketInfoResponse) String ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) String() string
func (*MsgUpdateBucketInfoResponse) Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateBucketInfoResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_DiscardUnknown()
func (*MsgUpdateBucketInfoResponse) XXX_Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBucketInfoResponse) XXX_Merge ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateBucketInfoResponse) XXX_Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Size() int
func (*MsgUpdateBucketInfoResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMember ¶
type MsgUpdateGroupMember struct { // operator is the account address of the operator who has the UpdateGroupMember permission of the group. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // group_name is the name of the group which to be updated GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // members_to_add is a list of members account address which will be add to the group MembersToAdd []string `protobuf:"bytes,3,rep,name=members_to_add,json=membersToAdd,proto3" json:"members_to_add,omitempty"` // members_to_delete is a list of members account address which will be remove from the group MembersToDelete []string `protobuf:"bytes,4,rep,name=members_to_delete,json=membersToDelete,proto3" json:"members_to_delete,omitempty"` }
func NewMsgUpdateGroupMember ¶
func NewMsgUpdateGroupMember( operator sdk.AccAddress, groupName string, membersToAdd []sdk.AccAddress, membersToDelete []sdk.AccAddress) *MsgUpdateGroupMember
func (*MsgUpdateGroupMember) Descriptor ¶
func (*MsgUpdateGroupMember) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMember) GetGroupName ¶
func (m *MsgUpdateGroupMember) GetGroupName() string
func (*MsgUpdateGroupMember) GetMembersToAdd ¶
func (m *MsgUpdateGroupMember) GetMembersToAdd() []string
func (*MsgUpdateGroupMember) GetMembersToDelete ¶
func (m *MsgUpdateGroupMember) GetMembersToDelete() []string
func (*MsgUpdateGroupMember) GetOperator ¶
func (m *MsgUpdateGroupMember) GetOperator() string
func (*MsgUpdateGroupMember) GetSignBytes ¶
func (msg *MsgUpdateGroupMember) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgUpdateGroupMember) GetSigners ¶
func (msg *MsgUpdateGroupMember) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) Marshal ¶
func (m *MsgUpdateGroupMember) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMember) MarshalTo ¶
func (m *MsgUpdateGroupMember) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMember) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMember) ProtoMessage ¶
func (*MsgUpdateGroupMember) ProtoMessage()
func (*MsgUpdateGroupMember) Reset ¶
func (m *MsgUpdateGroupMember) Reset()
func (*MsgUpdateGroupMember) Route ¶
func (msg *MsgUpdateGroupMember) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) Size ¶
func (m *MsgUpdateGroupMember) Size() (n int)
func (*MsgUpdateGroupMember) String ¶
func (m *MsgUpdateGroupMember) String() string
func (*MsgUpdateGroupMember) Type ¶
func (msg *MsgUpdateGroupMember) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) Unmarshal ¶
func (m *MsgUpdateGroupMember) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupMember) ValidateBasic ¶
func (msg *MsgUpdateGroupMember) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMember) XXX_DiscardUnknown()
func (*MsgUpdateGroupMember) XXX_Marshal ¶
func (m *MsgUpdateGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMember) XXX_Merge ¶
func (m *MsgUpdateGroupMember) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMember) XXX_Size ¶
func (m *MsgUpdateGroupMember) XXX_Size() int
func (*MsgUpdateGroupMember) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMember) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMemberResponse ¶
type MsgUpdateGroupMemberResponse struct { }
func (*MsgUpdateGroupMemberResponse) Descriptor ¶
func (*MsgUpdateGroupMemberResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMemberResponse) Marshal ¶
func (m *MsgUpdateGroupMemberResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMemberResponse) MarshalTo ¶
func (m *MsgUpdateGroupMemberResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMemberResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMemberResponse) ProtoMessage ¶
func (*MsgUpdateGroupMemberResponse) ProtoMessage()
func (*MsgUpdateGroupMemberResponse) Reset ¶
func (m *MsgUpdateGroupMemberResponse) Reset()
func (*MsgUpdateGroupMemberResponse) Size ¶
func (m *MsgUpdateGroupMemberResponse) Size() (n int)
func (*MsgUpdateGroupMemberResponse) String ¶
func (m *MsgUpdateGroupMemberResponse) String() string
func (*MsgUpdateGroupMemberResponse) Unmarshal ¶
func (m *MsgUpdateGroupMemberResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupMemberResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMemberResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupMemberResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMemberResponse) XXX_Merge ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMemberResponse) XXX_Size ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Size() int
func (*MsgUpdateGroupMemberResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Unmarshal(b []byte) error
type ObjectInfo ¶
type ObjectInfo struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // bucket_name is the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id is the unique identifier of object Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // payloadSize is the total size of the object payload PayloadSize uint64 `protobuf:"varint,5,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // is_public define the highest permissions for object. When the object is public, everyone can access it. IsPublic bool `protobuf:"varint,6,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // content_type define the format of the object which should be a standard MIME type. ContentType string `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // create_at define the block number when the object created CreateAt int64 `protobuf:"varint,8,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // object_status define the upload status of the object. ObjectStatus ObjectStatus `` /* 144-byte string literal not displayed */ // redundancy_type define the type of the redundancy which can be multi-replication or EC. RedundancyType RedundancyType `` /* 153-byte string literal not displayed */ // source_type define the source of the object. SourceType SourceType `` /* 137-byte string literal not displayed */ // checksums define the root hash of the pieces which stored in a SP. Checksums [][]byte `protobuf:"bytes,12,rep,name=checksums,proto3" json:"checksums,omitempty"` // secondary_sp_addresses define the addresses of secondary_sps SecondarySpAddresses []string `protobuf:"bytes,13,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"` // lockedBalance LockedBalance *github_com_cosmos_cosmos_sdk_types.Int `` /* 130-byte string literal not displayed */ }
func (*ObjectInfo) Descriptor ¶
func (*ObjectInfo) Descriptor() ([]byte, []int)
func (*ObjectInfo) GetBucketName ¶
func (m *ObjectInfo) GetBucketName() string
func (*ObjectInfo) GetChecksums ¶
func (m *ObjectInfo) GetChecksums() [][]byte
func (*ObjectInfo) GetContentType ¶
func (m *ObjectInfo) GetContentType() string
func (*ObjectInfo) GetCreateAt ¶
func (m *ObjectInfo) GetCreateAt() int64
func (*ObjectInfo) GetIsPublic ¶
func (m *ObjectInfo) GetIsPublic() bool
func (*ObjectInfo) GetObjectName ¶
func (m *ObjectInfo) GetObjectName() string
func (*ObjectInfo) GetObjectStatus ¶
func (m *ObjectInfo) GetObjectStatus() ObjectStatus
func (*ObjectInfo) GetOwner ¶
func (m *ObjectInfo) GetOwner() string
func (*ObjectInfo) GetPayloadSize ¶
func (m *ObjectInfo) GetPayloadSize() uint64
func (*ObjectInfo) GetRedundancyType ¶
func (m *ObjectInfo) GetRedundancyType() RedundancyType
func (*ObjectInfo) GetSecondarySpAddresses ¶
func (m *ObjectInfo) GetSecondarySpAddresses() []string
func (*ObjectInfo) GetSourceType ¶
func (m *ObjectInfo) GetSourceType() SourceType
func (*ObjectInfo) Marshal ¶
func (m *ObjectInfo) Marshal() (dAtA []byte, err error)
func (*ObjectInfo) MarshalToSizedBuffer ¶
func (m *ObjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectInfo) ProtoMessage ¶
func (*ObjectInfo) ProtoMessage()
func (*ObjectInfo) Reset ¶
func (m *ObjectInfo) Reset()
func (*ObjectInfo) Size ¶
func (m *ObjectInfo) Size() (n int)
func (*ObjectInfo) String ¶
func (m *ObjectInfo) String() string
func (*ObjectInfo) Unmarshal ¶
func (m *ObjectInfo) Unmarshal(dAtA []byte) error
func (*ObjectInfo) XXX_DiscardUnknown ¶
func (m *ObjectInfo) XXX_DiscardUnknown()
func (*ObjectInfo) XXX_Marshal ¶
func (m *ObjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectInfo) XXX_Merge ¶
func (m *ObjectInfo) XXX_Merge(src proto.Message)
func (*ObjectInfo) XXX_Size ¶
func (m *ObjectInfo) XXX_Size() int
func (*ObjectInfo) XXX_Unmarshal ¶
func (m *ObjectInfo) XXX_Unmarshal(b []byte) error
type ObjectStatus ¶
type ObjectStatus int32
const ( OBJECT_STATUS_INIT ObjectStatus = 0 OBJECT_STATUS_IN_SERVICE ObjectStatus = 1 )
func (ObjectStatus) EnumDescriptor ¶
func (ObjectStatus) EnumDescriptor() ([]byte, []int)
func (ObjectStatus) String ¶
func (x ObjectStatus) String() string
type Params ¶
type Params struct { // max_segment_size is the maximum size of a segment. default: 16M MaxSegmentSize uint64 `protobuf:"varint,1,opt,name=max_segment_size,json=maxSegmentSize,proto3" json:"max_segment_size,omitempty"` // redundant_data_check_num is the num of data chunks of EC redundancy algorithm RedundantDataChunkNum uint32 `` /* 129-byte string literal not displayed */ // redundant_data_check_num is the num of parity chunks of EC redundancy algorithm RedundantParityChunkNum uint32 `` /* 135-byte string literal not displayed */ // max_payload_size is the maximum size of the payload, default: 2G MaxPayloadSize uint64 `protobuf:"varint,4,opt,name=max_payload_size,json=maxPayloadSize,proto3" json:"max_payload_size,omitempty"` }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( maxSegmentSize uint64, redundantDataChunkNum uint32, redundantParityChunkNum uint32, maxPayloadSize uint64) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetMaxPayloadSize ¶
func (*Params) GetMaxSegmentSize ¶
func (*Params) GetRedundantDataChunkNum ¶
func (*Params) GetRedundantParityChunkNum ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PaymentKeeper ¶ added in v0.0.6
type PaymentKeeper interface { IsPaymentAccountOwner(ctx sdk.Context, addr string, owner string) bool // TODO(owen): add a thin wrapper to storage module and only provide basic interface here. ChargeUpdatePaymentAccount(ctx sdk.Context, bucketInfo *BucketInfo, paymentAddress *string) error LockStoreFee(ctx sdk.Context, bucketInfo *BucketInfo, objectInfo *ObjectInfo) error ChargeDeleteObject(ctx sdk.Context, bucketInfo *BucketInfo, objectInfo *ObjectInfo) error UnlockAndChargeStoreFee(ctx sdk.Context, bucketInfo *BucketInfo, objectInfo *ObjectInfo) error ChargeUpdateReadQuota(ctx sdk.Context, bucketInfo *BucketInfo, newReadPacket ReadQuota) error UnlockStoreFee(ctx sdk.Context, bucketInfo *BucketInfo, objectInfo *ObjectInfo) error ChargeInitialReadFee(ctx sdk.Context, bucketInfo *BucketInfo) error }
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 bucket with specify name. HeadBucket(ctx context.Context, in *QueryHeadBucketRequest, opts ...grpc.CallOption) (*QueryHeadBucketResponse, error) // Queries a object with specify name. HeadObject(ctx context.Context, in *QueryHeadObjectRequest, opts ...grpc.CallOption) (*QueryHeadObjectResponse, error) // Queries a list of bucket items. ListBuckets(ctx context.Context, in *QueryListBucketsRequest, opts ...grpc.CallOption) (*QueryListBucketsResponse, error) // Queries a list of object items under the bucket. ListObjects(ctx context.Context, in *QueryListObjectsRequest, opts ...grpc.CallOption) (*QueryListObjectsResponse, 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 QueryHeadBucketRequest ¶ added in v0.0.6
type QueryHeadBucketRequest struct {
BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}
this line is used by starport scaffolding # 3
func (*QueryHeadBucketRequest) Descriptor ¶ added in v0.0.6
func (*QueryHeadBucketRequest) Descriptor() ([]byte, []int)
func (*QueryHeadBucketRequest) GetBucketName ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) GetBucketName() string
func (*QueryHeadBucketRequest) Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Marshal() (dAtA []byte, err error)
func (*QueryHeadBucketRequest) MarshalTo ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadBucketRequest) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadBucketRequest) ProtoMessage ¶ added in v0.0.6
func (*QueryHeadBucketRequest) ProtoMessage()
func (*QueryHeadBucketRequest) Reset ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Reset()
func (*QueryHeadBucketRequest) Size ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Size() (n int)
func (*QueryHeadBucketRequest) String ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) String() string
func (*QueryHeadBucketRequest) Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Unmarshal(dAtA []byte) error
func (*QueryHeadBucketRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_DiscardUnknown()
func (*QueryHeadBucketRequest) XXX_Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadBucketRequest) XXX_Merge ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Merge(src proto.Message)
func (*QueryHeadBucketRequest) XXX_Size ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Size() int
func (*QueryHeadBucketRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Unmarshal(b []byte) error
type QueryHeadBucketResponse ¶ added in v0.0.6
type QueryHeadBucketResponse struct {
BucketInfo *BucketInfo `protobuf:"bytes,1,opt,name=bucket_info,json=bucketInfo,proto3" json:"bucket_info,omitempty"`
}
func (*QueryHeadBucketResponse) Descriptor ¶ added in v0.0.6
func (*QueryHeadBucketResponse) Descriptor() ([]byte, []int)
func (*QueryHeadBucketResponse) GetBucketInfo ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) GetBucketInfo() *BucketInfo
func (*QueryHeadBucketResponse) Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Marshal() (dAtA []byte, err error)
func (*QueryHeadBucketResponse) MarshalTo ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadBucketResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadBucketResponse) ProtoMessage ¶ added in v0.0.6
func (*QueryHeadBucketResponse) ProtoMessage()
func (*QueryHeadBucketResponse) Reset ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Reset()
func (*QueryHeadBucketResponse) Size ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Size() (n int)
func (*QueryHeadBucketResponse) String ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) String() string
func (*QueryHeadBucketResponse) Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Unmarshal(dAtA []byte) error
func (*QueryHeadBucketResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_DiscardUnknown()
func (*QueryHeadBucketResponse) XXX_Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadBucketResponse) XXX_Merge ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Merge(src proto.Message)
func (*QueryHeadBucketResponse) XXX_Size ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Size() int
func (*QueryHeadBucketResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Unmarshal(b []byte) error
type QueryHeadObjectRequest ¶ added in v0.0.6
type QueryHeadObjectRequest struct { BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` }
func (*QueryHeadObjectRequest) Descriptor ¶ added in v0.0.6
func (*QueryHeadObjectRequest) Descriptor() ([]byte, []int)
func (*QueryHeadObjectRequest) GetBucketName ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) GetBucketName() string
func (*QueryHeadObjectRequest) GetObjectName ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) GetObjectName() string
func (*QueryHeadObjectRequest) Marshal ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) Marshal() (dAtA []byte, err error)
func (*QueryHeadObjectRequest) MarshalTo ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadObjectRequest) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadObjectRequest) ProtoMessage ¶ added in v0.0.6
func (*QueryHeadObjectRequest) ProtoMessage()
func (*QueryHeadObjectRequest) Reset ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) Reset()
func (*QueryHeadObjectRequest) Size ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) Size() (n int)
func (*QueryHeadObjectRequest) String ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) String() string
func (*QueryHeadObjectRequest) Unmarshal ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) Unmarshal(dAtA []byte) error
func (*QueryHeadObjectRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) XXX_DiscardUnknown()
func (*QueryHeadObjectRequest) XXX_Marshal ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadObjectRequest) XXX_Merge ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) XXX_Merge(src proto.Message)
func (*QueryHeadObjectRequest) XXX_Size ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) XXX_Size() int
func (*QueryHeadObjectRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryHeadObjectRequest) XXX_Unmarshal(b []byte) error
type QueryHeadObjectResponse ¶ added in v0.0.6
type QueryHeadObjectResponse struct {
ObjectInfo *ObjectInfo `protobuf:"bytes,1,opt,name=object_info,json=objectInfo,proto3" json:"object_info,omitempty"`
}
func (*QueryHeadObjectResponse) Descriptor ¶ added in v0.0.6
func (*QueryHeadObjectResponse) Descriptor() ([]byte, []int)
func (*QueryHeadObjectResponse) GetObjectInfo ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) GetObjectInfo() *ObjectInfo
func (*QueryHeadObjectResponse) Marshal ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) Marshal() (dAtA []byte, err error)
func (*QueryHeadObjectResponse) MarshalTo ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadObjectResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadObjectResponse) ProtoMessage ¶ added in v0.0.6
func (*QueryHeadObjectResponse) ProtoMessage()
func (*QueryHeadObjectResponse) Reset ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) Reset()
func (*QueryHeadObjectResponse) Size ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) Size() (n int)
func (*QueryHeadObjectResponse) String ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) String() string
func (*QueryHeadObjectResponse) Unmarshal ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) Unmarshal(dAtA []byte) error
func (*QueryHeadObjectResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) XXX_DiscardUnknown()
func (*QueryHeadObjectResponse) XXX_Marshal ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadObjectResponse) XXX_Merge ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) XXX_Merge(src proto.Message)
func (*QueryHeadObjectResponse) XXX_Size ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) XXX_Size() int
func (*QueryHeadObjectResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryHeadObjectResponse) XXX_Unmarshal(b []byte) error
type QueryListBucketsRequest ¶ added in v0.0.6
type QueryListBucketsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryListBucketsRequest) Descriptor ¶ added in v0.0.6
func (*QueryListBucketsRequest) Descriptor() ([]byte, []int)
func (*QueryListBucketsRequest) GetPagination ¶ added in v0.0.6
func (m *QueryListBucketsRequest) GetPagination() *query.PageRequest
func (*QueryListBucketsRequest) Marshal ¶ added in v0.0.6
func (m *QueryListBucketsRequest) Marshal() (dAtA []byte, err error)
func (*QueryListBucketsRequest) MarshalTo ¶ added in v0.0.6
func (m *QueryListBucketsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListBucketsRequest) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryListBucketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListBucketsRequest) ProtoMessage ¶ added in v0.0.6
func (*QueryListBucketsRequest) ProtoMessage()
func (*QueryListBucketsRequest) Reset ¶ added in v0.0.6
func (m *QueryListBucketsRequest) Reset()
func (*QueryListBucketsRequest) Size ¶ added in v0.0.6
func (m *QueryListBucketsRequest) Size() (n int)
func (*QueryListBucketsRequest) String ¶ added in v0.0.6
func (m *QueryListBucketsRequest) String() string
func (*QueryListBucketsRequest) Unmarshal ¶ added in v0.0.6
func (m *QueryListBucketsRequest) Unmarshal(dAtA []byte) error
func (*QueryListBucketsRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryListBucketsRequest) XXX_DiscardUnknown()
func (*QueryListBucketsRequest) XXX_Marshal ¶ added in v0.0.6
func (m *QueryListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListBucketsRequest) XXX_Merge ¶ added in v0.0.6
func (m *QueryListBucketsRequest) XXX_Merge(src proto.Message)
func (*QueryListBucketsRequest) XXX_Size ¶ added in v0.0.6
func (m *QueryListBucketsRequest) XXX_Size() int
func (*QueryListBucketsRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryListBucketsRequest) XXX_Unmarshal(b []byte) error
type QueryListBucketsResponse ¶ added in v0.0.6
type QueryListBucketsResponse struct { BucketInfos []BucketInfo `protobuf:"bytes,1,rep,name=bucket_infos,json=bucketInfos,proto3" json:"bucket_infos"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryListBucketsResponse) Descriptor ¶ added in v0.0.6
func (*QueryListBucketsResponse) Descriptor() ([]byte, []int)
func (*QueryListBucketsResponse) GetBucketInfos ¶ added in v0.0.6
func (m *QueryListBucketsResponse) GetBucketInfos() []BucketInfo
func (*QueryListBucketsResponse) GetPagination ¶ added in v0.0.6
func (m *QueryListBucketsResponse) GetPagination() *query.PageResponse
func (*QueryListBucketsResponse) Marshal ¶ added in v0.0.6
func (m *QueryListBucketsResponse) Marshal() (dAtA []byte, err error)
func (*QueryListBucketsResponse) MarshalTo ¶ added in v0.0.6
func (m *QueryListBucketsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryListBucketsResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryListBucketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListBucketsResponse) ProtoMessage ¶ added in v0.0.6
func (*QueryListBucketsResponse) ProtoMessage()
func (*QueryListBucketsResponse) Reset ¶ added in v0.0.6
func (m *QueryListBucketsResponse) Reset()
func (*QueryListBucketsResponse) Size ¶ added in v0.0.6
func (m *QueryListBucketsResponse) Size() (n int)
func (*QueryListBucketsResponse) String ¶ added in v0.0.6
func (m *QueryListBucketsResponse) String() string
func (*QueryListBucketsResponse) Unmarshal ¶ added in v0.0.6
func (m *QueryListBucketsResponse) Unmarshal(dAtA []byte) error
func (*QueryListBucketsResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryListBucketsResponse) XXX_DiscardUnknown()
func (*QueryListBucketsResponse) XXX_Marshal ¶ added in v0.0.6
func (m *QueryListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListBucketsResponse) XXX_Merge ¶ added in v0.0.6
func (m *QueryListBucketsResponse) XXX_Merge(src proto.Message)
func (*QueryListBucketsResponse) XXX_Size ¶ added in v0.0.6
func (m *QueryListBucketsResponse) XXX_Size() int
func (*QueryListBucketsResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryListBucketsResponse) XXX_Unmarshal(b []byte) error
type QueryListObjectsRequest ¶ added in v0.0.6
type QueryListObjectsRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BucketName string `protobuf:"bytes,2,opt,name=bucketName,proto3" json:"bucketName,omitempty"` }
func (*QueryListObjectsRequest) Descriptor ¶ added in v0.0.6
func (*QueryListObjectsRequest) Descriptor() ([]byte, []int)
func (*QueryListObjectsRequest) GetBucketName ¶ added in v0.0.6
func (m *QueryListObjectsRequest) GetBucketName() string
func (*QueryListObjectsRequest) GetPagination ¶ added in v0.0.6
func (m *QueryListObjectsRequest) GetPagination() *query.PageRequest
func (*QueryListObjectsRequest) Marshal ¶ added in v0.0.6
func (m *QueryListObjectsRequest) Marshal() (dAtA []byte, err error)
func (*QueryListObjectsRequest) MarshalTo ¶ added in v0.0.6
func (m *QueryListObjectsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListObjectsRequest) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryListObjectsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListObjectsRequest) ProtoMessage ¶ added in v0.0.6
func (*QueryListObjectsRequest) ProtoMessage()
func (*QueryListObjectsRequest) Reset ¶ added in v0.0.6
func (m *QueryListObjectsRequest) Reset()
func (*QueryListObjectsRequest) Size ¶ added in v0.0.6
func (m *QueryListObjectsRequest) Size() (n int)
func (*QueryListObjectsRequest) String ¶ added in v0.0.6
func (m *QueryListObjectsRequest) String() string
func (*QueryListObjectsRequest) Unmarshal ¶ added in v0.0.6
func (m *QueryListObjectsRequest) Unmarshal(dAtA []byte) error
func (*QueryListObjectsRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryListObjectsRequest) XXX_DiscardUnknown()
func (*QueryListObjectsRequest) XXX_Marshal ¶ added in v0.0.6
func (m *QueryListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListObjectsRequest) XXX_Merge ¶ added in v0.0.6
func (m *QueryListObjectsRequest) XXX_Merge(src proto.Message)
func (*QueryListObjectsRequest) XXX_Size ¶ added in v0.0.6
func (m *QueryListObjectsRequest) XXX_Size() int
func (*QueryListObjectsRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryListObjectsRequest) XXX_Unmarshal(b []byte) error
type QueryListObjectsResponse ¶ added in v0.0.6
type QueryListObjectsResponse struct { ObjectInfos []ObjectInfo `protobuf:"bytes,1,rep,name=object_infos,json=objectInfos,proto3" json:"object_infos"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryListObjectsResponse) Descriptor ¶ added in v0.0.6
func (*QueryListObjectsResponse) Descriptor() ([]byte, []int)
func (*QueryListObjectsResponse) GetObjectInfos ¶ added in v0.0.6
func (m *QueryListObjectsResponse) GetObjectInfos() []ObjectInfo
func (*QueryListObjectsResponse) GetPagination ¶ added in v0.0.6
func (m *QueryListObjectsResponse) GetPagination() *query.PageResponse
func (*QueryListObjectsResponse) Marshal ¶ added in v0.0.6
func (m *QueryListObjectsResponse) Marshal() (dAtA []byte, err error)
func (*QueryListObjectsResponse) MarshalTo ¶ added in v0.0.6
func (m *QueryListObjectsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryListObjectsResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryListObjectsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListObjectsResponse) ProtoMessage ¶ added in v0.0.6
func (*QueryListObjectsResponse) ProtoMessage()
func (*QueryListObjectsResponse) Reset ¶ added in v0.0.6
func (m *QueryListObjectsResponse) Reset()
func (*QueryListObjectsResponse) Size ¶ added in v0.0.6
func (m *QueryListObjectsResponse) Size() (n int)
func (*QueryListObjectsResponse) String ¶ added in v0.0.6
func (m *QueryListObjectsResponse) String() string
func (*QueryListObjectsResponse) Unmarshal ¶ added in v0.0.6
func (m *QueryListObjectsResponse) Unmarshal(dAtA []byte) error
func (*QueryListObjectsResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryListObjectsResponse) XXX_DiscardUnknown()
func (*QueryListObjectsResponse) XXX_Marshal ¶ added in v0.0.6
func (m *QueryListObjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListObjectsResponse) XXX_Merge ¶ added in v0.0.6
func (m *QueryListObjectsResponse) XXX_Merge(src proto.Message)
func (*QueryListObjectsResponse) XXX_Size ¶ added in v0.0.6
func (m *QueryListObjectsResponse) XXX_Size() int
func (*QueryListObjectsResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryListObjectsResponse) 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 bucket with specify name. HeadBucket(context.Context, *QueryHeadBucketRequest) (*QueryHeadBucketResponse, error) // Queries a object with specify name. HeadObject(context.Context, *QueryHeadObjectRequest) (*QueryHeadObjectResponse, error) // Queries a list of bucket items. ListBuckets(context.Context, *QueryListBucketsRequest) (*QueryListBucketsResponse, error) // Queries a list of object items under the bucket. ListObjects(context.Context, *QueryListObjectsRequest) (*QueryListObjectsResponse, error) }
QueryServer is the server API for Query service.
type ReadQuota ¶
type ReadQuota int32
TODO: Need to confirm the read quota enum which determined by payment module TODO: Make this field be configured through governance
func (ReadQuota) EnumDescriptor ¶
type RedundancyType ¶
type RedundancyType int32
const ( REDUNDANCY_REPLICA_TYPE RedundancyType = 0 REDUNDANCY_EC_TYPE RedundancyType = 1 REDUNDANCY_INLINE_TYPE RedundancyType = 2 )
func (RedundancyType) EnumDescriptor ¶
func (RedundancyType) EnumDescriptor() ([]byte, []int)
func (RedundancyType) String ¶
func (x RedundancyType) String() string
type SecondarySpSignDoc ¶ added in v0.0.6
type SecondarySpSignDoc struct { SpAddress string `protobuf:"bytes,1,opt,name=sp_address,json=spAddress,proto3" json:"sp_address,omitempty"` Checksum []byte `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` }
func NewSecondarySpSignDoc ¶ added in v0.0.6
func NewSecondarySpSignDoc(spAddress sdk.AccAddress, checksum []byte) *SecondarySpSignDoc
func (*SecondarySpSignDoc) Descriptor ¶ added in v0.0.6
func (*SecondarySpSignDoc) Descriptor() ([]byte, []int)
func (*SecondarySpSignDoc) GetChecksum ¶ added in v0.0.6
func (m *SecondarySpSignDoc) GetChecksum() []byte
func (*SecondarySpSignDoc) GetSignBytes ¶ added in v0.0.6
func (sr *SecondarySpSignDoc) GetSignBytes() []byte
func (*SecondarySpSignDoc) GetSpAddress ¶ added in v0.0.6
func (m *SecondarySpSignDoc) GetSpAddress() string
func (*SecondarySpSignDoc) Marshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Marshal() (dAtA []byte, err error)
func (*SecondarySpSignDoc) MarshalTo ¶ added in v0.0.6
func (m *SecondarySpSignDoc) MarshalTo(dAtA []byte) (int, error)
func (*SecondarySpSignDoc) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *SecondarySpSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SecondarySpSignDoc) ProtoMessage ¶ added in v0.0.6
func (*SecondarySpSignDoc) ProtoMessage()
func (*SecondarySpSignDoc) Reset ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Reset()
func (*SecondarySpSignDoc) Size ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Size() (n int)
func (*SecondarySpSignDoc) String ¶ added in v0.0.6
func (m *SecondarySpSignDoc) String() string
func (*SecondarySpSignDoc) Unmarshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Unmarshal(dAtA []byte) error
func (*SecondarySpSignDoc) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_DiscardUnknown()
func (*SecondarySpSignDoc) XXX_Marshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SecondarySpSignDoc) XXX_Merge ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Merge(src proto.Message)
func (*SecondarySpSignDoc) XXX_Size ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Size() int
func (*SecondarySpSignDoc) XXX_Unmarshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Unmarshal(b []byte) error
type SourceType ¶
type SourceType int32
const ( SOURCE_TYPE_ORIGIN SourceType = 0 SOURCE_TYPE_BSC_CROSS_CHAIN SourceType = 1 )
func (SourceType) EnumDescriptor ¶
func (SourceType) EnumDescriptor() ([]byte, []int)
func (SourceType) String ¶
func (x SourceType) String() string
type SpKeeper ¶
type SpKeeper interface {
GetStorageProvider(ctx sdk.Context, addr sdk.AccAddress) (sp sptypes.StorageProvider, found bool)
}
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelCreateObject ¶ added in v0.0.6
func (*UnimplementedMsgServer) CancelCreateObject(ctx context.Context, req *MsgCancelCreateObject) (*MsgCancelCreateObjectResponse, error)
func (*UnimplementedMsgServer) CopyObject ¶
func (*UnimplementedMsgServer) CopyObject(ctx context.Context, req *MsgCopyObject) (*MsgCopyObjectResponse, error)
func (*UnimplementedMsgServer) CreateBucket ¶
func (*UnimplementedMsgServer) CreateBucket(ctx context.Context, req *MsgCreateBucket) (*MsgCreateBucketResponse, error)
func (*UnimplementedMsgServer) CreateGroup ¶
func (*UnimplementedMsgServer) CreateGroup(ctx context.Context, req *MsgCreateGroup) (*MsgCreateGroupResponse, error)
func (*UnimplementedMsgServer) CreateObject ¶
func (*UnimplementedMsgServer) CreateObject(ctx context.Context, req *MsgCreateObject) (*MsgCreateObjectResponse, error)
func (*UnimplementedMsgServer) DeleteBucket ¶
func (*UnimplementedMsgServer) DeleteBucket(ctx context.Context, req *MsgDeleteBucket) (*MsgDeleteBucketResponse, error)
func (*UnimplementedMsgServer) DeleteGroup ¶
func (*UnimplementedMsgServer) DeleteGroup(ctx context.Context, req *MsgDeleteGroup) (*MsgDeleteGroupResponse, error)
func (*UnimplementedMsgServer) DeleteObject ¶
func (*UnimplementedMsgServer) DeleteObject(ctx context.Context, req *MsgDeleteObject) (*MsgDeleteObjectResponse, error)
func (*UnimplementedMsgServer) LeaveGroup ¶
func (*UnimplementedMsgServer) LeaveGroup(ctx context.Context, req *MsgLeaveGroup) (*MsgLeaveGroupResponse, error)
func (*UnimplementedMsgServer) RejectSealObject ¶
func (*UnimplementedMsgServer) RejectSealObject(ctx context.Context, req *MsgRejectSealObject) (*MsgRejectSealObjectResponse, error)
func (*UnimplementedMsgServer) SealObject ¶
func (*UnimplementedMsgServer) SealObject(ctx context.Context, req *MsgSealObject) (*MsgSealObjectResponse, error)
func (*UnimplementedMsgServer) UpdateBucketInfo ¶ added in v0.0.6
func (*UnimplementedMsgServer) UpdateBucketInfo(ctx context.Context, req *MsgUpdateBucketInfo) (*MsgUpdateBucketInfoResponse, error)
func (*UnimplementedMsgServer) UpdateGroupMember ¶
func (*UnimplementedMsgServer) UpdateGroupMember(ctx context.Context, req *MsgUpdateGroupMember) (*MsgUpdateGroupMemberResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) HeadBucket ¶ added in v0.0.6
func (*UnimplementedQueryServer) HeadBucket(ctx context.Context, req *QueryHeadBucketRequest) (*QueryHeadBucketResponse, error)
func (*UnimplementedQueryServer) HeadObject ¶ added in v0.0.6
func (*UnimplementedQueryServer) HeadObject(ctx context.Context, req *QueryHeadObjectRequest) (*QueryHeadObjectResponse, error)
func (*UnimplementedQueryServer) ListBuckets ¶ added in v0.0.6
func (*UnimplementedQueryServer) ListBuckets(ctx context.Context, req *QueryListBucketsRequest) (*QueryListBucketsResponse, error)
func (*UnimplementedQueryServer) ListObjects ¶ added in v0.0.6
func (*UnimplementedQueryServer) ListObjects(ctx context.Context, req *QueryListObjectsRequest) (*QueryListObjectsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)