Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- 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 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) GetCreateAt() int64
- func (m *BucketInfo) GetIsPublic() bool
- func (m *BucketInfo) GetOwner() string
- func (m *BucketInfo) GetPaymentAddress() string
- func (m *BucketInfo) GetPrimarySpAddress() string
- func (m *BucketInfo) GetReadQuota() uint64
- func (m *BucketInfo) GetSourceType() SourceType
- func (m *BucketInfo) Marshal() (dAtA []byte, err error)
- func (m *BucketInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *BucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BucketInfo) ProtoMessage()
- func (m *BucketInfo) Reset()
- func (m *BucketInfo) Size() (n int)
- func (m *BucketInfo) String() string
- func (m *BucketInfo) 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 EventCancelCreateObject
- func (*EventCancelCreateObject) Descriptor() ([]byte, []int)
- func (m *EventCancelCreateObject) GetBucketName() string
- func (m *EventCancelCreateObject) GetObjectName() string
- func (m *EventCancelCreateObject) GetOperatorAddress() string
- func (m *EventCancelCreateObject) GetPrimarySpAddress() string
- func (m *EventCancelCreateObject) Marshal() (dAtA []byte, err error)
- func (m *EventCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancelCreateObject) ProtoMessage()
- func (m *EventCancelCreateObject) Reset()
- func (m *EventCancelCreateObject) Size() (n int)
- func (m *EventCancelCreateObject) String() string
- func (m *EventCancelCreateObject) Unmarshal(dAtA []byte) error
- func (m *EventCancelCreateObject) XXX_DiscardUnknown()
- func (m *EventCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancelCreateObject) XXX_Merge(src proto.Message)
- func (m *EventCancelCreateObject) XXX_Size() int
- func (m *EventCancelCreateObject) XXX_Unmarshal(b []byte) error
- type EventCopyObject
- func (*EventCopyObject) Descriptor() ([]byte, []int)
- func (m *EventCopyObject) GetDstBucketName() string
- func (m *EventCopyObject) GetDstObjectName() string
- func (m *EventCopyObject) GetOperatorAddress() string
- func (m *EventCopyObject) GetSrcBucketName() string
- func (m *EventCopyObject) GetSrcObjectName() string
- func (m *EventCopyObject) Marshal() (dAtA []byte, err error)
- func (m *EventCopyObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCopyObject) ProtoMessage()
- func (m *EventCopyObject) Reset()
- func (m *EventCopyObject) Size() (n int)
- func (m *EventCopyObject) String() string
- func (m *EventCopyObject) Unmarshal(dAtA []byte) error
- func (m *EventCopyObject) XXX_DiscardUnknown()
- func (m *EventCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCopyObject) XXX_Merge(src proto.Message)
- func (m *EventCopyObject) XXX_Size() int
- func (m *EventCopyObject) XXX_Unmarshal(b []byte) error
- type EventCreateBucket
- func (*EventCreateBucket) Descriptor() ([]byte, []int)
- func (m *EventCreateBucket) GetBucketName() string
- func (m *EventCreateBucket) GetCreateAt() int64
- func (m *EventCreateBucket) GetIsPublic() bool
- func (m *EventCreateBucket) GetOwnerAddress() string
- func (m *EventCreateBucket) GetPaymentAddress() string
- func (m *EventCreateBucket) GetPrimarySpAddress() string
- func (m *EventCreateBucket) GetReadQuota() uint64
- func (m *EventCreateBucket) GetSourceType() SourceType
- func (m *EventCreateBucket) Marshal() (dAtA []byte, err error)
- func (m *EventCreateBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateBucket) ProtoMessage()
- func (m *EventCreateBucket) Reset()
- func (m *EventCreateBucket) Size() (n int)
- func (m *EventCreateBucket) String() string
- func (m *EventCreateBucket) Unmarshal(dAtA []byte) error
- func (m *EventCreateBucket) XXX_DiscardUnknown()
- func (m *EventCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateBucket) XXX_Merge(src proto.Message)
- func (m *EventCreateBucket) XXX_Size() int
- func (m *EventCreateBucket) XXX_Unmarshal(b []byte) error
- type EventCreateGroup
- func (*EventCreateGroup) Descriptor() ([]byte, []int)
- func (m *EventCreateGroup) GetGroupName() string
- func (m *EventCreateGroup) GetMembers() []string
- func (m *EventCreateGroup) GetOwnerAddress() string
- func (m *EventCreateGroup) GetSourceType() SourceType
- func (m *EventCreateGroup) Marshal() (dAtA []byte, err error)
- func (m *EventCreateGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateGroup) ProtoMessage()
- func (m *EventCreateGroup) Reset()
- func (m *EventCreateGroup) Size() (n int)
- func (m *EventCreateGroup) String() string
- func (m *EventCreateGroup) Unmarshal(dAtA []byte) error
- func (m *EventCreateGroup) XXX_DiscardUnknown()
- func (m *EventCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateGroup) XXX_Merge(src proto.Message)
- func (m *EventCreateGroup) XXX_Size() int
- func (m *EventCreateGroup) XXX_Unmarshal(b []byte) error
- type EventCreateObject
- func (*EventCreateObject) Descriptor() ([]byte, []int)
- func (m *EventCreateObject) GetBucketName() string
- func (m *EventCreateObject) GetChecksums() [][]byte
- func (m *EventCreateObject) GetContentType() string
- func (m *EventCreateObject) GetCreateAt() int64
- func (m *EventCreateObject) GetCreatorAddress() string
- func (m *EventCreateObject) GetIsPublic() bool
- func (m *EventCreateObject) GetObjectName() string
- func (m *EventCreateObject) GetOwnerAddress() string
- func (m *EventCreateObject) GetPayloadSize() uint64
- func (m *EventCreateObject) GetPrimarySpAddress() string
- func (m *EventCreateObject) GetRedundancyType() RedundancyType
- func (m *EventCreateObject) GetSourceType() SourceType
- func (m *EventCreateObject) GetStatus() ObjectStatus
- func (m *EventCreateObject) Marshal() (dAtA []byte, err error)
- func (m *EventCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateObject) ProtoMessage()
- func (m *EventCreateObject) Reset()
- func (m *EventCreateObject) Size() (n int)
- func (m *EventCreateObject) String() string
- func (m *EventCreateObject) Unmarshal(dAtA []byte) error
- func (m *EventCreateObject) XXX_DiscardUnknown()
- func (m *EventCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateObject) XXX_Merge(src proto.Message)
- func (m *EventCreateObject) XXX_Size() int
- func (m *EventCreateObject) XXX_Unmarshal(b []byte) error
- type EventDeleteBucket
- func (*EventDeleteBucket) Descriptor() ([]byte, []int)
- func (m *EventDeleteBucket) GetBucketName() string
- func (m *EventDeleteBucket) GetOperatorAddress() string
- func (m *EventDeleteBucket) GetOwnerAddress() string
- func (m *EventDeleteBucket) GetPrimarySpAddress() string
- func (m *EventDeleteBucket) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteBucket) ProtoMessage()
- func (m *EventDeleteBucket) Reset()
- func (m *EventDeleteBucket) Size() (n int)
- func (m *EventDeleteBucket) String() string
- func (m *EventDeleteBucket) Unmarshal(dAtA []byte) error
- func (m *EventDeleteBucket) XXX_DiscardUnknown()
- func (m *EventDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteBucket) XXX_Merge(src proto.Message)
- func (m *EventDeleteBucket) XXX_Size() int
- func (m *EventDeleteBucket) XXX_Unmarshal(b []byte) error
- type EventDeleteGroup
- func (*EventDeleteGroup) Descriptor() ([]byte, []int)
- func (m *EventDeleteGroup) GetGroupName() string
- func (m *EventDeleteGroup) GetOwnerAddress() string
- func (m *EventDeleteGroup) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteGroup) ProtoMessage()
- func (m *EventDeleteGroup) Reset()
- func (m *EventDeleteGroup) Size() (n int)
- func (m *EventDeleteGroup) String() string
- func (m *EventDeleteGroup) Unmarshal(dAtA []byte) error
- func (m *EventDeleteGroup) XXX_DiscardUnknown()
- func (m *EventDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteGroup) XXX_Merge(src proto.Message)
- func (m *EventDeleteGroup) XXX_Size() int
- func (m *EventDeleteGroup) XXX_Unmarshal(b []byte) error
- type EventDeleteObject
- func (*EventDeleteObject) Descriptor() ([]byte, []int)
- func (m *EventDeleteObject) GetBucketName() string
- func (m *EventDeleteObject) GetObjectName() string
- func (m *EventDeleteObject) GetOperatorAddress() string
- func (m *EventDeleteObject) GetPrimarySpAddress() string
- func (m *EventDeleteObject) GetSecondarySpAddresses() []string
- func (m *EventDeleteObject) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteObject) ProtoMessage()
- func (m *EventDeleteObject) Reset()
- func (m *EventDeleteObject) Size() (n int)
- func (m *EventDeleteObject) String() string
- func (m *EventDeleteObject) Unmarshal(dAtA []byte) error
- func (m *EventDeleteObject) XXX_DiscardUnknown()
- func (m *EventDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteObject) XXX_Merge(src proto.Message)
- func (m *EventDeleteObject) XXX_Size() int
- func (m *EventDeleteObject) XXX_Unmarshal(b []byte) error
- type EventLeaveGroup
- func (*EventLeaveGroup) Descriptor() ([]byte, []int)
- func (m *EventLeaveGroup) GetGroupName() string
- func (m *EventLeaveGroup) GetMemberAddress() string
- func (m *EventLeaveGroup) GetOwnerAddress() string
- func (m *EventLeaveGroup) Marshal() (dAtA []byte, err error)
- func (m *EventLeaveGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLeaveGroup) ProtoMessage()
- func (m *EventLeaveGroup) Reset()
- func (m *EventLeaveGroup) Size() (n int)
- func (m *EventLeaveGroup) String() string
- func (m *EventLeaveGroup) Unmarshal(dAtA []byte) error
- func (m *EventLeaveGroup) XXX_DiscardUnknown()
- func (m *EventLeaveGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLeaveGroup) XXX_Merge(src proto.Message)
- func (m *EventLeaveGroup) XXX_Size() int
- func (m *EventLeaveGroup) XXX_Unmarshal(b []byte) error
- type EventRejectSealObject
- func (*EventRejectSealObject) Descriptor() ([]byte, []int)
- func (m *EventRejectSealObject) GetBucketName() string
- func (m *EventRejectSealObject) GetObjectName() string
- func (m *EventRejectSealObject) GetOperatorAddress() string
- func (m *EventRejectSealObject) Marshal() (dAtA []byte, err error)
- func (m *EventRejectSealObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRejectSealObject) ProtoMessage()
- func (m *EventRejectSealObject) Reset()
- func (m *EventRejectSealObject) Size() (n int)
- func (m *EventRejectSealObject) String() string
- func (m *EventRejectSealObject) Unmarshal(dAtA []byte) error
- func (m *EventRejectSealObject) XXX_DiscardUnknown()
- func (m *EventRejectSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRejectSealObject) XXX_Merge(src proto.Message)
- func (m *EventRejectSealObject) XXX_Size() int
- func (m *EventRejectSealObject) XXX_Unmarshal(b []byte) error
- type EventSealObject
- func (*EventSealObject) Descriptor() ([]byte, []int)
- func (m *EventSealObject) GetBucketName() string
- func (m *EventSealObject) GetObjectName() string
- func (m *EventSealObject) GetOperatorAddress() string
- func (m *EventSealObject) GetSecondarySpAddress() []string
- func (m *EventSealObject) GetStatus() ObjectStatus
- func (m *EventSealObject) Marshal() (dAtA []byte, err error)
- func (m *EventSealObject) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSealObject) ProtoMessage()
- func (m *EventSealObject) Reset()
- func (m *EventSealObject) Size() (n int)
- func (m *EventSealObject) String() string
- func (m *EventSealObject) Unmarshal(dAtA []byte) error
- func (m *EventSealObject) XXX_DiscardUnknown()
- func (m *EventSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSealObject) XXX_Merge(src proto.Message)
- func (m *EventSealObject) XXX_Size() int
- func (m *EventSealObject) XXX_Unmarshal(b []byte) error
- type EventUpdateBucketInfo
- func (*EventUpdateBucketInfo) Descriptor() ([]byte, []int)
- func (m *EventUpdateBucketInfo) GetBucketName() string
- func (m *EventUpdateBucketInfo) GetOperatorAddress() string
- func (m *EventUpdateBucketInfo) GetPaymentAddressAfter() string
- func (m *EventUpdateBucketInfo) GetPaymentAddressBefore() string
- func (m *EventUpdateBucketInfo) GetReadQuotaAfter() uint64
- func (m *EventUpdateBucketInfo) GetReadQuotaBefore() uint64
- 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 MsgCancelCreateObject
- func (*MsgCancelCreateObject) Descriptor() ([]byte, []int)
- func (m *MsgCancelCreateObject) GetBucketName() string
- func (m *MsgCancelCreateObject) GetObjectName() string
- func (m *MsgCancelCreateObject) GetOperator() string
- func (msg *MsgCancelCreateObject) GetSignBytes() []byte
- func (msg *MsgCancelCreateObject) GetSigners() []sdk.AccAddress
- func (m *MsgCancelCreateObject) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelCreateObject) ProtoMessage()
- func (m *MsgCancelCreateObject) Reset()
- func (msg *MsgCancelCreateObject) Route() string
- func (m *MsgCancelCreateObject) Size() (n int)
- func (m *MsgCancelCreateObject) String() string
- func (msg *MsgCancelCreateObject) Type() string
- func (m *MsgCancelCreateObject) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelCreateObject) ValidateBasic() error
- func (m *MsgCancelCreateObject) XXX_DiscardUnknown()
- func (m *MsgCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelCreateObject) XXX_Merge(src proto.Message)
- func (m *MsgCancelCreateObject) XXX_Size() int
- func (m *MsgCancelCreateObject) XXX_Unmarshal(b []byte) error
- type MsgCancelCreateObjectResponse
- func (*MsgCancelCreateObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelCreateObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelCreateObjectResponse) ProtoMessage()
- func (m *MsgCancelCreateObjectResponse) Reset()
- func (m *MsgCancelCreateObjectResponse) Size() (n int)
- func (m *MsgCancelCreateObjectResponse) String() string
- func (m *MsgCancelCreateObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelCreateObjectResponse) XXX_DiscardUnknown()
- func (m *MsgCancelCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelCreateObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelCreateObjectResponse) XXX_Size() int
- func (m *MsgCancelCreateObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCopyObject
- func (*MsgCopyObject) Descriptor() ([]byte, []int)
- func (msg *MsgCopyObject) GetApprovalBytes() []byte
- func (m *MsgCopyObject) GetDstBucketName() string
- func (m *MsgCopyObject) GetDstObjectName() string
- func (m *MsgCopyObject) GetDstPrimarySpApproval() *Approval
- func (m *MsgCopyObject) GetOperator() string
- func (msg *MsgCopyObject) GetSignBytes() []byte
- func (msg *MsgCopyObject) GetSigners() []sdk.AccAddress
- func (m *MsgCopyObject) GetSrcBucketName() string
- func (m *MsgCopyObject) GetSrcObjectName() string
- func (m *MsgCopyObject) Marshal() (dAtA []byte, err error)
- func (m *MsgCopyObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCopyObject) ProtoMessage()
- func (m *MsgCopyObject) Reset()
- func (msg *MsgCopyObject) Route() string
- func (m *MsgCopyObject) Size() (n int)
- func (m *MsgCopyObject) String() string
- func (msg *MsgCopyObject) Type() string
- func (m *MsgCopyObject) Unmarshal(dAtA []byte) error
- func (msg *MsgCopyObject) ValidateBasic() error
- func (m *MsgCopyObject) XXX_DiscardUnknown()
- func (m *MsgCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCopyObject) XXX_Merge(src proto.Message)
- func (m *MsgCopyObject) XXX_Size() int
- func (m *MsgCopyObject) XXX_Unmarshal(b []byte) error
- type MsgCopyObjectResponse
- func (*MsgCopyObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCopyObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCopyObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCopyObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCopyObjectResponse) ProtoMessage()
- func (m *MsgCopyObjectResponse) Reset()
- func (m *MsgCopyObjectResponse) Size() (n int)
- func (m *MsgCopyObjectResponse) String() string
- func (m *MsgCopyObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCopyObjectResponse) XXX_DiscardUnknown()
- func (m *MsgCopyObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCopyObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCopyObjectResponse) XXX_Size() int
- func (m *MsgCopyObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateBucket
- func (*MsgCreateBucket) Descriptor() ([]byte, []int)
- func (msg *MsgCreateBucket) GetApprovalBytes() []byte
- func (m *MsgCreateBucket) GetBucketName() string
- func (m *MsgCreateBucket) GetCreator() string
- func (m *MsgCreateBucket) GetIsPublic() bool
- func (m *MsgCreateBucket) GetPaymentAddress() string
- func (m *MsgCreateBucket) GetPrimarySpAddress() string
- func (m *MsgCreateBucket) GetPrimarySpApproval() *Approval
- func (m *MsgCreateBucket) GetReadQuota() uint64
- func (msg *MsgCreateBucket) GetSignBytes() []byte
- func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress
- func (m *MsgCreateBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBucket) ProtoMessage()
- func (m *MsgCreateBucket) Reset()
- func (msg *MsgCreateBucket) Route() string
- func (m *MsgCreateBucket) Size() (n int)
- func (m *MsgCreateBucket) String() string
- func (msg *MsgCreateBucket) Type() string
- func (m *MsgCreateBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateBucket) ValidateBasic() error
- func (m *MsgCreateBucket) XXX_DiscardUnknown()
- func (m *MsgCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBucket) XXX_Merge(src proto.Message)
- func (m *MsgCreateBucket) XXX_Size() int
- func (m *MsgCreateBucket) XXX_Unmarshal(b []byte) error
- type MsgCreateBucketResponse
- func (*MsgCreateBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBucketResponse) ProtoMessage()
- func (m *MsgCreateBucketResponse) Reset()
- func (m *MsgCreateBucketResponse) Size() (n int)
- func (m *MsgCreateBucketResponse) String() string
- func (m *MsgCreateBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateBucketResponse) XXX_DiscardUnknown()
- func (m *MsgCreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateBucketResponse) XXX_Size() int
- func (m *MsgCreateBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateGroup
- func (*MsgCreateGroup) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroup) GetCreator() string
- func (m *MsgCreateGroup) GetGroupName() string
- func (m *MsgCreateGroup) GetMembers() []string
- func (msg *MsgCreateGroup) GetSignBytes() []byte
- func (msg *MsgCreateGroup) GetSigners() []sdk.AccAddress
- func (m *MsgCreateGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroup) ProtoMessage()
- func (m *MsgCreateGroup) Reset()
- func (msg *MsgCreateGroup) Route() string
- func (m *MsgCreateGroup) Size() (n int)
- func (m *MsgCreateGroup) String() string
- func (msg *MsgCreateGroup) Type() string
- func (m *MsgCreateGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateGroup) ValidateBasic() error
- func (m *MsgCreateGroup) XXX_DiscardUnknown()
- func (m *MsgCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroup) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroup) XXX_Size() int
- func (m *MsgCreateGroup) XXX_Unmarshal(b []byte) error
- type MsgCreateGroupResponse
- func (*MsgCreateGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroupResponse) ProtoMessage()
- func (m *MsgCreateGroupResponse) Reset()
- func (m *MsgCreateGroupResponse) Size() (n int)
- func (m *MsgCreateGroupResponse) String() string
- func (m *MsgCreateGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateGroupResponse) XXX_DiscardUnknown()
- func (m *MsgCreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroupResponse) XXX_Size() int
- func (m *MsgCreateGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateObject
- func (*MsgCreateObject) Descriptor() ([]byte, []int)
- func (msg *MsgCreateObject) GetApprovalBytes() []byte
- func (m *MsgCreateObject) GetBucketName() string
- func (m *MsgCreateObject) GetContentType() string
- func (m *MsgCreateObject) GetCreator() string
- func (m *MsgCreateObject) GetExpectChecksums() [][]byte
- func (m *MsgCreateObject) GetExpectSecondarySpAddresses() []string
- func (m *MsgCreateObject) GetIsPublic() bool
- func (m *MsgCreateObject) GetObjectName() string
- func (m *MsgCreateObject) GetPayloadSize() uint64
- func (m *MsgCreateObject) GetPrimarySpApproval() *Approval
- func (m *MsgCreateObject) GetRedundancyType() RedundancyType
- func (msg *MsgCreateObject) GetSignBytes() []byte
- func (msg *MsgCreateObject) GetSigners() []sdk.AccAddress
- func (m *MsgCreateObject) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateObject) ProtoMessage()
- func (m *MsgCreateObject) Reset()
- func (msg *MsgCreateObject) Route() string
- func (m *MsgCreateObject) Size() (n int)
- func (m *MsgCreateObject) String() string
- func (msg *MsgCreateObject) Type() string
- func (m *MsgCreateObject) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateObject) ValidateBasic() error
- func (m *MsgCreateObject) XXX_DiscardUnknown()
- func (m *MsgCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateObject) XXX_Merge(src proto.Message)
- func (m *MsgCreateObject) XXX_Size() int
- func (m *MsgCreateObject) XXX_Unmarshal(b []byte) error
- type MsgCreateObjectResponse
- func (*MsgCreateObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateObjectResponse) ProtoMessage()
- func (m *MsgCreateObjectResponse) Reset()
- func (m *MsgCreateObjectResponse) Size() (n int)
- func (m *MsgCreateObjectResponse) String() string
- func (m *MsgCreateObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateObjectResponse) XXX_DiscardUnknown()
- func (m *MsgCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateObjectResponse) XXX_Size() int
- func (m *MsgCreateObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteBucket
- func (*MsgDeleteBucket) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBucket) GetBucketName() string
- func (m *MsgDeleteBucket) GetOperator() string
- func (msg *MsgDeleteBucket) GetSignBytes() []byte
- func (msg *MsgDeleteBucket) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBucket) ProtoMessage()
- func (m *MsgDeleteBucket) Reset()
- func (msg *MsgDeleteBucket) Route() string
- func (m *MsgDeleteBucket) Size() (n int)
- func (m *MsgDeleteBucket) String() string
- func (msg *MsgDeleteBucket) Type() string
- func (m *MsgDeleteBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteBucket) ValidateBasic() error
- func (m *MsgDeleteBucket) XXX_DiscardUnknown()
- func (m *MsgDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBucket) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBucket) XXX_Size() int
- func (m *MsgDeleteBucket) XXX_Unmarshal(b []byte) error
- type MsgDeleteBucketResponse
- func (*MsgDeleteBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBucketResponse) ProtoMessage()
- func (m *MsgDeleteBucketResponse) Reset()
- func (m *MsgDeleteBucketResponse) Size() (n int)
- func (m *MsgDeleteBucketResponse) String() string
- func (m *MsgDeleteBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteBucketResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBucketResponse) XXX_Size() int
- func (m *MsgDeleteBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteGroup
- func (*MsgDeleteGroup) Descriptor() ([]byte, []int)
- func (m *MsgDeleteGroup) GetGroupName() string
- func (m *MsgDeleteGroup) GetOperator() string
- func (msg *MsgDeleteGroup) GetSignBytes() []byte
- func (msg *MsgDeleteGroup) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteGroup) ProtoMessage()
- func (m *MsgDeleteGroup) Reset()
- func (msg *MsgDeleteGroup) Route() string
- func (m *MsgDeleteGroup) Size() (n int)
- func (m *MsgDeleteGroup) String() string
- func (msg *MsgDeleteGroup) Type() string
- func (m *MsgDeleteGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteGroup) ValidateBasic() error
- func (m *MsgDeleteGroup) XXX_DiscardUnknown()
- func (m *MsgDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteGroup) XXX_Merge(src proto.Message)
- func (m *MsgDeleteGroup) XXX_Size() int
- func (m *MsgDeleteGroup) XXX_Unmarshal(b []byte) error
- type MsgDeleteGroupResponse
- func (*MsgDeleteGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteGroupResponse) ProtoMessage()
- func (m *MsgDeleteGroupResponse) Reset()
- func (m *MsgDeleteGroupResponse) Size() (n int)
- func (m *MsgDeleteGroupResponse) String() string
- func (m *MsgDeleteGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteGroupResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteGroupResponse) XXX_Size() int
- func (m *MsgDeleteGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteObject
- func (*MsgDeleteObject) Descriptor() ([]byte, []int)
- func (m *MsgDeleteObject) GetBucketName() string
- func (m *MsgDeleteObject) GetObjectName() string
- func (m *MsgDeleteObject) GetOperator() string
- func (msg *MsgDeleteObject) GetSignBytes() []byte
- func (msg *MsgDeleteObject) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteObject) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteObject) ProtoMessage()
- func (m *MsgDeleteObject) Reset()
- func (msg *MsgDeleteObject) Route() string
- func (m *MsgDeleteObject) Size() (n int)
- func (m *MsgDeleteObject) String() string
- func (msg *MsgDeleteObject) Type() string
- func (m *MsgDeleteObject) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteObject) ValidateBasic() error
- func (m *MsgDeleteObject) XXX_DiscardUnknown()
- func (m *MsgDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteObject) XXX_Merge(src proto.Message)
- func (m *MsgDeleteObject) XXX_Size() int
- func (m *MsgDeleteObject) XXX_Unmarshal(b []byte) error
- type MsgDeleteObjectResponse
- func (*MsgDeleteObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteObjectResponse) ProtoMessage()
- func (m *MsgDeleteObjectResponse) Reset()
- func (m *MsgDeleteObjectResponse) Size() (n int)
- func (m *MsgDeleteObjectResponse) String() string
- func (m *MsgDeleteObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteObjectResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteObjectResponse) XXX_Size() int
- func (m *MsgDeleteObjectResponse) XXX_Unmarshal(b []byte) error
- type 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 MsgPutPolicy
- func (*MsgPutPolicy) Descriptor() ([]byte, []int)
- 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) GetOperator() string
- func (m *MsgUpdateBucketInfo) GetPaymentAddress() string
- func (m *MsgUpdateBucketInfo) GetReadQuota() uint64
- func (msg *MsgUpdateBucketInfo) GetSignBytes() []byte
- func (msg *MsgUpdateBucketInfo) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateBucketInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBucketInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBucketInfo) ProtoMessage()
- func (m *MsgUpdateBucketInfo) Reset()
- func (msg *MsgUpdateBucketInfo) Route() string
- func (m *MsgUpdateBucketInfo) Size() (n int)
- func (m *MsgUpdateBucketInfo) String() string
- func (msg *MsgUpdateBucketInfo) Type() string
- func (m *MsgUpdateBucketInfo) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateBucketInfo) ValidateBasic() error
- func (m *MsgUpdateBucketInfo) XXX_DiscardUnknown()
- func (m *MsgUpdateBucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBucketInfo) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBucketInfo) XXX_Size() int
- func (m *MsgUpdateBucketInfo) XXX_Unmarshal(b []byte) error
- type MsgUpdateBucketInfoResponse
- func (*MsgUpdateBucketInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBucketInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBucketInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBucketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBucketInfoResponse) ProtoMessage()
- func (m *MsgUpdateBucketInfoResponse) Reset()
- func (m *MsgUpdateBucketInfoResponse) Size() (n int)
- func (m *MsgUpdateBucketInfoResponse) String() string
- func (m *MsgUpdateBucketInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateBucketInfoResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateBucketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBucketInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBucketInfoResponse) XXX_Size() int
- func (m *MsgUpdateBucketInfoResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMember
- func (*MsgUpdateGroupMember) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMember) GetGroupName() string
- func (m *MsgUpdateGroupMember) GetMembersToAdd() []string
- func (m *MsgUpdateGroupMember) GetMembersToDelete() []string
- func (m *MsgUpdateGroupMember) GetOperator() string
- func (msg *MsgUpdateGroupMember) GetSignBytes() []byte
- func (msg *MsgUpdateGroupMember) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupMember) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMember) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMember) ProtoMessage()
- func (m *MsgUpdateGroupMember) Reset()
- func (msg *MsgUpdateGroupMember) Route() string
- func (m *MsgUpdateGroupMember) Size() (n int)
- func (m *MsgUpdateGroupMember) String() string
- func (msg *MsgUpdateGroupMember) Type() string
- func (m *MsgUpdateGroupMember) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateGroupMember) ValidateBasic() error
- func (m *MsgUpdateGroupMember) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMember) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMember) XXX_Size() int
- func (m *MsgUpdateGroupMember) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMemberResponse
- func (*MsgUpdateGroupMemberResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMemberResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMemberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMemberResponse) ProtoMessage()
- func (m *MsgUpdateGroupMemberResponse) Reset()
- func (m *MsgUpdateGroupMemberResponse) Size() (n int)
- func (m *MsgUpdateGroupMemberResponse) String() string
- func (m *MsgUpdateGroupMemberResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupMemberResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMemberResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMemberResponse) XXX_Size() int
- func (m *MsgUpdateGroupMemberResponse) XXX_Unmarshal(b []byte) error
- type ObjectInfo
- func (*ObjectInfo) Descriptor() ([]byte, []int)
- func (m *ObjectInfo) GetBucketName() string
- func (m *ObjectInfo) GetChecksums() [][]byte
- func (m *ObjectInfo) GetContentType() string
- func (m *ObjectInfo) GetCreateAt() int64
- func (m *ObjectInfo) GetIsPublic() bool
- func (m *ObjectInfo) GetObjectName() string
- func (m *ObjectInfo) GetObjectStatus() ObjectStatus
- func (m *ObjectInfo) GetOwner() string
- func (m *ObjectInfo) GetPayloadSize() uint64
- func (m *ObjectInfo) GetRedundancyType() RedundancyType
- func (m *ObjectInfo) GetSecondarySpAddresses() []string
- func (m *ObjectInfo) GetSourceType() SourceType
- func (m *ObjectInfo) Marshal() (dAtA []byte, err error)
- func (m *ObjectInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectInfo) ProtoMessage()
- func (m *ObjectInfo) Reset()
- func (m *ObjectInfo) Size() (n int)
- func (m *ObjectInfo) String() string
- func (m *ObjectInfo) 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) GetMaxPayloadSize() uint64
- func (m *Params) GetMaxSegmentSize() uint64
- func (m *Params) GetMinChargeSize() uint64
- func (m *Params) GetRedundantDataChunkNum() uint32
- func (m *Params) GetRedundantParityChunkNum() uint32
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PaymentKeeper
- type 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 QueryGetPolicyRequest
- func (*QueryGetPolicyRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPolicyRequest) GetPolicyId() string
- func (m *QueryGetPolicyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPolicyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPolicyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPolicyRequest) ProtoMessage()
- func (m *QueryGetPolicyRequest) Reset()
- func (m *QueryGetPolicyRequest) Size() (n int)
- func (m *QueryGetPolicyRequest) String() string
- func (m *QueryGetPolicyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPolicyRequest) XXX_DiscardUnknown()
- func (m *QueryGetPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPolicyRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPolicyRequest) XXX_Size() int
- func (m *QueryGetPolicyRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPolicyResponse
- func (*QueryGetPolicyResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPolicyResponse) GetPolicy() *types.Policy
- func (m *QueryGetPolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPolicyResponse) ProtoMessage()
- func (m *QueryGetPolicyResponse) Reset()
- func (m *QueryGetPolicyResponse) Size() (n int)
- func (m *QueryGetPolicyResponse) String() string
- func (m *QueryGetPolicyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPolicyResponse) XXX_DiscardUnknown()
- func (m *QueryGetPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPolicyResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPolicyResponse) XXX_Size() int
- func (m *QueryGetPolicyResponse) XXX_Unmarshal(b []byte) error
- 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 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 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 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) 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) GetPolicy(ctx context.Context, req *QueryGetPolicyRequest) (*QueryGetPolicyResponse, error)
- 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) 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) 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) VerifyPermission(ctx context.Context, req *QueryVerifyPermissionRequest) (*QueryVerifyPermissionResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "storage" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_storage" )
const ( // For bucket TypeMsgCreateBucket = "create_bucket" TypeMsgDeleteBucket = "delete_bucket" TypeMsgUpdateBucketInfo = "update_bucket_info" // For object TypeMsgCopyObject = "copy_object" TypeMsgCreateObject = "create_object" TypeMsgDeleteObject = "delete_object" TypeMsgSealObject = "seal_object" TypeMsgRejectSealObject = "reject_seal_object" TypeMsgCancelCreateObject = "cancel_create_object" // For group TypeMsgCreateGroup = "create_group" TypeMsgDeleteGroup = "delete_group" TypeMsgLeaveGroup = "leave_group" TypeMsgUpdateGroupMember = "update_group_member" // 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 DefaultMinChargeSize uint64 = 1 * 1024 * 1024 // 1M )
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 )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group") )
var ( ErrNoSuchBucket = errors.Register(ModuleName, 1100, "No such bucket") ErrNoSuchObject = errors.Register(ModuleName, 1101, "No such object") ErrNoSuchGroup = errors.Register(ModuleName, 1102, "No such group") ErrBucketAlreadyExists = errors.Register(ModuleName, 1103, "Bucket already exists") ErrObjectAlreadyExists = errors.Register(ModuleName, 1104, "Object already exists") ErrGroupAlreadyExists = errors.Register(ModuleName, 1105, "Group already exists") ErrAccessDenied = errors.Register(ModuleName, 1106, "Access denied") ErrObjectAlreadySealed = errors.Register(ModuleName, 1107, "Object already sealed") ErrBucketNotEmpty = errors.Register(ModuleName, 1108, "Bucket is not empty") ErrGroupMemberAlreadyExists = errors.Register(ModuleName, 1110, "Group member already exists") ErrNoSuchStorageProvider = errors.Register(ModuleName, 1112, "No such storage provider") ErrObjectNotInit = errors.Register(ModuleName, 1114, "Not a INIT object") ErrObjectNotInService = errors.Register(ModuleName, 1115, "Object not in service") ErrSourceTypeMismatch = errors.Register(ModuleName, 1116, "Object source type mismatch") ErrTooLargeObject = errors.Register(ModuleName, 1117, "Object payload size is too large") ErrInvalidApproval = errors.Register(ModuleName, 1118, "Invalid approval of sp") ErrBucketBillNotEmpty = errors.Register(ModuleName, 1119, "bucket bill is not empty") ErrNoSuchPolicy = errors.Register(ModuleName, 1120, "No such Policy") ErrInvalidParameter = errors.Register(ModuleName, 1121, "Invalid parameter") )
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") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var ObjectStatus_name = map[int32]string{
0: "OBJECT_STATUS_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_REPLICA_TYPE",
1: "REDUNDANCY_EC_TYPE",
}
var RedundancyType_value = map[string]int32{
"REDUNDANCY_REPLICA_TYPE": 0,
"REDUNDANCY_EC_TYPE": 1,
}
var SourceType_name = map[int32]string{
0: "SOURCE_TYPE_ORIGIN",
1: "SOURCE_TYPE_BSC_CROSS_CHAIN",
}
var SourceType_value = map[string]int32{
"SOURCE_TYPE_ORIGIN": 0,
"SOURCE_TYPE_BSC_CROSS_CHAIN": 1,
}
Functions ¶
func 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 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 { ExpiredHeight uint64 `protobuf:"varint,1,opt,name=expired_height,json=expiredHeight,proto3" json:"expired_height,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` }
func (*Approval) Descriptor ¶ added in v0.0.6
func (*Approval) GetExpiredHeight ¶ added in v0.0.6
func (*Approval) MarshalToSizedBuffer ¶ added in v0.0.6
func (*Approval) ProtoMessage ¶ added in v0.0.6
func (*Approval) ProtoMessage()
func (*Approval) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *Approval) XXX_DiscardUnknown()
func (*Approval) XXX_Marshal ¶ added in v0.0.6
func (*Approval) XXX_Unmarshal ¶ added in v0.0.6
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type 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"` // is_public define the highest permissions for bucket. When the bucket is public, everyone can get storage objects in it. IsPublic bool `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // id is the unique identification for bucket. Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // source_type 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 number when the bucket created. CreateAt int64 `protobuf:"varint,6,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // payment_address is the address of the payment account PaymentAddress string `protobuf:"bytes,7,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` // primary_sp_address is the address of the primary sp. Objects belongs to this bucket will never // leave this SP, unless you explicitly shift them to another SP. PrimarySpAddress string `protobuf:"bytes,8,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // read_quota defines the traffic quota for read in bytes per month ReadQuota uint64 `protobuf:"varint,9,opt,name=read_quota,json=readQuota,proto3" json:"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) GetCreateAt ¶
func (m *BucketInfo) GetCreateAt() int64
func (*BucketInfo) GetIsPublic ¶
func (m *BucketInfo) GetIsPublic() bool
func (*BucketInfo) GetOwner ¶
func (m *BucketInfo) GetOwner() string
func (*BucketInfo) GetPaymentAddress ¶
func (m *BucketInfo) GetPaymentAddress() string
func (*BucketInfo) GetPrimarySpAddress ¶
func (m *BucketInfo) GetPrimarySpAddress() string
func (*BucketInfo) GetReadQuota ¶
func (m *BucketInfo) GetReadQuota() uint64
func (*BucketInfo) GetSourceType ¶ added in v0.0.6
func (m *BucketInfo) GetSourceType() SourceType
func (*BucketInfo) Marshal ¶
func (m *BucketInfo) Marshal() (dAtA []byte, err error)
func (*BucketInfo) MarshalToSizedBuffer ¶
func (m *BucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BucketInfo) ProtoMessage ¶
func (*BucketInfo) ProtoMessage()
func (*BucketInfo) Reset ¶
func (m *BucketInfo) Reset()
func (*BucketInfo) Size ¶
func (m *BucketInfo) Size() (n int)
func (*BucketInfo) String ¶
func (m *BucketInfo) String() string
func (*BucketInfo) 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 EventCancelCreateObject ¶ added in v0.0.6
type EventCancelCreateObject struct { // operator_address define the account address of operator who cancel create object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // primary_sp_address define the operator account address of the sp PrimarySpAddress string `protobuf:"bytes,4,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,6,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventSealObject is emitted on MsgSealObject
func (*EventCancelCreateObject) Descriptor ¶ added in v0.0.6
func (*EventCancelCreateObject) Descriptor() ([]byte, []int)
func (*EventCancelCreateObject) GetBucketName ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetBucketName() string
func (*EventCancelCreateObject) GetObjectName ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetObjectName() string
func (*EventCancelCreateObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetOperatorAddress() string
func (*EventCancelCreateObject) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventCancelCreateObject) GetPrimarySpAddress() string
func (*EventCancelCreateObject) Marshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) Marshal() (dAtA []byte, err error)
func (*EventCancelCreateObject) MarshalTo ¶ added in v0.0.6
func (m *EventCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
func (*EventCancelCreateObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCancelCreateObject) ProtoMessage ¶ added in v0.0.6
func (*EventCancelCreateObject) ProtoMessage()
func (*EventCancelCreateObject) Reset ¶ added in v0.0.6
func (m *EventCancelCreateObject) Reset()
func (*EventCancelCreateObject) Size ¶ added in v0.0.6
func (m *EventCancelCreateObject) Size() (n int)
func (*EventCancelCreateObject) String ¶ added in v0.0.6
func (m *EventCancelCreateObject) String() string
func (*EventCancelCreateObject) Unmarshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) Unmarshal(dAtA []byte) error
func (*EventCancelCreateObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_DiscardUnknown()
func (*EventCancelCreateObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCancelCreateObject) XXX_Merge ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Merge(src proto.Message)
func (*EventCancelCreateObject) XXX_Size ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Size() int
func (*EventCancelCreateObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCancelCreateObject) XXX_Unmarshal(b []byte) error
type EventCopyObject ¶ added in v0.0.6
type EventCopyObject struct { // operator_address define the account address of operator who copy the object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // src_bucket_name define the name of the src bucket SrcBucketName string `protobuf:"bytes,2,opt,name=src_bucket_name,json=srcBucketName,proto3" json:"src_bucket_name,omitempty"` // src_object_name define the name of the src object SrcObjectName string `protobuf:"bytes,3,opt,name=src_object_name,json=srcObjectName,proto3" json:"src_object_name,omitempty"` // dst_bucket_name define the name of the dst bucket DstBucketName string `protobuf:"bytes,4,opt,name=dst_bucket_name,json=dstBucketName,proto3" json:"dst_bucket_name,omitempty"` // dst_object_name define the name of the dst object DstObjectName string `protobuf:"bytes,5,opt,name=dst_object_name,json=dstObjectName,proto3" json:"dst_object_name,omitempty"` // src_object_id define the u256 id for src object SrcObjectId Uint `protobuf:"bytes,6,opt,name=src_object_id,json=srcObjectId,proto3,customtype=Uint" json:"src_object_id"` // dst_object_id define the u256 id for dst object DstObjectId Uint `protobuf:"bytes,7,opt,name=dst_object_id,json=dstObjectId,proto3,customtype=Uint" json:"dst_object_id"` }
EventCopyObject is emitted on MsgCopyObject
func (*EventCopyObject) Descriptor ¶ added in v0.0.6
func (*EventCopyObject) Descriptor() ([]byte, []int)
func (*EventCopyObject) GetDstBucketName ¶ added in v0.0.6
func (m *EventCopyObject) GetDstBucketName() string
func (*EventCopyObject) GetDstObjectName ¶ added in v0.0.6
func (m *EventCopyObject) GetDstObjectName() string
func (*EventCopyObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventCopyObject) GetOperatorAddress() string
func (*EventCopyObject) GetSrcBucketName ¶ added in v0.0.6
func (m *EventCopyObject) GetSrcBucketName() string
func (*EventCopyObject) GetSrcObjectName ¶ added in v0.0.6
func (m *EventCopyObject) GetSrcObjectName() string
func (*EventCopyObject) Marshal ¶ added in v0.0.6
func (m *EventCopyObject) Marshal() (dAtA []byte, err error)
func (*EventCopyObject) MarshalTo ¶ added in v0.0.6
func (m *EventCopyObject) MarshalTo(dAtA []byte) (int, error)
func (*EventCopyObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCopyObject) ProtoMessage ¶ added in v0.0.6
func (*EventCopyObject) ProtoMessage()
func (*EventCopyObject) Reset ¶ added in v0.0.6
func (m *EventCopyObject) Reset()
func (*EventCopyObject) Size ¶ added in v0.0.6
func (m *EventCopyObject) Size() (n int)
func (*EventCopyObject) String ¶ added in v0.0.6
func (m *EventCopyObject) String() string
func (*EventCopyObject) Unmarshal ¶ added in v0.0.6
func (m *EventCopyObject) Unmarshal(dAtA []byte) error
func (*EventCopyObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCopyObject) XXX_DiscardUnknown()
func (*EventCopyObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCopyObject) XXX_Merge ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Merge(src proto.Message)
func (*EventCopyObject) XXX_Size ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Size() int
func (*EventCopyObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCopyObject) XXX_Unmarshal(b []byte) error
type EventCreateBucket ¶ added in v0.0.6
type EventCreateBucket struct { // owner_address define the account address of bucket owner OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // bucket_name is a globally unique name of bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // is_public define the highest permissions for bucket. When the bucket is public, everyone can get the object in it. IsPublic bool `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // create_at define the block number when the bucket has been created CreateAt int64 `protobuf:"varint,4,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // id is the unique u256 for bucket. Not global, only unique in buckets. Id Uint `protobuf:"bytes,5,opt,name=id,proto3,customtype=Uint" json:"id"` // source_type define the source of the bucket. CrossChain or Greenfield origin SourceType SourceType `` /* 136-byte string literal not displayed */ // read_quota defines the traffic quota for read ReadQuota uint64 `protobuf:"varint,7,opt,name=read_quota,json=readQuota,proto3" json:"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) GetCreateAt ¶ added in v0.0.6
func (m *EventCreateBucket) GetCreateAt() int64
func (*EventCreateBucket) GetIsPublic ¶ added in v0.0.6
func (m *EventCreateBucket) GetIsPublic() bool
func (*EventCreateBucket) GetOwnerAddress ¶ added in v0.0.6
func (m *EventCreateBucket) GetOwnerAddress() string
func (*EventCreateBucket) GetPaymentAddress ¶ added in v0.0.6
func (m *EventCreateBucket) GetPaymentAddress() string
func (*EventCreateBucket) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventCreateBucket) GetPrimarySpAddress() string
func (*EventCreateBucket) GetReadQuota ¶ added in v0.0.6
func (m *EventCreateBucket) GetReadQuota() uint64
func (*EventCreateBucket) GetSourceType ¶ added in v0.0.6
func (m *EventCreateBucket) GetSourceType() SourceType
func (*EventCreateBucket) Marshal ¶ added in v0.0.6
func (m *EventCreateBucket) Marshal() (dAtA []byte, err error)
func (*EventCreateBucket) MarshalTo ¶ added in v0.0.6
func (m *EventCreateBucket) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateBucket) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateBucket) ProtoMessage ¶ added in v0.0.6
func (*EventCreateBucket) ProtoMessage()
func (*EventCreateBucket) Reset ¶ added in v0.0.6
func (m *EventCreateBucket) Reset()
func (*EventCreateBucket) Size ¶ added in v0.0.6
func (m *EventCreateBucket) Size() (n int)
func (*EventCreateBucket) String ¶ added in v0.0.6
func (m *EventCreateBucket) String() string
func (*EventCreateBucket) Unmarshal ¶ added in v0.0.6
func (m *EventCreateBucket) Unmarshal(dAtA []byte) error
func (*EventCreateBucket) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_DiscardUnknown()
func (*EventCreateBucket) XXX_Marshal ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateBucket) XXX_Merge ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Merge(src proto.Message)
func (*EventCreateBucket) XXX_Size ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Size() int
func (*EventCreateBucket) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCreateBucket) XXX_Unmarshal(b []byte) error
type EventCreateGroup ¶ added in v0.0.6
type EventCreateGroup struct { // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,3,opt,name=id,proto3,customtype=Uint" json:"id"` // source_type define the source of the group. CrossChain or Greenfield origin SourceType SourceType `` /* 136-byte string literal not displayed */ // members define the all the address of the members. Members []string `protobuf:"bytes,5,rep,name=members,proto3" json:"members,omitempty"` }
EventCreateGroup is emitted on MsgCreateGroup
func (*EventCreateGroup) Descriptor ¶ added in v0.0.6
func (*EventCreateGroup) Descriptor() ([]byte, []int)
func (*EventCreateGroup) GetGroupName ¶ added in v0.0.6
func (m *EventCreateGroup) GetGroupName() string
func (*EventCreateGroup) GetMembers ¶ added in v0.0.6
func (m *EventCreateGroup) GetMembers() []string
func (*EventCreateGroup) GetOwnerAddress ¶ added in v0.0.6
func (m *EventCreateGroup) GetOwnerAddress() string
func (*EventCreateGroup) GetSourceType ¶ added in v0.0.6
func (m *EventCreateGroup) GetSourceType() SourceType
func (*EventCreateGroup) Marshal ¶ added in v0.0.6
func (m *EventCreateGroup) Marshal() (dAtA []byte, err error)
func (*EventCreateGroup) MarshalTo ¶ added in v0.0.6
func (m *EventCreateGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateGroup) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateGroup) ProtoMessage ¶ added in v0.0.6
func (*EventCreateGroup) ProtoMessage()
func (*EventCreateGroup) Reset ¶ added in v0.0.6
func (m *EventCreateGroup) Reset()
func (*EventCreateGroup) Size ¶ added in v0.0.6
func (m *EventCreateGroup) Size() (n int)
func (*EventCreateGroup) String ¶ added in v0.0.6
func (m *EventCreateGroup) String() string
func (*EventCreateGroup) Unmarshal ¶ added in v0.0.6
func (m *EventCreateGroup) Unmarshal(dAtA []byte) error
func (*EventCreateGroup) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_DiscardUnknown()
func (*EventCreateGroup) XXX_Marshal ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateGroup) XXX_Merge ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Merge(src proto.Message)
func (*EventCreateGroup) XXX_Size ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Size() int
func (*EventCreateGroup) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCreateGroup) XXX_Unmarshal(b []byte) error
type EventCreateObject ¶ added in v0.0.6
type EventCreateObject struct { // creator_address define the account address of msg creator CreatorAddress string `protobuf:"bytes,1,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` // owner_address define the account address of object owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // bucket_name define the name of bucket BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of object ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // 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"` // is_public define the highest permission of object. IsPublic bool `protobuf:"varint,10,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // content_type define the content type of the payload data ContentType string `protobuf:"bytes,11,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // create_at define the block number when the object created CreateAt int64 `protobuf:"varint,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) GetIsPublic ¶ added in v0.0.6
func (m *EventCreateObject) GetIsPublic() bool
func (*EventCreateObject) GetObjectName ¶ added in v0.0.6
func (m *EventCreateObject) GetObjectName() string
func (*EventCreateObject) GetOwnerAddress ¶ added in v0.0.6
func (m *EventCreateObject) GetOwnerAddress() string
func (*EventCreateObject) GetPayloadSize ¶ added in v0.0.6
func (m *EventCreateObject) GetPayloadSize() uint64
func (*EventCreateObject) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventCreateObject) GetPrimarySpAddress() string
func (*EventCreateObject) GetRedundancyType ¶ added in v0.0.6
func (m *EventCreateObject) GetRedundancyType() RedundancyType
func (*EventCreateObject) GetSourceType ¶ added in v0.0.6
func (m *EventCreateObject) GetSourceType() SourceType
func (*EventCreateObject) GetStatus ¶ added in v0.0.6
func (m *EventCreateObject) GetStatus() ObjectStatus
func (*EventCreateObject) Marshal ¶ added in v0.0.6
func (m *EventCreateObject) Marshal() (dAtA []byte, err error)
func (*EventCreateObject) MarshalTo ¶ added in v0.0.6
func (m *EventCreateObject) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateObject) ProtoMessage ¶ added in v0.0.6
func (*EventCreateObject) ProtoMessage()
func (*EventCreateObject) Reset ¶ added in v0.0.6
func (m *EventCreateObject) Reset()
func (*EventCreateObject) Size ¶ added in v0.0.6
func (m *EventCreateObject) Size() (n int)
func (*EventCreateObject) String ¶ added in v0.0.6
func (m *EventCreateObject) String() string
func (*EventCreateObject) Unmarshal ¶ added in v0.0.6
func (m *EventCreateObject) Unmarshal(dAtA []byte) error
func (*EventCreateObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventCreateObject) XXX_DiscardUnknown()
func (*EventCreateObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateObject) XXX_Merge ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Merge(src proto.Message)
func (*EventCreateObject) XXX_Size ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Size() int
func (*EventCreateObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventCreateObject) XXX_Unmarshal(b []byte) error
type EventDeleteBucket ¶ added in v0.0.6
type EventDeleteBucket struct { // operator_address define the account address of operator who delete the bucket OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // owner_address define the account address of the bucket owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // bucket_name define the name of the deleted bucket BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // id define an u256 id for bucket Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // primary_sp_address define the account address of primary sp PrimarySpAddress string `protobuf:"bytes,5,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` }
EventDeleteBucket is emitted on MsgDeleteBucket
func (*EventDeleteBucket) Descriptor ¶ added in v0.0.6
func (*EventDeleteBucket) Descriptor() ([]byte, []int)
func (*EventDeleteBucket) GetBucketName ¶ added in v0.0.6
func (m *EventDeleteBucket) GetBucketName() string
func (*EventDeleteBucket) GetOperatorAddress ¶ added in v0.0.6
func (m *EventDeleteBucket) GetOperatorAddress() string
func (*EventDeleteBucket) GetOwnerAddress ¶ added in v0.0.6
func (m *EventDeleteBucket) GetOwnerAddress() string
func (*EventDeleteBucket) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventDeleteBucket) GetPrimarySpAddress() string
func (*EventDeleteBucket) Marshal ¶ added in v0.0.6
func (m *EventDeleteBucket) Marshal() (dAtA []byte, err error)
func (*EventDeleteBucket) MarshalTo ¶ added in v0.0.6
func (m *EventDeleteBucket) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteBucket) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteBucket) ProtoMessage ¶ added in v0.0.6
func (*EventDeleteBucket) ProtoMessage()
func (*EventDeleteBucket) Reset ¶ added in v0.0.6
func (m *EventDeleteBucket) Reset()
func (*EventDeleteBucket) Size ¶ added in v0.0.6
func (m *EventDeleteBucket) Size() (n int)
func (*EventDeleteBucket) String ¶ added in v0.0.6
func (m *EventDeleteBucket) String() string
func (*EventDeleteBucket) Unmarshal ¶ added in v0.0.6
func (m *EventDeleteBucket) Unmarshal(dAtA []byte) error
func (*EventDeleteBucket) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_DiscardUnknown()
func (*EventDeleteBucket) XXX_Marshal ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteBucket) XXX_Merge ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Merge(src proto.Message)
func (*EventDeleteBucket) XXX_Size ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Size() int
func (*EventDeleteBucket) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventDeleteBucket) XXX_Unmarshal(b []byte) error
type EventDeleteGroup ¶ added in v0.0.6
type EventDeleteGroup struct { // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventDeleteGroup is emitted on MsgDeleteGroup
func (*EventDeleteGroup) Descriptor ¶ added in v0.0.6
func (*EventDeleteGroup) Descriptor() ([]byte, []int)
func (*EventDeleteGroup) GetGroupName ¶ added in v0.0.6
func (m *EventDeleteGroup) GetGroupName() string
func (*EventDeleteGroup) GetOwnerAddress ¶ added in v0.0.6
func (m *EventDeleteGroup) GetOwnerAddress() string
func (*EventDeleteGroup) Marshal ¶ added in v0.0.6
func (m *EventDeleteGroup) Marshal() (dAtA []byte, err error)
func (*EventDeleteGroup) MarshalTo ¶ added in v0.0.6
func (m *EventDeleteGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteGroup) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteGroup) ProtoMessage ¶ added in v0.0.6
func (*EventDeleteGroup) ProtoMessage()
func (*EventDeleteGroup) Reset ¶ added in v0.0.6
func (m *EventDeleteGroup) Reset()
func (*EventDeleteGroup) Size ¶ added in v0.0.6
func (m *EventDeleteGroup) Size() (n int)
func (*EventDeleteGroup) String ¶ added in v0.0.6
func (m *EventDeleteGroup) String() string
func (*EventDeleteGroup) Unmarshal ¶ added in v0.0.6
func (m *EventDeleteGroup) Unmarshal(dAtA []byte) error
func (*EventDeleteGroup) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_DiscardUnknown()
func (*EventDeleteGroup) XXX_Marshal ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteGroup) XXX_Merge ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Merge(src proto.Message)
func (*EventDeleteGroup) XXX_Size ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Size() int
func (*EventDeleteGroup) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventDeleteGroup) XXX_Unmarshal(b []byte) error
type EventDeleteObject ¶ added in v0.0.6
type EventDeleteObject struct { // operator_address define the account address of operator who delete the object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // primary_sp_address define the operator account address of the sp PrimarySpAddress string `protobuf:"bytes,5,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // secondary_sp_address define all the operator address of the secondary sps SecondarySpAddresses []string `protobuf:"bytes,6,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"` }
EventDeleteObject is emitted on MsgDeleteObject
func (*EventDeleteObject) Descriptor ¶ added in v0.0.6
func (*EventDeleteObject) Descriptor() ([]byte, []int)
func (*EventDeleteObject) GetBucketName ¶ added in v0.0.6
func (m *EventDeleteObject) GetBucketName() string
func (*EventDeleteObject) GetObjectName ¶ added in v0.0.6
func (m *EventDeleteObject) GetObjectName() string
func (*EventDeleteObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventDeleteObject) GetOperatorAddress() string
func (*EventDeleteObject) GetPrimarySpAddress ¶ added in v0.0.6
func (m *EventDeleteObject) GetPrimarySpAddress() string
func (*EventDeleteObject) GetSecondarySpAddresses ¶ added in v0.0.6
func (m *EventDeleteObject) GetSecondarySpAddresses() []string
func (*EventDeleteObject) Marshal ¶ added in v0.0.6
func (m *EventDeleteObject) Marshal() (dAtA []byte, err error)
func (*EventDeleteObject) MarshalTo ¶ added in v0.0.6
func (m *EventDeleteObject) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteObject) ProtoMessage ¶ added in v0.0.6
func (*EventDeleteObject) ProtoMessage()
func (*EventDeleteObject) Reset ¶ added in v0.0.6
func (m *EventDeleteObject) Reset()
func (*EventDeleteObject) Size ¶ added in v0.0.6
func (m *EventDeleteObject) Size() (n int)
func (*EventDeleteObject) String ¶ added in v0.0.6
func (m *EventDeleteObject) String() string
func (*EventDeleteObject) Unmarshal ¶ added in v0.0.6
func (m *EventDeleteObject) Unmarshal(dAtA []byte) error
func (*EventDeleteObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_DiscardUnknown()
func (*EventDeleteObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteObject) XXX_Merge ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Merge(src proto.Message)
func (*EventDeleteObject) XXX_Size ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Size() int
func (*EventDeleteObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventDeleteObject) XXX_Unmarshal(b []byte) error
type EventLeaveGroup ¶ added in v0.0.6
type EventLeaveGroup struct { // member_address define the address of the member who leave the group MemberAddress string `protobuf:"bytes,1,opt,name=member_address,json=memberAddress,proto3" json:"member_address,omitempty"` // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventLeaveGroup is emitted on MsgLeaveGroup
func (*EventLeaveGroup) Descriptor ¶ added in v0.0.6
func (*EventLeaveGroup) Descriptor() ([]byte, []int)
func (*EventLeaveGroup) GetGroupName ¶ added in v0.0.6
func (m *EventLeaveGroup) GetGroupName() string
func (*EventLeaveGroup) GetMemberAddress ¶ added in v0.0.6
func (m *EventLeaveGroup) GetMemberAddress() string
func (*EventLeaveGroup) GetOwnerAddress ¶ added in v0.0.6
func (m *EventLeaveGroup) GetOwnerAddress() string
func (*EventLeaveGroup) Marshal ¶ added in v0.0.6
func (m *EventLeaveGroup) Marshal() (dAtA []byte, err error)
func (*EventLeaveGroup) MarshalTo ¶ added in v0.0.6
func (m *EventLeaveGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventLeaveGroup) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventLeaveGroup) ProtoMessage ¶ added in v0.0.6
func (*EventLeaveGroup) ProtoMessage()
func (*EventLeaveGroup) Reset ¶ added in v0.0.6
func (m *EventLeaveGroup) Reset()
func (*EventLeaveGroup) Size ¶ added in v0.0.6
func (m *EventLeaveGroup) Size() (n int)
func (*EventLeaveGroup) String ¶ added in v0.0.6
func (m *EventLeaveGroup) String() string
func (*EventLeaveGroup) Unmarshal ¶ added in v0.0.6
func (m *EventLeaveGroup) Unmarshal(dAtA []byte) error
func (*EventLeaveGroup) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_DiscardUnknown()
func (*EventLeaveGroup) XXX_Marshal ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventLeaveGroup) XXX_Merge ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Merge(src proto.Message)
func (*EventLeaveGroup) XXX_Size ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Size() int
func (*EventLeaveGroup) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventLeaveGroup) XXX_Unmarshal(b []byte) error
type EventRejectSealObject ¶ added in v0.0.6
type EventRejectSealObject struct { // operator_address define the account address of operator who reject seal object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
EventRejectSealObject is emitted on MsgRejectSealObject
func (*EventRejectSealObject) Descriptor ¶ added in v0.0.6
func (*EventRejectSealObject) Descriptor() ([]byte, []int)
func (*EventRejectSealObject) GetBucketName ¶ added in v0.0.6
func (m *EventRejectSealObject) GetBucketName() string
func (*EventRejectSealObject) GetObjectName ¶ added in v0.0.6
func (m *EventRejectSealObject) GetObjectName() string
func (*EventRejectSealObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventRejectSealObject) GetOperatorAddress() string
func (*EventRejectSealObject) Marshal ¶ added in v0.0.6
func (m *EventRejectSealObject) Marshal() (dAtA []byte, err error)
func (*EventRejectSealObject) MarshalTo ¶ added in v0.0.6
func (m *EventRejectSealObject) MarshalTo(dAtA []byte) (int, error)
func (*EventRejectSealObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRejectSealObject) ProtoMessage ¶ added in v0.0.6
func (*EventRejectSealObject) ProtoMessage()
func (*EventRejectSealObject) Reset ¶ added in v0.0.6
func (m *EventRejectSealObject) Reset()
func (*EventRejectSealObject) Size ¶ added in v0.0.6
func (m *EventRejectSealObject) Size() (n int)
func (*EventRejectSealObject) String ¶ added in v0.0.6
func (m *EventRejectSealObject) String() string
func (*EventRejectSealObject) Unmarshal ¶ added in v0.0.6
func (m *EventRejectSealObject) Unmarshal(dAtA []byte) error
func (*EventRejectSealObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_DiscardUnknown()
func (*EventRejectSealObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRejectSealObject) XXX_Merge ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Merge(src proto.Message)
func (*EventRejectSealObject) XXX_Size ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Size() int
func (*EventRejectSealObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventRejectSealObject) XXX_Unmarshal(b []byte) error
type EventSealObject ¶ added in v0.0.6
type EventSealObject struct { // operator_address define the account address of operator who seal object OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id define an u256 id for object Id Uint `protobuf:"bytes,5,opt,name=id,proto3,customtype=Uint" json:"id"` // status define the status of the object. INIT or IN_SERVICE or others Status ObjectStatus `protobuf:"varint,6,opt,name=status,proto3,enum=bnbchain.greenfield.storage.ObjectStatus" json:"status,omitempty"` // secondary_sp_address define all the operator address of the secondary sps SecondarySpAddress []string `protobuf:"bytes,7,rep,name=secondary_sp_address,json=secondarySpAddress,proto3" json:"secondary_sp_address,omitempty"` }
EventSealObject is emitted on MsgSealObject
func (*EventSealObject) Descriptor ¶ added in v0.0.6
func (*EventSealObject) Descriptor() ([]byte, []int)
func (*EventSealObject) GetBucketName ¶ added in v0.0.6
func (m *EventSealObject) GetBucketName() string
func (*EventSealObject) GetObjectName ¶ added in v0.0.6
func (m *EventSealObject) GetObjectName() string
func (*EventSealObject) GetOperatorAddress ¶ added in v0.0.6
func (m *EventSealObject) GetOperatorAddress() string
func (*EventSealObject) GetSecondarySpAddress ¶ added in v0.0.6
func (m *EventSealObject) GetSecondarySpAddress() []string
func (*EventSealObject) GetStatus ¶ added in v0.0.6
func (m *EventSealObject) GetStatus() ObjectStatus
func (*EventSealObject) Marshal ¶ added in v0.0.6
func (m *EventSealObject) Marshal() (dAtA []byte, err error)
func (*EventSealObject) MarshalTo ¶ added in v0.0.6
func (m *EventSealObject) MarshalTo(dAtA []byte) (int, error)
func (*EventSealObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSealObject) ProtoMessage ¶ added in v0.0.6
func (*EventSealObject) ProtoMessage()
func (*EventSealObject) Reset ¶ added in v0.0.6
func (m *EventSealObject) Reset()
func (*EventSealObject) Size ¶ added in v0.0.6
func (m *EventSealObject) Size() (n int)
func (*EventSealObject) String ¶ added in v0.0.6
func (m *EventSealObject) String() string
func (*EventSealObject) Unmarshal ¶ added in v0.0.6
func (m *EventSealObject) Unmarshal(dAtA []byte) error
func (*EventSealObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventSealObject) XXX_DiscardUnknown()
func (*EventSealObject) XXX_Marshal ¶ added in v0.0.6
func (m *EventSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSealObject) XXX_Merge ¶ added in v0.0.6
func (m *EventSealObject) XXX_Merge(src proto.Message)
func (*EventSealObject) XXX_Size ¶ added in v0.0.6
func (m *EventSealObject) XXX_Size() int
func (*EventSealObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventSealObject) XXX_Unmarshal(b []byte) error
type EventUpdateBucketInfo ¶ added in v0.0.6
type EventUpdateBucketInfo struct { // operator_address define the account address of operator who update the bucket OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // id define an u256 id for bucket Id Uint `protobuf:"bytes,3,opt,name=id,proto3,customtype=Uint" json:"id"` // read_quota_before define the read quota before updated ReadQuotaBefore uint64 `protobuf:"varint,4,opt,name=read_quota_before,json=readQuotaBefore,proto3" json:"read_quota_before,omitempty"` // read_quota_after define the read quota after updated ReadQuotaAfter uint64 `protobuf:"varint,5,opt,name=read_quota_after,json=readQuotaAfter,proto3" json:"read_quota_after,omitempty"` // payment_address_before define the payment address before updated PaymentAddressBefore string `protobuf:"bytes,6,opt,name=payment_address_before,json=paymentAddressBefore,proto3" json:"payment_address_before,omitempty"` // payment_address_after define the payment address after updated PaymentAddressAfter string `protobuf:"bytes,7,opt,name=payment_address_after,json=paymentAddressAfter,proto3" json:"payment_address_after,omitempty"` }
EventUpdateBucketInfo is emitted on MsgUpdateBucketInfo
func (*EventUpdateBucketInfo) Descriptor ¶ added in v0.0.6
func (*EventUpdateBucketInfo) Descriptor() ([]byte, []int)
func (*EventUpdateBucketInfo) GetBucketName ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetBucketName() string
func (*EventUpdateBucketInfo) GetOperatorAddress ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetOperatorAddress() string
func (*EventUpdateBucketInfo) GetPaymentAddressAfter ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetPaymentAddressAfter() string
func (*EventUpdateBucketInfo) GetPaymentAddressBefore ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetPaymentAddressBefore() string
func (*EventUpdateBucketInfo) GetReadQuotaAfter ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetReadQuotaAfter() uint64
func (*EventUpdateBucketInfo) GetReadQuotaBefore ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) GetReadQuotaBefore() uint64
func (*EventUpdateBucketInfo) Marshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Marshal() (dAtA []byte, err error)
func (*EventUpdateBucketInfo) MarshalTo ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateBucketInfo) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateBucketInfo) ProtoMessage ¶ added in v0.0.6
func (*EventUpdateBucketInfo) ProtoMessage()
func (*EventUpdateBucketInfo) Reset ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Reset()
func (*EventUpdateBucketInfo) Size ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Size() (n int)
func (*EventUpdateBucketInfo) String ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) String() string
func (*EventUpdateBucketInfo) Unmarshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) Unmarshal(dAtA []byte) error
func (*EventUpdateBucketInfo) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_DiscardUnknown()
func (*EventUpdateBucketInfo) XXX_Marshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateBucketInfo) XXX_Merge ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Merge(src proto.Message)
func (*EventUpdateBucketInfo) XXX_Size ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Size() int
func (*EventUpdateBucketInfo) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventUpdateBucketInfo) XXX_Unmarshal(b []byte) error
type EventUpdateGroupMember ¶ added in v0.0.6
type EventUpdateGroupMember struct { // operator_address define the account address of operator who update the group member OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // owner_address define the account address of group owner OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // members_to_add defines all the members to be added to the group MembersToAdd []string `protobuf:"bytes,5,rep,name=members_to_add,json=membersToAdd,proto3" json:"members_to_add,omitempty"` // members_to_add defines all the members to be deleted from the group MembersToDelete []string `protobuf:"bytes,6,rep,name=members_to_delete,json=membersToDelete,proto3" json:"members_to_delete,omitempty"` }
EventUpdateGroupMember is emitted on MsgUpdateGroupMember
func (*EventUpdateGroupMember) Descriptor ¶ added in v0.0.6
func (*EventUpdateGroupMember) Descriptor() ([]byte, []int)
func (*EventUpdateGroupMember) GetGroupName ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetGroupName() string
func (*EventUpdateGroupMember) GetMembersToAdd ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetMembersToAdd() []string
func (*EventUpdateGroupMember) GetMembersToDelete ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetMembersToDelete() []string
func (*EventUpdateGroupMember) GetOperatorAddress ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetOperatorAddress() string
func (*EventUpdateGroupMember) GetOwnerAddress ¶ added in v0.0.6
func (m *EventUpdateGroupMember) GetOwnerAddress() string
func (*EventUpdateGroupMember) Marshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Marshal() (dAtA []byte, err error)
func (*EventUpdateGroupMember) MarshalTo ¶ added in v0.0.6
func (m *EventUpdateGroupMember) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateGroupMember) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *EventUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateGroupMember) ProtoMessage ¶ added in v0.0.6
func (*EventUpdateGroupMember) ProtoMessage()
func (*EventUpdateGroupMember) Reset ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Reset()
func (*EventUpdateGroupMember) Size ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Size() (n int)
func (*EventUpdateGroupMember) String ¶ added in v0.0.6
func (m *EventUpdateGroupMember) String() string
func (*EventUpdateGroupMember) Unmarshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) Unmarshal(dAtA []byte) error
func (*EventUpdateGroupMember) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_DiscardUnknown()
func (*EventUpdateGroupMember) XXX_Marshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateGroupMember) XXX_Merge ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Merge(src proto.Message)
func (*EventUpdateGroupMember) XXX_Size ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Size() int
func (*EventUpdateGroupMember) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventUpdateGroupMember) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the bridge module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GroupInfo ¶
type GroupInfo struct { // owner is the owner of the group. It can not changed once it created. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // group_name is the name of group which is unique under an account. GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // source_type SourceType SourceType `` /* 136-byte string literal not displayed */ // id is the unique identifier of group Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` }
func (*GroupInfo) Descriptor ¶
func (*GroupInfo) GetGroupName ¶
func (*GroupInfo) GetSourceType ¶ added in v0.0.6
func (m *GroupInfo) GetSourceType() SourceType
func (*GroupInfo) MarshalToSizedBuffer ¶
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (*GroupInfo) 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 MsgCancelCreateObject ¶ added in v0.0.6
type MsgCancelCreateObject struct { // operator is the account address of the operator Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of the object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` }
func NewMsgCancelCreateObject ¶ added in v0.0.6
func NewMsgCancelCreateObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgCancelCreateObject
func (*MsgCancelCreateObject) Descriptor ¶ added in v0.0.6
func (*MsgCancelCreateObject) Descriptor() ([]byte, []int)
func (*MsgCancelCreateObject) GetBucketName ¶ added in v0.0.6
func (m *MsgCancelCreateObject) GetBucketName() string
func (*MsgCancelCreateObject) GetObjectName ¶ added in v0.0.6
func (m *MsgCancelCreateObject) GetObjectName() string
func (*MsgCancelCreateObject) GetOperator ¶ added in v0.0.6
func (m *MsgCancelCreateObject) GetOperator() string
func (*MsgCancelCreateObject) GetSignBytes ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) GetSignBytes() []byte
func (*MsgCancelCreateObject) GetSigners ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) GetSigners() []sdk.AccAddress
func (*MsgCancelCreateObject) Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Marshal() (dAtA []byte, err error)
func (*MsgCancelCreateObject) MarshalTo ¶ added in v0.0.6
func (m *MsgCancelCreateObject) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelCreateObject) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelCreateObject) ProtoMessage ¶ added in v0.0.6
func (*MsgCancelCreateObject) ProtoMessage()
func (*MsgCancelCreateObject) Reset ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Reset()
func (*MsgCancelCreateObject) Route ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) Route() string
func (*MsgCancelCreateObject) Size ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Size() (n int)
func (*MsgCancelCreateObject) String ¶ added in v0.0.6
func (m *MsgCancelCreateObject) String() string
func (*MsgCancelCreateObject) Type ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) Type() string
func (*MsgCancelCreateObject) Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) Unmarshal(dAtA []byte) error
func (*MsgCancelCreateObject) ValidateBasic ¶ added in v0.0.6
func (msg *MsgCancelCreateObject) ValidateBasic() error
func (*MsgCancelCreateObject) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_DiscardUnknown()
func (*MsgCancelCreateObject) XXX_Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelCreateObject) XXX_Merge ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Merge(src proto.Message)
func (*MsgCancelCreateObject) XXX_Size ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Size() int
func (*MsgCancelCreateObject) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObject) XXX_Unmarshal(b []byte) error
type MsgCancelCreateObjectResponse ¶ added in v0.0.6
type MsgCancelCreateObjectResponse struct { }
func (*MsgCancelCreateObjectResponse) Descriptor ¶ added in v0.0.6
func (*MsgCancelCreateObjectResponse) Descriptor() ([]byte, []int)
func (*MsgCancelCreateObjectResponse) Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelCreateObjectResponse) MarshalTo ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelCreateObjectResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelCreateObjectResponse) ProtoMessage ¶ added in v0.0.6
func (*MsgCancelCreateObjectResponse) ProtoMessage()
func (*MsgCancelCreateObjectResponse) Reset ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Reset()
func (*MsgCancelCreateObjectResponse) Size ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Size() (n int)
func (*MsgCancelCreateObjectResponse) String ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) String() string
func (*MsgCancelCreateObjectResponse) Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelCreateObjectResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_DiscardUnknown()
func (*MsgCancelCreateObjectResponse) XXX_Marshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelCreateObjectResponse) XXX_Merge ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Merge(src proto.Message)
func (*MsgCancelCreateObjectResponse) XXX_Size ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Size() int
func (*MsgCancelCreateObjectResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgCancelCreateObjectResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // 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) // 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) // 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) // basic operation of policy PutPolicy(ctx context.Context, in *MsgPutPolicy, opts ...grpc.CallOption) (*MsgPutPolicyResponse, error) // this line is used by starport scaffolding # proto/tx/rpc 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 is the account address of the operator who has the CopyObject permission of the object to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // src_bucket_name is the name of the bucket where the object to be copied is located SrcBucketName string `protobuf:"bytes,2,opt,name=src_bucket_name,json=srcBucketName,proto3" json:"src_bucket_name,omitempty"` // dst_bucket_name is the name of the bucket where the object is copied to. DstBucketName string `protobuf:"bytes,3,opt,name=dst_bucket_name,json=dstBucketName,proto3" json:"dst_bucket_name,omitempty"` // src_object_name is the name of the object which to be copied SrcObjectName string `protobuf:"bytes,4,opt,name=src_object_name,json=srcObjectName,proto3" json:"src_object_name,omitempty"` // dst_object_name is the name of the object which is copied to DstObjectName string `protobuf:"bytes,5,opt,name=dst_object_name,json=dstObjectName,proto3" json:"dst_object_name,omitempty"` // primary_sp_approval is the approval info of the primary SP which indicates that primary sp confirm the user's request. DstPrimarySpApproval *Approval `protobuf:"bytes,6,opt,name=dst_primary_sp_approval,json=dstPrimarySpApproval,proto3" json:"dst_primary_sp_approval,omitempty"` }
func NewMsgCopyObject ¶
func NewMsgCopyObject( operator sdk.AccAddress, srcBucketName string, dstBucketName string, srcObjectName string, dstObjectName string, timeoutHeight uint64, sig []byte) *MsgCopyObject
func (*MsgCopyObject) Descriptor ¶
func (*MsgCopyObject) Descriptor() ([]byte, []int)
func (*MsgCopyObject) GetApprovalBytes ¶ added in v0.0.6
func (msg *MsgCopyObject) GetApprovalBytes() []byte
GetApprovalBytes returns the message bytes of approval info.
func (*MsgCopyObject) GetDstBucketName ¶
func (m *MsgCopyObject) GetDstBucketName() string
func (*MsgCopyObject) GetDstObjectName ¶
func (m *MsgCopyObject) GetDstObjectName() string
func (*MsgCopyObject) GetDstPrimarySpApproval ¶ added in v0.0.6
func (m *MsgCopyObject) GetDstPrimarySpApproval() *Approval
func (*MsgCopyObject) GetOperator ¶
func (m *MsgCopyObject) GetOperator() string
func (*MsgCopyObject) GetSignBytes ¶
func (msg *MsgCopyObject) GetSignBytes() []byte
func (*MsgCopyObject) GetSigners ¶
func (msg *MsgCopyObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgCopyObject) GetSrcBucketName ¶
func (m *MsgCopyObject) GetSrcBucketName() string
func (*MsgCopyObject) GetSrcObjectName ¶
func (m *MsgCopyObject) GetSrcObjectName() string
func (*MsgCopyObject) Marshal ¶
func (m *MsgCopyObject) Marshal() (dAtA []byte, err error)
func (*MsgCopyObject) MarshalToSizedBuffer ¶
func (m *MsgCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCopyObject) ProtoMessage ¶
func (*MsgCopyObject) ProtoMessage()
func (*MsgCopyObject) Reset ¶
func (m *MsgCopyObject) Reset()
func (*MsgCopyObject) Route ¶
func (msg *MsgCopyObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgCopyObject) Size ¶
func (m *MsgCopyObject) Size() (n int)
func (*MsgCopyObject) String ¶
func (m *MsgCopyObject) String() string
func (*MsgCopyObject) Type ¶
func (msg *MsgCopyObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgCopyObject) Unmarshal ¶
func (m *MsgCopyObject) Unmarshal(dAtA []byte) error
func (*MsgCopyObject) ValidateBasic ¶
func (msg *MsgCopyObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCopyObject) XXX_DiscardUnknown ¶
func (m *MsgCopyObject) XXX_DiscardUnknown()
func (*MsgCopyObject) XXX_Marshal ¶
func (m *MsgCopyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCopyObject) XXX_Merge ¶
func (m *MsgCopyObject) XXX_Merge(src proto.Message)
func (*MsgCopyObject) XXX_Size ¶
func (m *MsgCopyObject) XXX_Size() int
func (*MsgCopyObject) XXX_Unmarshal ¶
func (m *MsgCopyObject) XXX_Unmarshal(b []byte) error
type MsgCopyObjectResponse ¶
type MsgCopyObjectResponse struct {
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 is the account address of bucket creator, it is also the bucket owner. Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // bucket_name is a globally unique name of bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // is_public means the bucket is private or public. if private, only bucket owner or grantee can read it, // otherwise every greenfield user can read it. IsPublic bool `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // payment_address is an account address specified by bucket owner to pay the read fee. Default: creator PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` // primary_sp_address is the address of primary sp. PrimarySpAddress string `protobuf:"bytes,6,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"` // primary_sp_approval is the approval info of the primary SP which indicates that primary sp confirm the user's request. PrimarySpApproval *Approval `protobuf:"bytes,7,opt,name=primary_sp_approval,json=primarySpApproval,proto3" json:"primary_sp_approval,omitempty"` // read_quota ReadQuota uint64 `protobuf:"varint,8,opt,name=read_quota,json=readQuota,proto3" json:"read_quota,omitempty"` }
func NewMsgCreateBucket ¶
func NewMsgCreateBucket( creator sdk.AccAddress, bucketName string, isPublic bool, primarySPAddress sdk.AccAddress, paymentAddress sdk.AccAddress, timeoutHeight uint64, sig []byte) *MsgCreateBucket
NewMsgCreateBucket creates a new MsgCreateBucket instance.
func (*MsgCreateBucket) Descriptor ¶
func (*MsgCreateBucket) Descriptor() ([]byte, []int)
func (*MsgCreateBucket) GetApprovalBytes ¶ added in v0.0.6
func (msg *MsgCreateBucket) GetApprovalBytes() []byte
GetApprovalBytes returns the message bytes of approval info.
func (*MsgCreateBucket) GetBucketName ¶
func (m *MsgCreateBucket) GetBucketName() string
func (*MsgCreateBucket) GetCreator ¶
func (m *MsgCreateBucket) GetCreator() string
func (*MsgCreateBucket) GetIsPublic ¶
func (m *MsgCreateBucket) GetIsPublic() bool
func (*MsgCreateBucket) GetPaymentAddress ¶
func (m *MsgCreateBucket) GetPaymentAddress() string
func (*MsgCreateBucket) GetPrimarySpAddress ¶
func (m *MsgCreateBucket) GetPrimarySpAddress() string
func (*MsgCreateBucket) GetPrimarySpApproval ¶ added in v0.0.6
func (m *MsgCreateBucket) GetPrimarySpApproval() *Approval
func (*MsgCreateBucket) GetReadQuota ¶ added in v0.0.6
func (m *MsgCreateBucket) GetReadQuota() uint64
func (*MsgCreateBucket) GetSignBytes ¶
func (msg *MsgCreateBucket) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgCreateBucket) GetSigners ¶
func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It returns the address(es) that must sign over msg.GetSignBytes().
func (*MsgCreateBucket) Marshal ¶
func (m *MsgCreateBucket) Marshal() (dAtA []byte, err error)
func (*MsgCreateBucket) MarshalToSizedBuffer ¶
func (m *MsgCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBucket) ProtoMessage ¶
func (*MsgCreateBucket) ProtoMessage()
func (*MsgCreateBucket) Reset ¶
func (m *MsgCreateBucket) Reset()
func (*MsgCreateBucket) Route ¶
func (msg *MsgCreateBucket) Route() string
Route implements the sdk.Msg interface.
func (*MsgCreateBucket) Size ¶
func (m *MsgCreateBucket) Size() (n int)
func (*MsgCreateBucket) String ¶
func (m *MsgCreateBucket) String() string
func (*MsgCreateBucket) Type ¶
func (msg *MsgCreateBucket) Type() string
Type implements the sdk.Msg interface.
func (*MsgCreateBucket) Unmarshal ¶
func (m *MsgCreateBucket) Unmarshal(dAtA []byte) error
func (*MsgCreateBucket) ValidateBasic ¶
func (msg *MsgCreateBucket) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCreateBucket) XXX_DiscardUnknown ¶
func (m *MsgCreateBucket) XXX_DiscardUnknown()
func (*MsgCreateBucket) XXX_Marshal ¶
func (m *MsgCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBucket) XXX_Merge ¶
func (m *MsgCreateBucket) XXX_Merge(src proto.Message)
func (*MsgCreateBucket) XXX_Size ¶
func (m *MsgCreateBucket) XXX_Size() int
func (*MsgCreateBucket) XXX_Unmarshal ¶
func (m *MsgCreateBucket) XXX_Unmarshal(b []byte) error
type MsgCreateBucketResponse ¶
type MsgCreateBucketResponse struct {
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 is the account address of group owner who create the group Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // group_name is the name of the group. it's not globally unique. GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // member_request is a list of member which to be add or remove Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` }
func NewMsgCreateGroup ¶
func NewMsgCreateGroup(creator sdk.AccAddress, groupName string, membersAcc []sdk.AccAddress) *MsgCreateGroup
func (*MsgCreateGroup) Descriptor ¶
func (*MsgCreateGroup) Descriptor() ([]byte, []int)
func (*MsgCreateGroup) GetCreator ¶
func (m *MsgCreateGroup) GetCreator() string
func (*MsgCreateGroup) GetGroupName ¶
func (m *MsgCreateGroup) GetGroupName() string
func (*MsgCreateGroup) GetMembers ¶
func (m *MsgCreateGroup) GetMembers() []string
func (*MsgCreateGroup) GetSignBytes ¶
func (msg *MsgCreateGroup) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgCreateGroup) GetSigners ¶
func (msg *MsgCreateGroup) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgCreateGroup) Marshal ¶
func (m *MsgCreateGroup) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroup) MarshalToSizedBuffer ¶
func (m *MsgCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroup) ProtoMessage ¶
func (*MsgCreateGroup) ProtoMessage()
func (*MsgCreateGroup) Reset ¶
func (m *MsgCreateGroup) Reset()
func (*MsgCreateGroup) Route ¶
func (msg *MsgCreateGroup) Route() string
Route implements the sdk.Msg interface.
func (*MsgCreateGroup) Size ¶
func (m *MsgCreateGroup) Size() (n int)
func (*MsgCreateGroup) String ¶
func (m *MsgCreateGroup) String() string
func (*MsgCreateGroup) Type ¶
func (msg *MsgCreateGroup) Type() string
Type implements the sdk.Msg interface.
func (*MsgCreateGroup) Unmarshal ¶
func (m *MsgCreateGroup) Unmarshal(dAtA []byte) error
func (*MsgCreateGroup) ValidateBasic ¶
func (msg *MsgCreateGroup) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgCreateGroup) XXX_DiscardUnknown ¶
func (m *MsgCreateGroup) XXX_DiscardUnknown()
func (*MsgCreateGroup) XXX_Marshal ¶
func (m *MsgCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroup) XXX_Merge ¶
func (m *MsgCreateGroup) XXX_Merge(src proto.Message)
func (*MsgCreateGroup) XXX_Size ¶
func (m *MsgCreateGroup) XXX_Size() int
func (*MsgCreateGroup) XXX_Unmarshal ¶
func (m *MsgCreateGroup) XXX_Unmarshal(b []byte) error
type MsgCreateGroupResponse ¶
type MsgCreateGroupResponse struct {
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 is the account address of object uploader Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // bucket_name is the name of the bucket where the object is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // payload_size is size of the object's payload PayloadSize uint64 `protobuf:"varint,4,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // is_public means the bucket is private or public. if private, only bucket owner or grantee can access it, // otherwise every greenfield user can access it. IsPublic bool `protobuf:"varint,5,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // content_type is a standard MIME type describing the format of the object. ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // primary_sp_approval is the approval info of the primary SP which indicates that primary sp confirm the user's request. PrimarySpApproval *Approval `protobuf:"bytes,7,opt,name=primary_sp_approval,json=primarySpApproval,proto3" json:"primary_sp_approval,omitempty"` // expect_checksums is a list of hashes which was generate by redundancy algorithm. ExpectChecksums [][]byte `protobuf:"bytes,8,rep,name=expect_checksums,json=expectChecksums,proto3" json:"expect_checksums,omitempty"` // redundancy_type can be ec or replica RedundancyType RedundancyType `` /* 152-byte string literal not displayed */ // expect_secondarySPs is 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, isPublic bool, 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) GetIsPublic ¶
func (m *MsgCreateObject) GetIsPublic() bool
func (*MsgCreateObject) GetObjectName ¶
func (m *MsgCreateObject) GetObjectName() string
func (*MsgCreateObject) GetPayloadSize ¶
func (m *MsgCreateObject) GetPayloadSize() uint64
func (*MsgCreateObject) GetPrimarySpApproval ¶ added in v0.0.6
func (m *MsgCreateObject) GetPrimarySpApproval() *Approval
func (*MsgCreateObject) 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) 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 is the account address of the grantee who has the DeleteBucket permission of the bucket to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket to be deleted. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` }
func NewMsgDeleteBucket ¶
func NewMsgDeleteBucket(operator sdk.AccAddress, bucketName string) *MsgDeleteBucket
NewMsgDeleteBucket creates a new MsgDeleteBucket instance
func (*MsgDeleteBucket) Descriptor ¶
func (*MsgDeleteBucket) Descriptor() ([]byte, []int)
func (*MsgDeleteBucket) GetBucketName ¶
func (m *MsgDeleteBucket) GetBucketName() string
func (*MsgDeleteBucket) GetOperator ¶
func (m *MsgDeleteBucket) GetOperator() string
func (*MsgDeleteBucket) GetSignBytes ¶
func (msg *MsgDeleteBucket) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface.
func (*MsgDeleteBucket) GetSigners ¶
func (msg *MsgDeleteBucket) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgDeleteBucket) Marshal ¶
func (m *MsgDeleteBucket) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBucket) MarshalToSizedBuffer ¶
func (m *MsgDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBucket) ProtoMessage ¶
func (*MsgDeleteBucket) ProtoMessage()
func (*MsgDeleteBucket) Reset ¶
func (m *MsgDeleteBucket) Reset()
func (*MsgDeleteBucket) Route ¶
func (msg *MsgDeleteBucket) Route() string
Route implements the sdk.Msg interface.
func (*MsgDeleteBucket) Size ¶
func (m *MsgDeleteBucket) Size() (n int)
func (*MsgDeleteBucket) String ¶
func (m *MsgDeleteBucket) String() string
func (*MsgDeleteBucket) Type ¶
func (msg *MsgDeleteBucket) Type() string
Type implements the sdk.Msg interface.
func (*MsgDeleteBucket) Unmarshal ¶
func (m *MsgDeleteBucket) Unmarshal(dAtA []byte) error
func (*MsgDeleteBucket) ValidateBasic ¶
func (msg *MsgDeleteBucket) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgDeleteBucket) XXX_DiscardUnknown ¶
func (m *MsgDeleteBucket) XXX_DiscardUnknown()
func (*MsgDeleteBucket) XXX_Marshal ¶
func (m *MsgDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBucket) XXX_Merge ¶
func (m *MsgDeleteBucket) XXX_Merge(src proto.Message)
func (*MsgDeleteBucket) XXX_Size ¶
func (m *MsgDeleteBucket) XXX_Size() int
func (*MsgDeleteBucket) XXX_Unmarshal ¶
func (m *MsgDeleteBucket) XXX_Unmarshal(b []byte) error
type MsgDeleteBucketResponse ¶
type MsgDeleteBucketResponse struct { }
func (*MsgDeleteBucketResponse) Descriptor ¶
func (*MsgDeleteBucketResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteBucketResponse) Marshal ¶
func (m *MsgDeleteBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBucketResponse) MarshalTo ¶
func (m *MsgDeleteBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteBucketResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBucketResponse) ProtoMessage ¶
func (*MsgDeleteBucketResponse) ProtoMessage()
func (*MsgDeleteBucketResponse) Reset ¶
func (m *MsgDeleteBucketResponse) Reset()
func (*MsgDeleteBucketResponse) Size ¶
func (m *MsgDeleteBucketResponse) Size() (n int)
func (*MsgDeleteBucketResponse) String ¶
func (m *MsgDeleteBucketResponse) String() string
func (*MsgDeleteBucketResponse) Unmarshal ¶
func (m *MsgDeleteBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteBucketResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteBucketResponse) XXX_DiscardUnknown()
func (*MsgDeleteBucketResponse) XXX_Marshal ¶
func (m *MsgDeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBucketResponse) XXX_Merge ¶
func (m *MsgDeleteBucketResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteBucketResponse) XXX_Size ¶
func (m *MsgDeleteBucketResponse) XXX_Size() int
func (*MsgDeleteBucketResponse) XXX_Unmarshal ¶
func (m *MsgDeleteBucketResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteGroup ¶
type MsgDeleteGroup struct { // operator is the account address of the operator who has the DeleteGroup permission of the group to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // group_name is the name of the group which to be deleted GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` }
func NewMsgDeleteGroup ¶
func NewMsgDeleteGroup(operator sdk.AccAddress, groupName string) *MsgDeleteGroup
func (*MsgDeleteGroup) Descriptor ¶
func (*MsgDeleteGroup) Descriptor() ([]byte, []int)
func (*MsgDeleteGroup) GetGroupName ¶
func (m *MsgDeleteGroup) GetGroupName() string
func (*MsgDeleteGroup) GetOperator ¶
func (m *MsgDeleteGroup) GetOperator() string
func (*MsgDeleteGroup) GetSignBytes ¶
func (msg *MsgDeleteGroup) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgDeleteGroup) GetSigners ¶
func (msg *MsgDeleteGroup) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgDeleteGroup) Marshal ¶
func (m *MsgDeleteGroup) Marshal() (dAtA []byte, err error)
func (*MsgDeleteGroup) MarshalToSizedBuffer ¶
func (m *MsgDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteGroup) ProtoMessage ¶
func (*MsgDeleteGroup) ProtoMessage()
func (*MsgDeleteGroup) Reset ¶
func (m *MsgDeleteGroup) Reset()
func (*MsgDeleteGroup) Route ¶
func (msg *MsgDeleteGroup) Route() string
Route implements the sdk.Msg interface.
func (*MsgDeleteGroup) Size ¶
func (m *MsgDeleteGroup) Size() (n int)
func (*MsgDeleteGroup) String ¶
func (m *MsgDeleteGroup) String() string
func (*MsgDeleteGroup) Type ¶
func (msg *MsgDeleteGroup) Type() string
Type implements the sdk.Msg interface.
func (*MsgDeleteGroup) Unmarshal ¶
func (m *MsgDeleteGroup) Unmarshal(dAtA []byte) error
func (*MsgDeleteGroup) ValidateBasic ¶
func (msg *MsgDeleteGroup) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgDeleteGroup) XXX_DiscardUnknown ¶
func (m *MsgDeleteGroup) XXX_DiscardUnknown()
func (*MsgDeleteGroup) XXX_Marshal ¶
func (m *MsgDeleteGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteGroup) XXX_Merge ¶
func (m *MsgDeleteGroup) XXX_Merge(src proto.Message)
func (*MsgDeleteGroup) XXX_Size ¶
func (m *MsgDeleteGroup) XXX_Size() int
func (*MsgDeleteGroup) XXX_Unmarshal ¶
func (m *MsgDeleteGroup) XXX_Unmarshal(b []byte) error
type MsgDeleteGroupResponse ¶
type MsgDeleteGroupResponse struct { }
func (*MsgDeleteGroupResponse) Descriptor ¶
func (*MsgDeleteGroupResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteGroupResponse) Marshal ¶
func (m *MsgDeleteGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteGroupResponse) MarshalTo ¶
func (m *MsgDeleteGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteGroupResponse) ProtoMessage ¶
func (*MsgDeleteGroupResponse) ProtoMessage()
func (*MsgDeleteGroupResponse) Reset ¶
func (m *MsgDeleteGroupResponse) Reset()
func (*MsgDeleteGroupResponse) Size ¶
func (m *MsgDeleteGroupResponse) Size() (n int)
func (*MsgDeleteGroupResponse) String ¶
func (m *MsgDeleteGroupResponse) String() string
func (*MsgDeleteGroupResponse) Unmarshal ¶
func (m *MsgDeleteGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteGroupResponse) XXX_DiscardUnknown()
func (*MsgDeleteGroupResponse) XXX_Marshal ¶
func (m *MsgDeleteGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteGroupResponse) XXX_Merge ¶
func (m *MsgDeleteGroupResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteGroupResponse) XXX_Size ¶
func (m *MsgDeleteGroupResponse) XXX_Size() int
func (*MsgDeleteGroupResponse) XXX_Unmarshal ¶
func (m *MsgDeleteGroupResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteObject ¶
type MsgDeleteObject struct { // operator is the account address of the operator who has the DeleteObject permission of the object to be deleted. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket where the object which to be deleted is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of the object which to be deleted. ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` }
func NewMsgDeleteObject ¶
func NewMsgDeleteObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgDeleteObject
func (*MsgDeleteObject) Descriptor ¶
func (*MsgDeleteObject) Descriptor() ([]byte, []int)
func (*MsgDeleteObject) GetBucketName ¶
func (m *MsgDeleteObject) GetBucketName() string
func (*MsgDeleteObject) GetObjectName ¶
func (m *MsgDeleteObject) GetObjectName() string
func (*MsgDeleteObject) GetOperator ¶
func (m *MsgDeleteObject) GetOperator() string
func (*MsgDeleteObject) GetSignBytes ¶
func (msg *MsgDeleteObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgDeleteObject) GetSigners ¶
func (msg *MsgDeleteObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgDeleteObject) Marshal ¶
func (m *MsgDeleteObject) Marshal() (dAtA []byte, err error)
func (*MsgDeleteObject) MarshalToSizedBuffer ¶
func (m *MsgDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteObject) ProtoMessage ¶
func (*MsgDeleteObject) ProtoMessage()
func (*MsgDeleteObject) Reset ¶
func (m *MsgDeleteObject) Reset()
func (*MsgDeleteObject) Route ¶
func (msg *MsgDeleteObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgDeleteObject) Size ¶
func (m *MsgDeleteObject) Size() (n int)
func (*MsgDeleteObject) String ¶
func (m *MsgDeleteObject) String() string
func (*MsgDeleteObject) Type ¶
func (msg *MsgDeleteObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgDeleteObject) Unmarshal ¶
func (m *MsgDeleteObject) Unmarshal(dAtA []byte) error
func (*MsgDeleteObject) ValidateBasic ¶
func (msg *MsgDeleteObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgDeleteObject) XXX_DiscardUnknown ¶
func (m *MsgDeleteObject) XXX_DiscardUnknown()
func (*MsgDeleteObject) XXX_Marshal ¶
func (m *MsgDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteObject) XXX_Merge ¶
func (m *MsgDeleteObject) XXX_Merge(src proto.Message)
func (*MsgDeleteObject) XXX_Size ¶
func (m *MsgDeleteObject) XXX_Size() int
func (*MsgDeleteObject) XXX_Unmarshal ¶
func (m *MsgDeleteObject) XXX_Unmarshal(b []byte) error
type MsgDeleteObjectResponse ¶
type MsgDeleteObjectResponse struct { }
func (*MsgDeleteObjectResponse) Descriptor ¶
func (*MsgDeleteObjectResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteObjectResponse) Marshal ¶
func (m *MsgDeleteObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteObjectResponse) MarshalTo ¶
func (m *MsgDeleteObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteObjectResponse) ProtoMessage ¶
func (*MsgDeleteObjectResponse) ProtoMessage()
func (*MsgDeleteObjectResponse) Reset ¶
func (m *MsgDeleteObjectResponse) Reset()
func (*MsgDeleteObjectResponse) Size ¶
func (m *MsgDeleteObjectResponse) Size() (n int)
func (*MsgDeleteObjectResponse) String ¶
func (m *MsgDeleteObjectResponse) String() string
func (*MsgDeleteObjectResponse) Unmarshal ¶
func (m *MsgDeleteObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteObjectResponse) XXX_DiscardUnknown()
func (*MsgDeleteObjectResponse) XXX_Marshal ¶
func (m *MsgDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteObjectResponse) XXX_Merge ¶
func (m *MsgDeleteObjectResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteObjectResponse) XXX_Size ¶
func (m *MsgDeleteObjectResponse) XXX_Size() int
func (*MsgDeleteObjectResponse) XXX_Unmarshal ¶
func (m *MsgDeleteObjectResponse) XXX_Unmarshal(b []byte) error
type 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 define 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 define 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 string, 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 {
Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"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 is the account address of the member who want to leave the group Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"` // group_owner is the owner of the group you want to leave GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"` // group_name is the name of the group you want to leave GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` }
func NewMsgLeaveGroup ¶
func NewMsgLeaveGroup(member sdk.AccAddress, groupOwner sdk.AccAddress, groupName string) *MsgLeaveGroup
func (*MsgLeaveGroup) Descriptor ¶
func (*MsgLeaveGroup) Descriptor() ([]byte, []int)
func (*MsgLeaveGroup) GetGroupName ¶
func (m *MsgLeaveGroup) GetGroupName() string
func (*MsgLeaveGroup) GetGroupOwner ¶
func (m *MsgLeaveGroup) GetGroupOwner() string
func (*MsgLeaveGroup) GetMember ¶
func (m *MsgLeaveGroup) GetMember() string
func (*MsgLeaveGroup) GetSignBytes ¶
func (msg *MsgLeaveGroup) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgLeaveGroup) GetSigners ¶
func (msg *MsgLeaveGroup) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgLeaveGroup) Marshal ¶
func (m *MsgLeaveGroup) Marshal() (dAtA []byte, err error)
func (*MsgLeaveGroup) MarshalToSizedBuffer ¶
func (m *MsgLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLeaveGroup) ProtoMessage ¶
func (*MsgLeaveGroup) ProtoMessage()
func (*MsgLeaveGroup) Reset ¶
func (m *MsgLeaveGroup) Reset()
func (*MsgLeaveGroup) Route ¶
func (msg *MsgLeaveGroup) Route() string
Route implements the sdk.Msg interface.
func (*MsgLeaveGroup) Size ¶
func (m *MsgLeaveGroup) Size() (n int)
func (*MsgLeaveGroup) String ¶
func (m *MsgLeaveGroup) String() string
func (*MsgLeaveGroup) Type ¶
func (msg *MsgLeaveGroup) Type() string
Type implements the sdk.Msg interface.
func (*MsgLeaveGroup) Unmarshal ¶
func (m *MsgLeaveGroup) Unmarshal(dAtA []byte) error
func (*MsgLeaveGroup) ValidateBasic ¶
func (msg *MsgLeaveGroup) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgLeaveGroup) XXX_DiscardUnknown ¶
func (m *MsgLeaveGroup) XXX_DiscardUnknown()
func (*MsgLeaveGroup) XXX_Marshal ¶
func (m *MsgLeaveGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLeaveGroup) XXX_Merge ¶
func (m *MsgLeaveGroup) XXX_Merge(src proto.Message)
func (*MsgLeaveGroup) XXX_Size ¶
func (m *MsgLeaveGroup) XXX_Size() int
func (*MsgLeaveGroup) XXX_Unmarshal ¶
func (m *MsgLeaveGroup) XXX_Unmarshal(b []byte) error
type MsgLeaveGroupResponse ¶
type MsgLeaveGroupResponse struct { }
func (*MsgLeaveGroupResponse) Descriptor ¶
func (*MsgLeaveGroupResponse) Descriptor() ([]byte, []int)
func (*MsgLeaveGroupResponse) Marshal ¶
func (m *MsgLeaveGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgLeaveGroupResponse) MarshalTo ¶
func (m *MsgLeaveGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgLeaveGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgLeaveGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLeaveGroupResponse) ProtoMessage ¶
func (*MsgLeaveGroupResponse) ProtoMessage()
func (*MsgLeaveGroupResponse) Reset ¶
func (m *MsgLeaveGroupResponse) Reset()
func (*MsgLeaveGroupResponse) Size ¶
func (m *MsgLeaveGroupResponse) Size() (n int)
func (*MsgLeaveGroupResponse) String ¶
func (m *MsgLeaveGroupResponse) String() string
func (*MsgLeaveGroupResponse) Unmarshal ¶
func (m *MsgLeaveGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgLeaveGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgLeaveGroupResponse) XXX_DiscardUnknown()
func (*MsgLeaveGroupResponse) XXX_Marshal ¶
func (m *MsgLeaveGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLeaveGroupResponse) XXX_Merge ¶
func (m *MsgLeaveGroupResponse) XXX_Merge(src proto.Message)
func (*MsgLeaveGroupResponse) XXX_Size ¶
func (m *MsgLeaveGroupResponse) XXX_Size() int
func (*MsgLeaveGroupResponse) XXX_Unmarshal ¶
func (m *MsgLeaveGroupResponse) XXX_Unmarshal(b []byte) error
type 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 define 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 define 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 define 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"` }
func NewMsgPutPolicy ¶ added in v0.0.7
func NewMsgPutPolicy(operator sdk.AccAddress, resource string, principal *permtypes.Principal, statements []*permtypes.Statement) *MsgPutPolicy
func (*MsgPutPolicy) Descriptor ¶ added in v0.0.7
func (*MsgPutPolicy) Descriptor() ([]byte, []int)
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 {
Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"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 is the account address of the object owner Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket where the object is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of unsealed object to be reject. ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` }
func NewMsgRejectUnsealedObject ¶
func NewMsgRejectUnsealedObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgRejectSealObject
func (*MsgRejectSealObject) Descriptor ¶
func (*MsgRejectSealObject) Descriptor() ([]byte, []int)
func (*MsgRejectSealObject) GetBucketName ¶
func (m *MsgRejectSealObject) GetBucketName() string
func (*MsgRejectSealObject) GetObjectName ¶
func (m *MsgRejectSealObject) GetObjectName() string
func (*MsgRejectSealObject) GetOperator ¶
func (m *MsgRejectSealObject) GetOperator() string
func (*MsgRejectSealObject) GetSignBytes ¶
func (msg *MsgRejectSealObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgRejectSealObject) GetSigners ¶
func (msg *MsgRejectSealObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgRejectSealObject) Marshal ¶
func (m *MsgRejectSealObject) Marshal() (dAtA []byte, err error)
func (*MsgRejectSealObject) MarshalTo ¶
func (m *MsgRejectSealObject) MarshalTo(dAtA []byte) (int, error)
func (*MsgRejectSealObject) MarshalToSizedBuffer ¶
func (m *MsgRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRejectSealObject) ProtoMessage ¶
func (*MsgRejectSealObject) ProtoMessage()
func (*MsgRejectSealObject) Reset ¶
func (m *MsgRejectSealObject) Reset()
func (*MsgRejectSealObject) Route ¶
func (msg *MsgRejectSealObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgRejectSealObject) Size ¶
func (m *MsgRejectSealObject) Size() (n int)
func (*MsgRejectSealObject) String ¶
func (m *MsgRejectSealObject) String() string
func (*MsgRejectSealObject) Type ¶
func (msg *MsgRejectSealObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgRejectSealObject) Unmarshal ¶
func (m *MsgRejectSealObject) Unmarshal(dAtA []byte) error
func (*MsgRejectSealObject) ValidateBasic ¶
func (msg *MsgRejectSealObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgRejectSealObject) XXX_DiscardUnknown ¶
func (m *MsgRejectSealObject) XXX_DiscardUnknown()
func (*MsgRejectSealObject) XXX_Marshal ¶
func (m *MsgRejectSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRejectSealObject) XXX_Merge ¶
func (m *MsgRejectSealObject) XXX_Merge(src proto.Message)
func (*MsgRejectSealObject) XXX_Size ¶
func (m *MsgRejectSealObject) XXX_Size() int
func (*MsgRejectSealObject) XXX_Unmarshal ¶
func (m *MsgRejectSealObject) XXX_Unmarshal(b []byte) error
type MsgRejectSealObjectResponse ¶
type MsgRejectSealObjectResponse struct { }
func (*MsgRejectSealObjectResponse) Descriptor ¶
func (*MsgRejectSealObjectResponse) Descriptor() ([]byte, []int)
func (*MsgRejectSealObjectResponse) Marshal ¶
func (m *MsgRejectSealObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgRejectSealObjectResponse) MarshalTo ¶
func (m *MsgRejectSealObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRejectSealObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgRejectSealObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRejectSealObjectResponse) ProtoMessage ¶
func (*MsgRejectSealObjectResponse) ProtoMessage()
func (*MsgRejectSealObjectResponse) Reset ¶
func (m *MsgRejectSealObjectResponse) Reset()
func (*MsgRejectSealObjectResponse) Size ¶
func (m *MsgRejectSealObjectResponse) Size() (n int)
func (*MsgRejectSealObjectResponse) String ¶
func (m *MsgRejectSealObjectResponse) String() string
func (*MsgRejectSealObjectResponse) Unmarshal ¶
func (m *MsgRejectSealObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgRejectSealObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgRejectSealObjectResponse) XXX_DiscardUnknown()
func (*MsgRejectSealObjectResponse) XXX_Marshal ¶
func (m *MsgRejectSealObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRejectSealObjectResponse) XXX_Merge ¶
func (m *MsgRejectSealObjectResponse) XXX_Merge(src proto.Message)
func (*MsgRejectSealObjectResponse) XXX_Size ¶
func (m *MsgRejectSealObjectResponse) XXX_Size() int
func (*MsgRejectSealObjectResponse) XXX_Unmarshal ¶
func (m *MsgRejectSealObjectResponse) XXX_Unmarshal(b []byte) error
type MsgSealObject ¶
type MsgSealObject struct { // operator is the account address of primary SP Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of the bucket where the object is stored. BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of object to be sealed. ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // secondary_sp_addresses is a list of storage provider which store the redundant data. SecondarySpAddresses []string `protobuf:"bytes,4,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"` // secondary_sp_signatures is the signature of the secondary sp that can // acknowledge that the payload data has received and stored. SecondarySpSignatures [][]byte `` /* 126-byte string literal not displayed */ }
func NewMsgSealObject ¶
func NewMsgSealObject( operator sdk.AccAddress, bucketName string, objectName string, secondarySPAccs []sdk.AccAddress, secondarySpSignatures [][]byte) *MsgSealObject
func (*MsgSealObject) Descriptor ¶
func (*MsgSealObject) Descriptor() ([]byte, []int)
func (*MsgSealObject) GetBucketName ¶
func (m *MsgSealObject) GetBucketName() string
func (*MsgSealObject) GetObjectName ¶
func (m *MsgSealObject) GetObjectName() string
func (*MsgSealObject) GetOperator ¶
func (m *MsgSealObject) GetOperator() string
func (*MsgSealObject) GetSecondarySpAddresses ¶
func (m *MsgSealObject) GetSecondarySpAddresses() []string
func (*MsgSealObject) GetSecondarySpSignatures ¶
func (m *MsgSealObject) GetSecondarySpSignatures() [][]byte
func (*MsgSealObject) GetSignBytes ¶
func (msg *MsgSealObject) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgSealObject) GetSigners ¶
func (msg *MsgSealObject) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgSealObject) Marshal ¶
func (m *MsgSealObject) Marshal() (dAtA []byte, err error)
func (*MsgSealObject) MarshalToSizedBuffer ¶
func (m *MsgSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSealObject) ProtoMessage ¶
func (*MsgSealObject) ProtoMessage()
func (*MsgSealObject) Reset ¶
func (m *MsgSealObject) Reset()
func (*MsgSealObject) Route ¶
func (msg *MsgSealObject) Route() string
Route implements the sdk.Msg interface.
func (*MsgSealObject) Size ¶
func (m *MsgSealObject) Size() (n int)
func (*MsgSealObject) String ¶
func (m *MsgSealObject) String() string
func (*MsgSealObject) Type ¶
func (msg *MsgSealObject) Type() string
Type implements the sdk.Msg interface.
func (*MsgSealObject) Unmarshal ¶
func (m *MsgSealObject) Unmarshal(dAtA []byte) error
func (*MsgSealObject) ValidateBasic ¶
func (msg *MsgSealObject) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgSealObject) XXX_DiscardUnknown ¶
func (m *MsgSealObject) XXX_DiscardUnknown()
func (*MsgSealObject) XXX_Marshal ¶
func (m *MsgSealObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSealObject) XXX_Merge ¶
func (m *MsgSealObject) XXX_Merge(src proto.Message)
func (*MsgSealObject) XXX_Size ¶
func (m *MsgSealObject) XXX_Size() int
func (*MsgSealObject) XXX_Unmarshal ¶
func (m *MsgSealObject) XXX_Unmarshal(b []byte) error
type MsgSealObjectResponse ¶
type MsgSealObjectResponse struct { }
func (*MsgSealObjectResponse) Descriptor ¶
func (*MsgSealObjectResponse) Descriptor() ([]byte, []int)
func (*MsgSealObjectResponse) Marshal ¶
func (m *MsgSealObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgSealObjectResponse) MarshalTo ¶
func (m *MsgSealObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSealObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgSealObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSealObjectResponse) ProtoMessage ¶
func (*MsgSealObjectResponse) ProtoMessage()
func (*MsgSealObjectResponse) Reset ¶
func (m *MsgSealObjectResponse) Reset()
func (*MsgSealObjectResponse) Size ¶
func (m *MsgSealObjectResponse) Size() (n int)
func (*MsgSealObjectResponse) String ¶
func (m *MsgSealObjectResponse) String() string
func (*MsgSealObjectResponse) Unmarshal ¶
func (m *MsgSealObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgSealObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgSealObjectResponse) XXX_DiscardUnknown()
func (*MsgSealObjectResponse) XXX_Marshal ¶
func (m *MsgSealObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSealObjectResponse) XXX_Merge ¶
func (m *MsgSealObjectResponse) XXX_Merge(src proto.Message)
func (*MsgSealObjectResponse) XXX_Size ¶
func (m *MsgSealObjectResponse) XXX_Size() int
func (*MsgSealObjectResponse) XXX_Unmarshal ¶
func (m *MsgSealObjectResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // basic operation of bucket CreateBucket(context.Context, *MsgCreateBucket) (*MsgCreateBucketResponse, error) DeleteBucket(context.Context, *MsgDeleteBucket) (*MsgDeleteBucketResponse, error) UpdateBucketInfo(context.Context, *MsgUpdateBucketInfo) (*MsgUpdateBucketInfoResponse, 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) // 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) // basic operation of policy PutPolicy(context.Context, *MsgPutPolicy) (*MsgPutPolicyResponse, error) // this line is used by starport scaffolding # proto/tx/rpc 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 is the account address of the operator Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name is the name of bucket which you'll update BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // read_quota is the traffic quota that you read from primary sp ReadQuota uint64 `protobuf:"varint,3,opt,name=read_quota,json=readQuota,proto3" json:"read_quota,omitempty"` // payment_address is the account address of the payment account PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` }
func NewMsgUpdateBucketInfo ¶ added in v0.0.6
func NewMsgUpdateBucketInfo(operator sdk.AccAddress, bucketName string, readQuota uint64, paymentAcc sdk.AccAddress) *MsgUpdateBucketInfo
NewMsgBucketReadQuota creates a new MsgBucketReadQuota instance.
func (*MsgUpdateBucketInfo) Descriptor ¶ added in v0.0.6
func (*MsgUpdateBucketInfo) Descriptor() ([]byte, []int)
func (*MsgUpdateBucketInfo) GetBucketName ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetBucketName() string
func (*MsgUpdateBucketInfo) GetOperator ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetOperator() string
func (*MsgUpdateBucketInfo) GetPaymentAddress ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetPaymentAddress() string
func (*MsgUpdateBucketInfo) GetReadQuota ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) GetReadQuota() uint64
func (*MsgUpdateBucketInfo) GetSignBytes ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) GetSignBytes() []byte
func (*MsgUpdateBucketInfo) GetSigners ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) GetSigners() []sdk.AccAddress
func (*MsgUpdateBucketInfo) Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBucketInfo) MarshalTo ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfo) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfo) ProtoMessage ¶ added in v0.0.6
func (*MsgUpdateBucketInfo) ProtoMessage()
func (*MsgUpdateBucketInfo) Reset ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Reset()
func (*MsgUpdateBucketInfo) Route ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) Route() string
func (*MsgUpdateBucketInfo) Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Size() (n int)
func (*MsgUpdateBucketInfo) String ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) String() string
func (*MsgUpdateBucketInfo) Type ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) Type() string
func (*MsgUpdateBucketInfo) Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) Unmarshal(dAtA []byte) error
func (*MsgUpdateBucketInfo) ValidateBasic ¶ added in v0.0.6
func (msg *MsgUpdateBucketInfo) ValidateBasic() error
func (*MsgUpdateBucketInfo) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_DiscardUnknown()
func (*MsgUpdateBucketInfo) XXX_Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBucketInfo) XXX_Merge ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Merge(src proto.Message)
func (*MsgUpdateBucketInfo) XXX_Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Size() int
func (*MsgUpdateBucketInfo) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfo) XXX_Unmarshal(b []byte) error
type MsgUpdateBucketInfoResponse ¶ added in v0.0.6
type MsgUpdateBucketInfoResponse struct { }
func (*MsgUpdateBucketInfoResponse) Descriptor ¶ added in v0.0.6
func (*MsgUpdateBucketInfoResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateBucketInfoResponse) Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBucketInfoResponse) MarshalTo ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfoResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBucketInfoResponse) ProtoMessage ¶ added in v0.0.6
func (*MsgUpdateBucketInfoResponse) ProtoMessage()
func (*MsgUpdateBucketInfoResponse) Reset ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Reset()
func (*MsgUpdateBucketInfoResponse) Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Size() (n int)
func (*MsgUpdateBucketInfoResponse) String ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) String() string
func (*MsgUpdateBucketInfoResponse) Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateBucketInfoResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_DiscardUnknown()
func (*MsgUpdateBucketInfoResponse) XXX_Marshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBucketInfoResponse) XXX_Merge ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateBucketInfoResponse) XXX_Size ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Size() int
func (*MsgUpdateBucketInfoResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateBucketInfoResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMember ¶
type MsgUpdateGroupMember struct { // operator is the account address of the operator who has the UpdateGroupMember permission of the group. Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // group_name is the name of the group which to be updated GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // members_to_add is a list of members account address which will be add to the group MembersToAdd []string `protobuf:"bytes,3,rep,name=members_to_add,json=membersToAdd,proto3" json:"members_to_add,omitempty"` // members_to_delete is a list of members account address which will be remove from the group MembersToDelete []string `protobuf:"bytes,4,rep,name=members_to_delete,json=membersToDelete,proto3" json:"members_to_delete,omitempty"` }
func NewMsgUpdateGroupMember ¶
func NewMsgUpdateGroupMember( operator sdk.AccAddress, groupName string, membersToAdd []sdk.AccAddress, membersToDelete []sdk.AccAddress) *MsgUpdateGroupMember
func (*MsgUpdateGroupMember) Descriptor ¶
func (*MsgUpdateGroupMember) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMember) GetGroupName ¶
func (m *MsgUpdateGroupMember) GetGroupName() string
func (*MsgUpdateGroupMember) GetMembersToAdd ¶
func (m *MsgUpdateGroupMember) GetMembersToAdd() []string
func (*MsgUpdateGroupMember) GetMembersToDelete ¶
func (m *MsgUpdateGroupMember) GetMembersToDelete() []string
func (*MsgUpdateGroupMember) GetOperator ¶
func (m *MsgUpdateGroupMember) GetOperator() string
func (*MsgUpdateGroupMember) GetSignBytes ¶
func (msg *MsgUpdateGroupMember) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (*MsgUpdateGroupMember) GetSigners ¶
func (msg *MsgUpdateGroupMember) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) Marshal ¶
func (m *MsgUpdateGroupMember) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMember) MarshalTo ¶
func (m *MsgUpdateGroupMember) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMember) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMember) ProtoMessage ¶
func (*MsgUpdateGroupMember) ProtoMessage()
func (*MsgUpdateGroupMember) Reset ¶
func (m *MsgUpdateGroupMember) Reset()
func (*MsgUpdateGroupMember) Route ¶
func (msg *MsgUpdateGroupMember) Route() string
Route implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) Size ¶
func (m *MsgUpdateGroupMember) Size() (n int)
func (*MsgUpdateGroupMember) String ¶
func (m *MsgUpdateGroupMember) String() string
func (*MsgUpdateGroupMember) Type ¶
func (msg *MsgUpdateGroupMember) Type() string
Type implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) Unmarshal ¶
func (m *MsgUpdateGroupMember) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupMember) ValidateBasic ¶
func (msg *MsgUpdateGroupMember) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgUpdateGroupMember) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMember) XXX_DiscardUnknown()
func (*MsgUpdateGroupMember) XXX_Marshal ¶
func (m *MsgUpdateGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMember) XXX_Merge ¶
func (m *MsgUpdateGroupMember) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMember) XXX_Size ¶
func (m *MsgUpdateGroupMember) XXX_Size() int
func (*MsgUpdateGroupMember) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMember) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMemberResponse ¶
type MsgUpdateGroupMemberResponse struct { }
func (*MsgUpdateGroupMemberResponse) Descriptor ¶
func (*MsgUpdateGroupMemberResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMemberResponse) Marshal ¶
func (m *MsgUpdateGroupMemberResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMemberResponse) MarshalTo ¶
func (m *MsgUpdateGroupMemberResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMemberResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMemberResponse) ProtoMessage ¶
func (*MsgUpdateGroupMemberResponse) ProtoMessage()
func (*MsgUpdateGroupMemberResponse) Reset ¶
func (m *MsgUpdateGroupMemberResponse) Reset()
func (*MsgUpdateGroupMemberResponse) Size ¶
func (m *MsgUpdateGroupMemberResponse) Size() (n int)
func (*MsgUpdateGroupMemberResponse) String ¶
func (m *MsgUpdateGroupMemberResponse) String() string
func (*MsgUpdateGroupMemberResponse) Unmarshal ¶
func (m *MsgUpdateGroupMemberResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupMemberResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMemberResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupMemberResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMemberResponse) XXX_Merge ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMemberResponse) XXX_Size ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Size() int
func (*MsgUpdateGroupMemberResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMemberResponse) XXX_Unmarshal(b []byte) error
type ObjectInfo ¶
type ObjectInfo struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // bucket_name is the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name is the name of object ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // id is the unique identifier of object Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"` // payloadSize is the total size of the object payload PayloadSize uint64 `protobuf:"varint,5,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // is_public define the highest permissions for object. When the object is public, everyone can access it. IsPublic bool `protobuf:"varint,6,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // content_type define the format of the object which should be a standard MIME type. ContentType string `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // create_at define the block number when the object created CreateAt int64 `protobuf:"varint,8,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // object_status define the upload status of the object. ObjectStatus ObjectStatus `` /* 144-byte string literal not displayed */ // redundancy_type define the type of the redundancy which can be multi-replication or EC. RedundancyType RedundancyType `` /* 153-byte string literal not displayed */ // source_type define the source of the object. SourceType SourceType `` /* 137-byte string literal not displayed */ // checksums define the root hash of the pieces which stored in a SP. Checksums [][]byte `protobuf:"bytes,12,rep,name=checksums,proto3" json:"checksums,omitempty" 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) GetIsPublic ¶
func (m *ObjectInfo) GetIsPublic() bool
func (*ObjectInfo) GetObjectName ¶
func (m *ObjectInfo) GetObjectName() string
func (*ObjectInfo) GetObjectStatus ¶
func (m *ObjectInfo) GetObjectStatus() ObjectStatus
func (*ObjectInfo) GetOwner ¶
func (m *ObjectInfo) GetOwner() string
func (*ObjectInfo) GetPayloadSize ¶
func (m *ObjectInfo) GetPayloadSize() uint64
func (*ObjectInfo) GetRedundancyType ¶
func (m *ObjectInfo) GetRedundancyType() RedundancyType
func (*ObjectInfo) GetSecondarySpAddresses ¶
func (m *ObjectInfo) GetSecondarySpAddresses() []string
func (*ObjectInfo) GetSourceType ¶
func (m *ObjectInfo) GetSourceType() SourceType
func (*ObjectInfo) Marshal ¶
func (m *ObjectInfo) Marshal() (dAtA []byte, err error)
func (*ObjectInfo) MarshalToSizedBuffer ¶
func (m *ObjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectInfo) ProtoMessage ¶
func (*ObjectInfo) ProtoMessage()
func (*ObjectInfo) Reset ¶
func (m *ObjectInfo) Reset()
func (*ObjectInfo) Size ¶
func (m *ObjectInfo) Size() (n int)
func (*ObjectInfo) String ¶
func (m *ObjectInfo) String() string
func (*ObjectInfo) 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
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"` }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( maxSegmentSize uint64, redundantDataChunkNum uint32, redundantParityChunkNum uint32, maxPayloadSize uint64, minChargeSize uint64, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetMaxPayloadSize ¶
func (*Params) GetMaxSegmentSize ¶
func (*Params) GetMinChargeSize ¶ added in v0.0.7
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, resource *string) permtypes.Effect AddGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) error RemoveGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) GetPolicyByID(ctx sdk.Context, policyID math.Uint) (*permtypes.Policy, 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 a 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 policy by policyID GetPolicy(ctx context.Context, in *QueryGetPolicyRequest, opts ...grpc.CallOption) (*QueryGetPolicyResponse, error) // Queries a list of VerifyPermission items. VerifyPermission(ctx context.Context, in *QueryVerifyPermissionRequest, opts ...grpc.CallOption) (*QueryVerifyPermissionResponse, 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 QueryGetPolicyRequest ¶ added in v0.0.7
type QueryGetPolicyRequest struct {
PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
}
func (*QueryGetPolicyRequest) Descriptor ¶ added in v0.0.7
func (*QueryGetPolicyRequest) Descriptor() ([]byte, []int)
func (*QueryGetPolicyRequest) GetPolicyId ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) GetPolicyId() string
func (*QueryGetPolicyRequest) Marshal ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPolicyRequest) MarshalTo ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPolicyRequest) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPolicyRequest) ProtoMessage ¶ added in v0.0.7
func (*QueryGetPolicyRequest) ProtoMessage()
func (*QueryGetPolicyRequest) Reset ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) Reset()
func (*QueryGetPolicyRequest) Size ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) Size() (n int)
func (*QueryGetPolicyRequest) String ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) String() string
func (*QueryGetPolicyRequest) Unmarshal ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPolicyRequest) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) XXX_DiscardUnknown()
func (*QueryGetPolicyRequest) XXX_Marshal ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPolicyRequest) XXX_Merge ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) XXX_Merge(src proto.Message)
func (*QueryGetPolicyRequest) XXX_Size ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) XXX_Size() int
func (*QueryGetPolicyRequest) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryGetPolicyRequest) XXX_Unmarshal(b []byte) error
type QueryGetPolicyResponse ¶ added in v0.0.7
type QueryGetPolicyResponse struct {
Policy *types.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
}
func (*QueryGetPolicyResponse) Descriptor ¶ added in v0.0.7
func (*QueryGetPolicyResponse) Descriptor() ([]byte, []int)
func (*QueryGetPolicyResponse) GetPolicy ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) GetPolicy() *types.Policy
func (*QueryGetPolicyResponse) Marshal ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPolicyResponse) MarshalTo ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPolicyResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPolicyResponse) ProtoMessage ¶ added in v0.0.7
func (*QueryGetPolicyResponse) ProtoMessage()
func (*QueryGetPolicyResponse) Reset ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) Reset()
func (*QueryGetPolicyResponse) Size ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) Size() (n int)
func (*QueryGetPolicyResponse) String ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) String() string
func (*QueryGetPolicyResponse) Unmarshal ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPolicyResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) XXX_DiscardUnknown()
func (*QueryGetPolicyResponse) XXX_Marshal ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPolicyResponse) XXX_Merge ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) XXX_Merge(src proto.Message)
func (*QueryGetPolicyResponse) XXX_Size ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) XXX_Size() int
func (*QueryGetPolicyResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *QueryGetPolicyResponse) XXX_Unmarshal(b []byte) error
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"`
}
this line is used by starport scaffolding # 3
func (*QueryHeadBucketRequest) Descriptor ¶ added in v0.0.6
func (*QueryHeadBucketRequest) Descriptor() ([]byte, []int)
func (*QueryHeadBucketRequest) GetBucketName ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) GetBucketName() string
func (*QueryHeadBucketRequest) Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Marshal() (dAtA []byte, err error)
func (*QueryHeadBucketRequest) MarshalTo ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadBucketRequest) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadBucketRequest) ProtoMessage ¶ added in v0.0.6
func (*QueryHeadBucketRequest) ProtoMessage()
func (*QueryHeadBucketRequest) Reset ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Reset()
func (*QueryHeadBucketRequest) Size ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Size() (n int)
func (*QueryHeadBucketRequest) String ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) String() string
func (*QueryHeadBucketRequest) Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) Unmarshal(dAtA []byte) error
func (*QueryHeadBucketRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_DiscardUnknown()
func (*QueryHeadBucketRequest) XXX_Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadBucketRequest) XXX_Merge ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Merge(src proto.Message)
func (*QueryHeadBucketRequest) XXX_Size ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Size() int
func (*QueryHeadBucketRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketRequest) XXX_Unmarshal(b []byte) error
type QueryHeadBucketResponse ¶ added in v0.0.6
type QueryHeadBucketResponse struct {
BucketInfo *BucketInfo `protobuf:"bytes,1,opt,name=bucket_info,json=bucketInfo,proto3" json:"bucket_info,omitempty"`
}
func (*QueryHeadBucketResponse) Descriptor ¶ added in v0.0.6
func (*QueryHeadBucketResponse) Descriptor() ([]byte, []int)
func (*QueryHeadBucketResponse) GetBucketInfo ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) GetBucketInfo() *BucketInfo
func (*QueryHeadBucketResponse) Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Marshal() (dAtA []byte, err error)
func (*QueryHeadBucketResponse) MarshalTo ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryHeadBucketResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHeadBucketResponse) ProtoMessage ¶ added in v0.0.6
func (*QueryHeadBucketResponse) ProtoMessage()
func (*QueryHeadBucketResponse) Reset ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Reset()
func (*QueryHeadBucketResponse) Size ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Size() (n int)
func (*QueryHeadBucketResponse) String ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) String() string
func (*QueryHeadBucketResponse) Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) Unmarshal(dAtA []byte) error
func (*QueryHeadBucketResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_DiscardUnknown()
func (*QueryHeadBucketResponse) XXX_Marshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHeadBucketResponse) XXX_Merge ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Merge(src proto.Message)
func (*QueryHeadBucketResponse) XXX_Size ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Size() int
func (*QueryHeadBucketResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryHeadBucketResponse) XXX_Unmarshal(b []byte) error
type 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"` 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 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"` 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 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 a 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 policy by policyID GetPolicy(context.Context, *QueryGetPolicyRequest) (*QueryGetPolicyResponse, error) // Queries a list of VerifyPermission items. VerifyPermission(context.Context, *QueryVerifyPermissionRequest) (*QueryVerifyPermissionResponse, 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
const ( REDUNDANCY_REPLICA_TYPE RedundancyType = 0 REDUNDANCY_EC_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"` Checksum []byte `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` }
SecondarySpSignDoc used to generate seal signature of secondary SP
func NewSecondarySpSignDoc ¶ added in v0.0.6
func NewSecondarySpSignDoc(spAddress sdk.AccAddress, checksum []byte) *SecondarySpSignDoc
func (*SecondarySpSignDoc) Descriptor ¶ added in v0.0.6
func (*SecondarySpSignDoc) Descriptor() ([]byte, []int)
func (*SecondarySpSignDoc) GetChecksum ¶ added in v0.0.6
func (m *SecondarySpSignDoc) GetChecksum() []byte
func (*SecondarySpSignDoc) GetSignBytes ¶ added in v0.0.6
func (sr *SecondarySpSignDoc) GetSignBytes() []byte
func (*SecondarySpSignDoc) GetSpAddress ¶ added in v0.0.6
func (m *SecondarySpSignDoc) GetSpAddress() string
func (*SecondarySpSignDoc) Marshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Marshal() (dAtA []byte, err error)
func (*SecondarySpSignDoc) MarshalTo ¶ added in v0.0.6
func (m *SecondarySpSignDoc) MarshalTo(dAtA []byte) (int, error)
func (*SecondarySpSignDoc) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *SecondarySpSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SecondarySpSignDoc) ProtoMessage ¶ added in v0.0.6
func (*SecondarySpSignDoc) ProtoMessage()
func (*SecondarySpSignDoc) Reset ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Reset()
func (*SecondarySpSignDoc) Size ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Size() (n int)
func (*SecondarySpSignDoc) String ¶ added in v0.0.6
func (m *SecondarySpSignDoc) String() string
func (*SecondarySpSignDoc) Unmarshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) Unmarshal(dAtA []byte) error
func (*SecondarySpSignDoc) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_DiscardUnknown()
func (*SecondarySpSignDoc) XXX_Marshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SecondarySpSignDoc) XXX_Merge ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Merge(src proto.Message)
func (*SecondarySpSignDoc) XXX_Size ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Size() int
func (*SecondarySpSignDoc) XXX_Unmarshal ¶ added in v0.0.6
func (m *SecondarySpSignDoc) XXX_Unmarshal(b []byte) error
type SourceType ¶
type SourceType int32
const ( SOURCE_TYPE_ORIGIN SourceType = 0 SOURCE_TYPE_BSC_CROSS_CHAIN SourceType = 1 )
func (SourceType) EnumDescriptor ¶
func (SourceType) EnumDescriptor() ([]byte, []int)
func (SourceType) String ¶
func (x SourceType) String() string
type SpKeeper ¶
type SpKeeper interface { GetStorageProvider(ctx sdk.Context, addr sdk.AccAddress) (sp sptypes.StorageProvider, found bool) 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) 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) GetPolicy ¶ added in v0.0.7
func (*UnimplementedQueryServer) GetPolicy(ctx context.Context, req *QueryGetPolicyRequest) (*QueryGetPolicyResponse, error)
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) 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) 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) VerifyPermission ¶ added in v0.0.7
func (*UnimplementedQueryServer) VerifyPermission(ctx context.Context, req *QueryVerifyPermissionRequest) (*QueryVerifyPermissionResponse, error)