Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func DeserializeCreateBucketAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeCreateBucketSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeCreateGroupAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeCreateGroupSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeCrossChainPackage(rawPack []byte, channelId sdk.ChannelID, packageType sdk.CrossChainPackageType) (interface{}, error)
- func DeserializeDeleteBucketAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeDeleteBucketSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeDeleteGroupAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeDeleteGroupSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeDeleteObjectAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeDeleteObjectSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeMirrorBucketAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeMirrorBucketSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeMirrorGroupAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeMirrorGroupSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeMirrorObjectAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeMirrorObjectSynPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeUpdateGroupMemberAckPackage(serializedPackage []byte) (interface{}, error)
- func DeserializeUpdateGroupMemberSynPackage(serializedPackage []byte) (interface{}, error)
- func EncodeSequence(u Uint) []byte
- func GetBucketByIDKey(bucketId math.Uint) []byte
- func GetBucketKey(bucketName string) []byte
- func GetGroupByIDKey(groupId math.Uint) []byte
- func GetGroupKey(owner sdk.AccAddress, groupName string) []byte
- func GetGroupKeyOnlyOwnerPrefix(owner sdk.AccAddress) []byte
- func GetObjectByIDKey(objectId math.Uint) []byte
- func GetObjectKey(bucketName string, objectName string) []byte
- func GetObjectKeyOnlyBucketPrefix(bucketName string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- 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 BillingInfo
- func (*BillingInfo) Descriptor() ([]byte, []int)
- func (m *BillingInfo) GetPriceTime() int64
- func (m *BillingInfo) GetSecondarySpObjectsSize() []SecondarySpObjectsSize
- func (m *BillingInfo) GetTotalChargeSize() uint64
- func (m *BillingInfo) Marshal() (dAtA []byte, err error)
- func (m *BillingInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *BillingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BillingInfo) ProtoMessage()
- func (m *BillingInfo) Reset()
- func (m *BillingInfo) Size() (n int)
- func (m *BillingInfo) String() string
- func (m *BillingInfo) Unmarshal(dAtA []byte) error
- func (m *BillingInfo) XXX_DiscardUnknown()
- func (m *BillingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BillingInfo) XXX_Merge(src proto.Message)
- func (m *BillingInfo) XXX_Size() int
- func (m *BillingInfo) XXX_Unmarshal(b []byte) error
- type BucketInfo
- func (*BucketInfo) Descriptor() ([]byte, []int)
- func (m *BucketInfo) GetBillingInfo() BillingInfo
- func (m *BucketInfo) GetBucketName() string
- func (m *BucketInfo) GetChargedReadQuota() uint64
- func (m *BucketInfo) GetCreateAt() int64
- func (m *BucketInfo) GetOwner() string
- func (m *BucketInfo) GetPaymentAddress() string
- func (m *BucketInfo) GetPrimarySpAddress() string
- func (m *BucketInfo) GetSourceType() SourceType
- func (m *BucketInfo) GetVisibility() VisibilityType
- 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) ToNFTMetadata() *BucketMetaData
- 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 BucketMetaData
- func (*BucketMetaData) Descriptor() ([]byte, []int)
- func (m *BucketMetaData) GetAttributes() []Trait
- func (m *BucketMetaData) GetBucketName() string
- func (m *BucketMetaData) GetDescription() string
- func (m *BucketMetaData) GetExternalUrl() string
- func (m *BucketMetaData) GetImage() string
- func (m *BucketMetaData) Marshal() (dAtA []byte, err error)
- func (m *BucketMetaData) MarshalTo(dAtA []byte) (int, error)
- func (m *BucketMetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BucketMetaData) ProtoMessage()
- func (m *BucketMetaData) Reset()
- func (m *BucketMetaData) Size() (n int)
- func (m *BucketMetaData) String() string
- func (m *BucketMetaData) Unmarshal(dAtA []byte) error
- func (m *BucketMetaData) XXX_DiscardUnknown()
- func (m *BucketMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BucketMetaData) XXX_Merge(src proto.Message)
- func (m *BucketMetaData) XXX_Size() int
- func (m *BucketMetaData) XXX_Unmarshal(b []byte) error
- type CreateBucketAckPackage
- type CreateBucketSynPackage
- type CreateGroupAckPackage
- type CreateGroupSynPackage
- type CrossChainKeeper
- type CrossChainPackage
- type DeleteBucketAckPackage
- type DeleteBucketSynPackage
- type DeleteGroupAckPackage
- type DeleteGroupSynPackage
- type DeleteObjectAckPackage
- type DeleteObjectSynPackage
- type DeserializeFunc
- 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) GetChargedReadQuota() uint64
- func (m *EventCreateBucket) GetCreateAt() int64
- func (m *EventCreateBucket) GetOwnerAddress() string
- func (m *EventCreateBucket) GetPaymentAddress() string
- func (m *EventCreateBucket) GetPrimarySpAddress() string
- func (m *EventCreateBucket) GetSourceType() SourceType
- func (m *EventCreateBucket) GetVisibility() VisibilityType
- 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) 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) GetVisibility() VisibilityType
- 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 EventMirrorBucket
- func (*EventMirrorBucket) Descriptor() ([]byte, []int)
- func (m *EventMirrorBucket) GetBucketName() string
- func (m *EventMirrorBucket) GetOperatorAddress() string
- func (m *EventMirrorBucket) Marshal() (dAtA []byte, err error)
- func (m *EventMirrorBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMirrorBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMirrorBucket) ProtoMessage()
- func (m *EventMirrorBucket) Reset()
- func (m *EventMirrorBucket) Size() (n int)
- func (m *EventMirrorBucket) String() string
- func (m *EventMirrorBucket) Unmarshal(dAtA []byte) error
- func (m *EventMirrorBucket) XXX_DiscardUnknown()
- func (m *EventMirrorBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMirrorBucket) XXX_Merge(src proto.Message)
- func (m *EventMirrorBucket) XXX_Size() int
- func (m *EventMirrorBucket) XXX_Unmarshal(b []byte) error
- type EventMirrorBucketResult
- func (*EventMirrorBucketResult) Descriptor() ([]byte, []int)
- func (m *EventMirrorBucketResult) GetBucketName() string
- func (m *EventMirrorBucketResult) GetStatus() uint32
- func (m *EventMirrorBucketResult) Marshal() (dAtA []byte, err error)
- func (m *EventMirrorBucketResult) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMirrorBucketResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMirrorBucketResult) ProtoMessage()
- func (m *EventMirrorBucketResult) Reset()
- func (m *EventMirrorBucketResult) Size() (n int)
- func (m *EventMirrorBucketResult) String() string
- func (m *EventMirrorBucketResult) Unmarshal(dAtA []byte) error
- func (m *EventMirrorBucketResult) XXX_DiscardUnknown()
- func (m *EventMirrorBucketResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMirrorBucketResult) XXX_Merge(src proto.Message)
- func (m *EventMirrorBucketResult) XXX_Size() int
- func (m *EventMirrorBucketResult) XXX_Unmarshal(b []byte) error
- type EventMirrorGroup
- func (*EventMirrorGroup) Descriptor() ([]byte, []int)
- func (m *EventMirrorGroup) GetGroupName() string
- func (m *EventMirrorGroup) GetOwnerAddress() string
- func (m *EventMirrorGroup) Marshal() (dAtA []byte, err error)
- func (m *EventMirrorGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMirrorGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMirrorGroup) ProtoMessage()
- func (m *EventMirrorGroup) Reset()
- func (m *EventMirrorGroup) Size() (n int)
- func (m *EventMirrorGroup) String() string
- func (m *EventMirrorGroup) Unmarshal(dAtA []byte) error
- func (m *EventMirrorGroup) XXX_DiscardUnknown()
- func (m *EventMirrorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMirrorGroup) XXX_Merge(src proto.Message)
- func (m *EventMirrorGroup) XXX_Size() int
- func (m *EventMirrorGroup) XXX_Unmarshal(b []byte) error
- type EventMirrorGroupResult
- func (*EventMirrorGroupResult) Descriptor() ([]byte, []int)
- func (m *EventMirrorGroupResult) GetGroupName() string
- func (m *EventMirrorGroupResult) GetStatus() uint32
- func (m *EventMirrorGroupResult) Marshal() (dAtA []byte, err error)
- func (m *EventMirrorGroupResult) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMirrorGroupResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMirrorGroupResult) ProtoMessage()
- func (m *EventMirrorGroupResult) Reset()
- func (m *EventMirrorGroupResult) Size() (n int)
- func (m *EventMirrorGroupResult) String() string
- func (m *EventMirrorGroupResult) Unmarshal(dAtA []byte) error
- func (m *EventMirrorGroupResult) XXX_DiscardUnknown()
- func (m *EventMirrorGroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMirrorGroupResult) XXX_Merge(src proto.Message)
- func (m *EventMirrorGroupResult) XXX_Size() int
- func (m *EventMirrorGroupResult) XXX_Unmarshal(b []byte) error
- type EventMirrorObject
- func (*EventMirrorObject) Descriptor() ([]byte, []int)
- func (m *EventMirrorObject) GetBucketName() string
- func (m *EventMirrorObject) GetObjectName() string
- func (m *EventMirrorObject) GetOperatorAddress() string
- func (m *EventMirrorObject) Marshal() (dAtA []byte, err error)
- func (m *EventMirrorObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMirrorObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMirrorObject) ProtoMessage()
- func (m *EventMirrorObject) Reset()
- func (m *EventMirrorObject) Size() (n int)
- func (m *EventMirrorObject) String() string
- func (m *EventMirrorObject) Unmarshal(dAtA []byte) error
- func (m *EventMirrorObject) XXX_DiscardUnknown()
- func (m *EventMirrorObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMirrorObject) XXX_Merge(src proto.Message)
- func (m *EventMirrorObject) XXX_Size() int
- func (m *EventMirrorObject) XXX_Unmarshal(b []byte) error
- type EventMirrorObjectResult
- func (*EventMirrorObjectResult) Descriptor() ([]byte, []int)
- func (m *EventMirrorObjectResult) GetBucketName() string
- func (m *EventMirrorObjectResult) GetObjectName() string
- func (m *EventMirrorObjectResult) GetStatus() uint32
- func (m *EventMirrorObjectResult) Marshal() (dAtA []byte, err error)
- func (m *EventMirrorObjectResult) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMirrorObjectResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMirrorObjectResult) ProtoMessage()
- func (m *EventMirrorObjectResult) Reset()
- func (m *EventMirrorObjectResult) Size() (n int)
- func (m *EventMirrorObjectResult) String() string
- func (m *EventMirrorObjectResult) Unmarshal(dAtA []byte) error
- func (m *EventMirrorObjectResult) XXX_DiscardUnknown()
- func (m *EventMirrorObjectResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMirrorObjectResult) XXX_Merge(src proto.Message)
- func (m *EventMirrorObjectResult) XXX_Size() int
- func (m *EventMirrorObjectResult) 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) GetSecondarySpAddresses() []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) GetChargedReadQuotaAfter() uint64
- func (m *EventUpdateBucketInfo) GetChargedReadQuotaBefore() uint64
- func (m *EventUpdateBucketInfo) GetOperatorAddress() string
- func (m *EventUpdateBucketInfo) GetPaymentAddressAfter() string
- func (m *EventUpdateBucketInfo) GetPaymentAddressBefore() string
- func (m *EventUpdateBucketInfo) GetVisibility() VisibilityType
- 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) ToNFTMetadata() *GroupMetaData
- 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 GroupMetaData
- func (*GroupMetaData) Descriptor() ([]byte, []int)
- func (m *GroupMetaData) GetAttributes() []Trait
- func (m *GroupMetaData) GetDescription() string
- func (m *GroupMetaData) GetExternalUrl() string
- func (m *GroupMetaData) GetGroupName() string
- func (m *GroupMetaData) GetImage() string
- func (m *GroupMetaData) Marshal() (dAtA []byte, err error)
- func (m *GroupMetaData) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupMetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupMetaData) ProtoMessage()
- func (m *GroupMetaData) Reset()
- func (m *GroupMetaData) Size() (n int)
- func (m *GroupMetaData) String() string
- func (m *GroupMetaData) Unmarshal(dAtA []byte) error
- func (m *GroupMetaData) XXX_DiscardUnknown()
- func (m *GroupMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupMetaData) XXX_Merge(src proto.Message)
- func (m *GroupMetaData) XXX_Size() int
- func (m *GroupMetaData) XXX_Unmarshal(b []byte) error
- type Int
- type MirrorBucketAckPackage
- type MirrorBucketSynPackage
- type MirrorGroupAckPackage
- type MirrorGroupSynPackage
- type MirrorObjectAckPackage
- type MirrorObjectSynPackage
- 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) GetChargedReadQuota() uint64
- func (m *MsgCreateBucket) GetCreator() string
- func (m *MsgCreateBucket) GetPaymentAddress() string
- func (m *MsgCreateBucket) GetPrimarySpAddress() string
- func (m *MsgCreateBucket) GetPrimarySpApproval() *Approval
- func (msg *MsgCreateBucket) GetSignBytes() []byte
- func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress
- func (m *MsgCreateBucket) GetVisibility() VisibilityType
- 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) GetObjectName() string
- func (m *MsgCreateObject) GetPayloadSize() uint64
- func (m *MsgCreateObject) GetPrimarySpApproval() *Approval
- func (m *MsgCreateObject) GetRedundancyType() RedundancyType
- func (msg *MsgCreateObject) GetSignBytes() []byte
- func (msg *MsgCreateObject) GetSigners() []sdk.AccAddress
- func (m *MsgCreateObject) GetVisibility() VisibilityType
- 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 MsgDeletePolicy
- func (*MsgDeletePolicy) Descriptor() ([]byte, []int)
- func (m *MsgDeletePolicy) GetOperator() string
- func (m *MsgDeletePolicy) GetPrincipal() *types.Principal
- func (m *MsgDeletePolicy) GetResource() string
- func (msg *MsgDeletePolicy) GetSignBytes() []byte
- func (msg *MsgDeletePolicy) GetSigners() []sdk.AccAddress
- func (m *MsgDeletePolicy) Marshal() (dAtA []byte, err error)
- func (m *MsgDeletePolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeletePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeletePolicy) ProtoMessage()
- func (m *MsgDeletePolicy) Reset()
- func (msg *MsgDeletePolicy) Route() string
- func (m *MsgDeletePolicy) Size() (n int)
- func (m *MsgDeletePolicy) String() string
- func (msg *MsgDeletePolicy) Type() string
- func (m *MsgDeletePolicy) Unmarshal(dAtA []byte) error
- func (msg *MsgDeletePolicy) ValidateBasic() error
- func (m *MsgDeletePolicy) XXX_DiscardUnknown()
- func (m *MsgDeletePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeletePolicy) XXX_Merge(src proto.Message)
- func (m *MsgDeletePolicy) XXX_Size() int
- func (m *MsgDeletePolicy) XXX_Unmarshal(b []byte) error
- type MsgDeletePolicyResponse
- func (*MsgDeletePolicyResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeletePolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeletePolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeletePolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeletePolicyResponse) ProtoMessage()
- func (m *MsgDeletePolicyResponse) Reset()
- func (m *MsgDeletePolicyResponse) Size() (n int)
- func (m *MsgDeletePolicyResponse) String() string
- func (m *MsgDeletePolicyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeletePolicyResponse) XXX_DiscardUnknown()
- func (m *MsgDeletePolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeletePolicyResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeletePolicyResponse) XXX_Size() int
- func (m *MsgDeletePolicyResponse) 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 MsgMirrorBucket
- func (*MsgMirrorBucket) Descriptor() ([]byte, []int)
- func (m *MsgMirrorBucket) GetOperator() string
- func (msg *MsgMirrorBucket) GetSignBytes() []byte
- func (msg *MsgMirrorBucket) GetSigners() []sdk.AccAddress
- func (m *MsgMirrorBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgMirrorBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMirrorBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMirrorBucket) ProtoMessage()
- func (m *MsgMirrorBucket) Reset()
- func (msg *MsgMirrorBucket) Route() string
- func (m *MsgMirrorBucket) Size() (n int)
- func (m *MsgMirrorBucket) String() string
- func (msg *MsgMirrorBucket) Type() string
- func (m *MsgMirrorBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgMirrorBucket) ValidateBasic() error
- func (m *MsgMirrorBucket) XXX_DiscardUnknown()
- func (m *MsgMirrorBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMirrorBucket) XXX_Merge(src proto.Message)
- func (m *MsgMirrorBucket) XXX_Size() int
- func (m *MsgMirrorBucket) XXX_Unmarshal(b []byte) error
- type MsgMirrorBucketResponse
- func (*MsgMirrorBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgMirrorBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMirrorBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMirrorBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMirrorBucketResponse) ProtoMessage()
- func (m *MsgMirrorBucketResponse) Reset()
- func (m *MsgMirrorBucketResponse) Size() (n int)
- func (m *MsgMirrorBucketResponse) String() string
- func (m *MsgMirrorBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMirrorBucketResponse) XXX_DiscardUnknown()
- func (m *MsgMirrorBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMirrorBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgMirrorBucketResponse) XXX_Size() int
- func (m *MsgMirrorBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgMirrorGroup
- func (*MsgMirrorGroup) Descriptor() ([]byte, []int)
- func (m *MsgMirrorGroup) GetOperator() string
- func (msg *MsgMirrorGroup) GetSignBytes() []byte
- func (msg *MsgMirrorGroup) GetSigners() []sdk.AccAddress
- func (m *MsgMirrorGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgMirrorGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMirrorGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMirrorGroup) ProtoMessage()
- func (m *MsgMirrorGroup) Reset()
- func (msg *MsgMirrorGroup) Route() string
- func (m *MsgMirrorGroup) Size() (n int)
- func (m *MsgMirrorGroup) String() string
- func (msg *MsgMirrorGroup) Type() string
- func (m *MsgMirrorGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgMirrorGroup) ValidateBasic() error
- func (m *MsgMirrorGroup) XXX_DiscardUnknown()
- func (m *MsgMirrorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMirrorGroup) XXX_Merge(src proto.Message)
- func (m *MsgMirrorGroup) XXX_Size() int
- func (m *MsgMirrorGroup) XXX_Unmarshal(b []byte) error
- type MsgMirrorGroupResponse
- func (*MsgMirrorGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgMirrorGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMirrorGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMirrorGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMirrorGroupResponse) ProtoMessage()
- func (m *MsgMirrorGroupResponse) Reset()
- func (m *MsgMirrorGroupResponse) Size() (n int)
- func (m *MsgMirrorGroupResponse) String() string
- func (m *MsgMirrorGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMirrorGroupResponse) XXX_DiscardUnknown()
- func (m *MsgMirrorGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMirrorGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgMirrorGroupResponse) XXX_Size() int
- func (m *MsgMirrorGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgMirrorObject
- func (*MsgMirrorObject) Descriptor() ([]byte, []int)
- func (m *MsgMirrorObject) GetOperator() string
- func (msg *MsgMirrorObject) GetSignBytes() []byte
- func (msg *MsgMirrorObject) GetSigners() []sdk.AccAddress
- func (m *MsgMirrorObject) Marshal() (dAtA []byte, err error)
- func (m *MsgMirrorObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMirrorObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMirrorObject) ProtoMessage()
- func (m *MsgMirrorObject) Reset()
- func (msg *MsgMirrorObject) Route() string
- func (m *MsgMirrorObject) Size() (n int)
- func (m *MsgMirrorObject) String() string
- func (msg *MsgMirrorObject) Type() string
- func (m *MsgMirrorObject) Unmarshal(dAtA []byte) error
- func (msg *MsgMirrorObject) ValidateBasic() error
- func (m *MsgMirrorObject) XXX_DiscardUnknown()
- func (m *MsgMirrorObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMirrorObject) XXX_Merge(src proto.Message)
- func (m *MsgMirrorObject) XXX_Size() int
- func (m *MsgMirrorObject) XXX_Unmarshal(b []byte) error
- type MsgMirrorObjectResponse
- func (*MsgMirrorObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgMirrorObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMirrorObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMirrorObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMirrorObjectResponse) ProtoMessage()
- func (m *MsgMirrorObjectResponse) Reset()
- func (m *MsgMirrorObjectResponse) Size() (n int)
- func (m *MsgMirrorObjectResponse) String() string
- func (m *MsgMirrorObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMirrorObjectResponse) XXX_DiscardUnknown()
- func (m *MsgMirrorObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMirrorObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgMirrorObjectResponse) XXX_Size() int
- func (m *MsgMirrorObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgPutPolicy
- func (*MsgPutPolicy) Descriptor() ([]byte, []int)
- func (m *MsgPutPolicy) GetExpirationTime() *time.Time
- func (m *MsgPutPolicy) GetOperator() string
- func (m *MsgPutPolicy) GetPrincipal() *types.Principal
- func (m *MsgPutPolicy) GetResource() string
- func (msg *MsgPutPolicy) GetSignBytes() []byte
- func (msg *MsgPutPolicy) GetSigners() []sdk.AccAddress
- func (m *MsgPutPolicy) GetStatements() []*types.Statement
- func (m *MsgPutPolicy) Marshal() (dAtA []byte, err error)
- func (m *MsgPutPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPutPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPutPolicy) ProtoMessage()
- func (m *MsgPutPolicy) Reset()
- func (msg *MsgPutPolicy) Route() string
- func (m *MsgPutPolicy) Size() (n int)
- func (m *MsgPutPolicy) String() string
- func (msg *MsgPutPolicy) Type() string
- func (m *MsgPutPolicy) Unmarshal(dAtA []byte) error
- func (msg *MsgPutPolicy) ValidateBasic() error
- func (m *MsgPutPolicy) XXX_DiscardUnknown()
- func (m *MsgPutPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPutPolicy) XXX_Merge(src proto.Message)
- func (m *MsgPutPolicy) XXX_Size() int
- func (m *MsgPutPolicy) XXX_Unmarshal(b []byte) error
- type MsgPutPolicyResponse
- func (*MsgPutPolicyResponse) Descriptor() ([]byte, []int)
- func (m *MsgPutPolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPutPolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPutPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPutPolicyResponse) ProtoMessage()
- func (m *MsgPutPolicyResponse) Reset()
- func (m *MsgPutPolicyResponse) Size() (n int)
- func (m *MsgPutPolicyResponse) String() string
- func (m *MsgPutPolicyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPutPolicyResponse) XXX_DiscardUnknown()
- func (m *MsgPutPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPutPolicyResponse) XXX_Merge(src proto.Message)
- func (m *MsgPutPolicyResponse) XXX_Size() int
- func (m *MsgPutPolicyResponse) 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) GetChargedReadQuota() *common.UInt64Value
- func (m *MsgUpdateBucketInfo) GetOperator() string
- func (m *MsgUpdateBucketInfo) GetPaymentAddress() string
- func (msg *MsgUpdateBucketInfo) GetSignBytes() []byte
- func (msg *MsgUpdateBucketInfo) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateBucketInfo) GetVisibility() VisibilityType
- 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) GetGroupOwner() 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) 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) GetVisibility() VisibilityType
- 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) ToNFTMetadata() *ObjectMetaData
- 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 ObjectMetaData
- func (*ObjectMetaData) Descriptor() ([]byte, []int)
- func (m *ObjectMetaData) GetAttributes() []Trait
- func (m *ObjectMetaData) GetDescription() string
- func (m *ObjectMetaData) GetExternalUrl() string
- func (m *ObjectMetaData) GetImage() string
- func (m *ObjectMetaData) GetObjectName() string
- func (m *ObjectMetaData) Marshal() (dAtA []byte, err error)
- func (m *ObjectMetaData) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectMetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectMetaData) ProtoMessage()
- func (m *ObjectMetaData) Reset()
- func (m *ObjectMetaData) Size() (n int)
- func (m *ObjectMetaData) String() string
- func (m *ObjectMetaData) Unmarshal(dAtA []byte) error
- func (m *ObjectMetaData) XXX_DiscardUnknown()
- func (m *ObjectMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectMetaData) XXX_Merge(src proto.Message)
- func (m *ObjectMetaData) XXX_Size() int
- func (m *ObjectMetaData) XXX_Unmarshal(b []byte) error
- type ObjectStatus
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMaxBucketsPerAccount() uint32
- func (m *Params) GetMaxPayloadSize() uint64
- func (m *Params) GetMaxSegmentSize() uint64
- func (m *Params) GetMinChargeSize() uint64
- func (m *Params) GetMirrorBucketAckRelayerFee() string
- func (m *Params) GetMirrorBucketRelayerFee() string
- func (m *Params) GetMirrorGroupAckRelayerFee() string
- func (m *Params) GetMirrorGroupRelayerFee() string
- func (m *Params) GetMirrorObjectAckRelayerFee() string
- func (m *Params) GetMirrorObjectRelayerFee() string
- 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 PermissionKeeper
- type QueryBucketNFTResponse
- func (*QueryBucketNFTResponse) Descriptor() ([]byte, []int)
- func (m *QueryBucketNFTResponse) GetMetaData() *BucketMetaData
- func (m *QueryBucketNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBucketNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBucketNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBucketNFTResponse) ProtoMessage()
- func (m *QueryBucketNFTResponse) Reset()
- func (m *QueryBucketNFTResponse) Size() (n int)
- func (m *QueryBucketNFTResponse) String() string
- func (m *QueryBucketNFTResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBucketNFTResponse) XXX_DiscardUnknown()
- func (m *QueryBucketNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBucketNFTResponse) XXX_Merge(src proto.Message)
- func (m *QueryBucketNFTResponse) XXX_Size() int
- func (m *QueryBucketNFTResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGroupNFTResponse
- func (*QueryGroupNFTResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupNFTResponse) GetMetaData() *GroupMetaData
- func (m *QueryGroupNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupNFTResponse) ProtoMessage()
- func (m *QueryGroupNFTResponse) Reset()
- func (m *QueryGroupNFTResponse) Size() (n int)
- func (m *QueryGroupNFTResponse) String() string
- func (m *QueryGroupNFTResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupNFTResponse) XXX_DiscardUnknown()
- func (m *QueryGroupNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupNFTResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupNFTResponse) XXX_Size() int
- func (m *QueryGroupNFTResponse) XXX_Unmarshal(b []byte) error
- type QueryHeadBucketByIdRequest
- func (*QueryHeadBucketByIdRequest) Descriptor() ([]byte, []int)
- func (m *QueryHeadBucketByIdRequest) GetBucketId() string
- func (m *QueryHeadBucketByIdRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadBucketByIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadBucketByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadBucketByIdRequest) ProtoMessage()
- func (m *QueryHeadBucketByIdRequest) Reset()
- func (m *QueryHeadBucketByIdRequest) Size() (n int)
- func (m *QueryHeadBucketByIdRequest) String() string
- func (m *QueryHeadBucketByIdRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHeadBucketByIdRequest) XXX_DiscardUnknown()
- func (m *QueryHeadBucketByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadBucketByIdRequest) XXX_Merge(src proto.Message)
- func (m *QueryHeadBucketByIdRequest) XXX_Size() int
- func (m *QueryHeadBucketByIdRequest) XXX_Unmarshal(b []byte) error
- 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 QueryHeadGroupMemberRequest
- func (*QueryHeadGroupMemberRequest) Descriptor() ([]byte, []int)
- func (m *QueryHeadGroupMemberRequest) GetGroupName() string
- func (m *QueryHeadGroupMemberRequest) GetGroupOwner() string
- func (m *QueryHeadGroupMemberRequest) GetMember() string
- func (m *QueryHeadGroupMemberRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadGroupMemberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadGroupMemberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadGroupMemberRequest) ProtoMessage()
- func (m *QueryHeadGroupMemberRequest) Reset()
- func (m *QueryHeadGroupMemberRequest) Size() (n int)
- func (m *QueryHeadGroupMemberRequest) String() string
- func (m *QueryHeadGroupMemberRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHeadGroupMemberRequest) XXX_DiscardUnknown()
- func (m *QueryHeadGroupMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadGroupMemberRequest) XXX_Merge(src proto.Message)
- func (m *QueryHeadGroupMemberRequest) XXX_Size() int
- func (m *QueryHeadGroupMemberRequest) XXX_Unmarshal(b []byte) error
- type QueryHeadGroupMemberResponse
- func (*QueryHeadGroupMemberResponse) Descriptor() ([]byte, []int)
- func (m *QueryHeadGroupMemberResponse) GetGroupMember() *types.GroupMember
- func (m *QueryHeadGroupMemberResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadGroupMemberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadGroupMemberResponse) ProtoMessage()
- func (m *QueryHeadGroupMemberResponse) Reset()
- func (m *QueryHeadGroupMemberResponse) Size() (n int)
- func (m *QueryHeadGroupMemberResponse) String() string
- func (m *QueryHeadGroupMemberResponse) Unmarshal(dAtA []byte) error
- func (m *QueryHeadGroupMemberResponse) XXX_DiscardUnknown()
- func (m *QueryHeadGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadGroupMemberResponse) XXX_Merge(src proto.Message)
- func (m *QueryHeadGroupMemberResponse) XXX_Size() int
- func (m *QueryHeadGroupMemberResponse) XXX_Unmarshal(b []byte) error
- type QueryHeadGroupRequest
- func (*QueryHeadGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryHeadGroupRequest) GetGroupName() string
- func (m *QueryHeadGroupRequest) GetGroupOwner() string
- func (m *QueryHeadGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadGroupRequest) ProtoMessage()
- func (m *QueryHeadGroupRequest) Reset()
- func (m *QueryHeadGroupRequest) Size() (n int)
- func (m *QueryHeadGroupRequest) String() string
- func (m *QueryHeadGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHeadGroupRequest) XXX_DiscardUnknown()
- func (m *QueryHeadGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryHeadGroupRequest) XXX_Size() int
- func (m *QueryHeadGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryHeadGroupResponse
- func (*QueryHeadGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryHeadGroupResponse) GetGroupInfo() *GroupInfo
- func (m *QueryHeadGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadGroupResponse) ProtoMessage()
- func (m *QueryHeadGroupResponse) Reset()
- func (m *QueryHeadGroupResponse) Size() (n int)
- func (m *QueryHeadGroupResponse) String() string
- func (m *QueryHeadGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryHeadGroupResponse) XXX_DiscardUnknown()
- func (m *QueryHeadGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryHeadGroupResponse) XXX_Size() int
- func (m *QueryHeadGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryHeadObjectByIdRequest
- func (*QueryHeadObjectByIdRequest) Descriptor() ([]byte, []int)
- func (m *QueryHeadObjectByIdRequest) GetObjectId() string
- func (m *QueryHeadObjectByIdRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHeadObjectByIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHeadObjectByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHeadObjectByIdRequest) ProtoMessage()
- func (m *QueryHeadObjectByIdRequest) Reset()
- func (m *QueryHeadObjectByIdRequest) Size() (n int)
- func (m *QueryHeadObjectByIdRequest) String() string
- func (m *QueryHeadObjectByIdRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHeadObjectByIdRequest) XXX_DiscardUnknown()
- func (m *QueryHeadObjectByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHeadObjectByIdRequest) XXX_Merge(src proto.Message)
- func (m *QueryHeadObjectByIdRequest) XXX_Size() int
- func (m *QueryHeadObjectByIdRequest) 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 QueryListGroupRequest
- func (*QueryListGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryListGroupRequest) GetGroupOwner() string
- func (m *QueryListGroupRequest) GetPagination() *query.PageRequest
- func (m *QueryListGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListGroupRequest) ProtoMessage()
- func (m *QueryListGroupRequest) Reset()
- func (m *QueryListGroupRequest) Size() (n int)
- func (m *QueryListGroupRequest) String() string
- func (m *QueryListGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListGroupRequest) XXX_DiscardUnknown()
- func (m *QueryListGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryListGroupRequest) XXX_Size() int
- func (m *QueryListGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryListGroupResponse
- func (*QueryListGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryListGroupResponse) GetGroupInfos() []*GroupInfo
- func (m *QueryListGroupResponse) GetPagination() *query.PageResponse
- func (m *QueryListGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryListGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListGroupResponse) ProtoMessage()
- func (m *QueryListGroupResponse) Reset()
- func (m *QueryListGroupResponse) Size() (n int)
- func (m *QueryListGroupResponse) String() string
- func (m *QueryListGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryListGroupResponse) XXX_DiscardUnknown()
- func (m *QueryListGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryListGroupResponse) XXX_Size() int
- func (m *QueryListGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryListObjectsByBucketIdRequest
- func (*QueryListObjectsByBucketIdRequest) Descriptor() ([]byte, []int)
- func (m *QueryListObjectsByBucketIdRequest) GetBucketId() string
- func (m *QueryListObjectsByBucketIdRequest) GetPagination() *query.PageRequest
- func (m *QueryListObjectsByBucketIdRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListObjectsByBucketIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListObjectsByBucketIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListObjectsByBucketIdRequest) ProtoMessage()
- func (m *QueryListObjectsByBucketIdRequest) Reset()
- func (m *QueryListObjectsByBucketIdRequest) Size() (n int)
- func (m *QueryListObjectsByBucketIdRequest) String() string
- func (m *QueryListObjectsByBucketIdRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListObjectsByBucketIdRequest) XXX_DiscardUnknown()
- func (m *QueryListObjectsByBucketIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListObjectsByBucketIdRequest) XXX_Merge(src proto.Message)
- func (m *QueryListObjectsByBucketIdRequest) XXX_Size() int
- func (m *QueryListObjectsByBucketIdRequest) 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 QueryNFTRequest
- func (*QueryNFTRequest) Descriptor() ([]byte, []int)
- func (m *QueryNFTRequest) GetTokenId() string
- func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryNFTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNFTRequest) ProtoMessage()
- func (m *QueryNFTRequest) Reset()
- func (m *QueryNFTRequest) Size() (n int)
- func (m *QueryNFTRequest) String() string
- func (m *QueryNFTRequest) Unmarshal(dAtA []byte) error
- func (m *QueryNFTRequest) XXX_DiscardUnknown()
- func (m *QueryNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNFTRequest) XXX_Merge(src proto.Message)
- func (m *QueryNFTRequest) XXX_Size() int
- func (m *QueryNFTRequest) XXX_Unmarshal(b []byte) error
- type QueryObjectNFTResponse
- func (*QueryObjectNFTResponse) Descriptor() ([]byte, []int)
- func (m *QueryObjectNFTResponse) GetMetaData() *ObjectMetaData
- func (m *QueryObjectNFTResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryObjectNFTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryObjectNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryObjectNFTResponse) ProtoMessage()
- func (m *QueryObjectNFTResponse) Reset()
- func (m *QueryObjectNFTResponse) Size() (n int)
- func (m *QueryObjectNFTResponse) String() string
- func (m *QueryObjectNFTResponse) Unmarshal(dAtA []byte) error
- func (m *QueryObjectNFTResponse) XXX_DiscardUnknown()
- func (m *QueryObjectNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryObjectNFTResponse) XXX_Merge(src proto.Message)
- func (m *QueryObjectNFTResponse) XXX_Size() int
- func (m *QueryObjectNFTResponse) 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 QueryPolicyForAccountRequest
- func (*QueryPolicyForAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryPolicyForAccountRequest) GetPrincipalAddress() string
- func (m *QueryPolicyForAccountRequest) GetResource() string
- func (m *QueryPolicyForAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPolicyForAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPolicyForAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPolicyForAccountRequest) ProtoMessage()
- func (m *QueryPolicyForAccountRequest) Reset()
- func (m *QueryPolicyForAccountRequest) Size() (n int)
- func (m *QueryPolicyForAccountRequest) String() string
- func (m *QueryPolicyForAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPolicyForAccountRequest) XXX_DiscardUnknown()
- func (m *QueryPolicyForAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPolicyForAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryPolicyForAccountRequest) XXX_Size() int
- func (m *QueryPolicyForAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryPolicyForAccountResponse
- func (*QueryPolicyForAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryPolicyForAccountResponse) GetPolicy() *types.Policy
- func (m *QueryPolicyForAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPolicyForAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPolicyForAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPolicyForAccountResponse) ProtoMessage()
- func (m *QueryPolicyForAccountResponse) Reset()
- func (m *QueryPolicyForAccountResponse) Size() (n int)
- func (m *QueryPolicyForAccountResponse) String() string
- func (m *QueryPolicyForAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPolicyForAccountResponse) XXX_DiscardUnknown()
- func (m *QueryPolicyForAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPolicyForAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryPolicyForAccountResponse) XXX_Size() int
- func (m *QueryPolicyForAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryPolicyForGroupRequest
- func (*QueryPolicyForGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryPolicyForGroupRequest) GetPrincipalGroupId() string
- func (m *QueryPolicyForGroupRequest) GetResource() string
- func (m *QueryPolicyForGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPolicyForGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPolicyForGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPolicyForGroupRequest) ProtoMessage()
- func (m *QueryPolicyForGroupRequest) Reset()
- func (m *QueryPolicyForGroupRequest) Size() (n int)
- func (m *QueryPolicyForGroupRequest) String() string
- func (m *QueryPolicyForGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPolicyForGroupRequest) XXX_DiscardUnknown()
- func (m *QueryPolicyForGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPolicyForGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryPolicyForGroupRequest) XXX_Size() int
- func (m *QueryPolicyForGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryPolicyForGroupResponse
- func (*QueryPolicyForGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryPolicyForGroupResponse) GetPolicy() *types.Policy
- func (m *QueryPolicyForGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPolicyForGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPolicyForGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPolicyForGroupResponse) ProtoMessage()
- func (m *QueryPolicyForGroupResponse) Reset()
- func (m *QueryPolicyForGroupResponse) Size() (n int)
- func (m *QueryPolicyForGroupResponse) String() string
- func (m *QueryPolicyForGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPolicyForGroupResponse) XXX_DiscardUnknown()
- func (m *QueryPolicyForGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPolicyForGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryPolicyForGroupResponse) XXX_Size() int
- func (m *QueryPolicyForGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryVerifyPermissionRequest
- func (*QueryVerifyPermissionRequest) Descriptor() ([]byte, []int)
- func (m *QueryVerifyPermissionRequest) GetActionType() types.ActionType
- func (m *QueryVerifyPermissionRequest) GetBucketName() string
- func (m *QueryVerifyPermissionRequest) GetObjectName() string
- func (m *QueryVerifyPermissionRequest) GetOperator() string
- func (m *QueryVerifyPermissionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVerifyPermissionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVerifyPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVerifyPermissionRequest) ProtoMessage()
- func (m *QueryVerifyPermissionRequest) Reset()
- func (m *QueryVerifyPermissionRequest) Size() (n int)
- func (m *QueryVerifyPermissionRequest) String() string
- func (m *QueryVerifyPermissionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVerifyPermissionRequest) XXX_DiscardUnknown()
- func (m *QueryVerifyPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVerifyPermissionRequest) XXX_Merge(src proto.Message)
- func (m *QueryVerifyPermissionRequest) XXX_Size() int
- func (m *QueryVerifyPermissionRequest) XXX_Unmarshal(b []byte) error
- type QueryVerifyPermissionResponse
- func (*QueryVerifyPermissionResponse) Descriptor() ([]byte, []int)
- func (m *QueryVerifyPermissionResponse) GetEffect() types.Effect
- func (m *QueryVerifyPermissionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVerifyPermissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVerifyPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVerifyPermissionResponse) ProtoMessage()
- func (m *QueryVerifyPermissionResponse) Reset()
- func (m *QueryVerifyPermissionResponse) Size() (n int)
- func (m *QueryVerifyPermissionResponse) String() string
- func (m *QueryVerifyPermissionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVerifyPermissionResponse) XXX_DiscardUnknown()
- func (m *QueryVerifyPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVerifyPermissionResponse) XXX_Merge(src proto.Message)
- func (m *QueryVerifyPermissionResponse) XXX_Size() int
- func (m *QueryVerifyPermissionResponse) XXX_Unmarshal(b []byte) error
- type RawID
- type RedundancyType
- type SecondarySpObjectsSize
- func (*SecondarySpObjectsSize) Descriptor() ([]byte, []int)
- func (m *SecondarySpObjectsSize) GetSpAddress() string
- func (m *SecondarySpObjectsSize) GetTotalChargeSize() uint64
- func (m *SecondarySpObjectsSize) Marshal() (dAtA []byte, err error)
- func (m *SecondarySpObjectsSize) MarshalTo(dAtA []byte) (int, error)
- func (m *SecondarySpObjectsSize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SecondarySpObjectsSize) ProtoMessage()
- func (m *SecondarySpObjectsSize) Reset()
- func (m *SecondarySpObjectsSize) Size() (n int)
- func (m *SecondarySpObjectsSize) String() string
- func (m *SecondarySpObjectsSize) Unmarshal(dAtA []byte) error
- func (m *SecondarySpObjectsSize) XXX_DiscardUnknown()
- func (m *SecondarySpObjectsSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecondarySpObjectsSize) XXX_Merge(src proto.Message)
- func (m *SecondarySpObjectsSize) XXX_Size() int
- func (m *SecondarySpObjectsSize) XXX_Unmarshal(b []byte) error
- 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 Trait
- func (*Trait) Descriptor() ([]byte, []int)
- func (m *Trait) GetTraitType() string
- func (m *Trait) GetValue() string
- func (m *Trait) Marshal() (dAtA []byte, err error)
- func (m *Trait) MarshalTo(dAtA []byte) (int, error)
- func (m *Trait) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Trait) ProtoMessage()
- func (m *Trait) Reset()
- func (m *Trait) Size() (n int)
- func (m *Trait) String() string
- func (m *Trait) Unmarshal(dAtA []byte) error
- func (m *Trait) XXX_DiscardUnknown()
- func (m *Trait) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trait) XXX_Merge(src proto.Message)
- func (m *Trait) XXX_Size() int
- func (m *Trait) XXX_Unmarshal(b []byte) error
- type Uint
- 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) DeletePolicy(ctx context.Context, req *MsgDeletePolicy) (*MsgDeletePolicyResponse, error)
- func (*UnimplementedMsgServer) LeaveGroup(ctx context.Context, req *MsgLeaveGroup) (*MsgLeaveGroupResponse, error)
- func (*UnimplementedMsgServer) MirrorBucket(ctx context.Context, req *MsgMirrorBucket) (*MsgMirrorBucketResponse, error)
- func (*UnimplementedMsgServer) MirrorGroup(ctx context.Context, req *MsgMirrorGroup) (*MsgMirrorGroupResponse, error)
- func (*UnimplementedMsgServer) MirrorObject(ctx context.Context, req *MsgMirrorObject) (*MsgMirrorObjectResponse, error)
- func (*UnimplementedMsgServer) PutPolicy(ctx context.Context, req *MsgPutPolicy) (*MsgPutPolicyResponse, 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) HeadBucketById(ctx context.Context, req *QueryHeadBucketByIdRequest) (*QueryHeadBucketResponse, error)
- func (*UnimplementedQueryServer) HeadBucketNFT(ctx context.Context, req *QueryNFTRequest) (*QueryBucketNFTResponse, error)
- func (*UnimplementedQueryServer) HeadGroup(ctx context.Context, req *QueryHeadGroupRequest) (*QueryHeadGroupResponse, error)
- func (*UnimplementedQueryServer) HeadGroupMember(ctx context.Context, req *QueryHeadGroupMemberRequest) (*QueryHeadGroupMemberResponse, error)
- func (*UnimplementedQueryServer) HeadGroupNFT(ctx context.Context, req *QueryNFTRequest) (*QueryGroupNFTResponse, error)
- func (*UnimplementedQueryServer) HeadObject(ctx context.Context, req *QueryHeadObjectRequest) (*QueryHeadObjectResponse, error)
- func (*UnimplementedQueryServer) HeadObjectById(ctx context.Context, req *QueryHeadObjectByIdRequest) (*QueryHeadObjectResponse, error)
- func (*UnimplementedQueryServer) HeadObjectNFT(ctx context.Context, req *QueryNFTRequest) (*QueryObjectNFTResponse, error)
- func (*UnimplementedQueryServer) ListBuckets(ctx context.Context, req *QueryListBucketsRequest) (*QueryListBucketsResponse, error)
- func (*UnimplementedQueryServer) ListGroup(ctx context.Context, req *QueryListGroupRequest) (*QueryListGroupResponse, error)
- func (*UnimplementedQueryServer) ListObjects(ctx context.Context, req *QueryListObjectsRequest) (*QueryListObjectsResponse, error)
- func (*UnimplementedQueryServer) ListObjectsByBucketId(ctx context.Context, req *QueryListObjectsByBucketIdRequest) (*QueryListObjectsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueryPolicyForAccount(ctx context.Context, req *QueryPolicyForAccountRequest) (*QueryPolicyForAccountResponse, error)
- func (*UnimplementedQueryServer) QueryPolicyForGroup(ctx context.Context, req *QueryPolicyForGroupRequest) (*QueryPolicyForGroupResponse, error)
- func (*UnimplementedQueryServer) VerifyPermission(ctx context.Context, req *QueryVerifyPermissionRequest) (*QueryVerifyPermissionResponse, error)
- type UpdateGroupMemberAckPackage
- type UpdateGroupMemberSynPackage
- type VisibilityType
Constants ¶
const ( BucketChannel = "bucket" ObjectChannel = "object" GroupChannel = "group" BucketChannelId sdk.ChannelID = 4 ObjectChannelId sdk.ChannelID = 5 GroupChannelId sdk.ChannelID = 6 OperationMirrorBucket uint8 = 1 OperationCreateBucket uint8 = 2 OperationDeleteBucket uint8 = 3 OperationMirrorObject uint8 = 1 // OperationCreateObject uint8 = 2 // not used OperationDeleteObject uint8 = 3 OperationMirrorGroup uint8 = 1 OperationCreateGroup uint8 = 2 OperationDeleteGroup uint8 = 3 OperationUpdateGroupMember uint8 = 4 )
const ( StatusSuccess = 0 StatusFail = 1 )
const ( OperationAddGroupMember uint8 = 1 OperationDeleteGroupMember uint8 = 2 )
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" TypeMsgMirrorBucket = "mirror_bucket" // For object TypeMsgCopyObject = "copy_object" TypeMsgCreateObject = "create_object" TypeMsgDeleteObject = "delete_object" TypeMsgSealObject = "seal_object" TypeMsgRejectSealObject = "reject_seal_object" TypeMsgCancelCreateObject = "cancel_create_object" TypeMsgMirrorObject = "mirror_object" // For group TypeMsgCreateGroup = "create_group" TypeMsgDeleteGroup = "delete_group" TypeMsgLeaveGroup = "leave_group" TypeMsgUpdateGroupMember = "update_group_member" TypeMsgMirrorGroup = "mirror_group" // For permission policy TypeMsgPutPolicy = "put_policy" TypeMsgDeletePolicy = "delete_policy" MaxGroupMemberLimitOnce = 20 )
const ( DefaultMaxSegmentSize uint64 = 16 * 1024 * 1024 // 16M DefaultRedundantDataChunkNum uint32 = 4 DefaultRedundantParityChunkNum uint32 = 2 DefaultMaxPayloadSize uint64 = 2 * 1024 * 1024 * 1024 DefaultMaxBucketsPerAccount uint32 = 100 DefaultMinChargeSize uint64 = 1 * 1024 * 1024 // 1M DefaultMirrorBucketRelayerFee = "1000000000000000" // 0.01 DefaultMirrorBucketAckRelayerFee = "0" DefaultMirrorObjectRelayerFee = "1000000000000000" // 0.01 DefaultMirrorObjectAckRelayerFee = "0" DefaultMirrorGroupRelayerFee = "1000000000000000" // 0.01 DefaultMirrorGroupAckRelayerFee = "0" )
storage params default values
const ( SecondarySPNum = 6 // MinChargeSize is the minimum size to charge for a storage object MinChargeSize = 1024 )
const ( TagKeyTraits = "traits" TagValueOmit = "omit" MaxPaginationLimit = 200 // the default limit is 100 if pagination parameters is not provided )
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") ErrNoSuchGroupMember = errors.Register(ModuleName, 1103, "No such group member") ErrBucketAlreadyExists = errors.Register(ModuleName, 1104, "Bucket already exists") ErrObjectAlreadyExists = errors.Register(ModuleName, 1105, "Object already exists") ErrGroupAlreadyExists = errors.Register(ModuleName, 1106, "Group already exists") ErrAccessDenied = errors.Register(ModuleName, 1107, "Access denied") ErrObjectAlreadySealed = errors.Register(ModuleName, 1108, "Object already sealed") ErrBucketNotEmpty = errors.Register(ModuleName, 1109, "Bucket is not empty") ErrGroupMemberAlreadyExists = errors.Register(ModuleName, 1110, "Group member already exists") ErrNoSuchStorageProvider = errors.Register(ModuleName, 1111, "No such storage provider") ErrObjectNotCreated = errors.Register(ModuleName, 1112, "Object not created") ErrObjectNotSealed = errors.Register(ModuleName, 1113, "Object not sealed") ErrSourceTypeMismatch = errors.Register(ModuleName, 1114, "Object source type mismatch") ErrTooLargeObject = errors.Register(ModuleName, 1115, "Object payload size is too large") ErrInvalidApproval = errors.Register(ModuleName, 1116, "Invalid approval of sp") ErrChargeFailed = errors.Register(ModuleName, 1117, "charge failed error") ErrInvalidVisibility = errors.Register(ModuleName, 1118, "Invalid type of visibility") ErrNoSuchPolicy = errors.Register(ModuleName, 1120, "No such Policy") ErrInvalidParameter = errors.Register(ModuleName, 1121, "Invalid parameter") ErrInvalidRedundancyType = errors.Register(ModuleName, 1122, "Invalid redundancy type") ErrInvalidCrossChainPackage = errors.Register(ModuleName, 3000, "invalid cross chain package") ErrAlreadyMirrored = errors.Register(ModuleName, 3001, "resource is already mirrored") ErrInvalidOperationType = errors.Register(ModuleName, 3002, "invalid operation type") ErrInvalidId = errors.Register(ModuleName, 3003, "is is invalid") )
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} BucketByIDPrefix = []byte{0x21} ObjectByIDPrefix = []byte{0x22} GroupByIDPrefix = []byte{0x23} BucketSequencePrefix = []byte{0x31} ObjectSequencePrefix = []byte{0x32} GroupSequencePrefix = []byte{0x33} )
var ( KeyMaxSegmentSize = []byte("MaxSegmentSize") KeyRedundantDataChunkNum = []byte("RedundantDataChunkNum") KeyRedundantParityChunkNum = []byte("RedundantParityChunkNum") KeyMaxPayloadSize = []byte("MaxPayloadSize") KeyMinChargeSize = []byte("MinChargeSize") KeyMaxBucketsPerAccount = []byte("MaxBucketsPerAccount") KeyMirrorBucketRelayerFee = []byte("MirrorBucketRelayerFee") KeyMirrorBucketAckRelayerFee = []byte("MirrorBucketAckRelayerFee") KeyMirrorObjectRelayerFee = []byte("MirrorObjectRelayerFee") KeyMirrorObjectAckRelayerFee = []byte("MirrorObjectAckRelayerFee") KeyMirrorGroupRelayerFee = []byte("MirrorGroupRelayerFee") KeyMirrorGroupAckRelayerFee = []byte("MirrorGroupAckRelayerFee") )
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 DeserializeFuncMap = map[sdk.ChannelID]map[uint8][3]DeserializeFunc{ BucketChannelId: { OperationMirrorBucket: { DeserializeMirrorBucketSynPackage, DeserializeMirrorBucketAckPackage, DeserializeMirrorBucketSynPackage, }, OperationCreateBucket: { DeserializeCreateBucketSynPackage, DeserializeCreateBucketAckPackage, DeserializeCreateBucketSynPackage, }, OperationDeleteBucket: { DeserializeDeleteBucketSynPackage, DeserializeDeleteBucketAckPackage, DeserializeDeleteBucketSynPackage, }, }, ObjectChannelId: { OperationMirrorObject: { DeserializeMirrorObjectSynPackage, DeserializeMirrorObjectAckPackage, DeserializeMirrorObjectSynPackage, }, OperationDeleteObject: { DeserializeDeleteObjectSynPackage, DeserializeDeleteObjectAckPackage, DeserializeDeleteObjectSynPackage, }, }, GroupChannelId: { OperationMirrorGroup: { DeserializeMirrorGroupSynPackage, DeserializeMirrorGroupAckPackage, DeserializeMirrorGroupSynPackage, }, OperationCreateGroup: { DeserializeCreateGroupSynPackage, DeserializeCreateGroupAckPackage, DeserializeCreateGroupSynPackage, }, OperationDeleteGroup: { DeserializeDeleteGroupSynPackage, DeserializeDeleteGroupAckPackage, DeserializeDeleteGroupSynPackage, }, OperationUpdateGroupMember: { DeserializeUpdateGroupMemberSynPackage, DeserializeUpdateGroupMemberAckPackage, DeserializeUpdateGroupMemberSynPackage, }, }, }
var ObjectStatus_name = map[int32]string{
0: "OBJECT_STATUS_CREATED",
1: "OBJECT_STATUS_SEALED",
}
var ObjectStatus_value = map[string]int32{
"OBJECT_STATUS_CREATED": 0,
"OBJECT_STATUS_SEALED": 1,
}
var RedundancyType_name = map[int32]string{
0: "REDUNDANCY_EC_TYPE",
1: "REDUNDANCY_REPLICA_TYPE",
}
var RedundancyType_value = map[string]int32{
"REDUNDANCY_EC_TYPE": 0,
"REDUNDANCY_REPLICA_TYPE": 1,
}
var SourceType_name = map[int32]string{
0: "SOURCE_TYPE_ORIGIN",
1: "SOURCE_TYPE_BSC_CROSS_CHAIN",
2: "SOURCE_TYPE_MIRROR_PENDING",
}
var SourceType_value = map[string]int32{
"SOURCE_TYPE_ORIGIN": 0,
"SOURCE_TYPE_BSC_CROSS_CHAIN": 1,
"SOURCE_TYPE_MIRROR_PENDING": 2,
}
var VisibilityType_name = map[int32]string{
0: "VISIBILITY_TYPE_UNSPECIFIED",
1: "VISIBILITY_TYPE_PUBLIC_READ",
2: "VISIBILITY_TYPE_PRIVATE",
3: "VISIBILITY_TYPE_INHERIT",
}
var VisibilityType_value = map[string]int32{
"VISIBILITY_TYPE_UNSPECIFIED": 0,
"VISIBILITY_TYPE_PUBLIC_READ": 1,
"VISIBILITY_TYPE_PRIVATE": 2,
"VISIBILITY_TYPE_INHERIT": 3,
}
Functions ¶
func DeserializeCreateBucketAckPackage ¶ added in v0.0.9
func DeserializeCreateBucketSynPackage ¶ added in v0.0.9
func DeserializeCreateGroupAckPackage ¶ added in v0.0.9
func DeserializeCreateGroupSynPackage ¶ added in v0.0.9
func DeserializeCrossChainPackage ¶ added in v0.0.9
func DeserializeDeleteBucketAckPackage ¶ added in v0.0.9
func DeserializeDeleteBucketSynPackage ¶ added in v0.0.9
func DeserializeDeleteGroupAckPackage ¶ added in v0.0.9
func DeserializeDeleteGroupSynPackage ¶ added in v0.0.9
func DeserializeDeleteObjectAckPackage ¶ added in v0.0.9
func DeserializeDeleteObjectSynPackage ¶ added in v0.0.9
func DeserializeMirrorBucketAckPackage ¶ added in v0.0.9
func DeserializeMirrorBucketSynPackage ¶ added in v0.0.9
func DeserializeMirrorGroupAckPackage ¶ added in v0.0.9
func DeserializeMirrorGroupSynPackage ¶ added in v0.0.9
func DeserializeMirrorObjectAckPackage ¶ added in v0.0.9
func DeserializeMirrorObjectSynPackage ¶ added in v0.0.9
func DeserializeUpdateGroupMemberAckPackage ¶ added in v0.0.9
func DeserializeUpdateGroupMemberSynPackage ¶ added in v0.0.9
func EncodeSequence ¶ added in v0.0.7
func GetBucketByIDKey ¶ added in v0.0.7
GetBucketByIDKey return the bucketID store key
func GetBucketKey ¶
GetBucketKey return the bucket name store key
func GetGroupByIDKey ¶ added in v0.0.7
GetGroupByIDKey return the groupId store key
func GetGroupKey ¶
func GetGroupKey(owner sdk.AccAddress, groupName string) []byte
GetGroupKey return the group name store key
func GetGroupKeyOnlyOwnerPrefix ¶ added in v0.0.8
func GetGroupKeyOnlyOwnerPrefix(owner sdk.AccAddress) []byte
GetGroupKeyOnlyOwnerPrefix return the group name store key
func GetObjectByIDKey ¶ added in v0.0.7
GetObjectByIDKey return the objectId store key
func GetObjectKey ¶
GetObjectKey return the object name store key
func GetObjectKeyOnlyBucketPrefix ¶ added in v0.0.7
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 { // expired_height is the block height at which the signature expires. ExpiredHeight uint64 `protobuf:"varint,1,opt,name=expired_height,json=expiredHeight,proto3" json:"expired_height,omitempty"` // The signature needs to conform to the EIP 712 specification. Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` }
Approval is the signature information returned by the Primary Storage Provider (SP) to the user after allowing them to create a bucket or object, which is then used for verification on the chain to ensure agreement between the Primary SP and the user."
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 BillingInfo ¶ added in v0.0.7
type BillingInfo struct { // the time of the payment price, used to calculate the charge rate of the bucket PriceTime int64 `protobuf:"varint,1,opt,name=price_time,json=priceTime,proto3" json:"price_time,omitempty"` // the total size of the objects in the bucket, used to calculate the charge rate of the bucket TotalChargeSize uint64 `protobuf:"varint,2,opt,name=total_charge_size,json=totalChargeSize,proto3" json:"total_charge_size,omitempty"` // secondary sp objects size statistics SecondarySpObjectsSize []SecondarySpObjectsSize `protobuf:"bytes,3,rep,name=secondary_sp_objects_size,json=secondarySpObjectsSize,proto3" json:"secondary_sp_objects_size"` }
BillingInfo is the billing information of the bucket
func (*BillingInfo) Descriptor ¶ added in v0.0.7
func (*BillingInfo) Descriptor() ([]byte, []int)
func (*BillingInfo) GetPriceTime ¶ added in v0.0.7
func (m *BillingInfo) GetPriceTime() int64
func (*BillingInfo) GetSecondarySpObjectsSize ¶ added in v0.0.7
func (m *BillingInfo) GetSecondarySpObjectsSize() []SecondarySpObjectsSize
func (*BillingInfo) GetTotalChargeSize ¶ added in v0.0.7
func (m *BillingInfo) GetTotalChargeSize() uint64
func (*BillingInfo) Marshal ¶ added in v0.0.7
func (m *BillingInfo) Marshal() (dAtA []byte, err error)
func (*BillingInfo) MarshalTo ¶ added in v0.0.7
func (m *BillingInfo) MarshalTo(dAtA []byte) (int, error)
func (*BillingInfo) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *BillingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BillingInfo) ProtoMessage ¶ added in v0.0.7
func (*BillingInfo) ProtoMessage()
func (*BillingInfo) Reset ¶ added in v0.0.7
func (m *BillingInfo) Reset()
func (*BillingInfo) Size ¶ added in v0.0.7
func (m *BillingInfo) Size() (n int)
func (*BillingInfo) String ¶ added in v0.0.7
func (m *BillingInfo) String() string
func (*BillingInfo) Unmarshal ¶ added in v0.0.7
func (m *BillingInfo) Unmarshal(dAtA []byte) error
func (*BillingInfo) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *BillingInfo) XXX_DiscardUnknown()
func (*BillingInfo) XXX_Marshal ¶ added in v0.0.7
func (m *BillingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BillingInfo) XXX_Merge ¶ added in v0.0.7
func (m *BillingInfo) XXX_Merge(src proto.Message)
func (*BillingInfo) XXX_Size ¶ added in v0.0.7
func (m *BillingInfo) XXX_Size() int
func (*BillingInfo) XXX_Unmarshal ¶ added in v0.0.7
func (m *BillingInfo) XXX_Unmarshal(b []byte) error
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"` // visibility defines the highest permissions for bucket. When a bucket is public, everyone can get storage objects in it. Visibility VisibilityType `protobuf:"varint,3,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,omitempty"` // id is the unique identification for bucket. Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // source_type defines which chain the user should send the bucket management transactions to SourceType SourceType `` /* 136-byte string literal not displayed */ // create_at define the block timestamp 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"` // charged_read_quota defines the traffic quota for read in bytes per month. // The available read data for each user is the sum of the free read data provided by SP and // the ChargeReadQuota specified here. ChargedReadQuota uint64 `protobuf:"varint,9,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"` // billing info of the bucket BillingInfo BillingInfo `protobuf:"bytes,10,opt,name=billing_info,json=billingInfo,proto3" json:"billing_info"` }
func (*BucketInfo) Descriptor ¶
func (*BucketInfo) Descriptor() ([]byte, []int)
func (*BucketInfo) GetBillingInfo ¶ added in v0.0.7
func (m *BucketInfo) GetBillingInfo() BillingInfo
func (*BucketInfo) GetBucketName ¶
func (m *BucketInfo) GetBucketName() string
func (*BucketInfo) GetChargedReadQuota ¶ added in v0.0.10
func (m *BucketInfo) GetChargedReadQuota() uint64
func (*BucketInfo) GetCreateAt ¶
func (m *BucketInfo) GetCreateAt() int64
func (*BucketInfo) GetOwner ¶
func (m *BucketInfo) GetOwner() string
func (*BucketInfo) GetPaymentAddress ¶
func (m *BucketInfo) GetPaymentAddress() string
func (*BucketInfo) GetPrimarySpAddress ¶
func (m *BucketInfo) GetPrimarySpAddress() string
func (*BucketInfo) GetSourceType ¶ added in v0.0.6
func (m *BucketInfo) GetSourceType() SourceType
func (*BucketInfo) GetVisibility ¶ added in v0.0.10
func (m *BucketInfo) GetVisibility() VisibilityType
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) ToNFTMetadata ¶ added in v0.0.7
func (m *BucketInfo) ToNFTMetadata() *BucketMetaData
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 BucketMetaData ¶ added in v0.0.7
type BucketMetaData struct { // description Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // externalUrl a link to external site to view NFT ExternalUrl string `protobuf:"bytes,2,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"` // name of bucket NFT BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // image is the link to image Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // attributes Attributes []Trait `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes"` }
func (*BucketMetaData) Descriptor ¶ added in v0.0.7
func (*BucketMetaData) Descriptor() ([]byte, []int)
func (*BucketMetaData) GetAttributes ¶ added in v0.0.7
func (m *BucketMetaData) GetAttributes() []Trait
func (*BucketMetaData) GetBucketName ¶ added in v0.0.7
func (m *BucketMetaData) GetBucketName() string
func (*BucketMetaData) GetDescription ¶ added in v0.0.7
func (m *BucketMetaData) GetDescription() string
func (*BucketMetaData) GetExternalUrl ¶ added in v0.0.7
func (m *BucketMetaData) GetExternalUrl() string
func (*BucketMetaData) GetImage ¶ added in v0.0.7
func (m *BucketMetaData) GetImage() string
func (*BucketMetaData) Marshal ¶ added in v0.0.7
func (m *BucketMetaData) Marshal() (dAtA []byte, err error)
func (*BucketMetaData) MarshalTo ¶ added in v0.0.7
func (m *BucketMetaData) MarshalTo(dAtA []byte) (int, error)
func (*BucketMetaData) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *BucketMetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BucketMetaData) ProtoMessage ¶ added in v0.0.7
func (*BucketMetaData) ProtoMessage()
func (*BucketMetaData) Reset ¶ added in v0.0.7
func (m *BucketMetaData) Reset()
func (*BucketMetaData) Size ¶ added in v0.0.7
func (m *BucketMetaData) Size() (n int)
func (*BucketMetaData) String ¶ added in v0.0.7
func (m *BucketMetaData) String() string
func (*BucketMetaData) Unmarshal ¶ added in v0.0.7
func (m *BucketMetaData) Unmarshal(dAtA []byte) error
func (*BucketMetaData) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *BucketMetaData) XXX_DiscardUnknown()
func (*BucketMetaData) XXX_Marshal ¶ added in v0.0.7
func (m *BucketMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BucketMetaData) XXX_Merge ¶ added in v0.0.7
func (m *BucketMetaData) XXX_Merge(src proto.Message)
func (*BucketMetaData) XXX_Size ¶ added in v0.0.7
func (m *BucketMetaData) XXX_Size() int
func (*BucketMetaData) XXX_Unmarshal ¶ added in v0.0.7
func (m *BucketMetaData) XXX_Unmarshal(b []byte) error
type CreateBucketAckPackage ¶ added in v0.0.9
type CreateBucketAckPackage struct { Status uint8 Id *big.Int Creator sdk.AccAddress ExtraData []byte }
func (CreateBucketAckPackage) MustSerialize ¶ added in v0.0.9
func (p CreateBucketAckPackage) MustSerialize() []byte
type CreateBucketSynPackage ¶ added in v0.0.9
type CreateBucketSynPackage struct { Creator sdk.AccAddress BucketName string Visibility uint32 PaymentAddress sdk.AccAddress PrimarySpAddress sdk.AccAddress PrimarySpApprovalExpiredHeight uint64 PrimarySpApprovalSignature []byte ChargedReadQuota uint64 ExtraData []byte }
func (CreateBucketSynPackage) GetApprovalBytes ¶ added in v0.0.9
func (p CreateBucketSynPackage) GetApprovalBytes() []byte
func (CreateBucketSynPackage) ValidateBasic ¶ added in v0.0.9
func (p CreateBucketSynPackage) ValidateBasic() error
type CreateGroupAckPackage ¶ added in v0.0.9
type CreateGroupAckPackage struct { Status uint8 Id *big.Int Creator sdk.AccAddress ExtraData []byte }
func (CreateGroupAckPackage) MustSerialize ¶ added in v0.0.9
func (p CreateGroupAckPackage) MustSerialize() []byte
type CreateGroupSynPackage ¶ added in v0.0.9
type CreateGroupSynPackage struct { Creator sdk.AccAddress GroupName string ExtraData []byte }
func (CreateGroupSynPackage) ValidateBasic ¶ added in v0.0.9
func (p CreateGroupSynPackage) ValidateBasic() error
type CrossChainKeeper ¶ added in v0.0.9
type CrossChainKeeper interface { CreateRawIBCPackageWithFee(ctx sdk.Context, channelID sdk.ChannelID, packageType sdk.CrossChainPackageType, packageLoad []byte, relayerFee *big.Int, ackRelayerFee *big.Int, ) (uint64, error) RegisterChannel(name string, id sdk.ChannelID, app sdk.CrossChainApplication) error }
type CrossChainPackage ¶ added in v0.0.9
func DeserializeRawCrossChainPackage ¶ added in v0.0.9
func DeserializeRawCrossChainPackage(serializedPackage []byte) (*CrossChainPackage, error)
func (CrossChainPackage) MustSerialize ¶ added in v0.0.9
func (p CrossChainPackage) MustSerialize() []byte
type DeleteBucketAckPackage ¶ added in v0.0.9
func (DeleteBucketAckPackage) MustSerialize ¶ added in v0.0.9
func (p DeleteBucketAckPackage) MustSerialize() []byte
type DeleteBucketSynPackage ¶ added in v0.0.9
type DeleteBucketSynPackage struct { Operator sdk.AccAddress Id *big.Int ExtraData []byte }
func (DeleteBucketSynPackage) ValidateBasic ¶ added in v0.0.9
func (p DeleteBucketSynPackage) ValidateBasic() error
type DeleteGroupAckPackage ¶ added in v0.0.9
func (DeleteGroupAckPackage) MustSerialize ¶ added in v0.0.9
func (p DeleteGroupAckPackage) MustSerialize() []byte
type DeleteGroupSynPackage ¶ added in v0.0.9
type DeleteGroupSynPackage struct { Operator sdk.AccAddress Id *big.Int ExtraData []byte }
func (DeleteGroupSynPackage) ValidateBasic ¶ added in v0.0.9
func (p DeleteGroupSynPackage) ValidateBasic() error
type DeleteObjectAckPackage ¶ added in v0.0.9
func (DeleteObjectAckPackage) MustSerialize ¶ added in v0.0.9
func (p DeleteObjectAckPackage) MustSerialize() []byte
type DeleteObjectSynPackage ¶ added in v0.0.9
type DeleteObjectSynPackage struct { Operator sdk.AccAddress Id *big.Int ExtraData []byte }
func (DeleteObjectSynPackage) ValidateBasic ¶ added in v0.0.9
func (p DeleteObjectSynPackage) ValidateBasic() error
type DeserializeFunc ¶ added in v0.0.9
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 ObjectId Uint `protobuf:"bytes,6,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_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"` // visibility defines the highest permissions for bucket. When a bucket is public, everyone can get the object under it. Visibility VisibilityType `protobuf:"varint,3,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,omitempty"` // create_at define the block timestamp when the bucket has been created CreateAt int64 `protobuf:"varint,4,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // bucket_id is the unique u256 for bucket. Not global, only unique in buckets. BucketId Uint `protobuf:"bytes,5,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_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 charged traffic quota for read, not include free quota which provided by each storage provider ChargedReadQuota uint64 `protobuf:"varint,7,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"` // 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) GetChargedReadQuota ¶ added in v0.0.10
func (m *EventCreateBucket) GetChargedReadQuota() uint64
func (*EventCreateBucket) GetCreateAt ¶ added in v0.0.6
func (m *EventCreateBucket) GetCreateAt() int64
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) GetSourceType ¶ added in v0.0.6
func (m *EventCreateBucket) GetSourceType() SourceType
func (*EventCreateBucket) GetVisibility ¶ added in v0.0.10
func (m *EventCreateBucket) GetVisibility() VisibilityType
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 GroupId Uint `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_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"` // bucket_id define an u256 id for object BucketId Uint `protobuf:"bytes,6,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // object_id define an u256 id for object ObjectId Uint `protobuf:"bytes,7,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"` // primary_sp_address define the account address of primary sp PrimarySpAddress string `protobuf:"bytes,8,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,9,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // visibility defines the highest permission of object. Visibility VisibilityType `protobuf:"varint,10,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,omitempty"` // content_type define the content type of the payload data ContentType string `protobuf:"bytes,11,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // create_at define the block timestamp when the object created CreateAt int64 `protobuf:"varint,12,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,13,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,16,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) 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) GetVisibility ¶ added in v0.0.10
func (m *EventCreateObject) GetVisibility() VisibilityType
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"` // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_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 GroupId Uint `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_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 ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_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 GroupId Uint `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_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 EventMirrorBucket ¶ added in v0.0.9
type EventMirrorBucket struct { // operator_address define the account address of operator who mirror the bucket OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name defines the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` }
EventMirrorBucket is emitted on MirrorBucket
func (*EventMirrorBucket) Descriptor ¶ added in v0.0.9
func (*EventMirrorBucket) Descriptor() ([]byte, []int)
func (*EventMirrorBucket) GetBucketName ¶ added in v0.0.9
func (m *EventMirrorBucket) GetBucketName() string
func (*EventMirrorBucket) GetOperatorAddress ¶ added in v0.0.9
func (m *EventMirrorBucket) GetOperatorAddress() string
func (*EventMirrorBucket) Marshal ¶ added in v0.0.9
func (m *EventMirrorBucket) Marshal() (dAtA []byte, err error)
func (*EventMirrorBucket) MarshalTo ¶ added in v0.0.9
func (m *EventMirrorBucket) MarshalTo(dAtA []byte) (int, error)
func (*EventMirrorBucket) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *EventMirrorBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMirrorBucket) ProtoMessage ¶ added in v0.0.9
func (*EventMirrorBucket) ProtoMessage()
func (*EventMirrorBucket) Reset ¶ added in v0.0.9
func (m *EventMirrorBucket) Reset()
func (*EventMirrorBucket) Size ¶ added in v0.0.9
func (m *EventMirrorBucket) Size() (n int)
func (*EventMirrorBucket) String ¶ added in v0.0.9
func (m *EventMirrorBucket) String() string
func (*EventMirrorBucket) Unmarshal ¶ added in v0.0.9
func (m *EventMirrorBucket) Unmarshal(dAtA []byte) error
func (*EventMirrorBucket) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *EventMirrorBucket) XXX_DiscardUnknown()
func (*EventMirrorBucket) XXX_Marshal ¶ added in v0.0.9
func (m *EventMirrorBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMirrorBucket) XXX_Merge ¶ added in v0.0.9
func (m *EventMirrorBucket) XXX_Merge(src proto.Message)
func (*EventMirrorBucket) XXX_Size ¶ added in v0.0.9
func (m *EventMirrorBucket) XXX_Size() int
func (*EventMirrorBucket) XXX_Unmarshal ¶ added in v0.0.9
func (m *EventMirrorBucket) XXX_Unmarshal(b []byte) error
type EventMirrorBucketResult ¶ added in v0.0.9
type EventMirrorBucketResult struct { // status define the status of the result Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // bucket_name defines the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` }
EventMirrorBucketResult is emitted on receiving ack package from destination chain
func (*EventMirrorBucketResult) Descriptor ¶ added in v0.0.9
func (*EventMirrorBucketResult) Descriptor() ([]byte, []int)
func (*EventMirrorBucketResult) GetBucketName ¶ added in v0.0.9
func (m *EventMirrorBucketResult) GetBucketName() string
func (*EventMirrorBucketResult) GetStatus ¶ added in v0.0.9
func (m *EventMirrorBucketResult) GetStatus() uint32
func (*EventMirrorBucketResult) Marshal ¶ added in v0.0.9
func (m *EventMirrorBucketResult) Marshal() (dAtA []byte, err error)
func (*EventMirrorBucketResult) MarshalTo ¶ added in v0.0.9
func (m *EventMirrorBucketResult) MarshalTo(dAtA []byte) (int, error)
func (*EventMirrorBucketResult) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *EventMirrorBucketResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMirrorBucketResult) ProtoMessage ¶ added in v0.0.9
func (*EventMirrorBucketResult) ProtoMessage()
func (*EventMirrorBucketResult) Reset ¶ added in v0.0.9
func (m *EventMirrorBucketResult) Reset()
func (*EventMirrorBucketResult) Size ¶ added in v0.0.9
func (m *EventMirrorBucketResult) Size() (n int)
func (*EventMirrorBucketResult) String ¶ added in v0.0.9
func (m *EventMirrorBucketResult) String() string
func (*EventMirrorBucketResult) Unmarshal ¶ added in v0.0.9
func (m *EventMirrorBucketResult) Unmarshal(dAtA []byte) error
func (*EventMirrorBucketResult) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *EventMirrorBucketResult) XXX_DiscardUnknown()
func (*EventMirrorBucketResult) XXX_Marshal ¶ added in v0.0.9
func (m *EventMirrorBucketResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMirrorBucketResult) XXX_Merge ¶ added in v0.0.9
func (m *EventMirrorBucketResult) XXX_Merge(src proto.Message)
func (*EventMirrorBucketResult) XXX_Size ¶ added in v0.0.9
func (m *EventMirrorBucketResult) XXX_Size() int
func (*EventMirrorBucketResult) XXX_Unmarshal ¶ added in v0.0.9
func (m *EventMirrorBucketResult) XXX_Unmarshal(b []byte) error
type EventMirrorGroup ¶ added in v0.0.9
type EventMirrorGroup 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"` // group_id define an u256 id for group GroupId Uint `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"` }
EventMirrorGroup is emitted on MirrorGroup
func (*EventMirrorGroup) Descriptor ¶ added in v0.0.9
func (*EventMirrorGroup) Descriptor() ([]byte, []int)
func (*EventMirrorGroup) GetGroupName ¶ added in v0.0.9
func (m *EventMirrorGroup) GetGroupName() string
func (*EventMirrorGroup) GetOwnerAddress ¶ added in v0.0.9
func (m *EventMirrorGroup) GetOwnerAddress() string
func (*EventMirrorGroup) Marshal ¶ added in v0.0.9
func (m *EventMirrorGroup) Marshal() (dAtA []byte, err error)
func (*EventMirrorGroup) MarshalTo ¶ added in v0.0.9
func (m *EventMirrorGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventMirrorGroup) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *EventMirrorGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMirrorGroup) ProtoMessage ¶ added in v0.0.9
func (*EventMirrorGroup) ProtoMessage()
func (*EventMirrorGroup) Reset ¶ added in v0.0.9
func (m *EventMirrorGroup) Reset()
func (*EventMirrorGroup) Size ¶ added in v0.0.9
func (m *EventMirrorGroup) Size() (n int)
func (*EventMirrorGroup) String ¶ added in v0.0.9
func (m *EventMirrorGroup) String() string
func (*EventMirrorGroup) Unmarshal ¶ added in v0.0.9
func (m *EventMirrorGroup) Unmarshal(dAtA []byte) error
func (*EventMirrorGroup) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *EventMirrorGroup) XXX_DiscardUnknown()
func (*EventMirrorGroup) XXX_Marshal ¶ added in v0.0.9
func (m *EventMirrorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMirrorGroup) XXX_Merge ¶ added in v0.0.9
func (m *EventMirrorGroup) XXX_Merge(src proto.Message)
func (*EventMirrorGroup) XXX_Size ¶ added in v0.0.9
func (m *EventMirrorGroup) XXX_Size() int
func (*EventMirrorGroup) XXX_Unmarshal ¶ added in v0.0.9
func (m *EventMirrorGroup) XXX_Unmarshal(b []byte) error
type EventMirrorGroupResult ¶ added in v0.0.9
type EventMirrorGroupResult struct { // status define the status of the result Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,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"` // group_id define an u256 id for group GroupId Uint `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"` }
EventMirrorGroupResult is emitted on receiving ack package from destination chain
func (*EventMirrorGroupResult) Descriptor ¶ added in v0.0.9
func (*EventMirrorGroupResult) Descriptor() ([]byte, []int)
func (*EventMirrorGroupResult) GetGroupName ¶ added in v0.0.9
func (m *EventMirrorGroupResult) GetGroupName() string
func (*EventMirrorGroupResult) GetStatus ¶ added in v0.0.9
func (m *EventMirrorGroupResult) GetStatus() uint32
func (*EventMirrorGroupResult) Marshal ¶ added in v0.0.9
func (m *EventMirrorGroupResult) Marshal() (dAtA []byte, err error)
func (*EventMirrorGroupResult) MarshalTo ¶ added in v0.0.9
func (m *EventMirrorGroupResult) MarshalTo(dAtA []byte) (int, error)
func (*EventMirrorGroupResult) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *EventMirrorGroupResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMirrorGroupResult) ProtoMessage ¶ added in v0.0.9
func (*EventMirrorGroupResult) ProtoMessage()
func (*EventMirrorGroupResult) Reset ¶ added in v0.0.9
func (m *EventMirrorGroupResult) Reset()
func (*EventMirrorGroupResult) Size ¶ added in v0.0.9
func (m *EventMirrorGroupResult) Size() (n int)
func (*EventMirrorGroupResult) String ¶ added in v0.0.9
func (m *EventMirrorGroupResult) String() string
func (*EventMirrorGroupResult) Unmarshal ¶ added in v0.0.9
func (m *EventMirrorGroupResult) Unmarshal(dAtA []byte) error
func (*EventMirrorGroupResult) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *EventMirrorGroupResult) XXX_DiscardUnknown()
func (*EventMirrorGroupResult) XXX_Marshal ¶ added in v0.0.9
func (m *EventMirrorGroupResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMirrorGroupResult) XXX_Merge ¶ added in v0.0.9
func (m *EventMirrorGroupResult) XXX_Merge(src proto.Message)
func (*EventMirrorGroupResult) XXX_Size ¶ added in v0.0.9
func (m *EventMirrorGroupResult) XXX_Size() int
func (*EventMirrorGroupResult) XXX_Unmarshal ¶ added in v0.0.9
func (m *EventMirrorGroupResult) XXX_Unmarshal(b []byte) error
type EventMirrorObject ¶ added in v0.0.9
type EventMirrorObject 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"` // object_id define an u256 id for object ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"` }
EventMirrorObject is emitted on MirrorObject
func (*EventMirrorObject) Descriptor ¶ added in v0.0.9
func (*EventMirrorObject) Descriptor() ([]byte, []int)
func (*EventMirrorObject) GetBucketName ¶ added in v0.0.9
func (m *EventMirrorObject) GetBucketName() string
func (*EventMirrorObject) GetObjectName ¶ added in v0.0.9
func (m *EventMirrorObject) GetObjectName() string
func (*EventMirrorObject) GetOperatorAddress ¶ added in v0.0.9
func (m *EventMirrorObject) GetOperatorAddress() string
func (*EventMirrorObject) Marshal ¶ added in v0.0.9
func (m *EventMirrorObject) Marshal() (dAtA []byte, err error)
func (*EventMirrorObject) MarshalTo ¶ added in v0.0.9
func (m *EventMirrorObject) MarshalTo(dAtA []byte) (int, error)
func (*EventMirrorObject) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *EventMirrorObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMirrorObject) ProtoMessage ¶ added in v0.0.9
func (*EventMirrorObject) ProtoMessage()
func (*EventMirrorObject) Reset ¶ added in v0.0.9
func (m *EventMirrorObject) Reset()
func (*EventMirrorObject) Size ¶ added in v0.0.9
func (m *EventMirrorObject) Size() (n int)
func (*EventMirrorObject) String ¶ added in v0.0.9
func (m *EventMirrorObject) String() string
func (*EventMirrorObject) Unmarshal ¶ added in v0.0.9
func (m *EventMirrorObject) Unmarshal(dAtA []byte) error
func (*EventMirrorObject) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *EventMirrorObject) XXX_DiscardUnknown()
func (*EventMirrorObject) XXX_Marshal ¶ added in v0.0.9
func (m *EventMirrorObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMirrorObject) XXX_Merge ¶ added in v0.0.9
func (m *EventMirrorObject) XXX_Merge(src proto.Message)
func (*EventMirrorObject) XXX_Size ¶ added in v0.0.9
func (m *EventMirrorObject) XXX_Size() int
func (*EventMirrorObject) XXX_Unmarshal ¶ added in v0.0.9
func (m *EventMirrorObject) XXX_Unmarshal(b []byte) error
type EventMirrorObjectResult ¶ added in v0.0.9
type EventMirrorObjectResult struct { // status define the status of the result Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,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"` // object_id define an u256 id for object ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"` }
EventMirrorObjectResult is emitted on receiving ack package from destination chain
func (*EventMirrorObjectResult) Descriptor ¶ added in v0.0.9
func (*EventMirrorObjectResult) Descriptor() ([]byte, []int)
func (*EventMirrorObjectResult) GetBucketName ¶ added in v0.0.9
func (m *EventMirrorObjectResult) GetBucketName() string
func (*EventMirrorObjectResult) GetObjectName ¶ added in v0.0.9
func (m *EventMirrorObjectResult) GetObjectName() string
func (*EventMirrorObjectResult) GetStatus ¶ added in v0.0.9
func (m *EventMirrorObjectResult) GetStatus() uint32
func (*EventMirrorObjectResult) Marshal ¶ added in v0.0.9
func (m *EventMirrorObjectResult) Marshal() (dAtA []byte, err error)
func (*EventMirrorObjectResult) MarshalTo ¶ added in v0.0.9
func (m *EventMirrorObjectResult) MarshalTo(dAtA []byte) (int, error)
func (*EventMirrorObjectResult) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *EventMirrorObjectResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMirrorObjectResult) ProtoMessage ¶ added in v0.0.9
func (*EventMirrorObjectResult) ProtoMessage()
func (*EventMirrorObjectResult) Reset ¶ added in v0.0.9
func (m *EventMirrorObjectResult) Reset()
func (*EventMirrorObjectResult) Size ¶ added in v0.0.9
func (m *EventMirrorObjectResult) Size() (n int)
func (*EventMirrorObjectResult) String ¶ added in v0.0.9
func (m *EventMirrorObjectResult) String() string
func (*EventMirrorObjectResult) Unmarshal ¶ added in v0.0.9
func (m *EventMirrorObjectResult) Unmarshal(dAtA []byte) error
func (*EventMirrorObjectResult) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *EventMirrorObjectResult) XXX_DiscardUnknown()
func (*EventMirrorObjectResult) XXX_Marshal ¶ added in v0.0.9
func (m *EventMirrorObjectResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMirrorObjectResult) XXX_Merge ¶ added in v0.0.9
func (m *EventMirrorObjectResult) XXX_Merge(src proto.Message)
func (*EventMirrorObjectResult) XXX_Size ¶ added in v0.0.9
func (m *EventMirrorObjectResult) XXX_Size() int
func (*EventMirrorObjectResult) XXX_Unmarshal ¶ added in v0.0.9
func (m *EventMirrorObjectResult) 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 ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_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 ObjectId Uint `protobuf:"bytes,5,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_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 SecondarySpAddresses []string `protobuf:"bytes,7,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,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) GetSecondarySpAddresses ¶ added in v0.0.9
func (m *EventSealObject) GetSecondarySpAddresses() []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"` // bucket_id define an u256 id for bucket BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` // charged_read_quota_before define the read quota before updated ChargedReadQuotaBefore uint64 `` /* 132-byte string literal not displayed */ // charged_read_quota_after define the read quota after updated ChargedReadQuotaAfter uint64 `` /* 129-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"` // visibility defines the highest permission of object. Visibility VisibilityType `protobuf:"varint,8,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,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) GetChargedReadQuotaAfter ¶ added in v0.0.10
func (m *EventUpdateBucketInfo) GetChargedReadQuotaAfter() uint64
func (*EventUpdateBucketInfo) GetChargedReadQuotaBefore ¶ added in v0.0.10
func (m *EventUpdateBucketInfo) GetChargedReadQuotaBefore() uint64
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) GetVisibility ¶ added in v0.0.10
func (m *EventUpdateBucketInfo) GetVisibility() VisibilityType
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 GroupId Uint `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_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) ToNFTMetadata ¶ added in v0.0.7
func (m *GroupInfo) ToNFTMetadata() *GroupMetaData
func (*GroupInfo) XXX_DiscardUnknown ¶
func (m *GroupInfo) XXX_DiscardUnknown()
func (*GroupInfo) XXX_Marshal ¶
func (*GroupInfo) XXX_Unmarshal ¶
type GroupMetaData ¶ added in v0.0.7
type GroupMetaData struct { // description Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // externalUrl a link to external site to view NFT ExternalUrl string `protobuf:"bytes,2,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"` // name of group NFT GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // image is the link to image Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // attributes Attributes []Trait `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes"` }
func (*GroupMetaData) Descriptor ¶ added in v0.0.7
func (*GroupMetaData) Descriptor() ([]byte, []int)
func (*GroupMetaData) GetAttributes ¶ added in v0.0.7
func (m *GroupMetaData) GetAttributes() []Trait
func (*GroupMetaData) GetDescription ¶ added in v0.0.7
func (m *GroupMetaData) GetDescription() string
func (*GroupMetaData) GetExternalUrl ¶ added in v0.0.7
func (m *GroupMetaData) GetExternalUrl() string
func (*GroupMetaData) GetGroupName ¶ added in v0.0.7
func (m *GroupMetaData) GetGroupName() string
func (*GroupMetaData) GetImage ¶ added in v0.0.7
func (m *GroupMetaData) GetImage() string
func (*GroupMetaData) Marshal ¶ added in v0.0.7
func (m *GroupMetaData) Marshal() (dAtA []byte, err error)
func (*GroupMetaData) MarshalTo ¶ added in v0.0.7
func (m *GroupMetaData) MarshalTo(dAtA []byte) (int, error)
func (*GroupMetaData) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *GroupMetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupMetaData) ProtoMessage ¶ added in v0.0.7
func (*GroupMetaData) ProtoMessage()
func (*GroupMetaData) Reset ¶ added in v0.0.7
func (m *GroupMetaData) Reset()
func (*GroupMetaData) Size ¶ added in v0.0.7
func (m *GroupMetaData) Size() (n int)
func (*GroupMetaData) String ¶ added in v0.0.7
func (m *GroupMetaData) String() string
func (*GroupMetaData) Unmarshal ¶ added in v0.0.7
func (m *GroupMetaData) Unmarshal(dAtA []byte) error
func (*GroupMetaData) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *GroupMetaData) XXX_DiscardUnknown()
func (*GroupMetaData) XXX_Marshal ¶ added in v0.0.7
func (m *GroupMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupMetaData) XXX_Merge ¶ added in v0.0.7
func (m *GroupMetaData) XXX_Merge(src proto.Message)
func (*GroupMetaData) XXX_Size ¶ added in v0.0.7
func (m *GroupMetaData) XXX_Size() int
func (*GroupMetaData) XXX_Unmarshal ¶ added in v0.0.7
func (m *GroupMetaData) XXX_Unmarshal(b []byte) error
type MirrorBucketAckPackage ¶ added in v0.0.9
type MirrorBucketSynPackage ¶ added in v0.0.9
type MirrorBucketSynPackage struct { Id *big.Int Owner sdk.AccAddress }
type MirrorGroupAckPackage ¶ added in v0.0.9
type MirrorGroupSynPackage ¶ added in v0.0.9
type MirrorGroupSynPackage struct { Id *big.Int Owner sdk.AccAddress }
type MirrorObjectAckPackage ¶ added in v0.0.9
type MirrorObjectSynPackage ¶ added in v0.0.9
type MirrorObjectSynPackage struct { Id *big.Int Owner sdk.AccAddress }
type MsgCancelCreateObject ¶ added in v0.0.6
type MsgCancelCreateObject struct { // operator defines the account address of the operator Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name defines the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name defines 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 { // basic operation of bucket CreateBucket(ctx context.Context, in *MsgCreateBucket, opts ...grpc.CallOption) (*MsgCreateBucketResponse, error) DeleteBucket(ctx context.Context, in *MsgDeleteBucket, opts ...grpc.CallOption) (*MsgDeleteBucketResponse, error) UpdateBucketInfo(ctx context.Context, in *MsgUpdateBucketInfo, opts ...grpc.CallOption) (*MsgUpdateBucketInfoResponse, error) MirrorBucket(ctx context.Context, in *MsgMirrorBucket, opts ...grpc.CallOption) (*MsgMirrorBucketResponse, error) // basic operation of object 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) CopyObject(ctx context.Context, in *MsgCopyObject, opts ...grpc.CallOption) (*MsgCopyObjectResponse, error) DeleteObject(ctx context.Context, in *MsgDeleteObject, opts ...grpc.CallOption) (*MsgDeleteObjectResponse, error) CancelCreateObject(ctx context.Context, in *MsgCancelCreateObject, opts ...grpc.CallOption) (*MsgCancelCreateObjectResponse, error) MirrorObject(ctx context.Context, in *MsgMirrorObject, opts ...grpc.CallOption) (*MsgMirrorObjectResponse, error) // basic operation of group 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) MirrorGroup(ctx context.Context, in *MsgMirrorGroup, opts ...grpc.CallOption) (*MsgMirrorGroupResponse, error) // basic operation of policy PutPolicy(ctx context.Context, in *MsgPutPolicy, opts ...grpc.CallOption) (*MsgPutPolicyResponse, error) DeletePolicy(ctx context.Context, in *MsgDeletePolicy, opts ...grpc.CallOption) (*MsgDeletePolicyResponse, 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 defines 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 defines 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 defines 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 defines 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 defines 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 defines 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 {
ObjectId Uint `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}
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 defines 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 defines a globally unique name of bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // visibility means the bucket is private or public. if private, only bucket owner or grantee can read it, // otherwise every greenfield user can read it. Visibility VisibilityType `protobuf:"varint,3,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,omitempty"` // payment_address defines 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 defines 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 defines 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"` // charged_read_quota defines the read data that users are charged for, measured in bytes. // The available read data for each user is the sum of the free read data provided by SP and // the ChargeReadQuota specified here. ChargedReadQuota uint64 `protobuf:"varint,8,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"` }
func NewMsgCreateBucket ¶
func NewMsgCreateBucket( creator sdk.AccAddress, bucketName string, Visibility VisibilityType, primarySPAddress sdk.AccAddress, paymentAddress sdk.AccAddress, timeoutHeight uint64, sig []byte, chargedReadQuota uint64) *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) GetChargedReadQuota ¶ added in v0.0.10
func (m *MsgCreateBucket) GetChargedReadQuota() uint64
func (*MsgCreateBucket) GetCreator ¶
func (m *MsgCreateBucket) GetCreator() string
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) 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) GetVisibility ¶ added in v0.0.10
func (m *MsgCreateBucket) GetVisibility() VisibilityType
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 {
BucketId Uint `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
}
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 defines the account address of group owner who create the group Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // group_name defines 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 defines 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 {
GroupId Uint `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
}
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 defines the account address of object uploader Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // bucket_name defines 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 defines the name of object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // payload_size defines size of the object's payload PayloadSize uint64 `protobuf:"varint,4,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // visibility means the object is private or public. if private, only object owner or grantee can access it, // otherwise every greenfield user can access it. Visibility VisibilityType `protobuf:"varint,5,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,omitempty"` // content_type defines 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 defines 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 defines 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"` // redundancy_type can be ec or replica RedundancyType RedundancyType `` /* 152-byte string literal not displayed */ // expect_secondarySPs defines a list of StorageProvider address, which is optional ExpectSecondarySpAddresses []string `` /* 144-byte string literal not displayed */ }
func NewMsgCreateObject ¶
func NewMsgCreateObject( creator sdk.AccAddress, bucketName string, objectName string, payloadSize uint64, Visibility VisibilityType, expectChecksums [][]byte, contentType string, redundancyType RedundancyType, 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) 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) GetRedundancyType ¶ added in v0.0.7
func (m *MsgCreateObject) GetRedundancyType() RedundancyType
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) GetVisibility ¶ added in v0.0.10
func (m *MsgCreateObject) GetVisibility() VisibilityType
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 {
ObjectId Uint `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}
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 defines 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 defines 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 defines 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 defines 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 defines 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 defines 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 defines 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 MsgDeletePolicy ¶ added in v0.0.7
type MsgDeletePolicy struct { // operator defines the granter who grant the permission to another principal Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // Principal defines the roles that can grant permissions. Currently, it can be account or group. Principal *types.Principal `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` // resource defines a greenfield standard resource name that can be generated by GRN structure Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` }
func NewMsgDeletePolicy ¶ added in v0.0.7
func NewMsgDeletePolicy(operator sdk.AccAddress, resource string, principal *permtypes.Principal) *MsgDeletePolicy
func (*MsgDeletePolicy) Descriptor ¶ added in v0.0.7
func (*MsgDeletePolicy) Descriptor() ([]byte, []int)
func (*MsgDeletePolicy) GetOperator ¶ added in v0.0.7
func (m *MsgDeletePolicy) GetOperator() string
func (*MsgDeletePolicy) GetPrincipal ¶ added in v0.0.7
func (m *MsgDeletePolicy) GetPrincipal() *types.Principal
func (*MsgDeletePolicy) GetResource ¶ added in v0.0.7
func (m *MsgDeletePolicy) GetResource() string
func (*MsgDeletePolicy) GetSignBytes ¶ added in v0.0.7
func (msg *MsgDeletePolicy) GetSignBytes() []byte
func (*MsgDeletePolicy) GetSigners ¶ added in v0.0.7
func (msg *MsgDeletePolicy) GetSigners() []sdk.AccAddress
func (*MsgDeletePolicy) Marshal ¶ added in v0.0.7
func (m *MsgDeletePolicy) Marshal() (dAtA []byte, err error)
func (*MsgDeletePolicy) MarshalTo ¶ added in v0.0.7
func (m *MsgDeletePolicy) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeletePolicy) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *MsgDeletePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeletePolicy) ProtoMessage ¶ added in v0.0.7
func (*MsgDeletePolicy) ProtoMessage()
func (*MsgDeletePolicy) Reset ¶ added in v0.0.7
func (m *MsgDeletePolicy) Reset()
func (*MsgDeletePolicy) Route ¶ added in v0.0.7
func (msg *MsgDeletePolicy) Route() string
func (*MsgDeletePolicy) Size ¶ added in v0.0.7
func (m *MsgDeletePolicy) Size() (n int)
func (*MsgDeletePolicy) String ¶ added in v0.0.7
func (m *MsgDeletePolicy) String() string
func (*MsgDeletePolicy) Type ¶ added in v0.0.7
func (msg *MsgDeletePolicy) Type() string
func (*MsgDeletePolicy) Unmarshal ¶ added in v0.0.7
func (m *MsgDeletePolicy) Unmarshal(dAtA []byte) error
func (*MsgDeletePolicy) ValidateBasic ¶ added in v0.0.7
func (msg *MsgDeletePolicy) ValidateBasic() error
func (*MsgDeletePolicy) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *MsgDeletePolicy) XXX_DiscardUnknown()
func (*MsgDeletePolicy) XXX_Marshal ¶ added in v0.0.7
func (m *MsgDeletePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeletePolicy) XXX_Merge ¶ added in v0.0.7
func (m *MsgDeletePolicy) XXX_Merge(src proto.Message)
func (*MsgDeletePolicy) XXX_Size ¶ added in v0.0.7
func (m *MsgDeletePolicy) XXX_Size() int
func (*MsgDeletePolicy) XXX_Unmarshal ¶ added in v0.0.7
func (m *MsgDeletePolicy) XXX_Unmarshal(b []byte) error
type MsgDeletePolicyResponse ¶ added in v0.0.7
type MsgDeletePolicyResponse struct {
PolicyId Uint `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3,customtype=Uint" json:"policy_id"`
}
func (*MsgDeletePolicyResponse) Descriptor ¶ added in v0.0.7
func (*MsgDeletePolicyResponse) Descriptor() ([]byte, []int)
func (*MsgDeletePolicyResponse) Marshal ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeletePolicyResponse) MarshalTo ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeletePolicyResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeletePolicyResponse) ProtoMessage ¶ added in v0.0.7
func (*MsgDeletePolicyResponse) ProtoMessage()
func (*MsgDeletePolicyResponse) Reset ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) Reset()
func (*MsgDeletePolicyResponse) Size ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) Size() (n int)
func (*MsgDeletePolicyResponse) String ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) String() string
func (*MsgDeletePolicyResponse) Unmarshal ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) Unmarshal(dAtA []byte) error
func (*MsgDeletePolicyResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) XXX_DiscardUnknown()
func (*MsgDeletePolicyResponse) XXX_Marshal ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeletePolicyResponse) XXX_Merge ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) XXX_Merge(src proto.Message)
func (*MsgDeletePolicyResponse) XXX_Size ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) XXX_Size() int
func (*MsgDeletePolicyResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *MsgDeletePolicyResponse) XXX_Unmarshal(b []byte) error
type MsgLeaveGroup ¶
type MsgLeaveGroup struct { // member defines 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 defines 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 defines 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 MsgMirrorBucket ¶ added in v0.0.9
type MsgMirrorBucket struct { // creator defines 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"` // id defines the unique u256 for bucket. Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"` }
func NewMsgMirrorBucket ¶ added in v0.0.9
func NewMsgMirrorBucket(operator sdk.AccAddress, id Uint) *MsgMirrorBucket
NewMsgMirrorBucket creates a new MsgMirrorBucket instance
func (*MsgMirrorBucket) Descriptor ¶ added in v0.0.9
func (*MsgMirrorBucket) Descriptor() ([]byte, []int)
func (*MsgMirrorBucket) GetOperator ¶ added in v0.0.9
func (m *MsgMirrorBucket) GetOperator() string
func (*MsgMirrorBucket) GetSignBytes ¶ added in v0.0.9
func (msg *MsgMirrorBucket) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (*MsgMirrorBucket) GetSigners ¶ added in v0.0.9
func (msg *MsgMirrorBucket) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgMirrorBucket) Marshal ¶ added in v0.0.9
func (m *MsgMirrorBucket) Marshal() (dAtA []byte, err error)
func (*MsgMirrorBucket) MarshalTo ¶ added in v0.0.9
func (m *MsgMirrorBucket) MarshalTo(dAtA []byte) (int, error)
func (*MsgMirrorBucket) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgMirrorBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMirrorBucket) ProtoMessage ¶ added in v0.0.9
func (*MsgMirrorBucket) ProtoMessage()
func (*MsgMirrorBucket) Reset ¶ added in v0.0.9
func (m *MsgMirrorBucket) Reset()
func (*MsgMirrorBucket) Route ¶ added in v0.0.9
func (msg *MsgMirrorBucket) Route() string
Route implements the sdk.Msg interface.
func (*MsgMirrorBucket) Size ¶ added in v0.0.9
func (m *MsgMirrorBucket) Size() (n int)
func (*MsgMirrorBucket) String ¶ added in v0.0.9
func (m *MsgMirrorBucket) String() string
func (*MsgMirrorBucket) Type ¶ added in v0.0.9
func (msg *MsgMirrorBucket) Type() string
Type implements the sdk.Msg interface.
func (*MsgMirrorBucket) Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorBucket) Unmarshal(dAtA []byte) error
func (*MsgMirrorBucket) ValidateBasic ¶ added in v0.0.9
func (msg *MsgMirrorBucket) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgMirrorBucket) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgMirrorBucket) XXX_DiscardUnknown()
func (*MsgMirrorBucket) XXX_Marshal ¶ added in v0.0.9
func (m *MsgMirrorBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMirrorBucket) XXX_Merge ¶ added in v0.0.9
func (m *MsgMirrorBucket) XXX_Merge(src proto.Message)
func (*MsgMirrorBucket) XXX_Size ¶ added in v0.0.9
func (m *MsgMirrorBucket) XXX_Size() int
func (*MsgMirrorBucket) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorBucket) XXX_Unmarshal(b []byte) error
type MsgMirrorBucketResponse ¶ added in v0.0.9
type MsgMirrorBucketResponse struct { }
func (*MsgMirrorBucketResponse) Descriptor ¶ added in v0.0.9
func (*MsgMirrorBucketResponse) Descriptor() ([]byte, []int)
func (*MsgMirrorBucketResponse) Marshal ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgMirrorBucketResponse) MarshalTo ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMirrorBucketResponse) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMirrorBucketResponse) ProtoMessage ¶ added in v0.0.9
func (*MsgMirrorBucketResponse) ProtoMessage()
func (*MsgMirrorBucketResponse) Reset ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) Reset()
func (*MsgMirrorBucketResponse) Size ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) Size() (n int)
func (*MsgMirrorBucketResponse) String ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) String() string
func (*MsgMirrorBucketResponse) Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgMirrorBucketResponse) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) XXX_DiscardUnknown()
func (*MsgMirrorBucketResponse) XXX_Marshal ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMirrorBucketResponse) XXX_Merge ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) XXX_Merge(src proto.Message)
func (*MsgMirrorBucketResponse) XXX_Size ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) XXX_Size() int
func (*MsgMirrorBucketResponse) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorBucketResponse) XXX_Unmarshal(b []byte) error
type MsgMirrorGroup ¶ added in v0.0.9
type MsgMirrorGroup struct { // operator defines 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"` // id defines the unique u256 for group. Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"` }
func NewMsgMirrorGroup ¶ added in v0.0.9
func NewMsgMirrorGroup(operator sdk.AccAddress, id Uint) *MsgMirrorGroup
NewMsgMirrorGroup creates a new MsgMirrorGroup instance
func (*MsgMirrorGroup) Descriptor ¶ added in v0.0.9
func (*MsgMirrorGroup) Descriptor() ([]byte, []int)
func (*MsgMirrorGroup) GetOperator ¶ added in v0.0.9
func (m *MsgMirrorGroup) GetOperator() string
func (*MsgMirrorGroup) GetSignBytes ¶ added in v0.0.9
func (msg *MsgMirrorGroup) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgMirrorGroup) GetSigners ¶ added in v0.0.9
func (msg *MsgMirrorGroup) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgMirrorGroup) Marshal ¶ added in v0.0.9
func (m *MsgMirrorGroup) Marshal() (dAtA []byte, err error)
func (*MsgMirrorGroup) MarshalTo ¶ added in v0.0.9
func (m *MsgMirrorGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgMirrorGroup) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgMirrorGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMirrorGroup) ProtoMessage ¶ added in v0.0.9
func (*MsgMirrorGroup) ProtoMessage()
func (*MsgMirrorGroup) Reset ¶ added in v0.0.9
func (m *MsgMirrorGroup) Reset()
func (*MsgMirrorGroup) Route ¶ added in v0.0.9
func (msg *MsgMirrorGroup) Route() string
Route implements the sdk.Msg interface.
func (*MsgMirrorGroup) Size ¶ added in v0.0.9
func (m *MsgMirrorGroup) Size() (n int)
func (*MsgMirrorGroup) String ¶ added in v0.0.9
func (m *MsgMirrorGroup) String() string
func (*MsgMirrorGroup) Type ¶ added in v0.0.9
func (msg *MsgMirrorGroup) Type() string
Type implements the sdk.Msg interface.
func (*MsgMirrorGroup) Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorGroup) Unmarshal(dAtA []byte) error
func (*MsgMirrorGroup) ValidateBasic ¶ added in v0.0.9
func (msg *MsgMirrorGroup) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgMirrorGroup) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgMirrorGroup) XXX_DiscardUnknown()
func (*MsgMirrorGroup) XXX_Marshal ¶ added in v0.0.9
func (m *MsgMirrorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMirrorGroup) XXX_Merge ¶ added in v0.0.9
func (m *MsgMirrorGroup) XXX_Merge(src proto.Message)
func (*MsgMirrorGroup) XXX_Size ¶ added in v0.0.9
func (m *MsgMirrorGroup) XXX_Size() int
func (*MsgMirrorGroup) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorGroup) XXX_Unmarshal(b []byte) error
type MsgMirrorGroupResponse ¶ added in v0.0.9
type MsgMirrorGroupResponse struct { }
func (*MsgMirrorGroupResponse) Descriptor ¶ added in v0.0.9
func (*MsgMirrorGroupResponse) Descriptor() ([]byte, []int)
func (*MsgMirrorGroupResponse) Marshal ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgMirrorGroupResponse) MarshalTo ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMirrorGroupResponse) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMirrorGroupResponse) ProtoMessage ¶ added in v0.0.9
func (*MsgMirrorGroupResponse) ProtoMessage()
func (*MsgMirrorGroupResponse) Reset ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) Reset()
func (*MsgMirrorGroupResponse) Size ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) Size() (n int)
func (*MsgMirrorGroupResponse) String ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) String() string
func (*MsgMirrorGroupResponse) Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgMirrorGroupResponse) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) XXX_DiscardUnknown()
func (*MsgMirrorGroupResponse) XXX_Marshal ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMirrorGroupResponse) XXX_Merge ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) XXX_Merge(src proto.Message)
func (*MsgMirrorGroupResponse) XXX_Size ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) XXX_Size() int
func (*MsgMirrorGroupResponse) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorGroupResponse) XXX_Unmarshal(b []byte) error
type MsgMirrorObject ¶ added in v0.0.9
type MsgMirrorObject struct { // operator defines 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"` // id defines the unique u256 for object. Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"` }
func NewMsgMirrorObject ¶ added in v0.0.9
func NewMsgMirrorObject(operator sdk.AccAddress, id Uint) *MsgMirrorObject
NewMsgMirrorObject creates a new MsgMirrorObject instance
func (*MsgMirrorObject) Descriptor ¶ added in v0.0.9
func (*MsgMirrorObject) Descriptor() ([]byte, []int)
func (*MsgMirrorObject) GetOperator ¶ added in v0.0.9
func (m *MsgMirrorObject) GetOperator() string
func (*MsgMirrorObject) GetSignBytes ¶ added in v0.0.9
func (msg *MsgMirrorObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgMirrorObject) GetSigners ¶ added in v0.0.9
func (msg *MsgMirrorObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgMirrorObject) Marshal ¶ added in v0.0.9
func (m *MsgMirrorObject) Marshal() (dAtA []byte, err error)
func (*MsgMirrorObject) MarshalTo ¶ added in v0.0.9
func (m *MsgMirrorObject) MarshalTo(dAtA []byte) (int, error)
func (*MsgMirrorObject) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgMirrorObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMirrorObject) ProtoMessage ¶ added in v0.0.9
func (*MsgMirrorObject) ProtoMessage()
func (*MsgMirrorObject) Reset ¶ added in v0.0.9
func (m *MsgMirrorObject) Reset()
func (*MsgMirrorObject) Route ¶ added in v0.0.9
func (msg *MsgMirrorObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgMirrorObject) Size ¶ added in v0.0.9
func (m *MsgMirrorObject) Size() (n int)
func (*MsgMirrorObject) String ¶ added in v0.0.9
func (m *MsgMirrorObject) String() string
func (*MsgMirrorObject) Type ¶ added in v0.0.9
func (msg *MsgMirrorObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgMirrorObject) Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorObject) Unmarshal(dAtA []byte) error
func (*MsgMirrorObject) ValidateBasic ¶ added in v0.0.9
func (msg *MsgMirrorObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgMirrorObject) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgMirrorObject) XXX_DiscardUnknown()
func (*MsgMirrorObject) XXX_Marshal ¶ added in v0.0.9
func (m *MsgMirrorObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMirrorObject) XXX_Merge ¶ added in v0.0.9
func (m *MsgMirrorObject) XXX_Merge(src proto.Message)
func (*MsgMirrorObject) XXX_Size ¶ added in v0.0.9
func (m *MsgMirrorObject) XXX_Size() int
func (*MsgMirrorObject) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorObject) XXX_Unmarshal(b []byte) error
type MsgMirrorObjectResponse ¶ added in v0.0.9
type MsgMirrorObjectResponse struct { }
func (*MsgMirrorObjectResponse) Descriptor ¶ added in v0.0.9
func (*MsgMirrorObjectResponse) Descriptor() ([]byte, []int)
func (*MsgMirrorObjectResponse) Marshal ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgMirrorObjectResponse) MarshalTo ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMirrorObjectResponse) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMirrorObjectResponse) ProtoMessage ¶ added in v0.0.9
func (*MsgMirrorObjectResponse) ProtoMessage()
func (*MsgMirrorObjectResponse) Reset ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) Reset()
func (*MsgMirrorObjectResponse) Size ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) Size() (n int)
func (*MsgMirrorObjectResponse) String ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) String() string
func (*MsgMirrorObjectResponse) Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgMirrorObjectResponse) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) XXX_DiscardUnknown()
func (*MsgMirrorObjectResponse) XXX_Marshal ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMirrorObjectResponse) XXX_Merge ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) XXX_Merge(src proto.Message)
func (*MsgMirrorObjectResponse) XXX_Size ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) XXX_Size() int
func (*MsgMirrorObjectResponse) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgMirrorObjectResponse) XXX_Unmarshal(b []byte) error
type MsgPutPolicy ¶ added in v0.0.7
type MsgPutPolicy struct { // operator defines the granter who grant the permission to another principal Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // Principal defines the roles that can grant permissions. Currently, it can be account or group. Principal *types.Principal `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` // resource defines a greenfield standard resource name that can be generated by GRN structure Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // statements defines a list of individual statement which describe the detail rules of policy Statements []*types.Statement `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"` // expiration_time defines the whole expiration time of all the statements. // Notices: Its priority is higher than the expiration time inside the Statement ExpirationTime *time.Time `protobuf:"bytes,7,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"` }
func NewMsgPutPolicy ¶ added in v0.0.7
func NewMsgPutPolicy(operator sdk.AccAddress, resource string, principal *permtypes.Principal, statements []*permtypes.Statement, expirationTime *time.Time) *MsgPutPolicy
func (*MsgPutPolicy) Descriptor ¶ added in v0.0.7
func (*MsgPutPolicy) Descriptor() ([]byte, []int)
func (*MsgPutPolicy) GetExpirationTime ¶ added in v0.0.10
func (m *MsgPutPolicy) GetExpirationTime() *time.Time
func (*MsgPutPolicy) GetOperator ¶ added in v0.0.7
func (m *MsgPutPolicy) GetOperator() string
func (*MsgPutPolicy) GetPrincipal ¶ added in v0.0.7
func (m *MsgPutPolicy) GetPrincipal() *types.Principal
func (*MsgPutPolicy) GetResource ¶ added in v0.0.7
func (m *MsgPutPolicy) GetResource() string
func (*MsgPutPolicy) GetSignBytes ¶ added in v0.0.7
func (msg *MsgPutPolicy) GetSignBytes() []byte
func (*MsgPutPolicy) GetSigners ¶ added in v0.0.7
func (msg *MsgPutPolicy) GetSigners() []sdk.AccAddress
func (*MsgPutPolicy) GetStatements ¶ added in v0.0.7
func (m *MsgPutPolicy) GetStatements() []*types.Statement
func (*MsgPutPolicy) Marshal ¶ added in v0.0.7
func (m *MsgPutPolicy) Marshal() (dAtA []byte, err error)
func (*MsgPutPolicy) MarshalTo ¶ added in v0.0.7
func (m *MsgPutPolicy) MarshalTo(dAtA []byte) (int, error)
func (*MsgPutPolicy) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *MsgPutPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPutPolicy) ProtoMessage ¶ added in v0.0.7
func (*MsgPutPolicy) ProtoMessage()
func (*MsgPutPolicy) Reset ¶ added in v0.0.7
func (m *MsgPutPolicy) Reset()
func (*MsgPutPolicy) Route ¶ added in v0.0.7
func (msg *MsgPutPolicy) Route() string
func (*MsgPutPolicy) Size ¶ added in v0.0.7
func (m *MsgPutPolicy) Size() (n int)
func (*MsgPutPolicy) String ¶ added in v0.0.7
func (m *MsgPutPolicy) String() string
func (*MsgPutPolicy) Type ¶ added in v0.0.7
func (msg *MsgPutPolicy) Type() string
func (*MsgPutPolicy) Unmarshal ¶ added in v0.0.7
func (m *MsgPutPolicy) Unmarshal(dAtA []byte) error
func (*MsgPutPolicy) ValidateBasic ¶ added in v0.0.7
func (msg *MsgPutPolicy) ValidateBasic() error
func (*MsgPutPolicy) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *MsgPutPolicy) XXX_DiscardUnknown()
func (*MsgPutPolicy) XXX_Marshal ¶ added in v0.0.7
func (m *MsgPutPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPutPolicy) XXX_Merge ¶ added in v0.0.7
func (m *MsgPutPolicy) XXX_Merge(src proto.Message)
func (*MsgPutPolicy) XXX_Size ¶ added in v0.0.7
func (m *MsgPutPolicy) XXX_Size() int
func (*MsgPutPolicy) XXX_Unmarshal ¶ added in v0.0.7
func (m *MsgPutPolicy) XXX_Unmarshal(b []byte) error
type MsgPutPolicyResponse ¶ added in v0.0.7
type MsgPutPolicyResponse struct {
PolicyId Uint `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3,customtype=Uint" json:"policy_id"`
}
func (*MsgPutPolicyResponse) Descriptor ¶ added in v0.0.7
func (*MsgPutPolicyResponse) Descriptor() ([]byte, []int)
func (*MsgPutPolicyResponse) Marshal ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) Marshal() (dAtA []byte, err error)
func (*MsgPutPolicyResponse) MarshalTo ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPutPolicyResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPutPolicyResponse) ProtoMessage ¶ added in v0.0.7
func (*MsgPutPolicyResponse) ProtoMessage()
func (*MsgPutPolicyResponse) Reset ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) Reset()
func (*MsgPutPolicyResponse) Size ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) Size() (n int)
func (*MsgPutPolicyResponse) String ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) String() string
func (*MsgPutPolicyResponse) Unmarshal ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) Unmarshal(dAtA []byte) error
func (*MsgPutPolicyResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) XXX_DiscardUnknown()
func (*MsgPutPolicyResponse) XXX_Marshal ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPutPolicyResponse) XXX_Merge ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) XXX_Merge(src proto.Message)
func (*MsgPutPolicyResponse) XXX_Size ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) XXX_Size() int
func (*MsgPutPolicyResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *MsgPutPolicyResponse) XXX_Unmarshal(b []byte) error
type MsgRejectSealObject ¶
type MsgRejectSealObject struct { // operator defines the account address of the object owner Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name defines 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 defines 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 defines the account address of primary SP Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name defines 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 defines 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 defines 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 defines 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 { // basic operation of bucket CreateBucket(context.Context, *MsgCreateBucket) (*MsgCreateBucketResponse, error) DeleteBucket(context.Context, *MsgDeleteBucket) (*MsgDeleteBucketResponse, error) UpdateBucketInfo(context.Context, *MsgUpdateBucketInfo) (*MsgUpdateBucketInfoResponse, error) MirrorBucket(context.Context, *MsgMirrorBucket) (*MsgMirrorBucketResponse, error) // basic operation of object CreateObject(context.Context, *MsgCreateObject) (*MsgCreateObjectResponse, error) SealObject(context.Context, *MsgSealObject) (*MsgSealObjectResponse, error) RejectSealObject(context.Context, *MsgRejectSealObject) (*MsgRejectSealObjectResponse, error) CopyObject(context.Context, *MsgCopyObject) (*MsgCopyObjectResponse, error) DeleteObject(context.Context, *MsgDeleteObject) (*MsgDeleteObjectResponse, error) CancelCreateObject(context.Context, *MsgCancelCreateObject) (*MsgCancelCreateObjectResponse, error) MirrorObject(context.Context, *MsgMirrorObject) (*MsgMirrorObjectResponse, error) // basic operation of group CreateGroup(context.Context, *MsgCreateGroup) (*MsgCreateGroupResponse, error) DeleteGroup(context.Context, *MsgDeleteGroup) (*MsgDeleteGroupResponse, error) UpdateGroupMember(context.Context, *MsgUpdateGroupMember) (*MsgUpdateGroupMemberResponse, error) LeaveGroup(context.Context, *MsgLeaveGroup) (*MsgLeaveGroupResponse, error) MirrorGroup(context.Context, *MsgMirrorGroup) (*MsgMirrorGroupResponse, error) // basic operation of policy PutPolicy(context.Context, *MsgPutPolicy) (*MsgPutPolicyResponse, error) DeletePolicy(context.Context, *MsgDeletePolicy) (*MsgDeletePolicyResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateBucketInfo ¶ added in v0.0.6
type MsgUpdateBucketInfo struct { // operator defines the account address of the operator Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name defines the name of bucket which you'll update BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // charged_read_quota defines the traffic quota that you read from primary sp // if read_quota is nil, it means don't change the read_quota ChargedReadQuota *common.UInt64Value `protobuf:"bytes,3,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"` // payment_address defines the account address of the payment account // if payment_address is empty, it means don't change the payment_address PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` // visibility means the bucket is private or public. if private, only bucket owner or grantee can read it, // otherwise every greenfield user can read it. Visibility VisibilityType `protobuf:"varint,5,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,omitempty"` }
func NewMsgUpdateBucketInfo ¶ added in v0.0.6
func NewMsgUpdateBucketInfo(operator sdk.AccAddress, bucketName string, chargedReadQuota *uint64, paymentAcc sdk.AccAddress, Visibility VisibilityType) *MsgUpdateBucketInfo
NewMsgUpdateBucketInfo 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) GetChargedReadQuota ¶ added in v0.0.10
func (m *MsgUpdateBucketInfo) GetChargedReadQuota() *common.UInt64Value
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) 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) GetVisibility ¶ added in v0.0.10
func (m *MsgUpdateBucketInfo) GetVisibility() VisibilityType
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 defines 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_owner defines the account address of the group owner GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"` // group_name defines the name of the group which to be updated GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // members_to_add defines a list of members account address which will be add to the group MembersToAdd []string `protobuf:"bytes,4,rep,name=members_to_add,json=membersToAdd,proto3" json:"members_to_add,omitempty"` // members_to_delete defines a list of members account address which will be remove from the group MembersToDelete []string `protobuf:"bytes,5,rep,name=members_to_delete,json=membersToDelete,proto3" json:"members_to_delete,omitempty"` }
func NewMsgUpdateGroupMember ¶
func NewMsgUpdateGroupMember( operator sdk.AccAddress, groupOwner 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) GetGroupOwner ¶ added in v0.0.10
func (m *MsgUpdateGroupMember) GetGroupOwner() 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"` // visibility defines the highest permissions for object. When an object is public, everyone can access it. Visibility VisibilityType `protobuf:"varint,6,opt,name=visibility,proto3,enum=bnbchain.greenfield.storage.VisibilityType" json:"visibility,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 timestamp when the object is 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. // add omit tag to omit the field when converting to NFT metadata Checksums [][]byte `protobuf:"bytes,12,rep,name=checksums,proto3" json:"checksums,omitempty" traits:"omit"` // 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"` }
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) 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) GetVisibility ¶ added in v0.0.10
func (m *ObjectInfo) GetVisibility() VisibilityType
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) ToNFTMetadata ¶ added in v0.0.7
func (m *ObjectInfo) ToNFTMetadata() *ObjectMetaData
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 ObjectMetaData ¶ added in v0.0.7
type ObjectMetaData struct { // description Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // externalUrl a link to external site to view NFT ExternalUrl string `protobuf:"bytes,2,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"` // name of object NFT ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // image is the link to image Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // attributes Attributes []Trait `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes"` }
func (*ObjectMetaData) Descriptor ¶ added in v0.0.7
func (*ObjectMetaData) Descriptor() ([]byte, []int)
func (*ObjectMetaData) GetAttributes ¶ added in v0.0.7
func (m *ObjectMetaData) GetAttributes() []Trait
func (*ObjectMetaData) GetDescription ¶ added in v0.0.7
func (m *ObjectMetaData) GetDescription() string
func (*ObjectMetaData) GetExternalUrl ¶ added in v0.0.7
func (m *ObjectMetaData) GetExternalUrl() string
func (*ObjectMetaData) GetImage ¶ added in v0.0.7
func (m *ObjectMetaData) GetImage() string
func (*ObjectMetaData) GetObjectName ¶ added in v0.0.7
func (m *ObjectMetaData) GetObjectName() string
func (*ObjectMetaData) Marshal ¶ added in v0.0.7
func (m *ObjectMetaData) Marshal() (dAtA []byte, err error)
func (*ObjectMetaData) MarshalTo ¶ added in v0.0.7
func (m *ObjectMetaData) MarshalTo(dAtA []byte) (int, error)
func (*ObjectMetaData) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *ObjectMetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectMetaData) ProtoMessage ¶ added in v0.0.7
func (*ObjectMetaData) ProtoMessage()
func (*ObjectMetaData) Reset ¶ added in v0.0.7
func (m *ObjectMetaData) Reset()
func (*ObjectMetaData) Size ¶ added in v0.0.7
func (m *ObjectMetaData) Size() (n int)
func (*ObjectMetaData) String ¶ added in v0.0.7
func (m *ObjectMetaData) String() string
func (*ObjectMetaData) Unmarshal ¶ added in v0.0.7
func (m *ObjectMetaData) Unmarshal(dAtA []byte) error
func (*ObjectMetaData) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *ObjectMetaData) XXX_DiscardUnknown()
func (*ObjectMetaData) XXX_Marshal ¶ added in v0.0.7
func (m *ObjectMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectMetaData) XXX_Merge ¶ added in v0.0.7
func (m *ObjectMetaData) XXX_Merge(src proto.Message)
func (*ObjectMetaData) XXX_Size ¶ added in v0.0.7
func (m *ObjectMetaData) XXX_Size() int
func (*ObjectMetaData) XXX_Unmarshal ¶ added in v0.0.7
func (m *ObjectMetaData) XXX_Unmarshal(b []byte) error
type ObjectStatus ¶
type ObjectStatus int32
ObjectStatus represents the creation status of an object. After a user successfully sends a CreateObject transaction onto the chain, the status is set to 'Created'. After the Primary Service Provider successfully sends a Seal Object transaction onto the chain, the status is set to 'Sealed'.
const ( OBJECT_STATUS_CREATED ObjectStatus = 0 OBJECT_STATUS_SEALED 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"` // min_charge_size is the minimum charge size of the payload, objects smaller than this size will be charged as this size MinChargeSize uint64 `protobuf:"varint,5,opt,name=min_charge_size,json=minChargeSize,proto3" json:"min_charge_size,omitempty"` // relayer fee for the mirror bucket tx MirrorBucketRelayerFee string `` /* 131-byte string literal not displayed */ // relayer fee for the ACK or FAIL_ACK package of the mirror bucket tx MirrorBucketAckRelayerFee string `` /* 142-byte string literal not displayed */ // relayer fee for the mirror object tx MirrorObjectRelayerFee string `` /* 131-byte string literal not displayed */ // Relayer fee for the ACK or FAIL_ACK package of the mirror object tx MirrorObjectAckRelayerFee string `` /* 142-byte string literal not displayed */ // relayer fee for the mirror object tx MirrorGroupRelayerFee string `` /* 129-byte string literal not displayed */ // Relayer fee for the ACK or FAIL_ACK package of the mirror object tx MirrorGroupAckRelayerFee string `` /* 140-byte string literal not displayed */ // The maximum number of buckets that can be created per account MaxBucketsPerAccount uint32 `` /* 127-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( maxSegmentSize uint64, redundantDataChunkNum uint32, redundantParityChunkNum uint32, maxPayloadSize uint64, maxBucketsPerAccount uint32, minChargeSize uint64, mirrorBucketRelayerFee, mirrorBucketAckRelayerFee string, mirrorObjectRelayerFee, mirrorObjectAckRelayerFee string, mirrorGroupRelayerFee, mirrorGroupAckRelayerFee string, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetMaxBucketsPerAccount ¶ added in v0.0.10
func (*Params) GetMaxPayloadSize ¶
func (*Params) GetMaxSegmentSize ¶
func (*Params) GetMinChargeSize ¶ added in v0.0.7
func (*Params) GetMirrorBucketAckRelayerFee ¶ added in v0.0.9
func (*Params) GetMirrorBucketRelayerFee ¶ added in v0.0.9
func (*Params) GetMirrorGroupAckRelayerFee ¶ added in v0.0.9
func (*Params) GetMirrorGroupRelayerFee ¶ added in v0.0.9
func (*Params) GetMirrorObjectAckRelayerFee ¶ added in v0.0.9
func (*Params) GetMirrorObjectRelayerFee ¶ added in v0.0.9
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 { GetParams(ctx sdk.Context) paymenttypes.Params IsPaymentAccountOwner(ctx sdk.Context, addr, owner sdk.AccAddress) bool GetStoragePrice(ctx sdk.Context, params paymenttypes.StoragePriceParams) (price paymenttypes.StoragePrice, err error) ApplyUserFlowsList(ctx sdk.Context, userFlows []paymenttypes.UserFlows) (err error) UpdateStreamRecordByAddr(ctx sdk.Context, change *paymenttypes.StreamRecordChange) (ret *paymenttypes.StreamRecord, err error) }
type PermissionKeeper ¶ added in v0.0.7
type PermissionKeeper interface { PutPolicy(ctx sdk.Context, policy *permtypes.Policy) (math.Uint, error) DeletePolicy(ctx sdk.Context, principal *permtypes.Principal, resourceType resource.ResourceType, resourceID math.Uint) (math.Uint, error) VerifyPolicy(ctx sdk.Context, resourceID math.Uint, resourceType resource.ResourceType, operator sdk.AccAddress, action permtypes.ActionType, opts *permtypes.VerifyOptions) permtypes.Effect AddGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) error RemoveGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) error GetPolicyByID(ctx sdk.Context, policyID math.Uint) (*permtypes.Policy, bool) GetPolicyForAccount(ctx sdk.Context, resourceID math.Uint, resourceType resource.ResourceType, addr sdk.AccAddress) (policy *permtypes.Policy, isFound bool) GetPolicyForGroup(ctx sdk.Context, resourceID math.Uint, resourceType resource.ResourceType, groupID math.Uint) (policy *permtypes.Policy, isFound bool) GetGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) (*permtypes.GroupMember, bool) GetGroupMemberByID(ctx sdk.Context, groupMemberID math.Uint) (*permtypes.GroupMember, bool) }
type QueryBucketNFTResponse ¶ added in v0.0.7
type QueryBucketNFTResponse struct {
MetaData *BucketMetaData `protobuf:"bytes,1,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"`
}
func (*QueryBucketNFTResponse) Descriptor ¶ added in v0.0.7
func (*QueryBucketNFTResponse) Descriptor() ([]byte, []int)
func (*QueryBucketNFTResponse) GetMetaData ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) GetMetaData() *BucketMetaData
func (*QueryBucketNFTResponse) Marshal ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) Marshal() (dAtA []byte, err error)
func (*QueryBucketNFTResponse) MarshalTo ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBucketNFTResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBucketNFTResponse) ProtoMessage ¶ added in v0.0.7
func (*QueryBucketNFTResponse) ProtoMessage()
func (*QueryBucketNFTResponse) Reset ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) Reset()
func (*QueryBucketNFTResponse) Size ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) Size() (n int)
func (*QueryBucketNFTResponse) String ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) String() string
func (*QueryBucketNFTResponse) Unmarshal ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) Unmarshal(dAtA []byte) error
func (*QueryBucketNFTResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) XXX_DiscardUnknown()
func (*QueryBucketNFTResponse) XXX_Marshal ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBucketNFTResponse) XXX_Merge ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) XXX_Merge(src proto.Message)
func (*QueryBucketNFTResponse) XXX_Size ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) XXX_Size() int
func (*QueryBucketNFTResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryBucketNFTResponse) XXX_Unmarshal(b []byte) 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 bucket by id HeadBucketById(ctx context.Context, in *QueryHeadBucketByIdRequest, opts ...grpc.CallOption) (*QueryHeadBucketResponse, error) // Queries a bucket with EIP712 standard metadata info HeadBucketNFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryBucketNFTResponse, error) // Queries a object with specify name. HeadObject(ctx context.Context, in *QueryHeadObjectRequest, opts ...grpc.CallOption) (*QueryHeadObjectResponse, error) // Queries an object by id HeadObjectById(ctx context.Context, in *QueryHeadObjectByIdRequest, opts ...grpc.CallOption) (*QueryHeadObjectResponse, error) // Queries a object with EIP712 standard metadata info HeadObjectNFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryObjectNFTResponse, 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) // Queries a list of object items under the bucket. ListObjectsByBucketId(ctx context.Context, in *QueryListObjectsByBucketIdRequest, opts ...grpc.CallOption) (*QueryListObjectsResponse, error) // Queries a group with EIP712 standard metadata info HeadGroupNFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryGroupNFTResponse, error) // Queries a policy which grants permission to account QueryPolicyForAccount(ctx context.Context, in *QueryPolicyForAccountRequest, opts ...grpc.CallOption) (*QueryPolicyForAccountResponse, error) // Queries a list of VerifyPermission items. VerifyPermission(ctx context.Context, in *QueryVerifyPermissionRequest, opts ...grpc.CallOption) (*QueryVerifyPermissionResponse, error) // Queries a group with specify owner and name . HeadGroup(ctx context.Context, in *QueryHeadGroupRequest, opts ...grpc.CallOption) (*QueryHeadGroupResponse, error) // Queries a list of ListGroup items. ListGroup(ctx context.Context, in *QueryListGroupRequest, opts ...grpc.CallOption) (*QueryListGroupResponse, error) // Queries a list of HeadGroupMember items. HeadGroupMember(ctx context.Context, in *QueryHeadGroupMemberRequest, opts ...grpc.CallOption) (*QueryHeadGroupMemberResponse, error) // Queries a policy that grants permission to a group QueryPolicyForGroup(ctx context.Context, in *QueryPolicyForGroupRequest, opts ...grpc.CallOption) (*QueryPolicyForGroupResponse, 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 QueryGroupNFTResponse ¶ added in v0.0.7
type QueryGroupNFTResponse struct {
MetaData *GroupMetaData `protobuf:"bytes,1,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"`
}
func (*QueryGroupNFTResponse) Descriptor ¶ added in v0.0.7
func (*QueryGroupNFTResponse) Descriptor() ([]byte, []int)
func (*QueryGroupNFTResponse) GetMetaData ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) GetMetaData() *GroupMetaData
func (*QueryGroupNFTResponse) Marshal ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupNFTResponse) MarshalTo ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupNFTResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupNFTResponse) ProtoMessage ¶ added in v0.0.7
func (*QueryGroupNFTResponse) ProtoMessage()
func (*QueryGroupNFTResponse) Reset ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) Reset()
func (*QueryGroupNFTResponse) Size ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) Size() (n int)
func (*QueryGroupNFTResponse) String ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) String() string
func (*QueryGroupNFTResponse) Unmarshal ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupNFTResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) XXX_DiscardUnknown()
func (*QueryGroupNFTResponse) XXX_Marshal ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupNFTResponse) XXX_Merge ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) XXX_Merge(src proto.Message)
func (*QueryGroupNFTResponse) XXX_Size ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) XXX_Size() int
func (*QueryGroupNFTResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryGroupNFTResponse) XXX_Unmarshal(b []byte) error
type QueryHeadBucketByIdRequest ¶ added in v0.0.7
type QueryHeadBucketByIdRequest struct {
BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
}
func (*QueryHeadBucketByIdRequest) Descriptor ¶ added in v0.0.7
func (*QueryHeadBucketByIdRequest) Descriptor() ([]byte, []int)
func (*QueryHeadBucketByIdRequest) GetBucketId ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) GetBucketId() string
func (*QueryHeadBucketByIdRequest) Marshal ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) Marshal() (dAtA []byte, err error)
func (*QueryHeadBucketByIdRequest) MarshalTo ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadBucketByIdRequest) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadBucketByIdRequest) ProtoMessage ¶ added in v0.0.7
func (*QueryHeadBucketByIdRequest) ProtoMessage()
func (*QueryHeadBucketByIdRequest) Reset ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) Reset()
func (*QueryHeadBucketByIdRequest) Size ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) Size() (n int)
func (*QueryHeadBucketByIdRequest) String ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) String() string
func (*QueryHeadBucketByIdRequest) Unmarshal ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) Unmarshal(dAtA []byte) error
func (*QueryHeadBucketByIdRequest) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) XXX_DiscardUnknown()
func (*QueryHeadBucketByIdRequest) XXX_Marshal ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadBucketByIdRequest) XXX_Merge ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) XXX_Merge(src proto.Message)
func (*QueryHeadBucketByIdRequest) XXX_Size ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) XXX_Size() int
func (*QueryHeadBucketByIdRequest) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryHeadBucketByIdRequest) XXX_Unmarshal(b []byte) error
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"`
}
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 QueryHeadGroupMemberRequest ¶ added in v0.0.8
type QueryHeadGroupMemberRequest struct { Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"` GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"` GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` }
func (*QueryHeadGroupMemberRequest) Descriptor ¶ added in v0.0.8
func (*QueryHeadGroupMemberRequest) Descriptor() ([]byte, []int)
func (*QueryHeadGroupMemberRequest) GetGroupName ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) GetGroupName() string
func (*QueryHeadGroupMemberRequest) GetGroupOwner ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) GetGroupOwner() string
func (*QueryHeadGroupMemberRequest) GetMember ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) GetMember() string
func (*QueryHeadGroupMemberRequest) Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) Marshal() (dAtA []byte, err error)
func (*QueryHeadGroupMemberRequest) MarshalTo ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadGroupMemberRequest) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadGroupMemberRequest) ProtoMessage ¶ added in v0.0.8
func (*QueryHeadGroupMemberRequest) ProtoMessage()
func (*QueryHeadGroupMemberRequest) Reset ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) Reset()
func (*QueryHeadGroupMemberRequest) Size ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) Size() (n int)
func (*QueryHeadGroupMemberRequest) String ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) String() string
func (*QueryHeadGroupMemberRequest) Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) Unmarshal(dAtA []byte) error
func (*QueryHeadGroupMemberRequest) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) XXX_DiscardUnknown()
func (*QueryHeadGroupMemberRequest) XXX_Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadGroupMemberRequest) XXX_Merge ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) XXX_Merge(src proto.Message)
func (*QueryHeadGroupMemberRequest) XXX_Size ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) XXX_Size() int
func (*QueryHeadGroupMemberRequest) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberRequest) XXX_Unmarshal(b []byte) error
type QueryHeadGroupMemberResponse ¶ added in v0.0.8
type QueryHeadGroupMemberResponse struct {
GroupMember *types.GroupMember `protobuf:"bytes,1,opt,name=group_member,json=groupMember,proto3" json:"group_member,omitempty"`
}
func (*QueryHeadGroupMemberResponse) Descriptor ¶ added in v0.0.8
func (*QueryHeadGroupMemberResponse) Descriptor() ([]byte, []int)
func (*QueryHeadGroupMemberResponse) GetGroupMember ¶ added in v0.0.10
func (m *QueryHeadGroupMemberResponse) GetGroupMember() *types.GroupMember
func (*QueryHeadGroupMemberResponse) Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) Marshal() (dAtA []byte, err error)
func (*QueryHeadGroupMemberResponse) MarshalTo ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadGroupMemberResponse) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadGroupMemberResponse) ProtoMessage ¶ added in v0.0.8
func (*QueryHeadGroupMemberResponse) ProtoMessage()
func (*QueryHeadGroupMemberResponse) Reset ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) Reset()
func (*QueryHeadGroupMemberResponse) Size ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) Size() (n int)
func (*QueryHeadGroupMemberResponse) String ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) String() string
func (*QueryHeadGroupMemberResponse) Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) Unmarshal(dAtA []byte) error
func (*QueryHeadGroupMemberResponse) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) XXX_DiscardUnknown()
func (*QueryHeadGroupMemberResponse) XXX_Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadGroupMemberResponse) XXX_Merge ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) XXX_Merge(src proto.Message)
func (*QueryHeadGroupMemberResponse) XXX_Size ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) XXX_Size() int
func (*QueryHeadGroupMemberResponse) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupMemberResponse) XXX_Unmarshal(b []byte) error
type QueryHeadGroupRequest ¶ added in v0.0.8
type QueryHeadGroupRequest struct { GroupOwner string `protobuf:"bytes,1,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` }
func (*QueryHeadGroupRequest) Descriptor ¶ added in v0.0.8
func (*QueryHeadGroupRequest) Descriptor() ([]byte, []int)
func (*QueryHeadGroupRequest) GetGroupName ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) GetGroupName() string
func (*QueryHeadGroupRequest) GetGroupOwner ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) GetGroupOwner() string
func (*QueryHeadGroupRequest) Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryHeadGroupRequest) MarshalTo ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadGroupRequest) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadGroupRequest) ProtoMessage ¶ added in v0.0.8
func (*QueryHeadGroupRequest) ProtoMessage()
func (*QueryHeadGroupRequest) Reset ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) Reset()
func (*QueryHeadGroupRequest) Size ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) Size() (n int)
func (*QueryHeadGroupRequest) String ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) String() string
func (*QueryHeadGroupRequest) Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryHeadGroupRequest) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) XXX_DiscardUnknown()
func (*QueryHeadGroupRequest) XXX_Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadGroupRequest) XXX_Merge ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) XXX_Merge(src proto.Message)
func (*QueryHeadGroupRequest) XXX_Size ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) XXX_Size() int
func (*QueryHeadGroupRequest) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupRequest) XXX_Unmarshal(b []byte) error
type QueryHeadGroupResponse ¶ added in v0.0.8
type QueryHeadGroupResponse struct {
GroupInfo *GroupInfo `protobuf:"bytes,1,opt,name=group_info,json=groupInfo,proto3" json:"group_info,omitempty"`
}
func (*QueryHeadGroupResponse) Descriptor ¶ added in v0.0.8
func (*QueryHeadGroupResponse) Descriptor() ([]byte, []int)
func (*QueryHeadGroupResponse) GetGroupInfo ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) GetGroupInfo() *GroupInfo
func (*QueryHeadGroupResponse) Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryHeadGroupResponse) MarshalTo ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadGroupResponse) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadGroupResponse) ProtoMessage ¶ added in v0.0.8
func (*QueryHeadGroupResponse) ProtoMessage()
func (*QueryHeadGroupResponse) Reset ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) Reset()
func (*QueryHeadGroupResponse) Size ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) Size() (n int)
func (*QueryHeadGroupResponse) String ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) String() string
func (*QueryHeadGroupResponse) Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryHeadGroupResponse) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) XXX_DiscardUnknown()
func (*QueryHeadGroupResponse) XXX_Marshal ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadGroupResponse) XXX_Merge ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) XXX_Merge(src proto.Message)
func (*QueryHeadGroupResponse) XXX_Size ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) XXX_Size() int
func (*QueryHeadGroupResponse) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryHeadGroupResponse) XXX_Unmarshal(b []byte) error
type QueryHeadObjectByIdRequest ¶ added in v0.0.7
type QueryHeadObjectByIdRequest struct {
ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
}
func (*QueryHeadObjectByIdRequest) Descriptor ¶ added in v0.0.7
func (*QueryHeadObjectByIdRequest) Descriptor() ([]byte, []int)
func (*QueryHeadObjectByIdRequest) GetObjectId ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) GetObjectId() string
func (*QueryHeadObjectByIdRequest) Marshal ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) Marshal() (dAtA []byte, err error)
func (*QueryHeadObjectByIdRequest) MarshalTo ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadObjectByIdRequest) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadObjectByIdRequest) ProtoMessage ¶ added in v0.0.7
func (*QueryHeadObjectByIdRequest) ProtoMessage()
func (*QueryHeadObjectByIdRequest) Reset ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) Reset()
func (*QueryHeadObjectByIdRequest) Size ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) Size() (n int)
func (*QueryHeadObjectByIdRequest) String ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) String() string
func (*QueryHeadObjectByIdRequest) Unmarshal ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) Unmarshal(dAtA []byte) error
func (*QueryHeadObjectByIdRequest) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) XXX_DiscardUnknown()
func (*QueryHeadObjectByIdRequest) XXX_Marshal ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadObjectByIdRequest) XXX_Merge ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) XXX_Merge(src proto.Message)
func (*QueryHeadObjectByIdRequest) XXX_Size ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) XXX_Size() int
func (*QueryHeadObjectByIdRequest) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryHeadObjectByIdRequest) 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,omitempty"` 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 QueryListGroupRequest ¶ added in v0.0.8
type QueryListGroupRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"` }
func (*QueryListGroupRequest) Descriptor ¶ added in v0.0.8
func (*QueryListGroupRequest) Descriptor() ([]byte, []int)
func (*QueryListGroupRequest) GetGroupOwner ¶ added in v0.0.8
func (m *QueryListGroupRequest) GetGroupOwner() string
func (*QueryListGroupRequest) GetPagination ¶ added in v0.0.8
func (m *QueryListGroupRequest) GetPagination() *query.PageRequest
func (*QueryListGroupRequest) Marshal ¶ added in v0.0.8
func (m *QueryListGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryListGroupRequest) MarshalTo ¶ added in v0.0.8
func (m *QueryListGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListGroupRequest) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryListGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListGroupRequest) ProtoMessage ¶ added in v0.0.8
func (*QueryListGroupRequest) ProtoMessage()
func (*QueryListGroupRequest) Reset ¶ added in v0.0.8
func (m *QueryListGroupRequest) Reset()
func (*QueryListGroupRequest) Size ¶ added in v0.0.8
func (m *QueryListGroupRequest) Size() (n int)
func (*QueryListGroupRequest) String ¶ added in v0.0.8
func (m *QueryListGroupRequest) String() string
func (*QueryListGroupRequest) Unmarshal ¶ added in v0.0.8
func (m *QueryListGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryListGroupRequest) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryListGroupRequest) XXX_DiscardUnknown()
func (*QueryListGroupRequest) XXX_Marshal ¶ added in v0.0.8
func (m *QueryListGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListGroupRequest) XXX_Merge ¶ added in v0.0.8
func (m *QueryListGroupRequest) XXX_Merge(src proto.Message)
func (*QueryListGroupRequest) XXX_Size ¶ added in v0.0.8
func (m *QueryListGroupRequest) XXX_Size() int
func (*QueryListGroupRequest) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryListGroupRequest) XXX_Unmarshal(b []byte) error
type QueryListGroupResponse ¶ added in v0.0.8
type QueryListGroupResponse struct { Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` GroupInfos []*GroupInfo `protobuf:"bytes,2,rep,name=group_infos,json=groupInfos,proto3" json:"group_infos,omitempty"` }
func (*QueryListGroupResponse) Descriptor ¶ added in v0.0.8
func (*QueryListGroupResponse) Descriptor() ([]byte, []int)
func (*QueryListGroupResponse) GetGroupInfos ¶ added in v0.0.8
func (m *QueryListGroupResponse) GetGroupInfos() []*GroupInfo
func (*QueryListGroupResponse) GetPagination ¶ added in v0.0.8
func (m *QueryListGroupResponse) GetPagination() *query.PageResponse
func (*QueryListGroupResponse) Marshal ¶ added in v0.0.8
func (m *QueryListGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryListGroupResponse) MarshalTo ¶ added in v0.0.8
func (m *QueryListGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryListGroupResponse) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryListGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListGroupResponse) ProtoMessage ¶ added in v0.0.8
func (*QueryListGroupResponse) ProtoMessage()
func (*QueryListGroupResponse) Reset ¶ added in v0.0.8
func (m *QueryListGroupResponse) Reset()
func (*QueryListGroupResponse) Size ¶ added in v0.0.8
func (m *QueryListGroupResponse) Size() (n int)
func (*QueryListGroupResponse) String ¶ added in v0.0.8
func (m *QueryListGroupResponse) String() string
func (*QueryListGroupResponse) Unmarshal ¶ added in v0.0.8
func (m *QueryListGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryListGroupResponse) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryListGroupResponse) XXX_DiscardUnknown()
func (*QueryListGroupResponse) XXX_Marshal ¶ added in v0.0.8
func (m *QueryListGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListGroupResponse) XXX_Merge ¶ added in v0.0.8
func (m *QueryListGroupResponse) XXX_Merge(src proto.Message)
func (*QueryListGroupResponse) XXX_Size ¶ added in v0.0.8
func (m *QueryListGroupResponse) XXX_Size() int
func (*QueryListGroupResponse) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryListGroupResponse) XXX_Unmarshal(b []byte) error
type QueryListObjectsByBucketIdRequest ¶ added in v0.0.7
type QueryListObjectsByBucketIdRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BucketId string `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` }
func (*QueryListObjectsByBucketIdRequest) Descriptor ¶ added in v0.0.7
func (*QueryListObjectsByBucketIdRequest) Descriptor() ([]byte, []int)
func (*QueryListObjectsByBucketIdRequest) GetBucketId ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) GetBucketId() string
func (*QueryListObjectsByBucketIdRequest) GetPagination ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) GetPagination() *query.PageRequest
func (*QueryListObjectsByBucketIdRequest) Marshal ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) Marshal() (dAtA []byte, err error)
func (*QueryListObjectsByBucketIdRequest) MarshalTo ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListObjectsByBucketIdRequest) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListObjectsByBucketIdRequest) ProtoMessage ¶ added in v0.0.7
func (*QueryListObjectsByBucketIdRequest) ProtoMessage()
func (*QueryListObjectsByBucketIdRequest) Reset ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) Reset()
func (*QueryListObjectsByBucketIdRequest) Size ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) Size() (n int)
func (*QueryListObjectsByBucketIdRequest) String ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) String() string
func (*QueryListObjectsByBucketIdRequest) Unmarshal ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) Unmarshal(dAtA []byte) error
func (*QueryListObjectsByBucketIdRequest) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) XXX_DiscardUnknown()
func (*QueryListObjectsByBucketIdRequest) XXX_Marshal ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListObjectsByBucketIdRequest) XXX_Merge ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) XXX_Merge(src proto.Message)
func (*QueryListObjectsByBucketIdRequest) XXX_Size ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) XXX_Size() int
func (*QueryListObjectsByBucketIdRequest) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryListObjectsByBucketIdRequest) 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=bucket_name,json=bucketName,proto3" json:"bucket_name,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,omitempty"` 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 QueryNFTRequest ¶ added in v0.0.7
type QueryNFTRequest struct {
TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}
func (*QueryNFTRequest) Descriptor ¶ added in v0.0.7
func (*QueryNFTRequest) Descriptor() ([]byte, []int)
func (*QueryNFTRequest) GetTokenId ¶ added in v0.0.7
func (m *QueryNFTRequest) GetTokenId() string
func (*QueryNFTRequest) Marshal ¶ added in v0.0.7
func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)
func (*QueryNFTRequest) MarshalTo ¶ added in v0.0.7
func (m *QueryNFTRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryNFTRequest) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNFTRequest) ProtoMessage ¶ added in v0.0.7
func (*QueryNFTRequest) ProtoMessage()
func (*QueryNFTRequest) Reset ¶ added in v0.0.7
func (m *QueryNFTRequest) Reset()
func (*QueryNFTRequest) Size ¶ added in v0.0.7
func (m *QueryNFTRequest) Size() (n int)
func (*QueryNFTRequest) String ¶ added in v0.0.7
func (m *QueryNFTRequest) String() string
func (*QueryNFTRequest) Unmarshal ¶ added in v0.0.7
func (m *QueryNFTRequest) Unmarshal(dAtA []byte) error
func (*QueryNFTRequest) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryNFTRequest) XXX_DiscardUnknown()
func (*QueryNFTRequest) XXX_Marshal ¶ added in v0.0.7
func (m *QueryNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNFTRequest) XXX_Merge ¶ added in v0.0.7
func (m *QueryNFTRequest) XXX_Merge(src proto.Message)
func (*QueryNFTRequest) XXX_Size ¶ added in v0.0.7
func (m *QueryNFTRequest) XXX_Size() int
func (*QueryNFTRequest) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryNFTRequest) XXX_Unmarshal(b []byte) error
type QueryObjectNFTResponse ¶ added in v0.0.7
type QueryObjectNFTResponse struct {
MetaData *ObjectMetaData `protobuf:"bytes,1,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"`
}
func (*QueryObjectNFTResponse) Descriptor ¶ added in v0.0.7
func (*QueryObjectNFTResponse) Descriptor() ([]byte, []int)
func (*QueryObjectNFTResponse) GetMetaData ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) GetMetaData() *ObjectMetaData
func (*QueryObjectNFTResponse) Marshal ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) Marshal() (dAtA []byte, err error)
func (*QueryObjectNFTResponse) MarshalTo ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryObjectNFTResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryObjectNFTResponse) ProtoMessage ¶ added in v0.0.7
func (*QueryObjectNFTResponse) ProtoMessage()
func (*QueryObjectNFTResponse) Reset ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) Reset()
func (*QueryObjectNFTResponse) Size ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) Size() (n int)
func (*QueryObjectNFTResponse) String ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) String() string
func (*QueryObjectNFTResponse) Unmarshal ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) Unmarshal(dAtA []byte) error
func (*QueryObjectNFTResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) XXX_DiscardUnknown()
func (*QueryObjectNFTResponse) XXX_Marshal ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryObjectNFTResponse) XXX_Merge ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) XXX_Merge(src proto.Message)
func (*QueryObjectNFTResponse) XXX_Size ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) XXX_Size() int
func (*QueryObjectNFTResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryObjectNFTResponse) 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 QueryPolicyForAccountRequest ¶ added in v0.0.8
type QueryPolicyForAccountRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` PrincipalAddress string `protobuf:"bytes,2,opt,name=principal_address,json=principalAddress,proto3" json:"principal_address,omitempty"` }
func (*QueryPolicyForAccountRequest) Descriptor ¶ added in v0.0.8
func (*QueryPolicyForAccountRequest) Descriptor() ([]byte, []int)
func (*QueryPolicyForAccountRequest) GetPrincipalAddress ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) GetPrincipalAddress() string
func (*QueryPolicyForAccountRequest) GetResource ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) GetResource() string
func (*QueryPolicyForAccountRequest) Marshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryPolicyForAccountRequest) MarshalTo ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPolicyForAccountRequest) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPolicyForAccountRequest) ProtoMessage ¶ added in v0.0.8
func (*QueryPolicyForAccountRequest) ProtoMessage()
func (*QueryPolicyForAccountRequest) Reset ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) Reset()
func (*QueryPolicyForAccountRequest) Size ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) Size() (n int)
func (*QueryPolicyForAccountRequest) String ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) String() string
func (*QueryPolicyForAccountRequest) Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryPolicyForAccountRequest) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) XXX_DiscardUnknown()
func (*QueryPolicyForAccountRequest) XXX_Marshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPolicyForAccountRequest) XXX_Merge ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) XXX_Merge(src proto.Message)
func (*QueryPolicyForAccountRequest) XXX_Size ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) XXX_Size() int
func (*QueryPolicyForAccountRequest) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountRequest) XXX_Unmarshal(b []byte) error
type QueryPolicyForAccountResponse ¶ added in v0.0.8
type QueryPolicyForAccountResponse struct {
Policy *types.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
}
func (*QueryPolicyForAccountResponse) Descriptor ¶ added in v0.0.8
func (*QueryPolicyForAccountResponse) Descriptor() ([]byte, []int)
func (*QueryPolicyForAccountResponse) GetPolicy ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) GetPolicy() *types.Policy
func (*QueryPolicyForAccountResponse) Marshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryPolicyForAccountResponse) MarshalTo ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPolicyForAccountResponse) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPolicyForAccountResponse) ProtoMessage ¶ added in v0.0.8
func (*QueryPolicyForAccountResponse) ProtoMessage()
func (*QueryPolicyForAccountResponse) Reset ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) Reset()
func (*QueryPolicyForAccountResponse) Size ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) Size() (n int)
func (*QueryPolicyForAccountResponse) String ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) String() string
func (*QueryPolicyForAccountResponse) Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryPolicyForAccountResponse) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) XXX_DiscardUnknown()
func (*QueryPolicyForAccountResponse) XXX_Marshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPolicyForAccountResponse) XXX_Merge ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) XXX_Merge(src proto.Message)
func (*QueryPolicyForAccountResponse) XXX_Size ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) XXX_Size() int
func (*QueryPolicyForAccountResponse) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForAccountResponse) XXX_Unmarshal(b []byte) error
type QueryPolicyForGroupRequest ¶ added in v0.0.8
type QueryPolicyForGroupRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` PrincipalGroupId string `protobuf:"bytes,2,opt,name=principal_group_id,json=principalGroupId,proto3" json:"principal_group_id,omitempty"` }
func (*QueryPolicyForGroupRequest) Descriptor ¶ added in v0.0.8
func (*QueryPolicyForGroupRequest) Descriptor() ([]byte, []int)
func (*QueryPolicyForGroupRequest) GetPrincipalGroupId ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) GetPrincipalGroupId() string
func (*QueryPolicyForGroupRequest) GetResource ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) GetResource() string
func (*QueryPolicyForGroupRequest) Marshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryPolicyForGroupRequest) MarshalTo ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPolicyForGroupRequest) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPolicyForGroupRequest) ProtoMessage ¶ added in v0.0.8
func (*QueryPolicyForGroupRequest) ProtoMessage()
func (*QueryPolicyForGroupRequest) Reset ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) Reset()
func (*QueryPolicyForGroupRequest) Size ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) Size() (n int)
func (*QueryPolicyForGroupRequest) String ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) String() string
func (*QueryPolicyForGroupRequest) Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryPolicyForGroupRequest) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) XXX_DiscardUnknown()
func (*QueryPolicyForGroupRequest) XXX_Marshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPolicyForGroupRequest) XXX_Merge ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) XXX_Merge(src proto.Message)
func (*QueryPolicyForGroupRequest) XXX_Size ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) XXX_Size() int
func (*QueryPolicyForGroupRequest) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupRequest) XXX_Unmarshal(b []byte) error
type QueryPolicyForGroupResponse ¶ added in v0.0.8
type QueryPolicyForGroupResponse struct {
Policy *types.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
}
func (*QueryPolicyForGroupResponse) Descriptor ¶ added in v0.0.8
func (*QueryPolicyForGroupResponse) Descriptor() ([]byte, []int)
func (*QueryPolicyForGroupResponse) GetPolicy ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) GetPolicy() *types.Policy
func (*QueryPolicyForGroupResponse) Marshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryPolicyForGroupResponse) MarshalTo ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPolicyForGroupResponse) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPolicyForGroupResponse) ProtoMessage ¶ added in v0.0.8
func (*QueryPolicyForGroupResponse) ProtoMessage()
func (*QueryPolicyForGroupResponse) Reset ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) Reset()
func (*QueryPolicyForGroupResponse) Size ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) Size() (n int)
func (*QueryPolicyForGroupResponse) String ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) String() string
func (*QueryPolicyForGroupResponse) Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryPolicyForGroupResponse) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) XXX_DiscardUnknown()
func (*QueryPolicyForGroupResponse) XXX_Marshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPolicyForGroupResponse) XXX_Merge ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) XXX_Merge(src proto.Message)
func (*QueryPolicyForGroupResponse) XXX_Size ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) XXX_Size() int
func (*QueryPolicyForGroupResponse) XXX_Unmarshal ¶ added in v0.0.8
func (m *QueryPolicyForGroupResponse) 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 bucket by id HeadBucketById(context.Context, *QueryHeadBucketByIdRequest) (*QueryHeadBucketResponse, error) // Queries a bucket with EIP712 standard metadata info HeadBucketNFT(context.Context, *QueryNFTRequest) (*QueryBucketNFTResponse, error) // Queries a object with specify name. HeadObject(context.Context, *QueryHeadObjectRequest) (*QueryHeadObjectResponse, error) // Queries an object by id HeadObjectById(context.Context, *QueryHeadObjectByIdRequest) (*QueryHeadObjectResponse, error) // Queries a object with EIP712 standard metadata info HeadObjectNFT(context.Context, *QueryNFTRequest) (*QueryObjectNFTResponse, 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) // Queries a list of object items under the bucket. ListObjectsByBucketId(context.Context, *QueryListObjectsByBucketIdRequest) (*QueryListObjectsResponse, error) // Queries a group with EIP712 standard metadata info HeadGroupNFT(context.Context, *QueryNFTRequest) (*QueryGroupNFTResponse, error) // Queries a policy which grants permission to account QueryPolicyForAccount(context.Context, *QueryPolicyForAccountRequest) (*QueryPolicyForAccountResponse, error) // Queries a list of VerifyPermission items. VerifyPermission(context.Context, *QueryVerifyPermissionRequest) (*QueryVerifyPermissionResponse, error) // Queries a group with specify owner and name . HeadGroup(context.Context, *QueryHeadGroupRequest) (*QueryHeadGroupResponse, error) // Queries a list of ListGroup items. ListGroup(context.Context, *QueryListGroupRequest) (*QueryListGroupResponse, error) // Queries a list of HeadGroupMember items. HeadGroupMember(context.Context, *QueryHeadGroupMemberRequest) (*QueryHeadGroupMemberResponse, error) // Queries a policy that grants permission to a group QueryPolicyForGroup(context.Context, *QueryPolicyForGroupRequest) (*QueryPolicyForGroupResponse, error) }
QueryServer is the server API for Query service.
type QueryVerifyPermissionRequest ¶ added in v0.0.7
type QueryVerifyPermissionRequest struct { Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` ActionType types.ActionType `` /* 139-byte string literal not displayed */ }
func (*QueryVerifyPermissionRequest) Descriptor ¶ added in v0.0.7
func (*QueryVerifyPermissionRequest) Descriptor() ([]byte, []int)
func (*QueryVerifyPermissionRequest) GetActionType ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) GetActionType() types.ActionType
func (*QueryVerifyPermissionRequest) GetBucketName ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) GetBucketName() string
func (*QueryVerifyPermissionRequest) GetObjectName ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) GetObjectName() string
func (*QueryVerifyPermissionRequest) GetOperator ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) GetOperator() string
func (*QueryVerifyPermissionRequest) Marshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) Marshal() (dAtA []byte, err error)
func (*QueryVerifyPermissionRequest) MarshalTo ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVerifyPermissionRequest) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVerifyPermissionRequest) ProtoMessage ¶ added in v0.0.7
func (*QueryVerifyPermissionRequest) ProtoMessage()
func (*QueryVerifyPermissionRequest) Reset ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) Reset()
func (*QueryVerifyPermissionRequest) Size ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) Size() (n int)
func (*QueryVerifyPermissionRequest) String ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) String() string
func (*QueryVerifyPermissionRequest) Unmarshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) Unmarshal(dAtA []byte) error
func (*QueryVerifyPermissionRequest) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) XXX_DiscardUnknown()
func (*QueryVerifyPermissionRequest) XXX_Marshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVerifyPermissionRequest) XXX_Merge ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) XXX_Merge(src proto.Message)
func (*QueryVerifyPermissionRequest) XXX_Size ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) XXX_Size() int
func (*QueryVerifyPermissionRequest) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionRequest) XXX_Unmarshal(b []byte) error
type QueryVerifyPermissionResponse ¶ added in v0.0.7
type QueryVerifyPermissionResponse struct {
Effect types.Effect `protobuf:"varint,1,opt,name=effect,proto3,enum=bnbchain.greenfield.permission.Effect" json:"effect,omitempty"`
}
func (*QueryVerifyPermissionResponse) Descriptor ¶ added in v0.0.7
func (*QueryVerifyPermissionResponse) Descriptor() ([]byte, []int)
func (*QueryVerifyPermissionResponse) GetEffect ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) GetEffect() types.Effect
func (*QueryVerifyPermissionResponse) Marshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) Marshal() (dAtA []byte, err error)
func (*QueryVerifyPermissionResponse) MarshalTo ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVerifyPermissionResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVerifyPermissionResponse) ProtoMessage ¶ added in v0.0.7
func (*QueryVerifyPermissionResponse) ProtoMessage()
func (*QueryVerifyPermissionResponse) Reset ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) Reset()
func (*QueryVerifyPermissionResponse) Size ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) Size() (n int)
func (*QueryVerifyPermissionResponse) String ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) String() string
func (*QueryVerifyPermissionResponse) Unmarshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) Unmarshal(dAtA []byte) error
func (*QueryVerifyPermissionResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) XXX_DiscardUnknown()
func (*QueryVerifyPermissionResponse) XXX_Marshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVerifyPermissionResponse) XXX_Merge ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) XXX_Merge(src proto.Message)
func (*QueryVerifyPermissionResponse) XXX_Size ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) XXX_Size() int
func (*QueryVerifyPermissionResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryVerifyPermissionResponse) XXX_Unmarshal(b []byte) error
type RedundancyType ¶
type RedundancyType int32
RedundancyType represents the redundancy algorithm type for object data, which can be either multi-replica or erasure coding.
const ( REDUNDANCY_EC_TYPE RedundancyType = 0 REDUNDANCY_REPLICA_TYPE RedundancyType = 1 )
func (RedundancyType) EnumDescriptor ¶
func (RedundancyType) EnumDescriptor() ([]byte, []int)
func (RedundancyType) String ¶
func (x RedundancyType) String() string
type SecondarySpObjectsSize ¶ added in v0.0.7
type SecondarySpObjectsSize struct { // address is the address of the secondary sp SpAddress string `protobuf:"bytes,1,opt,name=sp_address,json=spAddress,proto3" json:"sp_address,omitempty"` // size is the total size of the objects in the secondary sp TotalChargeSize uint64 `protobuf:"varint,2,opt,name=total_charge_size,json=totalChargeSize,proto3" json:"total_charge_size,omitempty"` }
secondary sp objects size statistics
func (*SecondarySpObjectsSize) Descriptor ¶ added in v0.0.7
func (*SecondarySpObjectsSize) Descriptor() ([]byte, []int)
func (*SecondarySpObjectsSize) GetSpAddress ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) GetSpAddress() string
func (*SecondarySpObjectsSize) GetTotalChargeSize ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) GetTotalChargeSize() uint64
func (*SecondarySpObjectsSize) Marshal ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) Marshal() (dAtA []byte, err error)
func (*SecondarySpObjectsSize) MarshalTo ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) MarshalTo(dAtA []byte) (int, error)
func (*SecondarySpObjectsSize) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SecondarySpObjectsSize) ProtoMessage ¶ added in v0.0.7
func (*SecondarySpObjectsSize) ProtoMessage()
func (*SecondarySpObjectsSize) Reset ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) Reset()
func (*SecondarySpObjectsSize) Size ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) Size() (n int)
func (*SecondarySpObjectsSize) String ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) String() string
func (*SecondarySpObjectsSize) Unmarshal ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) Unmarshal(dAtA []byte) error
func (*SecondarySpObjectsSize) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) XXX_DiscardUnknown()
func (*SecondarySpObjectsSize) XXX_Marshal ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SecondarySpObjectsSize) XXX_Merge ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) XXX_Merge(src proto.Message)
func (*SecondarySpObjectsSize) XXX_Size ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) XXX_Size() int
func (*SecondarySpObjectsSize) XXX_Unmarshal ¶ added in v0.0.7
func (m *SecondarySpObjectsSize) XXX_Unmarshal(b []byte) error
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"` ObjectId Uint `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"` Checksum []byte `protobuf:"bytes,3,opt,name=checksum,proto3" json:"checksum,omitempty"` }
SecondarySpSignDoc used to generate seal signature of secondary SP If the secondary SP only signs the checksum to declare the object pieces are saved, it might be reused by the primary SP to fake it's declaration. Then the primary SP can challenge and slash the secondary SP. So the id of the object is needed to prevent this.
func NewSecondarySpSignDoc ¶ added in v0.0.6
func NewSecondarySpSignDoc(spAddress sdk.AccAddress, objectID math.Uint, 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
SourceType represents the source of resource creation, which can from Greenfield native or from a cross-chain transfer from BSC
const ( SOURCE_TYPE_ORIGIN SourceType = 0 SOURCE_TYPE_BSC_CROSS_CHAIN SourceType = 1 SOURCE_TYPE_MIRROR_PENDING SourceType = 2 )
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) GetStorageProviderBySealAddr(ctx sdk.Context, sealAddr sdk.AccAddress) (sp *sptypes.StorageProvider, found bool) IsStorageProviderExistAndInService(ctx sdk.Context, addr sdk.AccAddress) error }
type Trait ¶ added in v0.0.7
type Trait struct { TraitType string `protobuf:"bytes,1,opt,name=trait_type,json=traitType,proto3" json:"trait_type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*Trait) Descriptor ¶ added in v0.0.7
func (*Trait) GetTraitType ¶ added in v0.0.7
func (*Trait) MarshalToSizedBuffer ¶ added in v0.0.7
func (*Trait) ProtoMessage ¶ added in v0.0.7
func (*Trait) ProtoMessage()
func (*Trait) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *Trait) XXX_DiscardUnknown()
func (*Trait) XXX_Marshal ¶ added in v0.0.7
func (*Trait) XXX_Unmarshal ¶ added in v0.0.7
type Uint ¶
func DecodeSequence ¶ added in v0.0.7
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) DeletePolicy ¶ added in v0.0.7
func (*UnimplementedMsgServer) DeletePolicy(ctx context.Context, req *MsgDeletePolicy) (*MsgDeletePolicyResponse, error)
func (*UnimplementedMsgServer) LeaveGroup ¶
func (*UnimplementedMsgServer) LeaveGroup(ctx context.Context, req *MsgLeaveGroup) (*MsgLeaveGroupResponse, error)
func (*UnimplementedMsgServer) MirrorBucket ¶ added in v0.0.9
func (*UnimplementedMsgServer) MirrorBucket(ctx context.Context, req *MsgMirrorBucket) (*MsgMirrorBucketResponse, error)
func (*UnimplementedMsgServer) MirrorGroup ¶ added in v0.0.9
func (*UnimplementedMsgServer) MirrorGroup(ctx context.Context, req *MsgMirrorGroup) (*MsgMirrorGroupResponse, error)
func (*UnimplementedMsgServer) MirrorObject ¶ added in v0.0.9
func (*UnimplementedMsgServer) MirrorObject(ctx context.Context, req *MsgMirrorObject) (*MsgMirrorObjectResponse, error)
func (*UnimplementedMsgServer) PutPolicy ¶ added in v0.0.7
func (*UnimplementedMsgServer) PutPolicy(ctx context.Context, req *MsgPutPolicy) (*MsgPutPolicyResponse, 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) HeadBucketById ¶ added in v0.0.7
func (*UnimplementedQueryServer) HeadBucketById(ctx context.Context, req *QueryHeadBucketByIdRequest) (*QueryHeadBucketResponse, error)
func (*UnimplementedQueryServer) HeadBucketNFT ¶ added in v0.0.7
func (*UnimplementedQueryServer) HeadBucketNFT(ctx context.Context, req *QueryNFTRequest) (*QueryBucketNFTResponse, error)
func (*UnimplementedQueryServer) HeadGroup ¶ added in v0.0.8
func (*UnimplementedQueryServer) HeadGroup(ctx context.Context, req *QueryHeadGroupRequest) (*QueryHeadGroupResponse, error)
func (*UnimplementedQueryServer) HeadGroupMember ¶ added in v0.0.8
func (*UnimplementedQueryServer) HeadGroupMember(ctx context.Context, req *QueryHeadGroupMemberRequest) (*QueryHeadGroupMemberResponse, error)
func (*UnimplementedQueryServer) HeadGroupNFT ¶ added in v0.0.7
func (*UnimplementedQueryServer) HeadGroupNFT(ctx context.Context, req *QueryNFTRequest) (*QueryGroupNFTResponse, error)
func (*UnimplementedQueryServer) HeadObject ¶ added in v0.0.6
func (*UnimplementedQueryServer) HeadObject(ctx context.Context, req *QueryHeadObjectRequest) (*QueryHeadObjectResponse, error)
func (*UnimplementedQueryServer) HeadObjectById ¶ added in v0.0.7
func (*UnimplementedQueryServer) HeadObjectById(ctx context.Context, req *QueryHeadObjectByIdRequest) (*QueryHeadObjectResponse, error)
func (*UnimplementedQueryServer) HeadObjectNFT ¶ added in v0.0.7
func (*UnimplementedQueryServer) HeadObjectNFT(ctx context.Context, req *QueryNFTRequest) (*QueryObjectNFTResponse, error)
func (*UnimplementedQueryServer) ListBuckets ¶ added in v0.0.6
func (*UnimplementedQueryServer) ListBuckets(ctx context.Context, req *QueryListBucketsRequest) (*QueryListBucketsResponse, error)
func (*UnimplementedQueryServer) ListGroup ¶ added in v0.0.8
func (*UnimplementedQueryServer) ListGroup(ctx context.Context, req *QueryListGroupRequest) (*QueryListGroupResponse, error)
func (*UnimplementedQueryServer) ListObjects ¶ added in v0.0.6
func (*UnimplementedQueryServer) ListObjects(ctx context.Context, req *QueryListObjectsRequest) (*QueryListObjectsResponse, error)
func (*UnimplementedQueryServer) ListObjectsByBucketId ¶ added in v0.0.7
func (*UnimplementedQueryServer) ListObjectsByBucketId(ctx context.Context, req *QueryListObjectsByBucketIdRequest) (*QueryListObjectsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueryPolicyForAccount ¶ added in v0.0.8
func (*UnimplementedQueryServer) QueryPolicyForAccount(ctx context.Context, req *QueryPolicyForAccountRequest) (*QueryPolicyForAccountResponse, error)
func (*UnimplementedQueryServer) QueryPolicyForGroup ¶ added in v0.0.8
func (*UnimplementedQueryServer) QueryPolicyForGroup(ctx context.Context, req *QueryPolicyForGroupRequest) (*QueryPolicyForGroupResponse, error)
func (*UnimplementedQueryServer) VerifyPermission ¶ added in v0.0.7
func (*UnimplementedQueryServer) VerifyPermission(ctx context.Context, req *QueryVerifyPermissionRequest) (*QueryVerifyPermissionResponse, error)
type UpdateGroupMemberAckPackage ¶ added in v0.0.9
type UpdateGroupMemberAckPackage struct { Status uint8 Id *big.Int Operator sdk.AccAddress OperationType uint8 Members []sdk.AccAddress ExtraData []byte }
func (UpdateGroupMemberAckPackage) MustSerialize ¶ added in v0.0.9
func (p UpdateGroupMemberAckPackage) MustSerialize() []byte
type UpdateGroupMemberSynPackage ¶ added in v0.0.9
type UpdateGroupMemberSynPackage struct { Operator sdk.AccAddress GroupId *big.Int OperationType uint8 Members []sdk.AccAddress ExtraData []byte }
func (UpdateGroupMemberSynPackage) GetMembers ¶ added in v0.0.9
func (p UpdateGroupMemberSynPackage) GetMembers() []string
func (UpdateGroupMemberSynPackage) ValidateBasic ¶ added in v0.0.9
func (p UpdateGroupMemberSynPackage) ValidateBasic() error
type VisibilityType ¶ added in v0.0.10
type VisibilityType int32
VisibilityType is the resources public status.
const ( VISIBILITY_TYPE_UNSPECIFIED VisibilityType = 0 VISIBILITY_TYPE_PUBLIC_READ VisibilityType = 1 VISIBILITY_TYPE_PRIVATE VisibilityType = 2 // If the bucket Visibility is inherit, it's finally set to private. If the object Visibility is inherit, it's the same as bucket. VISIBILITY_TYPE_INHERIT VisibilityType = 3 )
func (VisibilityType) EnumDescriptor ¶ added in v0.0.10
func (VisibilityType) EnumDescriptor() ([]byte, []int)
func (VisibilityType) String ¶ added in v0.0.10
func (x VisibilityType) String() string