types

package
v0.2.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: AGPL-3.0 Imports: 52 Imported by: 43

Documentation

Overview

Package types is a generated GoMock package.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	BucketChannel = "bucket"
	ObjectChannel = "object"
	GroupChannel  = "group"

	BucketChannelId sdk.ChannelID = 4
	ObjectChannelId sdk.ChannelID = 5
	GroupChannelId  sdk.ChannelID = 6

	OperationMirrorBucket uint8 = 1
	OperationCreateBucket uint8 = 2
	OperationDeleteBucket uint8 = 3

	OperationMirrorObject uint8 = 1
	// OperationCreateObject uint8 = 2 // not used
	OperationDeleteObject uint8 = 3

	OperationMirrorGroup       uint8 = 1
	OperationCreateGroup       uint8 = 2
	OperationDeleteGroup       uint8 = 3
	OperationUpdateGroupMember uint8 = 4
)
View Source
const (
	StatusSuccess = 0
	StatusFail    = 1
)
View Source
const (
	OperationAddGroupMember    uint8 = 0
	OperationDeleteGroupMember uint8 = 1
)
View Source
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"

	// TStoreKey defines the transient store key
	TStoreKey = "transient_storage"
)
View Source
const (
	// For bucket
	TypeMsgCreateBucket     = "create_bucket"
	TypeMsgDeleteBucket     = "delete_bucket"
	TypeMsgUpdateBucketInfo = "update_bucket_info"
	TypeMsgMirrorBucket     = "mirror_bucket"

	// For object
	TypeMsgCopyObject         = "copy_object"
	TypeMsgCreateObject       = "create_object"
	TypeMsgDeleteObject       = "delete_object"
	TypeMsgSealObject         = "seal_object"
	TypeMsgRejectSealObject   = "reject_seal_object"
	TypeMsgCancelCreateObject = "cancel_create_object"
	TypeMsgMirrorObject       = "mirror_object"
	TypeMsgDiscontinueObject  = "discontinue_object"
	TypeMsgDiscontinueBucket  = "discontinue_bucket"
	TypeMsgUpdateObjectInfo   = "update_object_info"

	// For group
	TypeMsgCreateGroup       = "create_group"
	TypeMsgDeleteGroup       = "delete_group"
	TypeMsgLeaveGroup        = "leave_group"
	TypeMsgUpdateGroupMember = "update_group_member"
	TypeMsgUpdateGroupExtra  = "update_group_extra"
	TypeMsgMirrorGroup       = "mirror_group"

	MaxGroupExtraInfoLimit = 512

	// For permission policy
	TypeMsgPutPolicy    = "put_policy"
	TypeMsgDeletePolicy = "delete_policy"

	MaxGroupMemberLimitOnce = 20

	// For discontinue
	MaxDiscontinueReasonLen = 128
	MaxDiscontinueObjects   = 128
)
View Source
const (
	DefaultMaxSegmentSize            uint64 = 16 * 1024 * 1024 // 16M
	DefaultRedundantDataChunkNum     uint32 = 4
	DefaultRedundantParityChunkNum   uint32 = 2
	DefaultMaxPayloadSize            uint64 = 2 * 1024 * 1024 * 1024
	DefaultMaxBucketsPerAccount      uint32 = 100
	DefaultMinChargeSize             uint64 = 1 * 1024 * 1024 // 1M
	DefaultDiscontinueCountingWindow uint64 = 10000
	DefaultDiscontinueObjectMax      uint64 = math.MaxUint64
	DefaultDiscontinueBucketMax      uint64 = math.MaxUint64
	DefaultDiscontinueConfirmPeriod  int64  = 604800 // 7 days (in second)
	DefaultDiscontinueDeletionMax    uint64 = 10000
	DefaultStalePolicyCleanupMax     uint64 = 200

	DefaultMirrorBucketRelayerFee    = "250000000000000" // 0.00025
	DefaultMirrorBucketAckRelayerFee = "250000000000000" // 0.00025
	DefaultMirrorObjectRelayerFee    = "250000000000000" // 0.00025
	DefaultMirrorObjectAckRelayerFee = "250000000000000" // 0.00025
	DefaultMirrorGroupRelayerFee     = "250000000000000" // 0.00025
	DefaultMirrorGroupAckRelayerFee  = "250000000000000" // 0.00025
)

storage params default values

View Source
const (
	SecondarySPNum = 6
	// MinChargeSize is the minimum size to charge for a storage object
	MinChargeSize = 1024
)
View Source
const (
	TagKeyTraits       = "traits"
	TagValueOmit       = "omit"
	MaxPaginationLimit = 200 // the default limit is 100 if pagination parameters is not provided
)

Variables

View Source
var (
	ErrInvalidLengthCommon        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrNoSuchBucket             = errors.Register(ModuleName, 1100, "No such bucket")
	ErrNoSuchObject             = errors.Register(ModuleName, 1101, "No such object")
	ErrNoSuchGroup              = errors.Register(ModuleName, 1102, "No such group")
	ErrNoSuchGroupMember        = errors.Register(ModuleName, 1103, "No such group member")
	ErrBucketAlreadyExists      = errors.Register(ModuleName, 1104, "Bucket already exists")
	ErrObjectAlreadyExists      = errors.Register(ModuleName, 1105, "Object already exists")
	ErrGroupAlreadyExists       = errors.Register(ModuleName, 1106, "Group already exists")
	ErrAccessDenied             = errors.Register(ModuleName, 1107, "Access denied")
	ErrObjectAlreadySealed      = errors.Register(ModuleName, 1108, "Object already sealed")
	ErrBucketNotEmpty           = errors.Register(ModuleName, 1109, "Bucket is not empty")
	ErrGroupMemberAlreadyExists = errors.Register(ModuleName, 1110, "Group member already exists")
	ErrNoSuchStorageProvider    = errors.Register(ModuleName, 1111, "No such storage provider")
	ErrObjectNotCreated         = errors.Register(ModuleName, 1112, "Object not created")
	ErrObjectNotSealed          = errors.Register(ModuleName, 1113, "Object not sealed")
	ErrSourceTypeMismatch       = errors.Register(ModuleName, 1114, "Object source type mismatch")
	ErrTooLargeObject           = errors.Register(ModuleName, 1115, "Object payload size is too large")
	ErrInvalidApproval          = errors.Register(ModuleName, 1116, "Invalid approval of sp")
	ErrChargeFailed             = errors.Register(ModuleName, 1117, "charge failed error")
	ErrInvalidVisibility        = errors.Register(ModuleName, 1118, "Invalid type of visibility")

	ErrNoSuchPolicy          = errors.Register(ModuleName, 1120, "No such Policy")
	ErrInvalidParameter      = errors.Register(ModuleName, 1121, "Invalid parameter")
	ErrInvalidRedundancyType = errors.Register(ModuleName, 1122, "Invalid redundancy type")

	ErrInvalidCrossChainPackage = errors.Register(ModuleName, 3000, "invalid cross chain package")
	ErrAlreadyMirrored          = errors.Register(ModuleName, 3001, "resource is already mirrored")
	ErrInvalidOperationType     = errors.Register(ModuleName, 3002, "invalid operation type")
	ErrInvalidId                = errors.Register(ModuleName, 3003, "id is invalid")

	ErrInvalidObjectIds    = errors.Register(ModuleName, 3101, "object ids are invalid")
	ErrInvalidReason       = errors.Register(ModuleName, 3102, "reason is invalid")
	ErrNoMoreDiscontinue   = errors.Register(ModuleName, 3103, "no more discontinue requests")
	ErrBucketDiscontinued  = errors.Register(ModuleName, 3104, "the bucket is discontinued")
	ErrInvalidObjectStatus = errors.Register(ModuleName, 3105, "invalid object status")
	ErrInvalidBucketStatus = errors.Register(ModuleName, 3106, "invalid bucket status")

	ErrKeyNotExist     = errors.Register(ModuleName, 3201, "DeletePermissionKey not exist")
	ErrInvalidResource = errors.Register(ModuleName, 3202, "invalid resource type")
)

x/storage module sentinel errors

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

	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}

	DiscontinueObjectCountPrefix  = []byte{0x41}
	DiscontinueBucketCountPrefix  = []byte{0x42}
	DiscontinueObjectIdsPrefix    = []byte{0x43}
	DiscontinueBucketIdsPrefix    = []byte{0x44}
	DiscontinueObjectStatusPrefix = []byte{0x45}

	// CurrentBlockDeleteStalePoliciesKey is the key for DeleteInfo which keep track of deleted resources in the current block,
	//stale permission of these resources needs to be deleted.
	// it is stored in transient store
	CurrentBlockDeleteStalePoliciesKey = []byte{0x51}

	DeleteStalePoliciesPrefix = []byte{0x52}
)
View Source
var (
	KeyMaxSegmentSize            = []byte("MaxSegmentSize")
	KeyRedundantDataChunkNum     = []byte("RedundantDataChunkNum")
	KeyRedundantParityChunkNum   = []byte("RedundantParityChunkNum")
	KeyMaxPayloadSize            = []byte("MaxPayloadSize")
	KeyMinChargeSize             = []byte("MinChargeSize")
	KeyMaxBucketsPerAccount      = []byte("MaxBucketsPerAccount")
	KeyDiscontinueCountingWindow = []byte("DiscontinueCountingWindow")
	KeyDiscontinueObjectMax      = []byte("DiscontinueObjectMax")
	KeyDiscontinueBucketMax      = []byte("DiscontinueBucketMax")
	KeyDiscontinueConfirmPeriod  = []byte("DiscontinueConfirmPeriod")
	KeyDiscontinueDeletionMax    = []byte("DiscontinueDeletionMax")
	KeyStalePolicyCleanupMax     = []byte("StalePolicyCleanupMax")
	KeyMirrorBucketRelayerFee    = []byte("MirrorBucketRelayerFee")
	KeyMirrorBucketAckRelayerFee = []byte("MirrorBucketAckRelayerFee")
	KeyMirrorObjectRelayerFee    = []byte("MirrorObjectRelayerFee")
	KeyMirrorObjectAckRelayerFee = []byte("MirrorObjectAckRelayerFee")
	KeyMirrorGroupRelayerFee     = []byte("MirrorGroupRelayerFee")
	KeyMirrorGroupAckRelayerFee  = []byte("MirrorGroupAckRelayerFee")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var BucketStatus_name = map[int32]string{
	0: "BUCKET_STATUS_CREATED",
	1: "BUCKET_STATUS_DISCONTINUED",
}
View Source
var BucketStatus_value = map[string]int32{
	"BUCKET_STATUS_CREATED":      0,
	"BUCKET_STATUS_DISCONTINUED": 1,
}
View Source
var ObjectStatus_name = map[int32]string{
	0: "OBJECT_STATUS_CREATED",
	1: "OBJECT_STATUS_SEALED",
	2: "OBJECT_STATUS_DISCONTINUED",
}
View Source
var ObjectStatus_value = map[string]int32{
	"OBJECT_STATUS_CREATED":      0,
	"OBJECT_STATUS_SEALED":       1,
	"OBJECT_STATUS_DISCONTINUED": 2,
}
View Source
var RedundancyType_name = map[int32]string{
	0: "REDUNDANCY_EC_TYPE",
	1: "REDUNDANCY_REPLICA_TYPE",
}
View Source
var RedundancyType_value = map[string]int32{
	"REDUNDANCY_EC_TYPE":      0,
	"REDUNDANCY_REPLICA_TYPE": 1,
}
View Source
var SourceType_name = map[int32]string{
	0: "SOURCE_TYPE_ORIGIN",
	1: "SOURCE_TYPE_BSC_CROSS_CHAIN",
	2: "SOURCE_TYPE_MIRROR_PENDING",
}
View Source
var SourceType_value = map[string]int32{
	"SOURCE_TYPE_ORIGIN":          0,
	"SOURCE_TYPE_BSC_CROSS_CHAIN": 1,
	"SOURCE_TYPE_MIRROR_PENDING":  2,
}
View Source
var VisibilityType_name = map[int32]string{
	0: "VISIBILITY_TYPE_UNSPECIFIED",
	1: "VISIBILITY_TYPE_PUBLIC_READ",
	2: "VISIBILITY_TYPE_PRIVATE",
	3: "VISIBILITY_TYPE_INHERIT",
}
View Source
var VisibilityType_value = map[string]int32{
	"VISIBILITY_TYPE_UNSPECIFIED": 0,
	"VISIBILITY_TYPE_PUBLIC_READ": 1,
	"VISIBILITY_TYPE_PRIVATE":     2,
	"VISIBILITY_TYPE_INHERIT":     3,
}

Functions

func DeserializeCreateBucketAckPackage added in v0.0.9

func DeserializeCreateBucketAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeCreateBucketSynPackage added in v0.0.9

func DeserializeCreateBucketSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeCreateGroupAckPackage added in v0.0.9

func DeserializeCreateGroupAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeCreateGroupSynPackage added in v0.0.9

func DeserializeCreateGroupSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeCrossChainPackage added in v0.0.9

func DeserializeCrossChainPackage(rawPack []byte, channelId sdk.ChannelID, packageType sdk.CrossChainPackageType) (interface{}, error)

func DeserializeDeleteBucketAckPackage added in v0.0.9

func DeserializeDeleteBucketAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeDeleteBucketSynPackage added in v0.0.9

func DeserializeDeleteBucketSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeDeleteGroupAckPackage added in v0.0.9

func DeserializeDeleteGroupAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeDeleteGroupSynPackage added in v0.0.9

func DeserializeDeleteGroupSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeDeleteObjectAckPackage added in v0.0.9

func DeserializeDeleteObjectAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeDeleteObjectSynPackage added in v0.0.9

func DeserializeDeleteObjectSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeMirrorBucketAckPackage added in v0.0.9

func DeserializeMirrorBucketAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeMirrorBucketSynPackage added in v0.0.9

func DeserializeMirrorBucketSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeMirrorGroupAckPackage added in v0.0.9

func DeserializeMirrorGroupAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeMirrorGroupSynPackage added in v0.0.9

func DeserializeMirrorGroupSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeMirrorObjectAckPackage added in v0.0.9

func DeserializeMirrorObjectAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeMirrorObjectSynPackage added in v0.0.9

func DeserializeMirrorObjectSynPackage(serializedPackage []byte) (interface{}, error)

func DeserializeUpdateGroupMemberAckPackage added in v0.0.9

func DeserializeUpdateGroupMemberAckPackage(serializedPackage []byte) (interface{}, error)

func DeserializeUpdateGroupMemberSynPackage added in v0.0.9

func DeserializeUpdateGroupMemberSynPackage(serializedPackage []byte) (interface{}, error)

func EncodeSequence added in v0.0.7

func EncodeSequence(u Uint) []byte

func GetBucketByIDKey added in v0.0.7

func GetBucketByIDKey(bucketId math.Uint) []byte

GetBucketByIDKey return the bucketID store key

func GetBucketKey

func GetBucketKey(bucketName string) []byte

GetBucketKey return the bucket name store key

func GetDeleteStalePoliciesKey added in v0.2.0

func GetDeleteStalePoliciesKey(height int64) []byte

GetDeleteStalePoliciesKey return delete stale policies store Key

func GetDiscontinueBucketIdsKey added in v0.1.2

func GetDiscontinueBucketIdsKey(timestamp int64) []byte

GetDiscontinueBucketIdsKey return discontinue bucket store key

func GetDiscontinueObjectIdsKey added in v0.1.2

func GetDiscontinueObjectIdsKey(timestamp int64) []byte

GetDiscontinueObjectIdsKey return discontinue object store key

func GetDiscontinueObjectStatusKey added in v0.1.2

func GetDiscontinueObjectStatusKey(objectId math.Uint) []byte

GetDiscontinueObjectStatusKey return discontinue object status store key

func GetGroupByIDKey added in v0.0.7

func GetGroupByIDKey(groupId math.Uint) []byte

GetGroupByIDKey return the groupId store key

func GetGroupKey

func GetGroupKey(owner sdk.AccAddress, groupName string) []byte

GetGroupKey return the group name store key

func GetGroupKeyOnlyOwnerPrefix added in v0.0.8

func GetGroupKeyOnlyOwnerPrefix(owner sdk.AccAddress) []byte

GetGroupKeyOnlyOwnerPrefix return the group name store key

func GetObjectByIDKey added in v0.0.7

func GetObjectByIDKey(objectId math.Uint) []byte

GetObjectByIDKey return the objectId store key

func GetObjectKey

func GetObjectKey(bucketName string, objectName string) []byte

GetObjectKey return the object name store key

func GetObjectKeyOnlyBucketPrefix added in v0.0.7

func GetObjectKeyOnlyBucketPrefix(bucketName string) []byte

func GetParamsKeyWithTimestamp added in v0.2.0

func GetParamsKeyWithTimestamp(timestamp int64) []byte

GetParamsKeyWithTimestamp return multi-version params store key

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

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
	GetModuleAddress(name string) sdk.AccAddress
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type Approval added in v0.0.6

type Approval struct {
	// expired_height is the block height at which the signature expires.
	ExpiredHeight uint64 `protobuf:"varint,1,opt,name=expired_height,json=expiredHeight,proto3" json:"expired_height,omitempty"`
	// The signature needs to conform to the EIP 712 specification.
	Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
}

Approval is the signature information returned by the Primary Storage Provider (SP) to the user after allowing them to create a bucket or object, which is then used for verification on the chain to ensure agreement between the Primary SP and the user."

func (*Approval) Descriptor added in v0.0.6

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

func (*Approval) GetExpiredHeight added in v0.0.6

func (m *Approval) GetExpiredHeight() uint64

func (*Approval) GetSig added in v0.0.6

func (m *Approval) GetSig() []byte

func (*Approval) Marshal added in v0.0.6

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

func (*Approval) MarshalTo added in v0.0.6

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

func (*Approval) MarshalToSizedBuffer added in v0.0.6

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

func (*Approval) ProtoMessage added in v0.0.6

func (*Approval) ProtoMessage()

func (*Approval) Reset added in v0.0.6

func (m *Approval) Reset()

func (*Approval) Size added in v0.0.6

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

func (*Approval) String added in v0.0.6

func (m *Approval) String() string

func (*Approval) Unmarshal added in v0.0.6

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

func (*Approval) XXX_DiscardUnknown added in v0.0.6

func (m *Approval) XXX_DiscardUnknown()

func (*Approval) XXX_Marshal added in v0.0.6

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

func (*Approval) XXX_Merge added in v0.0.6

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

func (*Approval) XXX_Size added in v0.0.6

func (m *Approval) XXX_Size() int

func (*Approval) XXX_Unmarshal added in v0.0.6

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type BillingInfo added in v0.0.7

type BillingInfo struct {
	// the time of the payment price, used to calculate the charge rate of the bucket
	PriceTime int64 `protobuf:"varint,1,opt,name=price_time,json=priceTime,proto3" json:"price_time,omitempty"`
	// the total size of the objects in the bucket, used to calculate the charge rate of the bucket
	TotalChargeSize uint64 `protobuf:"varint,2,opt,name=total_charge_size,json=totalChargeSize,proto3" json:"total_charge_size,omitempty"`
	// secondary sp objects size statistics
	SecondarySpObjectsSize []SecondarySpObjectsSize `protobuf:"bytes,3,rep,name=secondary_sp_objects_size,json=secondarySpObjectsSize,proto3" json:"secondary_sp_objects_size"`
}

BillingInfo is the billing information of the bucket

func (*BillingInfo) Descriptor added in v0.0.7

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

func (*BillingInfo) GetPriceTime added in v0.0.7

func (m *BillingInfo) GetPriceTime() int64

func (*BillingInfo) GetSecondarySpObjectsSize added in v0.0.7

func (m *BillingInfo) GetSecondarySpObjectsSize() []SecondarySpObjectsSize

func (*BillingInfo) GetTotalChargeSize added in v0.0.7

func (m *BillingInfo) GetTotalChargeSize() uint64

func (*BillingInfo) Marshal added in v0.0.7

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

func (*BillingInfo) MarshalTo added in v0.0.7

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

func (*BillingInfo) MarshalToSizedBuffer added in v0.0.7

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

func (*BillingInfo) ProtoMessage added in v0.0.7

func (*BillingInfo) ProtoMessage()

func (*BillingInfo) Reset added in v0.0.7

func (m *BillingInfo) Reset()

func (*BillingInfo) Size added in v0.0.7

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

func (*BillingInfo) String added in v0.0.7

func (m *BillingInfo) String() string

func (*BillingInfo) Unmarshal added in v0.0.7

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

func (*BillingInfo) XXX_DiscardUnknown added in v0.0.7

func (m *BillingInfo) XXX_DiscardUnknown()

func (*BillingInfo) XXX_Marshal added in v0.0.7

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

func (*BillingInfo) XXX_Merge added in v0.0.7

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

func (*BillingInfo) XXX_Size added in v0.0.7

func (m *BillingInfo) XXX_Size() int

func (*BillingInfo) XXX_Unmarshal added in v0.0.7

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

type BucketInfo

type BucketInfo struct {
	// owner is the account address of bucket creator, it is also the bucket owner.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// bucket_name is a globally unique name of bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// visibility defines the highest permissions for bucket. When a bucket is public, everyone can get storage objects in it.
	Visibility VisibilityType `protobuf:"varint,3,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
	// id is the unique identification for bucket.
	Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"`
	// source_type defines which chain the user should send the bucket management transactions to
	SourceType SourceType `` /* 127-byte string literal not displayed */
	// create_at define the block timestamp when the bucket created.
	CreateAt int64 `protobuf:"varint,6,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	// payment_address is the address of the payment account
	PaymentAddress string `protobuf:"bytes,7,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// primary_sp_address is the address of the primary sp. Objects belongs to this bucket will never
	// leave this SP, unless you explicitly shift them to another SP.
	PrimarySpAddress string `protobuf:"bytes,8,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
	// charged_read_quota defines the traffic quota for read in bytes per month.
	// The available read data for each user is the sum of the free read data provided by SP and
	// the ChargeReadQuota specified here.
	ChargedReadQuota uint64 `protobuf:"varint,9,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"`
	// billing info of the bucket
	BillingInfo BillingInfo `protobuf:"bytes,10,opt,name=billing_info,json=billingInfo,proto3" json:"billing_info"`
	// bucket_status define the status of the bucket.
	BucketStatus BucketStatus `` /* 136-byte string literal not displayed */
}

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) GetBucketStatus added in v0.1.2

func (m *BucketInfo) GetBucketStatus() BucketStatus

func (*BucketInfo) GetChargedReadQuota added in v0.0.10

func (m *BucketInfo) GetChargedReadQuota() uint64

func (*BucketInfo) GetCreateAt

func (m *BucketInfo) GetCreateAt() int64

func (*BucketInfo) GetOwner

func (m *BucketInfo) GetOwner() string

func (*BucketInfo) GetPaymentAddress

func (m *BucketInfo) GetPaymentAddress() string

func (*BucketInfo) GetPrimarySpAddress

func (m *BucketInfo) GetPrimarySpAddress() string

func (*BucketInfo) GetSourceType added in v0.0.6

func (m *BucketInfo) GetSourceType() SourceType

func (*BucketInfo) GetVisibility added in v0.0.10

func (m *BucketInfo) GetVisibility() VisibilityType

func (*BucketInfo) Marshal

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

func (*BucketInfo) MarshalTo

func (m *BucketInfo) MarshalTo(dAtA []byte) (int, 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 BucketStatus added in v0.1.2

type BucketStatus int32

BucketStatus represents the status of a bucket. After a user successfully sends a CreateBucket transaction onto the chain, the status is set to 'Created'. When a Discontinue Object transaction is received on chain, the status is set to 'Discontinued'.

const (
	BUCKET_STATUS_CREATED      BucketStatus = 0
	BUCKET_STATUS_DISCONTINUED BucketStatus = 1
)

func (BucketStatus) EnumDescriptor added in v0.1.2

func (BucketStatus) EnumDescriptor() ([]byte, []int)

func (BucketStatus) String added in v0.1.2

func (x BucketStatus) String() string

type CreateBucketAckPackage added in v0.0.9

type CreateBucketAckPackage struct {
	Status    uint8
	Id        *big.Int
	Creator   sdk.AccAddress
	ExtraData []byte
}

func (CreateBucketAckPackage) MustSerialize added in v0.0.9

func (p CreateBucketAckPackage) MustSerialize() []byte

type CreateBucketSynPackage added in v0.0.9

type CreateBucketSynPackage struct {
	Creator                        sdk.AccAddress
	BucketName                     string
	Visibility                     uint32
	PaymentAddress                 sdk.AccAddress
	PrimarySpAddress               sdk.AccAddress
	PrimarySpApprovalExpiredHeight uint64
	PrimarySpApprovalSignature     []byte
	ChargedReadQuota               uint64
	ExtraData                      []byte
}

func (CreateBucketSynPackage) GetApprovalBytes added in v0.0.9

func (p CreateBucketSynPackage) GetApprovalBytes() []byte

func (CreateBucketSynPackage) ValidateBasic added in v0.0.9

func (p CreateBucketSynPackage) ValidateBasic() error

type CreateGroupAckPackage added in v0.0.9

type CreateGroupAckPackage struct {
	Status    uint8
	Id        *big.Int
	Creator   sdk.AccAddress
	ExtraData []byte
}

func (CreateGroupAckPackage) MustSerialize added in v0.0.9

func (p CreateGroupAckPackage) MustSerialize() []byte

type CreateGroupSynPackage added in v0.0.9

type CreateGroupSynPackage struct {
	Creator   sdk.AccAddress
	GroupName string
	ExtraData []byte
}

func (CreateGroupSynPackage) ValidateBasic added in v0.0.9

func (p CreateGroupSynPackage) ValidateBasic() error

type CrossChainKeeper added in v0.0.9

type CrossChainKeeper interface {
	CreateRawIBCPackageWithFee(ctx sdk.Context, channelID sdk.ChannelID, packageType sdk.CrossChainPackageType,
		packageLoad []byte, relayerFee *big.Int, ackRelayerFee *big.Int,
	) (uint64, error)

	RegisterChannel(name string, id sdk.ChannelID, app sdk.CrossChainApplication) error
}

type CrossChainPackage added in v0.0.9

type CrossChainPackage struct {
	OperationType uint8
	Package       []byte
}

func DeserializeRawCrossChainPackage added in v0.0.9

func DeserializeRawCrossChainPackage(serializedPackage []byte) (*CrossChainPackage, error)

func (CrossChainPackage) MustSerialize added in v0.0.9

func (p CrossChainPackage) MustSerialize() []byte

type DeleteBucketAckPackage added in v0.0.9

type DeleteBucketAckPackage struct {
	Status    uint8
	Id        *big.Int
	ExtraData []byte
}

func (DeleteBucketAckPackage) MustSerialize added in v0.0.9

func (p DeleteBucketAckPackage) MustSerialize() []byte

type DeleteBucketSynPackage added in v0.0.9

type DeleteBucketSynPackage struct {
	Operator  sdk.AccAddress
	Id        *big.Int
	ExtraData []byte
}

func (DeleteBucketSynPackage) ValidateBasic added in v0.0.9

func (p DeleteBucketSynPackage) ValidateBasic() error

type DeleteGroupAckPackage added in v0.0.9

type DeleteGroupAckPackage struct {
	Status    uint8
	Id        *big.Int
	ExtraData []byte
}

func (DeleteGroupAckPackage) MustSerialize added in v0.0.9

func (p DeleteGroupAckPackage) MustSerialize() []byte

type DeleteGroupSynPackage added in v0.0.9

type DeleteGroupSynPackage struct {
	Operator  sdk.AccAddress
	Id        *big.Int
	ExtraData []byte
}

func (DeleteGroupSynPackage) ValidateBasic added in v0.0.9

func (p DeleteGroupSynPackage) ValidateBasic() error

type DeleteInfo added in v0.2.0

type DeleteInfo struct {
	BucketIds *Ids `protobuf:"bytes,1,opt,name=bucket_ids,json=bucketIds,proto3" json:"bucket_ids,omitempty"`
	ObjectIds *Ids `protobuf:"bytes,2,opt,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"`
	GroupIds  *Ids `protobuf:"bytes,3,opt,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
}

func (*DeleteInfo) Descriptor added in v0.2.0

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

func (*DeleteInfo) GetBucketIds added in v0.2.0

func (m *DeleteInfo) GetBucketIds() *Ids

func (*DeleteInfo) GetGroupIds added in v0.2.0

func (m *DeleteInfo) GetGroupIds() *Ids

func (*DeleteInfo) GetObjectIds added in v0.2.0

func (m *DeleteInfo) GetObjectIds() *Ids

func (*DeleteInfo) IsEmpty added in v0.2.0

func (di *DeleteInfo) IsEmpty() bool

func (*DeleteInfo) Marshal added in v0.2.0

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

func (*DeleteInfo) MarshalTo added in v0.2.0

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

func (*DeleteInfo) MarshalToSizedBuffer added in v0.2.0

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

func (*DeleteInfo) ProtoMessage added in v0.2.0

func (*DeleteInfo) ProtoMessage()

func (*DeleteInfo) Reset added in v0.2.0

func (m *DeleteInfo) Reset()

func (*DeleteInfo) Size added in v0.2.0

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

func (*DeleteInfo) String added in v0.2.0

func (m *DeleteInfo) String() string

func (*DeleteInfo) Unmarshal added in v0.2.0

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

func (*DeleteInfo) XXX_DiscardUnknown added in v0.2.0

func (m *DeleteInfo) XXX_DiscardUnknown()

func (*DeleteInfo) XXX_Marshal added in v0.2.0

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

func (*DeleteInfo) XXX_Merge added in v0.2.0

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

func (*DeleteInfo) XXX_Size added in v0.2.0

func (m *DeleteInfo) XXX_Size() int

func (*DeleteInfo) XXX_Unmarshal added in v0.2.0

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

type DeleteObjectAckPackage added in v0.0.9

type DeleteObjectAckPackage struct {
	Status    uint8
	Id        *big.Int
	ExtraData []byte
}

func (DeleteObjectAckPackage) MustSerialize added in v0.0.9

func (p DeleteObjectAckPackage) MustSerialize() []byte

type DeleteObjectSynPackage added in v0.0.9

type DeleteObjectSynPackage struct {
	Operator  sdk.AccAddress
	Id        *big.Int
	ExtraData []byte
}

func (DeleteObjectSynPackage) ValidateBasic added in v0.0.9

func (p DeleteObjectSynPackage) ValidateBasic() error

type DeserializeFunc added in v0.0.9

type DeserializeFunc func(serializedPackage []byte) (interface{}, error)

type EventCancelCreateObject added in v0.0.6

type EventCancelCreateObject struct {
	// operator define the account address of operator who cancel create object
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// primary_sp_address define the operator account address of the sp
	PrimarySpAddress string `protobuf:"bytes,4,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
	// id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,6,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}

EventSealObject is emitted on MsgSealObject

func (*EventCancelCreateObject) Descriptor added in v0.0.6

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

func (*EventCancelCreateObject) GetBucketName added in v0.0.6

func (m *EventCancelCreateObject) GetBucketName() string

func (*EventCancelCreateObject) GetObjectName added in v0.0.6

func (m *EventCancelCreateObject) GetObjectName() string

func (*EventCancelCreateObject) GetOperator added in v0.1.2

func (m *EventCancelCreateObject) GetOperator() 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 define the account address of operator who copy the object
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,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) GetOperator added in v0.1.2

func (m *EventCopyObject) GetOperator() 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 define the account address of bucket owner
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// bucket_name is a globally unique name of bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// visibility defines the highest permissions for bucket. When a bucket is public, everyone can get the object under it.
	Visibility VisibilityType `protobuf:"varint,3,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
	// create_at define the block timestamp when the bucket has been created
	CreateAt int64 `protobuf:"varint,4,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	// bucket_id is the unique u256 for bucket. Not global, only unique in buckets.
	BucketId Uint `protobuf:"bytes,5,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
	// source_type define the source of the bucket. CrossChain or Greenfield origin
	SourceType SourceType `` /* 127-byte string literal not displayed */
	// read_quota defines the charged traffic quota for read, not include free quota which provided by each storage provider
	ChargedReadQuota uint64 `protobuf:"varint,7,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"`
	// payment_address is the address of the payment account
	PaymentAddress string `protobuf:"bytes,8,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// primary_sp_address is the operator address of the primary sp.
	PrimarySpAddress string `protobuf:"bytes,9,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
	// status define the status of the bucket.
	Status BucketStatus `protobuf:"varint,10,opt,name=status,proto3,enum=greenfield.storage.BucketStatus" json:"status,omitempty"`
}

EventCreateBucket is emitted on MsgCreateBucket

func (*EventCreateBucket) Descriptor added in v0.0.6

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

func (*EventCreateBucket) GetBucketName added in v0.0.6

func (m *EventCreateBucket) GetBucketName() string

func (*EventCreateBucket) GetChargedReadQuota added in v0.0.10

func (m *EventCreateBucket) GetChargedReadQuota() uint64

func (*EventCreateBucket) GetCreateAt added in v0.0.6

func (m *EventCreateBucket) GetCreateAt() int64

func (*EventCreateBucket) GetOwner added in v0.1.2

func (m *EventCreateBucket) GetOwner() string

func (*EventCreateBucket) GetPaymentAddress added in v0.0.6

func (m *EventCreateBucket) GetPaymentAddress() string

func (*EventCreateBucket) GetPrimarySpAddress added in v0.0.6

func (m *EventCreateBucket) GetPrimarySpAddress() string

func (*EventCreateBucket) GetSourceType added in v0.0.6

func (m *EventCreateBucket) GetSourceType() SourceType

func (*EventCreateBucket) GetStatus added in v0.1.2

func (m *EventCreateBucket) GetStatus() BucketStatus

func (*EventCreateBucket) GetVisibility added in v0.0.10

func (m *EventCreateBucket) GetVisibility() VisibilityType

func (*EventCreateBucket) Marshal added in v0.0.6

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

func (*EventCreateBucket) MarshalTo added in v0.0.6

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

func (*EventCreateBucket) MarshalToSizedBuffer added in v0.0.6

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

func (*EventCreateBucket) ProtoMessage added in v0.0.6

func (*EventCreateBucket) ProtoMessage()

func (*EventCreateBucket) Reset added in v0.0.6

func (m *EventCreateBucket) Reset()

func (*EventCreateBucket) Size added in v0.0.6

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

func (*EventCreateBucket) String added in v0.0.6

func (m *EventCreateBucket) String() string

func (*EventCreateBucket) Unmarshal added in v0.0.6

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

func (*EventCreateBucket) XXX_DiscardUnknown added in v0.0.6

func (m *EventCreateBucket) XXX_DiscardUnknown()

func (*EventCreateBucket) XXX_Marshal added in v0.0.6

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

func (*EventCreateBucket) XXX_Merge added in v0.0.6

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

func (*EventCreateBucket) XXX_Size added in v0.0.6

func (m *EventCreateBucket) XXX_Size() int

func (*EventCreateBucket) XXX_Unmarshal added in v0.0.6

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

type EventCreateGroup added in v0.0.6

type EventCreateGroup struct {
	// owner define the account address of group owner
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// group_name define the name of the group
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// id define an u256 id for group
	GroupId Uint `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
	// source_type define the source of the group. CrossChain or Greenfield origin
	SourceType SourceType `` /* 127-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"`
	// extra defines extra info for the group
	Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"`
}

EventCreateGroup is emitted on MsgCreateGroup

func (*EventCreateGroup) Descriptor added in v0.0.6

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

func (*EventCreateGroup) GetExtra added in v0.2.2

func (m *EventCreateGroup) GetExtra() string

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) GetOwner added in v0.1.2

func (m *EventCreateGroup) GetOwner() 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 define the account address of msg creator
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// owner define the account address of object owner
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// bucket_name define the name of bucket
	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of object
	ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// bucket_id define an u256 id for object
	BucketId Uint `protobuf:"bytes,6,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
	// object_id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,7,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	// primary_sp_address define the account address of primary sp
	PrimarySpAddress string `protobuf:"bytes,8,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
	// payload_size define the size of payload data which you want upload
	PayloadSize uint64 `protobuf:"varint,9,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
	// visibility defines the highest permission of object.
	Visibility VisibilityType `protobuf:"varint,10,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
	// content_type define the content type of the payload data
	ContentType string `protobuf:"bytes,11,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// create_at define the block timestamp when the object created
	CreateAt int64 `protobuf:"varint,12,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	// status define the status of the object. INIT or IN_SERVICE or others
	Status ObjectStatus `protobuf:"varint,13,opt,name=status,proto3,enum=greenfield.storage.ObjectStatus" json:"status,omitempty"`
	// redundancy_type define the type of redundancy. Replication or EC
	RedundancyType RedundancyType `` /* 144-byte string literal not displayed */
	// source_type define the source of the object.  CrossChain or Greenfield origin
	SourceType SourceType `` /* 128-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) GetCreator added in v0.1.2

func (m *EventCreateObject) GetCreator() string

func (*EventCreateObject) GetObjectName added in v0.0.6

func (m *EventCreateObject) GetObjectName() string

func (*EventCreateObject) GetOwner added in v0.1.2

func (m *EventCreateObject) GetOwner() string

func (*EventCreateObject) GetPayloadSize added in v0.0.6

func (m *EventCreateObject) GetPayloadSize() uint64

func (*EventCreateObject) GetPrimarySpAddress added in v0.0.6

func (m *EventCreateObject) GetPrimarySpAddress() string

func (*EventCreateObject) GetRedundancyType added in v0.0.6

func (m *EventCreateObject) GetRedundancyType() RedundancyType

func (*EventCreateObject) GetSourceType added in v0.0.6

func (m *EventCreateObject) GetSourceType() SourceType

func (*EventCreateObject) GetStatus added in v0.0.6

func (m *EventCreateObject) GetStatus() ObjectStatus

func (*EventCreateObject) GetVisibility added in v0.0.10

func (m *EventCreateObject) GetVisibility() VisibilityType

func (*EventCreateObject) Marshal added in v0.0.6

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

func (*EventCreateObject) MarshalTo added in v0.0.6

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

func (*EventCreateObject) MarshalToSizedBuffer added in v0.0.6

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

func (*EventCreateObject) ProtoMessage added in v0.0.6

func (*EventCreateObject) ProtoMessage()

func (*EventCreateObject) Reset added in v0.0.6

func (m *EventCreateObject) Reset()

func (*EventCreateObject) Size added in v0.0.6

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

func (*EventCreateObject) String added in v0.0.6

func (m *EventCreateObject) String() string

func (*EventCreateObject) Unmarshal added in v0.0.6

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

func (*EventCreateObject) XXX_DiscardUnknown added in v0.0.6

func (m *EventCreateObject) XXX_DiscardUnknown()

func (*EventCreateObject) XXX_Marshal added in v0.0.6

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

func (*EventCreateObject) XXX_Merge added in v0.0.6

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

func (*EventCreateObject) XXX_Size added in v0.0.6

func (m *EventCreateObject) XXX_Size() int

func (*EventCreateObject) XXX_Unmarshal added in v0.0.6

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

type EventDeleteBucket added in v0.0.6

type EventDeleteBucket struct {
	// operator define the account address of operator who delete the bucket
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// owner define the account address of the bucket owner
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// bucket_name define the name of the deleted bucket
	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// bucket_id define an u256 id for bucket
	BucketId Uint `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
	// primary_sp_address define the account address of primary sp
	PrimarySpAddress string `protobuf:"bytes,5,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
}

EventDeleteBucket is emitted on MsgDeleteBucket

func (*EventDeleteBucket) Descriptor added in v0.0.6

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

func (*EventDeleteBucket) GetBucketName added in v0.0.6

func (m *EventDeleteBucket) GetBucketName() string

func (*EventDeleteBucket) GetOperator added in v0.1.2

func (m *EventDeleteBucket) GetOperator() string

func (*EventDeleteBucket) GetOwner added in v0.1.2

func (m *EventDeleteBucket) GetOwner() 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 define the account address of group owner
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// group_name define the name of the group
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// id define an u256 id for group
	GroupId Uint `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
}

EventDeleteGroup is emitted on MsgDeleteGroup

func (*EventDeleteGroup) Descriptor added in v0.0.6

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

func (*EventDeleteGroup) GetGroupName added in v0.0.6

func (m *EventDeleteGroup) GetGroupName() string

func (*EventDeleteGroup) GetOwner added in v0.1.2

func (m *EventDeleteGroup) GetOwner() 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 define the account address of operator who delete the object
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	// primary_sp_address define the operator account address of the sp
	PrimarySpAddress string `protobuf:"bytes,5,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
	// secondary_sp_address define all the operator address of the secondary sps
	SecondarySpAddresses []string `protobuf:"bytes,6,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"`
}

EventDeleteObject is emitted on MsgDeleteObject

func (*EventDeleteObject) Descriptor added in v0.0.6

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

func (*EventDeleteObject) GetBucketName added in v0.0.6

func (m *EventDeleteObject) GetBucketName() string

func (*EventDeleteObject) GetObjectName added in v0.0.6

func (m *EventDeleteObject) GetObjectName() string

func (*EventDeleteObject) GetOperator added in v0.1.2

func (m *EventDeleteObject) GetOperator() 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 EventDiscontinueBucket added in v0.1.2

type EventDiscontinueBucket struct {
	// bucket_id define id of the bucket
	BucketId Uint `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// the reason
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// the timestamp after which the metadata will be deleted
	DeleteAt int64 `protobuf:"varint,4,opt,name=delete_at,json=deleteAt,proto3" json:"delete_at,omitempty"`
}

EventDiscontinueBucket is emitted on MsgDiscontinueBucket

func (*EventDiscontinueBucket) Descriptor added in v0.1.2

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

func (*EventDiscontinueBucket) GetBucketName added in v0.1.2

func (m *EventDiscontinueBucket) GetBucketName() string

func (*EventDiscontinueBucket) GetDeleteAt added in v0.1.2

func (m *EventDiscontinueBucket) GetDeleteAt() int64

func (*EventDiscontinueBucket) GetReason added in v0.1.2

func (m *EventDiscontinueBucket) GetReason() string

func (*EventDiscontinueBucket) Marshal added in v0.1.2

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

func (*EventDiscontinueBucket) MarshalTo added in v0.1.2

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

func (*EventDiscontinueBucket) MarshalToSizedBuffer added in v0.1.2

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

func (*EventDiscontinueBucket) ProtoMessage added in v0.1.2

func (*EventDiscontinueBucket) ProtoMessage()

func (*EventDiscontinueBucket) Reset added in v0.1.2

func (m *EventDiscontinueBucket) Reset()

func (*EventDiscontinueBucket) Size added in v0.1.2

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

func (*EventDiscontinueBucket) String added in v0.1.2

func (m *EventDiscontinueBucket) String() string

func (*EventDiscontinueBucket) Unmarshal added in v0.1.2

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

func (*EventDiscontinueBucket) XXX_DiscardUnknown added in v0.1.2

func (m *EventDiscontinueBucket) XXX_DiscardUnknown()

func (*EventDiscontinueBucket) XXX_Marshal added in v0.1.2

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

func (*EventDiscontinueBucket) XXX_Merge added in v0.1.2

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

func (*EventDiscontinueBucket) XXX_Size added in v0.1.2

func (m *EventDiscontinueBucket) XXX_Size() int

func (*EventDiscontinueBucket) XXX_Unmarshal added in v0.1.2

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

type EventDiscontinueObject added in v0.1.2

type EventDiscontinueObject struct {
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_id defines id of the object
	ObjectId Uint `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	// the reason
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// the timestamp after which the metadata will be deleted
	DeleteAt int64 `protobuf:"varint,4,opt,name=delete_at,json=deleteAt,proto3" json:"delete_at,omitempty"`
}

EventDiscontinueObject is emitted on MsgDiscontinueObject

func (*EventDiscontinueObject) Descriptor added in v0.1.2

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

func (*EventDiscontinueObject) GetBucketName added in v0.1.2

func (m *EventDiscontinueObject) GetBucketName() string

func (*EventDiscontinueObject) GetDeleteAt added in v0.1.2

func (m *EventDiscontinueObject) GetDeleteAt() int64

func (*EventDiscontinueObject) GetReason added in v0.1.2

func (m *EventDiscontinueObject) GetReason() string

func (*EventDiscontinueObject) Marshal added in v0.1.2

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

func (*EventDiscontinueObject) MarshalTo added in v0.1.2

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

func (*EventDiscontinueObject) MarshalToSizedBuffer added in v0.1.2

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

func (*EventDiscontinueObject) ProtoMessage added in v0.1.2

func (*EventDiscontinueObject) ProtoMessage()

func (*EventDiscontinueObject) Reset added in v0.1.2

func (m *EventDiscontinueObject) Reset()

func (*EventDiscontinueObject) Size added in v0.1.2

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

func (*EventDiscontinueObject) String added in v0.1.2

func (m *EventDiscontinueObject) String() string

func (*EventDiscontinueObject) Unmarshal added in v0.1.2

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

func (*EventDiscontinueObject) XXX_DiscardUnknown added in v0.1.2

func (m *EventDiscontinueObject) XXX_DiscardUnknown()

func (*EventDiscontinueObject) XXX_Marshal added in v0.1.2

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

func (*EventDiscontinueObject) XXX_Merge added in v0.1.2

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

func (*EventDiscontinueObject) XXX_Size added in v0.1.2

func (m *EventDiscontinueObject) XXX_Size() int

func (*EventDiscontinueObject) XXX_Unmarshal added in v0.1.2

func (m *EventDiscontinueObject) 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 define the account address of group owner
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// group_name define the name of the group
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// id define an u256 id for group
	GroupId Uint `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
}

EventLeaveGroup is emitted on MsgLeaveGroup

func (*EventLeaveGroup) Descriptor added in v0.0.6

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

func (*EventLeaveGroup) GetGroupName added in v0.0.6

func (m *EventLeaveGroup) GetGroupName() string

func (*EventLeaveGroup) GetMemberAddress added in v0.0.6

func (m *EventLeaveGroup) GetMemberAddress() string

func (*EventLeaveGroup) GetOwner added in v0.1.2

func (m *EventLeaveGroup) GetOwner() string

func (*EventLeaveGroup) Marshal added in v0.0.6

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

func (*EventLeaveGroup) MarshalTo added in v0.0.6

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

func (*EventLeaveGroup) MarshalToSizedBuffer added in v0.0.6

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

func (*EventLeaveGroup) ProtoMessage added in v0.0.6

func (*EventLeaveGroup) ProtoMessage()

func (*EventLeaveGroup) Reset added in v0.0.6

func (m *EventLeaveGroup) Reset()

func (*EventLeaveGroup) Size added in v0.0.6

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

func (*EventLeaveGroup) String added in v0.0.6

func (m *EventLeaveGroup) String() string

func (*EventLeaveGroup) Unmarshal added in v0.0.6

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

func (*EventLeaveGroup) XXX_DiscardUnknown added in v0.0.6

func (m *EventLeaveGroup) XXX_DiscardUnknown()

func (*EventLeaveGroup) XXX_Marshal added in v0.0.6

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

func (*EventLeaveGroup) XXX_Merge added in v0.0.6

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

func (*EventLeaveGroup) XXX_Size added in v0.0.6

func (m *EventLeaveGroup) XXX_Size() int

func (*EventLeaveGroup) XXX_Unmarshal added in v0.0.6

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

type EventMirrorBucket added in v0.0.9

type EventMirrorBucket struct {
	// operator define the account address of operator who mirror the bucket
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// bucket_id define an u256 id for bucket
	BucketId Uint `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
}

EventMirrorBucket is emitted on MirrorBucket

func (*EventMirrorBucket) Descriptor added in v0.0.9

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

func (*EventMirrorBucket) GetBucketName added in v0.0.9

func (m *EventMirrorBucket) GetBucketName() string

func (*EventMirrorBucket) GetOperator added in v0.1.2

func (m *EventMirrorBucket) GetOperator() string

func (*EventMirrorBucket) Marshal added in v0.0.9

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

func (*EventMirrorBucket) MarshalTo added in v0.0.9

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

func (*EventMirrorBucket) MarshalToSizedBuffer added in v0.0.9

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

func (*EventMirrorBucket) ProtoMessage added in v0.0.9

func (*EventMirrorBucket) ProtoMessage()

func (*EventMirrorBucket) Reset added in v0.0.9

func (m *EventMirrorBucket) Reset()

func (*EventMirrorBucket) Size added in v0.0.9

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

func (*EventMirrorBucket) String added in v0.0.9

func (m *EventMirrorBucket) String() string

func (*EventMirrorBucket) Unmarshal added in v0.0.9

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

func (*EventMirrorBucket) XXX_DiscardUnknown added in v0.0.9

func (m *EventMirrorBucket) XXX_DiscardUnknown()

func (*EventMirrorBucket) XXX_Marshal added in v0.0.9

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

func (*EventMirrorBucket) XXX_Merge added in v0.0.9

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

func (*EventMirrorBucket) XXX_Size added in v0.0.9

func (m *EventMirrorBucket) XXX_Size() int

func (*EventMirrorBucket) XXX_Unmarshal added in v0.0.9

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

type EventMirrorBucketResult added in v0.0.9

type EventMirrorBucketResult struct {
	// status define the status of the result
	Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// bucket_name defines the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// bucket_id define an u256 id for bucket
	BucketId Uint `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
}

EventMirrorBucketResult is emitted on receiving ack package from destination chain

func (*EventMirrorBucketResult) Descriptor added in v0.0.9

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

func (*EventMirrorBucketResult) GetBucketName added in v0.0.9

func (m *EventMirrorBucketResult) GetBucketName() string

func (*EventMirrorBucketResult) GetStatus added in v0.0.9

func (m *EventMirrorBucketResult) GetStatus() uint32

func (*EventMirrorBucketResult) Marshal added in v0.0.9

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

func (*EventMirrorBucketResult) MarshalTo added in v0.0.9

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

func (*EventMirrorBucketResult) MarshalToSizedBuffer added in v0.0.9

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

func (*EventMirrorBucketResult) ProtoMessage added in v0.0.9

func (*EventMirrorBucketResult) ProtoMessage()

func (*EventMirrorBucketResult) Reset added in v0.0.9

func (m *EventMirrorBucketResult) Reset()

func (*EventMirrorBucketResult) Size added in v0.0.9

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

func (*EventMirrorBucketResult) String added in v0.0.9

func (m *EventMirrorBucketResult) String() string

func (*EventMirrorBucketResult) Unmarshal added in v0.0.9

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

func (*EventMirrorBucketResult) XXX_DiscardUnknown added in v0.0.9

func (m *EventMirrorBucketResult) XXX_DiscardUnknown()

func (*EventMirrorBucketResult) XXX_Marshal added in v0.0.9

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

func (*EventMirrorBucketResult) XXX_Merge added in v0.0.9

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

func (*EventMirrorBucketResult) XXX_Size added in v0.0.9

func (m *EventMirrorBucketResult) XXX_Size() int

func (*EventMirrorBucketResult) XXX_Unmarshal added in v0.0.9

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

type EventMirrorGroup added in v0.0.9

type EventMirrorGroup struct {
	// owner define the account address of group owner
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// group_name define the name of the group
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// group_id define an u256 id for group
	GroupId Uint `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
}

EventMirrorGroup is emitted on MirrorGroup

func (*EventMirrorGroup) Descriptor added in v0.0.9

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

func (*EventMirrorGroup) GetGroupName added in v0.0.9

func (m *EventMirrorGroup) GetGroupName() string

func (*EventMirrorGroup) GetOwner added in v0.1.2

func (m *EventMirrorGroup) GetOwner() string

func (*EventMirrorGroup) Marshal added in v0.0.9

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

func (*EventMirrorGroup) MarshalTo added in v0.0.9

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

func (*EventMirrorGroup) MarshalToSizedBuffer added in v0.0.9

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

func (*EventMirrorGroup) ProtoMessage added in v0.0.9

func (*EventMirrorGroup) ProtoMessage()

func (*EventMirrorGroup) Reset added in v0.0.9

func (m *EventMirrorGroup) Reset()

func (*EventMirrorGroup) Size added in v0.0.9

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

func (*EventMirrorGroup) String added in v0.0.9

func (m *EventMirrorGroup) String() string

func (*EventMirrorGroup) Unmarshal added in v0.0.9

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

func (*EventMirrorGroup) XXX_DiscardUnknown added in v0.0.9

func (m *EventMirrorGroup) XXX_DiscardUnknown()

func (*EventMirrorGroup) XXX_Marshal added in v0.0.9

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

func (*EventMirrorGroup) XXX_Merge added in v0.0.9

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

func (*EventMirrorGroup) XXX_Size added in v0.0.9

func (m *EventMirrorGroup) XXX_Size() int

func (*EventMirrorGroup) XXX_Unmarshal added in v0.0.9

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

type EventMirrorGroupResult added in v0.0.9

type EventMirrorGroupResult struct {
	// status define the status of the result
	Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// group_name define the name of the group
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// group_id define an u256 id for group
	GroupId Uint `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
}

EventMirrorGroupResult is emitted on receiving ack package from destination chain

func (*EventMirrorGroupResult) Descriptor added in v0.0.9

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

func (*EventMirrorGroupResult) GetGroupName added in v0.0.9

func (m *EventMirrorGroupResult) GetGroupName() string

func (*EventMirrorGroupResult) GetStatus added in v0.0.9

func (m *EventMirrorGroupResult) GetStatus() uint32

func (*EventMirrorGroupResult) Marshal added in v0.0.9

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

func (*EventMirrorGroupResult) MarshalTo added in v0.0.9

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

func (*EventMirrorGroupResult) MarshalToSizedBuffer added in v0.0.9

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

func (*EventMirrorGroupResult) ProtoMessage added in v0.0.9

func (*EventMirrorGroupResult) ProtoMessage()

func (*EventMirrorGroupResult) Reset added in v0.0.9

func (m *EventMirrorGroupResult) Reset()

func (*EventMirrorGroupResult) Size added in v0.0.9

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

func (*EventMirrorGroupResult) String added in v0.0.9

func (m *EventMirrorGroupResult) String() string

func (*EventMirrorGroupResult) Unmarshal added in v0.0.9

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

func (*EventMirrorGroupResult) XXX_DiscardUnknown added in v0.0.9

func (m *EventMirrorGroupResult) XXX_DiscardUnknown()

func (*EventMirrorGroupResult) XXX_Marshal added in v0.0.9

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

func (*EventMirrorGroupResult) XXX_Merge added in v0.0.9

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

func (*EventMirrorGroupResult) XXX_Size added in v0.0.9

func (m *EventMirrorGroupResult) XXX_Size() int

func (*EventMirrorGroupResult) XXX_Unmarshal added in v0.0.9

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

type EventMirrorObject added in v0.0.9

type EventMirrorObject struct {
	// operator define the account address of operator who delete the object
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// object_id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}

EventMirrorObject is emitted on MirrorObject

func (*EventMirrorObject) Descriptor added in v0.0.9

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

func (*EventMirrorObject) GetBucketName added in v0.0.9

func (m *EventMirrorObject) GetBucketName() string

func (*EventMirrorObject) GetObjectName added in v0.0.9

func (m *EventMirrorObject) GetObjectName() string

func (*EventMirrorObject) GetOperator added in v0.1.2

func (m *EventMirrorObject) GetOperator() string

func (*EventMirrorObject) Marshal added in v0.0.9

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

func (*EventMirrorObject) MarshalTo added in v0.0.9

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

func (*EventMirrorObject) MarshalToSizedBuffer added in v0.0.9

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

func (*EventMirrorObject) ProtoMessage added in v0.0.9

func (*EventMirrorObject) ProtoMessage()

func (*EventMirrorObject) Reset added in v0.0.9

func (m *EventMirrorObject) Reset()

func (*EventMirrorObject) Size added in v0.0.9

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

func (*EventMirrorObject) String added in v0.0.9

func (m *EventMirrorObject) String() string

func (*EventMirrorObject) Unmarshal added in v0.0.9

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

func (*EventMirrorObject) XXX_DiscardUnknown added in v0.0.9

func (m *EventMirrorObject) XXX_DiscardUnknown()

func (*EventMirrorObject) XXX_Marshal added in v0.0.9

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

func (*EventMirrorObject) XXX_Merge added in v0.0.9

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

func (*EventMirrorObject) XXX_Size added in v0.0.9

func (m *EventMirrorObject) XXX_Size() int

func (*EventMirrorObject) XXX_Unmarshal added in v0.0.9

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

type EventMirrorObjectResult added in v0.0.9

type EventMirrorObjectResult struct {
	// status define the status of the result
	Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// object_id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}

EventMirrorObjectResult is emitted on receiving ack package from destination chain

func (*EventMirrorObjectResult) Descriptor added in v0.0.9

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

func (*EventMirrorObjectResult) GetBucketName added in v0.0.9

func (m *EventMirrorObjectResult) GetBucketName() string

func (*EventMirrorObjectResult) GetObjectName added in v0.0.9

func (m *EventMirrorObjectResult) GetObjectName() string

func (*EventMirrorObjectResult) GetStatus added in v0.0.9

func (m *EventMirrorObjectResult) GetStatus() uint32

func (*EventMirrorObjectResult) Marshal added in v0.0.9

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

func (*EventMirrorObjectResult) MarshalTo added in v0.0.9

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

func (*EventMirrorObjectResult) MarshalToSizedBuffer added in v0.0.9

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

func (*EventMirrorObjectResult) ProtoMessage added in v0.0.9

func (*EventMirrorObjectResult) ProtoMessage()

func (*EventMirrorObjectResult) Reset added in v0.0.9

func (m *EventMirrorObjectResult) Reset()

func (*EventMirrorObjectResult) Size added in v0.0.9

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

func (*EventMirrorObjectResult) String added in v0.0.9

func (m *EventMirrorObjectResult) String() string

func (*EventMirrorObjectResult) Unmarshal added in v0.0.9

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

func (*EventMirrorObjectResult) XXX_DiscardUnknown added in v0.0.9

func (m *EventMirrorObjectResult) XXX_DiscardUnknown()

func (*EventMirrorObjectResult) XXX_Marshal added in v0.0.9

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

func (*EventMirrorObjectResult) XXX_Merge added in v0.0.9

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

func (*EventMirrorObjectResult) XXX_Size added in v0.0.9

func (m *EventMirrorObjectResult) XXX_Size() int

func (*EventMirrorObjectResult) XXX_Unmarshal added in v0.0.9

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

type EventRejectSealObject added in v0.0.6

type EventRejectSealObject struct {
	// operator define the account address of operator who reject seal object
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}

EventRejectSealObject is emitted on MsgRejectSealObject

func (*EventRejectSealObject) Descriptor added in v0.0.6

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

func (*EventRejectSealObject) GetBucketName added in v0.0.6

func (m *EventRejectSealObject) GetBucketName() string

func (*EventRejectSealObject) GetObjectName added in v0.0.6

func (m *EventRejectSealObject) GetObjectName() string

func (*EventRejectSealObject) GetOperator added in v0.1.2

func (m *EventRejectSealObject) GetOperator() 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 define the account address of operator who seal object
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,5,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	// status define the status of the object. INIT or IN_SERVICE or others
	Status ObjectStatus `protobuf:"varint,6,opt,name=status,proto3,enum=greenfield.storage.ObjectStatus" json:"status,omitempty"`
	// secondary_sp_address define all the operator address of the secondary sps
	SecondarySpAddresses []string `protobuf:"bytes,7,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"`
}

EventSealObject is emitted on MsgSealObject

func (*EventSealObject) Descriptor added in v0.0.6

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

func (*EventSealObject) GetBucketName added in v0.0.6

func (m *EventSealObject) GetBucketName() string

func (*EventSealObject) GetObjectName added in v0.0.6

func (m *EventSealObject) GetObjectName() string

func (*EventSealObject) GetOperator added in v0.1.2

func (m *EventSealObject) GetOperator() string

func (*EventSealObject) GetSecondarySpAddresses added in v0.0.9

func (m *EventSealObject) GetSecondarySpAddresses() []string

func (*EventSealObject) GetStatus added in v0.0.6

func (m *EventSealObject) GetStatus() ObjectStatus

func (*EventSealObject) Marshal added in v0.0.6

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

func (*EventSealObject) MarshalTo added in v0.0.6

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

func (*EventSealObject) MarshalToSizedBuffer added in v0.0.6

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

func (*EventSealObject) ProtoMessage added in v0.0.6

func (*EventSealObject) ProtoMessage()

func (*EventSealObject) Reset added in v0.0.6

func (m *EventSealObject) Reset()

func (*EventSealObject) Size added in v0.0.6

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

func (*EventSealObject) String added in v0.0.6

func (m *EventSealObject) String() string

func (*EventSealObject) Unmarshal added in v0.0.6

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

func (*EventSealObject) XXX_DiscardUnknown added in v0.0.6

func (m *EventSealObject) XXX_DiscardUnknown()

func (*EventSealObject) XXX_Marshal added in v0.0.6

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

func (*EventSealObject) XXX_Merge added in v0.0.6

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

func (*EventSealObject) XXX_Size added in v0.0.6

func (m *EventSealObject) XXX_Size() int

func (*EventSealObject) XXX_Unmarshal added in v0.0.6

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

type EventStalePolicyCleanup added in v0.2.0

type EventStalePolicyCleanup struct {
	BlockNum   int64       `protobuf:"varint,1,opt,name=blockNum,proto3" json:"blockNum,omitempty"`
	DeleteInfo *DeleteInfo `protobuf:"bytes,2,opt,name=delete_info,json=deleteInfo,proto3" json:"delete_info,omitempty"`
}

EventStalePolicyCleanup is emitted when specified block height's stale policies need to be Garbage collected

func (*EventStalePolicyCleanup) Descriptor added in v0.2.0

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

func (*EventStalePolicyCleanup) GetBlockNum added in v0.2.0

func (m *EventStalePolicyCleanup) GetBlockNum() int64

func (*EventStalePolicyCleanup) GetDeleteInfo added in v0.2.0

func (m *EventStalePolicyCleanup) GetDeleteInfo() *DeleteInfo

func (*EventStalePolicyCleanup) Marshal added in v0.2.0

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

func (*EventStalePolicyCleanup) MarshalTo added in v0.2.0

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

func (*EventStalePolicyCleanup) MarshalToSizedBuffer added in v0.2.0

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

func (*EventStalePolicyCleanup) ProtoMessage added in v0.2.0

func (*EventStalePolicyCleanup) ProtoMessage()

func (*EventStalePolicyCleanup) Reset added in v0.2.0

func (m *EventStalePolicyCleanup) Reset()

func (*EventStalePolicyCleanup) Size added in v0.2.0

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

func (*EventStalePolicyCleanup) String added in v0.2.0

func (m *EventStalePolicyCleanup) String() string

func (*EventStalePolicyCleanup) Unmarshal added in v0.2.0

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

func (*EventStalePolicyCleanup) XXX_DiscardUnknown added in v0.2.0

func (m *EventStalePolicyCleanup) XXX_DiscardUnknown()

func (*EventStalePolicyCleanup) XXX_Marshal added in v0.2.0

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

func (*EventStalePolicyCleanup) XXX_Merge added in v0.2.0

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

func (*EventStalePolicyCleanup) XXX_Size added in v0.2.0

func (m *EventStalePolicyCleanup) XXX_Size() int

func (*EventStalePolicyCleanup) XXX_Unmarshal added in v0.2.0

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

type EventUpdateBucketInfo added in v0.0.6

type EventUpdateBucketInfo struct {
	// operator define the account address of operator who update the bucket
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// bucket_id define an u256 id for bucket
	BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
	// charged_read_quota_before define the read quota before updated
	ChargedReadQuotaBefore uint64 `` /* 132-byte string literal not displayed */
	// charged_read_quota_after define the read quota after updated
	ChargedReadQuotaAfter uint64 `` /* 129-byte string literal not displayed */
	// payment_address_before define the payment address before updated
	PaymentAddressBefore string `protobuf:"bytes,6,opt,name=payment_address_before,json=paymentAddressBefore,proto3" json:"payment_address_before,omitempty"`
	// payment_address_after define the payment address after updated
	PaymentAddressAfter string `protobuf:"bytes,7,opt,name=payment_address_after,json=paymentAddressAfter,proto3" json:"payment_address_after,omitempty"`
	// visibility defines the highest permission of object.
	Visibility VisibilityType `protobuf:"varint,8,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
}

EventUpdateBucketInfo is emitted on MsgUpdateBucketInfo

func (*EventUpdateBucketInfo) Descriptor added in v0.0.6

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

func (*EventUpdateBucketInfo) GetBucketName added in v0.0.6

func (m *EventUpdateBucketInfo) GetBucketName() string

func (*EventUpdateBucketInfo) GetChargedReadQuotaAfter added in v0.0.10

func (m *EventUpdateBucketInfo) GetChargedReadQuotaAfter() uint64

func (*EventUpdateBucketInfo) GetChargedReadQuotaBefore added in v0.0.10

func (m *EventUpdateBucketInfo) GetChargedReadQuotaBefore() uint64

func (*EventUpdateBucketInfo) GetOperator added in v0.1.2

func (m *EventUpdateBucketInfo) GetOperator() string

func (*EventUpdateBucketInfo) GetPaymentAddressAfter added in v0.0.6

func (m *EventUpdateBucketInfo) GetPaymentAddressAfter() string

func (*EventUpdateBucketInfo) GetPaymentAddressBefore added in v0.0.6

func (m *EventUpdateBucketInfo) GetPaymentAddressBefore() string

func (*EventUpdateBucketInfo) GetVisibility added in v0.0.10

func (m *EventUpdateBucketInfo) GetVisibility() VisibilityType

func (*EventUpdateBucketInfo) Marshal added in v0.0.6

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

func (*EventUpdateBucketInfo) MarshalTo added in v0.0.6

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

func (*EventUpdateBucketInfo) MarshalToSizedBuffer added in v0.0.6

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

func (*EventUpdateBucketInfo) ProtoMessage added in v0.0.6

func (*EventUpdateBucketInfo) ProtoMessage()

func (*EventUpdateBucketInfo) Reset added in v0.0.6

func (m *EventUpdateBucketInfo) Reset()

func (*EventUpdateBucketInfo) Size added in v0.0.6

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

func (*EventUpdateBucketInfo) String added in v0.0.6

func (m *EventUpdateBucketInfo) String() string

func (*EventUpdateBucketInfo) Unmarshal added in v0.0.6

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

func (*EventUpdateBucketInfo) XXX_DiscardUnknown added in v0.0.6

func (m *EventUpdateBucketInfo) XXX_DiscardUnknown()

func (*EventUpdateBucketInfo) XXX_Marshal added in v0.0.6

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

func (*EventUpdateBucketInfo) XXX_Merge added in v0.0.6

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

func (*EventUpdateBucketInfo) XXX_Size added in v0.0.6

func (m *EventUpdateBucketInfo) XXX_Size() int

func (*EventUpdateBucketInfo) XXX_Unmarshal added in v0.0.6

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

type EventUpdateGroupExtra added in v0.2.2

type EventUpdateGroupExtra struct {
	// operator define the account address of operator who update the group member
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// owner define the account address of group owner
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// group_name define the name of the group
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// id define an u256 id for group
	GroupId Uint `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
	// extra defines extra info for the group to update
	Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
}

EventUpdateGroupExtra is emitted on MsgUpdateGroupExtra

func (*EventUpdateGroupExtra) Descriptor added in v0.2.2

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

func (*EventUpdateGroupExtra) GetExtra added in v0.2.2

func (m *EventUpdateGroupExtra) GetExtra() string

func (*EventUpdateGroupExtra) GetGroupName added in v0.2.2

func (m *EventUpdateGroupExtra) GetGroupName() string

func (*EventUpdateGroupExtra) GetOperator added in v0.2.2

func (m *EventUpdateGroupExtra) GetOperator() string

func (*EventUpdateGroupExtra) GetOwner added in v0.2.2

func (m *EventUpdateGroupExtra) GetOwner() string

func (*EventUpdateGroupExtra) Marshal added in v0.2.2

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

func (*EventUpdateGroupExtra) MarshalTo added in v0.2.2

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

func (*EventUpdateGroupExtra) MarshalToSizedBuffer added in v0.2.2

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

func (*EventUpdateGroupExtra) ProtoMessage added in v0.2.2

func (*EventUpdateGroupExtra) ProtoMessage()

func (*EventUpdateGroupExtra) Reset added in v0.2.2

func (m *EventUpdateGroupExtra) Reset()

func (*EventUpdateGroupExtra) Size added in v0.2.2

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

func (*EventUpdateGroupExtra) String added in v0.2.2

func (m *EventUpdateGroupExtra) String() string

func (*EventUpdateGroupExtra) Unmarshal added in v0.2.2

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

func (*EventUpdateGroupExtra) XXX_DiscardUnknown added in v0.2.2

func (m *EventUpdateGroupExtra) XXX_DiscardUnknown()

func (*EventUpdateGroupExtra) XXX_Marshal added in v0.2.2

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

func (*EventUpdateGroupExtra) XXX_Merge added in v0.2.2

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

func (*EventUpdateGroupExtra) XXX_Size added in v0.2.2

func (m *EventUpdateGroupExtra) XXX_Size() int

func (*EventUpdateGroupExtra) XXX_Unmarshal added in v0.2.2

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

type EventUpdateGroupMember added in v0.0.6

type EventUpdateGroupMember struct {
	// operator define the account address of operator who update the group member
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// owner define the account address of group owner
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// group_name define the name of the group
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// id define an u256 id for group
	GroupId Uint `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
	// members_to_add defines all the members to be added to the group
	MembersToAdd []string `protobuf:"bytes,5,rep,name=members_to_add,json=membersToAdd,proto3" json:"members_to_add,omitempty"`
	// members_to_add defines all the members to be deleted from the group
	MembersToDelete []string `protobuf:"bytes,6,rep,name=members_to_delete,json=membersToDelete,proto3" json:"members_to_delete,omitempty"`
}

EventUpdateGroupMember is emitted on MsgUpdateGroupMember

func (*EventUpdateGroupMember) Descriptor added in v0.0.6

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

func (*EventUpdateGroupMember) GetGroupName added in v0.0.6

func (m *EventUpdateGroupMember) GetGroupName() string

func (*EventUpdateGroupMember) GetMembersToAdd added in v0.0.6

func (m *EventUpdateGroupMember) GetMembersToAdd() []string

func (*EventUpdateGroupMember) GetMembersToDelete added in v0.0.6

func (m *EventUpdateGroupMember) GetMembersToDelete() []string

func (*EventUpdateGroupMember) GetOperator added in v0.1.2

func (m *EventUpdateGroupMember) GetOperator() string

func (*EventUpdateGroupMember) GetOwner added in v0.1.2

func (m *EventUpdateGroupMember) GetOwner() 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 EventUpdateObjectInfo added in v0.1.2

type EventUpdateObjectInfo struct {
	// operator define the account address of operator who update the bucket
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name define the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name define the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// object_id define an u256 id for object
	ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	// visibility defines the highest permission of object.
	Visibility VisibilityType `protobuf:"varint,5,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
}

EventUpdateObjectInfo is emitted on MsgUpdateObjectInfo

func (*EventUpdateObjectInfo) Descriptor added in v0.1.2

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

func (*EventUpdateObjectInfo) GetBucketName added in v0.1.2

func (m *EventUpdateObjectInfo) GetBucketName() string

func (*EventUpdateObjectInfo) GetObjectName added in v0.1.2

func (m *EventUpdateObjectInfo) GetObjectName() string

func (*EventUpdateObjectInfo) GetOperator added in v0.1.2

func (m *EventUpdateObjectInfo) GetOperator() string

func (*EventUpdateObjectInfo) GetVisibility added in v0.1.2

func (m *EventUpdateObjectInfo) GetVisibility() VisibilityType

func (*EventUpdateObjectInfo) Marshal added in v0.1.2

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

func (*EventUpdateObjectInfo) MarshalTo added in v0.1.2

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

func (*EventUpdateObjectInfo) MarshalToSizedBuffer added in v0.1.2

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

func (*EventUpdateObjectInfo) ProtoMessage added in v0.1.2

func (*EventUpdateObjectInfo) ProtoMessage()

func (*EventUpdateObjectInfo) Reset added in v0.1.2

func (m *EventUpdateObjectInfo) Reset()

func (*EventUpdateObjectInfo) Size added in v0.1.2

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

func (*EventUpdateObjectInfo) String added in v0.1.2

func (m *EventUpdateObjectInfo) String() string

func (*EventUpdateObjectInfo) Unmarshal added in v0.1.2

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

func (*EventUpdateObjectInfo) XXX_DiscardUnknown added in v0.1.2

func (m *EventUpdateObjectInfo) XXX_DiscardUnknown()

func (*EventUpdateObjectInfo) XXX_Marshal added in v0.1.2

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

func (*EventUpdateObjectInfo) XXX_Merge added in v0.1.2

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

func (*EventUpdateObjectInfo) XXX_Size added in v0.1.2

func (m *EventUpdateObjectInfo) XXX_Size() int

func (*EventUpdateObjectInfo) XXX_Unmarshal added in v0.1.2

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

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type 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 `` /* 127-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"`
	// extra is used to store extra info for the group
	Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*GroupInfo) Descriptor

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

func (*GroupInfo) GetExtra added in v0.2.2

func (m *GroupInfo) GetExtra() string

func (*GroupInfo) GetGroupName

func (m *GroupInfo) GetGroupName() string

func (*GroupInfo) GetOwner

func (m *GroupInfo) GetOwner() string

func (*GroupInfo) GetSourceType added in v0.0.6

func (m *GroupInfo) GetSourceType() SourceType

func (*GroupInfo) Marshal

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

func (*GroupInfo) MarshalTo

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

func (*GroupInfo) MarshalToSizedBuffer

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

func (*GroupInfo) ProtoMessage

func (*GroupInfo) ProtoMessage()

func (*GroupInfo) Reset

func (m *GroupInfo) Reset()

func (*GroupInfo) Size

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

func (*GroupInfo) String

func (m *GroupInfo) String() string

func (*GroupInfo) ToNFTMetadata added in v0.0.7

func (m *GroupInfo) ToNFTMetadata() *GroupMetaData

func (*GroupInfo) Unmarshal

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

func (*GroupInfo) XXX_DiscardUnknown

func (m *GroupInfo) XXX_DiscardUnknown()

func (*GroupInfo) XXX_Marshal

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

func (*GroupInfo) XXX_Merge

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

func (*GroupInfo) XXX_Size

func (m *GroupInfo) XXX_Size() int

func (*GroupInfo) XXX_Unmarshal

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

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 Ids added in v0.1.2

type Ids struct {
	// ids of the objects or buckets
	Id []Uint `protobuf:"bytes,1,rep,name=id,proto3,customtype=Uint" json:"id"`
}

func (*Ids) Descriptor added in v0.1.2

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

func (*Ids) Marshal added in v0.1.2

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

func (*Ids) MarshalTo added in v0.1.2

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

func (*Ids) MarshalToSizedBuffer added in v0.1.2

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

func (*Ids) ProtoMessage added in v0.1.2

func (*Ids) ProtoMessage()

func (*Ids) Reset added in v0.1.2

func (m *Ids) Reset()

func (*Ids) Size added in v0.1.2

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

func (*Ids) String added in v0.1.2

func (m *Ids) String() string

func (*Ids) Unmarshal added in v0.1.2

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

func (*Ids) XXX_DiscardUnknown added in v0.1.2

func (m *Ids) XXX_DiscardUnknown()

func (*Ids) XXX_Marshal added in v0.1.2

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

func (*Ids) XXX_Merge added in v0.1.2

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

func (*Ids) XXX_Size added in v0.1.2

func (m *Ids) XXX_Size() int

func (*Ids) XXX_Unmarshal added in v0.1.2

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

type Int

type Int = sdkmath.Int

type MirrorBucketAckPackage added in v0.0.9

type MirrorBucketAckPackage struct {
	Status uint8
	Id     *big.Int
}

type MirrorBucketSynPackage added in v0.0.9

type MirrorBucketSynPackage struct {
	Id    *big.Int
	Owner sdk.AccAddress
}

type MirrorGroupAckPackage added in v0.0.9

type MirrorGroupAckPackage struct {
	Status uint8
	Id     *big.Int
}

type MirrorGroupSynPackage added in v0.0.9

type MirrorGroupSynPackage struct {
	Id    *big.Int
	Owner sdk.AccAddress
}

type MirrorObjectAckPackage added in v0.0.9

type MirrorObjectAckPackage struct {
	Status uint8
	Id     *big.Int
}

type MirrorObjectSynPackage added in v0.0.9

type MirrorObjectSynPackage struct {
	Id    *big.Int
	Owner sdk.AccAddress
}

type MockAccountKeeper added in v0.2.0

type MockAccountKeeper struct {
	// contains filtered or unexported fields
}

MockAccountKeeper is a mock of AccountKeeper interface

func NewMockAccountKeeper added in v0.2.0

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance

func (*MockAccountKeeper) EXPECT added in v0.2.0

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

func (*MockAccountKeeper) GetAccount added in v0.2.0

func (m *MockAccountKeeper) GetAccount(arg0 types2.Context, arg1 types2.AccAddress) types3.AccountI

GetAccount mocks base method

func (*MockAccountKeeper) GetModuleAddress added in v0.2.0

func (m *MockAccountKeeper) GetModuleAddress(arg0 string) types2.AccAddress

GetModuleAddress mocks base method

type MockAccountKeeperMockRecorder added in v0.2.0

type MockAccountKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper

func (*MockAccountKeeperMockRecorder) GetAccount added in v0.2.0

func (mr *MockAccountKeeperMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount

func (*MockAccountKeeperMockRecorder) GetModuleAddress added in v0.2.0

func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(arg0 interface{}) *gomock.Call

GetModuleAddress indicates an expected call of GetModuleAddress

type MockBankKeeper added in v0.2.0

type MockBankKeeper struct {
	// contains filtered or unexported fields
}

MockBankKeeper is a mock of BankKeeper interface

func NewMockBankKeeper added in v0.2.0

func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper

NewMockBankKeeper creates a new mock instance

func (*MockBankKeeper) EXPECT added in v0.2.0

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

func (*MockBankKeeper) GetAllBalances added in v0.2.0

func (m *MockBankKeeper) GetAllBalances(arg0 types2.Context, arg1 types2.AccAddress) types2.Coins

GetAllBalances mocks base method

func (*MockBankKeeper) GetBalance added in v0.2.0

func (m *MockBankKeeper) GetBalance(arg0 types2.Context, arg1 types2.AccAddress, arg2 string) types2.Coin

GetBalance mocks base method

func (*MockBankKeeper) SendCoinsFromModuleToAccount added in v0.2.0

func (m *MockBankKeeper) SendCoinsFromModuleToAccount(arg0 types2.Context, arg1 string, arg2 types2.AccAddress, arg3 types2.Coins) error

SendCoinsFromModuleToAccount mocks base method

func (*MockBankKeeper) SpendableCoins added in v0.2.0

func (m *MockBankKeeper) SpendableCoins(arg0 types2.Context, arg1 types2.AccAddress) types2.Coins

SpendableCoins mocks base method

type MockBankKeeperMockRecorder added in v0.2.0

type MockBankKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper

func (*MockBankKeeperMockRecorder) GetAllBalances added in v0.2.0

func (mr *MockBankKeeperMockRecorder) GetAllBalances(arg0, arg1 interface{}) *gomock.Call

GetAllBalances indicates an expected call of GetAllBalances

func (*MockBankKeeperMockRecorder) GetBalance added in v0.2.0

func (mr *MockBankKeeperMockRecorder) GetBalance(arg0, arg1, arg2 interface{}) *gomock.Call

GetBalance indicates an expected call of GetBalance

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount added in v0.2.0

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount

func (*MockBankKeeperMockRecorder) SpendableCoins added in v0.2.0

func (mr *MockBankKeeperMockRecorder) SpendableCoins(arg0, arg1 interface{}) *gomock.Call

SpendableCoins indicates an expected call of SpendableCoins

type MockCrossChainKeeper added in v0.2.0

type MockCrossChainKeeper struct {
	// contains filtered or unexported fields
}

MockCrossChainKeeper is a mock of CrossChainKeeper interface

func NewMockCrossChainKeeper added in v0.2.0

func NewMockCrossChainKeeper(ctrl *gomock.Controller) *MockCrossChainKeeper

NewMockCrossChainKeeper creates a new mock instance

func (*MockCrossChainKeeper) CreateRawIBCPackageWithFee added in v0.2.0

func (m *MockCrossChainKeeper) CreateRawIBCPackageWithFee(arg0 types2.Context, arg1 types2.ChannelID, arg2 types2.CrossChainPackageType, arg3 []byte, arg4, arg5 *big.Int) (uint64, error)

CreateRawIBCPackageWithFee mocks base method

func (*MockCrossChainKeeper) EXPECT added in v0.2.0

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

func (*MockCrossChainKeeper) RegisterChannel added in v0.2.0

func (m *MockCrossChainKeeper) RegisterChannel(arg0 string, arg1 types2.ChannelID, arg2 types2.CrossChainApplication) error

RegisterChannel mocks base method

type MockCrossChainKeeperMockRecorder added in v0.2.0

type MockCrossChainKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockCrossChainKeeperMockRecorder is the mock recorder for MockCrossChainKeeper

func (*MockCrossChainKeeperMockRecorder) CreateRawIBCPackageWithFee added in v0.2.0

func (mr *MockCrossChainKeeperMockRecorder) CreateRawIBCPackageWithFee(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateRawIBCPackageWithFee indicates an expected call of CreateRawIBCPackageWithFee

func (*MockCrossChainKeeperMockRecorder) RegisterChannel added in v0.2.0

func (mr *MockCrossChainKeeperMockRecorder) RegisterChannel(arg0, arg1, arg2 interface{}) *gomock.Call

RegisterChannel indicates an expected call of RegisterChannel

type MockPaymentKeeper added in v0.2.0

type MockPaymentKeeper struct {
	// contains filtered or unexported fields
}

MockPaymentKeeper is a mock of PaymentKeeper interface

func NewMockPaymentKeeper added in v0.2.0

func NewMockPaymentKeeper(ctrl *gomock.Controller) *MockPaymentKeeper

NewMockPaymentKeeper creates a new mock instance

func (*MockPaymentKeeper) ApplyUserFlowsList added in v0.2.0

func (m *MockPaymentKeeper) ApplyUserFlowsList(arg0 types2.Context, arg1 []types.UserFlows) error

ApplyUserFlowsList mocks base method

func (*MockPaymentKeeper) EXPECT added in v0.2.0

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

func (*MockPaymentKeeper) GetParams added in v0.2.0

func (m *MockPaymentKeeper) GetParams(arg0 types2.Context) types.Params

GetParams mocks base method

func (*MockPaymentKeeper) GetStoragePrice added in v0.2.0

func (m *MockPaymentKeeper) GetStoragePrice(arg0 types2.Context, arg1 types.StoragePriceParams) (types.StoragePrice, error)

GetStoragePrice mocks base method

func (*MockPaymentKeeper) GetStreamRecord added in v0.2.0

func (m *MockPaymentKeeper) GetStreamRecord(arg0 types2.Context, arg1 types2.AccAddress) (*types.StreamRecord, bool)

GetStreamRecord mocks base method

func (*MockPaymentKeeper) IsPaymentAccountOwner added in v0.2.0

func (m *MockPaymentKeeper) IsPaymentAccountOwner(arg0 types2.Context, arg1, arg2 types2.AccAddress) bool

IsPaymentAccountOwner mocks base method

func (*MockPaymentKeeper) UpdateStreamRecordByAddr added in v0.2.0

func (m *MockPaymentKeeper) UpdateStreamRecordByAddr(arg0 types2.Context, arg1 *types.StreamRecordChange) (*types.StreamRecord, error)

UpdateStreamRecordByAddr mocks base method

type MockPaymentKeeperMockRecorder added in v0.2.0

type MockPaymentKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockPaymentKeeperMockRecorder is the mock recorder for MockPaymentKeeper

func (*MockPaymentKeeperMockRecorder) ApplyUserFlowsList added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) ApplyUserFlowsList(arg0, arg1 interface{}) *gomock.Call

ApplyUserFlowsList indicates an expected call of ApplyUserFlowsList

func (*MockPaymentKeeperMockRecorder) GetParams added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) GetParams(arg0 interface{}) *gomock.Call

GetParams indicates an expected call of GetParams

func (*MockPaymentKeeperMockRecorder) GetStoragePrice added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) GetStoragePrice(arg0, arg1 interface{}) *gomock.Call

GetStoragePrice indicates an expected call of GetStoragePrice

func (*MockPaymentKeeperMockRecorder) GetStreamRecord added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) GetStreamRecord(arg0, arg1 interface{}) *gomock.Call

GetStreamRecord indicates an expected call of GetStreamRecord

func (*MockPaymentKeeperMockRecorder) IsPaymentAccountOwner added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) IsPaymentAccountOwner(arg0, arg1, arg2 interface{}) *gomock.Call

IsPaymentAccountOwner indicates an expected call of IsPaymentAccountOwner

func (*MockPaymentKeeperMockRecorder) UpdateStreamRecordByAddr added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) UpdateStreamRecordByAddr(arg0, arg1 interface{}) *gomock.Call

UpdateStreamRecordByAddr indicates an expected call of UpdateStreamRecordByAddr

type MockPermissionKeeper added in v0.2.0

type MockPermissionKeeper struct {
	// contains filtered or unexported fields
}

MockPermissionKeeper is a mock of PermissionKeeper interface

func NewMockPermissionKeeper added in v0.2.0

func NewMockPermissionKeeper(ctrl *gomock.Controller) *MockPermissionKeeper

NewMockPermissionKeeper creates a new mock instance

func (*MockPermissionKeeper) AddGroupMember added in v0.2.0

func (m *MockPermissionKeeper) AddGroupMember(arg0 types2.Context, arg1 math.Uint, arg2 types2.AccAddress) error

AddGroupMember mocks base method

func (*MockPermissionKeeper) DeletePolicy added in v0.2.0

func (m *MockPermissionKeeper) DeletePolicy(arg0 types2.Context, arg1 *types0.Principal, arg2 resource.ResourceType, arg3 math.Uint) (math.Uint, error)

DeletePolicy mocks base method

func (*MockPermissionKeeper) EXPECT added in v0.2.0

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

func (*MockPermissionKeeper) ExistAccountPolicyForResource added in v0.2.0

func (m *MockPermissionKeeper) ExistAccountPolicyForResource(ctx types2.Context, resourceType resource.ResourceType, resourceID math.Uint) bool

ExistAccountPolicyForResource mocks base method.

func (*MockPermissionKeeper) ExistGroupMemberForGroup added in v0.2.0

func (m *MockPermissionKeeper) ExistGroupMemberForGroup(ctx types2.Context, groupID math.Uint) bool

ExistGroupMemberForGroup mocks base method.

func (*MockPermissionKeeper) ExistGroupPolicyForResource added in v0.2.0

func (m *MockPermissionKeeper) ExistGroupPolicyForResource(ctx types2.Context, resourceType resource.ResourceType, resourceID math.Uint) bool

ExistGroupPolicyForResource mocks base method.

func (*MockPermissionKeeper) ForceDeleteAccountPolicyForResource added in v0.2.0

func (m *MockPermissionKeeper) ForceDeleteAccountPolicyForResource(ctx types2.Context, maxDelete, deletedCount uint64, resourceType resource.ResourceType, resourceID math.Uint) (uint64, bool)

ForceDeleteAccountPolicyForResource mocks base method.

func (*MockPermissionKeeper) ForceDeleteGroupMembers added in v0.2.0

func (m *MockPermissionKeeper) ForceDeleteGroupMembers(ctx types2.Context, maxDelete, deletedCount uint64, groupId math.Uint) (uint64, bool)

ForceDeleteGroupMembers mocks base method.

func (*MockPermissionKeeper) ForceDeleteGroupPolicyForResource added in v0.2.0

func (m *MockPermissionKeeper) ForceDeleteGroupPolicyForResource(ctx types2.Context, maxDelete, deletedCount uint64, resourceType resource.ResourceType, resourceID math.Uint) (uint64, bool)

ForceDeleteGroupPolicyForResource mocks base method.

func (*MockPermissionKeeper) GetGroupMember added in v0.2.0

func (m *MockPermissionKeeper) GetGroupMember(arg0 types2.Context, arg1 math.Uint, arg2 types2.AccAddress) (*types0.GroupMember, bool)

GetGroupMember mocks base method

func (*MockPermissionKeeper) GetGroupMemberByID added in v0.2.0

func (m *MockPermissionKeeper) GetGroupMemberByID(arg0 types2.Context, arg1 math.Uint) (*types0.GroupMember, bool)

GetGroupMemberByID mocks base method

func (*MockPermissionKeeper) GetPolicyByID added in v0.2.0

func (m *MockPermissionKeeper) GetPolicyByID(arg0 types2.Context, arg1 math.Uint) (*types0.Policy, bool)

GetPolicyByID mocks base method

func (*MockPermissionKeeper) GetPolicyForAccount added in v0.2.0

func (m *MockPermissionKeeper) GetPolicyForAccount(arg0 types2.Context, arg1 math.Uint, arg2 resource.ResourceType, arg3 types2.AccAddress) (*types0.Policy, bool)

GetPolicyForAccount mocks base method

func (*MockPermissionKeeper) GetPolicyForGroup added in v0.2.0

func (m *MockPermissionKeeper) GetPolicyForGroup(arg0 types2.Context, arg1 math.Uint, arg2 resource.ResourceType, arg3 math.Uint) (*types0.Policy, bool)

GetPolicyForGroup mocks base method

func (*MockPermissionKeeper) PutPolicy added in v0.2.0

func (m *MockPermissionKeeper) PutPolicy(arg0 types2.Context, arg1 *types0.Policy) (math.Uint, error)

PutPolicy mocks base method

func (*MockPermissionKeeper) RemoveGroupMember added in v0.2.0

func (m *MockPermissionKeeper) RemoveGroupMember(arg0 types2.Context, arg1 math.Uint, arg2 types2.AccAddress) error

RemoveGroupMember mocks base method

func (*MockPermissionKeeper) VerifyPolicy added in v0.2.0

VerifyPolicy mocks base method

type MockPermissionKeeperMockRecorder added in v0.2.0

type MockPermissionKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockPermissionKeeperMockRecorder is the mock recorder for MockPermissionKeeper

func (*MockPermissionKeeperMockRecorder) AddGroupMember added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) AddGroupMember(arg0, arg1, arg2 interface{}) *gomock.Call

AddGroupMember indicates an expected call of AddGroupMember

func (*MockPermissionKeeperMockRecorder) DeletePolicy added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) DeletePolicy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeletePolicy indicates an expected call of DeletePolicy

func (*MockPermissionKeeperMockRecorder) ExistAccountPolicyForResource added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) ExistAccountPolicyForResource(ctx, resourceType, resourceID interface{}) *gomock.Call

ExistAccountPolicyForResource indicates an expected call of ExistAccountPolicyForResource.

func (*MockPermissionKeeperMockRecorder) ExistGroupMemberForGroup added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) ExistGroupMemberForGroup(ctx, groupID interface{}) *gomock.Call

ExistGroupMemberForGroup indicates an expected call of ExistGroupMemberForGroup.

func (*MockPermissionKeeperMockRecorder) ExistGroupPolicyForResource added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) ExistGroupPolicyForResource(ctx, resourceType, resourceID interface{}) *gomock.Call

ExistGroupPolicyForResource indicates an expected call of ExistGroupPolicyForResource.

func (*MockPermissionKeeperMockRecorder) ForceDeleteAccountPolicyForResource added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) ForceDeleteAccountPolicyForResource(ctx, maxDelete, deletedCount, resourceType, resourceID interface{}) *gomock.Call

ForceDeleteAccountPolicyForResource indicates an expected call of ForceDeleteAccountPolicyForResource.

func (*MockPermissionKeeperMockRecorder) ForceDeleteGroupMembers added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) ForceDeleteGroupMembers(ctx, maxDelete, deletedCount, groupId interface{}) *gomock.Call

ForceDeleteGroupMembers indicates an expected call of ForceDeleteGroupMembers.

func (*MockPermissionKeeperMockRecorder) ForceDeleteGroupPolicyForResource added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) ForceDeleteGroupPolicyForResource(ctx, maxDelete, deletedCount, resourceType, resourceID interface{}) *gomock.Call

ForceDeleteGroupPolicyForResource indicates an expected call of ForceDeleteGroupPolicyForResource.

func (*MockPermissionKeeperMockRecorder) GetGroupMember added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) GetGroupMember(arg0, arg1, arg2 interface{}) *gomock.Call

GetGroupMember indicates an expected call of GetGroupMember

func (*MockPermissionKeeperMockRecorder) GetGroupMemberByID added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) GetGroupMemberByID(arg0, arg1 interface{}) *gomock.Call

GetGroupMemberByID indicates an expected call of GetGroupMemberByID

func (*MockPermissionKeeperMockRecorder) GetPolicyByID added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) GetPolicyByID(arg0, arg1 interface{}) *gomock.Call

GetPolicyByID indicates an expected call of GetPolicyByID

func (*MockPermissionKeeperMockRecorder) GetPolicyForAccount added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) GetPolicyForAccount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetPolicyForAccount indicates an expected call of GetPolicyForAccount

func (*MockPermissionKeeperMockRecorder) GetPolicyForGroup added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) GetPolicyForGroup(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetPolicyForGroup indicates an expected call of GetPolicyForGroup

func (*MockPermissionKeeperMockRecorder) PutPolicy added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) PutPolicy(arg0, arg1 interface{}) *gomock.Call

PutPolicy indicates an expected call of PutPolicy

func (*MockPermissionKeeperMockRecorder) RemoveGroupMember added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) RemoveGroupMember(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveGroupMember indicates an expected call of RemoveGroupMember

func (*MockPermissionKeeperMockRecorder) VerifyPolicy added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) VerifyPolicy(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

VerifyPolicy indicates an expected call of VerifyPolicy

type MockSpKeeper added in v0.2.0

type MockSpKeeper struct {
	// contains filtered or unexported fields
}

MockSpKeeper is a mock of SpKeeper interface

func NewMockSpKeeper added in v0.2.0

func NewMockSpKeeper(ctrl *gomock.Controller) *MockSpKeeper

NewMockSpKeeper creates a new mock instance

func (*MockSpKeeper) EXPECT added in v0.2.0

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

func (*MockSpKeeper) GetSpStoragePriceByTime added in v0.2.0

func (m *MockSpKeeper) GetSpStoragePriceByTime(arg0 types2.Context, arg1 types2.AccAddress, arg2 int64) (types1.SpStoragePrice, error)

GetSpStoragePriceByTime mocks base method

func (*MockSpKeeper) GetStorageProvider added in v0.2.0

func (m *MockSpKeeper) GetStorageProvider(arg0 types2.Context, arg1 types2.AccAddress) (*types1.StorageProvider, bool)

GetStorageProvider mocks base method

func (*MockSpKeeper) GetStorageProviderByGcAddr added in v0.2.0

func (m *MockSpKeeper) GetStorageProviderByGcAddr(arg0 types2.Context, arg1 types2.AccAddress) (*types1.StorageProvider, bool)

GetStorageProviderByGcAddr mocks base method

func (*MockSpKeeper) GetStorageProviderBySealAddr added in v0.2.0

func (m *MockSpKeeper) GetStorageProviderBySealAddr(arg0 types2.Context, arg1 types2.AccAddress) (*types1.StorageProvider, bool)

GetStorageProviderBySealAddr mocks base method

func (*MockSpKeeper) IsStorageProviderExistAndInService added in v0.2.0

func (m *MockSpKeeper) IsStorageProviderExistAndInService(arg0 types2.Context, arg1 types2.AccAddress) error

IsStorageProviderExistAndInService mocks base method

func (*MockSpKeeper) SetSecondarySpStorePrice added in v0.2.0

func (m *MockSpKeeper) SetSecondarySpStorePrice(arg0 types2.Context, arg1 types1.SecondarySpStorePrice)

SetSecondarySpStorePrice mocks base method

func (*MockSpKeeper) SetSpStoragePrice added in v0.2.0

func (m *MockSpKeeper) SetSpStoragePrice(arg0 types2.Context, arg1 types1.SpStoragePrice)

SetSpStoragePrice mocks base method

type MockSpKeeperMockRecorder added in v0.2.0

type MockSpKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockSpKeeperMockRecorder is the mock recorder for MockSpKeeper

func (*MockSpKeeperMockRecorder) GetSpStoragePriceByTime added in v0.2.0

func (mr *MockSpKeeperMockRecorder) GetSpStoragePriceByTime(arg0, arg1, arg2 interface{}) *gomock.Call

GetSpStoragePriceByTime indicates an expected call of GetSpStoragePriceByTime

func (*MockSpKeeperMockRecorder) GetStorageProvider added in v0.2.0

func (mr *MockSpKeeperMockRecorder) GetStorageProvider(arg0, arg1 interface{}) *gomock.Call

GetStorageProvider indicates an expected call of GetStorageProvider

func (*MockSpKeeperMockRecorder) GetStorageProviderByGcAddr added in v0.2.0

func (mr *MockSpKeeperMockRecorder) GetStorageProviderByGcAddr(arg0, arg1 interface{}) *gomock.Call

GetStorageProviderByGcAddr indicates an expected call of GetStorageProviderByGcAddr

func (*MockSpKeeperMockRecorder) GetStorageProviderBySealAddr added in v0.2.0

func (mr *MockSpKeeperMockRecorder) GetStorageProviderBySealAddr(arg0, arg1 interface{}) *gomock.Call

GetStorageProviderBySealAddr indicates an expected call of GetStorageProviderBySealAddr

func (*MockSpKeeperMockRecorder) IsStorageProviderExistAndInService added in v0.2.0

func (mr *MockSpKeeperMockRecorder) IsStorageProviderExistAndInService(arg0, arg1 interface{}) *gomock.Call

IsStorageProviderExistAndInService indicates an expected call of IsStorageProviderExistAndInService

func (*MockSpKeeperMockRecorder) SetSecondarySpStorePrice added in v0.2.0

func (mr *MockSpKeeperMockRecorder) SetSecondarySpStorePrice(arg0, arg1 interface{}) *gomock.Call

SetSecondarySpStorePrice indicates an expected call of SetSecondarySpStorePrice

func (*MockSpKeeperMockRecorder) SetSpStoragePrice added in v0.2.0

func (mr *MockSpKeeperMockRecorder) SetSpStoragePrice(arg0, arg1 interface{}) *gomock.Call

SetSpStoragePrice indicates an expected call of SetSpStoragePrice

type MsgCancelCreateObject added in v0.0.6

type MsgCancelCreateObject struct {
	// operator defines the account address of the operator
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name defines the name of the object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
}

func NewMsgCancelCreateObject added in v0.0.6

func NewMsgCancelCreateObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgCancelCreateObject

func (*MsgCancelCreateObject) Descriptor added in v0.0.6

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

func (*MsgCancelCreateObject) GetBucketName added in v0.0.6

func (m *MsgCancelCreateObject) GetBucketName() string

func (*MsgCancelCreateObject) GetObjectName added in v0.0.6

func (m *MsgCancelCreateObject) GetObjectName() string

func (*MsgCancelCreateObject) GetOperator added in v0.0.6

func (m *MsgCancelCreateObject) GetOperator() string

func (*MsgCancelCreateObject) GetSignBytes added in v0.0.6

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

func (*MsgCancelCreateObject) GetSigners added in v0.0.6

func (msg *MsgCancelCreateObject) GetSigners() []sdk.AccAddress

func (*MsgCancelCreateObject) Marshal added in v0.0.6

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

func (*MsgCancelCreateObject) MarshalTo added in v0.0.6

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

func (*MsgCancelCreateObject) MarshalToSizedBuffer added in v0.0.6

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

func (*MsgCancelCreateObject) ProtoMessage added in v0.0.6

func (*MsgCancelCreateObject) ProtoMessage()

func (*MsgCancelCreateObject) Reset added in v0.0.6

func (m *MsgCancelCreateObject) Reset()

func (*MsgCancelCreateObject) Route added in v0.0.6

func (msg *MsgCancelCreateObject) Route() string

func (*MsgCancelCreateObject) Size added in v0.0.6

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

func (*MsgCancelCreateObject) String added in v0.0.6

func (m *MsgCancelCreateObject) String() string

func (*MsgCancelCreateObject) Type added in v0.0.6

func (msg *MsgCancelCreateObject) Type() string

func (*MsgCancelCreateObject) Unmarshal added in v0.0.6

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

func (*MsgCancelCreateObject) ValidateBasic added in v0.0.6

func (msg *MsgCancelCreateObject) ValidateBasic() error

func (*MsgCancelCreateObject) XXX_DiscardUnknown added in v0.0.6

func (m *MsgCancelCreateObject) XXX_DiscardUnknown()

func (*MsgCancelCreateObject) XXX_Marshal added in v0.0.6

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

func (*MsgCancelCreateObject) XXX_Merge added in v0.0.6

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

func (*MsgCancelCreateObject) XXX_Size added in v0.0.6

func (m *MsgCancelCreateObject) XXX_Size() int

func (*MsgCancelCreateObject) XXX_Unmarshal added in v0.0.6

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

type MsgCancelCreateObjectResponse added in v0.0.6

type MsgCancelCreateObjectResponse struct {
}

func (*MsgCancelCreateObjectResponse) Descriptor added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) Marshal added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) MarshalTo added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) MarshalToSizedBuffer added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) ProtoMessage added in v0.0.6

func (*MsgCancelCreateObjectResponse) ProtoMessage()

func (*MsgCancelCreateObjectResponse) Reset added in v0.0.6

func (m *MsgCancelCreateObjectResponse) Reset()

func (*MsgCancelCreateObjectResponse) Size added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) String added in v0.0.6

func (*MsgCancelCreateObjectResponse) Unmarshal added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) XXX_DiscardUnknown added in v0.0.6

func (m *MsgCancelCreateObjectResponse) XXX_DiscardUnknown()

func (*MsgCancelCreateObjectResponse) XXX_Marshal added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) XXX_Merge added in v0.0.6

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

func (*MsgCancelCreateObjectResponse) XXX_Size added in v0.0.6

func (m *MsgCancelCreateObjectResponse) XXX_Size() int

func (*MsgCancelCreateObjectResponse) XXX_Unmarshal added in v0.0.6

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

type MsgClient

type MsgClient interface {
	// basic operation of bucket
	CreateBucket(ctx context.Context, in *MsgCreateBucket, opts ...grpc.CallOption) (*MsgCreateBucketResponse, error)
	DeleteBucket(ctx context.Context, in *MsgDeleteBucket, opts ...grpc.CallOption) (*MsgDeleteBucketResponse, error)
	UpdateBucketInfo(ctx context.Context, in *MsgUpdateBucketInfo, opts ...grpc.CallOption) (*MsgUpdateBucketInfoResponse, error)
	MirrorBucket(ctx context.Context, in *MsgMirrorBucket, opts ...grpc.CallOption) (*MsgMirrorBucketResponse, error)
	DiscontinueBucket(ctx context.Context, in *MsgDiscontinueBucket, opts ...grpc.CallOption) (*MsgDiscontinueBucketResponse, error)
	// basic operation of object
	CreateObject(ctx context.Context, in *MsgCreateObject, opts ...grpc.CallOption) (*MsgCreateObjectResponse, error)
	SealObject(ctx context.Context, in *MsgSealObject, opts ...grpc.CallOption) (*MsgSealObjectResponse, error)
	RejectSealObject(ctx context.Context, in *MsgRejectSealObject, opts ...grpc.CallOption) (*MsgRejectSealObjectResponse, error)
	CopyObject(ctx context.Context, in *MsgCopyObject, opts ...grpc.CallOption) (*MsgCopyObjectResponse, error)
	DeleteObject(ctx context.Context, in *MsgDeleteObject, opts ...grpc.CallOption) (*MsgDeleteObjectResponse, error)
	CancelCreateObject(ctx context.Context, in *MsgCancelCreateObject, opts ...grpc.CallOption) (*MsgCancelCreateObjectResponse, error)
	MirrorObject(ctx context.Context, in *MsgMirrorObject, opts ...grpc.CallOption) (*MsgMirrorObjectResponse, error)
	DiscontinueObject(ctx context.Context, in *MsgDiscontinueObject, opts ...grpc.CallOption) (*MsgDiscontinueObjectResponse, error)
	UpdateObjectInfo(ctx context.Context, in *MsgUpdateObjectInfo, opts ...grpc.CallOption) (*MsgUpdateObjectInfoResponse, 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)
	UpdateGroupExtra(ctx context.Context, in *MsgUpdateGroupExtra, opts ...grpc.CallOption) (*MsgUpdateGroupExtraResponse, error)
	LeaveGroup(ctx context.Context, in *MsgLeaveGroup, opts ...grpc.CallOption) (*MsgLeaveGroupResponse, error)
	MirrorGroup(ctx context.Context, in *MsgMirrorGroup, opts ...grpc.CallOption) (*MsgMirrorGroupResponse, error)
	// basic operation of policy
	PutPolicy(ctx context.Context, in *MsgPutPolicy, opts ...grpc.CallOption) (*MsgPutPolicyResponse, error)
	DeletePolicy(ctx context.Context, in *MsgDeletePolicy, opts ...grpc.CallOption) (*MsgDeletePolicyResponse, error)
	// UpdateParams defines a governance operation for updating the x/storage module parameters.
	// The authority is defined in the keeper.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCopyObject

type MsgCopyObject struct {
	// operator defines the account address of the operator who has the CopyObject permission of the object to be deleted.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// src_bucket_name defines the name of the bucket where the object to be copied is located
	SrcBucketName string `protobuf:"bytes,2,opt,name=src_bucket_name,json=srcBucketName,proto3" json:"src_bucket_name,omitempty"`
	// dst_bucket_name defines the name of the bucket where the object is copied to.
	DstBucketName string `protobuf:"bytes,3,opt,name=dst_bucket_name,json=dstBucketName,proto3" json:"dst_bucket_name,omitempty"`
	// src_object_name defines the name of the object which to be copied
	SrcObjectName string `protobuf:"bytes,4,opt,name=src_object_name,json=srcObjectName,proto3" json:"src_object_name,omitempty"`
	// dst_object_name defines the name of the object which is copied to
	DstObjectName string `protobuf:"bytes,5,opt,name=dst_object_name,json=dstObjectName,proto3" json:"dst_object_name,omitempty"`
	// primary_sp_approval defines the approval info of the primary SP which indicates that primary sp confirm the user's request.
	DstPrimarySpApproval *Approval `protobuf:"bytes,6,opt,name=dst_primary_sp_approval,json=dstPrimarySpApproval,proto3" json:"dst_primary_sp_approval,omitempty"`
}

func NewMsgCopyObject

func NewMsgCopyObject(
	operator sdk.AccAddress, srcBucketName string, dstBucketName string,
	srcObjectName string, dstObjectName string, timeoutHeight uint64, sig []byte) *MsgCopyObject

func (*MsgCopyObject) Descriptor

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

func (*MsgCopyObject) GetApprovalBytes added in v0.0.6

func (msg *MsgCopyObject) GetApprovalBytes() []byte

GetApprovalBytes returns the message bytes of approval info.

func (*MsgCopyObject) GetDstBucketName

func (m *MsgCopyObject) GetDstBucketName() string

func (*MsgCopyObject) GetDstObjectName

func (m *MsgCopyObject) GetDstObjectName() string

func (*MsgCopyObject) GetDstPrimarySpApproval added in v0.0.6

func (m *MsgCopyObject) GetDstPrimarySpApproval() *Approval

func (*MsgCopyObject) GetOperator

func (m *MsgCopyObject) GetOperator() string

func (*MsgCopyObject) GetSignBytes

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

func (*MsgCopyObject) GetSigners

func (msg *MsgCopyObject) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgCopyObject) GetSrcBucketName

func (m *MsgCopyObject) GetSrcBucketName() string

func (*MsgCopyObject) GetSrcObjectName

func (m *MsgCopyObject) GetSrcObjectName() string

func (*MsgCopyObject) Marshal

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

func (*MsgCopyObject) MarshalTo

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

func (*MsgCopyObject) MarshalToSizedBuffer

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

func (*MsgCopyObject) ProtoMessage

func (*MsgCopyObject) ProtoMessage()

func (*MsgCopyObject) Reset

func (m *MsgCopyObject) Reset()

func (*MsgCopyObject) Route

func (msg *MsgCopyObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgCopyObject) Size

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

func (*MsgCopyObject) String

func (m *MsgCopyObject) String() string

func (*MsgCopyObject) Type

func (msg *MsgCopyObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgCopyObject) Unmarshal

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

func (*MsgCopyObject) ValidateBasic

func (msg *MsgCopyObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgCopyObject) XXX_DiscardUnknown

func (m *MsgCopyObject) XXX_DiscardUnknown()

func (*MsgCopyObject) XXX_Marshal

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

func (*MsgCopyObject) XXX_Merge

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

func (*MsgCopyObject) XXX_Size

func (m *MsgCopyObject) XXX_Size() int

func (*MsgCopyObject) XXX_Unmarshal

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

type MsgCopyObjectResponse

type MsgCopyObjectResponse struct {
	ObjectId Uint `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}

func (*MsgCopyObjectResponse) Descriptor

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

func (*MsgCopyObjectResponse) Marshal

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

func (*MsgCopyObjectResponse) MarshalTo

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

func (*MsgCopyObjectResponse) MarshalToSizedBuffer

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

func (*MsgCopyObjectResponse) ProtoMessage

func (*MsgCopyObjectResponse) ProtoMessage()

func (*MsgCopyObjectResponse) Reset

func (m *MsgCopyObjectResponse) Reset()

func (*MsgCopyObjectResponse) Size

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

func (*MsgCopyObjectResponse) String

func (m *MsgCopyObjectResponse) String() string

func (*MsgCopyObjectResponse) Unmarshal

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

func (*MsgCopyObjectResponse) XXX_DiscardUnknown

func (m *MsgCopyObjectResponse) XXX_DiscardUnknown()

func (*MsgCopyObjectResponse) XXX_Marshal

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

func (*MsgCopyObjectResponse) XXX_Merge

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

func (*MsgCopyObjectResponse) XXX_Size

func (m *MsgCopyObjectResponse) XXX_Size() int

func (*MsgCopyObjectResponse) XXX_Unmarshal

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

type MsgCreateBucket

type MsgCreateBucket struct {
	// creator defines the account address of bucket creator, it is also the bucket owner.
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// bucket_name defines a globally unique name of bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// visibility means the bucket is private or public. if private, only bucket owner or grantee can read it,
	// otherwise every greenfield user can read it.
	Visibility VisibilityType `protobuf:"varint,3,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
	// payment_address defines an account address specified by bucket owner to pay the read fee. Default: creator
	PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// primary_sp_address defines the address of primary sp.
	PrimarySpAddress string `protobuf:"bytes,6,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
	// primary_sp_approval defines the approval info of the primary SP which indicates that primary sp confirm the user's request.
	PrimarySpApproval *Approval `protobuf:"bytes,7,opt,name=primary_sp_approval,json=primarySpApproval,proto3" json:"primary_sp_approval,omitempty"`
	// charged_read_quota defines the read data that users are charged for, measured in bytes.
	// The available read data for each user is the sum of the free read data provided by SP and
	// the ChargeReadQuota specified here.
	ChargedReadQuota uint64 `protobuf:"varint,8,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"`
}

func NewMsgCreateBucket

func NewMsgCreateBucket(
	creator sdk.AccAddress, bucketName string, Visibility VisibilityType,
	primarySPAddress sdk.AccAddress, paymentAddress sdk.AccAddress, timeoutHeight uint64, sig []byte, chargedReadQuota uint64) *MsgCreateBucket

NewMsgCreateBucket creates a new MsgCreateBucket instance.

func (*MsgCreateBucket) Descriptor

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

func (*MsgCreateBucket) GetApprovalBytes added in v0.0.6

func (msg *MsgCreateBucket) GetApprovalBytes() []byte

GetApprovalBytes returns the message bytes of approval info.

func (*MsgCreateBucket) GetBucketName

func (m *MsgCreateBucket) GetBucketName() string

func (*MsgCreateBucket) GetChargedReadQuota added in v0.0.10

func (m *MsgCreateBucket) GetChargedReadQuota() uint64

func (*MsgCreateBucket) GetCreator

func (m *MsgCreateBucket) GetCreator() string

func (*MsgCreateBucket) GetPaymentAddress

func (m *MsgCreateBucket) GetPaymentAddress() string

func (*MsgCreateBucket) GetPrimarySpAddress

func (m *MsgCreateBucket) GetPrimarySpAddress() string

func (*MsgCreateBucket) GetPrimarySpApproval added in v0.0.6

func (m *MsgCreateBucket) GetPrimarySpApproval() *Approval

func (*MsgCreateBucket) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgCreateBucket) GetSigners

func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It returns the address(es) that must sign over msg.GetSignBytes().

func (*MsgCreateBucket) GetVisibility added in v0.0.10

func (m *MsgCreateBucket) GetVisibility() VisibilityType

func (*MsgCreateBucket) Marshal

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

func (*MsgCreateBucket) MarshalTo

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

func (*MsgCreateBucket) MarshalToSizedBuffer

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

func (*MsgCreateBucket) ProtoMessage

func (*MsgCreateBucket) ProtoMessage()

func (*MsgCreateBucket) Reset

func (m *MsgCreateBucket) Reset()

func (*MsgCreateBucket) Route

func (msg *MsgCreateBucket) Route() string

Route implements the sdk.Msg interface.

func (*MsgCreateBucket) Size

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

func (*MsgCreateBucket) String

func (m *MsgCreateBucket) String() string

func (*MsgCreateBucket) Type

func (msg *MsgCreateBucket) Type() string

Type implements the sdk.Msg interface.

func (*MsgCreateBucket) Unmarshal

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

func (*MsgCreateBucket) ValidateBasic

func (msg *MsgCreateBucket) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgCreateBucket) XXX_DiscardUnknown

func (m *MsgCreateBucket) XXX_DiscardUnknown()

func (*MsgCreateBucket) XXX_Marshal

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

func (*MsgCreateBucket) XXX_Merge

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

func (*MsgCreateBucket) XXX_Size

func (m *MsgCreateBucket) XXX_Size() int

func (*MsgCreateBucket) XXX_Unmarshal

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

type MsgCreateBucketResponse

type MsgCreateBucketResponse struct {
	BucketId Uint `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
}

func (*MsgCreateBucketResponse) Descriptor

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

func (*MsgCreateBucketResponse) Marshal

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

func (*MsgCreateBucketResponse) MarshalTo

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

func (*MsgCreateBucketResponse) MarshalToSizedBuffer

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

func (*MsgCreateBucketResponse) ProtoMessage

func (*MsgCreateBucketResponse) ProtoMessage()

func (*MsgCreateBucketResponse) Reset

func (m *MsgCreateBucketResponse) Reset()

func (*MsgCreateBucketResponse) Size

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

func (*MsgCreateBucketResponse) String

func (m *MsgCreateBucketResponse) String() string

func (*MsgCreateBucketResponse) Unmarshal

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

func (*MsgCreateBucketResponse) XXX_DiscardUnknown

func (m *MsgCreateBucketResponse) XXX_DiscardUnknown()

func (*MsgCreateBucketResponse) XXX_Marshal

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

func (*MsgCreateBucketResponse) XXX_Merge

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

func (*MsgCreateBucketResponse) XXX_Size

func (m *MsgCreateBucketResponse) XXX_Size() int

func (*MsgCreateBucketResponse) XXX_Unmarshal

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

type MsgCreateGroup

type MsgCreateGroup struct {
	// owner defines the account address of group owner who create the group
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// group_name defines the name of the group. it's not globally unique.
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// member_request defines a list of member which to be add or remove
	Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// extra defines extra info for the group
	Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"`
}

func NewMsgCreateGroup

func NewMsgCreateGroup(creator sdk.AccAddress, groupName string, membersAcc []sdk.AccAddress, extra string) *MsgCreateGroup

func (*MsgCreateGroup) Descriptor

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

func (*MsgCreateGroup) GetCreator

func (m *MsgCreateGroup) GetCreator() string

func (*MsgCreateGroup) GetExtra added in v0.2.2

func (m *MsgCreateGroup) GetExtra() 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) MarshalTo

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

func (*MsgCreateGroup) MarshalToSizedBuffer

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

func (*MsgCreateGroup) ProtoMessage

func (*MsgCreateGroup) ProtoMessage()

func (*MsgCreateGroup) Reset

func (m *MsgCreateGroup) Reset()

func (*MsgCreateGroup) Route

func (msg *MsgCreateGroup) Route() string

Route implements the sdk.Msg interface.

func (*MsgCreateGroup) Size

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

func (*MsgCreateGroup) String

func (m *MsgCreateGroup) String() string

func (*MsgCreateGroup) Type

func (msg *MsgCreateGroup) Type() string

Type implements the sdk.Msg interface.

func (*MsgCreateGroup) Unmarshal

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

func (*MsgCreateGroup) ValidateBasic

func (msg *MsgCreateGroup) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgCreateGroup) XXX_DiscardUnknown

func (m *MsgCreateGroup) XXX_DiscardUnknown()

func (*MsgCreateGroup) XXX_Marshal

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

func (*MsgCreateGroup) XXX_Merge

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

func (*MsgCreateGroup) XXX_Size

func (m *MsgCreateGroup) XXX_Size() int

func (*MsgCreateGroup) XXX_Unmarshal

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

type MsgCreateGroupResponse

type MsgCreateGroupResponse struct {
	GroupId Uint `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3,customtype=Uint" json:"group_id"`
}

func (*MsgCreateGroupResponse) Descriptor

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

func (*MsgCreateGroupResponse) Marshal

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

func (*MsgCreateGroupResponse) MarshalTo

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

func (*MsgCreateGroupResponse) MarshalToSizedBuffer

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

func (*MsgCreateGroupResponse) ProtoMessage

func (*MsgCreateGroupResponse) ProtoMessage()

func (*MsgCreateGroupResponse) Reset

func (m *MsgCreateGroupResponse) Reset()

func (*MsgCreateGroupResponse) Size

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

func (*MsgCreateGroupResponse) String

func (m *MsgCreateGroupResponse) String() string

func (*MsgCreateGroupResponse) Unmarshal

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

func (*MsgCreateGroupResponse) XXX_DiscardUnknown

func (m *MsgCreateGroupResponse) XXX_DiscardUnknown()

func (*MsgCreateGroupResponse) XXX_Marshal

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

func (*MsgCreateGroupResponse) XXX_Merge

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

func (*MsgCreateGroupResponse) XXX_Size

func (m *MsgCreateGroupResponse) XXX_Size() int

func (*MsgCreateGroupResponse) XXX_Unmarshal

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

type MsgCreateObject

type MsgCreateObject struct {
	// creator defines the account address of object uploader
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// bucket_name defines the name of the bucket where the object is stored.
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name defines the name of object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// payload_size defines size of the object's payload
	PayloadSize uint64 `protobuf:"varint,4,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
	// visibility means the object is private or public. if private, only object owner or grantee can access it,
	// otherwise every greenfield user can access it.
	Visibility VisibilityType `protobuf:"varint,5,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
	// content_type defines a standard MIME type describing the format of the object.
	ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// primary_sp_approval defines the approval info of the primary SP which indicates that primary sp confirm the user's request.
	PrimarySpApproval *Approval `protobuf:"bytes,7,opt,name=primary_sp_approval,json=primarySpApproval,proto3" json:"primary_sp_approval,omitempty"`
	// expect_checksums defines a list of hashes which was generate by redundancy algorithm.
	ExpectChecksums [][]byte `protobuf:"bytes,8,rep,name=expect_checksums,json=expectChecksums,proto3" json:"expect_checksums,omitempty"`
	// redundancy_type can be ec or replica
	RedundancyType RedundancyType `` /* 143-byte string literal not displayed */
	// expect_secondarySPs defines a list of StorageProvider address, which is optional
	ExpectSecondarySpAddresses []string `` /* 144-byte string literal not displayed */
}

func NewMsgCreateObject

func NewMsgCreateObject(
	creator sdk.AccAddress, bucketName string, objectName string, payloadSize uint64,
	Visibility VisibilityType, expectChecksums [][]byte, contentType string, redundancyType RedundancyType, timeoutHeight uint64, sig []byte,
	secondarySPAccs []sdk.AccAddress) *MsgCreateObject

NewMsgCreateObject creates a new MsgCreateObject instance.

func (*MsgCreateObject) Descriptor

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

func (*MsgCreateObject) GetApprovalBytes added in v0.0.6

func (msg *MsgCreateObject) GetApprovalBytes() []byte

GetApprovalBytes returns the message bytes of approval info.

func (*MsgCreateObject) GetBucketName

func (m *MsgCreateObject) GetBucketName() string

func (*MsgCreateObject) GetContentType

func (m *MsgCreateObject) GetContentType() string

func (*MsgCreateObject) GetCreator

func (m *MsgCreateObject) GetCreator() string

func (*MsgCreateObject) GetExpectChecksums

func (m *MsgCreateObject) GetExpectChecksums() [][]byte

func (*MsgCreateObject) GetExpectSecondarySpAddresses

func (m *MsgCreateObject) GetExpectSecondarySpAddresses() []string

func (*MsgCreateObject) GetObjectName

func (m *MsgCreateObject) GetObjectName() string

func (*MsgCreateObject) GetPayloadSize

func (m *MsgCreateObject) GetPayloadSize() uint64

func (*MsgCreateObject) GetPrimarySpApproval added in v0.0.6

func (m *MsgCreateObject) GetPrimarySpApproval() *Approval

func (*MsgCreateObject) GetRedundancyType added in v0.0.7

func (m *MsgCreateObject) GetRedundancyType() RedundancyType

func (*MsgCreateObject) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgCreateObject) GetSigners

func (msg *MsgCreateObject) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgCreateObject) GetVisibility added in v0.0.10

func (m *MsgCreateObject) GetVisibility() VisibilityType

func (*MsgCreateObject) Marshal

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

func (*MsgCreateObject) MarshalTo

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

func (*MsgCreateObject) MarshalToSizedBuffer

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

func (*MsgCreateObject) ProtoMessage

func (*MsgCreateObject) ProtoMessage()

func (*MsgCreateObject) Reset

func (m *MsgCreateObject) Reset()

func (*MsgCreateObject) Route

func (msg *MsgCreateObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgCreateObject) Size

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

func (*MsgCreateObject) String

func (m *MsgCreateObject) String() string

func (*MsgCreateObject) Type

func (msg *MsgCreateObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgCreateObject) Unmarshal

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

func (*MsgCreateObject) ValidateBasic

func (msg *MsgCreateObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgCreateObject) XXX_DiscardUnknown

func (m *MsgCreateObject) XXX_DiscardUnknown()

func (*MsgCreateObject) XXX_Marshal

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

func (*MsgCreateObject) XXX_Merge

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

func (*MsgCreateObject) XXX_Size

func (m *MsgCreateObject) XXX_Size() int

func (*MsgCreateObject) XXX_Unmarshal

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

type MsgCreateObjectResponse

type MsgCreateObjectResponse struct {
	ObjectId Uint `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}

func (*MsgCreateObjectResponse) Descriptor

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

func (*MsgCreateObjectResponse) Marshal

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

func (*MsgCreateObjectResponse) MarshalTo

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

func (*MsgCreateObjectResponse) MarshalToSizedBuffer

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

func (*MsgCreateObjectResponse) ProtoMessage

func (*MsgCreateObjectResponse) ProtoMessage()

func (*MsgCreateObjectResponse) Reset

func (m *MsgCreateObjectResponse) Reset()

func (*MsgCreateObjectResponse) Size

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

func (*MsgCreateObjectResponse) String

func (m *MsgCreateObjectResponse) String() string

func (*MsgCreateObjectResponse) Unmarshal

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

func (*MsgCreateObjectResponse) XXX_DiscardUnknown

func (m *MsgCreateObjectResponse) XXX_DiscardUnknown()

func (*MsgCreateObjectResponse) XXX_Marshal

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

func (*MsgCreateObjectResponse) XXX_Merge

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

func (*MsgCreateObjectResponse) XXX_Size

func (m *MsgCreateObjectResponse) XXX_Size() int

func (*MsgCreateObjectResponse) XXX_Unmarshal

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

type MsgDeleteBucket

type MsgDeleteBucket struct {
	// creator defines the account address of the grantee who has the DeleteBucket permission of the bucket to be deleted.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket to be deleted.
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func NewMsgDeleteBucket

func NewMsgDeleteBucket(operator sdk.AccAddress, bucketName string) *MsgDeleteBucket

NewMsgDeleteBucket creates a new MsgDeleteBucket instance

func (*MsgDeleteBucket) Descriptor

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

func (*MsgDeleteBucket) GetBucketName

func (m *MsgDeleteBucket) GetBucketName() string

func (*MsgDeleteBucket) GetOperator

func (m *MsgDeleteBucket) GetOperator() string

func (*MsgDeleteBucket) GetSignBytes

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

GetSignBytes implements the sdk.Msg interface.

func (*MsgDeleteBucket) GetSigners

func (msg *MsgDeleteBucket) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgDeleteBucket) Marshal

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

func (*MsgDeleteBucket) MarshalTo

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

func (*MsgDeleteBucket) MarshalToSizedBuffer

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

func (*MsgDeleteBucket) ProtoMessage

func (*MsgDeleteBucket) ProtoMessage()

func (*MsgDeleteBucket) Reset

func (m *MsgDeleteBucket) Reset()

func (*MsgDeleteBucket) Route

func (msg *MsgDeleteBucket) Route() string

Route implements the sdk.Msg interface.

func (*MsgDeleteBucket) Size

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

func (*MsgDeleteBucket) String

func (m *MsgDeleteBucket) String() string

func (*MsgDeleteBucket) Type

func (msg *MsgDeleteBucket) Type() string

Type implements the sdk.Msg interface.

func (*MsgDeleteBucket) Unmarshal

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

func (*MsgDeleteBucket) ValidateBasic

func (msg *MsgDeleteBucket) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgDeleteBucket) XXX_DiscardUnknown

func (m *MsgDeleteBucket) XXX_DiscardUnknown()

func (*MsgDeleteBucket) XXX_Marshal

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

func (*MsgDeleteBucket) XXX_Merge

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

func (*MsgDeleteBucket) XXX_Size

func (m *MsgDeleteBucket) XXX_Size() int

func (*MsgDeleteBucket) XXX_Unmarshal

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

type MsgDeleteBucketResponse

type MsgDeleteBucketResponse struct {
}

func (*MsgDeleteBucketResponse) Descriptor

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

func (*MsgDeleteBucketResponse) Marshal

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

func (*MsgDeleteBucketResponse) MarshalTo

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

func (*MsgDeleteBucketResponse) MarshalToSizedBuffer

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

func (*MsgDeleteBucketResponse) ProtoMessage

func (*MsgDeleteBucketResponse) ProtoMessage()

func (*MsgDeleteBucketResponse) Reset

func (m *MsgDeleteBucketResponse) Reset()

func (*MsgDeleteBucketResponse) Size

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

func (*MsgDeleteBucketResponse) String

func (m *MsgDeleteBucketResponse) String() string

func (*MsgDeleteBucketResponse) Unmarshal

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

func (*MsgDeleteBucketResponse) XXX_DiscardUnknown

func (m *MsgDeleteBucketResponse) XXX_DiscardUnknown()

func (*MsgDeleteBucketResponse) XXX_Marshal

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

func (*MsgDeleteBucketResponse) XXX_Merge

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

func (*MsgDeleteBucketResponse) XXX_Size

func (m *MsgDeleteBucketResponse) XXX_Size() int

func (*MsgDeleteBucketResponse) XXX_Unmarshal

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

type MsgDeleteGroup

type MsgDeleteGroup struct {
	// operator defines the account address of the operator who has the DeleteGroup permission of the group to be deleted.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// group_name defines the name of the group which to be deleted
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func NewMsgDeleteGroup

func NewMsgDeleteGroup(operator sdk.AccAddress, groupName string) *MsgDeleteGroup

func (*MsgDeleteGroup) Descriptor

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

func (*MsgDeleteGroup) GetGroupName

func (m *MsgDeleteGroup) GetGroupName() string

func (*MsgDeleteGroup) GetOperator

func (m *MsgDeleteGroup) GetOperator() string

func (*MsgDeleteGroup) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgDeleteGroup) GetSigners

func (msg *MsgDeleteGroup) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgDeleteGroup) Marshal

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

func (*MsgDeleteGroup) MarshalTo

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

func (*MsgDeleteGroup) MarshalToSizedBuffer

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

func (*MsgDeleteGroup) ProtoMessage

func (*MsgDeleteGroup) ProtoMessage()

func (*MsgDeleteGroup) Reset

func (m *MsgDeleteGroup) Reset()

func (*MsgDeleteGroup) Route

func (msg *MsgDeleteGroup) Route() string

Route implements the sdk.Msg interface.

func (*MsgDeleteGroup) Size

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

func (*MsgDeleteGroup) String

func (m *MsgDeleteGroup) String() string

func (*MsgDeleteGroup) Type

func (msg *MsgDeleteGroup) Type() string

Type implements the sdk.Msg interface.

func (*MsgDeleteGroup) Unmarshal

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

func (*MsgDeleteGroup) ValidateBasic

func (msg *MsgDeleteGroup) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgDeleteGroup) XXX_DiscardUnknown

func (m *MsgDeleteGroup) XXX_DiscardUnknown()

func (*MsgDeleteGroup) XXX_Marshal

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

func (*MsgDeleteGroup) XXX_Merge

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

func (*MsgDeleteGroup) XXX_Size

func (m *MsgDeleteGroup) XXX_Size() int

func (*MsgDeleteGroup) XXX_Unmarshal

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

type MsgDeleteGroupResponse

type MsgDeleteGroupResponse struct {
}

func (*MsgDeleteGroupResponse) Descriptor

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

func (*MsgDeleteGroupResponse) Marshal

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

func (*MsgDeleteGroupResponse) MarshalTo

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

func (*MsgDeleteGroupResponse) MarshalToSizedBuffer

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

func (*MsgDeleteGroupResponse) ProtoMessage

func (*MsgDeleteGroupResponse) ProtoMessage()

func (*MsgDeleteGroupResponse) Reset

func (m *MsgDeleteGroupResponse) Reset()

func (*MsgDeleteGroupResponse) Size

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

func (*MsgDeleteGroupResponse) String

func (m *MsgDeleteGroupResponse) String() string

func (*MsgDeleteGroupResponse) Unmarshal

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

func (*MsgDeleteGroupResponse) XXX_DiscardUnknown

func (m *MsgDeleteGroupResponse) XXX_DiscardUnknown()

func (*MsgDeleteGroupResponse) XXX_Marshal

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

func (*MsgDeleteGroupResponse) XXX_Merge

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

func (*MsgDeleteGroupResponse) XXX_Size

func (m *MsgDeleteGroupResponse) XXX_Size() int

func (*MsgDeleteGroupResponse) XXX_Unmarshal

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

type MsgDeleteObject

type MsgDeleteObject struct {
	// operator defines the account address of the operator who has the DeleteObject permission of the object to be deleted.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket where the object which to be deleted is stored.
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name defines the name of the object which to be deleted.
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
}

func NewMsgDeleteObject

func NewMsgDeleteObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgDeleteObject

func (*MsgDeleteObject) Descriptor

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

func (*MsgDeleteObject) GetBucketName

func (m *MsgDeleteObject) GetBucketName() string

func (*MsgDeleteObject) GetObjectName

func (m *MsgDeleteObject) GetObjectName() string

func (*MsgDeleteObject) GetOperator

func (m *MsgDeleteObject) GetOperator() string

func (*MsgDeleteObject) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgDeleteObject) GetSigners

func (msg *MsgDeleteObject) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgDeleteObject) Marshal

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

func (*MsgDeleteObject) MarshalTo

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

func (*MsgDeleteObject) MarshalToSizedBuffer

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

func (*MsgDeleteObject) ProtoMessage

func (*MsgDeleteObject) ProtoMessage()

func (*MsgDeleteObject) Reset

func (m *MsgDeleteObject) Reset()

func (*MsgDeleteObject) Route

func (msg *MsgDeleteObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgDeleteObject) Size

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

func (*MsgDeleteObject) String

func (m *MsgDeleteObject) String() string

func (*MsgDeleteObject) Type

func (msg *MsgDeleteObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgDeleteObject) Unmarshal

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

func (*MsgDeleteObject) ValidateBasic

func (msg *MsgDeleteObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgDeleteObject) XXX_DiscardUnknown

func (m *MsgDeleteObject) XXX_DiscardUnknown()

func (*MsgDeleteObject) XXX_Marshal

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

func (*MsgDeleteObject) XXX_Merge

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

func (*MsgDeleteObject) XXX_Size

func (m *MsgDeleteObject) XXX_Size() int

func (*MsgDeleteObject) XXX_Unmarshal

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

type MsgDeleteObjectResponse

type MsgDeleteObjectResponse struct {
}

func (*MsgDeleteObjectResponse) Descriptor

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

func (*MsgDeleteObjectResponse) Marshal

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

func (*MsgDeleteObjectResponse) MarshalTo

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

func (*MsgDeleteObjectResponse) MarshalToSizedBuffer

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

func (*MsgDeleteObjectResponse) ProtoMessage

func (*MsgDeleteObjectResponse) ProtoMessage()

func (*MsgDeleteObjectResponse) Reset

func (m *MsgDeleteObjectResponse) Reset()

func (*MsgDeleteObjectResponse) Size

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

func (*MsgDeleteObjectResponse) String

func (m *MsgDeleteObjectResponse) String() string

func (*MsgDeleteObjectResponse) Unmarshal

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

func (*MsgDeleteObjectResponse) XXX_DiscardUnknown

func (m *MsgDeleteObjectResponse) XXX_DiscardUnknown()

func (*MsgDeleteObjectResponse) XXX_Marshal

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

func (*MsgDeleteObjectResponse) XXX_Merge

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

func (*MsgDeleteObjectResponse) XXX_Size

func (m *MsgDeleteObjectResponse) XXX_Size() int

func (*MsgDeleteObjectResponse) XXX_Unmarshal

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

type MsgDeletePolicy added in v0.0.7

type MsgDeletePolicy struct {
	// operator defines the granter who grant the permission to another principal
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// Principal defines the roles that can grant permissions. Currently, it can be account or group.
	Principal *types.Principal `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	// resource defines a greenfield standard resource name that can be generated by GRN structure
	Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
}

func NewMsgDeletePolicy added in v0.0.7

func NewMsgDeletePolicy(operator sdk.AccAddress, resource string, principal *permtypes.Principal) *MsgDeletePolicy

func (*MsgDeletePolicy) Descriptor added in v0.0.7

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

func (*MsgDeletePolicy) GetOperator added in v0.0.7

func (m *MsgDeletePolicy) GetOperator() string

func (*MsgDeletePolicy) GetPrincipal added in v0.0.7

func (m *MsgDeletePolicy) GetPrincipal() *types.Principal

func (*MsgDeletePolicy) GetResource added in v0.0.7

func (m *MsgDeletePolicy) GetResource() string

func (*MsgDeletePolicy) GetSignBytes added in v0.0.7

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

func (*MsgDeletePolicy) GetSigners added in v0.0.7

func (msg *MsgDeletePolicy) GetSigners() []sdk.AccAddress

func (*MsgDeletePolicy) Marshal added in v0.0.7

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

func (*MsgDeletePolicy) MarshalTo added in v0.0.7

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

func (*MsgDeletePolicy) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgDeletePolicy) ProtoMessage added in v0.0.7

func (*MsgDeletePolicy) ProtoMessage()

func (*MsgDeletePolicy) Reset added in v0.0.7

func (m *MsgDeletePolicy) Reset()

func (*MsgDeletePolicy) Route added in v0.0.7

func (msg *MsgDeletePolicy) Route() string

func (*MsgDeletePolicy) Size added in v0.0.7

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

func (*MsgDeletePolicy) String added in v0.0.7

func (m *MsgDeletePolicy) String() string

func (*MsgDeletePolicy) Type added in v0.0.7

func (msg *MsgDeletePolicy) Type() string

func (*MsgDeletePolicy) Unmarshal added in v0.0.7

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

func (*MsgDeletePolicy) ValidateBasic added in v0.0.7

func (msg *MsgDeletePolicy) ValidateBasic() error

func (*MsgDeletePolicy) XXX_DiscardUnknown added in v0.0.7

func (m *MsgDeletePolicy) XXX_DiscardUnknown()

func (*MsgDeletePolicy) XXX_Marshal added in v0.0.7

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

func (*MsgDeletePolicy) XXX_Merge added in v0.0.7

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

func (*MsgDeletePolicy) XXX_Size added in v0.0.7

func (m *MsgDeletePolicy) XXX_Size() int

func (*MsgDeletePolicy) XXX_Unmarshal added in v0.0.7

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

type MsgDeletePolicyResponse added in v0.0.7

type MsgDeletePolicyResponse struct {
	PolicyId Uint `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3,customtype=Uint" json:"policy_id"`
}

func (*MsgDeletePolicyResponse) Descriptor added in v0.0.7

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

func (*MsgDeletePolicyResponse) Marshal added in v0.0.7

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

func (*MsgDeletePolicyResponse) MarshalTo added in v0.0.7

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

func (*MsgDeletePolicyResponse) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgDeletePolicyResponse) ProtoMessage added in v0.0.7

func (*MsgDeletePolicyResponse) ProtoMessage()

func (*MsgDeletePolicyResponse) Reset added in v0.0.7

func (m *MsgDeletePolicyResponse) Reset()

func (*MsgDeletePolicyResponse) Size added in v0.0.7

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

func (*MsgDeletePolicyResponse) String added in v0.0.7

func (m *MsgDeletePolicyResponse) String() string

func (*MsgDeletePolicyResponse) Unmarshal added in v0.0.7

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

func (*MsgDeletePolicyResponse) XXX_DiscardUnknown added in v0.0.7

func (m *MsgDeletePolicyResponse) XXX_DiscardUnknown()

func (*MsgDeletePolicyResponse) XXX_Marshal added in v0.0.7

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

func (*MsgDeletePolicyResponse) XXX_Merge added in v0.0.7

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

func (*MsgDeletePolicyResponse) XXX_Size added in v0.0.7

func (m *MsgDeletePolicyResponse) XXX_Size() int

func (*MsgDeletePolicyResponse) XXX_Unmarshal added in v0.0.7

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

type MsgDiscontinueBucket added in v0.1.2

type MsgDiscontinueBucket struct {
	// operator is the sp who wants to stop serving the bucket.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket where the object which to be discontinued is stored.
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// the reason for the request.
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
}

func NewMsgDiscontinueBucket added in v0.1.2

func NewMsgDiscontinueBucket(operator sdk.AccAddress, bucketName string, reason string) *MsgDiscontinueBucket

func (*MsgDiscontinueBucket) Descriptor added in v0.1.2

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

func (*MsgDiscontinueBucket) GetBucketName added in v0.1.2

func (m *MsgDiscontinueBucket) GetBucketName() string

func (*MsgDiscontinueBucket) GetOperator added in v0.1.2

func (m *MsgDiscontinueBucket) GetOperator() string

func (*MsgDiscontinueBucket) GetReason added in v0.1.2

func (m *MsgDiscontinueBucket) GetReason() string

func (*MsgDiscontinueBucket) GetSignBytes added in v0.1.2

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

GetSignBytes returns the message bytes to sign over.

func (*MsgDiscontinueBucket) GetSigners added in v0.1.2

func (msg *MsgDiscontinueBucket) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgDiscontinueBucket) Marshal added in v0.1.2

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

func (*MsgDiscontinueBucket) MarshalTo added in v0.1.2

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

func (*MsgDiscontinueBucket) MarshalToSizedBuffer added in v0.1.2

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

func (*MsgDiscontinueBucket) ProtoMessage added in v0.1.2

func (*MsgDiscontinueBucket) ProtoMessage()

func (*MsgDiscontinueBucket) Reset added in v0.1.2

func (m *MsgDiscontinueBucket) Reset()

func (*MsgDiscontinueBucket) Route added in v0.1.2

func (msg *MsgDiscontinueBucket) Route() string

Route implements the sdk.Msg interface.

func (*MsgDiscontinueBucket) Size added in v0.1.2

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

func (*MsgDiscontinueBucket) String added in v0.1.2

func (m *MsgDiscontinueBucket) String() string

func (*MsgDiscontinueBucket) Type added in v0.1.2

func (msg *MsgDiscontinueBucket) Type() string

Type implements the sdk.Msg interface.

func (*MsgDiscontinueBucket) Unmarshal added in v0.1.2

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

func (*MsgDiscontinueBucket) ValidateBasic added in v0.1.2

func (msg *MsgDiscontinueBucket) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgDiscontinueBucket) XXX_DiscardUnknown added in v0.1.2

func (m *MsgDiscontinueBucket) XXX_DiscardUnknown()

func (*MsgDiscontinueBucket) XXX_Marshal added in v0.1.2

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

func (*MsgDiscontinueBucket) XXX_Merge added in v0.1.2

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

func (*MsgDiscontinueBucket) XXX_Size added in v0.1.2

func (m *MsgDiscontinueBucket) XXX_Size() int

func (*MsgDiscontinueBucket) XXX_Unmarshal added in v0.1.2

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

type MsgDiscontinueBucketResponse added in v0.1.2

type MsgDiscontinueBucketResponse struct {
}

func (*MsgDiscontinueBucketResponse) Descriptor added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) Marshal added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) MarshalTo added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) MarshalToSizedBuffer added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) ProtoMessage added in v0.1.2

func (*MsgDiscontinueBucketResponse) ProtoMessage()

func (*MsgDiscontinueBucketResponse) Reset added in v0.1.2

func (m *MsgDiscontinueBucketResponse) Reset()

func (*MsgDiscontinueBucketResponse) Size added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) String added in v0.1.2

func (*MsgDiscontinueBucketResponse) Unmarshal added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) XXX_DiscardUnknown added in v0.1.2

func (m *MsgDiscontinueBucketResponse) XXX_DiscardUnknown()

func (*MsgDiscontinueBucketResponse) XXX_Marshal added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) XXX_Merge added in v0.1.2

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

func (*MsgDiscontinueBucketResponse) XXX_Size added in v0.1.2

func (m *MsgDiscontinueBucketResponse) XXX_Size() int

func (*MsgDiscontinueBucketResponse) XXX_Unmarshal added in v0.1.2

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

type MsgDiscontinueObject added in v0.1.2

type MsgDiscontinueObject struct {
	// operator is the sp who wants to stop serving the objects.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket where the object which to be discontinued is stored.
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_ids are the ids of object info.
	ObjectIds []Uint `protobuf:"bytes,3,rep,name=object_ids,json=objectIds,proto3,customtype=Uint" json:"object_ids"`
	// the reason for the request.
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
}

func NewMsgDiscontinueObject added in v0.1.2

func NewMsgDiscontinueObject(operator sdk.AccAddress, bucketName string, objectIds []Uint, reason string) *MsgDiscontinueObject

func (*MsgDiscontinueObject) Descriptor added in v0.1.2

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

func (*MsgDiscontinueObject) GetBucketName added in v0.1.2

func (m *MsgDiscontinueObject) GetBucketName() string

func (*MsgDiscontinueObject) GetOperator added in v0.1.2

func (m *MsgDiscontinueObject) GetOperator() string

func (*MsgDiscontinueObject) GetReason added in v0.1.2

func (m *MsgDiscontinueObject) GetReason() string

func (*MsgDiscontinueObject) GetSignBytes added in v0.1.2

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

GetSignBytes returns the message bytes to sign over.

func (*MsgDiscontinueObject) GetSigners added in v0.1.2

func (msg *MsgDiscontinueObject) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgDiscontinueObject) Marshal added in v0.1.2

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

func (*MsgDiscontinueObject) MarshalTo added in v0.1.2

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

func (*MsgDiscontinueObject) MarshalToSizedBuffer added in v0.1.2

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

func (*MsgDiscontinueObject) ProtoMessage added in v0.1.2

func (*MsgDiscontinueObject) ProtoMessage()

func (*MsgDiscontinueObject) Reset added in v0.1.2

func (m *MsgDiscontinueObject) Reset()

func (*MsgDiscontinueObject) Route added in v0.1.2

func (msg *MsgDiscontinueObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgDiscontinueObject) Size added in v0.1.2

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

func (*MsgDiscontinueObject) String added in v0.1.2

func (m *MsgDiscontinueObject) String() string

func (*MsgDiscontinueObject) Type added in v0.1.2

func (msg *MsgDiscontinueObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgDiscontinueObject) Unmarshal added in v0.1.2

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

func (*MsgDiscontinueObject) ValidateBasic added in v0.1.2

func (msg *MsgDiscontinueObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgDiscontinueObject) XXX_DiscardUnknown added in v0.1.2

func (m *MsgDiscontinueObject) XXX_DiscardUnknown()

func (*MsgDiscontinueObject) XXX_Marshal added in v0.1.2

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

func (*MsgDiscontinueObject) XXX_Merge added in v0.1.2

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

func (*MsgDiscontinueObject) XXX_Size added in v0.1.2

func (m *MsgDiscontinueObject) XXX_Size() int

func (*MsgDiscontinueObject) XXX_Unmarshal added in v0.1.2

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

type MsgDiscontinueObjectResponse added in v0.1.2

type MsgDiscontinueObjectResponse struct {
}

func (*MsgDiscontinueObjectResponse) Descriptor added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) Marshal added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) MarshalTo added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) MarshalToSizedBuffer added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) ProtoMessage added in v0.1.2

func (*MsgDiscontinueObjectResponse) ProtoMessage()

func (*MsgDiscontinueObjectResponse) Reset added in v0.1.2

func (m *MsgDiscontinueObjectResponse) Reset()

func (*MsgDiscontinueObjectResponse) Size added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) String added in v0.1.2

func (*MsgDiscontinueObjectResponse) Unmarshal added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) XXX_DiscardUnknown added in v0.1.2

func (m *MsgDiscontinueObjectResponse) XXX_DiscardUnknown()

func (*MsgDiscontinueObjectResponse) XXX_Marshal added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) XXX_Merge added in v0.1.2

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

func (*MsgDiscontinueObjectResponse) XXX_Size added in v0.1.2

func (m *MsgDiscontinueObjectResponse) XXX_Size() int

func (*MsgDiscontinueObjectResponse) XXX_Unmarshal added in v0.1.2

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

type MsgLeaveGroup

type MsgLeaveGroup struct {
	// member defines the account address of the member who want to leave the group
	Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// group_owner defines the owner of the group you want to leave
	GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"`
	// group_name defines the name of the group you want to leave
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func NewMsgLeaveGroup

func NewMsgLeaveGroup(member sdk.AccAddress, groupOwner sdk.AccAddress, groupName string) *MsgLeaveGroup

func (*MsgLeaveGroup) Descriptor

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

func (*MsgLeaveGroup) GetGroupName

func (m *MsgLeaveGroup) GetGroupName() string

func (*MsgLeaveGroup) GetGroupOwner

func (m *MsgLeaveGroup) GetGroupOwner() string

func (*MsgLeaveGroup) GetMember

func (m *MsgLeaveGroup) GetMember() string

func (*MsgLeaveGroup) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgLeaveGroup) GetSigners

func (msg *MsgLeaveGroup) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgLeaveGroup) Marshal

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

func (*MsgLeaveGroup) MarshalTo

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

func (*MsgLeaveGroup) MarshalToSizedBuffer

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

func (*MsgLeaveGroup) ProtoMessage

func (*MsgLeaveGroup) ProtoMessage()

func (*MsgLeaveGroup) Reset

func (m *MsgLeaveGroup) Reset()

func (*MsgLeaveGroup) Route

func (msg *MsgLeaveGroup) Route() string

Route implements the sdk.Msg interface.

func (*MsgLeaveGroup) Size

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

func (*MsgLeaveGroup) String

func (m *MsgLeaveGroup) String() string

func (*MsgLeaveGroup) Type

func (msg *MsgLeaveGroup) Type() string

Type implements the sdk.Msg interface.

func (*MsgLeaveGroup) Unmarshal

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

func (*MsgLeaveGroup) ValidateBasic

func (msg *MsgLeaveGroup) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgLeaveGroup) XXX_DiscardUnknown

func (m *MsgLeaveGroup) XXX_DiscardUnknown()

func (*MsgLeaveGroup) XXX_Marshal

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

func (*MsgLeaveGroup) XXX_Merge

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

func (*MsgLeaveGroup) XXX_Size

func (m *MsgLeaveGroup) XXX_Size() int

func (*MsgLeaveGroup) XXX_Unmarshal

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

type MsgLeaveGroupResponse

type MsgLeaveGroupResponse struct {
}

func (*MsgLeaveGroupResponse) Descriptor

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

func (*MsgLeaveGroupResponse) Marshal

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

func (*MsgLeaveGroupResponse) MarshalTo

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

func (*MsgLeaveGroupResponse) MarshalToSizedBuffer

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

func (*MsgLeaveGroupResponse) ProtoMessage

func (*MsgLeaveGroupResponse) ProtoMessage()

func (*MsgLeaveGroupResponse) Reset

func (m *MsgLeaveGroupResponse) Reset()

func (*MsgLeaveGroupResponse) Size

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

func (*MsgLeaveGroupResponse) String

func (m *MsgLeaveGroupResponse) String() string

func (*MsgLeaveGroupResponse) Unmarshal

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

func (*MsgLeaveGroupResponse) XXX_DiscardUnknown

func (m *MsgLeaveGroupResponse) XXX_DiscardUnknown()

func (*MsgLeaveGroupResponse) XXX_Marshal

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

func (*MsgLeaveGroupResponse) XXX_Merge

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

func (*MsgLeaveGroupResponse) XXX_Size

func (m *MsgLeaveGroupResponse) XXX_Size() int

func (*MsgLeaveGroupResponse) XXX_Unmarshal

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

type MsgMirrorBucket added in v0.0.9

type MsgMirrorBucket struct {
	// creator defines the account address of the grantee who has the DeleteBucket permission of the bucket to be deleted.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// id defines the unique u256 for bucket.
	Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"`
	// bucket_name defines a globally unique name of bucket
	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func NewMsgMirrorBucket added in v0.0.9

func NewMsgMirrorBucket(operator sdk.AccAddress, id Uint, bucketName string) *MsgMirrorBucket

NewMsgMirrorBucket creates a new MsgMirrorBucket instance

func (*MsgMirrorBucket) Descriptor added in v0.0.9

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

func (*MsgMirrorBucket) GetBucketName added in v0.2.2

func (m *MsgMirrorBucket) GetBucketName() string

func (*MsgMirrorBucket) GetOperator added in v0.0.9

func (m *MsgMirrorBucket) GetOperator() string

func (*MsgMirrorBucket) GetSignBytes added in v0.0.9

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

GetSignBytes implements the sdk.Msg interface.

func (*MsgMirrorBucket) GetSigners added in v0.0.9

func (msg *MsgMirrorBucket) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgMirrorBucket) Marshal added in v0.0.9

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

func (*MsgMirrorBucket) MarshalTo added in v0.0.9

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

func (*MsgMirrorBucket) MarshalToSizedBuffer added in v0.0.9

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

func (*MsgMirrorBucket) ProtoMessage added in v0.0.9

func (*MsgMirrorBucket) ProtoMessage()

func (*MsgMirrorBucket) Reset added in v0.0.9

func (m *MsgMirrorBucket) Reset()

func (*MsgMirrorBucket) Route added in v0.0.9

func (msg *MsgMirrorBucket) Route() string

Route implements the sdk.Msg interface.

func (*MsgMirrorBucket) Size added in v0.0.9

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

func (*MsgMirrorBucket) String added in v0.0.9

func (m *MsgMirrorBucket) String() string

func (*MsgMirrorBucket) Type added in v0.0.9

func (msg *MsgMirrorBucket) Type() string

Type implements the sdk.Msg interface.

func (*MsgMirrorBucket) Unmarshal added in v0.0.9

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

func (*MsgMirrorBucket) ValidateBasic added in v0.0.9

func (msg *MsgMirrorBucket) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgMirrorBucket) XXX_DiscardUnknown added in v0.0.9

func (m *MsgMirrorBucket) XXX_DiscardUnknown()

func (*MsgMirrorBucket) XXX_Marshal added in v0.0.9

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

func (*MsgMirrorBucket) XXX_Merge added in v0.0.9

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

func (*MsgMirrorBucket) XXX_Size added in v0.0.9

func (m *MsgMirrorBucket) XXX_Size() int

func (*MsgMirrorBucket) XXX_Unmarshal added in v0.0.9

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

type MsgMirrorBucketResponse added in v0.0.9

type MsgMirrorBucketResponse struct {
}

func (*MsgMirrorBucketResponse) Descriptor added in v0.0.9

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

func (*MsgMirrorBucketResponse) Marshal added in v0.0.9

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

func (*MsgMirrorBucketResponse) MarshalTo added in v0.0.9

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

func (*MsgMirrorBucketResponse) MarshalToSizedBuffer added in v0.0.9

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

func (*MsgMirrorBucketResponse) ProtoMessage added in v0.0.9

func (*MsgMirrorBucketResponse) ProtoMessage()

func (*MsgMirrorBucketResponse) Reset added in v0.0.9

func (m *MsgMirrorBucketResponse) Reset()

func (*MsgMirrorBucketResponse) Size added in v0.0.9

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

func (*MsgMirrorBucketResponse) String added in v0.0.9

func (m *MsgMirrorBucketResponse) String() string

func (*MsgMirrorBucketResponse) Unmarshal added in v0.0.9

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

func (*MsgMirrorBucketResponse) XXX_DiscardUnknown added in v0.0.9

func (m *MsgMirrorBucketResponse) XXX_DiscardUnknown()

func (*MsgMirrorBucketResponse) XXX_Marshal added in v0.0.9

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

func (*MsgMirrorBucketResponse) XXX_Merge added in v0.0.9

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

func (*MsgMirrorBucketResponse) XXX_Size added in v0.0.9

func (m *MsgMirrorBucketResponse) XXX_Size() int

func (*MsgMirrorBucketResponse) XXX_Unmarshal added in v0.0.9

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

type MsgMirrorGroup added in v0.0.9

type MsgMirrorGroup struct {
	// operator defines the account address of the operator who is the owner of the group
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// id defines the unique u256 for group.
	Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"`
	// group_name defines the name of the group
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func NewMsgMirrorGroup added in v0.0.9

func NewMsgMirrorGroup(operator sdk.AccAddress, id Uint, groupName string) *MsgMirrorGroup

NewMsgMirrorGroup creates a new MsgMirrorGroup instance

func (*MsgMirrorGroup) Descriptor added in v0.0.9

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

func (*MsgMirrorGroup) GetGroupName added in v0.2.2

func (m *MsgMirrorGroup) GetGroupName() string

func (*MsgMirrorGroup) GetOperator added in v0.0.9

func (m *MsgMirrorGroup) GetOperator() string

func (*MsgMirrorGroup) GetSignBytes added in v0.0.9

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

GetSignBytes returns the message bytes to sign over.

func (*MsgMirrorGroup) GetSigners added in v0.0.9

func (msg *MsgMirrorGroup) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgMirrorGroup) Marshal added in v0.0.9

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

func (*MsgMirrorGroup) MarshalTo added in v0.0.9

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

func (*MsgMirrorGroup) MarshalToSizedBuffer added in v0.0.9

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

func (*MsgMirrorGroup) ProtoMessage added in v0.0.9

func (*MsgMirrorGroup) ProtoMessage()

func (*MsgMirrorGroup) Reset added in v0.0.9

func (m *MsgMirrorGroup) Reset()

func (*MsgMirrorGroup) Route added in v0.0.9

func (msg *MsgMirrorGroup) Route() string

Route implements the sdk.Msg interface.

func (*MsgMirrorGroup) Size added in v0.0.9

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

func (*MsgMirrorGroup) String added in v0.0.9

func (m *MsgMirrorGroup) String() string

func (*MsgMirrorGroup) Type added in v0.0.9

func (msg *MsgMirrorGroup) Type() string

Type implements the sdk.Msg interface.

func (*MsgMirrorGroup) Unmarshal added in v0.0.9

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

func (*MsgMirrorGroup) ValidateBasic added in v0.0.9

func (msg *MsgMirrorGroup) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgMirrorGroup) XXX_DiscardUnknown added in v0.0.9

func (m *MsgMirrorGroup) XXX_DiscardUnknown()

func (*MsgMirrorGroup) XXX_Marshal added in v0.0.9

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

func (*MsgMirrorGroup) XXX_Merge added in v0.0.9

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

func (*MsgMirrorGroup) XXX_Size added in v0.0.9

func (m *MsgMirrorGroup) XXX_Size() int

func (*MsgMirrorGroup) XXX_Unmarshal added in v0.0.9

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

type MsgMirrorGroupResponse added in v0.0.9

type MsgMirrorGroupResponse struct {
}

func (*MsgMirrorGroupResponse) Descriptor added in v0.0.9

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

func (*MsgMirrorGroupResponse) Marshal added in v0.0.9

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

func (*MsgMirrorGroupResponse) MarshalTo added in v0.0.9

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

func (*MsgMirrorGroupResponse) MarshalToSizedBuffer added in v0.0.9

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

func (*MsgMirrorGroupResponse) ProtoMessage added in v0.0.9

func (*MsgMirrorGroupResponse) ProtoMessage()

func (*MsgMirrorGroupResponse) Reset added in v0.0.9

func (m *MsgMirrorGroupResponse) Reset()

func (*MsgMirrorGroupResponse) Size added in v0.0.9

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

func (*MsgMirrorGroupResponse) String added in v0.0.9

func (m *MsgMirrorGroupResponse) String() string

func (*MsgMirrorGroupResponse) Unmarshal added in v0.0.9

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

func (*MsgMirrorGroupResponse) XXX_DiscardUnknown added in v0.0.9

func (m *MsgMirrorGroupResponse) XXX_DiscardUnknown()

func (*MsgMirrorGroupResponse) XXX_Marshal added in v0.0.9

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

func (*MsgMirrorGroupResponse) XXX_Merge added in v0.0.9

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

func (*MsgMirrorGroupResponse) XXX_Size added in v0.0.9

func (m *MsgMirrorGroupResponse) XXX_Size() int

func (*MsgMirrorGroupResponse) XXX_Unmarshal added in v0.0.9

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

type MsgMirrorObject added in v0.0.9

type MsgMirrorObject struct {
	// operator defines the account address of the operator who has the DeleteObject permission of the object to be deleted.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// id defines the unique u256 for object.
	Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"`
	// bucket_name defines the name of the bucket where the object is stored
	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name defines the name of object
	ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
}

func NewMsgMirrorObject added in v0.0.9

func NewMsgMirrorObject(operator sdk.AccAddress, id Uint, bucketName, objectName string) *MsgMirrorObject

NewMsgMirrorObject creates a new MsgMirrorObject instance

func (*MsgMirrorObject) Descriptor added in v0.0.9

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

func (*MsgMirrorObject) GetBucketName added in v0.2.2

func (m *MsgMirrorObject) GetBucketName() string

func (*MsgMirrorObject) GetObjectName added in v0.2.2

func (m *MsgMirrorObject) GetObjectName() string

func (*MsgMirrorObject) GetOperator added in v0.0.9

func (m *MsgMirrorObject) GetOperator() string

func (*MsgMirrorObject) GetSignBytes added in v0.0.9

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

GetSignBytes returns the message bytes to sign over.

func (*MsgMirrorObject) GetSigners added in v0.0.9

func (msg *MsgMirrorObject) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgMirrorObject) Marshal added in v0.0.9

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

func (*MsgMirrorObject) MarshalTo added in v0.0.9

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

func (*MsgMirrorObject) MarshalToSizedBuffer added in v0.0.9

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

func (*MsgMirrorObject) ProtoMessage added in v0.0.9

func (*MsgMirrorObject) ProtoMessage()

func (*MsgMirrorObject) Reset added in v0.0.9

func (m *MsgMirrorObject) Reset()

func (*MsgMirrorObject) Route added in v0.0.9

func (msg *MsgMirrorObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgMirrorObject) Size added in v0.0.9

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

func (*MsgMirrorObject) String added in v0.0.9

func (m *MsgMirrorObject) String() string

func (*MsgMirrorObject) Type added in v0.0.9

func (msg *MsgMirrorObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgMirrorObject) Unmarshal added in v0.0.9

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

func (*MsgMirrorObject) ValidateBasic added in v0.0.9

func (msg *MsgMirrorObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgMirrorObject) XXX_DiscardUnknown added in v0.0.9

func (m *MsgMirrorObject) XXX_DiscardUnknown()

func (*MsgMirrorObject) XXX_Marshal added in v0.0.9

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

func (*MsgMirrorObject) XXX_Merge added in v0.0.9

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

func (*MsgMirrorObject) XXX_Size added in v0.0.9

func (m *MsgMirrorObject) XXX_Size() int

func (*MsgMirrorObject) XXX_Unmarshal added in v0.0.9

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

type MsgMirrorObjectResponse added in v0.0.9

type MsgMirrorObjectResponse struct {
}

func (*MsgMirrorObjectResponse) Descriptor added in v0.0.9

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

func (*MsgMirrorObjectResponse) Marshal added in v0.0.9

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

func (*MsgMirrorObjectResponse) MarshalTo added in v0.0.9

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

func (*MsgMirrorObjectResponse) MarshalToSizedBuffer added in v0.0.9

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

func (*MsgMirrorObjectResponse) ProtoMessage added in v0.0.9

func (*MsgMirrorObjectResponse) ProtoMessage()

func (*MsgMirrorObjectResponse) Reset added in v0.0.9

func (m *MsgMirrorObjectResponse) Reset()

func (*MsgMirrorObjectResponse) Size added in v0.0.9

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

func (*MsgMirrorObjectResponse) String added in v0.0.9

func (m *MsgMirrorObjectResponse) String() string

func (*MsgMirrorObjectResponse) Unmarshal added in v0.0.9

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

func (*MsgMirrorObjectResponse) XXX_DiscardUnknown added in v0.0.9

func (m *MsgMirrorObjectResponse) XXX_DiscardUnknown()

func (*MsgMirrorObjectResponse) XXX_Marshal added in v0.0.9

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

func (*MsgMirrorObjectResponse) XXX_Merge added in v0.0.9

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

func (*MsgMirrorObjectResponse) XXX_Size added in v0.0.9

func (m *MsgMirrorObjectResponse) XXX_Size() int

func (*MsgMirrorObjectResponse) XXX_Unmarshal added in v0.0.9

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

type MsgPutPolicy added in v0.0.7

type MsgPutPolicy struct {
	// operator defines the granter who grant the permission to another principal
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// Principal defines the roles that can grant permissions. Currently, it can be account or group.
	Principal *types.Principal `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	// resource defines a greenfield standard resource name that can be generated by GRN structure
	Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// statements defines a list of individual statement which describe the detail rules of policy
	Statements []*types.Statement `protobuf:"bytes,4,rep,name=statements,proto3" json:"statements,omitempty"`
	// expiration_time defines the whole expiration time of all the statements.
	// Notices: Its priority is higher than the expiration time inside the Statement
	ExpirationTime *time.Time `protobuf:"bytes,7,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"`
}

func NewMsgPutPolicy added in v0.0.7

func NewMsgPutPolicy(operator sdk.AccAddress, resource string,
	principal *permtypes.Principal, statements []*permtypes.Statement, expirationTime *time.Time) *MsgPutPolicy

func (*MsgPutPolicy) Descriptor added in v0.0.7

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

func (*MsgPutPolicy) GetExpirationTime added in v0.0.10

func (m *MsgPutPolicy) GetExpirationTime() *time.Time

func (*MsgPutPolicy) GetOperator added in v0.0.7

func (m *MsgPutPolicy) GetOperator() string

func (*MsgPutPolicy) GetPrincipal added in v0.0.7

func (m *MsgPutPolicy) GetPrincipal() *types.Principal

func (*MsgPutPolicy) GetResource added in v0.0.7

func (m *MsgPutPolicy) GetResource() string

func (*MsgPutPolicy) GetSignBytes added in v0.0.7

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

func (*MsgPutPolicy) GetSigners added in v0.0.7

func (msg *MsgPutPolicy) GetSigners() []sdk.AccAddress

func (*MsgPutPolicy) GetStatements added in v0.0.7

func (m *MsgPutPolicy) GetStatements() []*types.Statement

func (*MsgPutPolicy) Marshal added in v0.0.7

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

func (*MsgPutPolicy) MarshalTo added in v0.0.7

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

func (*MsgPutPolicy) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgPutPolicy) ProtoMessage added in v0.0.7

func (*MsgPutPolicy) ProtoMessage()

func (*MsgPutPolicy) Reset added in v0.0.7

func (m *MsgPutPolicy) Reset()

func (*MsgPutPolicy) Route added in v0.0.7

func (msg *MsgPutPolicy) Route() string

func (*MsgPutPolicy) Size added in v0.0.7

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

func (*MsgPutPolicy) String added in v0.0.7

func (m *MsgPutPolicy) String() string

func (*MsgPutPolicy) Type added in v0.0.7

func (msg *MsgPutPolicy) Type() string

func (*MsgPutPolicy) Unmarshal added in v0.0.7

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

func (*MsgPutPolicy) ValidateBasic added in v0.0.7

func (msg *MsgPutPolicy) ValidateBasic() error

func (*MsgPutPolicy) XXX_DiscardUnknown added in v0.0.7

func (m *MsgPutPolicy) XXX_DiscardUnknown()

func (*MsgPutPolicy) XXX_Marshal added in v0.0.7

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

func (*MsgPutPolicy) XXX_Merge added in v0.0.7

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

func (*MsgPutPolicy) XXX_Size added in v0.0.7

func (m *MsgPutPolicy) XXX_Size() int

func (*MsgPutPolicy) XXX_Unmarshal added in v0.0.7

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

type MsgPutPolicyResponse added in v0.0.7

type MsgPutPolicyResponse struct {
	PolicyId Uint `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3,customtype=Uint" json:"policy_id"`
}

func (*MsgPutPolicyResponse) Descriptor added in v0.0.7

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

func (*MsgPutPolicyResponse) Marshal added in v0.0.7

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

func (*MsgPutPolicyResponse) MarshalTo added in v0.0.7

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

func (*MsgPutPolicyResponse) MarshalToSizedBuffer added in v0.0.7

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

func (*MsgPutPolicyResponse) ProtoMessage added in v0.0.7

func (*MsgPutPolicyResponse) ProtoMessage()

func (*MsgPutPolicyResponse) Reset added in v0.0.7

func (m *MsgPutPolicyResponse) Reset()

func (*MsgPutPolicyResponse) Size added in v0.0.7

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

func (*MsgPutPolicyResponse) String added in v0.0.7

func (m *MsgPutPolicyResponse) String() string

func (*MsgPutPolicyResponse) Unmarshal added in v0.0.7

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

func (*MsgPutPolicyResponse) XXX_DiscardUnknown added in v0.0.7

func (m *MsgPutPolicyResponse) XXX_DiscardUnknown()

func (*MsgPutPolicyResponse) XXX_Marshal added in v0.0.7

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

func (*MsgPutPolicyResponse) XXX_Merge added in v0.0.7

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

func (*MsgPutPolicyResponse) XXX_Size added in v0.0.7

func (m *MsgPutPolicyResponse) XXX_Size() int

func (*MsgPutPolicyResponse) XXX_Unmarshal added in v0.0.7

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

type MsgRejectSealObject

type MsgRejectSealObject struct {
	// operator defines the account address of the object owner
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket where the object is stored.
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name defines the name of unsealed object to be reject.
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
}

func NewMsgRejectUnsealedObject

func NewMsgRejectUnsealedObject(operator sdk.AccAddress, bucketName string, objectName string) *MsgRejectSealObject

func (*MsgRejectSealObject) Descriptor

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

func (*MsgRejectSealObject) GetBucketName

func (m *MsgRejectSealObject) GetBucketName() string

func (*MsgRejectSealObject) GetObjectName

func (m *MsgRejectSealObject) GetObjectName() string

func (*MsgRejectSealObject) GetOperator

func (m *MsgRejectSealObject) GetOperator() string

func (*MsgRejectSealObject) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgRejectSealObject) GetSigners

func (msg *MsgRejectSealObject) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgRejectSealObject) Marshal

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

func (*MsgRejectSealObject) MarshalTo

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

func (*MsgRejectSealObject) MarshalToSizedBuffer

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

func (*MsgRejectSealObject) ProtoMessage

func (*MsgRejectSealObject) ProtoMessage()

func (*MsgRejectSealObject) Reset

func (m *MsgRejectSealObject) Reset()

func (*MsgRejectSealObject) Route

func (msg *MsgRejectSealObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgRejectSealObject) Size

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

func (*MsgRejectSealObject) String

func (m *MsgRejectSealObject) String() string

func (*MsgRejectSealObject) Type

func (msg *MsgRejectSealObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgRejectSealObject) Unmarshal

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

func (*MsgRejectSealObject) ValidateBasic

func (msg *MsgRejectSealObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgRejectSealObject) XXX_DiscardUnknown

func (m *MsgRejectSealObject) XXX_DiscardUnknown()

func (*MsgRejectSealObject) XXX_Marshal

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

func (*MsgRejectSealObject) XXX_Merge

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

func (*MsgRejectSealObject) XXX_Size

func (m *MsgRejectSealObject) XXX_Size() int

func (*MsgRejectSealObject) XXX_Unmarshal

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

type MsgRejectSealObjectResponse

type MsgRejectSealObjectResponse struct {
}

func (*MsgRejectSealObjectResponse) Descriptor

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

func (*MsgRejectSealObjectResponse) Marshal

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

func (*MsgRejectSealObjectResponse) MarshalTo

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

func (*MsgRejectSealObjectResponse) MarshalToSizedBuffer

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

func (*MsgRejectSealObjectResponse) ProtoMessage

func (*MsgRejectSealObjectResponse) ProtoMessage()

func (*MsgRejectSealObjectResponse) Reset

func (m *MsgRejectSealObjectResponse) Reset()

func (*MsgRejectSealObjectResponse) Size

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

func (*MsgRejectSealObjectResponse) String

func (m *MsgRejectSealObjectResponse) String() string

func (*MsgRejectSealObjectResponse) Unmarshal

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

func (*MsgRejectSealObjectResponse) XXX_DiscardUnknown

func (m *MsgRejectSealObjectResponse) XXX_DiscardUnknown()

func (*MsgRejectSealObjectResponse) XXX_Marshal

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

func (*MsgRejectSealObjectResponse) XXX_Merge

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

func (*MsgRejectSealObjectResponse) XXX_Size

func (m *MsgRejectSealObjectResponse) XXX_Size() int

func (*MsgRejectSealObjectResponse) XXX_Unmarshal

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

type MsgSealObject

type MsgSealObject struct {
	// operator defines the account address of primary SP
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket where the object is stored.
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name defines the name of object to be sealed.
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// secondary_sp_addresses defines a list of storage provider which store the redundant data.
	SecondarySpAddresses []string `protobuf:"bytes,4,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"`
	// secondary_sp_signatures defines the signature of the secondary sp that can
	// acknowledge that the payload data has received and stored.
	SecondarySpSignatures [][]byte `` /* 126-byte string literal not displayed */
}

func NewMsgSealObject

func NewMsgSealObject(
	operator sdk.AccAddress, bucketName string, objectName string,
	secondarySPAccs []sdk.AccAddress, secondarySpSignatures [][]byte) *MsgSealObject

func (*MsgSealObject) Descriptor

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

func (*MsgSealObject) GetBucketName

func (m *MsgSealObject) GetBucketName() string

func (*MsgSealObject) GetObjectName

func (m *MsgSealObject) GetObjectName() string

func (*MsgSealObject) GetOperator

func (m *MsgSealObject) GetOperator() string

func (*MsgSealObject) GetSecondarySpAddresses

func (m *MsgSealObject) GetSecondarySpAddresses() []string

func (*MsgSealObject) GetSecondarySpSignatures

func (m *MsgSealObject) GetSecondarySpSignatures() [][]byte

func (*MsgSealObject) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgSealObject) GetSigners

func (msg *MsgSealObject) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgSealObject) Marshal

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

func (*MsgSealObject) MarshalTo

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

func (*MsgSealObject) MarshalToSizedBuffer

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

func (*MsgSealObject) ProtoMessage

func (*MsgSealObject) ProtoMessage()

func (*MsgSealObject) Reset

func (m *MsgSealObject) Reset()

func (*MsgSealObject) Route

func (msg *MsgSealObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgSealObject) Size

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

func (*MsgSealObject) String

func (m *MsgSealObject) String() string

func (*MsgSealObject) Type

func (msg *MsgSealObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgSealObject) Unmarshal

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

func (*MsgSealObject) ValidateBasic

func (msg *MsgSealObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgSealObject) XXX_DiscardUnknown

func (m *MsgSealObject) XXX_DiscardUnknown()

func (*MsgSealObject) XXX_Marshal

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

func (*MsgSealObject) XXX_Merge

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

func (*MsgSealObject) XXX_Size

func (m *MsgSealObject) XXX_Size() int

func (*MsgSealObject) XXX_Unmarshal

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

type MsgSealObjectResponse

type MsgSealObjectResponse struct {
}

func (*MsgSealObjectResponse) Descriptor

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

func (*MsgSealObjectResponse) Marshal

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

func (*MsgSealObjectResponse) MarshalTo

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

func (*MsgSealObjectResponse) MarshalToSizedBuffer

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

func (*MsgSealObjectResponse) ProtoMessage

func (*MsgSealObjectResponse) ProtoMessage()

func (*MsgSealObjectResponse) Reset

func (m *MsgSealObjectResponse) Reset()

func (*MsgSealObjectResponse) Size

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

func (*MsgSealObjectResponse) String

func (m *MsgSealObjectResponse) String() string

func (*MsgSealObjectResponse) Unmarshal

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

func (*MsgSealObjectResponse) XXX_DiscardUnknown

func (m *MsgSealObjectResponse) XXX_DiscardUnknown()

func (*MsgSealObjectResponse) XXX_Marshal

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

func (*MsgSealObjectResponse) XXX_Merge

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

func (*MsgSealObjectResponse) XXX_Size

func (m *MsgSealObjectResponse) XXX_Size() int

func (*MsgSealObjectResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// basic operation of bucket
	CreateBucket(context.Context, *MsgCreateBucket) (*MsgCreateBucketResponse, error)
	DeleteBucket(context.Context, *MsgDeleteBucket) (*MsgDeleteBucketResponse, error)
	UpdateBucketInfo(context.Context, *MsgUpdateBucketInfo) (*MsgUpdateBucketInfoResponse, error)
	MirrorBucket(context.Context, *MsgMirrorBucket) (*MsgMirrorBucketResponse, error)
	DiscontinueBucket(context.Context, *MsgDiscontinueBucket) (*MsgDiscontinueBucketResponse, error)
	// basic operation of object
	CreateObject(context.Context, *MsgCreateObject) (*MsgCreateObjectResponse, error)
	SealObject(context.Context, *MsgSealObject) (*MsgSealObjectResponse, error)
	RejectSealObject(context.Context, *MsgRejectSealObject) (*MsgRejectSealObjectResponse, error)
	CopyObject(context.Context, *MsgCopyObject) (*MsgCopyObjectResponse, error)
	DeleteObject(context.Context, *MsgDeleteObject) (*MsgDeleteObjectResponse, error)
	CancelCreateObject(context.Context, *MsgCancelCreateObject) (*MsgCancelCreateObjectResponse, error)
	MirrorObject(context.Context, *MsgMirrorObject) (*MsgMirrorObjectResponse, error)
	DiscontinueObject(context.Context, *MsgDiscontinueObject) (*MsgDiscontinueObjectResponse, error)
	UpdateObjectInfo(context.Context, *MsgUpdateObjectInfo) (*MsgUpdateObjectInfoResponse, error)
	// basic operation of group
	CreateGroup(context.Context, *MsgCreateGroup) (*MsgCreateGroupResponse, error)
	DeleteGroup(context.Context, *MsgDeleteGroup) (*MsgDeleteGroupResponse, error)
	UpdateGroupMember(context.Context, *MsgUpdateGroupMember) (*MsgUpdateGroupMemberResponse, error)
	UpdateGroupExtra(context.Context, *MsgUpdateGroupExtra) (*MsgUpdateGroupExtraResponse, error)
	LeaveGroup(context.Context, *MsgLeaveGroup) (*MsgLeaveGroupResponse, error)
	MirrorGroup(context.Context, *MsgMirrorGroup) (*MsgMirrorGroupResponse, error)
	// basic operation of policy
	PutPolicy(context.Context, *MsgPutPolicy) (*MsgPutPolicyResponse, error)
	DeletePolicy(context.Context, *MsgDeletePolicy) (*MsgDeletePolicyResponse, error)
	// UpdateParams defines a governance operation for updating the x/storage module parameters.
	// The authority is defined in the keeper.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateBucketInfo added in v0.0.6

type MsgUpdateBucketInfo struct {
	// operator defines the account address of the operator
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of bucket which you'll update
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// charged_read_quota defines the traffic quota that you read from primary sp
	// if read_quota is nil, it means don't change the read_quota
	ChargedReadQuota *common.UInt64Value `protobuf:"bytes,3,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"`
	// payment_address defines the account address of the payment account
	// if payment_address is empty, it means don't change the payment_address
	PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// visibility means the bucket is private or public. if private, only bucket owner or grantee can read it,
	// otherwise every greenfield user can read it.
	Visibility VisibilityType `protobuf:"varint,5,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
}

func NewMsgUpdateBucketInfo added in v0.0.6

func NewMsgUpdateBucketInfo(operator sdk.AccAddress, bucketName string, chargedReadQuota *uint64, paymentAcc sdk.AccAddress, visibility VisibilityType) *MsgUpdateBucketInfo

NewMsgUpdateBucketInfo creates a new MsgBucketReadQuota instance.

func (*MsgUpdateBucketInfo) Descriptor added in v0.0.6

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

func (*MsgUpdateBucketInfo) GetBucketName added in v0.0.6

func (m *MsgUpdateBucketInfo) GetBucketName() string

func (*MsgUpdateBucketInfo) GetChargedReadQuota added in v0.0.10

func (m *MsgUpdateBucketInfo) GetChargedReadQuota() *common.UInt64Value

func (*MsgUpdateBucketInfo) GetOperator added in v0.0.6

func (m *MsgUpdateBucketInfo) GetOperator() string

func (*MsgUpdateBucketInfo) GetPaymentAddress added in v0.0.6

func (m *MsgUpdateBucketInfo) GetPaymentAddress() string

func (*MsgUpdateBucketInfo) GetSignBytes added in v0.0.6

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

func (*MsgUpdateBucketInfo) GetSigners added in v0.0.6

func (msg *MsgUpdateBucketInfo) GetSigners() []sdk.AccAddress

func (*MsgUpdateBucketInfo) GetVisibility added in v0.0.10

func (m *MsgUpdateBucketInfo) GetVisibility() VisibilityType

func (*MsgUpdateBucketInfo) Marshal added in v0.0.6

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

func (*MsgUpdateBucketInfo) MarshalTo added in v0.0.6

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

func (*MsgUpdateBucketInfo) MarshalToSizedBuffer added in v0.0.6

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

func (*MsgUpdateBucketInfo) ProtoMessage added in v0.0.6

func (*MsgUpdateBucketInfo) ProtoMessage()

func (*MsgUpdateBucketInfo) Reset added in v0.0.6

func (m *MsgUpdateBucketInfo) Reset()

func (*MsgUpdateBucketInfo) Route added in v0.0.6

func (msg *MsgUpdateBucketInfo) Route() string

func (*MsgUpdateBucketInfo) Size added in v0.0.6

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

func (*MsgUpdateBucketInfo) String added in v0.0.6

func (m *MsgUpdateBucketInfo) String() string

func (*MsgUpdateBucketInfo) Type added in v0.0.6

func (msg *MsgUpdateBucketInfo) Type() string

func (*MsgUpdateBucketInfo) Unmarshal added in v0.0.6

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

func (*MsgUpdateBucketInfo) ValidateBasic added in v0.0.6

func (msg *MsgUpdateBucketInfo) ValidateBasic() error

func (*MsgUpdateBucketInfo) XXX_DiscardUnknown added in v0.0.6

func (m *MsgUpdateBucketInfo) XXX_DiscardUnknown()

func (*MsgUpdateBucketInfo) XXX_Marshal added in v0.0.6

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

func (*MsgUpdateBucketInfo) XXX_Merge added in v0.0.6

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

func (*MsgUpdateBucketInfo) XXX_Size added in v0.0.6

func (m *MsgUpdateBucketInfo) XXX_Size() int

func (*MsgUpdateBucketInfo) XXX_Unmarshal added in v0.0.6

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

type MsgUpdateBucketInfoResponse added in v0.0.6

type MsgUpdateBucketInfoResponse struct {
}

func (*MsgUpdateBucketInfoResponse) Descriptor added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) Marshal added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) MarshalTo added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) MarshalToSizedBuffer added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) ProtoMessage added in v0.0.6

func (*MsgUpdateBucketInfoResponse) ProtoMessage()

func (*MsgUpdateBucketInfoResponse) Reset added in v0.0.6

func (m *MsgUpdateBucketInfoResponse) Reset()

func (*MsgUpdateBucketInfoResponse) Size added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) String added in v0.0.6

func (m *MsgUpdateBucketInfoResponse) String() string

func (*MsgUpdateBucketInfoResponse) Unmarshal added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) XXX_DiscardUnknown added in v0.0.6

func (m *MsgUpdateBucketInfoResponse) XXX_DiscardUnknown()

func (*MsgUpdateBucketInfoResponse) XXX_Marshal added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) XXX_Merge added in v0.0.6

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

func (*MsgUpdateBucketInfoResponse) XXX_Size added in v0.0.6

func (m *MsgUpdateBucketInfoResponse) XXX_Size() int

func (*MsgUpdateBucketInfoResponse) XXX_Unmarshal added in v0.0.6

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

type MsgUpdateGroupExtra added in v0.2.2

type MsgUpdateGroupExtra struct {
	// operator defines the account address of the operator who has the UpdateGroupMember permission of the group.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// group_owner defines the account address of the group owner
	GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"`
	// group_name defines the name of the group which to be updated
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// extra defines extra info for the group to update
	Extra string `protobuf:"bytes,4,opt,name=Extra,proto3" json:"Extra,omitempty"`
}

func NewMsgUpdateGroupExtra added in v0.2.2

func NewMsgUpdateGroupExtra(operator sdk.AccAddress, groupOwner sdk.AccAddress, groupName, extra string) *MsgUpdateGroupExtra

func (*MsgUpdateGroupExtra) Descriptor added in v0.2.2

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

func (*MsgUpdateGroupExtra) GetExtra added in v0.2.2

func (m *MsgUpdateGroupExtra) GetExtra() string

func (*MsgUpdateGroupExtra) GetGroupName added in v0.2.2

func (m *MsgUpdateGroupExtra) GetGroupName() string

func (*MsgUpdateGroupExtra) GetGroupOwner added in v0.2.2

func (m *MsgUpdateGroupExtra) GetGroupOwner() string

func (*MsgUpdateGroupExtra) GetOperator added in v0.2.2

func (m *MsgUpdateGroupExtra) GetOperator() string

func (*MsgUpdateGroupExtra) GetSignBytes added in v0.2.2

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

GetSignBytes returns the message bytes to sign over.

func (*MsgUpdateGroupExtra) GetSigners added in v0.2.2

func (msg *MsgUpdateGroupExtra) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgUpdateGroupExtra) Marshal added in v0.2.2

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

func (*MsgUpdateGroupExtra) MarshalTo added in v0.2.2

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

func (*MsgUpdateGroupExtra) MarshalToSizedBuffer added in v0.2.2

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

func (*MsgUpdateGroupExtra) ProtoMessage added in v0.2.2

func (*MsgUpdateGroupExtra) ProtoMessage()

func (*MsgUpdateGroupExtra) Reset added in v0.2.2

func (m *MsgUpdateGroupExtra) Reset()

func (*MsgUpdateGroupExtra) Route added in v0.2.2

func (msg *MsgUpdateGroupExtra) Route() string

Route implements the sdk.Msg interface.

func (*MsgUpdateGroupExtra) Size added in v0.2.2

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

func (*MsgUpdateGroupExtra) String added in v0.2.2

func (m *MsgUpdateGroupExtra) String() string

func (*MsgUpdateGroupExtra) Type added in v0.2.2

func (msg *MsgUpdateGroupExtra) Type() string

Type implements the sdk.Msg interface.

func (*MsgUpdateGroupExtra) Unmarshal added in v0.2.2

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

func (*MsgUpdateGroupExtra) ValidateBasic added in v0.2.2

func (msg *MsgUpdateGroupExtra) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgUpdateGroupExtra) XXX_DiscardUnknown added in v0.2.2

func (m *MsgUpdateGroupExtra) XXX_DiscardUnknown()

func (*MsgUpdateGroupExtra) XXX_Marshal added in v0.2.2

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

func (*MsgUpdateGroupExtra) XXX_Merge added in v0.2.2

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

func (*MsgUpdateGroupExtra) XXX_Size added in v0.2.2

func (m *MsgUpdateGroupExtra) XXX_Size() int

func (*MsgUpdateGroupExtra) XXX_Unmarshal added in v0.2.2

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

type MsgUpdateGroupExtraResponse added in v0.2.2

type MsgUpdateGroupExtraResponse struct {
}

func (*MsgUpdateGroupExtraResponse) Descriptor added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) Marshal added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) MarshalTo added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) MarshalToSizedBuffer added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) ProtoMessage added in v0.2.2

func (*MsgUpdateGroupExtraResponse) ProtoMessage()

func (*MsgUpdateGroupExtraResponse) Reset added in v0.2.2

func (m *MsgUpdateGroupExtraResponse) Reset()

func (*MsgUpdateGroupExtraResponse) Size added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) String added in v0.2.2

func (m *MsgUpdateGroupExtraResponse) String() string

func (*MsgUpdateGroupExtraResponse) Unmarshal added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) XXX_DiscardUnknown added in v0.2.2

func (m *MsgUpdateGroupExtraResponse) XXX_DiscardUnknown()

func (*MsgUpdateGroupExtraResponse) XXX_Marshal added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) XXX_Merge added in v0.2.2

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

func (*MsgUpdateGroupExtraResponse) XXX_Size added in v0.2.2

func (m *MsgUpdateGroupExtraResponse) XXX_Size() int

func (*MsgUpdateGroupExtraResponse) XXX_Unmarshal added in v0.2.2

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

type MsgUpdateGroupMember

type MsgUpdateGroupMember struct {
	// operator defines the account address of the operator who has the UpdateGroupMember permission of the group.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// group_owner defines the account address of the group owner
	GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"`
	// group_name defines the name of the group which to be updated
	GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// members_to_add defines a list of members account address which will be add to the group
	MembersToAdd []string `protobuf:"bytes,4,rep,name=members_to_add,json=membersToAdd,proto3" json:"members_to_add,omitempty"`
	// members_to_delete defines a list of members account address which will be remove from the group
	MembersToDelete []string `protobuf:"bytes,5,rep,name=members_to_delete,json=membersToDelete,proto3" json:"members_to_delete,omitempty"`
}

func NewMsgUpdateGroupMember

func NewMsgUpdateGroupMember(
	operator sdk.AccAddress, groupOwner sdk.AccAddress, groupName string, membersToAdd []sdk.AccAddress,
	membersToDelete []sdk.AccAddress) *MsgUpdateGroupMember

func (*MsgUpdateGroupMember) Descriptor

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

func (*MsgUpdateGroupMember) GetGroupName

func (m *MsgUpdateGroupMember) GetGroupName() string

func (*MsgUpdateGroupMember) GetGroupOwner added in v0.0.10

func (m *MsgUpdateGroupMember) GetGroupOwner() string

func (*MsgUpdateGroupMember) GetMembersToAdd

func (m *MsgUpdateGroupMember) GetMembersToAdd() []string

func (*MsgUpdateGroupMember) GetMembersToDelete

func (m *MsgUpdateGroupMember) GetMembersToDelete() []string

func (*MsgUpdateGroupMember) GetOperator

func (m *MsgUpdateGroupMember) GetOperator() string

func (*MsgUpdateGroupMember) GetSignBytes

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

GetSignBytes returns the message bytes to sign over.

func (*MsgUpdateGroupMember) GetSigners

func (msg *MsgUpdateGroupMember) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgUpdateGroupMember) Marshal

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

func (*MsgUpdateGroupMember) MarshalTo

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

func (*MsgUpdateGroupMember) MarshalToSizedBuffer

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

func (*MsgUpdateGroupMember) ProtoMessage

func (*MsgUpdateGroupMember) ProtoMessage()

func (*MsgUpdateGroupMember) Reset

func (m *MsgUpdateGroupMember) Reset()

func (*MsgUpdateGroupMember) Route

func (msg *MsgUpdateGroupMember) Route() string

Route implements the sdk.Msg interface.

func (*MsgUpdateGroupMember) Size

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

func (*MsgUpdateGroupMember) String

func (m *MsgUpdateGroupMember) String() string

func (*MsgUpdateGroupMember) Type

func (msg *MsgUpdateGroupMember) Type() string

Type implements the sdk.Msg interface.

func (*MsgUpdateGroupMember) Unmarshal

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

func (*MsgUpdateGroupMember) ValidateBasic

func (msg *MsgUpdateGroupMember) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgUpdateGroupMember) XXX_DiscardUnknown

func (m *MsgUpdateGroupMember) XXX_DiscardUnknown()

func (*MsgUpdateGroupMember) XXX_Marshal

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

func (*MsgUpdateGroupMember) XXX_Merge

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

func (*MsgUpdateGroupMember) XXX_Size

func (m *MsgUpdateGroupMember) XXX_Size() int

func (*MsgUpdateGroupMember) XXX_Unmarshal

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

type MsgUpdateGroupMemberResponse

type MsgUpdateGroupMemberResponse struct {
}

func (*MsgUpdateGroupMemberResponse) Descriptor

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

func (*MsgUpdateGroupMemberResponse) Marshal

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

func (*MsgUpdateGroupMemberResponse) MarshalTo

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

func (*MsgUpdateGroupMemberResponse) MarshalToSizedBuffer

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

func (*MsgUpdateGroupMemberResponse) ProtoMessage

func (*MsgUpdateGroupMemberResponse) ProtoMessage()

func (*MsgUpdateGroupMemberResponse) Reset

func (m *MsgUpdateGroupMemberResponse) Reset()

func (*MsgUpdateGroupMemberResponse) Size

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

func (*MsgUpdateGroupMemberResponse) String

func (*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 MsgUpdateObjectInfo added in v0.1.2

type MsgUpdateObjectInfo struct {
	// operator defines 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 defines the name of bucket which you'll update
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// visibility means the object is private or public. if private, only bucket owner or grantee can read it,
	// otherwise every greenfield user can read it.
	Visibility VisibilityType `protobuf:"varint,4,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
}

func NewMsgUpdateObjectInfo added in v0.1.2

func NewMsgUpdateObjectInfo(
	operator sdk.AccAddress, bucketName string, objectName string,
	visibility VisibilityType) *MsgUpdateObjectInfo

func (*MsgUpdateObjectInfo) Descriptor added in v0.1.2

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

func (*MsgUpdateObjectInfo) GetBucketName added in v0.1.2

func (m *MsgUpdateObjectInfo) GetBucketName() string

func (*MsgUpdateObjectInfo) GetObjectName added in v0.1.2

func (m *MsgUpdateObjectInfo) GetObjectName() string

func (*MsgUpdateObjectInfo) GetOperator added in v0.1.2

func (m *MsgUpdateObjectInfo) GetOperator() string

func (*MsgUpdateObjectInfo) GetSignBytes added in v0.1.2

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

func (*MsgUpdateObjectInfo) GetSigners added in v0.1.2

func (msg *MsgUpdateObjectInfo) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgUpdateObjectInfo) GetVisibility added in v0.1.2

func (m *MsgUpdateObjectInfo) GetVisibility() VisibilityType

func (*MsgUpdateObjectInfo) Marshal added in v0.1.2

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

func (*MsgUpdateObjectInfo) MarshalTo added in v0.1.2

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

func (*MsgUpdateObjectInfo) MarshalToSizedBuffer added in v0.1.2

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

func (*MsgUpdateObjectInfo) ProtoMessage added in v0.1.2

func (*MsgUpdateObjectInfo) ProtoMessage()

func (*MsgUpdateObjectInfo) Reset added in v0.1.2

func (m *MsgUpdateObjectInfo) Reset()

func (*MsgUpdateObjectInfo) Route added in v0.1.2

func (msg *MsgUpdateObjectInfo) Route() string

Route implements the sdk.Msg interface.

func (*MsgUpdateObjectInfo) Size added in v0.1.2

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

func (*MsgUpdateObjectInfo) String added in v0.1.2

func (m *MsgUpdateObjectInfo) String() string

func (*MsgUpdateObjectInfo) Type added in v0.1.2

func (msg *MsgUpdateObjectInfo) Type() string

Type implements the sdk.Msg interface.

func (*MsgUpdateObjectInfo) Unmarshal added in v0.1.2

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

func (*MsgUpdateObjectInfo) ValidateBasic added in v0.1.2

func (msg *MsgUpdateObjectInfo) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgUpdateObjectInfo) XXX_DiscardUnknown added in v0.1.2

func (m *MsgUpdateObjectInfo) XXX_DiscardUnknown()

func (*MsgUpdateObjectInfo) XXX_Marshal added in v0.1.2

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

func (*MsgUpdateObjectInfo) XXX_Merge added in v0.1.2

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

func (*MsgUpdateObjectInfo) XXX_Size added in v0.1.2

func (m *MsgUpdateObjectInfo) XXX_Size() int

func (*MsgUpdateObjectInfo) XXX_Unmarshal added in v0.1.2

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

type MsgUpdateObjectInfoResponse added in v0.1.2

type MsgUpdateObjectInfoResponse struct {
}

func (*MsgUpdateObjectInfoResponse) Descriptor added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) Marshal added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) MarshalTo added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) MarshalToSizedBuffer added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) ProtoMessage added in v0.1.2

func (*MsgUpdateObjectInfoResponse) ProtoMessage()

func (*MsgUpdateObjectInfoResponse) Reset added in v0.1.2

func (m *MsgUpdateObjectInfoResponse) Reset()

func (*MsgUpdateObjectInfoResponse) Size added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) String added in v0.1.2

func (m *MsgUpdateObjectInfoResponse) String() string

func (*MsgUpdateObjectInfoResponse) Unmarshal added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) XXX_DiscardUnknown added in v0.1.2

func (m *MsgUpdateObjectInfoResponse) XXX_DiscardUnknown()

func (*MsgUpdateObjectInfoResponse) XXX_Marshal added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) XXX_Merge added in v0.1.2

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

func (*MsgUpdateObjectInfoResponse) XXX_Size added in v0.1.2

func (m *MsgUpdateObjectInfoResponse) XXX_Size() int

func (*MsgUpdateObjectInfoResponse) XXX_Unmarshal added in v0.1.2

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

type MsgUpdateParams added in v0.2.0

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/storage parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor added in v0.2.0

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

func (*MsgUpdateParams) GetAuthority added in v0.2.0

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v0.2.0

func (m *MsgUpdateParams) GetParams() Params

func (MsgUpdateParams) GetSignBytes added in v0.2.0

func (m MsgUpdateParams) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateParams) GetSigners added in v0.2.0

func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUpdateParams) Marshal added in v0.2.0

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

func (*MsgUpdateParams) MarshalTo added in v0.2.0

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

func (*MsgUpdateParams) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgUpdateParams) ProtoMessage added in v0.2.0

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v0.2.0

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size added in v0.2.0

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

func (*MsgUpdateParams) String added in v0.2.0

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal added in v0.2.0

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

func (*MsgUpdateParams) ValidateBasic added in v0.2.0

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown added in v0.2.0

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v0.2.0

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

func (*MsgUpdateParams) XXX_Merge added in v0.2.0

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

func (*MsgUpdateParams) XXX_Size added in v0.2.0

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v0.2.0

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

type MsgUpdateParamsResponse added in v0.2.0

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor added in v0.2.0

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

func (*MsgUpdateParamsResponse) Marshal added in v0.2.0

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

func (*MsgUpdateParamsResponse) MarshalTo added in v0.2.0

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgUpdateParamsResponse) ProtoMessage added in v0.2.0

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v0.2.0

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v0.2.0

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

func (*MsgUpdateParamsResponse) String added in v0.2.0

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v0.2.0

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v0.2.0

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

func (*MsgUpdateParamsResponse) XXX_Merge added in v0.2.0

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

func (*MsgUpdateParamsResponse) XXX_Size added in v0.2.0

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v0.2.0

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

type ObjectInfo

type ObjectInfo struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// bucket_name is the name of the bucket
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name is the name of object
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// id is the unique identifier of object
	Id Uint `protobuf:"bytes,4,opt,name=id,proto3,customtype=Uint" json:"id"`
	// payloadSize is the total size of the object payload
	PayloadSize uint64 `protobuf:"varint,5,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
	// visibility defines the highest permissions for object. When an object is public, everyone can access it.
	Visibility VisibilityType `protobuf:"varint,6,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
	// content_type define the format of the object which should be a standard MIME type.
	ContentType string `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// create_at define the block timestamp when the object is created
	CreateAt int64 `protobuf:"varint,8,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	// object_status define the upload status of the object.
	ObjectStatus ObjectStatus `` /* 135-byte string literal not displayed */
	// redundancy_type define the type of the redundancy which can be multi-replication or EC.
	RedundancyType RedundancyType `` /* 144-byte string literal not displayed */
	// source_type define the source of the object.
	SourceType SourceType `` /* 128-byte string literal not displayed */
	// checksums define the root hash of the pieces which stored in a SP.
	// add omit tag to omit the field when converting to NFT metadata
	Checksums [][]byte `protobuf:"bytes,12,rep,name=checksums,proto3" json:"checksums,omitempty" traits:"omit"`
	// secondary_sp_addresses define the addresses of secondary_sps
	SecondarySpAddresses []string `protobuf:"bytes,13,rep,name=secondary_sp_addresses,json=secondarySpAddresses,proto3" json:"secondary_sp_addresses,omitempty"`
}

func (*ObjectInfo) Descriptor

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

func (*ObjectInfo) GetBucketName

func (m *ObjectInfo) GetBucketName() string

func (*ObjectInfo) GetChecksums

func (m *ObjectInfo) GetChecksums() [][]byte

func (*ObjectInfo) GetContentType

func (m *ObjectInfo) GetContentType() string

func (*ObjectInfo) GetCreateAt

func (m *ObjectInfo) GetCreateAt() int64

func (*ObjectInfo) GetObjectName

func (m *ObjectInfo) GetObjectName() string

func (*ObjectInfo) GetObjectStatus

func (m *ObjectInfo) GetObjectStatus() ObjectStatus

func (*ObjectInfo) GetOwner

func (m *ObjectInfo) GetOwner() string

func (*ObjectInfo) GetPayloadSize

func (m *ObjectInfo) GetPayloadSize() uint64

func (*ObjectInfo) GetRedundancyType

func (m *ObjectInfo) GetRedundancyType() RedundancyType

func (*ObjectInfo) GetSecondarySpAddresses

func (m *ObjectInfo) GetSecondarySpAddresses() []string

func (*ObjectInfo) GetSourceType

func (m *ObjectInfo) GetSourceType() SourceType

func (*ObjectInfo) GetVisibility added in v0.0.10

func (m *ObjectInfo) GetVisibility() VisibilityType

func (*ObjectInfo) Marshal

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

func (*ObjectInfo) MarshalTo

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

func (*ObjectInfo) MarshalToSizedBuffer

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

func (*ObjectInfo) ProtoMessage

func (*ObjectInfo) ProtoMessage()

func (*ObjectInfo) Reset

func (m *ObjectInfo) Reset()

func (*ObjectInfo) Size

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

func (*ObjectInfo) String

func (m *ObjectInfo) String() string

func (*ObjectInfo) ToNFTMetadata added in v0.0.7

func (m *ObjectInfo) ToNFTMetadata() *ObjectMetaData

func (*ObjectInfo) Unmarshal

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

func (*ObjectInfo) XXX_DiscardUnknown

func (m *ObjectInfo) XXX_DiscardUnknown()

func (*ObjectInfo) XXX_Marshal

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

func (*ObjectInfo) XXX_Merge

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

func (*ObjectInfo) XXX_Size

func (m *ObjectInfo) XXX_Size() int

func (*ObjectInfo) XXX_Unmarshal

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

type ObjectMetaData added in v0.0.7

type ObjectMetaData struct {
	// description
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// externalUrl a link to external site to view NFT
	ExternalUrl string `protobuf:"bytes,2,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"`
	// name of object NFT
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// image is the link to image
	Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	// attributes
	Attributes []Trait `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes"`
}

func (*ObjectMetaData) Descriptor added in v0.0.7

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

func (*ObjectMetaData) GetAttributes added in v0.0.7

func (m *ObjectMetaData) GetAttributes() []Trait

func (*ObjectMetaData) GetDescription added in v0.0.7

func (m *ObjectMetaData) GetDescription() string

func (*ObjectMetaData) GetExternalUrl added in v0.0.7

func (m *ObjectMetaData) GetExternalUrl() string

func (*ObjectMetaData) GetImage added in v0.0.7

func (m *ObjectMetaData) GetImage() string

func (*ObjectMetaData) GetObjectName added in v0.0.7

func (m *ObjectMetaData) GetObjectName() string

func (*ObjectMetaData) Marshal added in v0.0.7

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

func (*ObjectMetaData) MarshalTo added in v0.0.7

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

func (*ObjectMetaData) MarshalToSizedBuffer added in v0.0.7

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

func (*ObjectMetaData) ProtoMessage added in v0.0.7

func (*ObjectMetaData) ProtoMessage()

func (*ObjectMetaData) Reset added in v0.0.7

func (m *ObjectMetaData) Reset()

func (*ObjectMetaData) Size added in v0.0.7

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

func (*ObjectMetaData) String added in v0.0.7

func (m *ObjectMetaData) String() string

func (*ObjectMetaData) Unmarshal added in v0.0.7

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

func (*ObjectMetaData) XXX_DiscardUnknown added in v0.0.7

func (m *ObjectMetaData) XXX_DiscardUnknown()

func (*ObjectMetaData) XXX_Marshal added in v0.0.7

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

func (*ObjectMetaData) XXX_Merge added in v0.0.7

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

func (*ObjectMetaData) XXX_Size added in v0.0.7

func (m *ObjectMetaData) XXX_Size() int

func (*ObjectMetaData) XXX_Unmarshal added in v0.0.7

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

type ObjectStatus

type ObjectStatus int32

ObjectStatus represents the creation status of an object. After a user successfully sends a CreateObject transaction onto the chain, the status is set to 'Created'. After the Primary Service Provider successfully sends a Seal Object transaction onto the chain, the status is set to 'Sealed'. When a Discontinue Object transaction is received on chain, the status is set to 'Discontinued'.

const (
	OBJECT_STATUS_CREATED      ObjectStatus = 0
	OBJECT_STATUS_SEALED       ObjectStatus = 1
	OBJECT_STATUS_DISCONTINUED ObjectStatus = 2
)

func (ObjectStatus) EnumDescriptor

func (ObjectStatus) EnumDescriptor() ([]byte, []int)

func (ObjectStatus) String

func (x ObjectStatus) String() string

type Params

type Params struct {
	VersionedParams VersionedParams `protobuf:"bytes,1,opt,name=versioned_params,json=versionedParams,proto3" json:"versioned_params"`
	// max_payload_size is the maximum size of the payload, default: 2G
	MaxPayloadSize uint64 `protobuf:"varint,2,opt,name=max_payload_size,json=maxPayloadSize,proto3" json:"max_payload_size,omitempty"`
	// relayer fee for the mirror bucket tx
	MirrorBucketRelayerFee string `` /* 131-byte string literal not displayed */
	// relayer fee for the ACK or FAIL_ACK package of the mirror bucket tx
	MirrorBucketAckRelayerFee string `` /* 142-byte string literal not displayed */
	// relayer fee for the mirror object tx
	MirrorObjectRelayerFee string `` /* 131-byte string literal not displayed */
	// Relayer fee for the ACK or FAIL_ACK package of the mirror object tx
	MirrorObjectAckRelayerFee string `` /* 142-byte string literal not displayed */
	// relayer fee for the mirror object tx
	MirrorGroupRelayerFee string `` /* 128-byte string literal not displayed */
	// Relayer fee for the ACK or FAIL_ACK package of the mirror object tx
	MirrorGroupAckRelayerFee string `` /* 139-byte string literal not displayed */
	// The maximum number of buckets that can be created per account
	MaxBucketsPerAccount uint32 `` /* 126-byte string literal not displayed */
	// The window to count the discontinued objects or buckets
	DiscontinueCountingWindow uint64 `` /* 140-byte string literal not displayed */
	// The max objects can be requested in a window
	DiscontinueObjectMax uint64 `protobuf:"varint,11,opt,name=discontinue_object_max,json=discontinueObjectMax,proto3" json:"discontinue_object_max,omitempty"`
	// The max buckets can be requested in a window
	DiscontinueBucketMax uint64 `protobuf:"varint,12,opt,name=discontinue_bucket_max,json=discontinueBucketMax,proto3" json:"discontinue_bucket_max,omitempty"`
	// The object will be deleted after the confirm period in seconds
	DiscontinueConfirmPeriod int64 `` /* 137-byte string literal not displayed */
	// The max delete objects in each end block
	DiscontinueDeletionMax uint64 `` /* 131-byte string literal not displayed */
	// The max number for deleting policy in each end block
	StalePolicyCleanupMax uint64 `` /* 130-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	maxSegmentSize uint64, redundantDataChunkNum uint32,
	redundantParityChunkNum uint32, maxPayloadSize uint64, maxBucketsPerAccount uint32,
	minChargeSize uint64, mirrorBucketRelayerFee, mirrorBucketAckRelayerFee string,
	mirrorObjectRelayerFee, mirrorObjectAckRelayerFee string,
	mirrorGroupRelayerFee, mirrorGroupAckRelayerFee string,
	discontinueCountingWindow, discontinueObjectMax, discontinueBucketMax uint64,
	discontinueConfirmPeriod int64,
	discontinueDeletionMax uint64,
	stalePoliesCleanupMax uint64,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetDiscontinueBucketMax added in v0.1.2

func (m *Params) GetDiscontinueBucketMax() uint64

func (*Params) GetDiscontinueConfirmPeriod added in v0.1.2

func (m *Params) GetDiscontinueConfirmPeriod() int64

func (*Params) GetDiscontinueCountingWindow added in v0.1.2

func (m *Params) GetDiscontinueCountingWindow() uint64

func (*Params) GetDiscontinueDeletionMax added in v0.1.2

func (m *Params) GetDiscontinueDeletionMax() uint64

func (*Params) GetDiscontinueObjectMax added in v0.1.2

func (m *Params) GetDiscontinueObjectMax() uint64

func (*Params) GetMaxBucketsPerAccount added in v0.0.10

func (m *Params) GetMaxBucketsPerAccount() uint32

func (*Params) GetMaxPayloadSize

func (m *Params) GetMaxPayloadSize() uint64

func (*Params) GetMaxSegmentSize

func (p *Params) GetMaxSegmentSize() uint64

func (*Params) GetMinChargeSize added in v0.0.7

func (p *Params) GetMinChargeSize() uint64

func (*Params) GetMirrorBucketAckRelayerFee added in v0.0.9

func (m *Params) GetMirrorBucketAckRelayerFee() string

func (*Params) GetMirrorBucketRelayerFee added in v0.0.9

func (m *Params) GetMirrorBucketRelayerFee() string

func (*Params) GetMirrorGroupAckRelayerFee added in v0.0.9

func (m *Params) GetMirrorGroupAckRelayerFee() string

func (*Params) GetMirrorGroupRelayerFee added in v0.0.9

func (m *Params) GetMirrorGroupRelayerFee() string

func (*Params) GetMirrorObjectAckRelayerFee added in v0.0.9

func (m *Params) GetMirrorObjectAckRelayerFee() string

func (*Params) GetMirrorObjectRelayerFee added in v0.0.9

func (m *Params) GetMirrorObjectRelayerFee() string

func (*Params) GetRedundantDataChunkNum

func (p *Params) GetRedundantDataChunkNum() uint32

func (*Params) GetRedundantParityChunkNum

func (p *Params) GetRedundantParityChunkNum() uint32

func (*Params) GetStalePolicyCleanupMax added in v0.2.0

func (m *Params) GetStalePolicyCleanupMax() uint64

func (*Params) GetVersionedParams added in v0.2.0

func (m *Params) GetVersionedParams() VersionedParams

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type PaymentKeeper 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)
	// GetStreamRecord
	GetStreamRecord(ctx sdk.Context, account sdk.AccAddress) (val *paymenttypes.StreamRecord, found bool)
}

type PermissionKeeper added in v0.0.7

type PermissionKeeper interface {
	PutPolicy(ctx sdk.Context, policy *permtypes.Policy) (math.Uint, error)
	DeletePolicy(ctx sdk.Context, principal *permtypes.Principal, resourceType resource.ResourceType,
		resourceID math.Uint) (math.Uint, error)
	VerifyPolicy(ctx sdk.Context, resourceID math.Uint, resourceType resource.ResourceType, operator sdk.AccAddress,
		action permtypes.ActionType, opts *permtypes.VerifyOptions) permtypes.Effect
	AddGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) error
	RemoveGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) error
	GetPolicyByID(ctx sdk.Context, policyID math.Uint) (*permtypes.Policy, bool)
	GetPolicyForAccount(ctx sdk.Context, resourceID math.Uint, resourceType resource.ResourceType, addr sdk.AccAddress) (policy *permtypes.Policy, isFound bool)
	GetPolicyForGroup(ctx sdk.Context, resourceID math.Uint, resourceType resource.ResourceType,
		groupID math.Uint) (policy *permtypes.Policy, isFound bool)
	GetGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress) (*permtypes.GroupMember, bool)
	GetGroupMemberByID(ctx sdk.Context, groupMemberID math.Uint) (*permtypes.GroupMember, bool)
	ForceDeleteAccountPolicyForResource(ctx sdk.Context, maxDelete, deletedCount uint64, resourceType resource.ResourceType, resourceID math.Uint) (uint64, bool)
	ForceDeleteGroupPolicyForResource(ctx sdk.Context, maxDelete, deletedCount uint64, resourceType resource.ResourceType, resourceID math.Uint) (uint64, bool)
	ForceDeleteGroupMembers(ctx sdk.Context, maxDelete, deletedTotal uint64, groupId math.Uint) (uint64, bool)
	ExistAccountPolicyForResource(ctx sdk.Context, resourceType resource.ResourceType, resourceID math.Uint) bool
	ExistGroupPolicyForResource(ctx sdk.Context, resourceType resource.ResourceType, resourceID math.Uint) bool
	ExistGroupMemberForGroup(ctx sdk.Context, groupId math.Uint) 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)
	// Parameters queries the parameters of the module.
	QueryParamsByTimestamp(ctx context.Context, in *QueryParamsByTimestampRequest, opts ...grpc.CallOption) (*QueryParamsByTimestampResponse, error)
	// Queries a bucket with specify name.
	HeadBucket(ctx context.Context, in *QueryHeadBucketRequest, opts ...grpc.CallOption) (*QueryHeadBucketResponse, error)
	// Queries a bucket by id
	HeadBucketById(ctx context.Context, in *QueryHeadBucketByIdRequest, opts ...grpc.CallOption) (*QueryHeadBucketResponse, error)
	// Queries a bucket with EIP712 standard metadata info
	HeadBucketNFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryBucketNFTResponse, error)
	// Queries a object with specify name.
	HeadObject(ctx context.Context, in *QueryHeadObjectRequest, opts ...grpc.CallOption) (*QueryHeadObjectResponse, error)
	// Queries an object by id
	HeadObjectById(ctx context.Context, in *QueryHeadObjectByIdRequest, opts ...grpc.CallOption) (*QueryHeadObjectResponse, error)
	// Queries a object with EIP712 standard metadata info
	HeadObjectNFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryObjectNFTResponse, error)
	// Queries a list of bucket items.
	ListBuckets(ctx context.Context, in *QueryListBucketsRequest, opts ...grpc.CallOption) (*QueryListBucketsResponse, error)
	// Queries a list of object items under the bucket.
	ListObjects(ctx context.Context, in *QueryListObjectsRequest, opts ...grpc.CallOption) (*QueryListObjectsResponse, error)
	// Queries a list of object items under the bucket.
	ListObjectsByBucketId(ctx context.Context, in *QueryListObjectsByBucketIdRequest, opts ...grpc.CallOption) (*QueryListObjectsResponse, error)
	// Queries a group with EIP712 standard metadata info
	HeadGroupNFT(ctx context.Context, in *QueryNFTRequest, opts ...grpc.CallOption) (*QueryGroupNFTResponse, error)
	// Queries a policy which grants permission to account
	QueryPolicyForAccount(ctx context.Context, in *QueryPolicyForAccountRequest, opts ...grpc.CallOption) (*QueryPolicyForAccountResponse, error)
	// Queries a list of VerifyPermission items.
	VerifyPermission(ctx context.Context, in *QueryVerifyPermissionRequest, opts ...grpc.CallOption) (*QueryVerifyPermissionResponse, error)
	// Queries a group with specify owner and name .
	HeadGroup(ctx context.Context, in *QueryHeadGroupRequest, opts ...grpc.CallOption) (*QueryHeadGroupResponse, error)
	// Queries a list of ListGroup items.
	ListGroup(ctx context.Context, in *QueryListGroupRequest, opts ...grpc.CallOption) (*QueryListGroupResponse, error)
	// Queries a list of HeadGroupMember items.
	HeadGroupMember(ctx context.Context, in *QueryHeadGroupMemberRequest, opts ...grpc.CallOption) (*QueryHeadGroupMemberResponse, error)
	// Queries a policy that grants permission to a group
	QueryPolicyForGroup(ctx context.Context, in *QueryPolicyForGroupRequest, opts ...grpc.CallOption) (*QueryPolicyForGroupResponse, error)
	// Queries a policy by policy id
	QueryPolicyById(ctx context.Context, in *QueryPolicyByIdRequest, opts ...grpc.CallOption) (*QueryPolicyByIdResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGroupNFTResponse added in v0.0.7

type QueryGroupNFTResponse struct {
	MetaData *GroupMetaData `protobuf:"bytes,1,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"`
}

func (*QueryGroupNFTResponse) Descriptor added in v0.0.7

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

func (*QueryGroupNFTResponse) GetMetaData added in v0.0.7

func (m *QueryGroupNFTResponse) GetMetaData() *GroupMetaData

func (*QueryGroupNFTResponse) Marshal added in v0.0.7

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

func (*QueryGroupNFTResponse) MarshalTo added in v0.0.7

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

func (*QueryGroupNFTResponse) MarshalToSizedBuffer added in v0.0.7

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

func (*QueryGroupNFTResponse) ProtoMessage added in v0.0.7

func (*QueryGroupNFTResponse) ProtoMessage()

func (*QueryGroupNFTResponse) Reset added in v0.0.7

func (m *QueryGroupNFTResponse) Reset()

func (*QueryGroupNFTResponse) Size added in v0.0.7

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

func (*QueryGroupNFTResponse) String added in v0.0.7

func (m *QueryGroupNFTResponse) String() string

func (*QueryGroupNFTResponse) Unmarshal added in v0.0.7

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

func (*QueryGroupNFTResponse) XXX_DiscardUnknown added in v0.0.7

func (m *QueryGroupNFTResponse) XXX_DiscardUnknown()

func (*QueryGroupNFTResponse) XXX_Marshal added in v0.0.7

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

func (*QueryGroupNFTResponse) XXX_Merge added in v0.0.7

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

func (*QueryGroupNFTResponse) XXX_Size added in v0.0.7

func (m *QueryGroupNFTResponse) XXX_Size() int

func (*QueryGroupNFTResponse) XXX_Unmarshal added in v0.0.7

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

type QueryHeadBucketByIdRequest added in v0.0.7

type QueryHeadBucketByIdRequest struct {
	BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
}

func (*QueryHeadBucketByIdRequest) Descriptor added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) GetBucketId added in v0.0.7

func (m *QueryHeadBucketByIdRequest) GetBucketId() string

func (*QueryHeadBucketByIdRequest) Marshal added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) MarshalTo added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) MarshalToSizedBuffer added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) ProtoMessage added in v0.0.7

func (*QueryHeadBucketByIdRequest) ProtoMessage()

func (*QueryHeadBucketByIdRequest) Reset added in v0.0.7

func (m *QueryHeadBucketByIdRequest) Reset()

func (*QueryHeadBucketByIdRequest) Size added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) String added in v0.0.7

func (m *QueryHeadBucketByIdRequest) String() string

func (*QueryHeadBucketByIdRequest) Unmarshal added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) XXX_DiscardUnknown added in v0.0.7

func (m *QueryHeadBucketByIdRequest) XXX_DiscardUnknown()

func (*QueryHeadBucketByIdRequest) XXX_Marshal added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) XXX_Merge added in v0.0.7

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

func (*QueryHeadBucketByIdRequest) XXX_Size added in v0.0.7

func (m *QueryHeadBucketByIdRequest) XXX_Size() int

func (*QueryHeadBucketByIdRequest) XXX_Unmarshal added in v0.0.7

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

type QueryHeadBucketRequest added in v0.0.6

type QueryHeadBucketRequest struct {
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func (*QueryHeadBucketRequest) Descriptor added in v0.0.6

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

func (*QueryHeadBucketRequest) GetBucketName added in v0.0.6

func (m *QueryHeadBucketRequest) GetBucketName() string

func (*QueryHeadBucketRequest) Marshal added in v0.0.6

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

func (*QueryHeadBucketRequest) MarshalTo added in v0.0.6

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

func (*QueryHeadBucketRequest) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryHeadBucketRequest) ProtoMessage added in v0.0.6

func (*QueryHeadBucketRequest) ProtoMessage()

func (*QueryHeadBucketRequest) Reset added in v0.0.6

func (m *QueryHeadBucketRequest) Reset()

func (*QueryHeadBucketRequest) Size added in v0.0.6

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

func (*QueryHeadBucketRequest) String added in v0.0.6

func (m *QueryHeadBucketRequest) String() string

func (*QueryHeadBucketRequest) Unmarshal added in v0.0.6

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

func (*QueryHeadBucketRequest) XXX_DiscardUnknown added in v0.0.6

func (m *QueryHeadBucketRequest) XXX_DiscardUnknown()

func (*QueryHeadBucketRequest) XXX_Marshal added in v0.0.6

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

func (*QueryHeadBucketRequest) XXX_Merge added in v0.0.6

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

func (*QueryHeadBucketRequest) XXX_Size added in v0.0.6

func (m *QueryHeadBucketRequest) XXX_Size() int

func (*QueryHeadBucketRequest) XXX_Unmarshal added in v0.0.6

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

type QueryHeadBucketResponse added in v0.0.6

type QueryHeadBucketResponse struct {
	BucketInfo *BucketInfo `protobuf:"bytes,1,opt,name=bucket_info,json=bucketInfo,proto3" json:"bucket_info,omitempty"`
}

func (*QueryHeadBucketResponse) Descriptor added in v0.0.6

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

func (*QueryHeadBucketResponse) GetBucketInfo added in v0.0.6

func (m *QueryHeadBucketResponse) GetBucketInfo() *BucketInfo

func (*QueryHeadBucketResponse) Marshal added in v0.0.6

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

func (*QueryHeadBucketResponse) MarshalTo added in v0.0.6

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

func (*QueryHeadBucketResponse) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryHeadBucketResponse) ProtoMessage added in v0.0.6

func (*QueryHeadBucketResponse) ProtoMessage()

func (*QueryHeadBucketResponse) Reset added in v0.0.6

func (m *QueryHeadBucketResponse) Reset()

func (*QueryHeadBucketResponse) Size added in v0.0.6

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

func (*QueryHeadBucketResponse) String added in v0.0.6

func (m *QueryHeadBucketResponse) String() string

func (*QueryHeadBucketResponse) Unmarshal added in v0.0.6

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

func (*QueryHeadBucketResponse) XXX_DiscardUnknown added in v0.0.6

func (m *QueryHeadBucketResponse) XXX_DiscardUnknown()

func (*QueryHeadBucketResponse) XXX_Marshal added in v0.0.6

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

func (*QueryHeadBucketResponse) XXX_Merge added in v0.0.6

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

func (*QueryHeadBucketResponse) XXX_Size added in v0.0.6

func (m *QueryHeadBucketResponse) XXX_Size() int

func (*QueryHeadBucketResponse) XXX_Unmarshal added in v0.0.6

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

type QueryHeadGroupMemberRequest added in v0.0.8

type QueryHeadGroupMemberRequest struct {
	Member     string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	GroupOwner string `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"`
	GroupName  string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func (*QueryHeadGroupMemberRequest) Descriptor added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) GetGroupName added in v0.0.8

func (m *QueryHeadGroupMemberRequest) GetGroupName() string

func (*QueryHeadGroupMemberRequest) GetGroupOwner added in v0.0.8

func (m *QueryHeadGroupMemberRequest) GetGroupOwner() string

func (*QueryHeadGroupMemberRequest) GetMember added in v0.0.8

func (m *QueryHeadGroupMemberRequest) GetMember() string

func (*QueryHeadGroupMemberRequest) Marshal added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) MarshalTo added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) MarshalToSizedBuffer added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) ProtoMessage added in v0.0.8

func (*QueryHeadGroupMemberRequest) ProtoMessage()

func (*QueryHeadGroupMemberRequest) Reset added in v0.0.8

func (m *QueryHeadGroupMemberRequest) Reset()

func (*QueryHeadGroupMemberRequest) Size added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) String added in v0.0.8

func (m *QueryHeadGroupMemberRequest) String() string

func (*QueryHeadGroupMemberRequest) Unmarshal added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) XXX_DiscardUnknown added in v0.0.8

func (m *QueryHeadGroupMemberRequest) XXX_DiscardUnknown()

func (*QueryHeadGroupMemberRequest) XXX_Marshal added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) XXX_Merge added in v0.0.8

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

func (*QueryHeadGroupMemberRequest) XXX_Size added in v0.0.8

func (m *QueryHeadGroupMemberRequest) XXX_Size() int

func (*QueryHeadGroupMemberRequest) XXX_Unmarshal added in v0.0.8

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

type QueryHeadGroupMemberResponse added in v0.0.8

type QueryHeadGroupMemberResponse struct {
	GroupMember *types.GroupMember `protobuf:"bytes,1,opt,name=group_member,json=groupMember,proto3" json:"group_member,omitempty"`
}

func (*QueryHeadGroupMemberResponse) Descriptor added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) GetGroupMember added in v0.0.10

func (m *QueryHeadGroupMemberResponse) GetGroupMember() *types.GroupMember

func (*QueryHeadGroupMemberResponse) Marshal added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) MarshalTo added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) MarshalToSizedBuffer added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) ProtoMessage added in v0.0.8

func (*QueryHeadGroupMemberResponse) ProtoMessage()

func (*QueryHeadGroupMemberResponse) Reset added in v0.0.8

func (m *QueryHeadGroupMemberResponse) Reset()

func (*QueryHeadGroupMemberResponse) Size added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) String added in v0.0.8

func (*QueryHeadGroupMemberResponse) Unmarshal added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) XXX_DiscardUnknown added in v0.0.8

func (m *QueryHeadGroupMemberResponse) XXX_DiscardUnknown()

func (*QueryHeadGroupMemberResponse) XXX_Marshal added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) XXX_Merge added in v0.0.8

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

func (*QueryHeadGroupMemberResponse) XXX_Size added in v0.0.8

func (m *QueryHeadGroupMemberResponse) XXX_Size() int

func (*QueryHeadGroupMemberResponse) XXX_Unmarshal added in v0.0.8

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

type QueryHeadGroupRequest added in v0.0.8

type QueryHeadGroupRequest struct {
	GroupOwner string `protobuf:"bytes,1,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"`
	GroupName  string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func (*QueryHeadGroupRequest) Descriptor added in v0.0.8

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

func (*QueryHeadGroupRequest) GetGroupName added in v0.0.8

func (m *QueryHeadGroupRequest) GetGroupName() string

func (*QueryHeadGroupRequest) GetGroupOwner added in v0.0.8

func (m *QueryHeadGroupRequest) GetGroupOwner() string

func (*QueryHeadGroupRequest) Marshal added in v0.0.8

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

func (*QueryHeadGroupRequest) MarshalTo added in v0.0.8

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

func (*QueryHeadGroupRequest) MarshalToSizedBuffer added in v0.0.8

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

func (*QueryHeadGroupRequest) ProtoMessage added in v0.0.8

func (*QueryHeadGroupRequest) ProtoMessage()

func (*QueryHeadGroupRequest) Reset added in v0.0.8

func (m *QueryHeadGroupRequest) Reset()

func (*QueryHeadGroupRequest) Size added in v0.0.8

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

func (*QueryHeadGroupRequest) String added in v0.0.8

func (m *QueryHeadGroupRequest) String() string

func (*QueryHeadGroupRequest) Unmarshal added in v0.0.8

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

func (*QueryHeadGroupRequest) XXX_DiscardUnknown added in v0.0.8

func (m *QueryHeadGroupRequest) XXX_DiscardUnknown()

func (*QueryHeadGroupRequest) XXX_Marshal added in v0.0.8

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

func (*QueryHeadGroupRequest) XXX_Merge added in v0.0.8

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

func (*QueryHeadGroupRequest) XXX_Size added in v0.0.8

func (m *QueryHeadGroupRequest) XXX_Size() int

func (*QueryHeadGroupRequest) XXX_Unmarshal added in v0.0.8

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

type QueryHeadGroupResponse added in v0.0.8

type QueryHeadGroupResponse struct {
	GroupInfo *GroupInfo `protobuf:"bytes,1,opt,name=group_info,json=groupInfo,proto3" json:"group_info,omitempty"`
}

func (*QueryHeadGroupResponse) Descriptor added in v0.0.8

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

func (*QueryHeadGroupResponse) GetGroupInfo added in v0.0.8

func (m *QueryHeadGroupResponse) GetGroupInfo() *GroupInfo

func (*QueryHeadGroupResponse) Marshal added in v0.0.8

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

func (*QueryHeadGroupResponse) MarshalTo added in v0.0.8

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

func (*QueryHeadGroupResponse) MarshalToSizedBuffer added in v0.0.8

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

func (*QueryHeadGroupResponse) ProtoMessage added in v0.0.8

func (*QueryHeadGroupResponse) ProtoMessage()

func (*QueryHeadGroupResponse) Reset added in v0.0.8

func (m *QueryHeadGroupResponse) Reset()

func (*QueryHeadGroupResponse) Size added in v0.0.8

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

func (*QueryHeadGroupResponse) String added in v0.0.8

func (m *QueryHeadGroupResponse) String() string

func (*QueryHeadGroupResponse) Unmarshal added in v0.0.8

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

func (*QueryHeadGroupResponse) XXX_DiscardUnknown added in v0.0.8

func (m *QueryHeadGroupResponse) XXX_DiscardUnknown()

func (*QueryHeadGroupResponse) XXX_Marshal added in v0.0.8

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

func (*QueryHeadGroupResponse) XXX_Merge added in v0.0.8

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

func (*QueryHeadGroupResponse) XXX_Size added in v0.0.8

func (m *QueryHeadGroupResponse) XXX_Size() int

func (*QueryHeadGroupResponse) XXX_Unmarshal added in v0.0.8

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

type QueryHeadObjectByIdRequest added in v0.0.7

type QueryHeadObjectByIdRequest struct {
	ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
}

func (*QueryHeadObjectByIdRequest) Descriptor added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) GetObjectId added in v0.0.7

func (m *QueryHeadObjectByIdRequest) GetObjectId() string

func (*QueryHeadObjectByIdRequest) Marshal added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) MarshalTo added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) MarshalToSizedBuffer added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) ProtoMessage added in v0.0.7

func (*QueryHeadObjectByIdRequest) ProtoMessage()

func (*QueryHeadObjectByIdRequest) Reset added in v0.0.7

func (m *QueryHeadObjectByIdRequest) Reset()

func (*QueryHeadObjectByIdRequest) Size added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) String added in v0.0.7

func (m *QueryHeadObjectByIdRequest) String() string

func (*QueryHeadObjectByIdRequest) Unmarshal added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) XXX_DiscardUnknown added in v0.0.7

func (m *QueryHeadObjectByIdRequest) XXX_DiscardUnknown()

func (*QueryHeadObjectByIdRequest) XXX_Marshal added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) XXX_Merge added in v0.0.7

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

func (*QueryHeadObjectByIdRequest) XXX_Size added in v0.0.7

func (m *QueryHeadObjectByIdRequest) XXX_Size() int

func (*QueryHeadObjectByIdRequest) XXX_Unmarshal added in v0.0.7

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

type QueryHeadObjectRequest added in v0.0.6

type QueryHeadObjectRequest struct {
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
}

func (*QueryHeadObjectRequest) Descriptor added in v0.0.6

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

func (*QueryHeadObjectRequest) GetBucketName added in v0.0.6

func (m *QueryHeadObjectRequest) GetBucketName() string

func (*QueryHeadObjectRequest) GetObjectName added in v0.0.6

func (m *QueryHeadObjectRequest) GetObjectName() string

func (*QueryHeadObjectRequest) Marshal added in v0.0.6

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

func (*QueryHeadObjectRequest) MarshalTo added in v0.0.6

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

func (*QueryHeadObjectRequest) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryHeadObjectRequest) ProtoMessage added in v0.0.6

func (*QueryHeadObjectRequest) ProtoMessage()

func (*QueryHeadObjectRequest) Reset added in v0.0.6

func (m *QueryHeadObjectRequest) Reset()

func (*QueryHeadObjectRequest) Size added in v0.0.6

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

func (*QueryHeadObjectRequest) String added in v0.0.6

func (m *QueryHeadObjectRequest) String() string

func (*QueryHeadObjectRequest) Unmarshal added in v0.0.6

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

func (*QueryHeadObjectRequest) XXX_DiscardUnknown added in v0.0.6

func (m *QueryHeadObjectRequest) XXX_DiscardUnknown()

func (*QueryHeadObjectRequest) XXX_Marshal added in v0.0.6

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

func (*QueryHeadObjectRequest) XXX_Merge added in v0.0.6

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

func (*QueryHeadObjectRequest) XXX_Size added in v0.0.6

func (m *QueryHeadObjectRequest) XXX_Size() int

func (*QueryHeadObjectRequest) XXX_Unmarshal added in v0.0.6

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

type QueryHeadObjectResponse added in v0.0.6

type QueryHeadObjectResponse struct {
	ObjectInfo *ObjectInfo `protobuf:"bytes,1,opt,name=object_info,json=objectInfo,proto3" json:"object_info,omitempty"`
}

func (*QueryHeadObjectResponse) Descriptor added in v0.0.6

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

func (*QueryHeadObjectResponse) GetObjectInfo added in v0.0.6

func (m *QueryHeadObjectResponse) GetObjectInfo() *ObjectInfo

func (*QueryHeadObjectResponse) Marshal added in v0.0.6

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

func (*QueryHeadObjectResponse) MarshalTo added in v0.0.6

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

func (*QueryHeadObjectResponse) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryHeadObjectResponse) ProtoMessage added in v0.0.6

func (*QueryHeadObjectResponse) ProtoMessage()

func (*QueryHeadObjectResponse) Reset added in v0.0.6

func (m *QueryHeadObjectResponse) Reset()

func (*QueryHeadObjectResponse) Size added in v0.0.6

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

func (*QueryHeadObjectResponse) String added in v0.0.6

func (m *QueryHeadObjectResponse) String() string

func (*QueryHeadObjectResponse) Unmarshal added in v0.0.6

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

func (*QueryHeadObjectResponse) XXX_DiscardUnknown added in v0.0.6

func (m *QueryHeadObjectResponse) XXX_DiscardUnknown()

func (*QueryHeadObjectResponse) XXX_Marshal added in v0.0.6

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

func (*QueryHeadObjectResponse) XXX_Merge added in v0.0.6

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

func (*QueryHeadObjectResponse) XXX_Size added in v0.0.6

func (m *QueryHeadObjectResponse) XXX_Size() int

func (*QueryHeadObjectResponse) XXX_Unmarshal added in v0.0.6

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

type QueryListBucketsRequest added in v0.0.6

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

func (*QueryListBucketsRequest) Descriptor added in v0.0.6

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

func (*QueryListBucketsRequest) GetPagination added in v0.0.6

func (m *QueryListBucketsRequest) GetPagination() *query.PageRequest

func (*QueryListBucketsRequest) Marshal added in v0.0.6

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

func (*QueryListBucketsRequest) MarshalTo added in v0.0.6

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

func (*QueryListBucketsRequest) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryListBucketsRequest) ProtoMessage added in v0.0.6

func (*QueryListBucketsRequest) ProtoMessage()

func (*QueryListBucketsRequest) Reset added in v0.0.6

func (m *QueryListBucketsRequest) Reset()

func (*QueryListBucketsRequest) Size added in v0.0.6

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

func (*QueryListBucketsRequest) String added in v0.0.6

func (m *QueryListBucketsRequest) String() string

func (*QueryListBucketsRequest) Unmarshal added in v0.0.6

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

func (*QueryListBucketsRequest) XXX_DiscardUnknown added in v0.0.6

func (m *QueryListBucketsRequest) XXX_DiscardUnknown()

func (*QueryListBucketsRequest) XXX_Marshal added in v0.0.6

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

func (*QueryListBucketsRequest) XXX_Merge added in v0.0.6

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

func (*QueryListBucketsRequest) XXX_Size added in v0.0.6

func (m *QueryListBucketsRequest) XXX_Size() int

func (*QueryListBucketsRequest) XXX_Unmarshal added in v0.0.6

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

type QueryListBucketsResponse added in v0.0.6

type QueryListBucketsResponse struct {
	BucketInfos []*BucketInfo       `protobuf:"bytes,1,rep,name=bucket_infos,json=bucketInfos,proto3" json:"bucket_infos,omitempty"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListBucketsResponse) Descriptor added in v0.0.6

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

func (*QueryListBucketsResponse) GetBucketInfos added in v0.0.6

func (m *QueryListBucketsResponse) GetBucketInfos() []*BucketInfo

func (*QueryListBucketsResponse) GetPagination added in v0.0.6

func (m *QueryListBucketsResponse) GetPagination() *query.PageResponse

func (*QueryListBucketsResponse) Marshal added in v0.0.6

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

func (*QueryListBucketsResponse) MarshalTo added in v0.0.6

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

func (*QueryListBucketsResponse) MarshalToSizedBuffer added in v0.0.6

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

func (*QueryListBucketsResponse) ProtoMessage added in v0.0.6

func (*QueryListBucketsResponse) ProtoMessage()

func (*QueryListBucketsResponse) Reset added in v0.0.6

func (m *QueryListBucketsResponse) Reset()

func (*QueryListBucketsResponse) Size added in v0.0.6

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

func (*QueryListBucketsResponse) String added in v0.0.6

func (m *QueryListBucketsResponse) String() string

func (*QueryListBucketsResponse) Unmarshal added in v0.0.6

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

func (*QueryListBucketsResponse) XXX_DiscardUnknown added in v0.0.6

func (m *QueryListBucketsResponse) XXX_DiscardUnknown()

func (*QueryListBucketsResponse) XXX_Marshal added in v0.0.6

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

func (*QueryListBucketsResponse) XXX_Merge added in v0.0.6

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

func (*QueryListBucketsResponse) XXX_Size added in v0.0.6

func (m *QueryListBucketsResponse) XXX_Size() int

func (*QueryListBucketsResponse) XXX_Unmarshal added in v0.0.6

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

type QueryListGroupRequest added in v0.0.8

type QueryListGroupRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	GroupOwner string             `protobuf:"bytes,2,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"`
}

func (*QueryListGroupRequest) Descriptor added in v0.0.8

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

func (*QueryListGroupRequest) GetGroupOwner added in v0.0.8

func (m *QueryListGroupRequest) GetGroupOwner() string

func (*QueryListGroupRequest) GetPagination added in v0.0.8

func (m *QueryListGroupRequest) GetPagination() *query.PageRequest

func (*QueryListGroupRequest) Marshal added in v0.0.8

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

func (*QueryListGroupRequest) MarshalTo added in v0.0.8

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

func (*QueryListGroupRequest) MarshalToSizedBuffer added in v0.0.8

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

func (*QueryListGroupRequest) ProtoMessage added in v0.0.8

func (*QueryListGroupRequest) ProtoMessage()

func (*QueryListGroupRequest) Reset added in v0.0.8

func (m *QueryListGroupRequest) Reset()

func (*QueryListGroupRequest) Size added in v0.0.8

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

func (*QueryListGroupRequest) String added in v0.0.8

func (m *QueryListGroupRequest) String() string

func (*QueryListGroupRequest) Unmarshal added in v0.0.8

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

func (*QueryListGroupRequest) XXX_DiscardUnknown added in v0.0.8

func (m *QueryListGroupRequest) XXX_DiscardUnknown()

func (*QueryListGroupRequest) XXX_Marshal added in v0.0.8

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

func (*QueryListGroupRequest) XXX_Merge added in v0.0.8

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

func (*QueryListGroupRequest) XXX_Size added in v0.0.8

func (m *QueryListGroupRequest) XXX_Size() int

func (*QueryListGroupRequest) XXX_Unmarshal added in v0.0.8

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

type QueryListGroupResponse added in v0.0.8

type QueryListGroupResponse struct {
	Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	GroupInfos []*GroupInfo        `protobuf:"bytes,2,rep,name=group_infos,json=groupInfos,proto3" json:"group_infos,omitempty"`
}

func (*QueryListGroupResponse) Descriptor added in v0.0.8

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

func (*QueryListGroupResponse) GetGroupInfos added in v0.0.8

func (m *QueryListGroupResponse) GetGroupInfos() []*GroupInfo

func (*QueryListGroupResponse) GetPagination added in v0.0.8

func (m *QueryListGroupResponse) GetPagination() *query.PageResponse

func (*QueryListGroupResponse) Marshal added in v0.0.8

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

func (*QueryListGroupResponse) MarshalTo added in v0.0.8

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

func (*QueryListGroupResponse) MarshalToSizedBuffer added in v0.0.8

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

func (*QueryListGroupResponse) ProtoMessage added in v0.0.8

func (*QueryListGroupResponse) ProtoMessage()

func (*QueryListGroupResponse) Reset added in v0.0.8

func (m *QueryListGroupResponse) Reset()

func (*QueryListGroupResponse) Size added in v0.0.8

func (m *QueryListGroupResponse) Size() (n int)

func (*QueryListGroupResponse) String added in v0.0.8

func (m *QueryListGroupResponse) String() string

func (*QueryListGroupResponse) Unmarshal added in v0.0.8

func (m *QueryListGroupResponse) Unmarshal(dAtA []byte) error

func (*QueryListGroupResponse) XXX_DiscardUnknown added in v0.0.8

func (m *QueryListGroupResponse) XXX_DiscardUnknown()

func (*QueryListGroupResponse) XXX_Marshal added in v0.0.8

func (m *QueryListGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListGroupResponse) XXX_Merge added in v0.0.8

func (m *QueryListGroupResponse) XXX_Merge(src proto.Message)

func (*QueryListGroupResponse) XXX_Size added in v0.0.8

func (m *QueryListGroupResponse) XXX_Size() int

func (*QueryListGroupResponse) XXX_Unmarshal added in v0.0.8

func (m *QueryListGroupResponse) XXX_Unmarshal(b []byte) error

type QueryListObjectsByBucketIdRequest added in v0.0.7

type QueryListObjectsByBucketIdRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	BucketId   string             `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
}

func (*QueryListObjectsByBucketIdRequest) Descriptor added in v0.0.7

func (*QueryListObjectsByBucketIdRequest) Descriptor() ([]byte, []int)

func (*QueryListObjectsByBucketIdRequest) GetBucketId added in v0.0.7

func (m *QueryListObjectsByBucketIdRequest) GetBucketId() string

func (*QueryListObjectsByBucketIdRequest) GetPagination added in v0.0.7

func (*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 (*QueryListObjectsByBucketIdRequest) Size added in v0.0.7

func (m *QueryListObjectsByBucketIdRequest) Size() (n int)

func (*QueryListObjectsByBucketIdRequest) String added in v0.0.7

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 (*QueryListObjectsByBucketIdRequest) XXX_Size added in v0.0.7

func (m *QueryListObjectsByBucketIdRequest) XXX_Size() int

func (*QueryListObjectsByBucketIdRequest) XXX_Unmarshal added in v0.0.7

func (m *QueryListObjectsByBucketIdRequest) XXX_Unmarshal(b []byte) error

type QueryListObjectsRequest added in v0.0.6

type QueryListObjectsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	BucketName string             `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func (*QueryListObjectsRequest) Descriptor added in v0.0.6

func (*QueryListObjectsRequest) Descriptor() ([]byte, []int)

func (*QueryListObjectsRequest) GetBucketName added in v0.0.6

func (m *QueryListObjectsRequest) GetBucketName() string

func (*QueryListObjectsRequest) GetPagination added in v0.0.6

func (m *QueryListObjectsRequest) GetPagination() *query.PageRequest

func (*QueryListObjectsRequest) Marshal added in v0.0.6

func (m *QueryListObjectsRequest) Marshal() (dAtA []byte, err error)

func (*QueryListObjectsRequest) MarshalTo added in v0.0.6

func (m *QueryListObjectsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListObjectsRequest) MarshalToSizedBuffer added in v0.0.6

func (m *QueryListObjectsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListObjectsRequest) ProtoMessage added in v0.0.6

func (*QueryListObjectsRequest) ProtoMessage()

func (*QueryListObjectsRequest) Reset added in v0.0.6

func (m *QueryListObjectsRequest) Reset()

func (*QueryListObjectsRequest) Size added in v0.0.6

func (m *QueryListObjectsRequest) Size() (n int)

func (*QueryListObjectsRequest) String added in v0.0.6

func (m *QueryListObjectsRequest) String() string

func (*QueryListObjectsRequest) Unmarshal added in v0.0.6

func (m *QueryListObjectsRequest) Unmarshal(dAtA []byte) error

func (*QueryListObjectsRequest) XXX_DiscardUnknown added in v0.0.6

func (m *QueryListObjectsRequest) XXX_DiscardUnknown()

func (*QueryListObjectsRequest) XXX_Marshal added in v0.0.6

func (m *QueryListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListObjectsRequest) XXX_Merge added in v0.0.6

func (m *QueryListObjectsRequest) XXX_Merge(src proto.Message)

func (*QueryListObjectsRequest) XXX_Size added in v0.0.6

func (m *QueryListObjectsRequest) XXX_Size() int

func (*QueryListObjectsRequest) XXX_Unmarshal added in v0.0.6

func (m *QueryListObjectsRequest) XXX_Unmarshal(b []byte) error

type QueryListObjectsResponse added in v0.0.6

type QueryListObjectsResponse struct {
	ObjectInfos []*ObjectInfo       `protobuf:"bytes,1,rep,name=object_infos,json=objectInfos,proto3" json:"object_infos,omitempty"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListObjectsResponse) Descriptor added in v0.0.6

func (*QueryListObjectsResponse) Descriptor() ([]byte, []int)

func (*QueryListObjectsResponse) GetObjectInfos added in v0.0.6

func (m *QueryListObjectsResponse) GetObjectInfos() []*ObjectInfo

func (*QueryListObjectsResponse) GetPagination added in v0.0.6

func (m *QueryListObjectsResponse) GetPagination() *query.PageResponse

func (*QueryListObjectsResponse) Marshal added in v0.0.6

func (m *QueryListObjectsResponse) Marshal() (dAtA []byte, err error)

func (*QueryListObjectsResponse) MarshalTo added in v0.0.6

func (m *QueryListObjectsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListObjectsResponse) MarshalToSizedBuffer added in v0.0.6

func (m *QueryListObjectsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListObjectsResponse) ProtoMessage added in v0.0.6

func (*QueryListObjectsResponse) ProtoMessage()

func (*QueryListObjectsResponse) Reset added in v0.0.6

func (m *QueryListObjectsResponse) Reset()

func (*QueryListObjectsResponse) Size added in v0.0.6

func (m *QueryListObjectsResponse) Size() (n int)

func (*QueryListObjectsResponse) String added in v0.0.6

func (m *QueryListObjectsResponse) String() string

func (*QueryListObjectsResponse) Unmarshal added in v0.0.6

func (m *QueryListObjectsResponse) Unmarshal(dAtA []byte) error

func (*QueryListObjectsResponse) XXX_DiscardUnknown added in v0.0.6

func (m *QueryListObjectsResponse) XXX_DiscardUnknown()

func (*QueryListObjectsResponse) XXX_Marshal added in v0.0.6

func (m *QueryListObjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListObjectsResponse) XXX_Merge added in v0.0.6

func (m *QueryListObjectsResponse) XXX_Merge(src proto.Message)

func (*QueryListObjectsResponse) XXX_Size added in v0.0.6

func (m *QueryListObjectsResponse) XXX_Size() int

func (*QueryListObjectsResponse) XXX_Unmarshal added in v0.0.6

func (m *QueryListObjectsResponse) XXX_Unmarshal(b []byte) error

type QueryNFTRequest added in v0.0.7

type QueryNFTRequest struct {
	TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}

func (*QueryNFTRequest) Descriptor added in v0.0.7

func (*QueryNFTRequest) Descriptor() ([]byte, []int)

func (*QueryNFTRequest) GetTokenId added in v0.0.7

func (m *QueryNFTRequest) GetTokenId() string

func (*QueryNFTRequest) Marshal added in v0.0.7

func (m *QueryNFTRequest) Marshal() (dAtA []byte, err error)

func (*QueryNFTRequest) MarshalTo added in v0.0.7

func (m *QueryNFTRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNFTRequest) MarshalToSizedBuffer added in v0.0.7

func (m *QueryNFTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNFTRequest) ProtoMessage added in v0.0.7

func (*QueryNFTRequest) ProtoMessage()

func (*QueryNFTRequest) Reset added in v0.0.7

func (m *QueryNFTRequest) Reset()

func (*QueryNFTRequest) Size added in v0.0.7

func (m *QueryNFTRequest) Size() (n int)

func (*QueryNFTRequest) String added in v0.0.7

func (m *QueryNFTRequest) String() string

func (*QueryNFTRequest) Unmarshal added in v0.0.7

func (m *QueryNFTRequest) Unmarshal(dAtA []byte) error

func (*QueryNFTRequest) XXX_DiscardUnknown added in v0.0.7

func (m *QueryNFTRequest) XXX_DiscardUnknown()

func (*QueryNFTRequest) XXX_Marshal added in v0.0.7

func (m *QueryNFTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNFTRequest) XXX_Merge added in v0.0.7

func (m *QueryNFTRequest) XXX_Merge(src proto.Message)

func (*QueryNFTRequest) XXX_Size added in v0.0.7

func (m *QueryNFTRequest) XXX_Size() int

func (*QueryNFTRequest) XXX_Unmarshal added in v0.0.7

func (m *QueryNFTRequest) XXX_Unmarshal(b []byte) error

type QueryObjectNFTResponse added in v0.0.7

type QueryObjectNFTResponse struct {
	MetaData *ObjectMetaData `protobuf:"bytes,1,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"`
}

func (*QueryObjectNFTResponse) Descriptor added in v0.0.7

func (*QueryObjectNFTResponse) Descriptor() ([]byte, []int)

func (*QueryObjectNFTResponse) GetMetaData added in v0.0.7

func (m *QueryObjectNFTResponse) GetMetaData() *ObjectMetaData

func (*QueryObjectNFTResponse) Marshal added in v0.0.7

func (m *QueryObjectNFTResponse) Marshal() (dAtA []byte, err error)

func (*QueryObjectNFTResponse) MarshalTo added in v0.0.7

func (m *QueryObjectNFTResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryObjectNFTResponse) MarshalToSizedBuffer added in v0.0.7

func (m *QueryObjectNFTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryObjectNFTResponse) ProtoMessage added in v0.0.7

func (*QueryObjectNFTResponse) ProtoMessage()

func (*QueryObjectNFTResponse) Reset added in v0.0.7

func (m *QueryObjectNFTResponse) Reset()

func (*QueryObjectNFTResponse) Size added in v0.0.7

func (m *QueryObjectNFTResponse) Size() (n int)

func (*QueryObjectNFTResponse) String added in v0.0.7

func (m *QueryObjectNFTResponse) String() string

func (*QueryObjectNFTResponse) Unmarshal added in v0.0.7

func (m *QueryObjectNFTResponse) Unmarshal(dAtA []byte) error

func (*QueryObjectNFTResponse) XXX_DiscardUnknown added in v0.0.7

func (m *QueryObjectNFTResponse) XXX_DiscardUnknown()

func (*QueryObjectNFTResponse) XXX_Marshal added in v0.0.7

func (m *QueryObjectNFTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryObjectNFTResponse) XXX_Merge added in v0.0.7

func (m *QueryObjectNFTResponse) XXX_Merge(src proto.Message)

func (*QueryObjectNFTResponse) XXX_Size added in v0.0.7

func (m *QueryObjectNFTResponse) XXX_Size() int

func (*QueryObjectNFTResponse) XXX_Unmarshal added in v0.0.7

func (m *QueryObjectNFTResponse) XXX_Unmarshal(b []byte) error

type QueryParamsByTimestampRequest added in v0.2.2

type QueryParamsByTimestampRequest struct {
	// the timestamp of the block time you want to query
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

QueryVersionedParamsRequest is request type for the Query/Params RPC method with timestamp.

func (*QueryParamsByTimestampRequest) Descriptor added in v0.2.2

func (*QueryParamsByTimestampRequest) Descriptor() ([]byte, []int)

func (*QueryParamsByTimestampRequest) GetTimestamp added in v0.2.2

func (m *QueryParamsByTimestampRequest) GetTimestamp() int64

func (*QueryParamsByTimestampRequest) Marshal added in v0.2.2

func (m *QueryParamsByTimestampRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsByTimestampRequest) MarshalTo added in v0.2.2

func (m *QueryParamsByTimestampRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsByTimestampRequest) MarshalToSizedBuffer added in v0.2.2

func (m *QueryParamsByTimestampRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsByTimestampRequest) ProtoMessage added in v0.2.2

func (*QueryParamsByTimestampRequest) ProtoMessage()

func (*QueryParamsByTimestampRequest) Reset added in v0.2.2

func (m *QueryParamsByTimestampRequest) Reset()

func (*QueryParamsByTimestampRequest) Size added in v0.2.2

func (m *QueryParamsByTimestampRequest) Size() (n int)

func (*QueryParamsByTimestampRequest) String added in v0.2.2

func (*QueryParamsByTimestampRequest) Unmarshal added in v0.2.2

func (m *QueryParamsByTimestampRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsByTimestampRequest) XXX_DiscardUnknown added in v0.2.2

func (m *QueryParamsByTimestampRequest) XXX_DiscardUnknown()

func (*QueryParamsByTimestampRequest) XXX_Marshal added in v0.2.2

func (m *QueryParamsByTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsByTimestampRequest) XXX_Merge added in v0.2.2

func (m *QueryParamsByTimestampRequest) XXX_Merge(src proto.Message)

func (*QueryParamsByTimestampRequest) XXX_Size added in v0.2.2

func (m *QueryParamsByTimestampRequest) XXX_Size() int

func (*QueryParamsByTimestampRequest) XXX_Unmarshal added in v0.2.2

func (m *QueryParamsByTimestampRequest) XXX_Unmarshal(b []byte) error

type QueryParamsByTimestampResponse added in v0.2.2

type QueryParamsByTimestampResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryVersionedParamsResponse is response type for the Query/Params RPC method with timestamp.

func (*QueryParamsByTimestampResponse) Descriptor added in v0.2.2

func (*QueryParamsByTimestampResponse) Descriptor() ([]byte, []int)

func (*QueryParamsByTimestampResponse) GetParams added in v0.2.2

func (m *QueryParamsByTimestampResponse) GetParams() Params

func (*QueryParamsByTimestampResponse) Marshal added in v0.2.2

func (m *QueryParamsByTimestampResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsByTimestampResponse) MarshalTo added in v0.2.2

func (m *QueryParamsByTimestampResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsByTimestampResponse) MarshalToSizedBuffer added in v0.2.2

func (m *QueryParamsByTimestampResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsByTimestampResponse) ProtoMessage added in v0.2.2

func (*QueryParamsByTimestampResponse) ProtoMessage()

func (*QueryParamsByTimestampResponse) Reset added in v0.2.2

func (m *QueryParamsByTimestampResponse) Reset()

func (*QueryParamsByTimestampResponse) Size added in v0.2.2

func (m *QueryParamsByTimestampResponse) Size() (n int)

func (*QueryParamsByTimestampResponse) String added in v0.2.2

func (*QueryParamsByTimestampResponse) Unmarshal added in v0.2.2

func (m *QueryParamsByTimestampResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsByTimestampResponse) XXX_DiscardUnknown added in v0.2.2

func (m *QueryParamsByTimestampResponse) XXX_DiscardUnknown()

func (*QueryParamsByTimestampResponse) XXX_Marshal added in v0.2.2

func (m *QueryParamsByTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsByTimestampResponse) XXX_Merge added in v0.2.2

func (m *QueryParamsByTimestampResponse) XXX_Merge(src proto.Message)

func (*QueryParamsByTimestampResponse) XXX_Size added in v0.2.2

func (m *QueryParamsByTimestampResponse) XXX_Size() int

func (*QueryParamsByTimestampResponse) XXX_Unmarshal added in v0.2.2

func (m *QueryParamsByTimestampResponse) 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 QueryPolicyByIdRequest added in v0.2.0

type QueryPolicyByIdRequest struct {
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
}

func (*QueryPolicyByIdRequest) Descriptor added in v0.2.0

func (*QueryPolicyByIdRequest) Descriptor() ([]byte, []int)

func (*QueryPolicyByIdRequest) GetPolicyId added in v0.2.0

func (m *QueryPolicyByIdRequest) GetPolicyId() string

func (*QueryPolicyByIdRequest) Marshal added in v0.2.0

func (m *QueryPolicyByIdRequest) Marshal() (dAtA []byte, err error)

func (*QueryPolicyByIdRequest) MarshalTo added in v0.2.0

func (m *QueryPolicyByIdRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPolicyByIdRequest) MarshalToSizedBuffer added in v0.2.0

func (m *QueryPolicyByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPolicyByIdRequest) ProtoMessage added in v0.2.0

func (*QueryPolicyByIdRequest) ProtoMessage()

func (*QueryPolicyByIdRequest) Reset added in v0.2.0

func (m *QueryPolicyByIdRequest) Reset()

func (*QueryPolicyByIdRequest) Size added in v0.2.0

func (m *QueryPolicyByIdRequest) Size() (n int)

func (*QueryPolicyByIdRequest) String added in v0.2.0

func (m *QueryPolicyByIdRequest) String() string

func (*QueryPolicyByIdRequest) Unmarshal added in v0.2.0

func (m *QueryPolicyByIdRequest) Unmarshal(dAtA []byte) error

func (*QueryPolicyByIdRequest) XXX_DiscardUnknown added in v0.2.0

func (m *QueryPolicyByIdRequest) XXX_DiscardUnknown()

func (*QueryPolicyByIdRequest) XXX_Marshal added in v0.2.0

func (m *QueryPolicyByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPolicyByIdRequest) XXX_Merge added in v0.2.0

func (m *QueryPolicyByIdRequest) XXX_Merge(src proto.Message)

func (*QueryPolicyByIdRequest) XXX_Size added in v0.2.0

func (m *QueryPolicyByIdRequest) XXX_Size() int

func (*QueryPolicyByIdRequest) XXX_Unmarshal added in v0.2.0

func (m *QueryPolicyByIdRequest) XXX_Unmarshal(b []byte) error

type QueryPolicyByIdResponse added in v0.2.0

type QueryPolicyByIdResponse struct {
	Policy *types.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
}

func (*QueryPolicyByIdResponse) Descriptor added in v0.2.0

func (*QueryPolicyByIdResponse) Descriptor() ([]byte, []int)

func (*QueryPolicyByIdResponse) GetPolicy added in v0.2.0

func (m *QueryPolicyByIdResponse) GetPolicy() *types.Policy

func (*QueryPolicyByIdResponse) Marshal added in v0.2.0

func (m *QueryPolicyByIdResponse) Marshal() (dAtA []byte, err error)

func (*QueryPolicyByIdResponse) MarshalTo added in v0.2.0

func (m *QueryPolicyByIdResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPolicyByIdResponse) MarshalToSizedBuffer added in v0.2.0

func (m *QueryPolicyByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPolicyByIdResponse) ProtoMessage added in v0.2.0

func (*QueryPolicyByIdResponse) ProtoMessage()

func (*QueryPolicyByIdResponse) Reset added in v0.2.0

func (m *QueryPolicyByIdResponse) Reset()

func (*QueryPolicyByIdResponse) Size added in v0.2.0

func (m *QueryPolicyByIdResponse) Size() (n int)

func (*QueryPolicyByIdResponse) String added in v0.2.0

func (m *QueryPolicyByIdResponse) String() string

func (*QueryPolicyByIdResponse) Unmarshal added in v0.2.0

func (m *QueryPolicyByIdResponse) Unmarshal(dAtA []byte) error

func (*QueryPolicyByIdResponse) XXX_DiscardUnknown added in v0.2.0

func (m *QueryPolicyByIdResponse) XXX_DiscardUnknown()

func (*QueryPolicyByIdResponse) XXX_Marshal added in v0.2.0

func (m *QueryPolicyByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPolicyByIdResponse) XXX_Merge added in v0.2.0

func (m *QueryPolicyByIdResponse) XXX_Merge(src proto.Message)

func (*QueryPolicyByIdResponse) XXX_Size added in v0.2.0

func (m *QueryPolicyByIdResponse) XXX_Size() int

func (*QueryPolicyByIdResponse) XXX_Unmarshal added in v0.2.0

func (m *QueryPolicyByIdResponse) XXX_Unmarshal(b []byte) error

type QueryPolicyForAccountRequest added in v0.0.8

type QueryPolicyForAccountRequest struct {
	Resource         string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	PrincipalAddress string `protobuf:"bytes,2,opt,name=principal_address,json=principalAddress,proto3" json:"principal_address,omitempty"`
}

func (*QueryPolicyForAccountRequest) Descriptor added in v0.0.8

func (*QueryPolicyForAccountRequest) Descriptor() ([]byte, []int)

func (*QueryPolicyForAccountRequest) GetPrincipalAddress added in v0.0.8

func (m *QueryPolicyForAccountRequest) GetPrincipalAddress() string

func (*QueryPolicyForAccountRequest) GetResource added in v0.0.8

func (m *QueryPolicyForAccountRequest) GetResource() string

func (*QueryPolicyForAccountRequest) Marshal added in v0.0.8

func (m *QueryPolicyForAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryPolicyForAccountRequest) MarshalTo added in v0.0.8

func (m *QueryPolicyForAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPolicyForAccountRequest) MarshalToSizedBuffer added in v0.0.8

func (m *QueryPolicyForAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPolicyForAccountRequest) ProtoMessage added in v0.0.8

func (*QueryPolicyForAccountRequest) ProtoMessage()

func (*QueryPolicyForAccountRequest) Reset added in v0.0.8

func (m *QueryPolicyForAccountRequest) Reset()

func (*QueryPolicyForAccountRequest) Size added in v0.0.8

func (m *QueryPolicyForAccountRequest) Size() (n int)

func (*QueryPolicyForAccountRequest) String added in v0.0.8

func (*QueryPolicyForAccountRequest) Unmarshal added in v0.0.8

func (m *QueryPolicyForAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryPolicyForAccountRequest) XXX_DiscardUnknown added in v0.0.8

func (m *QueryPolicyForAccountRequest) XXX_DiscardUnknown()

func (*QueryPolicyForAccountRequest) XXX_Marshal added in v0.0.8

func (m *QueryPolicyForAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPolicyForAccountRequest) XXX_Merge added in v0.0.8

func (m *QueryPolicyForAccountRequest) XXX_Merge(src proto.Message)

func (*QueryPolicyForAccountRequest) XXX_Size added in v0.0.8

func (m *QueryPolicyForAccountRequest) XXX_Size() int

func (*QueryPolicyForAccountRequest) XXX_Unmarshal added in v0.0.8

func (m *QueryPolicyForAccountRequest) XXX_Unmarshal(b []byte) error

type QueryPolicyForAccountResponse added in v0.0.8

type QueryPolicyForAccountResponse struct {
	Policy *types.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
}

func (*QueryPolicyForAccountResponse) Descriptor added in v0.0.8

func (*QueryPolicyForAccountResponse) Descriptor() ([]byte, []int)

func (*QueryPolicyForAccountResponse) GetPolicy added in v0.0.8

func (m *QueryPolicyForAccountResponse) GetPolicy() *types.Policy

func (*QueryPolicyForAccountResponse) Marshal added in v0.0.8

func (m *QueryPolicyForAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryPolicyForAccountResponse) MarshalTo added in v0.0.8

func (m *QueryPolicyForAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPolicyForAccountResponse) MarshalToSizedBuffer added in v0.0.8

func (m *QueryPolicyForAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPolicyForAccountResponse) ProtoMessage added in v0.0.8

func (*QueryPolicyForAccountResponse) ProtoMessage()

func (*QueryPolicyForAccountResponse) Reset added in v0.0.8

func (m *QueryPolicyForAccountResponse) Reset()

func (*QueryPolicyForAccountResponse) Size added in v0.0.8

func (m *QueryPolicyForAccountResponse) Size() (n int)

func (*QueryPolicyForAccountResponse) String added in v0.0.8

func (*QueryPolicyForAccountResponse) Unmarshal added in v0.0.8

func (m *QueryPolicyForAccountResponse) Unmarshal(dAtA []byte) error

func (*QueryPolicyForAccountResponse) XXX_DiscardUnknown added in v0.0.8

func (m *QueryPolicyForAccountResponse) XXX_DiscardUnknown()

func (*QueryPolicyForAccountResponse) XXX_Marshal added in v0.0.8

func (m *QueryPolicyForAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPolicyForAccountResponse) XXX_Merge added in v0.0.8

func (m *QueryPolicyForAccountResponse) XXX_Merge(src proto.Message)

func (*QueryPolicyForAccountResponse) XXX_Size added in v0.0.8

func (m *QueryPolicyForAccountResponse) XXX_Size() int

func (*QueryPolicyForAccountResponse) XXX_Unmarshal added in v0.0.8

func (m *QueryPolicyForAccountResponse) XXX_Unmarshal(b []byte) error

type QueryPolicyForGroupRequest added in v0.0.8

type QueryPolicyForGroupRequest struct {
	Resource         string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	PrincipalGroupId string `protobuf:"bytes,2,opt,name=principal_group_id,json=principalGroupId,proto3" json:"principal_group_id,omitempty"`
}

func (*QueryPolicyForGroupRequest) Descriptor added in v0.0.8

func (*QueryPolicyForGroupRequest) Descriptor() ([]byte, []int)

func (*QueryPolicyForGroupRequest) GetPrincipalGroupId added in v0.0.8

func (m *QueryPolicyForGroupRequest) GetPrincipalGroupId() string

func (*QueryPolicyForGroupRequest) GetResource added in v0.0.8

func (m *QueryPolicyForGroupRequest) GetResource() string

func (*QueryPolicyForGroupRequest) Marshal added in v0.0.8

func (m *QueryPolicyForGroupRequest) Marshal() (dAtA []byte, err error)

func (*QueryPolicyForGroupRequest) MarshalTo added in v0.0.8

func (m *QueryPolicyForGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPolicyForGroupRequest) MarshalToSizedBuffer added in v0.0.8

func (m *QueryPolicyForGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPolicyForGroupRequest) ProtoMessage added in v0.0.8

func (*QueryPolicyForGroupRequest) ProtoMessage()

func (*QueryPolicyForGroupRequest) Reset added in v0.0.8

func (m *QueryPolicyForGroupRequest) Reset()

func (*QueryPolicyForGroupRequest) Size added in v0.0.8

func (m *QueryPolicyForGroupRequest) Size() (n int)

func (*QueryPolicyForGroupRequest) String added in v0.0.8

func (m *QueryPolicyForGroupRequest) String() string

func (*QueryPolicyForGroupRequest) Unmarshal added in v0.0.8

func (m *QueryPolicyForGroupRequest) Unmarshal(dAtA []byte) error

func (*QueryPolicyForGroupRequest) XXX_DiscardUnknown added in v0.0.8

func (m *QueryPolicyForGroupRequest) XXX_DiscardUnknown()

func (*QueryPolicyForGroupRequest) XXX_Marshal added in v0.0.8

func (m *QueryPolicyForGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPolicyForGroupRequest) XXX_Merge added in v0.0.8

func (m *QueryPolicyForGroupRequest) XXX_Merge(src proto.Message)

func (*QueryPolicyForGroupRequest) XXX_Size added in v0.0.8

func (m *QueryPolicyForGroupRequest) XXX_Size() int

func (*QueryPolicyForGroupRequest) XXX_Unmarshal added in v0.0.8

func (m *QueryPolicyForGroupRequest) XXX_Unmarshal(b []byte) error

type QueryPolicyForGroupResponse added in v0.0.8

type QueryPolicyForGroupResponse struct {
	Policy *types.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
}

func (*QueryPolicyForGroupResponse) Descriptor added in v0.0.8

func (*QueryPolicyForGroupResponse) Descriptor() ([]byte, []int)

func (*QueryPolicyForGroupResponse) GetPolicy added in v0.0.8

func (m *QueryPolicyForGroupResponse) GetPolicy() *types.Policy

func (*QueryPolicyForGroupResponse) Marshal added in v0.0.8

func (m *QueryPolicyForGroupResponse) Marshal() (dAtA []byte, err error)

func (*QueryPolicyForGroupResponse) MarshalTo added in v0.0.8

func (m *QueryPolicyForGroupResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPolicyForGroupResponse) MarshalToSizedBuffer added in v0.0.8

func (m *QueryPolicyForGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPolicyForGroupResponse) ProtoMessage added in v0.0.8

func (*QueryPolicyForGroupResponse) ProtoMessage()

func (*QueryPolicyForGroupResponse) Reset added in v0.0.8

func (m *QueryPolicyForGroupResponse) Reset()

func (*QueryPolicyForGroupResponse) Size added in v0.0.8

func (m *QueryPolicyForGroupResponse) Size() (n int)

func (*QueryPolicyForGroupResponse) String added in v0.0.8

func (m *QueryPolicyForGroupResponse) String() string

func (*QueryPolicyForGroupResponse) Unmarshal added in v0.0.8

func (m *QueryPolicyForGroupResponse) Unmarshal(dAtA []byte) error

func (*QueryPolicyForGroupResponse) XXX_DiscardUnknown added in v0.0.8

func (m *QueryPolicyForGroupResponse) XXX_DiscardUnknown()

func (*QueryPolicyForGroupResponse) XXX_Marshal added in v0.0.8

func (m *QueryPolicyForGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPolicyForGroupResponse) XXX_Merge added in v0.0.8

func (m *QueryPolicyForGroupResponse) XXX_Merge(src proto.Message)

func (*QueryPolicyForGroupResponse) XXX_Size added in v0.0.8

func (m *QueryPolicyForGroupResponse) XXX_Size() int

func (*QueryPolicyForGroupResponse) XXX_Unmarshal added in v0.0.8

func (m *QueryPolicyForGroupResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Parameters queries the parameters of the module.
	QueryParamsByTimestamp(context.Context, *QueryParamsByTimestampRequest) (*QueryParamsByTimestampResponse, error)
	// Queries a bucket with specify name.
	HeadBucket(context.Context, *QueryHeadBucketRequest) (*QueryHeadBucketResponse, error)
	// Queries a bucket by id
	HeadBucketById(context.Context, *QueryHeadBucketByIdRequest) (*QueryHeadBucketResponse, error)
	// Queries a bucket with EIP712 standard metadata info
	HeadBucketNFT(context.Context, *QueryNFTRequest) (*QueryBucketNFTResponse, error)
	// Queries a object with specify name.
	HeadObject(context.Context, *QueryHeadObjectRequest) (*QueryHeadObjectResponse, error)
	// Queries an object by id
	HeadObjectById(context.Context, *QueryHeadObjectByIdRequest) (*QueryHeadObjectResponse, error)
	// Queries a object with EIP712 standard metadata info
	HeadObjectNFT(context.Context, *QueryNFTRequest) (*QueryObjectNFTResponse, error)
	// Queries a list of bucket items.
	ListBuckets(context.Context, *QueryListBucketsRequest) (*QueryListBucketsResponse, error)
	// Queries a list of object items under the bucket.
	ListObjects(context.Context, *QueryListObjectsRequest) (*QueryListObjectsResponse, error)
	// Queries a list of object items under the bucket.
	ListObjectsByBucketId(context.Context, *QueryListObjectsByBucketIdRequest) (*QueryListObjectsResponse, error)
	// Queries a group with EIP712 standard metadata info
	HeadGroupNFT(context.Context, *QueryNFTRequest) (*QueryGroupNFTResponse, error)
	// Queries a policy which grants permission to account
	QueryPolicyForAccount(context.Context, *QueryPolicyForAccountRequest) (*QueryPolicyForAccountResponse, error)
	// Queries a list of VerifyPermission items.
	VerifyPermission(context.Context, *QueryVerifyPermissionRequest) (*QueryVerifyPermissionResponse, error)
	// Queries a group with specify owner and name .
	HeadGroup(context.Context, *QueryHeadGroupRequest) (*QueryHeadGroupResponse, error)
	// Queries a list of ListGroup items.
	ListGroup(context.Context, *QueryListGroupRequest) (*QueryListGroupResponse, error)
	// Queries a list of HeadGroupMember items.
	HeadGroupMember(context.Context, *QueryHeadGroupMemberRequest) (*QueryHeadGroupMemberResponse, error)
	// Queries a policy that grants permission to a group
	QueryPolicyForGroup(context.Context, *QueryPolicyForGroupRequest) (*QueryPolicyForGroupResponse, error)
	// Queries a policy by policy id
	QueryPolicyById(context.Context, *QueryPolicyByIdRequest) (*QueryPolicyByIdResponse, 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 `` /* 130-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 (*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=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 (*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 (*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 RawID added in v0.0.7

type RawID math.Uint

type RedundancyType

type RedundancyType int32

RedundancyType represents the redundancy algorithm type for object data, which can be either multi-replica or erasure coding.

const (
	REDUNDANCY_EC_TYPE      RedundancyType = 0
	REDUNDANCY_REPLICA_TYPE RedundancyType = 1
)

func (RedundancyType) EnumDescriptor

func (RedundancyType) EnumDescriptor() ([]byte, []int)

func (RedundancyType) String

func (x RedundancyType) String() string

type SecondarySpObjectsSize added in v0.0.7

type SecondarySpObjectsSize struct {
	// address is the address of the secondary sp
	SpAddress string `protobuf:"bytes,1,opt,name=sp_address,json=spAddress,proto3" json:"sp_address,omitempty"`
	// size is the total size of the objects in the secondary sp
	TotalChargeSize uint64 `protobuf:"varint,2,opt,name=total_charge_size,json=totalChargeSize,proto3" json:"total_charge_size,omitempty"`
}

secondary sp objects size statistics

func (*SecondarySpObjectsSize) Descriptor added in v0.0.7

func (*SecondarySpObjectsSize) Descriptor() ([]byte, []int)

func (*SecondarySpObjectsSize) GetSpAddress added in v0.0.7

func (m *SecondarySpObjectsSize) GetSpAddress() string

func (*SecondarySpObjectsSize) GetTotalChargeSize added in v0.0.7

func (m *SecondarySpObjectsSize) GetTotalChargeSize() uint64

func (*SecondarySpObjectsSize) Marshal added in v0.0.7

func (m *SecondarySpObjectsSize) Marshal() (dAtA []byte, err error)

func (*SecondarySpObjectsSize) MarshalTo added in v0.0.7

func (m *SecondarySpObjectsSize) MarshalTo(dAtA []byte) (int, error)

func (*SecondarySpObjectsSize) MarshalToSizedBuffer added in v0.0.7

func (m *SecondarySpObjectsSize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecondarySpObjectsSize) ProtoMessage added in v0.0.7

func (*SecondarySpObjectsSize) ProtoMessage()

func (*SecondarySpObjectsSize) Reset added in v0.0.7

func (m *SecondarySpObjectsSize) Reset()

func (*SecondarySpObjectsSize) Size added in v0.0.7

func (m *SecondarySpObjectsSize) Size() (n int)

func (*SecondarySpObjectsSize) String added in v0.0.7

func (m *SecondarySpObjectsSize) String() string

func (*SecondarySpObjectsSize) Unmarshal added in v0.0.7

func (m *SecondarySpObjectsSize) Unmarshal(dAtA []byte) error

func (*SecondarySpObjectsSize) XXX_DiscardUnknown added in v0.0.7

func (m *SecondarySpObjectsSize) XXX_DiscardUnknown()

func (*SecondarySpObjectsSize) XXX_Marshal added in v0.0.7

func (m *SecondarySpObjectsSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecondarySpObjectsSize) XXX_Merge added in v0.0.7

func (m *SecondarySpObjectsSize) XXX_Merge(src proto.Message)

func (*SecondarySpObjectsSize) XXX_Size added in v0.0.7

func (m *SecondarySpObjectsSize) XXX_Size() int

func (*SecondarySpObjectsSize) XXX_Unmarshal added in v0.0.7

func (m *SecondarySpObjectsSize) XXX_Unmarshal(b []byte) error

type SecondarySpSignDoc added in v0.0.6

type SecondarySpSignDoc struct {
	SpAddress string `protobuf:"bytes,1,opt,name=sp_address,json=spAddress,proto3" json:"sp_address,omitempty"`
	ObjectId  Uint   `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	Checksum  []byte `protobuf:"bytes,3,opt,name=checksum,proto3" json:"checksum,omitempty"`
}

SecondarySpSignDoc used to generate seal signature of secondary SP If the secondary SP only signs the checksum to declare the object pieces are saved, it might be reused by the primary SP to fake it's declaration. Then the primary SP can challenge and slash the secondary SP. So the id of the object is needed to prevent this.

func NewSecondarySpSignDoc added in v0.0.6

func NewSecondarySpSignDoc(spAddress sdk.AccAddress, objectID math.Uint, checksum []byte) *SecondarySpSignDoc

func (*SecondarySpSignDoc) Descriptor added in v0.0.6

func (*SecondarySpSignDoc) Descriptor() ([]byte, []int)

func (*SecondarySpSignDoc) GetChecksum added in v0.0.6

func (m *SecondarySpSignDoc) GetChecksum() []byte

func (*SecondarySpSignDoc) GetSignBytes added in v0.0.6

func (sr *SecondarySpSignDoc) GetSignBytes() []byte

func (*SecondarySpSignDoc) GetSpAddress added in v0.0.6

func (m *SecondarySpSignDoc) GetSpAddress() string

func (*SecondarySpSignDoc) Marshal added in v0.0.6

func (m *SecondarySpSignDoc) Marshal() (dAtA []byte, err error)

func (*SecondarySpSignDoc) MarshalTo added in v0.0.6

func (m *SecondarySpSignDoc) MarshalTo(dAtA []byte) (int, error)

func (*SecondarySpSignDoc) MarshalToSizedBuffer added in v0.0.6

func (m *SecondarySpSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecondarySpSignDoc) ProtoMessage added in v0.0.6

func (*SecondarySpSignDoc) ProtoMessage()

func (*SecondarySpSignDoc) Reset added in v0.0.6

func (m *SecondarySpSignDoc) Reset()

func (*SecondarySpSignDoc) Size added in v0.0.6

func (m *SecondarySpSignDoc) Size() (n int)

func (*SecondarySpSignDoc) String added in v0.0.6

func (m *SecondarySpSignDoc) String() string

func (*SecondarySpSignDoc) Unmarshal added in v0.0.6

func (m *SecondarySpSignDoc) Unmarshal(dAtA []byte) error

func (*SecondarySpSignDoc) XXX_DiscardUnknown added in v0.0.6

func (m *SecondarySpSignDoc) XXX_DiscardUnknown()

func (*SecondarySpSignDoc) XXX_Marshal added in v0.0.6

func (m *SecondarySpSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecondarySpSignDoc) XXX_Merge added in v0.0.6

func (m *SecondarySpSignDoc) XXX_Merge(src proto.Message)

func (*SecondarySpSignDoc) XXX_Size added in v0.0.6

func (m *SecondarySpSignDoc) XXX_Size() int

func (*SecondarySpSignDoc) XXX_Unmarshal added in v0.0.6

func (m *SecondarySpSignDoc) XXX_Unmarshal(b []byte) error

type SourceType

type SourceType int32

SourceType represents the source of resource creation, which can from Greenfield native or from a cross-chain transfer from BSC

const (
	SOURCE_TYPE_ORIGIN          SourceType = 0
	SOURCE_TYPE_BSC_CROSS_CHAIN SourceType = 1
	SOURCE_TYPE_MIRROR_PENDING  SourceType = 2
)

func (SourceType) EnumDescriptor

func (SourceType) EnumDescriptor() ([]byte, []int)

func (SourceType) String

func (x SourceType) String() string

type SpKeeper

type SpKeeper interface {
	GetStorageProvider(ctx sdk.Context, addr sdk.AccAddress) (sp *sptypes.StorageProvider, found bool)
	GetStorageProviderBySealAddr(ctx sdk.Context, sealAddr sdk.AccAddress) (sp *sptypes.StorageProvider, found bool)
	GetStorageProviderByGcAddr(ctx sdk.Context, gcAddr sdk.AccAddress) (sp *sptypes.StorageProvider, found bool)
	IsStorageProviderExistAndInService(ctx sdk.Context, addr sdk.AccAddress) error
	SetSpStoragePrice(ctx sdk.Context, SpStoragePrice sptypes.SpStoragePrice)
	SetSecondarySpStorePrice(ctx sdk.Context, secondarySpStorePrice sptypes.SecondarySpStorePrice)
	GetSpStoragePriceByTime(ctx sdk.Context, spAddr sdk.AccAddress, time int64) (val sptypes.SpStoragePrice, err 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) Descriptor() ([]byte, []int)

func (*Trait) GetTraitType added in v0.0.7

func (m *Trait) GetTraitType() string

func (*Trait) GetValue added in v0.0.7

func (m *Trait) GetValue() string

func (*Trait) Marshal added in v0.0.7

func (m *Trait) Marshal() (dAtA []byte, err error)

func (*Trait) MarshalTo added in v0.0.7

func (m *Trait) MarshalTo(dAtA []byte) (int, error)

func (*Trait) MarshalToSizedBuffer added in v0.0.7

func (m *Trait) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Trait) ProtoMessage added in v0.0.7

func (*Trait) ProtoMessage()

func (*Trait) Reset added in v0.0.7

func (m *Trait) Reset()

func (*Trait) Size added in v0.0.7

func (m *Trait) Size() (n int)

func (*Trait) String added in v0.0.7

func (m *Trait) String() string

func (*Trait) Unmarshal added in v0.0.7

func (m *Trait) Unmarshal(dAtA []byte) error

func (*Trait) XXX_DiscardUnknown added in v0.0.7

func (m *Trait) XXX_DiscardUnknown()

func (*Trait) XXX_Marshal added in v0.0.7

func (m *Trait) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trait) XXX_Merge added in v0.0.7

func (m *Trait) XXX_Merge(src proto.Message)

func (*Trait) XXX_Size added in v0.0.7

func (m *Trait) XXX_Size() int

func (*Trait) XXX_Unmarshal added in v0.0.7

func (m *Trait) XXX_Unmarshal(b []byte) error

type Uint

type Uint = sdkmath.Uint

func DecodeSequence added in v0.0.7

func DecodeSequence(bz []byte) Uint

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CancelCreateObject added in v0.0.6

func (*UnimplementedMsgServer) CopyObject

func (*UnimplementedMsgServer) CreateBucket

func (*UnimplementedMsgServer) CreateGroup

func (*UnimplementedMsgServer) CreateObject

func (*UnimplementedMsgServer) DeleteBucket

func (*UnimplementedMsgServer) DeleteGroup

func (*UnimplementedMsgServer) DeleteObject

func (*UnimplementedMsgServer) DeletePolicy added in v0.0.7

func (*UnimplementedMsgServer) DiscontinueBucket added in v0.1.2

func (*UnimplementedMsgServer) DiscontinueObject added in v0.1.2

func (*UnimplementedMsgServer) LeaveGroup

func (*UnimplementedMsgServer) MirrorBucket added in v0.0.9

func (*UnimplementedMsgServer) MirrorGroup added in v0.0.9

func (*UnimplementedMsgServer) MirrorObject added in v0.0.9

func (*UnimplementedMsgServer) PutPolicy added in v0.0.7

func (*UnimplementedMsgServer) RejectSealObject

func (*UnimplementedMsgServer) SealObject

func (*UnimplementedMsgServer) UpdateBucketInfo added in v0.0.6

func (*UnimplementedMsgServer) UpdateGroupExtra added in v0.2.2

func (*UnimplementedMsgServer) UpdateGroupMember

func (*UnimplementedMsgServer) UpdateObjectInfo added in v0.1.2

func (*UnimplementedMsgServer) UpdateParams added in v0.2.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) HeadBucket added in v0.0.6

func (*UnimplementedQueryServer) HeadBucketById added in v0.0.7

func (*UnimplementedQueryServer) HeadBucketNFT added in v0.0.7

func (*UnimplementedQueryServer) HeadGroup added in v0.0.8

func (*UnimplementedQueryServer) HeadGroupMember added in v0.0.8

func (*UnimplementedQueryServer) HeadGroupNFT added in v0.0.7

func (*UnimplementedQueryServer) HeadObject added in v0.0.6

func (*UnimplementedQueryServer) HeadObjectById added in v0.0.7

func (*UnimplementedQueryServer) HeadObjectNFT added in v0.0.7

func (*UnimplementedQueryServer) ListBuckets added in v0.0.6

func (*UnimplementedQueryServer) ListGroup added in v0.0.8

func (*UnimplementedQueryServer) ListObjects added in v0.0.6

func (*UnimplementedQueryServer) ListObjectsByBucketId added in v0.0.7

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) QueryParamsByTimestamp added in v0.2.2

func (*UnimplementedQueryServer) QueryPolicyById added in v0.2.0

func (*UnimplementedQueryServer) QueryPolicyForAccount added in v0.0.8

func (*UnimplementedQueryServer) QueryPolicyForGroup added in v0.0.8

func (*UnimplementedQueryServer) VerifyPermission added in v0.0.7

type UpdateGroupMemberAckPackage added in v0.0.9

type UpdateGroupMemberAckPackage struct {
	Status        uint8
	Id            *big.Int
	Operator      sdk.AccAddress
	OperationType uint8
	Members       []sdk.AccAddress
	ExtraData     []byte
}

func (UpdateGroupMemberAckPackage) MustSerialize added in v0.0.9

func (p UpdateGroupMemberAckPackage) MustSerialize() []byte

type UpdateGroupMemberSynPackage added in v0.0.9

type UpdateGroupMemberSynPackage struct {
	Operator      sdk.AccAddress
	GroupId       *big.Int
	OperationType uint8
	Members       []sdk.AccAddress
	ExtraData     []byte
}

func (UpdateGroupMemberSynPackage) GetMembers added in v0.0.9

func (p UpdateGroupMemberSynPackage) GetMembers() []string

func (UpdateGroupMemberSynPackage) ValidateBasic added in v0.0.9

func (p UpdateGroupMemberSynPackage) ValidateBasic() error

type VersionedParams added in v0.2.0

type VersionedParams 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 */
	// 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,4,opt,name=min_charge_size,json=minChargeSize,proto3" json:"min_charge_size,omitempty"`
}

VersionedParams defines the parameters for the storage module with multi version, each version store with different timestamp.

func (*VersionedParams) Descriptor added in v0.2.0

func (*VersionedParams) Descriptor() ([]byte, []int)

func (*VersionedParams) GetMaxSegmentSize added in v0.2.0

func (m *VersionedParams) GetMaxSegmentSize() uint64

func (*VersionedParams) GetMinChargeSize added in v0.2.0

func (m *VersionedParams) GetMinChargeSize() uint64

func (*VersionedParams) GetRedundantDataChunkNum added in v0.2.0

func (m *VersionedParams) GetRedundantDataChunkNum() uint32

func (*VersionedParams) GetRedundantParityChunkNum added in v0.2.0

func (m *VersionedParams) GetRedundantParityChunkNum() uint32

func (*VersionedParams) Marshal added in v0.2.0

func (m *VersionedParams) Marshal() (dAtA []byte, err error)

func (*VersionedParams) MarshalTo added in v0.2.0

func (m *VersionedParams) MarshalTo(dAtA []byte) (int, error)

func (*VersionedParams) MarshalToSizedBuffer added in v0.2.0

func (m *VersionedParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionedParams) ProtoMessage added in v0.2.0

func (*VersionedParams) ProtoMessage()

func (*VersionedParams) Reset added in v0.2.0

func (m *VersionedParams) Reset()

func (*VersionedParams) Size added in v0.2.0

func (m *VersionedParams) Size() (n int)

func (VersionedParams) String added in v0.2.0

func (p VersionedParams) String() string

String implements the Stringer interface.

func (*VersionedParams) Unmarshal added in v0.2.0

func (m *VersionedParams) Unmarshal(dAtA []byte) error

func (*VersionedParams) XXX_DiscardUnknown added in v0.2.0

func (m *VersionedParams) XXX_DiscardUnknown()

func (*VersionedParams) XXX_Marshal added in v0.2.0

func (m *VersionedParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionedParams) XXX_Merge added in v0.2.0

func (m *VersionedParams) XXX_Merge(src proto.Message)

func (*VersionedParams) XXX_Size added in v0.2.0

func (m *VersionedParams) XXX_Size() int

func (*VersionedParams) XXX_Unmarshal added in v0.2.0

func (m *VersionedParams) XXX_Unmarshal(b []byte) error

type VisibilityType added in v0.0.10

type VisibilityType int32

VisibilityType is the resources public status.

const (
	VISIBILITY_TYPE_UNSPECIFIED VisibilityType = 0
	VISIBILITY_TYPE_PUBLIC_READ VisibilityType = 1
	VISIBILITY_TYPE_PRIVATE     VisibilityType = 2
	// If the bucket Visibility is inherit, it's finally set to private. If the object Visibility is inherit, it's the same as bucket.
	VISIBILITY_TYPE_INHERIT VisibilityType = 3
)

func (VisibilityType) EnumDescriptor added in v0.0.10

func (VisibilityType) EnumDescriptor() ([]byte, []int)

func (VisibilityType) String added in v0.0.10

func (x VisibilityType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL