types

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: AGPL-3.0 Imports: 55 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"
	PermissionChannel = "permission"
	ExecutorChannel   = "executor"

	BucketChannelId     sdk.ChannelID = 4
	ObjectChannelId     sdk.ChannelID = 5
	GroupChannelId      sdk.ChannelID = 6
	PermissionChannelId sdk.ChannelID = 7
	ExecutorChannelId   sdk.ChannelID = 9

	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

	// permission operation types
	OperationCreatePolicy uint8 = 2
	OperationDeletePolicy uint8 = 3
)
View Source
const (
	StatusSuccess = 0
	StatusFail    = 1
)
View Source
const (
	OperationAddGroupMember    uint8 = 0
	OperationDeleteGroupMember uint8 = 1
	OperationRenewGroupMember  uint8 = 2
)
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"
	TypeMsgToggleSPAsDelegatedAgent = "toggle_sp_as_delegated_agent"

	// For object
	TypeMsgCopyObject   = "copy_object"
	TypeMsgCreateObject = "create_object"
	TypeMsgDeleteObject = "delete_object"
	TypeMsgSealObject   = "seal_object"
	TypeMsgSealObjectV2 = "seal_object_v2"

	TypeMsgRejectSealObject            = "reject_seal_object"
	TypeMsgCancelCreateObject          = "cancel_create_object"
	TypeMsgMirrorObject                = "mirror_object"
	TypeMsgDiscontinueObject           = "discontinue_object"
	TypeMsgDiscontinueBucket           = "discontinue_bucket"
	TypeMsgUpdateObjectInfo            = "update_object_info"
	TypeMsgUpdateObjectContent         = "update_object_content"
	TypeMsgCancelUpdateObjectContent   = "cancel_update_object_content"
	TypeMsgDelegateCreateObject        = "delegate_create_object"
	TypeMsgDelegateUpdateObjectContent = "delegate_update_object_content"

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

	MaxGroupExtraInfoLimit = 512

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

	TypeMsgSetTag = "set_tag"

	MaxGroupMemberLimitOnce = 20
	MaxTagCount             = 4
	MaxTagKeyLength         = 32
	MaxTagValueLength       = 64

	// For discontinue
	MaxDiscontinueReasonLen = 128
	MaxDiscontinueObjects   = 128
)
View Source
const (
	DefaultMaxSegmentSize            uint64 = 16 * 1024 * 1024 // 16M
	DefaultRedundantDataChunkNum     uint32 = 4
	DefaultRedundantParityChunkNum   uint32 = 2
	DefaultMaxPayloadSize            uint64 = 64 * 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 = 100
	DefaultStalePolicyCleanupMax     uint64 = 200
	DefaultMinUpdateQuotaInterval    uint64 = 2592000 // 30 days (in second)

	DefaultMaxLocalVirtualGroupNumPerBucket uint32 = 10
	DefaultBscMirrorBucketRelayerFee               = "1300000000000000" // 0.0013
	DefaultBscMirrorBucketAckRelayerFee            = "250000000000000"  // 0.00025
	DefaultBscMirrorObjectRelayerFee               = "1300000000000000" // 0.0013
	DefaultBscMirrorObjectAckRelayerFee            = "250000000000000"  // 0.00025
	DefaultBscMirrorGroupRelayerFee                = "1300000000000000" // 0.0013
	DefaultBscMirrorGroupAckRelayerFee             = "250000000000000"  // 0.00025
	DefaultOpMirrorBucketRelayerFee                = "130000000000000"  // 0.00013
	DefaultOpMirrorBucketAckRelayerFee             = "25000000000000"   // 0.000025
	DefaultOpMirrorObjectRelayerFee                = "130000000000000"  // 0.00013
	DefaultOpMirrorObjectAckRelayerFee             = "25000000000000"   // 0.000025
	DefaultOpMirrorGroupRelayerFee                 = "130000000000000"  // 0.00013
	DefaultOpMirrorGroupAckRelayerFee              = "25000000000000"   // 0.000025
)

storage params default values

View Source
const (
	TagKeyTraits       = "traits"
	TagValueOmit       = "omit"
	MaxPaginationLimit = 200 // the default limit is 200 if pagination parameters is not provided
)
View Source
const TypeMsgCancelMigrateBucket = "cancel_migrate_bucket"
View Source
const TypeMsgCompleteMigrateBucket = "complete_migrate_bucket"
View Source
const TypeMsgMigrateBucket = "migrate_bucket"
View Source
const TypeMsgRejectMigrateBucket = "reject_migrate_bucket"
View Source
const TypeMsgSetBucketFlowRateLimit = "set_bucket_flow_rate_limit"

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 (
	DeserializeFuncMap = map[sdk.ChannelID]map[uint8][4]DeserializeFunc{
		BucketChannelId: {
			OperationMirrorBucket: {
				DeserializeMirrorBucketSynPackage,
				DeserializeMirrorBucketAckPackage,
				DeserializeMirrorBucketSynPackage,
			},
			OperationCreateBucket: {
				DeserializeCreateBucketSynPackage,
				DeserializeCreateBucketAckPackage,
				DeserializeCreateBucketSynPackage,
			},
			OperationDeleteBucket: {
				DeserializeDeleteBucketSynPackage,
				DeserializeDeleteBucketAckPackage,
				DeserializeDeleteBucketSynPackage,
			},
		},
		ObjectChannelId: {
			OperationMirrorObject: {
				DeserializeMirrorObjectSynPackage,
				DeserializeMirrorObjectAckPackage,
				DeserializeMirrorObjectSynPackage,
			},
			OperationDeleteObject: {
				DeserializeDeleteObjectSynPackage,
				DeserializeDeleteObjectAckPackage,
				DeserializeDeleteObjectSynPackage,
			},
		},
		GroupChannelId: {
			OperationMirrorGroup: {
				DeserializeMirrorGroupSynPackage,
				DeserializeMirrorGroupAckPackage,
				DeserializeMirrorGroupSynPackage,
			},
			OperationCreateGroup: {
				DeserializeCreateGroupSynPackage,
				DeserializeCreateGroupAckPackage,
				DeserializeCreateGroupSynPackage,
			},
			OperationDeleteGroup: {
				DeserializeDeleteGroupSynPackage,
				DeserializeDeleteGroupAckPackage,
				DeserializeDeleteGroupSynPackage,
			},
			OperationUpdateGroupMember: {
				DeserializeUpdateGroupMemberSynPackage,
				DeserializeUpdateGroupMemberAckPackage,
				DeserializeUpdateGroupMemberSynPackage,
			},
		},
		PermissionChannelId: {
			OperationCreatePolicy: {
				DeserializeCreatePolicySynPackage,
				DeserializeCreatePolicyAckPackage,
				DeserializeCreatePolicySynPackage,
			},
			OperationDeletePolicy: {
				DeserializeDeletePolicySynPackage,
				DeserializeDeletePolicyAckPackage,
				DeserializeDeletePolicySynPackage,
			},
		},
	}

	// DeserializeFuncMapV2 used after Pampas upgrade
	DeserializeFuncMapV2 = map[sdk.ChannelID]map[uint8][4]DeserializeFunc{
		BucketChannelId: {
			OperationMirrorBucket: {
				DeserializeMirrorBucketSynPackage,
				DeserializeMirrorBucketAckPackage,
				DeserializeMirrorBucketSynPackage,
			},
			OperationCreateBucket: {
				DeserializeCreateBucketSynPackageV2,
				DeserializeCreateBucketAckPackage,
				DeserializeCreateBucketSynPackageV2,
			},
			OperationDeleteBucket: {
				DeserializeDeleteBucketSynPackage,
				DeserializeDeleteBucketAckPackage,
				DeserializeDeleteBucketSynPackage,
			},
		},
		ObjectChannelId: {
			OperationMirrorObject: {
				DeserializeMirrorObjectSynPackage,
				DeserializeMirrorObjectAckPackage,
				DeserializeMirrorObjectSynPackage,
			},
			OperationDeleteObject: {
				DeserializeDeleteObjectSynPackage,
				DeserializeDeleteObjectAckPackage,
				DeserializeDeleteObjectSynPackage,
			},
		},
		GroupChannelId: {
			OperationMirrorGroup: {
				DeserializeMirrorGroupSynPackage,
				DeserializeMirrorGroupAckPackage,
				DeserializeMirrorGroupSynPackage,
			},
			OperationCreateGroup: {
				DeserializeCreateGroupSynPackage,
				DeserializeCreateGroupAckPackage,
				DeserializeCreateGroupSynPackage,
			},
			OperationDeleteGroup: {
				DeserializeDeleteGroupSynPackage,
				DeserializeDeleteGroupAckPackage,
				DeserializeDeleteGroupSynPackage,
			},
			OperationUpdateGroupMember: {
				DeserializeUpdateGroupMemberSynPackage,
				DeserializeUpdateGroupMemberAckPackage,
				DeserializeUpdateGroupMemberSynPackage,
			},
		},
		PermissionChannelId: {
			OperationCreatePolicy: {
				DeserializeCreatePolicySynPackage,
				DeserializeCreatePolicyAckPackage,
				DeserializeCreatePolicySynPackage,
			},
			OperationDeletePolicy: {
				DeserializeDeletePolicySynPackage,
				DeserializeDeletePolicyAckPackage,
				DeserializeDeletePolicySynPackage,
			},
		},
	}
)
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")
	ErrUpdateQuotaFailed            = errors.Register(ModuleName, 1119, "Update quota failed")
	ErrNoSuchPolicy                 = errors.Register(ModuleName, 1120, "No such Policy")
	ErrInvalidRedundancyType        = errors.Register(ModuleName, 1122, "Invalid redundancy type")
	ErrInvalidGlobalVirtualGroup    = errors.Register(ModuleName, 1123, "invalid global virtual group")
	ErrRenewGroupMemberNotAllow     = errors.Register(ModuleName, 1124, "Renew group member not allow")
	ErrInvalidGroupMemberExpiration = errors.Register(ModuleName, 1125, "invalid group member with expiration")
	ErrUpdateObjectNotAllowed       = errors.Register(ModuleName, 1126, "Object is not allowed to update")
	ErrObjectIsUpdating             = errors.Register(ModuleName, 1127, "Object is being updated")
	ErrObjectIsNotUpdating          = errors.Register(ModuleName, 1128, "Object is not being updated")
	ErrUpdatePaymentAccountFailed   = errors.Register(ModuleName, 1129, "Update payment account failed")
	ErrObjectChecksumsMissing       = errors.Register(ModuleName, 1130, "Object checksums is missing")

	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")
	ErrChainNotSupported        = errors.Register(ModuleName, 3004, "chain is not supported")

	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")
	ErrBucketMigrating           = errors.Register(ModuleName, 3107, "the bucket is migrating")
	ErrInvalidResource           = errors.Register(ModuleName, 3201, "invalid resource type")
	ErrMigrationBucketFailed     = errors.Register(ModuleName, 3202, "migrate bucket failed.")
	ErrVirtualGroupOperateFailed = errors.Register(ModuleName, 3203, "operate virtual group failed.")
	ErrInvalidBlsPubKey          = errors.Register(ModuleName, 3204, "invalid bls public key")

	ErrInvalidBucketOwner = errors.Register(ModuleName, 3300, "invalid bucket owner")
)

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}

	BucketInfoPrefix         = []byte{0x11}
	ObjectInfoPrefix         = []byte{0x12}
	GroupInfoPrefix          = []byte{0x13}
	QuotaPrefix              = []byte{0x14}
	InternalBucketInfoPrefix = []byte{0x15}

	ShadowObjectInfoPrefix = []byte{0x16}

	LockedObjectCountPrefix = []byte{0x17} // key to track count of created/updating objects, which will involve lock fee

	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}

	MigrateBucketPrefix = []byte{0x61}

	BucketRateLimitPrefix       = []byte{0x71}
	BucketRateLimitStatusPrefix = []byte{0x72}
)
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")
	KeyMinUpdateQuotaInterval           = []byte("MinUpdateQuotaInterval")
	KeyBscMirrorBucketRelayerFee        = []byte("BscMirrorBucketRelayerFee")
	KeyBscMirrorBucketAckRelayerFee     = []byte("BscMirrorBucketAckRelayerFee")
	KeyBscMirrorObjectRelayerFee        = []byte("BscMirrorObjectRelayerFee")
	KeyBscMirrorObjectAckRelayerFee     = []byte("BscMirrorObjectAckRelayerFee")
	KeyBscMirrorGroupRelayerFee         = []byte("BscMirrorGroupRelayerFee")
	KeyBscMirrorGroupAckRelayerFee      = []byte("BscMirrorGroupAckRelayerFee")
	KeyOpMirrorBucketRelayerFee         = []byte("OpMirrorBucketRelayerFee")
	KeyOpMirrorBucketAckRelayerFee      = []byte("OpMirrorBucketAckRelayerFee")
	KeyOpMirrorObjectRelayerFee         = []byte("OpMirrorObjectRelayerFee")
	KeyOpMirrorObjectAckRelayerFee      = []byte("OpMirrorObjectAckRelayerFee")
	KeyOpMirrorGroupRelayerFee          = []byte("OpMirrorGroupRelayerFee")
	KeyOpMirrorGroupAckRelayerFee       = []byte("OpMirrorGroupAckRelayerFee")
	KeyMaxLocalVirtualGroupNumPerBucket = []byte("MaxLocalVirtualGroupNumPerBucket")
)
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",
	2: "BUCKET_STATUS_MIGRATING",
}
View Source
var BucketStatus_value = map[string]int32{
	"BUCKET_STATUS_CREATED":      0,
	"BUCKET_STATUS_DISCONTINUED": 1,
	"BUCKET_STATUS_MIGRATING":    2,
}
View Source
var (

	// The max timestamp in underlying package `google.golang.org/protobuf/types/known/timestamppb` is 9999-12-31T23:59:59Z
	// https://pkg.go.dev/google.golang.org/protobuf/types/known/timestamppb#Timestamp
	MaxTimeStamp, _ = time.Parse(time.RFC3339, "9999-12-31T23:59:59Z")
)
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_MIRROR_PENDING",
	2: "SOURCE_TYPE_BSC_CROSS_CHAIN",
	3: "SOURCE_TYPE_OP_CROSS_CHAIN",
}
View Source
var SourceType_value = map[string]int32{
	"SOURCE_TYPE_ORIGIN":          0,
	"SOURCE_TYPE_MIRROR_PENDING":  1,
	"SOURCE_TYPE_BSC_CROSS_CHAIN": 2,
	"SOURCE_TYPE_OP_CROSS_CHAIN":  3,
}
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 DeserializeCreateBucketSynPackageV2 added in v1.1.0

func DeserializeCreateBucketSynPackageV2(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 DeserializeCreatePolicyAckPackage added in v1.3.0

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

func DeserializeCreatePolicySynPackage added in v1.3.0

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

func DeserializeCrossChainPackage added in v0.0.9

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

func DeserializeCrossChainPackageV2 added in v1.1.0

func DeserializeCrossChainPackageV2(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 DeserializeDeletePolicyAckPackage added in v1.3.0

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

func DeserializeDeletePolicySynPackage added in v1.3.0

func DeserializeDeletePolicySynPackage(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 GenerateHash added in v0.2.3

func GenerateHash(checksumList [][]byte) []byte

GenerateHash generates sha256 hash of checksums from objectInfo

func GetBucketByIDKey added in v0.0.7

func GetBucketByIDKey(bucketId math.Uint) []byte

GetBucketByIDKey return the bucketID store key

func GetBucketFlowRateLimitKey added in v1.6.0

func GetBucketFlowRateLimitKey(paymentAccount, bucketOwner sdk.AccAddress, bucketName string) []byte

GetBucketFlowRateLimitKey return the bucket rate limit store key

func GetBucketFlowRateLimitStatusKey added in v1.6.0

func GetBucketFlowRateLimitStatusKey(bucketName string) []byte

GetBucketFlowRateLimitStatusKey return the bucket rate limit 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 GetInternalBucketInfoKey added in v0.2.3

func GetInternalBucketInfoKey(bucketID math.Uint) []byte

func GetLockedObjectCountKey added in v1.5.0

func GetLockedObjectCountKey(bucketId math.Uint) []byte

func GetMigrationBucketKey added in v0.2.3

func GetMigrationBucketKey(bucketID math.Uint) []byte

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 GetQuotaKey added in v0.2.3

func GetQuotaKey(bucketID math.Uint) []byte

GetQuotaKey return the quota store key

func GetShadowObjectKey added in v1.5.0

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

GetShadowObjectKey return the shadow object name 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 SafeBigInt added in v0.2.3

func SafeBigInt(input *big.Int) *big.Int

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 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 BucketExtraInfo added in v1.6.0

type BucketExtraInfo struct {
	IsRateLimited   bool                                   `protobuf:"varint,1,opt,name=is_rate_limited,json=isRateLimited,proto3" json:"is_rate_limited,omitempty"`
	FlowRateLimit   github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	CurrentFlowRate github_com_cosmos_cosmos_sdk_types.Int `` /* 148-byte string literal not displayed */
}

func (*BucketExtraInfo) Descriptor added in v1.6.0

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

func (*BucketExtraInfo) GetIsRateLimited added in v1.6.0

func (m *BucketExtraInfo) GetIsRateLimited() bool

func (*BucketExtraInfo) Marshal added in v1.6.0

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

func (*BucketExtraInfo) MarshalTo added in v1.6.0

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

func (*BucketExtraInfo) MarshalToSizedBuffer added in v1.6.0

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

func (*BucketExtraInfo) ProtoMessage added in v1.6.0

func (*BucketExtraInfo) ProtoMessage()

func (*BucketExtraInfo) Reset added in v1.6.0

func (m *BucketExtraInfo) Reset()

func (*BucketExtraInfo) Size added in v1.6.0

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

func (*BucketExtraInfo) String added in v1.6.0

func (m *BucketExtraInfo) String() string

func (*BucketExtraInfo) Unmarshal added in v1.6.0

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

func (*BucketExtraInfo) XXX_DiscardUnknown added in v1.6.0

func (m *BucketExtraInfo) XXX_DiscardUnknown()

func (*BucketExtraInfo) XXX_Marshal added in v1.6.0

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

func (*BucketExtraInfo) XXX_Merge added in v1.6.0

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

func (*BucketExtraInfo) XXX_Size added in v1.6.0

func (m *BucketExtraInfo) XXX_Size() int

func (*BucketExtraInfo) XXX_Unmarshal added in v1.6.0

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

type BucketFlowRateLimit added in v1.6.0

type BucketFlowRateLimit struct {
	// flow_rate_limit defines the flow rate limit of the bucket
	FlowRateLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
}

func (*BucketFlowRateLimit) Descriptor added in v1.6.0

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

func (*BucketFlowRateLimit) Marshal added in v1.6.0

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

func (*BucketFlowRateLimit) MarshalTo added in v1.6.0

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

func (*BucketFlowRateLimit) MarshalToSizedBuffer added in v1.6.0

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

func (*BucketFlowRateLimit) ProtoMessage added in v1.6.0

func (*BucketFlowRateLimit) ProtoMessage()

func (*BucketFlowRateLimit) Reset added in v1.6.0

func (m *BucketFlowRateLimit) Reset()

func (*BucketFlowRateLimit) Size added in v1.6.0

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

func (*BucketFlowRateLimit) String added in v1.6.0

func (m *BucketFlowRateLimit) String() string

func (*BucketFlowRateLimit) Unmarshal added in v1.6.0

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

func (*BucketFlowRateLimit) XXX_DiscardUnknown added in v1.6.0

func (m *BucketFlowRateLimit) XXX_DiscardUnknown()

func (*BucketFlowRateLimit) XXX_Marshal added in v1.6.0

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

func (*BucketFlowRateLimit) XXX_Merge added in v1.6.0

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

func (*BucketFlowRateLimit) XXX_Size added in v1.6.0

func (m *BucketFlowRateLimit) XXX_Size() int

func (*BucketFlowRateLimit) XXX_Unmarshal added in v1.6.0

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

type BucketFlowRateLimitStatus added in v1.6.0

type BucketFlowRateLimitStatus struct {
	// is_bucket_limited defines the flow rate limit status of the bucket, true means limited and the bucket is uncharged
	IsBucketLimited bool `protobuf:"varint,1,opt,name=is_bucket_limited,json=isBucketLimited,proto3" json:"is_bucket_limited,omitempty"`
	// payment_address is the payment address of the bucket which limited the flow rate
	PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
}

func (*BucketFlowRateLimitStatus) Descriptor added in v1.6.0

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

func (*BucketFlowRateLimitStatus) GetIsBucketLimited added in v1.6.0

func (m *BucketFlowRateLimitStatus) GetIsBucketLimited() bool

func (*BucketFlowRateLimitStatus) GetPaymentAddress added in v1.6.0

func (m *BucketFlowRateLimitStatus) GetPaymentAddress() string

func (*BucketFlowRateLimitStatus) Marshal added in v1.6.0

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

func (*BucketFlowRateLimitStatus) MarshalTo added in v1.6.0

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

func (*BucketFlowRateLimitStatus) MarshalToSizedBuffer added in v1.6.0

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

func (*BucketFlowRateLimitStatus) ProtoMessage added in v1.6.0

func (*BucketFlowRateLimitStatus) ProtoMessage()

func (*BucketFlowRateLimitStatus) Reset added in v1.6.0

func (m *BucketFlowRateLimitStatus) Reset()

func (*BucketFlowRateLimitStatus) Size added in v1.6.0

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

func (*BucketFlowRateLimitStatus) String added in v1.6.0

func (m *BucketFlowRateLimitStatus) String() string

func (*BucketFlowRateLimitStatus) Unmarshal added in v1.6.0

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

func (*BucketFlowRateLimitStatus) XXX_DiscardUnknown added in v1.6.0

func (m *BucketFlowRateLimitStatus) XXX_DiscardUnknown()

func (*BucketFlowRateLimitStatus) XXX_Marshal added in v1.6.0

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

func (*BucketFlowRateLimitStatus) XXX_Merge added in v1.6.0

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

func (*BucketFlowRateLimitStatus) XXX_Size added in v1.6.0

func (m *BucketFlowRateLimitStatus) XXX_Size() int

func (*BucketFlowRateLimitStatus) XXX_Unmarshal added in v1.6.0

func (m *BucketFlowRateLimitStatus) 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"`
	// global_virtual_group_family_id defines the unique id of gvg family
	GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */
	// 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"`
	// bucket_status define the status of the bucket.
	BucketStatus BucketStatus `` /* 136-byte string literal not displayed */
	// tags defines a list of tags the bucket has
	Tags *ResourceTags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"`
	// sp_as_delegated_agent_disabled indicates that whether bucket owner disable SP as the upload agent.
	// when a bucket is created, by default, this is false, means SP is allowed to create object for delegator
	SpAsDelegatedAgentDisabled bool `` /* 147-byte string literal not displayed */
}

func (*BucketInfo) CheckBucketStatus added in v0.2.3

func (m *BucketInfo) CheckBucketStatus() error

func (*BucketInfo) Descriptor

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

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) GetGlobalVirtualGroupFamilyId added in v0.2.3

func (m *BucketInfo) GetGlobalVirtualGroupFamilyId() uint32

func (*BucketInfo) GetOwner

func (m *BucketInfo) GetOwner() string

func (*BucketInfo) GetPaymentAddress

func (m *BucketInfo) GetPaymentAddress() string

func (*BucketInfo) GetSourceType added in v0.0.6

func (m *BucketInfo) GetSourceType() SourceType

func (*BucketInfo) GetSpAsDelegatedAgentDisabled added in v1.6.0

func (m *BucketInfo) GetSpAsDelegatedAgentDisabled() bool

func (*BucketInfo) GetTags added in v1.2.0

func (m *BucketInfo) GetTags() *ResourceTags

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
	BUCKET_STATUS_MIGRATING    BucketStatus = 2
)

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 CancelCreateObjectOptions added in v0.2.4

type CancelCreateObjectOptions struct {
	SourceType SourceType
}

type CopyObjectOptions added in v0.2.4

type CopyObjectOptions struct {
	SourceType        SourceType
	Visibility        VisibilityType
	PrimarySpApproval *common.Approval
	ApprovalMsgBytes  []byte
}

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 CreateBucketOptions added in v0.2.4

type CreateBucketOptions struct {
	Visibility        VisibilityType
	SourceType        SourceType
	ChargedReadQuota  uint64
	PaymentAddress    string
	PrimarySpApproval *common.Approval
	ApprovalMsgBytes  []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) MustSerialize added in v0.2.4

func (p CreateBucketSynPackage) MustSerialize() []byte

func (CreateBucketSynPackage) ValidateBasic added in v0.0.9

func (p CreateBucketSynPackage) ValidateBasic() error

type CreateBucketSynPackageStruct added in v0.2.3

type CreateBucketSynPackageStruct struct {
	Creator                        common.Address
	BucketName                     string
	Visibility                     uint32
	PaymentAddress                 common.Address
	PrimarySpAddress               common.Address
	PrimarySpApprovalExpiredHeight uint64
	PrimarySpApprovalSignature     []byte
	ChargedReadQuota               uint64
	ExtraData                      []byte
}

type CreateBucketSynPackageV2 added in v1.1.0

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

func (CreateBucketSynPackageV2) GetApprovalBytes added in v1.1.0

func (p CreateBucketSynPackageV2) GetApprovalBytes() []byte

func (CreateBucketSynPackageV2) MustSerialize added in v1.1.0

func (p CreateBucketSynPackageV2) MustSerialize() []byte

func (CreateBucketSynPackageV2) ValidateBasic added in v1.1.0

func (p CreateBucketSynPackageV2) ValidateBasic() error

type CreateBucketSynPackageV2Struct added in v1.1.0

type CreateBucketSynPackageV2Struct struct {
	Creator                        common.Address
	BucketName                     string
	Visibility                     uint32
	PaymentAddress                 common.Address
	PrimarySpAddress               common.Address
	PrimarySpApprovalExpiredHeight uint64
	GlobalVirtualGroupFamilyId     uint32
	PrimarySpApprovalSignature     []byte
	ChargedReadQuota               uint64
	ExtraData                      []byte
}

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 CreateGroupOptions added in v0.2.4

type CreateGroupOptions struct {
	SourceType SourceType
	Extra      string
}

type CreateGroupSynPackage added in v0.0.9

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

func (CreateGroupSynPackage) MustSerialize added in v0.2.4

func (p CreateGroupSynPackage) MustSerialize() []byte

func (CreateGroupSynPackage) ValidateBasic added in v0.0.9

func (p CreateGroupSynPackage) ValidateBasic() error

type CreateGroupSynPackageStruct added in v0.2.3

type CreateGroupSynPackageStruct struct {
	Creator   common.Address
	GroupName string
	ExtraData []byte
}

type CreateObjectOptions added in v0.2.4

type CreateObjectOptions struct {
	Visibility        VisibilityType
	ContentType       string
	SourceType        SourceType
	RedundancyType    RedundancyType
	Checksums         [][]byte
	PrimarySpApproval *common.Approval
	ApprovalMsgBytes  []byte
	Delegated         bool
	Creator           sdk.AccAddress
}

type CreatePolicyAckPackage added in v1.3.0

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

func (CreatePolicyAckPackage) MustSerialize added in v1.3.0

func (p CreatePolicyAckPackage) MustSerialize() []byte

type CreatePolicyOptions added in v1.3.0

type CreatePolicyOptions struct {
	SourceType SourceType
	Extra      string
	Tags       *ResourceTags
}

type CreatePolicySynPackage added in v1.3.0

type CreatePolicySynPackage struct {
	Operator  sdk.AccAddress
	Data      []byte
	ExtraData []byte
}

func (CreatePolicySynPackage) MustSerialize added in v1.3.0

func (p CreatePolicySynPackage) MustSerialize() []byte

func (CreatePolicySynPackage) ValidateBasic added in v1.3.0

func (p CreatePolicySynPackage) ValidateBasic() error

type CreatePolicySynPackageStruct added in v1.3.0

type CreatePolicySynPackageStruct struct {
	Operator  common.Address
	Data      []byte
	ExtraData []byte
}

type CrossChainKeeper added in v0.0.9

type CrossChainKeeper interface {
	GetDestBscChainID() sdk.ChainID
	GetDestOpChainID() sdk.ChainID

	CreateRawIBCPackageWithFee(ctx sdk.Context, chainID sdk.ChainID, channelID sdk.ChannelID, packageType sdk.CrossChainPackageType,
		packageLoad []byte, relayerFee *big.Int, ackRelayerFee *big.Int,
	) (uint64, error)

	IsDestChainSupported(chainID sdk.ChainID) bool

	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 DeleteBucketOptions added in v0.2.4

type DeleteBucketOptions struct {
	SourceType SourceType
}

type DeleteBucketSynPackage added in v0.0.9

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

func (DeleteBucketSynPackage) MustSerialize added in v0.2.4

func (p DeleteBucketSynPackage) MustSerialize() []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 DeleteGroupOptions added in v0.2.4

type DeleteGroupOptions struct {
	SourceType SourceType
}

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 DeleteObjectOptions added in v0.2.4

type DeleteObjectOptions struct {
	SourceType SourceType
}

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 DeletePolicyAckPackage added in v1.3.0

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

func (DeletePolicyAckPackage) MustSerialize added in v1.3.0

func (p DeletePolicyAckPackage) MustSerialize() []byte

type DeletePolicyOptions added in v1.3.0

type DeletePolicyOptions struct {
	SourceType SourceType
}

type DeletePolicySynPackage added in v1.3.0

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

func (DeletePolicySynPackage) ValidateBasic added in v1.3.0

func (p DeletePolicySynPackage) ValidateBasic() error

type DeserializeFunc added in v0.0.9

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

type EventBucketFlowRateLimitStatus added in v1.6.0

type EventBucketFlowRateLimitStatus 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"`
	// is_limited define the status of the bucket flow rate limit
	IsLimited bool `protobuf:"varint,2,opt,name=is_limited,json=isLimited,proto3" json:"is_limited,omitempty"`
	// bucket_id is the unique u256 for bucket. Not global, only unique in buckets.
	BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
}

func (*EventBucketFlowRateLimitStatus) Descriptor added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) GetBucketName added in v1.6.0

func (m *EventBucketFlowRateLimitStatus) GetBucketName() string

func (*EventBucketFlowRateLimitStatus) GetIsLimited added in v1.6.0

func (m *EventBucketFlowRateLimitStatus) GetIsLimited() bool

func (*EventBucketFlowRateLimitStatus) Marshal added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) MarshalTo added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) MarshalToSizedBuffer added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) ProtoMessage added in v1.6.0

func (*EventBucketFlowRateLimitStatus) ProtoMessage()

func (*EventBucketFlowRateLimitStatus) Reset added in v1.6.0

func (m *EventBucketFlowRateLimitStatus) Reset()

func (*EventBucketFlowRateLimitStatus) Size added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) String added in v1.6.0

func (*EventBucketFlowRateLimitStatus) Unmarshal added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) XXX_DiscardUnknown added in v1.6.0

func (m *EventBucketFlowRateLimitStatus) XXX_DiscardUnknown()

func (*EventBucketFlowRateLimitStatus) XXX_Marshal added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) XXX_Merge added in v1.6.0

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

func (*EventBucketFlowRateLimitStatus) XXX_Size added in v1.6.0

func (m *EventBucketFlowRateLimitStatus) XXX_Size() int

func (*EventBucketFlowRateLimitStatus) XXX_Unmarshal added in v1.6.0

func (m *EventBucketFlowRateLimitStatus) XXX_Unmarshal(b []byte) 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_id define the unique id of primary sp
	PrimarySpId uint32 `protobuf:"varint,4,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,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"`
}

EventCancelCreateObject is emitted on MsgCancelCreateObject

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) GetPrimarySpId added in v0.2.3

func (m *EventCancelCreateObject) GetPrimarySpId() uint32

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 EventCancelMigrationBucket added in v0.2.3

type EventCancelMigrationBucket struct {
	// The address of the operator that canceled the bucket migration,
	// usually the owner of the bucket or another account which has permission to operate
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// The name of the bucket to be migrated
	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"`
	// status define the status of the bucket.
	Status BucketStatus `protobuf:"varint,4,opt,name=status,proto3,enum=greenfield.storage.BucketStatus" json:"status,omitempty"`
}

func (*EventCancelMigrationBucket) Descriptor added in v0.2.3

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

func (*EventCancelMigrationBucket) GetBucketName added in v0.2.3

func (m *EventCancelMigrationBucket) GetBucketName() string

func (*EventCancelMigrationBucket) GetOperator added in v0.2.3

func (m *EventCancelMigrationBucket) GetOperator() string

func (*EventCancelMigrationBucket) GetStatus added in v1.8.0

func (*EventCancelMigrationBucket) Marshal added in v0.2.3

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

func (*EventCancelMigrationBucket) MarshalTo added in v0.2.3

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

func (*EventCancelMigrationBucket) MarshalToSizedBuffer added in v0.2.3

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

func (*EventCancelMigrationBucket) ProtoMessage added in v0.2.3

func (*EventCancelMigrationBucket) ProtoMessage()

func (*EventCancelMigrationBucket) Reset added in v0.2.3

func (m *EventCancelMigrationBucket) Reset()

func (*EventCancelMigrationBucket) Size added in v0.2.3

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

func (*EventCancelMigrationBucket) String added in v0.2.3

func (m *EventCancelMigrationBucket) String() string

func (*EventCancelMigrationBucket) Unmarshal added in v0.2.3

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

func (*EventCancelMigrationBucket) XXX_DiscardUnknown added in v0.2.3

func (m *EventCancelMigrationBucket) XXX_DiscardUnknown()

func (*EventCancelMigrationBucket) XXX_Marshal added in v0.2.3

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

func (*EventCancelMigrationBucket) XXX_Merge added in v0.2.3

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

func (*EventCancelMigrationBucket) XXX_Size added in v0.2.3

func (m *EventCancelMigrationBucket) XXX_Size() int

func (*EventCancelMigrationBucket) XXX_Unmarshal added in v0.2.3

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

type EventCancelUpdateObjectContent added in v1.5.0

type EventCancelUpdateObjectContent struct {
	// operator define the account address of operator who cancel update 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 the id of the object
	ObjectId Uint `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
}

EventCancelUpdateObjectContent is emitted on MsgCancelUpdateObjectContent

func (*EventCancelUpdateObjectContent) Descriptor added in v1.5.0

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

func (*EventCancelUpdateObjectContent) GetBucketName added in v1.5.0

func (m *EventCancelUpdateObjectContent) GetBucketName() string

func (*EventCancelUpdateObjectContent) GetObjectName added in v1.5.0

func (m *EventCancelUpdateObjectContent) GetObjectName() string

func (*EventCancelUpdateObjectContent) GetOperator added in v1.5.0

func (m *EventCancelUpdateObjectContent) GetOperator() string

func (*EventCancelUpdateObjectContent) Marshal added in v1.5.0

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

func (*EventCancelUpdateObjectContent) MarshalTo added in v1.5.0

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

func (*EventCancelUpdateObjectContent) MarshalToSizedBuffer added in v1.5.0

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

func (*EventCancelUpdateObjectContent) ProtoMessage added in v1.5.0

func (*EventCancelUpdateObjectContent) ProtoMessage()

func (*EventCancelUpdateObjectContent) Reset added in v1.5.0

func (m *EventCancelUpdateObjectContent) Reset()

func (*EventCancelUpdateObjectContent) Size added in v1.5.0

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

func (*EventCancelUpdateObjectContent) String added in v1.5.0

func (*EventCancelUpdateObjectContent) Unmarshal added in v1.5.0

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

func (*EventCancelUpdateObjectContent) XXX_DiscardUnknown added in v1.5.0

func (m *EventCancelUpdateObjectContent) XXX_DiscardUnknown()

func (*EventCancelUpdateObjectContent) XXX_Marshal added in v1.5.0

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

func (*EventCancelUpdateObjectContent) XXX_Merge added in v1.5.0

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

func (*EventCancelUpdateObjectContent) XXX_Size added in v1.5.0

func (m *EventCancelUpdateObjectContent) XXX_Size() int

func (*EventCancelUpdateObjectContent) XXX_Unmarshal added in v1.5.0

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

type EventCompleteMigrationBucket added in v0.2.3

type EventCompleteMigrationBucket struct {
	// The address of the operator that initiated the bucket migration,
	// usually the owner of the bucket or another account which has permission to operate
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// The name of the bucket to be migrated
	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"`
	// The family id that the bucket to be migrated to
	GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */
	// The src_primary_sp_id defines the primary sp id of the bucket before migrate.
	SrcPrimarySpId uint32 `protobuf:"varint,5,opt,name=src_primary_sp_id,json=srcPrimarySpId,proto3" json:"src_primary_sp_id,omitempty"`
	// status define the status of the bucket.
	Status BucketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=greenfield.storage.BucketStatus" json:"status,omitempty"`
}

func (*EventCompleteMigrationBucket) Descriptor added in v0.2.3

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

func (*EventCompleteMigrationBucket) GetBucketName added in v0.2.3

func (m *EventCompleteMigrationBucket) GetBucketName() string

func (*EventCompleteMigrationBucket) GetGlobalVirtualGroupFamilyId added in v0.2.3

func (m *EventCompleteMigrationBucket) GetGlobalVirtualGroupFamilyId() uint32

func (*EventCompleteMigrationBucket) GetOperator added in v0.2.3

func (m *EventCompleteMigrationBucket) GetOperator() string

func (*EventCompleteMigrationBucket) GetSrcPrimarySpId added in v0.2.3

func (m *EventCompleteMigrationBucket) GetSrcPrimarySpId() uint32

func (*EventCompleteMigrationBucket) GetStatus added in v1.8.0

func (*EventCompleteMigrationBucket) Marshal added in v0.2.3

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

func (*EventCompleteMigrationBucket) MarshalTo added in v0.2.3

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

func (*EventCompleteMigrationBucket) MarshalToSizedBuffer added in v0.2.3

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

func (*EventCompleteMigrationBucket) ProtoMessage added in v0.2.3

func (*EventCompleteMigrationBucket) ProtoMessage()

func (*EventCompleteMigrationBucket) Reset added in v0.2.3

func (m *EventCompleteMigrationBucket) Reset()

func (*EventCompleteMigrationBucket) Size added in v0.2.3

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

func (*EventCompleteMigrationBucket) String added in v0.2.3

func (*EventCompleteMigrationBucket) Unmarshal added in v0.2.3

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

func (*EventCompleteMigrationBucket) XXX_DiscardUnknown added in v0.2.3

func (m *EventCompleteMigrationBucket) XXX_DiscardUnknown()

func (*EventCompleteMigrationBucket) XXX_Marshal added in v0.2.3

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

func (*EventCompleteMigrationBucket) XXX_Merge added in v0.2.3

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

func (*EventCompleteMigrationBucket) XXX_Size added in v0.2.3

func (m *EventCompleteMigrationBucket) XXX_Size() int

func (*EventCompleteMigrationBucket) XXX_Unmarshal added in v0.2.3

func (m *EventCompleteMigrationBucket) 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"`
	// local_virtual_group_id defines the unique id of lvg which the object stored
	LocalVirtualGroupId uint32 `protobuf:"varint,8,opt,name=local_virtual_group_id,json=localVirtualGroupId,proto3" json:"local_virtual_group_id,omitempty"`
}

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) GetLocalVirtualGroupId added in v1.0.0

func (m *EventCopyObject) GetLocalVirtualGroupId() uint32

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_id is the unique id of primary sp.
	PrimarySpId uint32 `protobuf:"varint,9,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,omitempty"`
	// global_virtual_group_family_id defines the unique id of gvg family
	GlobalVirtualGroupFamilyId uint32 `` /* 147-byte string literal not displayed */
	// status define the status of the bucket.
	Status BucketStatus `protobuf:"varint,11,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) GetGlobalVirtualGroupFamilyId added in v0.2.3

func (m *EventCreateBucket) GetGlobalVirtualGroupFamilyId() uint32

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) GetPrimarySpId added in v0.2.3

func (m *EventCreateBucket) GetPrimarySpId() uint32

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 */
	// extra defines extra info for the group
	Extra string `protobuf:"bytes,5,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) 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 bucket
	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_id define the unique id of primary sp
	PrimarySpId uint32 `protobuf:"varint,8,opt,name=primary_sp_id,json=primarySpId,proto3" json:"primary_sp_id,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"`
	// local_virtual_group_id defines the unique id of lvg which the object stored
	LocalVirtualGroupId uint32 `protobuf:"varint,17,opt,name=local_virtual_group_id,json=localVirtualGroupId,proto3" json:"local_virtual_group_id,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) GetLocalVirtualGroupId added in v1.0.0

func (m *EventCreateObject) GetLocalVirtualGroupId() uint32

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) GetPrimarySpId added in v0.2.3

func (m *EventCreateObject) GetPrimarySpId() uint32

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"`
	// global_virtual_group_family_id defines the unique id of gvg family
	GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */
}

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) GetGlobalVirtualGroupFamilyId added in v0.2.3

func (m *EventDeleteBucket) GetGlobalVirtualGroupFamilyId() uint32

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) 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"`
	// local_virtual_group_id defines the unique id of lvg which the object stored
	LocalVirtualGroupId uint32 `protobuf:"varint,5,opt,name=local_virtual_group_id,json=localVirtualGroupId,proto3" json:"local_virtual_group_id,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) GetLocalVirtualGroupId added in v0.2.3

func (m *EventDeleteObject) GetLocalVirtualGroupId() uint32

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) 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 EventGroupMemberDetail added in v0.2.4

type EventGroupMemberDetail struct {
	// member defines the account address of the group member
	Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// expiration_time defines the expiration time of the group member
	ExpirationTime *time.Time `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"`
}

func (*EventGroupMemberDetail) Descriptor added in v0.2.4

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

func (*EventGroupMemberDetail) GetExpirationTime added in v0.2.4

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

func (*EventGroupMemberDetail) GetMember added in v0.2.4

func (m *EventGroupMemberDetail) GetMember() string

func (*EventGroupMemberDetail) Marshal added in v0.2.4

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

func (*EventGroupMemberDetail) MarshalTo added in v0.2.4

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

func (*EventGroupMemberDetail) MarshalToSizedBuffer added in v0.2.4

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

func (*EventGroupMemberDetail) ProtoMessage added in v0.2.4

func (*EventGroupMemberDetail) ProtoMessage()

func (*EventGroupMemberDetail) Reset added in v0.2.4

func (m *EventGroupMemberDetail) Reset()

func (*EventGroupMemberDetail) Size added in v0.2.4

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

func (*EventGroupMemberDetail) String added in v0.2.4

func (m *EventGroupMemberDetail) String() string

func (*EventGroupMemberDetail) Unmarshal added in v0.2.4

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

func (*EventGroupMemberDetail) XXX_DiscardUnknown added in v0.2.4

func (m *EventGroupMemberDetail) XXX_DiscardUnknown()

func (*EventGroupMemberDetail) XXX_Marshal added in v0.2.4

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

func (*EventGroupMemberDetail) XXX_Merge added in v0.2.4

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

func (*EventGroupMemberDetail) XXX_Size added in v0.2.4

func (m *EventGroupMemberDetail) XXX_Size() int

func (*EventGroupMemberDetail) XXX_Unmarshal added in v0.2.4

func (m *EventGroupMemberDetail) 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 EventMigrationBucket added in v0.2.3

type EventMigrationBucket struct {
	// The address of the operator that initiated the bucket migration,
	// usually the owner of the bucket or another account which has permission to operate
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// The name of the bucket to be migrated
	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"`
	// The id of the destination primary sp
	DstPrimarySpId uint32 `protobuf:"varint,4,opt,name=dst_primary_sp_id,json=dstPrimarySpId,proto3" json:"dst_primary_sp_id,omitempty"`
	// status define the status of the bucket.
	Status BucketStatus `protobuf:"varint,5,opt,name=status,proto3,enum=greenfield.storage.BucketStatus" json:"status,omitempty"`
}

func (*EventMigrationBucket) Descriptor added in v0.2.3

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

func (*EventMigrationBucket) GetBucketName added in v0.2.3

func (m *EventMigrationBucket) GetBucketName() string

func (*EventMigrationBucket) GetDstPrimarySpId added in v0.2.3

func (m *EventMigrationBucket) GetDstPrimarySpId() uint32

func (*EventMigrationBucket) GetOperator added in v0.2.3

func (m *EventMigrationBucket) GetOperator() string

func (*EventMigrationBucket) GetStatus added in v1.8.0

func (m *EventMigrationBucket) GetStatus() BucketStatus

func (*EventMigrationBucket) Marshal added in v0.2.3

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

func (*EventMigrationBucket) MarshalTo added in v0.2.3

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

func (*EventMigrationBucket) MarshalToSizedBuffer added in v0.2.3

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

func (*EventMigrationBucket) ProtoMessage added in v0.2.3

func (*EventMigrationBucket) ProtoMessage()

func (*EventMigrationBucket) Reset added in v0.2.3

func (m *EventMigrationBucket) Reset()

func (*EventMigrationBucket) Size added in v0.2.3

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

func (*EventMigrationBucket) String added in v0.2.3

func (m *EventMigrationBucket) String() string

func (*EventMigrationBucket) Unmarshal added in v0.2.3

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

func (*EventMigrationBucket) XXX_DiscardUnknown added in v0.2.3

func (m *EventMigrationBucket) XXX_DiscardUnknown()

func (*EventMigrationBucket) XXX_Marshal added in v0.2.3

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

func (*EventMigrationBucket) XXX_Merge added in v0.2.3

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

func (*EventMigrationBucket) XXX_Size added in v0.2.3

func (m *EventMigrationBucket) XXX_Size() int

func (*EventMigrationBucket) XXX_Unmarshal added in v0.2.3

func (m *EventMigrationBucket) 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"`
	// chain id of the destination chain
	DestChainId uint32 `protobuf:"varint,5,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

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) GetDestChainId added in v0.2.3

func (m *EventMirrorBucket) GetDestChainId() uint32

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"`
	// chain id of the destination chain
	DestChainId uint32 `protobuf:"varint,5,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

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) GetDestChainId added in v0.2.3

func (m *EventMirrorBucketResult) GetDestChainId() uint32

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"`
	// chain id of the destination chain
	DestChainId uint32 `protobuf:"varint,4,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

EventMirrorGroup is emitted on MirrorGroup

func (*EventMirrorGroup) Descriptor added in v0.0.9

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

func (*EventMirrorGroup) GetDestChainId added in v0.2.3

func (m *EventMirrorGroup) GetDestChainId() uint32

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"`
	// chain id of the destination chain
	DestChainId uint32 `protobuf:"varint,4,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

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) GetDestChainId added in v0.2.3

func (m *EventMirrorGroupResult) GetDestChainId() uint32

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"`
	// chain id of the destination chain
	DestChainId uint32 `protobuf:"varint,5,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

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) GetDestChainId added in v0.2.3

func (m *EventMirrorObject) GetDestChainId() uint32

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"`
	// chain id of the destination chain
	DestChainId uint32 `protobuf:"varint,5,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

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) GetDestChainId added in v0.2.3

func (m *EventMirrorObjectResult) GetDestChainId() uint32

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 EventRejectMigrateBucket added in v1.1.0

type EventRejectMigrateBucket struct {
	// The address of the operator that reject the bucket migration, must be the dest SP
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// The name of the bucket to be migrated
	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"`
	// status define the status of the bucket.
	Status BucketStatus `protobuf:"varint,4,opt,name=status,proto3,enum=greenfield.storage.BucketStatus" json:"status,omitempty"`
}

func (*EventRejectMigrateBucket) Descriptor added in v1.1.0

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

func (*EventRejectMigrateBucket) GetBucketName added in v1.1.0

func (m *EventRejectMigrateBucket) GetBucketName() string

func (*EventRejectMigrateBucket) GetOperator added in v1.1.0

func (m *EventRejectMigrateBucket) GetOperator() string

func (*EventRejectMigrateBucket) GetStatus added in v1.8.0

func (m *EventRejectMigrateBucket) GetStatus() BucketStatus

func (*EventRejectMigrateBucket) Marshal added in v1.1.0

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

func (*EventRejectMigrateBucket) MarshalTo added in v1.1.0

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

func (*EventRejectMigrateBucket) MarshalToSizedBuffer added in v1.1.0

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

func (*EventRejectMigrateBucket) ProtoMessage added in v1.1.0

func (*EventRejectMigrateBucket) ProtoMessage()

func (*EventRejectMigrateBucket) Reset added in v1.1.0

func (m *EventRejectMigrateBucket) Reset()

func (*EventRejectMigrateBucket) Size added in v1.1.0

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

func (*EventRejectMigrateBucket) String added in v1.1.0

func (m *EventRejectMigrateBucket) String() string

func (*EventRejectMigrateBucket) Unmarshal added in v1.1.0

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

func (*EventRejectMigrateBucket) XXX_DiscardUnknown added in v1.1.0

func (m *EventRejectMigrateBucket) XXX_DiscardUnknown()

func (*EventRejectMigrateBucket) XXX_Marshal added in v1.1.0

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

func (*EventRejectMigrateBucket) XXX_Merge added in v1.1.0

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

func (*EventRejectMigrateBucket) XXX_Size added in v1.1.0

func (m *EventRejectMigrateBucket) XXX_Size() int

func (*EventRejectMigrateBucket) XXX_Unmarshal added in v1.1.0

func (m *EventRejectMigrateBucket) 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"`
	// for_update indicates whether reject sealing on a updating object
	ForUpdate bool `protobuf:"varint,5,opt,name=for_update,json=forUpdate,proto3" json:"for_update,omitempty"`
}

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) GetForUpdate added in v1.5.0

func (m *EventRejectSealObject) GetForUpdate() bool

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 EventRenewGroupMember added in v0.2.4

type EventRenewGroupMember 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"`
	// 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 []*EventGroupMemberDetail `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`
}

func (*EventRenewGroupMember) Descriptor added in v0.2.4

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

func (*EventRenewGroupMember) GetGroupName added in v0.2.4

func (m *EventRenewGroupMember) GetGroupName() string

func (*EventRenewGroupMember) GetMembers added in v0.2.4

func (m *EventRenewGroupMember) GetMembers() []*EventGroupMemberDetail

func (*EventRenewGroupMember) GetOperator added in v0.2.4

func (m *EventRenewGroupMember) GetOperator() string

func (*EventRenewGroupMember) GetOwner added in v0.2.4

func (m *EventRenewGroupMember) GetOwner() string

func (*EventRenewGroupMember) GetSourceType added in v0.2.4

func (m *EventRenewGroupMember) GetSourceType() SourceType

func (*EventRenewGroupMember) Marshal added in v0.2.4

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

func (*EventRenewGroupMember) MarshalTo added in v0.2.4

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

func (*EventRenewGroupMember) MarshalToSizedBuffer added in v0.2.4

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

func (*EventRenewGroupMember) ProtoMessage added in v0.2.4

func (*EventRenewGroupMember) ProtoMessage()

func (*EventRenewGroupMember) Reset added in v0.2.4

func (m *EventRenewGroupMember) Reset()

func (*EventRenewGroupMember) Size added in v0.2.4

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

func (*EventRenewGroupMember) String added in v0.2.4

func (m *EventRenewGroupMember) String() string

func (*EventRenewGroupMember) Unmarshal added in v0.2.4

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

func (*EventRenewGroupMember) XXX_DiscardUnknown added in v0.2.4

func (m *EventRenewGroupMember) XXX_DiscardUnknown()

func (*EventRenewGroupMember) XXX_Marshal added in v0.2.4

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

func (*EventRenewGroupMember) XXX_Merge added in v0.2.4

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

func (*EventRenewGroupMember) XXX_Size added in v0.2.4

func (m *EventRenewGroupMember) XXX_Size() int

func (*EventRenewGroupMember) XXX_Unmarshal added in v0.2.4

func (m *EventRenewGroupMember) 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"`
	// global_virtual_group_id defines the unique id of gvg which the object stored
	GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */
	// local_virtual_group_id defines the unique id of lvg which the object stored
	LocalVirtualGroupId uint32 `protobuf:"varint,8,opt,name=local_virtual_group_id,json=localVirtualGroupId,proto3" json:"local_virtual_group_id,omitempty"`
	// checksums define the total checksums of the object which generated by redundancy
	// SP might set the checksum of object if it was delegated created by SP, which checksum
	// will not be available until sealing object.
	Checksums [][]byte `protobuf:"bytes,9,rep,name=checksums,proto3" json:"checksums,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) GetChecksums added in v1.6.0

func (m *EventSealObject) GetChecksums() [][]byte

func (*EventSealObject) GetGlobalVirtualGroupId added in v0.2.3

func (m *EventSealObject) GetGlobalVirtualGroupId() uint32

func (*EventSealObject) GetLocalVirtualGroupId added in v0.2.3

func (m *EventSealObject) GetLocalVirtualGroupId() uint32

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) 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 EventSetBucketFlowRateLimit added in v1.6.0

type EventSetBucketFlowRateLimit struct {
	// operator define the account address of operator who set the bucket flow rate limit
	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"`
	// payment_address define the payment address for the bucket
	PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// bucket_owner define the intended owner of the bucket
	BucketOwner string `protobuf:"bytes,4,opt,name=bucket_owner,json=bucketOwner,proto3" json:"bucket_owner,omitempty"`
	// flow_rate_limit define the flow rate limit of the bucket
	FlowRateLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
}

func (*EventSetBucketFlowRateLimit) Descriptor added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) GetBucketName added in v1.6.0

func (m *EventSetBucketFlowRateLimit) GetBucketName() string

func (*EventSetBucketFlowRateLimit) GetBucketOwner added in v1.6.0

func (m *EventSetBucketFlowRateLimit) GetBucketOwner() string

func (*EventSetBucketFlowRateLimit) GetOperator added in v1.6.0

func (m *EventSetBucketFlowRateLimit) GetOperator() string

func (*EventSetBucketFlowRateLimit) GetPaymentAddress added in v1.6.0

func (m *EventSetBucketFlowRateLimit) GetPaymentAddress() string

func (*EventSetBucketFlowRateLimit) Marshal added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) MarshalTo added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) MarshalToSizedBuffer added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) ProtoMessage added in v1.6.0

func (*EventSetBucketFlowRateLimit) ProtoMessage()

func (*EventSetBucketFlowRateLimit) Reset added in v1.6.0

func (m *EventSetBucketFlowRateLimit) Reset()

func (*EventSetBucketFlowRateLimit) Size added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) String added in v1.6.0

func (m *EventSetBucketFlowRateLimit) String() string

func (*EventSetBucketFlowRateLimit) Unmarshal added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) XXX_DiscardUnknown added in v1.6.0

func (m *EventSetBucketFlowRateLimit) XXX_DiscardUnknown()

func (*EventSetBucketFlowRateLimit) XXX_Marshal added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) XXX_Merge added in v1.6.0

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

func (*EventSetBucketFlowRateLimit) XXX_Size added in v1.6.0

func (m *EventSetBucketFlowRateLimit) XXX_Size() int

func (*EventSetBucketFlowRateLimit) XXX_Unmarshal added in v1.6.0

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

type EventSetTag added in v1.2.0

type EventSetTag struct {
	// resource defines a greenfield standard resource name that can be generated by GRN structure
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// tags define the tag of the source
	Tags *ResourceTags `protobuf:"bytes,2,opt,name=tags,proto3" json:"tags,omitempty"`
}

func (*EventSetTag) Descriptor added in v1.2.0

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

func (*EventSetTag) GetResource added in v1.2.0

func (m *EventSetTag) GetResource() string

func (*EventSetTag) GetTags added in v1.2.0

func (m *EventSetTag) GetTags() *ResourceTags

func (*EventSetTag) Marshal added in v1.2.0

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

func (*EventSetTag) MarshalTo added in v1.2.0

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

func (*EventSetTag) MarshalToSizedBuffer added in v1.2.0

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

func (*EventSetTag) ProtoMessage added in v1.2.0

func (*EventSetTag) ProtoMessage()

func (*EventSetTag) Reset added in v1.2.0

func (m *EventSetTag) Reset()

func (*EventSetTag) Size added in v1.2.0

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

func (*EventSetTag) String added in v1.2.0

func (m *EventSetTag) String() string

func (*EventSetTag) Unmarshal added in v1.2.0

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

func (*EventSetTag) XXX_DiscardUnknown added in v1.2.0

func (m *EventSetTag) XXX_DiscardUnknown()

func (*EventSetTag) XXX_Marshal added in v1.2.0

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

func (*EventSetTag) XXX_Merge added in v1.2.0

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

func (*EventSetTag) XXX_Size added in v1.2.0

func (m *EventSetTag) XXX_Size() int

func (*EventSetTag) XXX_Unmarshal added in v1.2.0

func (m *EventSetTag) 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 EventToggleSPAsDelegatedAgent added in v1.6.0

type EventToggleSPAsDelegatedAgent 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"`
	// bucket_id is the unique u256 for bucket. Not global, only unique in buckets.
	BucketId Uint `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
	// sp_as_delegated_agent_disabled indicates that whether bucket owner disable SP as the upload agent.
	SpAsDelegatedAgentDisabled bool `` /* 146-byte string literal not displayed */
}

func (*EventToggleSPAsDelegatedAgent) Descriptor added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) GetBucketName added in v1.6.0

func (m *EventToggleSPAsDelegatedAgent) GetBucketName() string

func (*EventToggleSPAsDelegatedAgent) GetSpAsDelegatedAgentDisabled added in v1.6.0

func (m *EventToggleSPAsDelegatedAgent) GetSpAsDelegatedAgentDisabled() bool

func (*EventToggleSPAsDelegatedAgent) Marshal added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) MarshalTo added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) MarshalToSizedBuffer added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) ProtoMessage added in v1.6.0

func (*EventToggleSPAsDelegatedAgent) ProtoMessage()

func (*EventToggleSPAsDelegatedAgent) Reset added in v1.6.0

func (m *EventToggleSPAsDelegatedAgent) Reset()

func (*EventToggleSPAsDelegatedAgent) Size added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) String added in v1.6.0

func (*EventToggleSPAsDelegatedAgent) Unmarshal added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) XXX_DiscardUnknown added in v1.6.0

func (m *EventToggleSPAsDelegatedAgent) XXX_DiscardUnknown()

func (*EventToggleSPAsDelegatedAgent) XXX_Marshal added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) XXX_Merge added in v1.6.0

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

func (*EventToggleSPAsDelegatedAgent) XXX_Size added in v1.6.0

func (m *EventToggleSPAsDelegatedAgent) XXX_Size() int

func (*EventToggleSPAsDelegatedAgent) XXX_Unmarshal added in v1.6.0

func (m *EventToggleSPAsDelegatedAgent) 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_after define the read quota after updated
	ChargedReadQuota uint64 `protobuf:"varint,4,opt,name=charged_read_quota,json=chargedReadQuota,proto3" json:"charged_read_quota,omitempty"`
	// payment_address define the payment address after updated
	PaymentAddress string `protobuf:"bytes,5,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// visibility defines the highest permission of object.
	Visibility VisibilityType `protobuf:"varint,6,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,omitempty"`
	// global_virtual_group_family_id defines the gvg family id after migrated.
	GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */
}

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) GetChargedReadQuota added in v0.2.3

func (m *EventUpdateBucketInfo) GetChargedReadQuota() uint64

func (*EventUpdateBucketInfo) GetGlobalVirtualGroupFamilyId added in v0.2.3

func (m *EventUpdateBucketInfo) GetGlobalVirtualGroupFamilyId() uint32

func (*EventUpdateBucketInfo) GetOperator added in v0.1.2

func (m *EventUpdateBucketInfo) GetOperator() string

func (*EventUpdateBucketInfo) GetPaymentAddress added in v0.2.3

func (m *EventUpdateBucketInfo) GetPaymentAddress() 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 []*EventGroupMemberDetail `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() []*EventGroupMemberDetail

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 EventUpdateObjectContent added in v1.5.0

type EventUpdateObjectContent struct {
	// operator define the account address of msg operator
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// object_id is the unique identifier of object
	ObjectId   Uint   `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// payload_size define the size of payload data which you want upload
	PayloadSize uint64 `protobuf:"varint,5,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
	// checksums define the total checksums of the object which generated by redundancy
	Checksums [][]byte `protobuf:"bytes,6,rep,name=checksums,proto3" json:"checksums,omitempty"`
	// version define the version of object
	Version int64 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
}

EventUpdateObjectContent is emitted on MsgUpdateObjectContent

func (*EventUpdateObjectContent) Descriptor added in v1.5.0

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

func (*EventUpdateObjectContent) GetBucketName added in v1.5.0

func (m *EventUpdateObjectContent) GetBucketName() string

func (*EventUpdateObjectContent) GetChecksums added in v1.5.0

func (m *EventUpdateObjectContent) GetChecksums() [][]byte

func (*EventUpdateObjectContent) GetObjectName added in v1.5.0

func (m *EventUpdateObjectContent) GetObjectName() string

func (*EventUpdateObjectContent) GetOperator added in v1.5.0

func (m *EventUpdateObjectContent) GetOperator() string

func (*EventUpdateObjectContent) GetPayloadSize added in v1.5.0

func (m *EventUpdateObjectContent) GetPayloadSize() uint64

func (*EventUpdateObjectContent) GetVersion added in v1.5.0

func (m *EventUpdateObjectContent) GetVersion() int64

func (*EventUpdateObjectContent) Marshal added in v1.5.0

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

func (*EventUpdateObjectContent) MarshalTo added in v1.5.0

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

func (*EventUpdateObjectContent) MarshalToSizedBuffer added in v1.5.0

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

func (*EventUpdateObjectContent) ProtoMessage added in v1.5.0

func (*EventUpdateObjectContent) ProtoMessage()

func (*EventUpdateObjectContent) Reset added in v1.5.0

func (m *EventUpdateObjectContent) Reset()

func (*EventUpdateObjectContent) Size added in v1.5.0

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

func (*EventUpdateObjectContent) String added in v1.5.0

func (m *EventUpdateObjectContent) String() string

func (*EventUpdateObjectContent) Unmarshal added in v1.5.0

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

func (*EventUpdateObjectContent) XXX_DiscardUnknown added in v1.5.0

func (m *EventUpdateObjectContent) XXX_DiscardUnknown()

func (*EventUpdateObjectContent) XXX_Marshal added in v1.5.0

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

func (*EventUpdateObjectContent) XXX_Merge added in v1.5.0

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

func (*EventUpdateObjectContent) XXX_Size added in v1.5.0

func (m *EventUpdateObjectContent) XXX_Size() int

func (*EventUpdateObjectContent) XXX_Unmarshal added in v1.5.0

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

type EventUpdateObjectContentSuccess added in v1.5.0

type EventUpdateObjectContentSuccess struct {
	// operator define the account address of msg operator
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// object_id is the unique identifier of object
	ObjectId   Uint   `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// content_type define the content type of the payload data
	ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// prev_payload_size define the size of payload data stored previously
	PrevPayloadSize uint64 `protobuf:"varint,6,opt,name=prev_payload_size,json=prevPayloadSize,proto3" json:"prev_payload_size,omitempty"`
	// new_payload_size define the new size of payload data
	NewPayloadSize uint64 `protobuf:"varint,7,opt,name=new_payload_size,json=newPayloadSize,proto3" json:"new_payload_size,omitempty"`
	// prev_checksums define the total checksums of the previous object which generated by redundancy
	PrevChecksums [][]byte `protobuf:"bytes,8,rep,name=prev_checksums,json=prevChecksums,proto3" json:"prev_checksums,omitempty"`
	// new_checksums define the total checksums of the updated object which generated by redundancy
	NewChecksums [][]byte `protobuf:"bytes,9,rep,name=new_checksums,json=newChecksums,proto3" json:"new_checksums,omitempty"`
	// version define the version of object
	Version int64 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"`
	// updated_at define the block timestamp when the object is updated
	UpdatedAt int64 `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

EventUpdateObjectContentSuccess is emitted on the MsgSealObject for updating object

func (*EventUpdateObjectContentSuccess) Descriptor added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) GetBucketName added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetBucketName() string

func (*EventUpdateObjectContentSuccess) GetContentType added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetContentType() string

func (*EventUpdateObjectContentSuccess) GetNewChecksums added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetNewChecksums() [][]byte

func (*EventUpdateObjectContentSuccess) GetNewPayloadSize added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetNewPayloadSize() uint64

func (*EventUpdateObjectContentSuccess) GetObjectName added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetObjectName() string

func (*EventUpdateObjectContentSuccess) GetOperator added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetOperator() string

func (*EventUpdateObjectContentSuccess) GetPrevChecksums added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetPrevChecksums() [][]byte

func (*EventUpdateObjectContentSuccess) GetPrevPayloadSize added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetPrevPayloadSize() uint64

func (*EventUpdateObjectContentSuccess) GetUpdatedAt added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetUpdatedAt() int64

func (*EventUpdateObjectContentSuccess) GetVersion added in v1.5.0

func (m *EventUpdateObjectContentSuccess) GetVersion() int64

func (*EventUpdateObjectContentSuccess) Marshal added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) MarshalTo added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) MarshalToSizedBuffer added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) ProtoMessage added in v1.5.0

func (*EventUpdateObjectContentSuccess) ProtoMessage()

func (*EventUpdateObjectContentSuccess) Reset added in v1.5.0

func (*EventUpdateObjectContentSuccess) Size added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) String added in v1.5.0

func (*EventUpdateObjectContentSuccess) Unmarshal added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) XXX_DiscardUnknown added in v1.5.0

func (m *EventUpdateObjectContentSuccess) XXX_DiscardUnknown()

func (*EventUpdateObjectContentSuccess) XXX_Marshal added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) XXX_Merge added in v1.5.0

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

func (*EventUpdateObjectContentSuccess) XXX_Size added in v1.5.0

func (m *EventUpdateObjectContentSuccess) XXX_Size() int

func (*EventUpdateObjectContentSuccess) XXX_Unmarshal added in v1.5.0

func (m *EventUpdateObjectContentSuccess) 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 GVGMapping added in v0.2.3

type GVGMapping struct {
	SrcGlobalVirtualGroupId uint32 `` /* 137-byte string literal not displayed */
	DstGlobalVirtualGroupId uint32 `` /* 137-byte string literal not displayed */
	SecondarySpBlsSignature []byte `` /* 134-byte string literal not displayed */
}

func (*GVGMapping) Descriptor added in v0.2.3

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

func (*GVGMapping) GetDstGlobalVirtualGroupId added in v0.2.3

func (m *GVGMapping) GetDstGlobalVirtualGroupId() uint32

func (*GVGMapping) GetSecondarySpBlsSignature added in v0.2.3

func (m *GVGMapping) GetSecondarySpBlsSignature() []byte

func (*GVGMapping) GetSrcGlobalVirtualGroupId added in v0.2.3

func (m *GVGMapping) GetSrcGlobalVirtualGroupId() uint32

func (*GVGMapping) Marshal added in v0.2.3

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

func (*GVGMapping) MarshalTo added in v0.2.3

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

func (*GVGMapping) MarshalToSizedBuffer added in v0.2.3

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

func (*GVGMapping) ProtoMessage added in v0.2.3

func (*GVGMapping) ProtoMessage()

func (*GVGMapping) Reset added in v0.2.3

func (m *GVGMapping) Reset()

func (*GVGMapping) Size added in v0.2.3

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

func (*GVGMapping) String added in v0.2.3

func (m *GVGMapping) String() string

func (*GVGMapping) Unmarshal added in v0.2.3

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

func (*GVGMapping) XXX_DiscardUnknown added in v0.2.3

func (m *GVGMapping) XXX_DiscardUnknown()

func (*GVGMapping) XXX_Marshal added in v0.2.3

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

func (*GVGMapping) XXX_Merge added in v0.2.3

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

func (*GVGMapping) XXX_Size added in v0.2.3

func (m *GVGMapping) XXX_Size() int

func (*GVGMapping) XXX_Unmarshal added in v0.2.3

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

type GeneralCreateAckPackageStruct added in v0.2.3

type GeneralCreateAckPackageStruct struct {
	Status    uint8
	Id        *big.Int
	Creator   common.Address
	ExtraData []byte
}

type GeneralDeleteSynPackageStruct added in v0.2.3

type GeneralDeleteSynPackageStruct struct {
	Operator  common.Address
	Id        *big.Int
	ExtraData []byte
}

type GeneralMirrorSynPackageStruct added in v0.2.3

type GeneralMirrorSynPackageStruct struct {
	Id    *big.Int
	Owner common.Address
}

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"`
	// tags defines a list of tags the group has
	Tags *ResourceTags `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,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) GetTags added in v1.2.0

func (m *GroupInfo) GetTags() *ResourceTags

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 InternalBucketInfo added in v0.2.3

type InternalBucketInfo 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"`
	// local_virtual_groups contains all the lvg of this bucket.
	LocalVirtualGroups []*LocalVirtualGroup `protobuf:"bytes,3,rep,name=local_virtual_groups,json=localVirtualGroups,proto3" json:"local_virtual_groups,omitempty"`
	// next_local_virtual_group_id store the next id used by local virtual group
	NextLocalVirtualGroupId uint32 `` /* 137-byte string literal not displayed */
}

func (*InternalBucketInfo) AppendLVG added in v0.2.3

func (b *InternalBucketInfo) AppendLVG(lvg *LocalVirtualGroup)

func (*InternalBucketInfo) DeleteLVG added in v0.2.3

func (b *InternalBucketInfo) DeleteLVG(lvgID uint32)

func (*InternalBucketInfo) Descriptor added in v0.2.3

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

func (*InternalBucketInfo) GetLVG added in v0.2.3

func (b *InternalBucketInfo) GetLVG(lvgID uint32) (*LocalVirtualGroup, bool)

func (*InternalBucketInfo) GetLVGByGVGID added in v0.2.3

func (b *InternalBucketInfo) GetLVGByGVGID(gvgID uint32) (*LocalVirtualGroup, bool)

func (*InternalBucketInfo) GetLocalVirtualGroups added in v0.2.3

func (m *InternalBucketInfo) GetLocalVirtualGroups() []*LocalVirtualGroup

func (*InternalBucketInfo) GetMaxLVGID added in v0.2.3

func (b *InternalBucketInfo) GetMaxLVGID() uint32

func (*InternalBucketInfo) GetNextLocalVirtualGroupId added in v0.2.3

func (m *InternalBucketInfo) GetNextLocalVirtualGroupId() uint32

func (*InternalBucketInfo) GetPriceTime added in v0.2.3

func (m *InternalBucketInfo) GetPriceTime() int64

func (*InternalBucketInfo) GetTotalChargeSize added in v0.2.3

func (m *InternalBucketInfo) GetTotalChargeSize() uint64

func (*InternalBucketInfo) Marshal added in v0.2.3

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

func (*InternalBucketInfo) MarshalTo added in v0.2.3

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

func (*InternalBucketInfo) MarshalToSizedBuffer added in v0.2.3

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

func (*InternalBucketInfo) MustGetLVG added in v0.2.3

func (b *InternalBucketInfo) MustGetLVG(lvgID uint32) *LocalVirtualGroup

func (*InternalBucketInfo) ProtoMessage added in v0.2.3

func (*InternalBucketInfo) ProtoMessage()

func (*InternalBucketInfo) Reset added in v0.2.3

func (m *InternalBucketInfo) Reset()

func (*InternalBucketInfo) Size added in v0.2.3

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

func (*InternalBucketInfo) String added in v0.2.3

func (m *InternalBucketInfo) String() string

func (*InternalBucketInfo) Unmarshal added in v0.2.3

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

func (*InternalBucketInfo) XXX_DiscardUnknown added in v0.2.3

func (m *InternalBucketInfo) XXX_DiscardUnknown()

func (*InternalBucketInfo) XXX_Marshal added in v0.2.3

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

func (*InternalBucketInfo) XXX_Merge added in v0.2.3

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

func (*InternalBucketInfo) XXX_Size added in v0.2.3

func (m *InternalBucketInfo) XXX_Size() int

func (*InternalBucketInfo) XXX_Unmarshal added in v0.2.3

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

type LeaveGroupOptions added in v0.2.4

type LeaveGroupOptions struct {
	SourceType SourceType
}

type LocalVirtualGroup added in v0.2.3

type LocalVirtualGroup struct {
	// id is the identifier of the local virtual group.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// global_virtual_group_id is the identifier of the global virtual group.
	GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */
	// stored_size is the size of the stored data in the local virtual group.
	StoredSize uint64 `protobuf:"varint,3,opt,name=stored_size,json=storedSize,proto3" json:"stored_size,omitempty"`
	// total_charge_size is the total charged size of the objects in the LVG.
	// Notice that the minimum unit of charge is 128K
	TotalChargeSize uint64 `protobuf:"varint,4,opt,name=total_charge_size,json=totalChargeSize,proto3" json:"total_charge_size,omitempty"`
}

Local virtual group(LVG) uniquely associated with a global virtual group. Each bucket maintains a mapping from local virtual group to global virtual group Each local virtual group is associated with a unique virtual payment account, where all object fees are streamed to.

func (*LocalVirtualGroup) Descriptor added in v0.2.3

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

func (*LocalVirtualGroup) GetGlobalVirtualGroupId added in v0.2.3

func (m *LocalVirtualGroup) GetGlobalVirtualGroupId() uint32

func (*LocalVirtualGroup) GetId added in v0.2.3

func (m *LocalVirtualGroup) GetId() uint32

func (*LocalVirtualGroup) GetStoredSize added in v0.2.3

func (m *LocalVirtualGroup) GetStoredSize() uint64

func (*LocalVirtualGroup) GetTotalChargeSize added in v0.2.3

func (m *LocalVirtualGroup) GetTotalChargeSize() uint64

func (*LocalVirtualGroup) Marshal added in v0.2.3

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

func (*LocalVirtualGroup) MarshalTo added in v0.2.3

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

func (*LocalVirtualGroup) MarshalToSizedBuffer added in v0.2.3

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

func (*LocalVirtualGroup) ProtoMessage added in v0.2.3

func (*LocalVirtualGroup) ProtoMessage()

func (*LocalVirtualGroup) Reset added in v0.2.3

func (m *LocalVirtualGroup) Reset()

func (*LocalVirtualGroup) Size added in v0.2.3

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

func (*LocalVirtualGroup) String added in v0.2.3

func (m *LocalVirtualGroup) String() string

func (*LocalVirtualGroup) Unmarshal added in v0.2.3

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

func (*LocalVirtualGroup) XXX_DiscardUnknown added in v0.2.3

func (m *LocalVirtualGroup) XXX_DiscardUnknown()

func (*LocalVirtualGroup) XXX_Marshal added in v0.2.3

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

func (*LocalVirtualGroup) XXX_Merge added in v0.2.3

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

func (*LocalVirtualGroup) XXX_Size added in v0.2.3

func (m *LocalVirtualGroup) XXX_Size() int

func (*LocalVirtualGroup) XXX_Unmarshal added in v0.2.3

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

type MigrationBucketInfo added in v0.2.3

type MigrationBucketInfo struct {
	SrcSpId                       uint32 `protobuf:"varint,1,opt,name=src_sp_id,json=srcSpId,proto3" json:"src_sp_id,omitempty"`
	SrcGlobalVirtualGroupFamilyId uint32 `` /* 157-byte string literal not displayed */
	DstSpId                       uint32 `protobuf:"varint,3,opt,name=dst_sp_id,json=dstSpId,proto3" json:"dst_sp_id,omitempty"`
	// id is the unique identifier of bucket
	BucketId Uint `protobuf:"bytes,4,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
}

func (*MigrationBucketInfo) Descriptor added in v0.2.3

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

func (*MigrationBucketInfo) GetDstSpId added in v0.2.3

func (m *MigrationBucketInfo) GetDstSpId() uint32

func (*MigrationBucketInfo) GetSrcGlobalVirtualGroupFamilyId added in v0.2.3

func (m *MigrationBucketInfo) GetSrcGlobalVirtualGroupFamilyId() uint32

func (*MigrationBucketInfo) GetSrcSpId added in v0.2.3

func (m *MigrationBucketInfo) GetSrcSpId() uint32

func (*MigrationBucketInfo) Marshal added in v0.2.3

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

func (*MigrationBucketInfo) MarshalTo added in v0.2.3

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

func (*MigrationBucketInfo) MarshalToSizedBuffer added in v0.2.3

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

func (*MigrationBucketInfo) ProtoMessage added in v0.2.3

func (*MigrationBucketInfo) ProtoMessage()

func (*MigrationBucketInfo) Reset added in v0.2.3

func (m *MigrationBucketInfo) Reset()

func (*MigrationBucketInfo) Size added in v0.2.3

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

func (*MigrationBucketInfo) String added in v0.2.3

func (m *MigrationBucketInfo) String() string

func (*MigrationBucketInfo) Unmarshal added in v0.2.3

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

func (*MigrationBucketInfo) XXX_DiscardUnknown added in v0.2.3

func (m *MigrationBucketInfo) XXX_DiscardUnknown()

func (*MigrationBucketInfo) XXX_Marshal added in v0.2.3

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

func (*MigrationBucketInfo) XXX_Merge added in v0.2.3

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

func (*MigrationBucketInfo) XXX_Size added in v0.2.3

func (m *MigrationBucketInfo) XXX_Size() int

func (*MigrationBucketInfo) XXX_Unmarshal added in v0.2.3

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

type MirrorBucketAckPackage added in v0.0.9

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

func (*MirrorBucketAckPackage) Serialize added in v0.2.3

func (pkg *MirrorBucketAckPackage) Serialize() ([]byte, error)

type MirrorBucketSynPackage added in v0.0.9

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

func (*MirrorBucketSynPackage) Serialize added in v0.2.3

func (pkg *MirrorBucketSynPackage) Serialize() ([]byte, error)

type MirrorGroupAckPackage added in v0.0.9

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

func (*MirrorGroupAckPackage) Serialize added in v0.2.3

func (pkg *MirrorGroupAckPackage) Serialize() ([]byte, error)

type MirrorGroupSynPackage added in v0.0.9

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

func (*MirrorGroupSynPackage) Serialize added in v0.2.3

func (pkg *MirrorGroupSynPackage) Serialize() ([]byte, error)

type MirrorObjectAckPackage added in v0.0.9

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

func (*MirrorObjectAckPackage) Serialize added in v0.2.3

func (pkg *MirrorObjectAckPackage) Serialize() ([]byte, error)

type MirrorObjectSynPackage added in v0.0.9

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

func (*MirrorObjectSynPackage) Serialize added in v0.2.3

func (pkg *MirrorObjectSynPackage) Serialize() ([]byte, error)

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(ctx types4.Context, addr types4.AccAddress) types5.AccountI

GetAccount mocks base method.

func (*MockAccountKeeper) GetModuleAddress added in v0.2.0

func (m *MockAccountKeeper) GetModuleAddress(name string) types4.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(ctx, addr interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAddress added in v0.2.0

func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name 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(ctx types4.Context, addr types4.AccAddress) types4.Coins

GetAllBalances mocks base method.

func (*MockBankKeeper) GetBalance added in v0.2.0

func (m *MockBankKeeper) GetBalance(ctx types4.Context, addr types4.AccAddress, denom string) types4.Coin

GetBalance mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount added in v0.2.0

func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types4.Context, senderModule string, recipientAddr types4.AccAddress, amt types4.Coins) error

SendCoinsFromModuleToAccount mocks base method.

func (*MockBankKeeper) SpendableCoins added in v0.2.0

func (m *MockBankKeeper) SpendableCoins(ctx types4.Context, addr types4.AccAddress) types4.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(ctx, addr interface{}) *gomock.Call

GetAllBalances indicates an expected call of GetAllBalances.

func (*MockBankKeeperMockRecorder) GetBalance added in v0.2.0

func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call

GetBalance indicates an expected call of GetBalance.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount added in v0.2.0

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.

func (*MockBankKeeperMockRecorder) SpendableCoins added in v0.2.0

func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr 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(ctx types4.Context, chainID types4.ChainID, channelID types4.ChannelID, packageType types4.CrossChainPackageType, packageLoad []byte, relayerFee, ackRelayerFee *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) GetDestBscChainID added in v0.2.3

func (m *MockCrossChainKeeper) GetDestBscChainID() types4.ChainID

GetDestBscChainID mocks base method.

func (*MockCrossChainKeeper) GetDestOpChainID added in v0.2.4

func (m *MockCrossChainKeeper) GetDestOpChainID() types4.ChainID

GetDestOpChainID mocks base method.

func (*MockCrossChainKeeper) IsDestChainSupported added in v0.2.4

func (m *MockCrossChainKeeper) IsDestChainSupported(chainID types4.ChainID) bool

IsDestChainSupported mocks base method.

func (*MockCrossChainKeeper) RegisterChannel added in v0.2.0

func (m *MockCrossChainKeeper) RegisterChannel(name string, id types4.ChannelID, app types4.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(ctx, chainID, channelID, packageType, packageLoad, relayerFee, ackRelayerFee interface{}) *gomock.Call

CreateRawIBCPackageWithFee indicates an expected call of CreateRawIBCPackageWithFee.

func (*MockCrossChainKeeperMockRecorder) GetDestBscChainID added in v0.2.3

func (mr *MockCrossChainKeeperMockRecorder) GetDestBscChainID() *gomock.Call

GetDestBscChainID indicates an expected call of GetDestBscChainID.

func (*MockCrossChainKeeperMockRecorder) GetDestOpChainID added in v0.2.4

func (mr *MockCrossChainKeeperMockRecorder) GetDestOpChainID() *gomock.Call

GetDestOpChainID indicates an expected call of GetDestOpChainID.

func (*MockCrossChainKeeperMockRecorder) IsDestChainSupported added in v0.2.4

func (mr *MockCrossChainKeeperMockRecorder) IsDestChainSupported(chainID interface{}) *gomock.Call

IsDestChainSupported indicates an expected call of IsDestChainSupported.

func (*MockCrossChainKeeperMockRecorder) RegisterChannel added in v0.2.0

func (mr *MockCrossChainKeeperMockRecorder) RegisterChannel(name, id, app 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(ctx types4.Context, userFlows []types0.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) GetAllStreamRecord added in v1.8.0

func (m *MockPaymentKeeper) GetAllStreamRecord(ctx types4.Context) []types0.StreamRecord

GetAllStreamRecord mocks base method.

func (*MockPaymentKeeper) GetOutFlows added in v1.8.0

func (m *MockPaymentKeeper) GetOutFlows(ctx types4.Context, addr types4.AccAddress) []types0.OutFlow

GetOutFlows mocks base method.

func (*MockPaymentKeeper) GetStreamRecord added in v0.2.0

func (m *MockPaymentKeeper) GetStreamRecord(ctx types4.Context, account types4.AccAddress) (*types0.StreamRecord, bool)

GetStreamRecord mocks base method.

func (*MockPaymentKeeper) GetVersionedParamsWithTs added in v0.2.3

func (m *MockPaymentKeeper) GetVersionedParamsWithTs(ctx types4.Context, time int64) (types0.VersionedParams, error)

GetVersionedParamsWithTs mocks base method.

func (*MockPaymentKeeper) IsPaymentAccountOwner added in v0.2.0

func (m *MockPaymentKeeper) IsPaymentAccountOwner(ctx types4.Context, addr, owner types4.AccAddress) bool

IsPaymentAccountOwner mocks base method.

func (*MockPaymentKeeper) MergeOutFlows added in v0.2.4

func (m *MockPaymentKeeper) MergeOutFlows(flows []types0.OutFlow) []types0.OutFlow

MergeOutFlows mocks base method.

func (*MockPaymentKeeper) UpdateStreamRecordByAddr added in v0.2.0

func (m *MockPaymentKeeper) UpdateStreamRecordByAddr(ctx types4.Context, change *types0.StreamRecordChange) (*types0.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(ctx, userFlows interface{}) *gomock.Call

ApplyUserFlowsList indicates an expected call of ApplyUserFlowsList.

func (*MockPaymentKeeperMockRecorder) GetAllStreamRecord added in v1.8.0

func (mr *MockPaymentKeeperMockRecorder) GetAllStreamRecord(ctx interface{}) *gomock.Call

GetAllStreamRecord indicates an expected call of GetAllStreamRecord.

func (*MockPaymentKeeperMockRecorder) GetOutFlows added in v1.8.0

func (mr *MockPaymentKeeperMockRecorder) GetOutFlows(ctx, addr interface{}) *gomock.Call

GetOutFlows indicates an expected call of GetOutFlows.

func (*MockPaymentKeeperMockRecorder) GetStreamRecord added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) GetStreamRecord(ctx, account interface{}) *gomock.Call

GetStreamRecord indicates an expected call of GetStreamRecord.

func (*MockPaymentKeeperMockRecorder) GetVersionedParamsWithTs added in v0.2.3

func (mr *MockPaymentKeeperMockRecorder) GetVersionedParamsWithTs(ctx, time interface{}) *gomock.Call

GetVersionedParamsWithTs indicates an expected call of GetVersionedParamsWithTs.

func (*MockPaymentKeeperMockRecorder) IsPaymentAccountOwner added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) IsPaymentAccountOwner(ctx, addr, owner interface{}) *gomock.Call

IsPaymentAccountOwner indicates an expected call of IsPaymentAccountOwner.

func (*MockPaymentKeeperMockRecorder) MergeOutFlows added in v0.2.4

func (mr *MockPaymentKeeperMockRecorder) MergeOutFlows(flows interface{}) *gomock.Call

MergeOutFlows indicates an expected call of MergeOutFlows.

func (*MockPaymentKeeperMockRecorder) UpdateStreamRecordByAddr added in v0.2.0

func (mr *MockPaymentKeeperMockRecorder) UpdateStreamRecordByAddr(ctx, change interface{}) *gomock.Call

UpdateStreamRecordByAddr indicates an expected call of UpdateStreamRecordByAddr.

type MockPaymentMsgServer added in v1.8.0

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

MockPaymentMsgServer is a mock of PaymentMsgServer interface.

func NewMockPaymentMsgServer added in v1.8.0

func NewMockPaymentMsgServer(ctrl *gomock.Controller) *MockPaymentMsgServer

NewMockPaymentMsgServer creates a new mock instance.

func (*MockPaymentMsgServer) CreatePaymentAccount added in v1.8.0

CreatePaymentAccount mocks base method.

func (*MockPaymentMsgServer) Deposit added in v1.8.0

Deposit mocks base method.

func (*MockPaymentMsgServer) DisableRefund added in v1.8.0

DisableRefund mocks base method.

func (*MockPaymentMsgServer) EXPECT added in v1.8.0

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

func (*MockPaymentMsgServer) Withdraw added in v1.8.0

Withdraw mocks base method.

type MockPaymentMsgServerMockRecorder added in v1.8.0

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

MockPaymentMsgServerMockRecorder is the mock recorder for MockPaymentMsgServer.

func (*MockPaymentMsgServerMockRecorder) CreatePaymentAccount added in v1.8.0

func (mr *MockPaymentMsgServerMockRecorder) CreatePaymentAccount(arg0, arg1 interface{}) *gomock.Call

CreatePaymentAccount indicates an expected call of CreatePaymentAccount.

func (*MockPaymentMsgServerMockRecorder) Deposit added in v1.8.0

func (mr *MockPaymentMsgServerMockRecorder) Deposit(arg0, arg1 interface{}) *gomock.Call

Deposit indicates an expected call of Deposit.

func (*MockPaymentMsgServerMockRecorder) DisableRefund added in v1.8.0

func (mr *MockPaymentMsgServerMockRecorder) DisableRefund(arg0, arg1 interface{}) *gomock.Call

DisableRefund indicates an expected call of DisableRefund.

func (*MockPaymentMsgServerMockRecorder) Withdraw added in v1.8.0

func (mr *MockPaymentMsgServerMockRecorder) Withdraw(arg0, arg1 interface{}) *gomock.Call

Withdraw indicates an expected call of Withdraw.

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(ctx types4.Context, groupID math.Uint, member types4.AccAddress, expiration *time.Time) error

AddGroupMember mocks base method.

func (*MockPermissionKeeper) DeletePolicy added in v0.2.0

func (m *MockPermissionKeeper) DeletePolicy(ctx types4.Context, principal *types1.Principal, resourceType resource.ResourceType, resourceID 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 types4.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 types4.Context, groupId math.Uint) bool

ExistGroupMemberForGroup mocks base method.

func (*MockPermissionKeeper) ExistGroupPolicyForResource added in v0.2.0

func (m *MockPermissionKeeper) ExistGroupPolicyForResource(ctx types4.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 types4.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 types4.Context, maxDelete, deletedTotal uint64, groupId math.Uint) (uint64, bool)

ForceDeleteGroupMembers mocks base method.

func (*MockPermissionKeeper) ForceDeleteGroupPolicyForResource added in v0.2.0

func (m *MockPermissionKeeper) ForceDeleteGroupPolicyForResource(ctx types4.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(ctx types4.Context, groupID math.Uint, member types4.AccAddress) (*types1.GroupMember, bool)

GetGroupMember mocks base method.

func (*MockPermissionKeeper) GetGroupMemberByID added in v0.2.0

func (m *MockPermissionKeeper) GetGroupMemberByID(ctx types4.Context, groupMemberID math.Uint) (*types1.GroupMember, bool)

GetGroupMemberByID mocks base method.

func (*MockPermissionKeeper) GetPolicyByID added in v0.2.0

func (m *MockPermissionKeeper) GetPolicyByID(ctx types4.Context, policyID math.Uint) (*types1.Policy, bool)

GetPolicyByID mocks base method.

func (*MockPermissionKeeper) GetPolicyForAccount added in v0.2.0

func (m *MockPermissionKeeper) GetPolicyForAccount(ctx types4.Context, resourceID math.Uint, resourceType resource.ResourceType, addr types4.AccAddress) (*types1.Policy, bool)

GetPolicyForAccount mocks base method.

func (*MockPermissionKeeper) GetPolicyForGroup added in v0.2.0

func (m *MockPermissionKeeper) GetPolicyForGroup(ctx types4.Context, resourceID math.Uint, resourceType resource.ResourceType, groupID math.Uint) (*types1.Policy, bool)

GetPolicyForGroup mocks base method.

func (*MockPermissionKeeper) GetPolicyGroupForResource added in v0.2.4

func (m *MockPermissionKeeper) GetPolicyGroupForResource(ctx types4.Context, resourceID math.Uint, resourceType resource.ResourceType) (*types1.PolicyGroup, bool)

GetPolicyGroupForResource mocks base method.

func (*MockPermissionKeeper) MustGetPolicyByID added in v0.2.4

func (m *MockPermissionKeeper) MustGetPolicyByID(ctx types4.Context, policyID math.Uint) *types1.Policy

MustGetPolicyByID mocks base method.

func (*MockPermissionKeeper) PutPolicy added in v0.2.0

func (m *MockPermissionKeeper) PutPolicy(ctx types4.Context, policy *types1.Policy) (math.Uint, error)

PutPolicy mocks base method.

func (*MockPermissionKeeper) RemoveGroupMember added in v0.2.0

func (m *MockPermissionKeeper) RemoveGroupMember(ctx types4.Context, groupID math.Uint, member types4.AccAddress) error

RemoveGroupMember mocks base method.

func (*MockPermissionKeeper) UpdateGroupMember added in v0.2.4

func (m *MockPermissionKeeper) UpdateGroupMember(ctx types4.Context, groupID math.Uint, member types4.AccAddress, memberID math.Uint, expiration *time.Time)

UpdateGroupMember 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(ctx, groupID, member, expiration interface{}) *gomock.Call

AddGroupMember indicates an expected call of AddGroupMember.

func (*MockPermissionKeeperMockRecorder) DeletePolicy added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) DeletePolicy(ctx, principal, resourceType, resourceID 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, deletedTotal, 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(ctx, groupID, member interface{}) *gomock.Call

GetGroupMember indicates an expected call of GetGroupMember.

func (*MockPermissionKeeperMockRecorder) GetGroupMemberByID added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) GetGroupMemberByID(ctx, groupMemberID interface{}) *gomock.Call

GetGroupMemberByID indicates an expected call of GetGroupMemberByID.

func (*MockPermissionKeeperMockRecorder) GetPolicyByID added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) GetPolicyByID(ctx, policyID interface{}) *gomock.Call

GetPolicyByID indicates an expected call of GetPolicyByID.

func (*MockPermissionKeeperMockRecorder) GetPolicyForAccount added in v0.2.0

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

GetPolicyForAccount indicates an expected call of GetPolicyForAccount.

func (*MockPermissionKeeperMockRecorder) GetPolicyForGroup added in v0.2.0

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

GetPolicyForGroup indicates an expected call of GetPolicyForGroup.

func (*MockPermissionKeeperMockRecorder) GetPolicyGroupForResource added in v0.2.4

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

GetPolicyGroupForResource indicates an expected call of GetPolicyGroupForResource.

func (*MockPermissionKeeperMockRecorder) MustGetPolicyByID added in v0.2.4

func (mr *MockPermissionKeeperMockRecorder) MustGetPolicyByID(ctx, policyID interface{}) *gomock.Call

MustGetPolicyByID indicates an expected call of MustGetPolicyByID.

func (*MockPermissionKeeperMockRecorder) PutPolicy added in v0.2.0

func (mr *MockPermissionKeeperMockRecorder) PutPolicy(ctx, policy interface{}) *gomock.Call

PutPolicy indicates an expected call of PutPolicy.

func (*MockPermissionKeeperMockRecorder) RemoveGroupMember added in v0.2.0

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

RemoveGroupMember indicates an expected call of RemoveGroupMember.

func (*MockPermissionKeeperMockRecorder) UpdateGroupMember added in v0.2.4

func (mr *MockPermissionKeeperMockRecorder) UpdateGroupMember(ctx, groupID, member, memberID, expiration interface{}) *gomock.Call

UpdateGroupMember indicates an expected call of UpdateGroupMember.

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) GetGlobalSpStorePriceByTime added in v0.2.4

func (m *MockSpKeeper) GetGlobalSpStorePriceByTime(ctx types4.Context, time int64) (types2.GlobalSpStorePrice, error)

GetGlobalSpStorePriceByTime mocks base method.

func (*MockSpKeeper) GetStorageProvider added in v0.2.0

func (m *MockSpKeeper) GetStorageProvider(ctx types4.Context, id uint32) (*types2.StorageProvider, bool)

GetStorageProvider mocks base method.

func (*MockSpKeeper) GetStorageProviderByGcAddr added in v0.2.0

func (m *MockSpKeeper) GetStorageProviderByGcAddr(ctx types4.Context, gcAddr types4.AccAddress) (*types2.StorageProvider, bool)

GetStorageProviderByGcAddr mocks base method.

func (*MockSpKeeper) GetStorageProviderByOperatorAddr added in v0.2.3

func (m *MockSpKeeper) GetStorageProviderByOperatorAddr(ctx types4.Context, addr types4.AccAddress) (*types2.StorageProvider, bool)

GetStorageProviderByOperatorAddr mocks base method.

func (*MockSpKeeper) GetStorageProviderBySealAddr added in v0.2.0

func (m *MockSpKeeper) GetStorageProviderBySealAddr(ctx types4.Context, sealAddr types4.AccAddress) (*types2.StorageProvider, bool)

GetStorageProviderBySealAddr mocks base method.

func (*MockSpKeeper) MustGetStorageProvider added in v0.2.3

func (m *MockSpKeeper) MustGetStorageProvider(ctx types4.Context, id uint32) *types2.StorageProvider

MustGetStorageProvider 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) GetGlobalSpStorePriceByTime added in v0.2.4

func (mr *MockSpKeeperMockRecorder) GetGlobalSpStorePriceByTime(ctx, time interface{}) *gomock.Call

GetGlobalSpStorePriceByTime indicates an expected call of GetGlobalSpStorePriceByTime.

func (*MockSpKeeperMockRecorder) GetStorageProvider added in v0.2.0

func (mr *MockSpKeeperMockRecorder) GetStorageProvider(ctx, id interface{}) *gomock.Call

GetStorageProvider indicates an expected call of GetStorageProvider.

func (*MockSpKeeperMockRecorder) GetStorageProviderByGcAddr added in v0.2.0

func (mr *MockSpKeeperMockRecorder) GetStorageProviderByGcAddr(ctx, gcAddr interface{}) *gomock.Call

GetStorageProviderByGcAddr indicates an expected call of GetStorageProviderByGcAddr.

func (*MockSpKeeperMockRecorder) GetStorageProviderByOperatorAddr added in v0.2.3

func (mr *MockSpKeeperMockRecorder) GetStorageProviderByOperatorAddr(ctx, addr interface{}) *gomock.Call

GetStorageProviderByOperatorAddr indicates an expected call of GetStorageProviderByOperatorAddr.

func (*MockSpKeeperMockRecorder) GetStorageProviderBySealAddr added in v0.2.0

func (mr *MockSpKeeperMockRecorder) GetStorageProviderBySealAddr(ctx, sealAddr interface{}) *gomock.Call

GetStorageProviderBySealAddr indicates an expected call of GetStorageProviderBySealAddr.

func (*MockSpKeeperMockRecorder) MustGetStorageProvider added in v0.2.3

func (mr *MockSpKeeperMockRecorder) MustGetStorageProvider(ctx, id interface{}) *gomock.Call

MustGetStorageProvider indicates an expected call of MustGetStorageProvider.

type MockStorageKeeper added in v0.2.4

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

MockStorageKeeper is a mock of StorageKeeper interface.

func NewMockStorageKeeper added in v0.2.4

func NewMockStorageKeeper(ctrl *gomock.Controller) *MockStorageKeeper

NewMockStorageKeeper creates a new mock instance.

func (*MockStorageKeeper) CreateBucket added in v0.2.4

func (m *MockStorageKeeper) CreateBucket(ctx types4.Context, ownerAcc types4.AccAddress, bucketName string, primarySpAcc types4.AccAddress, opts *CreateBucketOptions) (math.Uint, error)

CreateBucket mocks base method.

func (*MockStorageKeeper) CreateGroup added in v0.2.4

func (m *MockStorageKeeper) CreateGroup(ctx types4.Context, owner types4.AccAddress, groupName string, opts CreateGroupOptions) (math.Uint, error)

CreateGroup mocks base method.

func (*MockStorageKeeper) DeleteBucket added in v0.2.4

func (m *MockStorageKeeper) DeleteBucket(ctx types4.Context, operator types4.AccAddress, bucketName string, opts DeleteBucketOptions) error

DeleteBucket mocks base method.

func (*MockStorageKeeper) DeleteGroup added in v0.2.4

func (m *MockStorageKeeper) DeleteGroup(ctx types4.Context, operator types4.AccAddress, groupName string, opts DeleteGroupOptions) error

DeleteGroup mocks base method.

func (*MockStorageKeeper) DeleteObject added in v0.2.4

func (m *MockStorageKeeper) DeleteObject(ctx types4.Context, operator types4.AccAddress, bucketName, objectName string, opts DeleteObjectOptions) error

DeleteObject mocks base method.

func (*MockStorageKeeper) EXPECT added in v0.2.4

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

func (*MockStorageKeeper) GetBucketInfo added in v1.9.0

func (m *MockStorageKeeper) GetBucketInfo(ctx types4.Context, bucketName string) (*BucketInfo, bool)

GetBucketInfo mocks base method.

func (*MockStorageKeeper) GetBucketInfoById added in v0.2.4

func (m *MockStorageKeeper) GetBucketInfoById(ctx types4.Context, bucketId math.Uint) (*BucketInfo, bool)

GetBucketInfoById mocks base method.

func (*MockStorageKeeper) GetGroupInfo added in v1.3.0

func (m *MockStorageKeeper) GetGroupInfo(ctx types4.Context, ownerAddr types4.AccAddress, groupName string) (*GroupInfo, bool)

GetGroupInfo mocks base method.

func (*MockStorageKeeper) GetGroupInfoById added in v0.2.4

func (m *MockStorageKeeper) GetGroupInfoById(ctx types4.Context, groupId math.Uint) (*GroupInfo, bool)

GetGroupInfoById mocks base method.

func (*MockStorageKeeper) GetObjectInfo added in v1.9.0

func (m *MockStorageKeeper) GetObjectInfo(ctx types4.Context, bucketName, objectName string) (*ObjectInfo, bool)

GetObjectInfo mocks base method.

func (*MockStorageKeeper) GetObjectInfoById added in v0.2.4

func (m *MockStorageKeeper) GetObjectInfoById(ctx types4.Context, objectId math.Uint) (*ObjectInfo, bool)

GetObjectInfoById mocks base method.

func (*MockStorageKeeper) GetResourceOwnerAndIdFromGRN added in v1.9.0

func (m *MockStorageKeeper) GetResourceOwnerAndIdFromGRN(ctx types4.Context, grn types.GRN) (types4.AccAddress, math.Uint, error)

GetResourceOwnerAndIdFromGRN mocks base method.

func (*MockStorageKeeper) GetSourceTypeByChainId added in v0.2.4

func (m *MockStorageKeeper) GetSourceTypeByChainId(ctx types4.Context, chainId types4.ChainID) (SourceType, error)

GetSourceTypeByChainId mocks base method.

func (*MockStorageKeeper) Logger added in v0.2.4

func (m *MockStorageKeeper) Logger(ctx types4.Context) log.Logger

Logger mocks base method.

func (*MockStorageKeeper) NormalizePrincipal added in v1.3.0

func (m *MockStorageKeeper) NormalizePrincipal(ctx types4.Context, principal *types1.Principal)

NormalizePrincipal mocks base method.

func (*MockStorageKeeper) RenewGroupMember added in v0.2.4

func (m *MockStorageKeeper) RenewGroupMember(ctx types4.Context, operator types4.AccAddress, groupInfo *GroupInfo, opts RenewGroupMemberOptions) error

RenewGroupMember mocks base method.

func (*MockStorageKeeper) SetBucketInfo added in v0.2.4

func (m *MockStorageKeeper) SetBucketInfo(ctx types4.Context, bucketInfo *BucketInfo)

SetBucketInfo mocks base method.

func (*MockStorageKeeper) SetGroupInfo added in v0.2.4

func (m *MockStorageKeeper) SetGroupInfo(ctx types4.Context, groupInfo *GroupInfo)

SetGroupInfo mocks base method.

func (*MockStorageKeeper) SetObjectInfo added in v0.2.4

func (m *MockStorageKeeper) SetObjectInfo(ctx types4.Context, objectInfo *ObjectInfo)

SetObjectInfo mocks base method.

func (*MockStorageKeeper) UpdateGroupMember added in v0.2.4

func (m *MockStorageKeeper) UpdateGroupMember(ctx types4.Context, operator types4.AccAddress, groupInfo *GroupInfo, opts UpdateGroupMemberOptions) error

UpdateGroupMember mocks base method.

func (*MockStorageKeeper) ValidatePrincipal added in v1.3.0

func (m *MockStorageKeeper) ValidatePrincipal(ctx types4.Context, resOwner types4.AccAddress, principal *types1.Principal) error

ValidatePrincipal mocks base method.

type MockStorageKeeperMockRecorder added in v0.2.4

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

MockStorageKeeperMockRecorder is the mock recorder for MockStorageKeeper.

func (*MockStorageKeeperMockRecorder) CreateBucket added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) CreateBucket(ctx, ownerAcc, bucketName, primarySpAcc, opts interface{}) *gomock.Call

CreateBucket indicates an expected call of CreateBucket.

func (*MockStorageKeeperMockRecorder) CreateGroup added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) CreateGroup(ctx, owner, groupName, opts interface{}) *gomock.Call

CreateGroup indicates an expected call of CreateGroup.

func (*MockStorageKeeperMockRecorder) DeleteBucket added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) DeleteBucket(ctx, operator, bucketName, opts interface{}) *gomock.Call

DeleteBucket indicates an expected call of DeleteBucket.

func (*MockStorageKeeperMockRecorder) DeleteGroup added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) DeleteGroup(ctx, operator, groupName, opts interface{}) *gomock.Call

DeleteGroup indicates an expected call of DeleteGroup.

func (*MockStorageKeeperMockRecorder) DeleteObject added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) DeleteObject(ctx, operator, bucketName, objectName, opts interface{}) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockStorageKeeperMockRecorder) GetBucketInfo added in v1.9.0

func (mr *MockStorageKeeperMockRecorder) GetBucketInfo(ctx, bucketName interface{}) *gomock.Call

GetBucketInfo indicates an expected call of GetBucketInfo.

func (*MockStorageKeeperMockRecorder) GetBucketInfoById added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) GetBucketInfoById(ctx, bucketId interface{}) *gomock.Call

GetBucketInfoById indicates an expected call of GetBucketInfoById.

func (*MockStorageKeeperMockRecorder) GetGroupInfo added in v1.5.0

func (mr *MockStorageKeeperMockRecorder) GetGroupInfo(ctx, ownerAddr, groupName interface{}) *gomock.Call

GetGroupInfo indicates an expected call of GetGroupInfo.

func (*MockStorageKeeperMockRecorder) GetGroupInfoById added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) GetGroupInfoById(ctx, groupId interface{}) *gomock.Call

GetGroupInfoById indicates an expected call of GetGroupInfoById.

func (*MockStorageKeeperMockRecorder) GetObjectInfo added in v1.9.0

func (mr *MockStorageKeeperMockRecorder) GetObjectInfo(ctx, bucketName, objectName interface{}) *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockStorageKeeperMockRecorder) GetObjectInfoById added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) GetObjectInfoById(ctx, objectId interface{}) *gomock.Call

GetObjectInfoById indicates an expected call of GetObjectInfoById.

func (*MockStorageKeeperMockRecorder) GetResourceOwnerAndIdFromGRN added in v1.9.0

func (mr *MockStorageKeeperMockRecorder) GetResourceOwnerAndIdFromGRN(ctx, grn interface{}) *gomock.Call

GetResourceOwnerAndIdFromGRN indicates an expected call of GetResourceOwnerAndIdFromGRN.

func (*MockStorageKeeperMockRecorder) GetSourceTypeByChainId added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) GetSourceTypeByChainId(ctx, chainId interface{}) *gomock.Call

GetSourceTypeByChainId indicates an expected call of GetSourceTypeByChainId.

func (*MockStorageKeeperMockRecorder) Logger added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) Logger(ctx interface{}) *gomock.Call

Logger indicates an expected call of Logger.

func (*MockStorageKeeperMockRecorder) NormalizePrincipal added in v1.3.0

func (mr *MockStorageKeeperMockRecorder) NormalizePrincipal(ctx, principal interface{}) *gomock.Call

NormalizePrincipal indicates an expected call of NormalizePrincipal.

func (*MockStorageKeeperMockRecorder) RenewGroupMember added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) RenewGroupMember(ctx, operator, groupInfo, opts interface{}) *gomock.Call

RenewGroupMember indicates an expected call of RenewGroupMember.

func (*MockStorageKeeperMockRecorder) SetBucketInfo added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) SetBucketInfo(ctx, bucketInfo interface{}) *gomock.Call

SetBucketInfo indicates an expected call of SetBucketInfo.

func (*MockStorageKeeperMockRecorder) SetGroupInfo added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) SetGroupInfo(ctx, groupInfo interface{}) *gomock.Call

SetGroupInfo indicates an expected call of SetGroupInfo.

func (*MockStorageKeeperMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) SetObjectInfo(ctx, objectInfo interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockStorageKeeperMockRecorder) UpdateGroupMember added in v0.2.4

func (mr *MockStorageKeeperMockRecorder) UpdateGroupMember(ctx, operator, groupInfo, opts interface{}) *gomock.Call

UpdateGroupMember indicates an expected call of UpdateGroupMember.

func (*MockStorageKeeperMockRecorder) ValidatePrincipal added in v1.3.0

func (mr *MockStorageKeeperMockRecorder) ValidatePrincipal(ctx, resOwner, principal interface{}) *gomock.Call

ValidatePrincipal indicates an expected call of ValidatePrincipal.

type MockStorageMsgServer added in v1.8.0

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

MockStorageMsgServer is a mock of StorageMsgServer interface.

func NewMockStorageMsgServer added in v1.8.0

func NewMockStorageMsgServer(ctrl *gomock.Controller) *MockStorageMsgServer

NewMockStorageMsgServer creates a new mock instance.

func (*MockStorageMsgServer) CancelMigrateBucket added in v1.8.0

CancelMigrateBucket mocks base method.

func (*MockStorageMsgServer) CopyObject added in v1.8.0

CopyObject mocks base method.

func (*MockStorageMsgServer) EXPECT added in v1.8.0

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

func (*MockStorageMsgServer) MigrateBucket added in v1.8.0

MigrateBucket mocks base method.

func (*MockStorageMsgServer) SetBucketFlowRateLimit added in v1.8.0

SetBucketFlowRateLimit mocks base method.

func (*MockStorageMsgServer) SetTag added in v1.8.0

SetTag mocks base method.

func (*MockStorageMsgServer) ToggleSPAsDelegatedAgent added in v1.8.0

ToggleSPAsDelegatedAgent mocks base method.

func (*MockStorageMsgServer) UpdateBucketInfo added in v1.8.0

UpdateBucketInfo mocks base method.

func (*MockStorageMsgServer) UpdateGroupExtra added in v1.8.0

UpdateGroupExtra mocks base method.

func (*MockStorageMsgServer) UpdateObjectInfo added in v1.8.0

UpdateObjectInfo mocks base method.

type MockStorageMsgServerMockRecorder added in v1.8.0

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

MockStorageMsgServerMockRecorder is the mock recorder for MockStorageMsgServer.

func (*MockStorageMsgServerMockRecorder) CancelMigrateBucket added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) CancelMigrateBucket(arg0, arg1 interface{}) *gomock.Call

CancelMigrateBucket indicates an expected call of CancelMigrateBucket.

func (*MockStorageMsgServerMockRecorder) CopyObject added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) CopyObject(arg0, arg1 interface{}) *gomock.Call

CopyObject indicates an expected call of CopyObject.

func (*MockStorageMsgServerMockRecorder) MigrateBucket added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) MigrateBucket(arg0, arg1 interface{}) *gomock.Call

MigrateBucket indicates an expected call of MigrateBucket.

func (*MockStorageMsgServerMockRecorder) SetBucketFlowRateLimit added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) SetBucketFlowRateLimit(arg0, arg1 interface{}) *gomock.Call

SetBucketFlowRateLimit indicates an expected call of SetBucketFlowRateLimit.

func (*MockStorageMsgServerMockRecorder) SetTag added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) SetTag(arg0, arg1 interface{}) *gomock.Call

SetTag indicates an expected call of SetTag.

func (*MockStorageMsgServerMockRecorder) ToggleSPAsDelegatedAgent added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) ToggleSPAsDelegatedAgent(arg0, arg1 interface{}) *gomock.Call

ToggleSPAsDelegatedAgent indicates an expected call of ToggleSPAsDelegatedAgent.

func (*MockStorageMsgServerMockRecorder) UpdateBucketInfo added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) UpdateBucketInfo(arg0, arg1 interface{}) *gomock.Call

UpdateBucketInfo indicates an expected call of UpdateBucketInfo.

func (*MockStorageMsgServerMockRecorder) UpdateGroupExtra added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) UpdateGroupExtra(arg0, arg1 interface{}) *gomock.Call

UpdateGroupExtra indicates an expected call of UpdateGroupExtra.

func (*MockStorageMsgServerMockRecorder) UpdateObjectInfo added in v1.8.0

func (mr *MockStorageMsgServerMockRecorder) UpdateObjectInfo(arg0, arg1 interface{}) *gomock.Call

UpdateObjectInfo indicates an expected call of UpdateObjectInfo.

type MockVirtualGroupKeeper added in v0.2.3

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

MockVirtualGroupKeeper is a mock of VirtualGroupKeeper interface.

func NewMockVirtualGroupKeeper added in v0.2.3

func NewMockVirtualGroupKeeper(ctrl *gomock.Controller) *MockVirtualGroupKeeper

NewMockVirtualGroupKeeper creates a new mock instance.

func (*MockVirtualGroupKeeper) EXPECT added in v0.2.3

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

func (*MockVirtualGroupKeeper) GetAndCheckGVGFamilyAvailableForNewBucket added in v0.2.3

func (m *MockVirtualGroupKeeper) GetAndCheckGVGFamilyAvailableForNewBucket(ctx types4.Context, familyID uint32) (*types3.GlobalVirtualGroupFamily, error)

GetAndCheckGVGFamilyAvailableForNewBucket mocks base method.

func (*MockVirtualGroupKeeper) GetGVG added in v0.2.3

GetGVG mocks base method.

func (*MockVirtualGroupKeeper) GetGVGFamily added in v0.2.3

func (m *MockVirtualGroupKeeper) GetGVGFamily(ctx types4.Context, familyID uint32) (*types3.GlobalVirtualGroupFamily, bool)

GetGVGFamily mocks base method.

func (*MockVirtualGroupKeeper) GetGlobalVirtualGroupIfAvailable added in v0.2.3

func (m *MockVirtualGroupKeeper) GetGlobalVirtualGroupIfAvailable(ctx types4.Context, gvgID uint32, expectedStoreSize uint64) (*types3.GlobalVirtualGroup, error)

GetGlobalVirtualGroupIfAvailable mocks base method.

func (*MockVirtualGroupKeeper) GetSwapInInfo added in v1.3.0

func (m *MockVirtualGroupKeeper) GetSwapInInfo(ctx types4.Context, familyID, gvgID uint32) (*types3.SwapInInfo, bool)

GetSwapInInfo mocks base method.

func (*MockVirtualGroupKeeper) SetGVGAndEmitUpdateEvent added in v0.2.3

func (m *MockVirtualGroupKeeper) SetGVGAndEmitUpdateEvent(ctx types4.Context, gvg *types3.GlobalVirtualGroup) error

SetGVGAndEmitUpdateEvent mocks base method.

func (*MockVirtualGroupKeeper) SettleAndDistributeGVG added in v0.2.3

func (m *MockVirtualGroupKeeper) SettleAndDistributeGVG(ctx types4.Context, gvg *types3.GlobalVirtualGroup) error

SettleAndDistributeGVG mocks base method.

func (*MockVirtualGroupKeeper) SettleAndDistributeGVGFamily added in v0.2.3

func (m *MockVirtualGroupKeeper) SettleAndDistributeGVGFamily(ctx types4.Context, sp *types2.StorageProvider, family *types3.GlobalVirtualGroupFamily) error

SettleAndDistributeGVGFamily mocks base method.

type MockVirtualGroupKeeperMockRecorder added in v0.2.3

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

MockVirtualGroupKeeperMockRecorder is the mock recorder for MockVirtualGroupKeeper.

func (*MockVirtualGroupKeeperMockRecorder) GetAndCheckGVGFamilyAvailableForNewBucket added in v0.2.3

func (mr *MockVirtualGroupKeeperMockRecorder) GetAndCheckGVGFamilyAvailableForNewBucket(ctx, familyID interface{}) *gomock.Call

GetAndCheckGVGFamilyAvailableForNewBucket indicates an expected call of GetAndCheckGVGFamilyAvailableForNewBucket.

func (*MockVirtualGroupKeeperMockRecorder) GetGVG added in v0.2.3

func (mr *MockVirtualGroupKeeperMockRecorder) GetGVG(ctx, gvgID interface{}) *gomock.Call

GetGVG indicates an expected call of GetGVG.

func (*MockVirtualGroupKeeperMockRecorder) GetGVGFamily added in v0.2.3

func (mr *MockVirtualGroupKeeperMockRecorder) GetGVGFamily(ctx, familyID interface{}) *gomock.Call

GetGVGFamily indicates an expected call of GetGVGFamily.

func (*MockVirtualGroupKeeperMockRecorder) GetGlobalVirtualGroupIfAvailable added in v0.2.3

func (mr *MockVirtualGroupKeeperMockRecorder) GetGlobalVirtualGroupIfAvailable(ctx, gvgID, expectedStoreSize interface{}) *gomock.Call

GetGlobalVirtualGroupIfAvailable indicates an expected call of GetGlobalVirtualGroupIfAvailable.

func (*MockVirtualGroupKeeperMockRecorder) GetSwapInInfo added in v1.3.0

func (mr *MockVirtualGroupKeeperMockRecorder) GetSwapInInfo(ctx, familyID, gvgID interface{}) *gomock.Call

GetSwapInInfo indicates an expected call of GetSwapInInfo.

func (*MockVirtualGroupKeeperMockRecorder) SetGVGAndEmitUpdateEvent added in v0.2.3

func (mr *MockVirtualGroupKeeperMockRecorder) SetGVGAndEmitUpdateEvent(ctx, gvg interface{}) *gomock.Call

SetGVGAndEmitUpdateEvent indicates an expected call of SetGVGAndEmitUpdateEvent.

func (*MockVirtualGroupKeeperMockRecorder) SettleAndDistributeGVG added in v0.2.3

func (mr *MockVirtualGroupKeeperMockRecorder) SettleAndDistributeGVG(ctx, gvg interface{}) *gomock.Call

SettleAndDistributeGVG indicates an expected call of SettleAndDistributeGVG.

func (*MockVirtualGroupKeeperMockRecorder) SettleAndDistributeGVGFamily added in v0.2.3

func (mr *MockVirtualGroupKeeperMockRecorder) SettleAndDistributeGVGFamily(ctx, sp, family interface{}) *gomock.Call

SettleAndDistributeGVGFamily indicates an expected call of SettleAndDistributeGVGFamily.

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, 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 MsgCancelMigrateBucket added in v0.2.3

type MsgCancelMigrateBucket struct {
	// operator defines the account address of the msg operator.
	// Only the user can send this transaction to cancel the migrate bucket
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket that need to be migrated
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func NewMsgCancelMigrateBucket added in v0.2.3

func NewMsgCancelMigrateBucket(operator sdk.AccAddress, bucketName string) *MsgCancelMigrateBucket

func (*MsgCancelMigrateBucket) Descriptor added in v0.2.3

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

func (*MsgCancelMigrateBucket) GetBucketName added in v0.2.3

func (m *MsgCancelMigrateBucket) GetBucketName() string

func (*MsgCancelMigrateBucket) GetOperator added in v0.2.3

func (m *MsgCancelMigrateBucket) GetOperator() string

func (*MsgCancelMigrateBucket) GetSignBytes added in v0.2.3

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

func (*MsgCancelMigrateBucket) GetSigners added in v0.2.3

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

func (*MsgCancelMigrateBucket) Marshal added in v0.2.3

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

func (*MsgCancelMigrateBucket) MarshalTo added in v0.2.3

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

func (*MsgCancelMigrateBucket) MarshalToSizedBuffer added in v0.2.3

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

func (*MsgCancelMigrateBucket) ProtoMessage added in v0.2.3

func (*MsgCancelMigrateBucket) ProtoMessage()

func (*MsgCancelMigrateBucket) Reset added in v0.2.3

func (m *MsgCancelMigrateBucket) Reset()

func (*MsgCancelMigrateBucket) Route added in v0.2.3

func (msg *MsgCancelMigrateBucket) Route() string

func (*MsgCancelMigrateBucket) Size added in v0.2.3

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

func (*MsgCancelMigrateBucket) String added in v0.2.3

func (m *MsgCancelMigrateBucket) String() string

func (*MsgCancelMigrateBucket) Type added in v0.2.3

func (msg *MsgCancelMigrateBucket) Type() string

func (*MsgCancelMigrateBucket) Unmarshal added in v0.2.3

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

func (*MsgCancelMigrateBucket) ValidateBasic added in v0.2.3

func (msg *MsgCancelMigrateBucket) ValidateBasic() error

func (*MsgCancelMigrateBucket) XXX_DiscardUnknown added in v0.2.3

func (m *MsgCancelMigrateBucket) XXX_DiscardUnknown()

func (*MsgCancelMigrateBucket) XXX_Marshal added in v0.2.3

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

func (*MsgCancelMigrateBucket) XXX_Merge added in v0.2.3

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

func (*MsgCancelMigrateBucket) XXX_Size added in v0.2.3

func (m *MsgCancelMigrateBucket) XXX_Size() int

func (*MsgCancelMigrateBucket) XXX_Unmarshal added in v0.2.3

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

type MsgCancelMigrateBucketResponse added in v0.2.3

type MsgCancelMigrateBucketResponse struct {
}

func (*MsgCancelMigrateBucketResponse) Descriptor added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) Marshal added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) MarshalTo added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) MarshalToSizedBuffer added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) ProtoMessage added in v0.2.3

func (*MsgCancelMigrateBucketResponse) ProtoMessage()

func (*MsgCancelMigrateBucketResponse) Reset added in v0.2.3

func (m *MsgCancelMigrateBucketResponse) Reset()

func (*MsgCancelMigrateBucketResponse) Size added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) String added in v0.2.3

func (*MsgCancelMigrateBucketResponse) Unmarshal added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) XXX_DiscardUnknown added in v0.2.3

func (m *MsgCancelMigrateBucketResponse) XXX_DiscardUnknown()

func (*MsgCancelMigrateBucketResponse) XXX_Marshal added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) XXX_Merge added in v0.2.3

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

func (*MsgCancelMigrateBucketResponse) XXX_Size added in v0.2.3

func (m *MsgCancelMigrateBucketResponse) XXX_Size() int

func (*MsgCancelMigrateBucketResponse) XXX_Unmarshal added in v0.2.3

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

type MsgCancelUpdateObjectContent added in v1.5.0

type MsgCancelUpdateObjectContent struct {
	// operator defines the account address of the operator, either the object owner or the updater with granted permission.
	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 NewMsgCancelUpdateObjectContent added in v1.5.0

func NewMsgCancelUpdateObjectContent(
	operator sdk.AccAddress, bucketName, objectName string) *MsgCancelUpdateObjectContent

func (*MsgCancelUpdateObjectContent) Descriptor added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) GetBucketName added in v1.5.0

func (m *MsgCancelUpdateObjectContent) GetBucketName() string

func (*MsgCancelUpdateObjectContent) GetObjectName added in v1.5.0

func (m *MsgCancelUpdateObjectContent) GetObjectName() string

func (*MsgCancelUpdateObjectContent) GetOperator added in v1.5.0

func (m *MsgCancelUpdateObjectContent) GetOperator() string

func (*MsgCancelUpdateObjectContent) GetSignBytes added in v1.5.0

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

GetSignBytes returns the message bytes to sign over.

func (*MsgCancelUpdateObjectContent) GetSigners added in v1.5.0

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

GetSigners implements the sdk.Msg interface.

func (*MsgCancelUpdateObjectContent) Marshal added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) MarshalTo added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) ProtoMessage added in v1.5.0

func (*MsgCancelUpdateObjectContent) ProtoMessage()

func (*MsgCancelUpdateObjectContent) Reset added in v1.5.0

func (m *MsgCancelUpdateObjectContent) Reset()

func (*MsgCancelUpdateObjectContent) Route added in v1.5.0

func (msg *MsgCancelUpdateObjectContent) Route() string

Route implements the sdk.Msg interface.

func (*MsgCancelUpdateObjectContent) Size added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) String added in v1.5.0

func (*MsgCancelUpdateObjectContent) Type added in v1.5.0

Type implements the sdk.Msg interface.

func (*MsgCancelUpdateObjectContent) Unmarshal added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) ValidateBasic added in v1.5.0

func (msg *MsgCancelUpdateObjectContent) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgCancelUpdateObjectContent) XXX_DiscardUnknown added in v1.5.0

func (m *MsgCancelUpdateObjectContent) XXX_DiscardUnknown()

func (*MsgCancelUpdateObjectContent) XXX_Marshal added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) XXX_Merge added in v1.5.0

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

func (*MsgCancelUpdateObjectContent) XXX_Size added in v1.5.0

func (m *MsgCancelUpdateObjectContent) XXX_Size() int

func (*MsgCancelUpdateObjectContent) XXX_Unmarshal added in v1.5.0

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

type MsgCancelUpdateObjectContentResponse added in v1.5.0

type MsgCancelUpdateObjectContentResponse struct {
}

func (*MsgCancelUpdateObjectContentResponse) Descriptor added in v1.5.0

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

func (*MsgCancelUpdateObjectContentResponse) Marshal added in v1.5.0

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

func (*MsgCancelUpdateObjectContentResponse) MarshalTo added in v1.5.0

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

func (*MsgCancelUpdateObjectContentResponse) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgCancelUpdateObjectContentResponse) ProtoMessage added in v1.5.0

func (*MsgCancelUpdateObjectContentResponse) ProtoMessage()

func (*MsgCancelUpdateObjectContentResponse) Reset added in v1.5.0

func (*MsgCancelUpdateObjectContentResponse) Size added in v1.5.0

func (*MsgCancelUpdateObjectContentResponse) String added in v1.5.0

func (*MsgCancelUpdateObjectContentResponse) Unmarshal added in v1.5.0

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

func (*MsgCancelUpdateObjectContentResponse) XXX_DiscardUnknown added in v1.5.0

func (m *MsgCancelUpdateObjectContentResponse) XXX_DiscardUnknown()

func (*MsgCancelUpdateObjectContentResponse) XXX_Marshal added in v1.5.0

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

func (*MsgCancelUpdateObjectContentResponse) XXX_Merge added in v1.5.0

func (*MsgCancelUpdateObjectContentResponse) XXX_Size added in v1.5.0

func (*MsgCancelUpdateObjectContentResponse) XXX_Unmarshal added in v1.5.0

func (m *MsgCancelUpdateObjectContentResponse) 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)
	ToggleSPAsDelegatedAgent(ctx context.Context, in *MsgToggleSPAsDelegatedAgent, opts ...grpc.CallOption) (*MsgToggleSPAsDelegatedAgentResponse, 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)
	SealObjectV2(ctx context.Context, in *MsgSealObjectV2, opts ...grpc.CallOption) (*MsgSealObjectV2Response, 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)
	UpdateObjectContent(ctx context.Context, in *MsgUpdateObjectContent, opts ...grpc.CallOption) (*MsgUpdateObjectContentResponse, error)
	CancelUpdateObjectContent(ctx context.Context, in *MsgCancelUpdateObjectContent, opts ...grpc.CallOption) (*MsgCancelUpdateObjectContentResponse, error)
	DelegateCreateObject(ctx context.Context, in *MsgDelegateCreateObject, opts ...grpc.CallOption) (*MsgDelegateCreateObjectResponse, error)
	DelegateUpdateObjectContent(ctx context.Context, in *MsgDelegateUpdateObjectContent, opts ...grpc.CallOption) (*MsgDelegateUpdateObjectContentResponse, 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)
	RenewGroupMember(ctx context.Context, in *MsgRenewGroupMember, opts ...grpc.CallOption) (*MsgRenewGroupMemberResponse, 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)
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	MigrateBucket(ctx context.Context, in *MsgMigrateBucket, opts ...grpc.CallOption) (*MsgMigrateBucketResponse, error)
	CompleteMigrateBucket(ctx context.Context, in *MsgCompleteMigrateBucket, opts ...grpc.CallOption) (*MsgCompleteMigrateBucketResponse, error)
	CancelMigrateBucket(ctx context.Context, in *MsgCancelMigrateBucket, opts ...grpc.CallOption) (*MsgCancelMigrateBucketResponse, error)
	RejectMigrateBucket(ctx context.Context, in *MsgRejectMigrateBucket, opts ...grpc.CallOption) (*MsgRejectMigrateBucketResponse, error)
	// Since: Manchurian upgrade
	SetTag(ctx context.Context, in *MsgSetTag, opts ...grpc.CallOption) (*MsgSetTagResponse, error)
	SetBucketFlowRateLimit(ctx context.Context, in *MsgSetBucketFlowRateLimit, opts ...grpc.CallOption) (*MsgSetBucketFlowRateLimitResponse, 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 MsgCompleteMigrateBucket added in v0.2.3

type MsgCompleteMigrateBucket struct {
	// operator defines the account address of the msg operator.
	// The CompleteMigrateBucket transaction must be initiated by the destination SP of the migration
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket that need to be migrated
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// global_virtual_group_family_id defines the family id which the bucket migrate to
	GlobalVirtualGroupFamilyId uint32 `` /* 146-byte string literal not displayed */
	// gvg_mappings defines the src and dst gvg mapping relationships which the bucket migrate to
	GvgMappings []*GVGMapping `protobuf:"bytes,4,rep,name=gvg_mappings,json=gvgMappings,proto3" json:"gvg_mappings,omitempty"`
}

func NewMsgCompleteMigrateBucket added in v0.2.3

func NewMsgCompleteMigrateBucket(operator sdk.AccAddress, bucketName string, globalVirtualGroupFamilyID uint32, gvgMappings []*GVGMapping) *MsgCompleteMigrateBucket

func (*MsgCompleteMigrateBucket) Descriptor added in v0.2.3

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

func (*MsgCompleteMigrateBucket) GetBucketName added in v0.2.3

func (m *MsgCompleteMigrateBucket) GetBucketName() string

func (*MsgCompleteMigrateBucket) GetGlobalVirtualGroupFamilyId added in v0.2.3

func (m *MsgCompleteMigrateBucket) GetGlobalVirtualGroupFamilyId() uint32

func (*MsgCompleteMigrateBucket) GetGvgMappings added in v0.2.3

func (m *MsgCompleteMigrateBucket) GetGvgMappings() []*GVGMapping

func (*MsgCompleteMigrateBucket) GetOperator added in v0.2.3

func (m *MsgCompleteMigrateBucket) GetOperator() string

func (*MsgCompleteMigrateBucket) GetSignBytes added in v0.2.3

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

func (*MsgCompleteMigrateBucket) GetSigners added in v0.2.3

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

func (*MsgCompleteMigrateBucket) Marshal added in v0.2.3

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

func (*MsgCompleteMigrateBucket) MarshalTo added in v0.2.3

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

func (*MsgCompleteMigrateBucket) MarshalToSizedBuffer added in v0.2.3

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

func (*MsgCompleteMigrateBucket) ProtoMessage added in v0.2.3

func (*MsgCompleteMigrateBucket) ProtoMessage()

func (*MsgCompleteMigrateBucket) Reset added in v0.2.3

func (m *MsgCompleteMigrateBucket) Reset()

func (*MsgCompleteMigrateBucket) Route added in v0.2.3

func (msg *MsgCompleteMigrateBucket) Route() string

func (*MsgCompleteMigrateBucket) Size added in v0.2.3

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

func (*MsgCompleteMigrateBucket) String added in v0.2.3

func (m *MsgCompleteMigrateBucket) String() string

func (*MsgCompleteMigrateBucket) Type added in v0.2.3

func (msg *MsgCompleteMigrateBucket) Type() string

func (*MsgCompleteMigrateBucket) Unmarshal added in v0.2.3

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

func (*MsgCompleteMigrateBucket) ValidateBasic added in v0.2.3

func (msg *MsgCompleteMigrateBucket) ValidateBasic() error

func (*MsgCompleteMigrateBucket) XXX_DiscardUnknown added in v0.2.3

func (m *MsgCompleteMigrateBucket) XXX_DiscardUnknown()

func (*MsgCompleteMigrateBucket) XXX_Marshal added in v0.2.3

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

func (*MsgCompleteMigrateBucket) XXX_Merge added in v0.2.3

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

func (*MsgCompleteMigrateBucket) XXX_Size added in v0.2.3

func (m *MsgCompleteMigrateBucket) XXX_Size() int

func (*MsgCompleteMigrateBucket) XXX_Unmarshal added in v0.2.3

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

type MsgCompleteMigrateBucketResponse added in v0.2.3

type MsgCompleteMigrateBucketResponse struct {
}

func (*MsgCompleteMigrateBucketResponse) Descriptor added in v0.2.3

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

func (*MsgCompleteMigrateBucketResponse) Marshal added in v0.2.3

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

func (*MsgCompleteMigrateBucketResponse) MarshalTo added in v0.2.3

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

func (*MsgCompleteMigrateBucketResponse) MarshalToSizedBuffer added in v0.2.3

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

func (*MsgCompleteMigrateBucketResponse) ProtoMessage added in v0.2.3

func (*MsgCompleteMigrateBucketResponse) ProtoMessage()

func (*MsgCompleteMigrateBucketResponse) Reset added in v0.2.3

func (*MsgCompleteMigrateBucketResponse) Size added in v0.2.3

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

func (*MsgCompleteMigrateBucketResponse) String added in v0.2.3

func (*MsgCompleteMigrateBucketResponse) Unmarshal added in v0.2.3

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

func (*MsgCompleteMigrateBucketResponse) XXX_DiscardUnknown added in v0.2.3

func (m *MsgCompleteMigrateBucketResponse) XXX_DiscardUnknown()

func (*MsgCompleteMigrateBucketResponse) XXX_Marshal added in v0.2.3

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

func (*MsgCompleteMigrateBucketResponse) XXX_Merge added in v0.2.3

func (*MsgCompleteMigrateBucketResponse) XXX_Size added in v0.2.3

func (m *MsgCompleteMigrateBucketResponse) XXX_Size() int

func (*MsgCompleteMigrateBucketResponse) XXX_Unmarshal added in v0.2.3

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

type MsgCopyObject

type MsgCopyObject struct {
	// operator defines the account address of the operator who has the CopyObject permission.
	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 *common.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, dstBucketName string,
	srcObjectName, 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() *common.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,5,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 *common.Approval `protobuf:"bytes,6,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,7,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, 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() *common.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"`
	// extra defines extra info for the group
	Extra string `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"`
}

func NewMsgCreateGroup

func NewMsgCreateGroup(creator sdk.AccAddress, groupName, 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) 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 *common.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 */
}

func NewMsgCreateObject

func NewMsgCreateObject(
	creator sdk.AccAddress, bucketName, objectName string, payloadSize uint64, Visibility VisibilityType,
	expectChecksums [][]byte, contentType string, redundancyType RedundancyType, timeoutHeight uint64, sig []byte,
) *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) 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() *common.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 MsgDelegateCreateObject added in v1.6.0

type MsgDelegateCreateObject struct {
	// operator defines the account address of the operator, it is the delegated agent that allows to creat object under bucket.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// creator defines the account address of the object creator.
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// 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"`
	// payload_size defines size of the object's payload
	PayloadSize uint64 `protobuf:"varint,5,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
	// content_type define the format of the object which should be a standard MIME type.
	ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,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,7,opt,name=visibility,proto3,enum=greenfield.storage.VisibilityType" json:"visibility,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 */
}

func NewMsgDelegateCreateObject added in v1.6.0

func NewMsgDelegateCreateObject(
	operator, creator sdk.AccAddress,
	bucketName, objectName string,
	payloadSize uint64,
	Visibility VisibilityType,
	expectChecksums [][]byte,
	contentType string,
	redundancyType RedundancyType) *MsgDelegateCreateObject

NewMsgDelegateCreateObject creates a new MsgDelegateCreateObject instance.

func (*MsgDelegateCreateObject) Descriptor added in v1.6.0

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

func (*MsgDelegateCreateObject) GetBucketName added in v1.6.0

func (m *MsgDelegateCreateObject) GetBucketName() string

func (*MsgDelegateCreateObject) GetContentType added in v1.6.0

func (m *MsgDelegateCreateObject) GetContentType() string

func (*MsgDelegateCreateObject) GetCreator added in v1.6.0

func (m *MsgDelegateCreateObject) GetCreator() string

func (*MsgDelegateCreateObject) GetExpectChecksums added in v1.6.0

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

func (*MsgDelegateCreateObject) GetObjectName added in v1.6.0

func (m *MsgDelegateCreateObject) GetObjectName() string

func (*MsgDelegateCreateObject) GetOperator added in v1.6.0

func (m *MsgDelegateCreateObject) GetOperator() string

func (*MsgDelegateCreateObject) GetPayloadSize added in v1.6.0

func (m *MsgDelegateCreateObject) GetPayloadSize() uint64

func (*MsgDelegateCreateObject) GetRedundancyType added in v1.6.0

func (m *MsgDelegateCreateObject) GetRedundancyType() RedundancyType

func (*MsgDelegateCreateObject) GetSignBytes added in v1.6.0

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

GetSignBytes returns the message bytes to sign over.

func (*MsgDelegateCreateObject) GetSigners added in v1.6.0

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

GetSigners implements the sdk.Msg interface.

func (*MsgDelegateCreateObject) GetVisibility added in v1.6.0

func (m *MsgDelegateCreateObject) GetVisibility() VisibilityType

func (*MsgDelegateCreateObject) Marshal added in v1.6.0

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

func (*MsgDelegateCreateObject) MarshalTo added in v1.6.0

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

func (*MsgDelegateCreateObject) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgDelegateCreateObject) ProtoMessage added in v1.6.0

func (*MsgDelegateCreateObject) ProtoMessage()

func (*MsgDelegateCreateObject) Reset added in v1.6.0

func (m *MsgDelegateCreateObject) Reset()

func (*MsgDelegateCreateObject) Route added in v1.6.0

func (msg *MsgDelegateCreateObject) Route() string

Route implements the sdk.Msg interface.

func (*MsgDelegateCreateObject) Size added in v1.6.0

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

func (*MsgDelegateCreateObject) String added in v1.6.0

func (m *MsgDelegateCreateObject) String() string

func (*MsgDelegateCreateObject) Type added in v1.6.0

func (msg *MsgDelegateCreateObject) Type() string

Type implements the sdk.Msg interface.

func (*MsgDelegateCreateObject) Unmarshal added in v1.6.0

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

func (*MsgDelegateCreateObject) ValidateBasic added in v1.6.0

func (msg *MsgDelegateCreateObject) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgDelegateCreateObject) XXX_DiscardUnknown added in v1.6.0

func (m *MsgDelegateCreateObject) XXX_DiscardUnknown()

func (*MsgDelegateCreateObject) XXX_Marshal added in v1.6.0

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

func (*MsgDelegateCreateObject) XXX_Merge added in v1.6.0

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

func (*MsgDelegateCreateObject) XXX_Size added in v1.6.0

func (m *MsgDelegateCreateObject) XXX_Size() int

func (*MsgDelegateCreateObject) XXX_Unmarshal added in v1.6.0

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

type MsgDelegateCreateObjectResponse added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) Descriptor added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) Marshal added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) MarshalTo added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) ProtoMessage added in v1.6.0

func (*MsgDelegateCreateObjectResponse) ProtoMessage()

func (*MsgDelegateCreateObjectResponse) Reset added in v1.6.0

func (*MsgDelegateCreateObjectResponse) Size added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) String added in v1.6.0

func (*MsgDelegateCreateObjectResponse) Unmarshal added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) XXX_DiscardUnknown added in v1.6.0

func (m *MsgDelegateCreateObjectResponse) XXX_DiscardUnknown()

func (*MsgDelegateCreateObjectResponse) XXX_Marshal added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) XXX_Merge added in v1.6.0

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

func (*MsgDelegateCreateObjectResponse) XXX_Size added in v1.6.0

func (m *MsgDelegateCreateObjectResponse) XXX_Size() int

func (*MsgDelegateCreateObjectResponse) XXX_Unmarshal added in v1.6.0

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

type MsgDelegateUpdateObjectContent added in v1.6.0

type MsgDelegateUpdateObjectContent struct {
	// operator defines the account address of the operator, it is the delegated agent that allows to creat object under bucket.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// updater defines the account address of the object updater.
	Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`
	// 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"`
	// payload_size defines size of the object's payload
	PayloadSize uint64 `protobuf:"varint,5,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
	// content_type define the format of the object which should be a standard MIME type.
	ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// expect_checksums defines a list of hashes which was generate by redundancy algorithm.
	ExpectChecksums [][]byte `protobuf:"bytes,7,rep,name=expect_checksums,json=expectChecksums,proto3" json:"expect_checksums,omitempty"`
}

func NewMsgDelegateUpdateObjectContent added in v1.6.0

func NewMsgDelegateUpdateObjectContent(
	operator, updater sdk.AccAddress, bucketName, objectName string, payloadSize uint64,
	expectChecksums [][]byte) *MsgDelegateUpdateObjectContent

func (*MsgDelegateUpdateObjectContent) Descriptor added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) GetBucketName added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) GetBucketName() string

func (*MsgDelegateUpdateObjectContent) GetContentType added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) GetContentType() string

func (*MsgDelegateUpdateObjectContent) GetExpectChecksums added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) GetObjectName added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) GetObjectName() string

func (*MsgDelegateUpdateObjectContent) GetOperator added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) GetOperator() string

func (*MsgDelegateUpdateObjectContent) GetPayloadSize added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) GetPayloadSize() uint64

func (*MsgDelegateUpdateObjectContent) GetSignBytes added in v1.6.0

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

GetSignBytes returns the message bytes to sign over.

func (*MsgDelegateUpdateObjectContent) GetSigners added in v1.6.0

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

GetSigners implements the sdk.Msg interface.

func (*MsgDelegateUpdateObjectContent) GetUpdater added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) GetUpdater() string

func (*MsgDelegateUpdateObjectContent) Marshal added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) MarshalTo added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) ProtoMessage added in v1.6.0

func (*MsgDelegateUpdateObjectContent) ProtoMessage()

func (*MsgDelegateUpdateObjectContent) Reset added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) Reset()

func (*MsgDelegateUpdateObjectContent) Route added in v1.6.0

Route implements the sdk.Msg interface.

func (*MsgDelegateUpdateObjectContent) Size added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) String added in v1.6.0

func (*MsgDelegateUpdateObjectContent) Type added in v1.6.0

Type implements the sdk.Msg interface.

func (*MsgDelegateUpdateObjectContent) Unmarshal added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) ValidateBasic added in v1.6.0

func (msg *MsgDelegateUpdateObjectContent) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgDelegateUpdateObjectContent) XXX_DiscardUnknown added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) XXX_DiscardUnknown()

func (*MsgDelegateUpdateObjectContent) XXX_Marshal added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) XXX_Merge added in v1.6.0

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

func (*MsgDelegateUpdateObjectContent) XXX_Size added in v1.6.0

func (m *MsgDelegateUpdateObjectContent) XXX_Size() int

func (*MsgDelegateUpdateObjectContent) XXX_Unmarshal added in v1.6.0

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

type MsgDelegateUpdateObjectContentResponse added in v1.6.0

type MsgDelegateUpdateObjectContentResponse struct {
}

func (*MsgDelegateUpdateObjectContentResponse) Descriptor added in v1.6.0

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

func (*MsgDelegateUpdateObjectContentResponse) Marshal added in v1.6.0

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

func (*MsgDelegateUpdateObjectContentResponse) MarshalTo added in v1.6.0

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

func (*MsgDelegateUpdateObjectContentResponse) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgDelegateUpdateObjectContentResponse) ProtoMessage added in v1.6.0

func (*MsgDelegateUpdateObjectContentResponse) Reset added in v1.6.0

func (*MsgDelegateUpdateObjectContentResponse) Size added in v1.6.0

func (*MsgDelegateUpdateObjectContentResponse) String added in v1.6.0

func (*MsgDelegateUpdateObjectContentResponse) Unmarshal added in v1.6.0

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

func (*MsgDelegateUpdateObjectContentResponse) XXX_DiscardUnknown added in v1.6.0

func (m *MsgDelegateUpdateObjectContentResponse) XXX_DiscardUnknown()

func (*MsgDelegateUpdateObjectContentResponse) XXX_Marshal added in v1.6.0

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

func (*MsgDelegateUpdateObjectContentResponse) XXX_Merge added in v1.6.0

func (*MsgDelegateUpdateObjectContentResponse) XXX_Size added in v1.6.0

func (*MsgDelegateUpdateObjectContentResponse) XXX_Unmarshal added in v1.6.0

func (m *MsgDelegateUpdateObjectContentResponse) 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, 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) ValidateRuntime added in v1.1.0

func (msg *MsgDeletePolicy) ValidateRuntime(ctx sdk.Context) 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, 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 MsgGroupMember added in v0.2.4

type MsgGroupMember struct {
	// member defines the account address of the group member
	Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// expiration_time defines the expiration time of the group member
	ExpirationTime *time.Time `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"`
}

func (*MsgGroupMember) Descriptor added in v0.2.4

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

func (*MsgGroupMember) GetExpirationTime added in v0.2.4

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

func (*MsgGroupMember) GetMember added in v0.2.4

func (m *MsgGroupMember) GetMember() string

func (*MsgGroupMember) Marshal added in v0.2.4

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

func (*MsgGroupMember) MarshalTo added in v0.2.4

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

func (*MsgGroupMember) MarshalToSizedBuffer added in v0.2.4

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

func (*MsgGroupMember) ProtoMessage added in v0.2.4

func (*MsgGroupMember) ProtoMessage()

func (*MsgGroupMember) Reset added in v0.2.4

func (m *MsgGroupMember) Reset()

func (*MsgGroupMember) Size added in v0.2.4

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

func (*MsgGroupMember) String added in v0.2.4

func (m *MsgGroupMember) String() string

func (*MsgGroupMember) Unmarshal added in v0.2.4

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

func (*MsgGroupMember) XXX_DiscardUnknown added in v0.2.4

func (m *MsgGroupMember) XXX_DiscardUnknown()

func (*MsgGroupMember) XXX_Marshal added in v0.2.4

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

func (*MsgGroupMember) XXX_Merge added in v0.2.4

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

func (*MsgGroupMember) XXX_Size added in v0.2.4

func (m *MsgGroupMember) XXX_Size() int

func (*MsgGroupMember) XXX_Unmarshal added in v0.2.4

func (m *MsgGroupMember) 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, 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 MsgMigrateBucket added in v0.2.3

type MsgMigrateBucket struct {
	// operator defines the account address of the operator who initial the migrate bucket
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket that need to be migrated
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// dst_primary_sp_id defines the destination SP for migration
	DstPrimarySpId uint32 `protobuf:"varint,3,opt,name=dst_primary_sp_id,json=dstPrimarySpId,proto3" json:"dst_primary_sp_id,omitempty"`
	// dst_primary_sp_approval defines the approval of destination sp
	DstPrimarySpApproval *common.Approval `protobuf:"bytes,4,opt,name=dst_primary_sp_approval,json=dstPrimarySpApproval,proto3" json:"dst_primary_sp_approval,omitempty"`
}

func NewMsgMigrateBucket added in v0.2.3

func NewMsgMigrateBucket(operator sdk.AccAddress, bucketName string, dstPrimarySPID uint32) *MsgMigrateBucket

func (*MsgMigrateBucket) Descriptor added in v0.2.3

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

func (*MsgMigrateBucket) GetApprovalBytes added in v0.2.3

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

func (*MsgMigrateBucket) GetBucketName added in v0.2.3

func (m *MsgMigrateBucket) GetBucketName() string

func (*MsgMigrateBucket) GetDstPrimarySpApproval added in v0.2.3

func (m *MsgMigrateBucket) GetDstPrimarySpApproval() *common.Approval

func (*MsgMigrateBucket) GetDstPrimarySpId added in v0.2.3

func (m *MsgMigrateBucket) GetDstPrimarySpId() uint32

func (*MsgMigrateBucket) GetOperator added in v0.2.3

func (m *MsgMigrateBucket) GetOperator() string

func (*MsgMigrateBucket) GetSignBytes added in v0.2.3

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

func (*MsgMigrateBucket) GetSigners added in v0.2.3

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

func (*MsgMigrateBucket) Marshal added in v0.2.3

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

func (*MsgMigrateBucket) MarshalTo added in v0.2.3

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

func (*MsgMigrateBucket) MarshalToSizedBuffer added in v0.2.3

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

func (*MsgMigrateBucket) ProtoMessage added in v0.2.3

func (*MsgMigrateBucket) ProtoMessage()

func (*MsgMigrateBucket) Reset added in v0.2.3

func (m *MsgMigrateBucket) Reset()

func (*MsgMigrateBucket) Route added in v0.2.3

func (msg *MsgMigrateBucket) Route() string

func (*MsgMigrateBucket) Size added in v0.2.3

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

func (*MsgMigrateBucket) String added in v0.2.3

func (m *MsgMigrateBucket) String() string

func (*MsgMigrateBucket) Type added in v0.2.3

func (msg *MsgMigrateBucket) Type() string

func (*MsgMigrateBucket) Unmarshal added in v0.2.3

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

func (*MsgMigrateBucket) ValidateBasic added in v0.2.3

func (msg *MsgMigrateBucket) ValidateBasic() error

func (*MsgMigrateBucket) XXX_DiscardUnknown added in v0.2.3

func (m *MsgMigrateBucket) XXX_DiscardUnknown()

func (*MsgMigrateBucket) XXX_Marshal added in v0.2.3

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

func (*MsgMigrateBucket) XXX_Merge added in v0.2.3

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

func (*MsgMigrateBucket) XXX_Size added in v0.2.3

func (m *MsgMigrateBucket) XXX_Size() int

func (*MsgMigrateBucket) XXX_Unmarshal added in v0.2.3

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

type MsgMigrateBucketResponse added in v0.2.3

type MsgMigrateBucketResponse struct {
}

func (*MsgMigrateBucketResponse) Descriptor added in v0.2.3

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

func (*MsgMigrateBucketResponse) Marshal added in v0.2.3

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

func (*MsgMigrateBucketResponse) MarshalTo added in v0.2.3

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

func (*MsgMigrateBucketResponse) MarshalToSizedBuffer added in v0.2.3

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

func (*MsgMigrateBucketResponse) ProtoMessage added in v0.2.3

func (*MsgMigrateBucketResponse) ProtoMessage()

func (*MsgMigrateBucketResponse) Reset added in v0.2.3

func (m *MsgMigrateBucketResponse) Reset()

func (*MsgMigrateBucketResponse) Size added in v0.2.3

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

func (*MsgMigrateBucketResponse) String added in v0.2.3

func (m *MsgMigrateBucketResponse) String() string

func (*MsgMigrateBucketResponse) Unmarshal added in v0.2.3

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

func (*MsgMigrateBucketResponse) XXX_DiscardUnknown added in v0.2.3

func (m *MsgMigrateBucketResponse) XXX_DiscardUnknown()

func (*MsgMigrateBucketResponse) XXX_Marshal added in v0.2.3

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

func (*MsgMigrateBucketResponse) XXX_Merge added in v0.2.3

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

func (*MsgMigrateBucketResponse) XXX_Size added in v0.2.3

func (m *MsgMigrateBucketResponse) XXX_Size() int

func (*MsgMigrateBucketResponse) XXX_Unmarshal added in v0.2.3

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

type MsgMirrorBucket added in v0.0.9

type MsgMirrorBucket struct {
	// operator defines the account address of the bucket owner.
	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"`
	// destination chain id
	DestChainId uint32 `protobuf:"varint,4,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

func NewMsgMirrorBucket added in v0.0.9

func NewMsgMirrorBucket(operator sdk.AccAddress, destChainId sdk.ChainID, 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) GetDestChainId added in v0.2.4

func (m *MsgMirrorBucket) GetDestChainId() uint32

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 group owner.
	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"`
	// destination chain id
	DestChainId uint32 `protobuf:"varint,4,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

func NewMsgMirrorGroup added in v0.0.9

func NewMsgMirrorGroup(operator sdk.AccAddress, destChainId sdk.ChainID, 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) GetDestChainId added in v0.2.4

func (m *MsgMirrorGroup) GetDestChainId() uint32

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 object owner.
	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"`
	// destination chain id
	DestChainId uint32 `protobuf:"varint,5,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
}

func NewMsgMirrorObject added in v0.0.9

func NewMsgMirrorObject(operator sdk.AccAddress, destChainId sdk.ChainID, 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) GetDestChainId added in v0.2.4

func (m *MsgMirrorObject) GetDestChainId() uint32

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 be grant permissions to. 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) ValidateRuntime added in v1.1.0

func (msg *MsgPutPolicy) ValidateRuntime(ctx sdk.Context) 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 MsgRejectMigrateBucket added in v1.1.0

type MsgRejectMigrateBucket struct {
	// operator defines the account address of the msg operator.
	// only the Dest SP can send this transaction to reject the bucket migration.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// bucket_name defines the name of the bucket that need to be migrated
	BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func NewMsgRejectMigrateBucket added in v1.1.0

func NewMsgRejectMigrateBucket(operator sdk.AccAddress, bucketName string) *MsgRejectMigrateBucket

func (*MsgRejectMigrateBucket) Descriptor added in v1.1.0

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

func (*MsgRejectMigrateBucket) GetBucketName added in v1.1.0

func (m *MsgRejectMigrateBucket) GetBucketName() string

func (*MsgRejectMigrateBucket) GetOperator added in v1.1.0

func (m *MsgRejectMigrateBucket) GetOperator() string

func (*MsgRejectMigrateBucket) GetSignBytes added in v1.1.0

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

func (*MsgRejectMigrateBucket) GetSigners added in v1.1.0

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

func (*MsgRejectMigrateBucket) Marshal added in v1.1.0

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

func (*MsgRejectMigrateBucket) MarshalTo added in v1.1.0

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

func (*MsgRejectMigrateBucket) MarshalToSizedBuffer added in v1.1.0

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

func (*MsgRejectMigrateBucket) ProtoMessage added in v1.1.0

func (*MsgRejectMigrateBucket) ProtoMessage()

func (*MsgRejectMigrateBucket) Reset added in v1.1.0

func (m *MsgRejectMigrateBucket) Reset()

func (*MsgRejectMigrateBucket) Route added in v1.1.0

func (msg *MsgRejectMigrateBucket) Route() string

func (*MsgRejectMigrateBucket) Size added in v1.1.0

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

func (*MsgRejectMigrateBucket) String added in v1.1.0

func (m *MsgRejectMigrateBucket) String() string

func (*MsgRejectMigrateBucket) Type added in v1.1.0

func (msg *MsgRejectMigrateBucket) Type() string

func (*MsgRejectMigrateBucket) Unmarshal added in v1.1.0

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

func (*MsgRejectMigrateBucket) ValidateBasic added in v1.1.0

func (msg *MsgRejectMigrateBucket) ValidateBasic() error

func (*MsgRejectMigrateBucket) XXX_DiscardUnknown added in v1.1.0

func (m *MsgRejectMigrateBucket) XXX_DiscardUnknown()

func (*MsgRejectMigrateBucket) XXX_Marshal added in v1.1.0

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

func (*MsgRejectMigrateBucket) XXX_Merge added in v1.1.0

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

func (*MsgRejectMigrateBucket) XXX_Size added in v1.1.0

func (m *MsgRejectMigrateBucket) XXX_Size() int

func (*MsgRejectMigrateBucket) XXX_Unmarshal added in v1.1.0

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

type MsgRejectMigrateBucketResponse added in v1.1.0

type MsgRejectMigrateBucketResponse struct {
}

func (*MsgRejectMigrateBucketResponse) Descriptor added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) Marshal added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) MarshalTo added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) MarshalToSizedBuffer added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) ProtoMessage added in v1.1.0

func (*MsgRejectMigrateBucketResponse) ProtoMessage()

func (*MsgRejectMigrateBucketResponse) Reset added in v1.1.0

func (m *MsgRejectMigrateBucketResponse) Reset()

func (*MsgRejectMigrateBucketResponse) Size added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) String added in v1.1.0

func (*MsgRejectMigrateBucketResponse) Unmarshal added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) XXX_DiscardUnknown added in v1.1.0

func (m *MsgRejectMigrateBucketResponse) XXX_DiscardUnknown()

func (*MsgRejectMigrateBucketResponse) XXX_Marshal added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) XXX_Merge added in v1.1.0

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

func (*MsgRejectMigrateBucketResponse) XXX_Size added in v1.1.0

func (m *MsgRejectMigrateBucketResponse) XXX_Size() int

func (*MsgRejectMigrateBucketResponse) XXX_Unmarshal added in v1.1.0

func (m *MsgRejectMigrateBucketResponse) 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, 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 MsgRenewGroupMember added in v0.2.4

type MsgRenewGroupMember 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 defines a list of members which will be renew to the group
	Members []*MsgGroupMember `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
}

func NewMsgRenewGroupMember added in v0.2.4

func NewMsgRenewGroupMember(
	operator, groupOwner sdk.AccAddress, groupName string, members []*MsgGroupMember,
) *MsgRenewGroupMember

func (*MsgRenewGroupMember) Descriptor added in v0.2.4

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

func (*MsgRenewGroupMember) GetGroupName added in v0.2.4

func (m *MsgRenewGroupMember) GetGroupName() string

func (*MsgRenewGroupMember) GetGroupOwner added in v0.2.4

func (m *MsgRenewGroupMember) GetGroupOwner() string

func (*MsgRenewGroupMember) GetMembers added in v0.2.4

func (m *MsgRenewGroupMember) GetMembers() []*MsgGroupMember

func (*MsgRenewGroupMember) GetOperator added in v0.2.4

func (m *MsgRenewGroupMember) GetOperator() string

func (*MsgRenewGroupMember) GetSignBytes added in v0.2.4

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

GetSignBytes returns the message bytes to sign over.

func (*MsgRenewGroupMember) GetSigners added in v0.2.4

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

GetSigners implements the sdk.Msg interface.

func (*MsgRenewGroupMember) Marshal added in v0.2.4

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

func (*MsgRenewGroupMember) MarshalTo added in v0.2.4

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

func (*MsgRenewGroupMember) MarshalToSizedBuffer added in v0.2.4

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

func (*MsgRenewGroupMember) ProtoMessage added in v0.2.4

func (*MsgRenewGroupMember) ProtoMessage()

func (*MsgRenewGroupMember) Reset added in v0.2.4

func (m *MsgRenewGroupMember) Reset()

func (*MsgRenewGroupMember) Route added in v0.2.4

func (msg *MsgRenewGroupMember) Route() string

Route implements the sdk.Msg interface.

func (*MsgRenewGroupMember) Size added in v0.2.4

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

func (*MsgRenewGroupMember) String added in v0.2.4

func (m *MsgRenewGroupMember) String() string

func (*MsgRenewGroupMember) Type added in v0.2.4

func (msg *MsgRenewGroupMember) Type() string

Type implements the sdk.Msg interface.

func (*MsgRenewGroupMember) Unmarshal added in v0.2.4

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

func (*MsgRenewGroupMember) ValidateBasic added in v0.2.4

func (msg *MsgRenewGroupMember) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgRenewGroupMember) XXX_DiscardUnknown added in v0.2.4

func (m *MsgRenewGroupMember) XXX_DiscardUnknown()

func (*MsgRenewGroupMember) XXX_Marshal added in v0.2.4

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

func (*MsgRenewGroupMember) XXX_Merge added in v0.2.4

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

func (*MsgRenewGroupMember) XXX_Size added in v0.2.4

func (m *MsgRenewGroupMember) XXX_Size() int

func (*MsgRenewGroupMember) XXX_Unmarshal added in v0.2.4

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

type MsgRenewGroupMemberResponse added in v0.2.4

type MsgRenewGroupMemberResponse struct {
}

func (*MsgRenewGroupMemberResponse) Descriptor added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) Marshal added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) MarshalTo added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) MarshalToSizedBuffer added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) ProtoMessage added in v0.2.4

func (*MsgRenewGroupMemberResponse) ProtoMessage()

func (*MsgRenewGroupMemberResponse) Reset added in v0.2.4

func (m *MsgRenewGroupMemberResponse) Reset()

func (*MsgRenewGroupMemberResponse) Size added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) String added in v0.2.4

func (m *MsgRenewGroupMemberResponse) String() string

func (*MsgRenewGroupMemberResponse) Unmarshal added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) XXX_DiscardUnknown added in v0.2.4

func (m *MsgRenewGroupMemberResponse) XXX_DiscardUnknown()

func (*MsgRenewGroupMemberResponse) XXX_Marshal added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) XXX_Merge added in v0.2.4

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

func (*MsgRenewGroupMemberResponse) XXX_Size added in v0.2.4

func (m *MsgRenewGroupMemberResponse) XXX_Size() int

func (*MsgRenewGroupMemberResponse) XXX_Unmarshal added in v0.2.4

func (m *MsgRenewGroupMemberResponse) 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"`
	// global_virtual_group_id defines the id of global virtual group
	GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */
	// secondary_sp_bls_agg_signatures defines the aggregate bls signature of the secondary sp that can
	// acknowledge that the payload data has received and stored.
	SecondarySpBlsAggSignatures []byte `` /* 148-byte string literal not displayed */
}

func NewMsgSealObject

func NewMsgSealObject(
	operator sdk.AccAddress, bucketName, objectName string, globalVirtualGroupID uint32,
	secondarySpBlsSignatures []byte,
) *MsgSealObject

func (*MsgSealObject) Descriptor

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

func (*MsgSealObject) GetBucketName

func (m *MsgSealObject) GetBucketName() string

func (*MsgSealObject) GetGlobalVirtualGroupId added in v0.2.3

func (m *MsgSealObject) GetGlobalVirtualGroupId() uint32

func (*MsgSealObject) GetObjectName

func (m *MsgSealObject) GetObjectName() string

func (*MsgSealObject) GetOperator

func (m *MsgSealObject) GetOperator() string

func (*MsgSealObject) GetSecondarySpBlsAggSignatures added in v0.2.3

func (m *MsgSealObject) GetSecondarySpBlsAggSignatures() []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 MsgSealObjectV2 added in v1.6.0

type MsgSealObjectV2 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"`
	// global_virtual_group_id defines the id of global virtual group
	GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */
	// secondary_sp_bls_agg_signatures defines the aggregate bls signature of the secondary sp that can
	// acknowledge that the payload data has received and stored.
	SecondarySpBlsAggSignatures []byte `` /* 148-byte string literal not displayed */
	// (optional) checksums define the total checksums of the object which generated by redundancy
	// SP might set the checksum of object if it was delegated created by SP, which checksum
	// will not be available until sealing object.
	ExpectChecksums [][]byte `protobuf:"bytes,6,rep,name=expect_checksums,json=expectChecksums,proto3" json:"expect_checksums,omitempty"`
}

func NewMsgSealObjectV2 added in v1.6.0

func NewMsgSealObjectV2(
	operator sdk.AccAddress, bucketName, objectName string, globalVirtualGroupID uint32,
	secondarySpBlsSignatures []byte, checksums [][]byte,
) *MsgSealObjectV2

func (*MsgSealObjectV2) Descriptor added in v1.6.0

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

func (*MsgSealObjectV2) GetBucketName added in v1.6.0

func (m *MsgSealObjectV2) GetBucketName() string

func (*MsgSealObjectV2) GetExpectChecksums added in v1.6.0

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

func (*MsgSealObjectV2) GetGlobalVirtualGroupId added in v1.6.0

func (m *MsgSealObjectV2) GetGlobalVirtualGroupId() uint32

func (*MsgSealObjectV2) GetObjectName added in v1.6.0

func (m *MsgSealObjectV2) GetObjectName() string

func (*MsgSealObjectV2) GetOperator added in v1.6.0

func (m *MsgSealObjectV2) GetOperator() string

func (*MsgSealObjectV2) GetSecondarySpBlsAggSignatures added in v1.6.0

func (m *MsgSealObjectV2) GetSecondarySpBlsAggSignatures() []byte

func (*MsgSealObjectV2) GetSignBytes added in v1.6.0

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

GetSignBytes returns the message bytes to sign over.

func (*MsgSealObjectV2) GetSigners added in v1.6.0

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

GetSigners implements the sdk.Msg interface.

func (*MsgSealObjectV2) Marshal added in v1.6.0

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

func (*MsgSealObjectV2) MarshalTo added in v1.6.0

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

func (*MsgSealObjectV2) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgSealObjectV2) ProtoMessage added in v1.6.0

func (*MsgSealObjectV2) ProtoMessage()

func (*MsgSealObjectV2) Reset added in v1.6.0

func (m *MsgSealObjectV2) Reset()

func (*MsgSealObjectV2) Route added in v1.6.0

func (msg *MsgSealObjectV2) Route() string

Route implements the sdk.Msg interface.

func (*MsgSealObjectV2) Size added in v1.6.0

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

func (*MsgSealObjectV2) String added in v1.6.0

func (m *MsgSealObjectV2) String() string

func (*MsgSealObjectV2) Type added in v1.6.0

func (msg *MsgSealObjectV2) Type() string

Type implements the sdk.Msg interface.

func (*MsgSealObjectV2) Unmarshal added in v1.6.0

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

func (*MsgSealObjectV2) ValidateBasic added in v1.6.0

func (msg *MsgSealObjectV2) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgSealObjectV2) XXX_DiscardUnknown added in v1.6.0

func (m *MsgSealObjectV2) XXX_DiscardUnknown()

func (*MsgSealObjectV2) XXX_Marshal added in v1.6.0

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

func (*MsgSealObjectV2) XXX_Merge added in v1.6.0

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

func (*MsgSealObjectV2) XXX_Size added in v1.6.0

func (m *MsgSealObjectV2) XXX_Size() int

func (*MsgSealObjectV2) XXX_Unmarshal added in v1.6.0

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

type MsgSealObjectV2Response added in v1.6.0

type MsgSealObjectV2Response struct {
}

func (*MsgSealObjectV2Response) Descriptor added in v1.6.0

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

func (*MsgSealObjectV2Response) Marshal added in v1.6.0

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

func (*MsgSealObjectV2Response) MarshalTo added in v1.6.0

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

func (*MsgSealObjectV2Response) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgSealObjectV2Response) ProtoMessage added in v1.6.0

func (*MsgSealObjectV2Response) ProtoMessage()

func (*MsgSealObjectV2Response) Reset added in v1.6.0

func (m *MsgSealObjectV2Response) Reset()

func (*MsgSealObjectV2Response) Size added in v1.6.0

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

func (*MsgSealObjectV2Response) String added in v1.6.0

func (m *MsgSealObjectV2Response) String() string

func (*MsgSealObjectV2Response) Unmarshal added in v1.6.0

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

func (*MsgSealObjectV2Response) XXX_DiscardUnknown added in v1.6.0

func (m *MsgSealObjectV2Response) XXX_DiscardUnknown()

func (*MsgSealObjectV2Response) XXX_Marshal added in v1.6.0

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

func (*MsgSealObjectV2Response) XXX_Merge added in v1.6.0

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

func (*MsgSealObjectV2Response) XXX_Size added in v1.6.0

func (m *MsgSealObjectV2Response) XXX_Size() int

func (*MsgSealObjectV2Response) XXX_Unmarshal added in v1.6.0

func (m *MsgSealObjectV2Response) 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)
	ToggleSPAsDelegatedAgent(context.Context, *MsgToggleSPAsDelegatedAgent) (*MsgToggleSPAsDelegatedAgentResponse, error)
	// basic operation of object
	CreateObject(context.Context, *MsgCreateObject) (*MsgCreateObjectResponse, error)
	SealObject(context.Context, *MsgSealObject) (*MsgSealObjectResponse, error)
	SealObjectV2(context.Context, *MsgSealObjectV2) (*MsgSealObjectV2Response, 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)
	UpdateObjectContent(context.Context, *MsgUpdateObjectContent) (*MsgUpdateObjectContentResponse, error)
	CancelUpdateObjectContent(context.Context, *MsgCancelUpdateObjectContent) (*MsgCancelUpdateObjectContentResponse, error)
	DelegateCreateObject(context.Context, *MsgDelegateCreateObject) (*MsgDelegateCreateObjectResponse, error)
	DelegateUpdateObjectContent(context.Context, *MsgDelegateUpdateObjectContent) (*MsgDelegateUpdateObjectContentResponse, 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)
	RenewGroupMember(context.Context, *MsgRenewGroupMember) (*MsgRenewGroupMemberResponse, error)
	// basic operation of policy
	PutPolicy(context.Context, *MsgPutPolicy) (*MsgPutPolicyResponse, error)
	DeletePolicy(context.Context, *MsgDeletePolicy) (*MsgDeletePolicyResponse, error)
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	MigrateBucket(context.Context, *MsgMigrateBucket) (*MsgMigrateBucketResponse, error)
	CompleteMigrateBucket(context.Context, *MsgCompleteMigrateBucket) (*MsgCompleteMigrateBucketResponse, error)
	CancelMigrateBucket(context.Context, *MsgCancelMigrateBucket) (*MsgCancelMigrateBucketResponse, error)
	RejectMigrateBucket(context.Context, *MsgRejectMigrateBucket) (*MsgRejectMigrateBucketResponse, error)
	// Since: Manchurian upgrade
	SetTag(context.Context, *MsgSetTag) (*MsgSetTagResponse, error)
	SetBucketFlowRateLimit(context.Context, *MsgSetBucketFlowRateLimit) (*MsgSetBucketFlowRateLimitResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetBucketFlowRateLimit added in v1.6.0

type MsgSetBucketFlowRateLimit struct {
	// operator defines the account address of the operator, either the object owner or the updater with granted permission.
	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_owner defines the account address of the bucket owner
	BucketOwner string `protobuf:"bytes,3,opt,name=bucket_owner,json=bucketOwner,proto3" json:"bucket_owner,omitempty"`
	// payment_address defines an account address to pay the fee for the bucket.
	PaymentAddress string `protobuf:"bytes,4,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// flow_rate_limit defines the flow rate limit of the bucket
	FlowRateLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
}

func NewMsgSetBucketFlowRateLimit added in v1.6.0

func NewMsgSetBucketFlowRateLimit(operator, bucketOwner, paymentAccount sdk.AccAddress, bucketName string, rateLimit sdkmath.Int) *MsgSetBucketFlowRateLimit

func (*MsgSetBucketFlowRateLimit) Descriptor added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) GetBucketName added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) GetBucketName() string

func (*MsgSetBucketFlowRateLimit) GetBucketOwner added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) GetBucketOwner() string

func (*MsgSetBucketFlowRateLimit) GetOperator added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) GetOperator() string

func (*MsgSetBucketFlowRateLimit) GetPaymentAddress added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) GetPaymentAddress() string

func (*MsgSetBucketFlowRateLimit) GetSignBytes added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) GetSigners added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) Marshal added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) MarshalTo added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) ProtoMessage added in v1.6.0

func (*MsgSetBucketFlowRateLimit) ProtoMessage()

func (*MsgSetBucketFlowRateLimit) Reset added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) Reset()

func (*MsgSetBucketFlowRateLimit) Route added in v1.6.0

func (msg *MsgSetBucketFlowRateLimit) Route() string

func (*MsgSetBucketFlowRateLimit) Size added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) String added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) String() string

func (*MsgSetBucketFlowRateLimit) Type added in v1.6.0

func (msg *MsgSetBucketFlowRateLimit) Type() string

func (*MsgSetBucketFlowRateLimit) Unmarshal added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) ValidateBasic added in v1.6.0

func (msg *MsgSetBucketFlowRateLimit) ValidateBasic() error

func (*MsgSetBucketFlowRateLimit) XXX_DiscardUnknown added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) XXX_DiscardUnknown()

func (*MsgSetBucketFlowRateLimit) XXX_Marshal added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) XXX_Merge added in v1.6.0

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

func (*MsgSetBucketFlowRateLimit) XXX_Size added in v1.6.0

func (m *MsgSetBucketFlowRateLimit) XXX_Size() int

func (*MsgSetBucketFlowRateLimit) XXX_Unmarshal added in v1.6.0

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

type MsgSetBucketFlowRateLimitResponse added in v1.6.0

type MsgSetBucketFlowRateLimitResponse struct {
}

func (*MsgSetBucketFlowRateLimitResponse) Descriptor added in v1.6.0

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

func (*MsgSetBucketFlowRateLimitResponse) Marshal added in v1.6.0

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

func (*MsgSetBucketFlowRateLimitResponse) MarshalTo added in v1.6.0

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

func (*MsgSetBucketFlowRateLimitResponse) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgSetBucketFlowRateLimitResponse) ProtoMessage added in v1.6.0

func (*MsgSetBucketFlowRateLimitResponse) ProtoMessage()

func (*MsgSetBucketFlowRateLimitResponse) Reset added in v1.6.0

func (*MsgSetBucketFlowRateLimitResponse) Size added in v1.6.0

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

func (*MsgSetBucketFlowRateLimitResponse) String added in v1.6.0

func (*MsgSetBucketFlowRateLimitResponse) Unmarshal added in v1.6.0

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

func (*MsgSetBucketFlowRateLimitResponse) XXX_DiscardUnknown added in v1.6.0

func (m *MsgSetBucketFlowRateLimitResponse) XXX_DiscardUnknown()

func (*MsgSetBucketFlowRateLimitResponse) XXX_Marshal added in v1.6.0

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

func (*MsgSetBucketFlowRateLimitResponse) XXX_Merge added in v1.6.0

func (*MsgSetBucketFlowRateLimitResponse) XXX_Size added in v1.6.0

func (m *MsgSetBucketFlowRateLimitResponse) XXX_Size() int

func (*MsgSetBucketFlowRateLimitResponse) XXX_Unmarshal added in v1.6.0

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

type MsgSetTag added in v1.2.0

type MsgSetTag struct {
	// operator defines the operator who adds the tags
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// resource defines a greenfield standard resource name that can be generated by GRN structure
	Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// tags defines a list of tags which will be set to the resource
	Tags *ResourceTags `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"`
}

func NewMsgSetTag added in v1.2.0

func NewMsgSetTag(operator sdk.AccAddress, resource string, tags *ResourceTags) *MsgSetTag

func (*MsgSetTag) Descriptor added in v1.2.0

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

func (*MsgSetTag) GetOperator added in v1.2.0

func (m *MsgSetTag) GetOperator() string

func (*MsgSetTag) GetResource added in v1.2.0

func (m *MsgSetTag) GetResource() string

func (*MsgSetTag) GetSignBytes added in v1.2.0

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

GetSignBytes returns the message bytes to sign over.

func (*MsgSetTag) GetSigners added in v1.2.0

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

GetSigners implements the sdk.Msg interface.

func (*MsgSetTag) GetTags added in v1.2.0

func (m *MsgSetTag) GetTags() *ResourceTags

func (*MsgSetTag) Marshal added in v1.2.0

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

func (*MsgSetTag) MarshalTo added in v1.2.0

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

func (*MsgSetTag) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgSetTag) ProtoMessage added in v1.2.0

func (*MsgSetTag) ProtoMessage()

func (*MsgSetTag) Reset added in v1.2.0

func (m *MsgSetTag) Reset()

func (*MsgSetTag) Route added in v1.2.0

func (msg *MsgSetTag) Route() string

Route implements the sdk.Msg interface.

func (*MsgSetTag) Size added in v1.2.0

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

func (*MsgSetTag) String added in v1.2.0

func (m *MsgSetTag) String() string

func (*MsgSetTag) Type added in v1.2.0

func (msg *MsgSetTag) Type() string

Type implements the sdk.Msg interface.

func (*MsgSetTag) Unmarshal added in v1.2.0

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

func (*MsgSetTag) ValidateBasic added in v1.2.0

func (msg *MsgSetTag) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgSetTag) XXX_DiscardUnknown added in v1.2.0

func (m *MsgSetTag) XXX_DiscardUnknown()

func (*MsgSetTag) XXX_Marshal added in v1.2.0

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

func (*MsgSetTag) XXX_Merge added in v1.2.0

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

func (*MsgSetTag) XXX_Size added in v1.2.0

func (m *MsgSetTag) XXX_Size() int

func (*MsgSetTag) XXX_Unmarshal added in v1.2.0

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

type MsgSetTagResponse added in v1.2.0

type MsgSetTagResponse struct {
}

func (*MsgSetTagResponse) Descriptor added in v1.2.0

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

func (*MsgSetTagResponse) Marshal added in v1.2.0

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

func (*MsgSetTagResponse) MarshalTo added in v1.2.0

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

func (*MsgSetTagResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*MsgSetTagResponse) ProtoMessage added in v1.2.0

func (*MsgSetTagResponse) ProtoMessage()

func (*MsgSetTagResponse) Reset added in v1.2.0

func (m *MsgSetTagResponse) Reset()

func (*MsgSetTagResponse) Size added in v1.2.0

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

func (*MsgSetTagResponse) String added in v1.2.0

func (m *MsgSetTagResponse) String() string

func (*MsgSetTagResponse) Unmarshal added in v1.2.0

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

func (*MsgSetTagResponse) XXX_DiscardUnknown added in v1.2.0

func (m *MsgSetTagResponse) XXX_DiscardUnknown()

func (*MsgSetTagResponse) XXX_Marshal added in v1.2.0

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

func (*MsgSetTagResponse) XXX_Merge added in v1.2.0

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

func (*MsgSetTagResponse) XXX_Size added in v1.2.0

func (m *MsgSetTagResponse) XXX_Size() int

func (*MsgSetTagResponse) XXX_Unmarshal added in v1.2.0

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

type MsgToggleSPAsDelegatedAgent added in v1.6.0

type MsgToggleSPAsDelegatedAgent struct {
	// operator defines the account address of the operator, only the bucket owner can send the tx.
	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"`
}

func NewMsgToggleSPAsDelegatedAgent added in v1.6.0

func NewMsgToggleSPAsDelegatedAgent(
	operator sdk.AccAddress, bucketName string,
) *MsgToggleSPAsDelegatedAgent

func (*MsgToggleSPAsDelegatedAgent) Descriptor added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) GetBucketName added in v1.6.0

func (m *MsgToggleSPAsDelegatedAgent) GetBucketName() string

func (*MsgToggleSPAsDelegatedAgent) GetOperator added in v1.6.0

func (m *MsgToggleSPAsDelegatedAgent) GetOperator() string

func (*MsgToggleSPAsDelegatedAgent) GetSignBytes added in v1.6.0

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

GetSignBytes returns the message bytes to sign over.

func (*MsgToggleSPAsDelegatedAgent) GetSigners added in v1.6.0

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

GetSigners implements the sdk.Msg interface.

func (*MsgToggleSPAsDelegatedAgent) Marshal added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) MarshalTo added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) ProtoMessage added in v1.6.0

func (*MsgToggleSPAsDelegatedAgent) ProtoMessage()

func (*MsgToggleSPAsDelegatedAgent) Reset added in v1.6.0

func (m *MsgToggleSPAsDelegatedAgent) Reset()

func (*MsgToggleSPAsDelegatedAgent) Route added in v1.6.0

func (msg *MsgToggleSPAsDelegatedAgent) Route() string

Route implements the sdk.Msg interface.

func (*MsgToggleSPAsDelegatedAgent) Size added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) String added in v1.6.0

func (m *MsgToggleSPAsDelegatedAgent) String() string

func (*MsgToggleSPAsDelegatedAgent) Type added in v1.6.0

func (msg *MsgToggleSPAsDelegatedAgent) Type() string

Type implements the sdk.Msg interface.

func (*MsgToggleSPAsDelegatedAgent) Unmarshal added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) ValidateBasic added in v1.6.0

func (msg *MsgToggleSPAsDelegatedAgent) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgToggleSPAsDelegatedAgent) XXX_DiscardUnknown added in v1.6.0

func (m *MsgToggleSPAsDelegatedAgent) XXX_DiscardUnknown()

func (*MsgToggleSPAsDelegatedAgent) XXX_Marshal added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) XXX_Merge added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgent) XXX_Size added in v1.6.0

func (m *MsgToggleSPAsDelegatedAgent) XXX_Size() int

func (*MsgToggleSPAsDelegatedAgent) XXX_Unmarshal added in v1.6.0

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

type MsgToggleSPAsDelegatedAgentResponse added in v1.6.0

type MsgToggleSPAsDelegatedAgentResponse struct {
}

func (*MsgToggleSPAsDelegatedAgentResponse) Descriptor added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgentResponse) Marshal added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgentResponse) MarshalTo added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgentResponse) MarshalToSizedBuffer added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgentResponse) ProtoMessage added in v1.6.0

func (*MsgToggleSPAsDelegatedAgentResponse) ProtoMessage()

func (*MsgToggleSPAsDelegatedAgentResponse) Reset added in v1.6.0

func (*MsgToggleSPAsDelegatedAgentResponse) Size added in v1.6.0

func (*MsgToggleSPAsDelegatedAgentResponse) String added in v1.6.0

func (*MsgToggleSPAsDelegatedAgentResponse) Unmarshal added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgentResponse) XXX_DiscardUnknown added in v1.6.0

func (m *MsgToggleSPAsDelegatedAgentResponse) XXX_DiscardUnknown()

func (*MsgToggleSPAsDelegatedAgentResponse) XXX_Marshal added in v1.6.0

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

func (*MsgToggleSPAsDelegatedAgentResponse) XXX_Merge added in v1.6.0

func (*MsgToggleSPAsDelegatedAgentResponse) XXX_Size added in v1.6.0

func (*MsgToggleSPAsDelegatedAgentResponse) XXX_Unmarshal added in v1.6.0

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

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, 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 []*MsgGroupMember `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, groupOwner sdk.AccAddress, groupName string, membersToAdd []*MsgGroupMember,
	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() []*MsgGroupMember

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 MsgUpdateObjectContent added in v1.5.0

type MsgUpdateObjectContent struct {
	// operator defines the account address of the operator, either the object owner or the updater with granted permission.
	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
	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"`
	// content_type defines a standard MIME type describing the format of the object.
	ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// expect_checksums defines a list of hashes which was generate by redundancy algorithm.
	ExpectChecksums [][]byte `protobuf:"bytes,6,rep,name=expect_checksums,json=expectChecksums,proto3" json:"expect_checksums,omitempty"`
}

func NewMsgUpdateObjectContent added in v1.5.0

func NewMsgUpdateObjectContent(
	operator sdk.AccAddress, bucketName, objectName string, payloadSize uint64,
	expectChecksums [][]byte) *MsgUpdateObjectContent

func (*MsgUpdateObjectContent) Descriptor added in v1.5.0

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

func (*MsgUpdateObjectContent) GetBucketName added in v1.5.0

func (m *MsgUpdateObjectContent) GetBucketName() string

func (*MsgUpdateObjectContent) GetContentType added in v1.5.0

func (m *MsgUpdateObjectContent) GetContentType() string

func (*MsgUpdateObjectContent) GetExpectChecksums added in v1.5.0

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

func (*MsgUpdateObjectContent) GetObjectName added in v1.5.0

func (m *MsgUpdateObjectContent) GetObjectName() string

func (*MsgUpdateObjectContent) GetOperator added in v1.5.0

func (m *MsgUpdateObjectContent) GetOperator() string

func (*MsgUpdateObjectContent) GetPayloadSize added in v1.5.0

func (m *MsgUpdateObjectContent) GetPayloadSize() uint64

func (*MsgUpdateObjectContent) GetSignBytes added in v1.5.0

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

GetSignBytes returns the message bytes to sign over.

func (*MsgUpdateObjectContent) GetSigners added in v1.5.0

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

GetSigners implements the sdk.Msg interface.

func (*MsgUpdateObjectContent) Marshal added in v1.5.0

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

func (*MsgUpdateObjectContent) MarshalTo added in v1.5.0

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

func (*MsgUpdateObjectContent) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgUpdateObjectContent) ProtoMessage added in v1.5.0

func (*MsgUpdateObjectContent) ProtoMessage()

func (*MsgUpdateObjectContent) Reset added in v1.5.0

func (m *MsgUpdateObjectContent) Reset()

func (*MsgUpdateObjectContent) Route added in v1.5.0

func (msg *MsgUpdateObjectContent) Route() string

Route implements the sdk.Msg interface.

func (*MsgUpdateObjectContent) Size added in v1.5.0

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

func (*MsgUpdateObjectContent) String added in v1.5.0

func (m *MsgUpdateObjectContent) String() string

func (*MsgUpdateObjectContent) Type added in v1.5.0

func (msg *MsgUpdateObjectContent) Type() string

Type implements the sdk.Msg interface.

func (*MsgUpdateObjectContent) Unmarshal added in v1.5.0

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

func (*MsgUpdateObjectContent) ValidateBasic added in v1.5.0

func (msg *MsgUpdateObjectContent) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgUpdateObjectContent) XXX_DiscardUnknown added in v1.5.0

func (m *MsgUpdateObjectContent) XXX_DiscardUnknown()

func (*MsgUpdateObjectContent) XXX_Marshal added in v1.5.0

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

func (*MsgUpdateObjectContent) XXX_Merge added in v1.5.0

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

func (*MsgUpdateObjectContent) XXX_Size added in v1.5.0

func (m *MsgUpdateObjectContent) XXX_Size() int

func (*MsgUpdateObjectContent) XXX_Unmarshal added in v1.5.0

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

type MsgUpdateObjectContentResponse added in v1.5.0

type MsgUpdateObjectContentResponse struct {
}

func (*MsgUpdateObjectContentResponse) Descriptor added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) Marshal added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) MarshalTo added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) MarshalToSizedBuffer added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) ProtoMessage added in v1.5.0

func (*MsgUpdateObjectContentResponse) ProtoMessage()

func (*MsgUpdateObjectContentResponse) Reset added in v1.5.0

func (m *MsgUpdateObjectContentResponse) Reset()

func (*MsgUpdateObjectContentResponse) Size added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) String added in v1.5.0

func (*MsgUpdateObjectContentResponse) Unmarshal added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) XXX_DiscardUnknown added in v1.5.0

func (m *MsgUpdateObjectContentResponse) XXX_DiscardUnknown()

func (*MsgUpdateObjectContentResponse) XXX_Marshal added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) XXX_Merge added in v1.5.0

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

func (*MsgUpdateObjectContentResponse) XXX_Size added in v1.5.0

func (m *MsgUpdateObjectContentResponse) XXX_Size() int

func (*MsgUpdateObjectContentResponse) XXX_Unmarshal added in v1.5.0

func (m *MsgUpdateObjectContentResponse) 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, 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

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 is the object owner
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// creator is the address of the uploader, it always be same as owner address
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// bucket_name is the name of the bucket
	BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// object_name is the name of object
	ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// id is the unique identifier of object
	Id                  Uint   `protobuf:"bytes,5,opt,name=id,proto3,customtype=Uint" json:"id"`
	LocalVirtualGroupId uint32 `protobuf:"varint,6,opt,name=local_virtual_group_id,json=localVirtualGroupId,proto3" json:"local_virtual_group_id,omitempty"`
	// payloadSize is the total size of the object payload
	PayloadSize uint64 `protobuf:"varint,7,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,8,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,9,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,10,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	// object_status define the upload status of the object.
	ObjectStatus ObjectStatus `` /* 136-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,14,rep,name=checksums,proto3" json:"checksums,omitempty" traits:"omit"`
	// tags defines a list of tags the object has
	Tags *ResourceTags `protobuf:"bytes,15,opt,name=tags,proto3" json:"tags,omitempty"`
	// is_updating indicates whether a object is being updated.
	IsUpdating bool `protobuf:"varint,16,opt,name=is_updating,json=isUpdating,proto3" json:"is_updating,omitempty"`
	// updated_at define the block timestamp when the object is updated. Will not be visible until object is re-sealed.
	UpdatedAt int64 `protobuf:"varint,17,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// updated_by defined the account address of updater(if there is). Will not be visible until object is re-sealed.
	UpdatedBy string `protobuf:"bytes,18,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	// version define the version of object
	Version int64 `protobuf:"varint,19,opt,name=version,proto3" json:"version,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) GetCreator added in v0.2.3

func (m *ObjectInfo) GetCreator() string

func (*ObjectInfo) GetIsUpdating added in v1.5.0

func (m *ObjectInfo) GetIsUpdating() bool

func (*ObjectInfo) GetLatestUpdatedTime added in v1.5.0

func (o *ObjectInfo) GetLatestUpdatedTime() int64

GetLatestUpdatedTime gets the latest timestamp the object's content is updated. UpdatedAt is a new introduced field, it is default to be 0

func (*ObjectInfo) GetLocalVirtualGroupId added in v0.2.3

func (m *ObjectInfo) GetLocalVirtualGroupId() uint32

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

func (m *ObjectInfo) GetSourceType() SourceType

func (*ObjectInfo) GetTags added in v1.2.0

func (m *ObjectInfo) GetTags() *ResourceTags

func (*ObjectInfo) GetUpdatedAt added in v1.5.0

func (m *ObjectInfo) GetUpdatedAt() int64

func (*ObjectInfo) GetUpdatedBy added in v1.5.0

func (m *ObjectInfo) GetUpdatedBy() string

func (*ObjectInfo) GetVersion added in v1.5.0

func (m *ObjectInfo) GetVersion() int64

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 to bsc
	BscMirrorBucketRelayerFee string `` /* 142-byte string literal not displayed */
	// relayer fee for the ACK or FAIL_ACK package of the mirror bucket tx to bsc
	BscMirrorBucketAckRelayerFee string `` /* 153-byte string literal not displayed */
	// relayer fee for the mirror object tx to bsc
	BscMirrorObjectRelayerFee string `` /* 142-byte string literal not displayed */
	// Relayer fee for the ACK or FAIL_ACK package of the mirror object tx to bsc
	BscMirrorObjectAckRelayerFee string `` /* 153-byte string literal not displayed */
	// relayer fee for the mirror object tx to bsc
	BscMirrorGroupRelayerFee string `` /* 139-byte string literal not displayed */
	// Relayer fee for the ACK or FAIL_ACK package of the mirror object tx to bsc
	BscMirrorGroupAckRelayerFee string `` /* 150-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 */
	// The min interval for making quota smaller in seconds
	MinQuotaUpdateInterval uint64 `` /* 133-byte string literal not displayed */
	// the max number of local virtual group per bucket
	MaxLocalVirtualGroupNumPerBucket uint32 `` /* 169-byte string literal not displayed */
	// relayer fee for the mirror bucket tx to op chain
	OpMirrorBucketRelayerFee string `` /* 140-byte string literal not displayed */
	// relayer fee for the ACK or FAIL_ACK package of the mirror bucket tx to op chain
	OpMirrorBucketAckRelayerFee string `` /* 151-byte string literal not displayed */
	// relayer fee for the mirror object tx to op chain
	OpMirrorObjectRelayerFee string `` /* 140-byte string literal not displayed */
	// Relayer fee for the ACK or FAIL_ACK package of the mirror object tx to op chain
	OpMirrorObjectAckRelayerFee string `` /* 151-byte string literal not displayed */
	// relayer fee for the mirror object tx to op chain
	OpMirrorGroupRelayerFee string `` /* 137-byte string literal not displayed */
	// Relayer fee for the ACK or FAIL_ACK package of the mirror object tx to op chain
	OpMirrorGroupAckRelayerFee string `` /* 148-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, bscMirrorBucketRelayerFee, bscMirrorBucketAckRelayerFee string,
	bscMirrorObjectRelayerFee, bscMirrorObjectAckRelayerFee string,
	bscMirrorGroupRelayerFee, bscMirrorGroupAckRelayerFee string,
	opMirrorBucketRelayerFee, opMirrorBucketAckRelayerFee string,
	opMirrorObjectRelayerFee, opMirrorObjectAckRelayerFee string,
	opMirrorGroupRelayerFee, opMirrorGroupAckRelayerFee string,
	discontinueCountingWindow, discontinueObjectMax, discontinueBucketMax uint64,
	discontinueConfirmPeriod int64,
	discontinueDeletionMax uint64,
	stalePoliesCleanupMax uint64,
	minUpdateQuotaInterval uint64,
	maxLocalVirtualGroupNumPerBucket uint32,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetBscMirrorBucketAckRelayerFee added in v0.2.3

func (m *Params) GetBscMirrorBucketAckRelayerFee() string

func (*Params) GetBscMirrorBucketRelayerFee added in v0.2.3

func (m *Params) GetBscMirrorBucketRelayerFee() string

func (*Params) GetBscMirrorGroupAckRelayerFee added in v0.2.3

func (m *Params) GetBscMirrorGroupAckRelayerFee() string

func (*Params) GetBscMirrorGroupRelayerFee added in v0.2.3

func (m *Params) GetBscMirrorGroupRelayerFee() string

func (*Params) GetBscMirrorObjectAckRelayerFee added in v0.2.3

func (m *Params) GetBscMirrorObjectAckRelayerFee() string

func (*Params) GetBscMirrorObjectRelayerFee added in v0.2.3

func (m *Params) GetBscMirrorObjectRelayerFee() string

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) GetMaxLocalVirtualGroupNumPerBucket added in v0.2.3

func (m *Params) GetMaxLocalVirtualGroupNumPerBucket() 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) GetMinQuotaUpdateInterval added in v0.2.3

func (m *Params) GetMinQuotaUpdateInterval() uint64

func (*Params) GetOpMirrorBucketAckRelayerFee added in v0.2.4

func (m *Params) GetOpMirrorBucketAckRelayerFee() string

func (*Params) GetOpMirrorBucketRelayerFee added in v0.2.4

func (m *Params) GetOpMirrorBucketRelayerFee() string

func (*Params) GetOpMirrorGroupAckRelayerFee added in v0.2.4

func (m *Params) GetOpMirrorGroupAckRelayerFee() string

func (*Params) GetOpMirrorGroupRelayerFee added in v0.2.4

func (m *Params) GetOpMirrorGroupRelayerFee() string

func (*Params) GetOpMirrorObjectAckRelayerFee added in v0.2.4

func (m *Params) GetOpMirrorObjectAckRelayerFee() string

func (*Params) GetOpMirrorObjectRelayerFee added in v0.2.4

func (m *Params) GetOpMirrorObjectRelayerFee() 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 {
	GetVersionedParamsWithTs(ctx sdk.Context, time int64) (paymenttypes.VersionedParams, error)
	IsPaymentAccountOwner(ctx sdk.Context, addr, owner sdk.AccAddress) bool
	ApplyUserFlowsList(ctx sdk.Context, userFlows []paymenttypes.UserFlows) (err error)
	UpdateStreamRecordByAddr(ctx sdk.Context, change *paymenttypes.StreamRecordChange) (ret *paymenttypes.StreamRecord, err error)
	GetStreamRecord(ctx sdk.Context, account sdk.AccAddress) (ret *paymenttypes.StreamRecord, found bool)
	MergeOutFlows(flows []paymenttypes.OutFlow) []paymenttypes.OutFlow
	GetAllStreamRecord(ctx sdk.Context) (list []paymenttypes.StreamRecord)
	GetOutFlows(ctx sdk.Context, addr sdk.AccAddress) []paymenttypes.OutFlow
}

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)
	AddGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress, expiration *time.Time) error
	UpdateGroupMember(ctx sdk.Context, groupID math.Uint, member sdk.AccAddress, memberID math.Uint, expiration *time.Time)
	MustGetPolicyByID(ctx sdk.Context, policyID math.Uint) *permtypes.Policy
	GetPolicyGroupForResource(ctx sdk.Context, resourceID math.Uint, resourceType resource.ResourceType) (*permtypes.PolicyGroup, bool)
	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 shadow object with specify name.
	HeadShadowObject(ctx context.Context, in *QueryHeadShadowObjectRequest, opts ...grpc.CallOption) (*QueryHeadShadowObjectResponse, 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.
	ListGroups(ctx context.Context, in *QueryListGroupsRequest, opts ...grpc.CallOption) (*QueryListGroupsResponse, 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)
	// Queries lock fee for storing an object
	QueryLockFee(ctx context.Context, in *QueryLockFeeRequest, opts ...grpc.CallOption) (*QueryLockFeeResponse, error)
	// Queries a bucket extra info (with gvg bindings and price time) with specify name.
	HeadBucketExtra(ctx context.Context, in *QueryHeadBucketExtraRequest, opts ...grpc.CallOption) (*QueryHeadBucketExtraResponse, error)
	// Queries whether read and storage prices changed for the bucket.
	QueryIsPriceChanged(ctx context.Context, in *QueryIsPriceChangedRequest, opts ...grpc.CallOption) (*QueryIsPriceChangedResponse, error)
	// Queries whether read and storage prices changed for the bucket.
	QueryQuotaUpdateTime(ctx context.Context, in *QueryQuoteUpdateTimeRequest, opts ...grpc.CallOption) (*QueryQuoteUpdateTimeResponse, error)
	// Queries whether some members are in the group.
	QueryGroupMembersExist(ctx context.Context, in *QueryGroupMembersExistRequest, opts ...grpc.CallOption) (*QueryGroupMembersExistResponse, error)
	// Queries whether some groups are exist.
	QueryGroupsExist(ctx context.Context, in *QueryGroupsExistRequest, opts ...grpc.CallOption) (*QueryGroupsExistResponse, error)
	// Queries whether some groups are exist by id.
	QueryGroupsExistById(ctx context.Context, in *QueryGroupsExistByIdRequest, opts ...grpc.CallOption) (*QueryGroupsExistResponse, error)
	// Queries the flow rate limit of a bucket for a payment account
	QueryPaymentAccountBucketFlowRateLimit(ctx context.Context, in *QueryPaymentAccountBucketFlowRateLimitRequest, opts ...grpc.CallOption) (*QueryPaymentAccountBucketFlowRateLimitResponse, 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 QueryGroupMembersExistRequest added in v0.2.4

type QueryGroupMembersExistRequest struct {
	GroupId string   `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
}

func (*QueryGroupMembersExistRequest) Descriptor added in v0.2.4

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

func (*QueryGroupMembersExistRequest) GetGroupId added in v0.2.4

func (m *QueryGroupMembersExistRequest) GetGroupId() string

func (*QueryGroupMembersExistRequest) GetMembers added in v0.2.4

func (m *QueryGroupMembersExistRequest) GetMembers() []string

func (*QueryGroupMembersExistRequest) Marshal added in v0.2.4

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

func (*QueryGroupMembersExistRequest) MarshalTo added in v0.2.4

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

func (*QueryGroupMembersExistRequest) MarshalToSizedBuffer added in v0.2.4

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

func (*QueryGroupMembersExistRequest) ProtoMessage added in v0.2.4

func (*QueryGroupMembersExistRequest) ProtoMessage()

func (*QueryGroupMembersExistRequest) Reset added in v0.2.4

func (m *QueryGroupMembersExistRequest) Reset()

func (*QueryGroupMembersExistRequest) Size added in v0.2.4

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

func (*QueryGroupMembersExistRequest) String added in v0.2.4

func (*QueryGroupMembersExistRequest) Unmarshal added in v0.2.4

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

func (*QueryGroupMembersExistRequest) XXX_DiscardUnknown added in v0.2.4

func (m *QueryGroupMembersExistRequest) XXX_DiscardUnknown()

func (*QueryGroupMembersExistRequest) XXX_Marshal added in v0.2.4

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

func (*QueryGroupMembersExistRequest) XXX_Merge added in v0.2.4

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

func (*QueryGroupMembersExistRequest) XXX_Size added in v0.2.4

func (m *QueryGroupMembersExistRequest) XXX_Size() int

func (*QueryGroupMembersExistRequest) XXX_Unmarshal added in v0.2.4

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

type QueryGroupMembersExistResponse added in v0.2.4

type QueryGroupMembersExistResponse struct {
	Exists map[string]bool `` /* 154-byte string literal not displayed */
}

func (*QueryGroupMembersExistResponse) Descriptor added in v0.2.4

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

func (*QueryGroupMembersExistResponse) GetExists added in v0.2.4

func (m *QueryGroupMembersExistResponse) GetExists() map[string]bool

func (*QueryGroupMembersExistResponse) Marshal added in v0.2.4

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

func (*QueryGroupMembersExistResponse) MarshalTo added in v0.2.4

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

func (*QueryGroupMembersExistResponse) MarshalToSizedBuffer added in v0.2.4

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

func (*QueryGroupMembersExistResponse) ProtoMessage added in v0.2.4

func (*QueryGroupMembersExistResponse) ProtoMessage()

func (*QueryGroupMembersExistResponse) Reset added in v0.2.4

func (m *QueryGroupMembersExistResponse) Reset()

func (*QueryGroupMembersExistResponse) Size added in v0.2.4

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

func (*QueryGroupMembersExistResponse) String added in v0.2.4

func (*QueryGroupMembersExistResponse) Unmarshal added in v0.2.4

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

func (*QueryGroupMembersExistResponse) XXX_DiscardUnknown added in v0.2.4

func (m *QueryGroupMembersExistResponse) XXX_DiscardUnknown()

func (*QueryGroupMembersExistResponse) XXX_Marshal added in v0.2.4

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

func (*QueryGroupMembersExistResponse) XXX_Merge added in v0.2.4

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

func (*QueryGroupMembersExistResponse) XXX_Size added in v0.2.4

func (m *QueryGroupMembersExistResponse) XXX_Size() int

func (*QueryGroupMembersExistResponse) XXX_Unmarshal added in v0.2.4

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

type QueryGroupNFTResponse added in v0.0.7

type QueryGroupNFTResponse struct {
	MetaData *GroupMetaData `protobuf:"bytes,1,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"`
}

func (*QueryGroupNFTResponse) Descriptor added in v0.0.7

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

func (*QueryGroupNFTResponse) GetMetaData added in v0.0.7

func (m *QueryGroupNFTResponse) GetMetaData() *GroupMetaData

func (*QueryGroupNFTResponse) Marshal added in v0.0.7

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

func (*QueryGroupNFTResponse) MarshalTo added in v0.0.7

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

func (*QueryGroupNFTResponse) MarshalToSizedBuffer added in v0.0.7

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

func (*QueryGroupNFTResponse) ProtoMessage added in v0.0.7

func (*QueryGroupNFTResponse) ProtoMessage()

func (*QueryGroupNFTResponse) Reset added in v0.0.7

func (m *QueryGroupNFTResponse) Reset()

func (*QueryGroupNFTResponse) Size added in v0.0.7

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

func (*QueryGroupNFTResponse) String added in v0.0.7

func (m *QueryGroupNFTResponse) String() string

func (*QueryGroupNFTResponse) Unmarshal added in v0.0.7

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

func (*QueryGroupNFTResponse) XXX_DiscardUnknown added in v0.0.7

func (m *QueryGroupNFTResponse) XXX_DiscardUnknown()

func (*QueryGroupNFTResponse) XXX_Marshal added in v0.0.7

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

func (*QueryGroupNFTResponse) XXX_Merge added in v0.0.7

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

func (*QueryGroupNFTResponse) XXX_Size added in v0.0.7

func (m *QueryGroupNFTResponse) XXX_Size() int

func (*QueryGroupNFTResponse) XXX_Unmarshal added in v0.0.7

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

type QueryGroupsExistByIdRequest added in v0.2.4

type QueryGroupsExistByIdRequest struct {
	GroupIds []string `protobuf:"bytes,1,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
}

func (*QueryGroupsExistByIdRequest) Descriptor added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) GetGroupIds added in v0.2.4

func (m *QueryGroupsExistByIdRequest) GetGroupIds() []string

func (*QueryGroupsExistByIdRequest) Marshal added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) MarshalTo added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) MarshalToSizedBuffer added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) ProtoMessage added in v0.2.4

func (*QueryGroupsExistByIdRequest) ProtoMessage()

func (*QueryGroupsExistByIdRequest) Reset added in v0.2.4

func (m *QueryGroupsExistByIdRequest) Reset()

func (*QueryGroupsExistByIdRequest) Size added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) String added in v0.2.4

func (m *QueryGroupsExistByIdRequest) String() string

func (*QueryGroupsExistByIdRequest) Unmarshal added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) XXX_DiscardUnknown added in v0.2.4

func (m *QueryGroupsExistByIdRequest) XXX_DiscardUnknown()

func (*QueryGroupsExistByIdRequest) XXX_Marshal added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) XXX_Merge added in v0.2.4

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

func (*QueryGroupsExistByIdRequest) XXX_Size added in v0.2.4

func (m *QueryGroupsExistByIdRequest) XXX_Size() int

func (*QueryGroupsExistByIdRequest) XXX_Unmarshal added in v0.2.4

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

type QueryGroupsExistRequest added in v0.2.4

type QueryGroupsExistRequest struct {
	GroupOwner string   `protobuf:"bytes,1,opt,name=group_owner,json=groupOwner,proto3" json:"group_owner,omitempty"`
	GroupNames []string `protobuf:"bytes,2,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"`
}

func (*QueryGroupsExistRequest) Descriptor added in v0.2.4

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

func (*QueryGroupsExistRequest) GetGroupNames added in v0.2.4

func (m *QueryGroupsExistRequest) GetGroupNames() []string

func (*QueryGroupsExistRequest) GetGroupOwner added in v0.2.4

func (m *QueryGroupsExistRequest) GetGroupOwner() string

func (*QueryGroupsExistRequest) Marshal added in v0.2.4

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

func (*QueryGroupsExistRequest) MarshalTo added in v0.2.4

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

func (*QueryGroupsExistRequest) MarshalToSizedBuffer added in v0.2.4

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

func (*QueryGroupsExistRequest) ProtoMessage added in v0.2.4

func (*QueryGroupsExistRequest) ProtoMessage()

func (*QueryGroupsExistRequest) Reset added in v0.2.4

func (m *QueryGroupsExistRequest) Reset()

func (*QueryGroupsExistRequest) Size added in v0.2.4

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

func (*QueryGroupsExistRequest) String added in v0.2.4

func (m *QueryGroupsExistRequest) String() string

func (*QueryGroupsExistRequest) Unmarshal added in v0.2.4

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

func (*QueryGroupsExistRequest) XXX_DiscardUnknown added in v0.2.4

func (m *QueryGroupsExistRequest) XXX_DiscardUnknown()

func (*QueryGroupsExistRequest) XXX_Marshal added in v0.2.4

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

func (*QueryGroupsExistRequest) XXX_Merge added in v0.2.4

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

func (*QueryGroupsExistRequest) XXX_Size added in v0.2.4

func (m *QueryGroupsExistRequest) XXX_Size() int

func (*QueryGroupsExistRequest) XXX_Unmarshal added in v0.2.4

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

type QueryGroupsExistResponse added in v0.2.4

type QueryGroupsExistResponse struct {
	Exists map[string]bool `` /* 154-byte string literal not displayed */
}

func (*QueryGroupsExistResponse) Descriptor added in v0.2.4

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

func (*QueryGroupsExistResponse) GetExists added in v0.2.4

func (m *QueryGroupsExistResponse) GetExists() map[string]bool

func (*QueryGroupsExistResponse) Marshal added in v0.2.4

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

func (*QueryGroupsExistResponse) MarshalTo added in v0.2.4

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

func (*QueryGroupsExistResponse) MarshalToSizedBuffer added in v0.2.4

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

func (*QueryGroupsExistResponse) ProtoMessage added in v0.2.4

func (*QueryGroupsExistResponse) ProtoMessage()

func (*QueryGroupsExistResponse) Reset added in v0.2.4

func (m *QueryGroupsExistResponse) Reset()

func (*QueryGroupsExistResponse) Size added in v0.2.4

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

func (*QueryGroupsExistResponse) String added in v0.2.4

func (m *QueryGroupsExistResponse) String() string

func (*QueryGroupsExistResponse) Unmarshal added in v0.2.4

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

func (*QueryGroupsExistResponse) XXX_DiscardUnknown added in v0.2.4

func (m *QueryGroupsExistResponse) XXX_DiscardUnknown()

func (*QueryGroupsExistResponse) XXX_Marshal added in v0.2.4

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

func (*QueryGroupsExistResponse) XXX_Merge added in v0.2.4

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

func (*QueryGroupsExistResponse) XXX_Size added in v0.2.4

func (m *QueryGroupsExistResponse) XXX_Size() int

func (*QueryGroupsExistResponse) XXX_Unmarshal added in v0.2.4

func (m *QueryGroupsExistResponse) 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 QueryHeadBucketExtraRequest added in v0.2.3

type QueryHeadBucketExtraRequest struct {
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func (*QueryHeadBucketExtraRequest) Descriptor added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) GetBucketName added in v0.2.3

func (m *QueryHeadBucketExtraRequest) GetBucketName() string

func (*QueryHeadBucketExtraRequest) Marshal added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) MarshalTo added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) ProtoMessage added in v0.2.3

func (*QueryHeadBucketExtraRequest) ProtoMessage()

func (*QueryHeadBucketExtraRequest) Reset added in v0.2.3

func (m *QueryHeadBucketExtraRequest) Reset()

func (*QueryHeadBucketExtraRequest) Size added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) String added in v0.2.3

func (m *QueryHeadBucketExtraRequest) String() string

func (*QueryHeadBucketExtraRequest) Unmarshal added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) XXX_DiscardUnknown added in v0.2.3

func (m *QueryHeadBucketExtraRequest) XXX_DiscardUnknown()

func (*QueryHeadBucketExtraRequest) XXX_Marshal added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) XXX_Merge added in v0.2.3

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

func (*QueryHeadBucketExtraRequest) XXX_Size added in v0.2.3

func (m *QueryHeadBucketExtraRequest) XXX_Size() int

func (*QueryHeadBucketExtraRequest) XXX_Unmarshal added in v0.2.3

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

type QueryHeadBucketExtraResponse added in v0.2.3

type QueryHeadBucketExtraResponse struct {
	ExtraInfo *InternalBucketInfo `protobuf:"bytes,1,opt,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"`
}

func (*QueryHeadBucketExtraResponse) Descriptor added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) GetExtraInfo added in v0.2.3

func (*QueryHeadBucketExtraResponse) Marshal added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) MarshalTo added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) ProtoMessage added in v0.2.3

func (*QueryHeadBucketExtraResponse) ProtoMessage()

func (*QueryHeadBucketExtraResponse) Reset added in v0.2.3

func (m *QueryHeadBucketExtraResponse) Reset()

func (*QueryHeadBucketExtraResponse) Size added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) String added in v0.2.3

func (*QueryHeadBucketExtraResponse) Unmarshal added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) XXX_DiscardUnknown added in v0.2.3

func (m *QueryHeadBucketExtraResponse) XXX_DiscardUnknown()

func (*QueryHeadBucketExtraResponse) XXX_Marshal added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) XXX_Merge added in v0.2.3

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

func (*QueryHeadBucketExtraResponse) XXX_Size added in v0.2.3

func (m *QueryHeadBucketExtraResponse) XXX_Size() int

func (*QueryHeadBucketExtraResponse) XXX_Unmarshal added in v0.2.3

func (m *QueryHeadBucketExtraResponse) 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"`
	ExtraInfo  *BucketExtraInfo `protobuf:"bytes,2,opt,name=extra_info,json=extraInfo,proto3" json:"extra_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) GetExtraInfo added in v1.6.0

func (m *QueryHeadBucketResponse) GetExtraInfo() *BucketExtraInfo

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 *types1.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() *types1.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"`
	GlobalVirtualGroup *types.GlobalVirtualGroup `protobuf:"bytes,2,opt,name=global_virtual_group,json=globalVirtualGroup,proto3" json:"global_virtual_group,omitempty"`
}

func (*QueryHeadObjectResponse) Descriptor added in v0.0.6

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

func (*QueryHeadObjectResponse) GetGlobalVirtualGroup added in v0.2.3

func (m *QueryHeadObjectResponse) GetGlobalVirtualGroup() *types.GlobalVirtualGroup

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 QueryHeadShadowObjectRequest added in v1.5.0

type QueryHeadShadowObjectRequest 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 (*QueryHeadShadowObjectRequest) Descriptor added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) GetBucketName added in v1.5.0

func (m *QueryHeadShadowObjectRequest) GetBucketName() string

func (*QueryHeadShadowObjectRequest) GetObjectName added in v1.5.0

func (m *QueryHeadShadowObjectRequest) GetObjectName() string

func (*QueryHeadShadowObjectRequest) Marshal added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) MarshalTo added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) MarshalToSizedBuffer added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) ProtoMessage added in v1.5.0

func (*QueryHeadShadowObjectRequest) ProtoMessage()

func (*QueryHeadShadowObjectRequest) Reset added in v1.5.0

func (m *QueryHeadShadowObjectRequest) Reset()

func (*QueryHeadShadowObjectRequest) Size added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) String added in v1.5.0

func (*QueryHeadShadowObjectRequest) Unmarshal added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) XXX_DiscardUnknown added in v1.5.0

func (m *QueryHeadShadowObjectRequest) XXX_DiscardUnknown()

func (*QueryHeadShadowObjectRequest) XXX_Marshal added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) XXX_Merge added in v1.5.0

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

func (*QueryHeadShadowObjectRequest) XXX_Size added in v1.5.0

func (m *QueryHeadShadowObjectRequest) XXX_Size() int

func (*QueryHeadShadowObjectRequest) XXX_Unmarshal added in v1.5.0

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

type QueryHeadShadowObjectResponse added in v1.5.0

type QueryHeadShadowObjectResponse struct {
	ObjectInfo *ShadowObjectInfo `protobuf:"bytes,1,opt,name=object_info,json=objectInfo,proto3" json:"object_info,omitempty"`
}

func (*QueryHeadShadowObjectResponse) Descriptor added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) GetObjectInfo added in v1.5.0

func (m *QueryHeadShadowObjectResponse) GetObjectInfo() *ShadowObjectInfo

func (*QueryHeadShadowObjectResponse) Marshal added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) MarshalTo added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) MarshalToSizedBuffer added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) ProtoMessage added in v1.5.0

func (*QueryHeadShadowObjectResponse) ProtoMessage()

func (*QueryHeadShadowObjectResponse) Reset added in v1.5.0

func (m *QueryHeadShadowObjectResponse) Reset()

func (*QueryHeadShadowObjectResponse) Size added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) String added in v1.5.0

func (*QueryHeadShadowObjectResponse) Unmarshal added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) XXX_DiscardUnknown added in v1.5.0

func (m *QueryHeadShadowObjectResponse) XXX_DiscardUnknown()

func (*QueryHeadShadowObjectResponse) XXX_Marshal added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) XXX_Merge added in v1.5.0

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

func (*QueryHeadShadowObjectResponse) XXX_Size added in v1.5.0

func (m *QueryHeadShadowObjectResponse) XXX_Size() int

func (*QueryHeadShadowObjectResponse) XXX_Unmarshal added in v1.5.0

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

type QueryIsPriceChangedRequest added in v0.2.3

type QueryIsPriceChangedRequest struct {
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func (*QueryIsPriceChangedRequest) Descriptor added in v0.2.3

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

func (*QueryIsPriceChangedRequest) GetBucketName added in v0.2.3

func (m *QueryIsPriceChangedRequest) GetBucketName() string

func (*QueryIsPriceChangedRequest) Marshal added in v0.2.3

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

func (*QueryIsPriceChangedRequest) MarshalTo added in v0.2.3

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

func (*QueryIsPriceChangedRequest) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryIsPriceChangedRequest) ProtoMessage added in v0.2.3

func (*QueryIsPriceChangedRequest) ProtoMessage()

func (*QueryIsPriceChangedRequest) Reset added in v0.2.3

func (m *QueryIsPriceChangedRequest) Reset()

func (*QueryIsPriceChangedRequest) Size added in v0.2.3

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

func (*QueryIsPriceChangedRequest) String added in v0.2.3

func (m *QueryIsPriceChangedRequest) String() string

func (*QueryIsPriceChangedRequest) Unmarshal added in v0.2.3

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

func (*QueryIsPriceChangedRequest) XXX_DiscardUnknown added in v0.2.3

func (m *QueryIsPriceChangedRequest) XXX_DiscardUnknown()

func (*QueryIsPriceChangedRequest) XXX_Marshal added in v0.2.3

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

func (*QueryIsPriceChangedRequest) XXX_Merge added in v0.2.3

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

func (*QueryIsPriceChangedRequest) XXX_Size added in v0.2.3

func (m *QueryIsPriceChangedRequest) XXX_Size() int

func (*QueryIsPriceChangedRequest) XXX_Unmarshal added in v0.2.3

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

type QueryIsPriceChangedResponse added in v0.2.3

type QueryIsPriceChangedResponse struct {
	Changed                    bool                                   `protobuf:"varint,1,opt,name=changed,proto3" json:"changed,omitempty"`
	CurrentReadPrice           github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */
	CurrentPrimaryStorePrice   github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */
	CurrentSecondaryStorePrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 183-byte string literal not displayed */
	CurrentValidatorTaxRate    github_com_cosmos_cosmos_sdk_types.Dec `` /* 174-byte string literal not displayed */
	NewReadPrice               github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	NewPrimaryStorePrice       github_com_cosmos_cosmos_sdk_types.Dec `` /* 165-byte string literal not displayed */
	NewSecondaryStorePrice     github_com_cosmos_cosmos_sdk_types.Dec `` /* 171-byte string literal not displayed */
	NewValidatorTaxRate        github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
}

func (*QueryIsPriceChangedResponse) Descriptor added in v0.2.3

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

func (*QueryIsPriceChangedResponse) GetChanged added in v0.2.3

func (m *QueryIsPriceChangedResponse) GetChanged() bool

func (*QueryIsPriceChangedResponse) Marshal added in v0.2.3

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

func (*QueryIsPriceChangedResponse) MarshalTo added in v0.2.3

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

func (*QueryIsPriceChangedResponse) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryIsPriceChangedResponse) ProtoMessage added in v0.2.3

func (*QueryIsPriceChangedResponse) ProtoMessage()

func (*QueryIsPriceChangedResponse) Reset added in v0.2.3

func (m *QueryIsPriceChangedResponse) Reset()

func (*QueryIsPriceChangedResponse) Size added in v0.2.3

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

func (*QueryIsPriceChangedResponse) String added in v0.2.3

func (m *QueryIsPriceChangedResponse) String() string

func (*QueryIsPriceChangedResponse) Unmarshal added in v0.2.3

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

func (*QueryIsPriceChangedResponse) XXX_DiscardUnknown added in v0.2.3

func (m *QueryIsPriceChangedResponse) XXX_DiscardUnknown()

func (*QueryIsPriceChangedResponse) XXX_Marshal added in v0.2.3

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

func (*QueryIsPriceChangedResponse) XXX_Merge added in v0.2.3

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

func (*QueryIsPriceChangedResponse) XXX_Size added in v0.2.3

func (m *QueryIsPriceChangedResponse) XXX_Size() int

func (*QueryIsPriceChangedResponse) XXX_Unmarshal added in v0.2.3

func (m *QueryIsPriceChangedResponse) 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 QueryListGroupsRequest added in v0.2.4

type QueryListGroupsRequest 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 (*QueryListGroupsRequest) Descriptor added in v0.2.4

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

func (*QueryListGroupsRequest) GetGroupOwner added in v0.2.4

func (m *QueryListGroupsRequest) GetGroupOwner() string

func (*QueryListGroupsRequest) GetPagination added in v0.2.4

func (m *QueryListGroupsRequest) GetPagination() *query.PageRequest

func (*QueryListGroupsRequest) Marshal added in v0.2.4

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

func (*QueryListGroupsRequest) MarshalTo added in v0.2.4

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

func (*QueryListGroupsRequest) MarshalToSizedBuffer added in v0.2.4

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

func (*QueryListGroupsRequest) ProtoMessage added in v0.2.4

func (*QueryListGroupsRequest) ProtoMessage()

func (*QueryListGroupsRequest) Reset added in v0.2.4

func (m *QueryListGroupsRequest) Reset()

func (*QueryListGroupsRequest) Size added in v0.2.4

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

func (*QueryListGroupsRequest) String added in v0.2.4

func (m *QueryListGroupsRequest) String() string

func (*QueryListGroupsRequest) Unmarshal added in v0.2.4

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

func (*QueryListGroupsRequest) XXX_DiscardUnknown added in v0.2.4

func (m *QueryListGroupsRequest) XXX_DiscardUnknown()

func (*QueryListGroupsRequest) XXX_Marshal added in v0.2.4

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

func (*QueryListGroupsRequest) XXX_Merge added in v0.2.4

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

func (*QueryListGroupsRequest) XXX_Size added in v0.2.4

func (m *QueryListGroupsRequest) XXX_Size() int

func (*QueryListGroupsRequest) XXX_Unmarshal added in v0.2.4

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

type QueryListGroupsResponse added in v0.2.4

type QueryListGroupsResponse 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 (*QueryListGroupsResponse) Descriptor added in v0.2.4

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

func (*QueryListGroupsResponse) GetGroupInfos added in v0.2.4

func (m *QueryListGroupsResponse) GetGroupInfos() []*GroupInfo

func (*QueryListGroupsResponse) GetPagination added in v0.2.4

func (m *QueryListGroupsResponse) GetPagination() *query.PageResponse

func (*QueryListGroupsResponse) Marshal added in v0.2.4

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

func (*QueryListGroupsResponse) MarshalTo added in v0.2.4

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

func (*QueryListGroupsResponse) MarshalToSizedBuffer added in v0.2.4

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

func (*QueryListGroupsResponse) ProtoMessage added in v0.2.4

func (*QueryListGroupsResponse) ProtoMessage()

func (*QueryListGroupsResponse) Reset added in v0.2.4

func (m *QueryListGroupsResponse) Reset()

func (*QueryListGroupsResponse) Size added in v0.2.4

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

func (*QueryListGroupsResponse) String added in v0.2.4

func (m *QueryListGroupsResponse) String() string

func (*QueryListGroupsResponse) Unmarshal added in v0.2.4

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

func (*QueryListGroupsResponse) XXX_DiscardUnknown added in v0.2.4

func (m *QueryListGroupsResponse) XXX_DiscardUnknown()

func (*QueryListGroupsResponse) XXX_Marshal added in v0.2.4

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

func (*QueryListGroupsResponse) XXX_Merge added in v0.2.4

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

func (*QueryListGroupsResponse) XXX_Size added in v0.2.4

func (m *QueryListGroupsResponse) XXX_Size() int

func (*QueryListGroupsResponse) XXX_Unmarshal added in v0.2.4

func (m *QueryListGroupsResponse) 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 QueryLockFeeRequest added in v0.2.3

type QueryLockFeeRequest struct {
	// primary_sp_address is the address of the primary sp.
	PrimarySpAddress string `protobuf:"bytes,1,opt,name=primary_sp_address,json=primarySpAddress,proto3" json:"primary_sp_address,omitempty"`
	// create_at define the block timestamp when the object created.
	CreateAt int64 `protobuf:"varint,2,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	// payloadSize is the total size of the object payload
	PayloadSize uint64 `protobuf:"varint,3,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
}

func (*QueryLockFeeRequest) Descriptor added in v0.2.3

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

func (*QueryLockFeeRequest) GetCreateAt added in v0.2.3

func (m *QueryLockFeeRequest) GetCreateAt() int64

func (*QueryLockFeeRequest) GetPayloadSize added in v0.2.3

func (m *QueryLockFeeRequest) GetPayloadSize() uint64

func (*QueryLockFeeRequest) GetPrimarySpAddress added in v0.2.3

func (m *QueryLockFeeRequest) GetPrimarySpAddress() string

func (*QueryLockFeeRequest) Marshal added in v0.2.3

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

func (*QueryLockFeeRequest) MarshalTo added in v0.2.3

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

func (*QueryLockFeeRequest) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryLockFeeRequest) ProtoMessage added in v0.2.3

func (*QueryLockFeeRequest) ProtoMessage()

func (*QueryLockFeeRequest) Reset added in v0.2.3

func (m *QueryLockFeeRequest) Reset()

func (*QueryLockFeeRequest) Size added in v0.2.3

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

func (*QueryLockFeeRequest) String added in v0.2.3

func (m *QueryLockFeeRequest) String() string

func (*QueryLockFeeRequest) Unmarshal added in v0.2.3

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

func (*QueryLockFeeRequest) XXX_DiscardUnknown added in v0.2.3

func (m *QueryLockFeeRequest) XXX_DiscardUnknown()

func (*QueryLockFeeRequest) XXX_Marshal added in v0.2.3

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

func (*QueryLockFeeRequest) XXX_Merge added in v0.2.3

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

func (*QueryLockFeeRequest) XXX_Size added in v0.2.3

func (m *QueryLockFeeRequest) XXX_Size() int

func (*QueryLockFeeRequest) XXX_Unmarshal added in v0.2.3

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

type QueryLockFeeResponse added in v0.2.3

type QueryLockFeeResponse struct {
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

func (*QueryLockFeeResponse) Descriptor added in v0.2.3

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

func (*QueryLockFeeResponse) Marshal added in v0.2.3

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

func (*QueryLockFeeResponse) MarshalTo added in v0.2.3

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

func (*QueryLockFeeResponse) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryLockFeeResponse) ProtoMessage added in v0.2.3

func (*QueryLockFeeResponse) ProtoMessage()

func (*QueryLockFeeResponse) Reset added in v0.2.3

func (m *QueryLockFeeResponse) Reset()

func (*QueryLockFeeResponse) Size added in v0.2.3

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

func (*QueryLockFeeResponse) String added in v0.2.3

func (m *QueryLockFeeResponse) String() string

func (*QueryLockFeeResponse) Unmarshal added in v0.2.3

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

func (*QueryLockFeeResponse) XXX_DiscardUnknown added in v0.2.3

func (m *QueryLockFeeResponse) XXX_DiscardUnknown()

func (*QueryLockFeeResponse) XXX_Marshal added in v0.2.3

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

func (*QueryLockFeeResponse) XXX_Merge added in v0.2.3

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

func (*QueryLockFeeResponse) XXX_Size added in v0.2.3

func (m *QueryLockFeeResponse) XXX_Size() int

func (*QueryLockFeeResponse) XXX_Unmarshal added in v0.2.3

func (m *QueryLockFeeResponse) 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 QueryPaymentAccountBucketFlowRateLimitRequest added in v1.6.0

type QueryPaymentAccountBucketFlowRateLimitRequest struct {
	PaymentAccount string `protobuf:"bytes,1,opt,name=payment_account,json=paymentAccount,proto3" json:"payment_account,omitempty"`
	BucketOwner    string `protobuf:"bytes,2,opt,name=bucket_owner,json=bucketOwner,proto3" json:"bucket_owner,omitempty"`
	BucketName     string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func (*QueryPaymentAccountBucketFlowRateLimitRequest) Descriptor added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) GetBucketName added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) GetBucketOwner added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) GetPaymentAccount added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) Marshal added in v1.6.0

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

func (*QueryPaymentAccountBucketFlowRateLimitRequest) MarshalTo added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) MarshalToSizedBuffer added in v1.6.0

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

func (*QueryPaymentAccountBucketFlowRateLimitRequest) ProtoMessage added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) Reset added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) Size added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) String added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) Unmarshal added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) XXX_DiscardUnknown added in v1.6.0

func (m *QueryPaymentAccountBucketFlowRateLimitRequest) XXX_DiscardUnknown()

func (*QueryPaymentAccountBucketFlowRateLimitRequest) XXX_Marshal added in v1.6.0

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

func (*QueryPaymentAccountBucketFlowRateLimitRequest) XXX_Merge added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) XXX_Size added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitRequest) XXX_Unmarshal added in v1.6.0

type QueryPaymentAccountBucketFlowRateLimitResponse added in v1.6.0

type QueryPaymentAccountBucketFlowRateLimitResponse struct {
	IsSet         bool                                   `protobuf:"varint,1,opt,name=is_set,json=isSet,proto3" json:"is_set,omitempty"`
	FlowRateLimit github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
}

func (*QueryPaymentAccountBucketFlowRateLimitResponse) Descriptor added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) GetIsSet added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) Marshal added in v1.6.0

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

func (*QueryPaymentAccountBucketFlowRateLimitResponse) MarshalTo added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) MarshalToSizedBuffer added in v1.6.0

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

func (*QueryPaymentAccountBucketFlowRateLimitResponse) ProtoMessage added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) Reset added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) Size added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) String added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) Unmarshal added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) XXX_DiscardUnknown added in v1.6.0

func (m *QueryPaymentAccountBucketFlowRateLimitResponse) XXX_DiscardUnknown()

func (*QueryPaymentAccountBucketFlowRateLimitResponse) XXX_Marshal added in v1.6.0

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

func (*QueryPaymentAccountBucketFlowRateLimitResponse) XXX_Merge added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) XXX_Size added in v1.6.0

func (*QueryPaymentAccountBucketFlowRateLimitResponse) XXX_Unmarshal added in v1.6.0

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 *types1.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() *types1.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 *types1.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 (*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 *types1.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() *types1.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 QueryQuoteUpdateTimeRequest added in v0.2.5

type QueryQuoteUpdateTimeRequest struct {
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
}

func (*QueryQuoteUpdateTimeRequest) Descriptor added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) GetBucketName added in v0.2.5

func (m *QueryQuoteUpdateTimeRequest) GetBucketName() string

func (*QueryQuoteUpdateTimeRequest) Marshal added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) MarshalTo added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) ProtoMessage added in v0.2.5

func (*QueryQuoteUpdateTimeRequest) ProtoMessage()

func (*QueryQuoteUpdateTimeRequest) Reset added in v0.2.5

func (m *QueryQuoteUpdateTimeRequest) Reset()

func (*QueryQuoteUpdateTimeRequest) Size added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) String added in v0.2.5

func (m *QueryQuoteUpdateTimeRequest) String() string

func (*QueryQuoteUpdateTimeRequest) Unmarshal added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) XXX_DiscardUnknown added in v0.2.5

func (m *QueryQuoteUpdateTimeRequest) XXX_DiscardUnknown()

func (*QueryQuoteUpdateTimeRequest) XXX_Marshal added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) XXX_Merge added in v0.2.5

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

func (*QueryQuoteUpdateTimeRequest) XXX_Size added in v0.2.5

func (m *QueryQuoteUpdateTimeRequest) XXX_Size() int

func (*QueryQuoteUpdateTimeRequest) XXX_Unmarshal added in v0.2.5

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

type QueryQuoteUpdateTimeResponse added in v0.2.5

type QueryQuoteUpdateTimeResponse struct {
	UpdateAt int64 `protobuf:"varint,6,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"`
}

func (*QueryQuoteUpdateTimeResponse) Descriptor added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) GetUpdateAt added in v0.2.5

func (m *QueryQuoteUpdateTimeResponse) GetUpdateAt() int64

func (*QueryQuoteUpdateTimeResponse) Marshal added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) MarshalTo added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) MarshalToSizedBuffer added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) ProtoMessage added in v0.2.5

func (*QueryQuoteUpdateTimeResponse) ProtoMessage()

func (*QueryQuoteUpdateTimeResponse) Reset added in v0.2.5

func (m *QueryQuoteUpdateTimeResponse) Reset()

func (*QueryQuoteUpdateTimeResponse) Size added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) String added in v0.2.5

func (*QueryQuoteUpdateTimeResponse) Unmarshal added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) XXX_DiscardUnknown added in v0.2.5

func (m *QueryQuoteUpdateTimeResponse) XXX_DiscardUnknown()

func (*QueryQuoteUpdateTimeResponse) XXX_Marshal added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) XXX_Merge added in v0.2.5

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

func (*QueryQuoteUpdateTimeResponse) XXX_Size added in v0.2.5

func (m *QueryQuoteUpdateTimeResponse) XXX_Size() int

func (*QueryQuoteUpdateTimeResponse) XXX_Unmarshal added in v0.2.5

func (m *QueryQuoteUpdateTimeResponse) 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 shadow object with specify name.
	HeadShadowObject(context.Context, *QueryHeadShadowObjectRequest) (*QueryHeadShadowObjectResponse, 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.
	ListGroups(context.Context, *QueryListGroupsRequest) (*QueryListGroupsResponse, 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)
	// Queries lock fee for storing an object
	QueryLockFee(context.Context, *QueryLockFeeRequest) (*QueryLockFeeResponse, error)
	// Queries a bucket extra info (with gvg bindings and price time) with specify name.
	HeadBucketExtra(context.Context, *QueryHeadBucketExtraRequest) (*QueryHeadBucketExtraResponse, error)
	// Queries whether read and storage prices changed for the bucket.
	QueryIsPriceChanged(context.Context, *QueryIsPriceChangedRequest) (*QueryIsPriceChangedResponse, error)
	// Queries whether read and storage prices changed for the bucket.
	QueryQuotaUpdateTime(context.Context, *QueryQuoteUpdateTimeRequest) (*QueryQuoteUpdateTimeResponse, error)
	// Queries whether some members are in the group.
	QueryGroupMembersExist(context.Context, *QueryGroupMembersExistRequest) (*QueryGroupMembersExistResponse, error)
	// Queries whether some groups are exist.
	QueryGroupsExist(context.Context, *QueryGroupsExistRequest) (*QueryGroupsExistResponse, error)
	// Queries whether some groups are exist by id.
	QueryGroupsExistById(context.Context, *QueryGroupsExistByIdRequest) (*QueryGroupsExistResponse, error)
	// Queries the flow rate limit of a bucket for a payment account
	QueryPaymentAccountBucketFlowRateLimit(context.Context, *QueryPaymentAccountBucketFlowRateLimitRequest) (*QueryPaymentAccountBucketFlowRateLimitResponse, 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 types1.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() types1.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 types1.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 RenewGroupMemberOptions added in v0.2.4

type RenewGroupMemberOptions struct {
	SourceType        SourceType
	Members           []string
	MembersExpiration []*time.Time
}

type ResourceTags added in v1.2.0

type ResourceTags struct {
	// tags defines a list of tags the resource has
	Tags []ResourceTags_Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags"`
}

func (*ResourceTags) Descriptor added in v1.2.0

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

func (*ResourceTags) GetTags added in v1.2.0

func (m *ResourceTags) GetTags() []ResourceTags_Tag

func (*ResourceTags) Marshal added in v1.2.0

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

func (*ResourceTags) MarshalTo added in v1.2.0

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

func (*ResourceTags) MarshalToSizedBuffer added in v1.2.0

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

func (*ResourceTags) ProtoMessage added in v1.2.0

func (*ResourceTags) ProtoMessage()

func (*ResourceTags) Reset added in v1.2.0

func (m *ResourceTags) Reset()

func (*ResourceTags) Size added in v1.2.0

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

func (*ResourceTags) String added in v1.2.0

func (m *ResourceTags) String() string

func (*ResourceTags) Unmarshal added in v1.2.0

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

func (*ResourceTags) XXX_DiscardUnknown added in v1.2.0

func (m *ResourceTags) XXX_DiscardUnknown()

func (*ResourceTags) XXX_Marshal added in v1.2.0

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

func (*ResourceTags) XXX_Merge added in v1.2.0

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

func (*ResourceTags) XXX_Size added in v1.2.0

func (m *ResourceTags) XXX_Size() int

func (*ResourceTags) XXX_Unmarshal added in v1.2.0

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

type ResourceTags_Tag added in v1.2.0

type ResourceTags_Tag struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*ResourceTags_Tag) Descriptor added in v1.2.0

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

func (*ResourceTags_Tag) GetKey added in v1.2.0

func (m *ResourceTags_Tag) GetKey() string

func (*ResourceTags_Tag) GetValue added in v1.2.0

func (m *ResourceTags_Tag) GetValue() string

func (*ResourceTags_Tag) Marshal added in v1.2.0

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

func (*ResourceTags_Tag) MarshalTo added in v1.2.0

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

func (*ResourceTags_Tag) MarshalToSizedBuffer added in v1.2.0

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

func (*ResourceTags_Tag) ProtoMessage added in v1.2.0

func (*ResourceTags_Tag) ProtoMessage()

func (*ResourceTags_Tag) Reset added in v1.2.0

func (m *ResourceTags_Tag) Reset()

func (*ResourceTags_Tag) Size added in v1.2.0

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

func (*ResourceTags_Tag) String added in v1.2.0

func (m *ResourceTags_Tag) String() string

func (*ResourceTags_Tag) Unmarshal added in v1.2.0

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

func (*ResourceTags_Tag) XXX_DiscardUnknown added in v1.2.0

func (m *ResourceTags_Tag) XXX_DiscardUnknown()

func (*ResourceTags_Tag) XXX_Marshal added in v1.2.0

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

func (*ResourceTags_Tag) XXX_Merge added in v1.2.0

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

func (*ResourceTags_Tag) XXX_Size added in v1.2.0

func (m *ResourceTags_Tag) XXX_Size() int

func (*ResourceTags_Tag) XXX_Unmarshal added in v1.2.0

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

type SecondarySpMigrationBucketSignDoc added in v0.2.3

type SecondarySpMigrationBucketSignDoc struct {
	ChainId                 string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	DstPrimarySpId          uint32 `protobuf:"varint,2,opt,name=dst_primary_sp_id,json=dstPrimarySpId,proto3" json:"dst_primary_sp_id,omitempty"`
	SrcGlobalVirtualGroupId uint32 `` /* 137-byte string literal not displayed */
	DstGlobalVirtualGroupId uint32 `` /* 137-byte string literal not displayed */
	BucketId                Uint   `protobuf:"bytes,5,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"`
}

func NewSecondarySpMigrationBucketSignDoc added in v0.2.3

func NewSecondarySpMigrationBucketSignDoc(chainID string, bucketID math.Uint, spID, srcGVGID, dstGVGID uint32) *SecondarySpMigrationBucketSignDoc

func (*SecondarySpMigrationBucketSignDoc) Descriptor added in v0.2.3

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

func (*SecondarySpMigrationBucketSignDoc) GetBlsSignHash added in v0.2.3

func (c *SecondarySpMigrationBucketSignDoc) GetBlsSignHash() [32]byte

func (*SecondarySpMigrationBucketSignDoc) GetChainId added in v0.2.3

func (m *SecondarySpMigrationBucketSignDoc) GetChainId() string

func (*SecondarySpMigrationBucketSignDoc) GetDstGlobalVirtualGroupId added in v0.2.3

func (m *SecondarySpMigrationBucketSignDoc) GetDstGlobalVirtualGroupId() uint32

func (*SecondarySpMigrationBucketSignDoc) GetDstPrimarySpId added in v0.2.3

func (m *SecondarySpMigrationBucketSignDoc) GetDstPrimarySpId() uint32

func (*SecondarySpMigrationBucketSignDoc) GetSignBytes added in v0.2.3

func (c *SecondarySpMigrationBucketSignDoc) GetSignBytes() []byte

func (*SecondarySpMigrationBucketSignDoc) GetSrcGlobalVirtualGroupId added in v0.2.3

func (m *SecondarySpMigrationBucketSignDoc) GetSrcGlobalVirtualGroupId() uint32

func (*SecondarySpMigrationBucketSignDoc) Marshal added in v0.2.3

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

func (*SecondarySpMigrationBucketSignDoc) MarshalTo added in v0.2.3

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

func (*SecondarySpMigrationBucketSignDoc) MarshalToSizedBuffer added in v0.2.3

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

func (*SecondarySpMigrationBucketSignDoc) ProtoMessage added in v0.2.3

func (*SecondarySpMigrationBucketSignDoc) ProtoMessage()

func (*SecondarySpMigrationBucketSignDoc) Reset added in v0.2.3

func (*SecondarySpMigrationBucketSignDoc) Size added in v0.2.3

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

func (*SecondarySpMigrationBucketSignDoc) String added in v0.2.3

func (*SecondarySpMigrationBucketSignDoc) Unmarshal added in v0.2.3

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

func (*SecondarySpMigrationBucketSignDoc) XXX_DiscardUnknown added in v0.2.3

func (m *SecondarySpMigrationBucketSignDoc) XXX_DiscardUnknown()

func (*SecondarySpMigrationBucketSignDoc) XXX_Marshal added in v0.2.3

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

func (*SecondarySpMigrationBucketSignDoc) XXX_Merge added in v0.2.3

func (*SecondarySpMigrationBucketSignDoc) XXX_Size added in v0.2.3

func (m *SecondarySpMigrationBucketSignDoc) XXX_Size() int

func (*SecondarySpMigrationBucketSignDoc) XXX_Unmarshal added in v0.2.3

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

type SecondarySpSealObjectSignDoc added in v0.2.3

type SecondarySpSealObjectSignDoc struct {
	ChainId              string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	GlobalVirtualGroupId uint32 `` /* 126-byte string literal not displayed */
	ObjectId             Uint   `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3,customtype=Uint" json:"object_id"`
	// checksum is the sha256 hash of slice of integrity hash from secondary sps
	Checksum []byte `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty"`
}

SecondarySpSealObjectSignDoc 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 NewSecondarySpSealObjectSignDoc added in v0.2.3

func NewSecondarySpSealObjectSignDoc(chainID string, gvgID uint32, objectID math.Uint, checksum []byte) *SecondarySpSealObjectSignDoc

NewSecondarySpSealObjectSignDoc creates the doc for all secondary sps bls signings, checksums is the hash of slice of integrity hash(objectInfo checkSums) contributed by secondary sps

func (*SecondarySpSealObjectSignDoc) Descriptor added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) GetBlsSignHash added in v0.2.3

func (c *SecondarySpSealObjectSignDoc) GetBlsSignHash() [32]byte

func (*SecondarySpSealObjectSignDoc) GetChainId added in v0.2.3

func (m *SecondarySpSealObjectSignDoc) GetChainId() string

func (*SecondarySpSealObjectSignDoc) GetChecksum added in v0.2.3

func (m *SecondarySpSealObjectSignDoc) GetChecksum() []byte

func (*SecondarySpSealObjectSignDoc) GetGlobalVirtualGroupId added in v0.2.3

func (m *SecondarySpSealObjectSignDoc) GetGlobalVirtualGroupId() uint32

func (*SecondarySpSealObjectSignDoc) GetSignBytes added in v0.2.3

func (c *SecondarySpSealObjectSignDoc) GetSignBytes() []byte

func (*SecondarySpSealObjectSignDoc) Marshal added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) MarshalTo added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) MarshalToSizedBuffer added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) ProtoMessage added in v0.2.3

func (*SecondarySpSealObjectSignDoc) ProtoMessage()

func (*SecondarySpSealObjectSignDoc) Reset added in v0.2.3

func (m *SecondarySpSealObjectSignDoc) Reset()

func (*SecondarySpSealObjectSignDoc) Size added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) String added in v0.2.3

func (*SecondarySpSealObjectSignDoc) Unmarshal added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) XXX_DiscardUnknown added in v0.2.3

func (m *SecondarySpSealObjectSignDoc) XXX_DiscardUnknown()

func (*SecondarySpSealObjectSignDoc) XXX_Marshal added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) XXX_Merge added in v0.2.3

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

func (*SecondarySpSealObjectSignDoc) XXX_Size added in v0.2.3

func (m *SecondarySpSealObjectSignDoc) XXX_Size() int

func (*SecondarySpSealObjectSignDoc) XXX_Unmarshal added in v0.2.3

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

type ShadowObjectInfo added in v1.5.0

type ShadowObjectInfo struct {
	// operator defines the account address of the operator, either the object owner or the updater with granted permission.
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// id defines the object id
	Id Uint `protobuf:"bytes,2,opt,name=id,proto3,customtype=Uint" json:"id"`
	// content_type define the content type of the payload data
	ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// payload_size is the total size of the object payload
	PayloadSize uint64 `protobuf:"varint,4,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"`
	// checksums define the root hash of the pieces which stored in a SP.
	Checksums [][]byte `protobuf:"bytes,5,rep,name=checksums,proto3" json:"checksums,omitempty" traits:"omit"`
	// updated_at define the block timestamp when the object is updated
	UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// version define the version of object
	Version int64 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
}

func (*ShadowObjectInfo) Descriptor added in v1.5.0

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

func (*ShadowObjectInfo) GetChecksums added in v1.5.0

func (m *ShadowObjectInfo) GetChecksums() [][]byte

func (*ShadowObjectInfo) GetContentType added in v1.5.0

func (m *ShadowObjectInfo) GetContentType() string

func (*ShadowObjectInfo) GetOperator added in v1.5.0

func (m *ShadowObjectInfo) GetOperator() string

func (*ShadowObjectInfo) GetPayloadSize added in v1.5.0

func (m *ShadowObjectInfo) GetPayloadSize() uint64

func (*ShadowObjectInfo) GetUpdatedAt added in v1.5.0

func (m *ShadowObjectInfo) GetUpdatedAt() int64

func (*ShadowObjectInfo) GetVersion added in v1.5.0

func (m *ShadowObjectInfo) GetVersion() int64

func (*ShadowObjectInfo) Marshal added in v1.5.0

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

func (*ShadowObjectInfo) MarshalTo added in v1.5.0

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

func (*ShadowObjectInfo) MarshalToSizedBuffer added in v1.5.0

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

func (*ShadowObjectInfo) ProtoMessage added in v1.5.0

func (*ShadowObjectInfo) ProtoMessage()

func (*ShadowObjectInfo) Reset added in v1.5.0

func (m *ShadowObjectInfo) Reset()

func (*ShadowObjectInfo) Size added in v1.5.0

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

func (*ShadowObjectInfo) String added in v1.5.0

func (m *ShadowObjectInfo) String() string

func (*ShadowObjectInfo) Unmarshal added in v1.5.0

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

func (*ShadowObjectInfo) XXX_DiscardUnknown added in v1.5.0

func (m *ShadowObjectInfo) XXX_DiscardUnknown()

func (*ShadowObjectInfo) XXX_Marshal added in v1.5.0

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

func (*ShadowObjectInfo) XXX_Merge added in v1.5.0

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

func (*ShadowObjectInfo) XXX_Size added in v1.5.0

func (m *ShadowObjectInfo) XXX_Size() int

func (*ShadowObjectInfo) XXX_Unmarshal added in v1.5.0

func (m *ShadowObjectInfo) 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_MIRROR_PENDING  SourceType = 1
	SOURCE_TYPE_BSC_CROSS_CHAIN SourceType = 2
	SOURCE_TYPE_OP_CROSS_CHAIN  SourceType = 3
)

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, id uint32) (*sptypes.StorageProvider, bool)
	MustGetStorageProvider(ctx sdk.Context, id uint32) *sptypes.StorageProvider
	GetStorageProviderByOperatorAddr(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)
	GetGlobalSpStorePriceByTime(ctx sdk.Context, time int64) (val sptypes.GlobalSpStorePrice, err error)
}

type StorageKeeper added in v0.2.4

type StorageKeeper interface {
	Logger(ctx sdk.Context) log.Logger
	GetBucketInfoById(ctx sdk.Context, bucketId sdkmath.Uint) (*BucketInfo, bool)
	GetBucketInfo(ctx sdk.Context, bucketName string) (*BucketInfo, bool)
	GetObjectInfo(ctx sdk.Context, bucketName, objectName string) (*ObjectInfo, bool)
	SetBucketInfo(ctx sdk.Context, bucketInfo *BucketInfo)
	CreateBucket(
		ctx sdk.Context, ownerAcc sdk.AccAddress, bucketName string,
		primarySpAcc sdk.AccAddress, opts *CreateBucketOptions) (sdkmath.Uint, error)
	DeleteBucket(ctx sdk.Context, operator sdk.AccAddress, bucketName string, opts DeleteBucketOptions) error
	GetGroupInfoById(ctx sdk.Context, groupId sdkmath.Uint) (*GroupInfo, bool)
	GetGroupInfo(ctx sdk.Context, ownerAddr sdk.AccAddress, groupName string) (*GroupInfo, bool)
	DeleteGroup(ctx sdk.Context, operator sdk.AccAddress, groupName string, opts DeleteGroupOptions) error
	CreateGroup(
		ctx sdk.Context, owner sdk.AccAddress,
		groupName string, opts CreateGroupOptions) (sdkmath.Uint, error)
	SetGroupInfo(ctx sdk.Context, groupInfo *GroupInfo)
	UpdateGroupMember(ctx sdk.Context, operator sdk.AccAddress, groupInfo *GroupInfo, opts UpdateGroupMemberOptions) error
	RenewGroupMember(ctx sdk.Context, operator sdk.AccAddress, groupInfo *GroupInfo, opts RenewGroupMemberOptions) error
	GetObjectInfoById(ctx sdk.Context, objectId sdkmath.Uint) (*ObjectInfo, bool)
	SetObjectInfo(ctx sdk.Context, objectInfo *ObjectInfo)
	DeleteObject(
		ctx sdk.Context, operator sdk.AccAddress, bucketName, objectName string, opts DeleteObjectOptions) error
	GetSourceTypeByChainId(ctx sdk.Context, chainId sdk.ChainID) (SourceType, error)

	NormalizePrincipal(ctx sdk.Context, principal *permtypes.Principal)
	ValidatePrincipal(ctx sdk.Context, resOwner sdk.AccAddress, principal *permtypes.Principal) error

	GetResourceOwnerAndIdFromGRN(ctx sdk.Context, grn types2.GRN) (resOwner sdk.AccAddress, resID math.Uint, err error)
}

StorageKeeper used by the cross-chain applications

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CancelCreateObject added in v0.0.6

func (*UnimplementedMsgServer) CancelMigrateBucket added in v0.2.3

func (*UnimplementedMsgServer) CancelUpdateObjectContent added in v1.5.0

func (*UnimplementedMsgServer) CompleteMigrateBucket added in v0.2.3

func (*UnimplementedMsgServer) CopyObject

func (*UnimplementedMsgServer) CreateBucket

func (*UnimplementedMsgServer) CreateGroup

func (*UnimplementedMsgServer) CreateObject

func (*UnimplementedMsgServer) DelegateCreateObject added in v1.6.0

func (*UnimplementedMsgServer) DelegateUpdateObjectContent added in v1.6.0

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) MigrateBucket added in v0.2.3

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) RejectMigrateBucket added in v1.1.0

func (*UnimplementedMsgServer) RejectSealObject

func (*UnimplementedMsgServer) RenewGroupMember added in v0.2.4

func (*UnimplementedMsgServer) SealObject

func (*UnimplementedMsgServer) SealObjectV2 added in v1.6.0

func (*UnimplementedMsgServer) SetBucketFlowRateLimit added in v1.6.0

func (*UnimplementedMsgServer) SetTag added in v1.2.0

func (*UnimplementedMsgServer) ToggleSPAsDelegatedAgent added in v1.6.0

func (*UnimplementedMsgServer) UpdateBucketInfo added in v0.0.6

func (*UnimplementedMsgServer) UpdateGroupExtra added in v0.2.2

func (*UnimplementedMsgServer) UpdateGroupMember

func (*UnimplementedMsgServer) UpdateObjectContent added in v1.5.0

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) HeadBucketExtra added in v0.2.3

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) HeadShadowObject added in v1.5.0

func (*UnimplementedQueryServer) ListBuckets added in v0.0.6

func (*UnimplementedQueryServer) ListGroups added in v0.2.4

func (*UnimplementedQueryServer) ListObjects added in v0.0.6

func (*UnimplementedQueryServer) ListObjectsByBucketId added in v0.0.7

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) QueryGroupMembersExist added in v0.2.4

func (*UnimplementedQueryServer) QueryGroupsExist added in v0.2.4

func (*UnimplementedQueryServer) QueryGroupsExistById added in v0.2.4

func (*UnimplementedQueryServer) QueryIsPriceChanged added in v0.2.3

func (*UnimplementedQueryServer) QueryLockFee added in v0.2.3

func (*UnimplementedQueryServer) QueryParamsByTimestamp added in v0.2.2

func (*UnimplementedQueryServer) QueryPaymentAccountBucketFlowRateLimit added in v1.6.0

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) QueryQuotaUpdateTime added in v0.2.5

func (*UnimplementedQueryServer) VerifyPermission added in v0.0.7

type UpdateBucketOptions added in v0.2.4

type UpdateBucketOptions struct {
	Visibility       VisibilityType
	SourceType       SourceType
	PaymentAddress   string
	ChargedReadQuota *uint64
}

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 UpdateGroupMemberAckPackageStruct added in v0.2.3

type UpdateGroupMemberAckPackageStruct struct {
	Status        uint8
	Id            *big.Int
	Operator      common.Address
	OperationType uint8
	Members       []common.Address
	ExtraData     []byte
}

type UpdateGroupMemberOptions added in v0.2.4

type UpdateGroupMemberOptions struct {
	SourceType             SourceType
	MembersToAdd           []string
	MembersExpirationToAdd []*time.Time
	MembersToDelete        []string
}

type UpdateGroupMemberSynPackage added in v0.0.9

type UpdateGroupMemberSynPackage struct {
	Operator         sdk.AccAddress
	GroupId          *big.Int
	OperationType    uint8
	Members          []sdk.AccAddress
	ExtraData        []byte
	MemberExpiration []uint64
}

func (UpdateGroupMemberSynPackage) GetMemberExpiration added in v0.2.4

func (p UpdateGroupMemberSynPackage) GetMemberExpiration() []*time.Time

func (UpdateGroupMemberSynPackage) GetMembers added in v0.0.9

func (p UpdateGroupMemberSynPackage) GetMembers() []string

func (UpdateGroupMemberSynPackage) MustSerialize added in v0.2.4

func (p UpdateGroupMemberSynPackage) MustSerialize() []byte

func (UpdateGroupMemberSynPackage) ValidateBasic added in v0.0.9

func (p UpdateGroupMemberSynPackage) ValidateBasic() error

type UpdateGroupMemberSynPackageStruct added in v0.2.3

type UpdateGroupMemberSynPackageStruct struct {
	Operator         common.Address
	GroupId          *big.Int
	OperationType    uint8
	Members          []common.Address
	ExtraData        []byte
	MemberExpiration []uint64
}

type UpdateObjectOptions added in v1.5.0

type UpdateObjectOptions struct {
	ContentType string
	Checksums   [][]byte
	Delegated   bool
	Updater     sdk.AccAddress
}

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 VirtualGroupKeeper added in v0.2.3

type VirtualGroupKeeper interface {
	SetGVGAndEmitUpdateEvent(ctx sdk.Context, gvg *types.GlobalVirtualGroup) error
	GetGVGFamily(ctx sdk.Context, familyID uint32) (*types.GlobalVirtualGroupFamily, bool)
	GetGVG(ctx sdk.Context, gvgID uint32) (*types.GlobalVirtualGroup, bool)
	SettleAndDistributeGVGFamily(ctx sdk.Context, sp *sptypes.StorageProvider, family *types.GlobalVirtualGroupFamily) error
	SettleAndDistributeGVG(ctx sdk.Context, gvg *types.GlobalVirtualGroup) error
	GetAndCheckGVGFamilyAvailableForNewBucket(ctx sdk.Context, familyID uint32) (*types.GlobalVirtualGroupFamily, error)
	GetGlobalVirtualGroupIfAvailable(ctx sdk.Context, gvgID uint32, expectedStoreSize uint64) (*types.GlobalVirtualGroup, error)
	GetSwapInInfo(ctx sdk.Context, familyID, gvgID uint32) (*types.SwapInInfo, bool)
}

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