Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type ActionPermission
- func (*ActionPermission) Descriptor() ([]byte, []int)deprecated
- func (x *ActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (x *ActionPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (*ActionPermission) ProtoMessage()
- func (x *ActionPermission) ProtoReflect() protoreflect.Message
- func (x *ActionPermission) Reset()
- func (x *ActionPermission) String() string
- type AddressList
- func (*AddressList) Descriptor() ([]byte, []int)deprecated
- func (x *AddressList) GetAddresses() []string
- func (x *AddressList) GetCreatedBy() string
- func (x *AddressList) GetCustomData() string
- func (x *AddressList) GetListId() string
- func (x *AddressList) GetUri() string
- func (x *AddressList) GetWhitelist() bool
- func (*AddressList) ProtoMessage()
- func (x *AddressList) ProtoReflect() protoreflect.Message
- func (x *AddressList) Reset()
- func (x *AddressList) String() string
- type ApprovalAmounts
- func (*ApprovalAmounts) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalAmounts) GetAmountTrackerId() string
- func (x *ApprovalAmounts) GetOverallApprovalAmount() string
- func (x *ApprovalAmounts) GetPerFromAddressApprovalAmount() string
- func (x *ApprovalAmounts) GetPerInitiatedByAddressApprovalAmount() string
- func (x *ApprovalAmounts) GetPerToAddressApprovalAmount() string
- func (*ApprovalAmounts) ProtoMessage()
- func (x *ApprovalAmounts) ProtoReflect() protoreflect.Message
- func (x *ApprovalAmounts) Reset()
- func (x *ApprovalAmounts) String() string
- type ApprovalCriteria
- func (*ApprovalCriteria) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
- func (x *ApprovalCriteria) GetCoinTransfers() []*CoinTransfer
- func (x *ApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
- func (x *ApprovalCriteria) GetMerkleChallenges() []*MerkleChallenge
- func (x *ApprovalCriteria) GetOverridesFromOutgoingApprovals() bool
- func (x *ApprovalCriteria) GetOverridesToIncomingApprovals() bool
- func (x *ApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
- func (x *ApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
- func (x *ApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
- func (x *ApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
- func (x *ApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
- func (*ApprovalCriteria) ProtoMessage()
- func (x *ApprovalCriteria) ProtoReflect() protoreflect.Message
- func (x *ApprovalCriteria) Reset()
- func (x *ApprovalCriteria) String() string
- type ApprovalIdentifierDetails
- func (*ApprovalIdentifierDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalIdentifierDetails) GetApprovalId() string
- func (x *ApprovalIdentifierDetails) GetApprovalLevel() string
- func (x *ApprovalIdentifierDetails) GetApproverAddress() string
- func (*ApprovalIdentifierDetails) ProtoMessage()
- func (x *ApprovalIdentifierDetails) ProtoReflect() protoreflect.Message
- func (x *ApprovalIdentifierDetails) Reset()
- func (x *ApprovalIdentifierDetails) String() string
- type ApprovalTracker
- func (*ApprovalTracker) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalTracker) GetAmounts() []*Balance
- func (x *ApprovalTracker) GetNumTransfers() string
- func (*ApprovalTracker) ProtoMessage()
- func (x *ApprovalTracker) ProtoReflect() protoreflect.Message
- func (x *ApprovalTracker) Reset()
- func (x *ApprovalTracker) String() string
- type BadgeCollection
- func (*BadgeCollection) Descriptor() ([]byte, []int)deprecated
- func (x *BadgeCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (x *BadgeCollection) GetBalancesType() string
- func (x *BadgeCollection) GetCollectionApprovals() []*CollectionApproval
- func (x *BadgeCollection) GetCollectionId() string
- func (x *BadgeCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (x *BadgeCollection) GetCollectionPermissions() *CollectionPermissions
- func (x *BadgeCollection) GetCreatedBy() string
- func (x *BadgeCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (x *BadgeCollection) GetDefaultBalances() *UserBalanceStore
- func (x *BadgeCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (x *BadgeCollection) GetManagerTimeline() []*ManagerTimeline
- func (x *BadgeCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (x *BadgeCollection) GetStandardsTimeline() []*StandardsTimeline
- func (x *BadgeCollection) GetValidBadgeIds() []*UintRange
- func (*BadgeCollection) ProtoMessage()
- func (x *BadgeCollection) ProtoReflect() protoreflect.Message
- func (x *BadgeCollection) Reset()
- func (x *BadgeCollection) String() string
- type BadgeCustomMsgType
- func (*BadgeCustomMsgType) Descriptor() ([]byte, []int)deprecated
- func (x *BadgeCustomMsgType) GetCreateAddressListsMsg() *MsgCreateAddressLists
- func (x *BadgeCustomMsgType) GetCreateCollectionMsg() *MsgCreateCollection
- func (x *BadgeCustomMsgType) GetDeleteCollectionMsg() *MsgDeleteCollection
- func (x *BadgeCustomMsgType) GetTransferBadgesMsg() *MsgTransferBadges
- func (x *BadgeCustomMsgType) GetUniversalUpdateCollectionMsg() *MsgUniversalUpdateCollection
- func (x *BadgeCustomMsgType) GetUpdateCollectionMsg() *MsgUpdateCollection
- func (x *BadgeCustomMsgType) GetUpdateUserApprovalsMsg() *MsgUpdateUserApprovals
- func (*BadgeCustomMsgType) ProtoMessage()
- func (x *BadgeCustomMsgType) ProtoReflect() protoreflect.Message
- func (x *BadgeCustomMsgType) Reset()
- func (x *BadgeCustomMsgType) String() string
- type BadgeIdsActionPermission
- func (*BadgeIdsActionPermission) Descriptor() ([]byte, []int)deprecated
- func (x *BadgeIdsActionPermission) GetBadgeIds() []*UintRange
- func (x *BadgeIdsActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (x *BadgeIdsActionPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (*BadgeIdsActionPermission) ProtoMessage()
- func (x *BadgeIdsActionPermission) ProtoReflect() protoreflect.Message
- func (x *BadgeIdsActionPermission) Reset()
- func (x *BadgeIdsActionPermission) String() string
- type BadgeMetadata
- func (*BadgeMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BadgeMetadata) GetBadgeIds() []*UintRange
- func (x *BadgeMetadata) GetCustomData() string
- func (x *BadgeMetadata) GetUri() string
- func (*BadgeMetadata) ProtoMessage()
- func (x *BadgeMetadata) ProtoReflect() protoreflect.Message
- func (x *BadgeMetadata) Reset()
- func (x *BadgeMetadata) String() string
- type BadgeMetadataTimeline
- func (*BadgeMetadataTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *BadgeMetadataTimeline) GetBadgeMetadata() []*BadgeMetadata
- func (x *BadgeMetadataTimeline) GetTimelineTimes() []*UintRange
- func (*BadgeMetadataTimeline) ProtoMessage()
- func (x *BadgeMetadataTimeline) ProtoReflect() protoreflect.Message
- func (x *BadgeMetadataTimeline) Reset()
- func (x *BadgeMetadataTimeline) String() string
- type BadgesPacketData
- func (*BadgesPacketData) Descriptor() ([]byte, []int)deprecated
- func (x *BadgesPacketData) GetNoData() *NoData
- func (x *BadgesPacketData) GetPacket() isBadgesPacketData_Packet
- func (*BadgesPacketData) ProtoMessage()
- func (x *BadgesPacketData) ProtoReflect() protoreflect.Message
- func (x *BadgesPacketData) Reset()
- func (x *BadgesPacketData) String() string
- type BadgesPacketData_NoData
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)deprecated
- func (x *Balance) GetAmount() string
- func (x *Balance) GetBadgeIds() []*UintRange
- func (x *Balance) GetOwnershipTimes() []*UintRange
- func (*Balance) ProtoMessage()
- func (x *Balance) ProtoReflect() protoreflect.Message
- func (x *Balance) Reset()
- func (x *Balance) String() string
- type CoinTransfer
- func (*CoinTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *CoinTransfer) GetCoins() []*v1beta1.Coin
- func (x *CoinTransfer) GetTo() string
- func (*CoinTransfer) ProtoMessage()
- func (x *CoinTransfer) ProtoReflect() protoreflect.Message
- func (x *CoinTransfer) Reset()
- func (x *CoinTransfer) String() string
- type CollectionApproval
- func (*CollectionApproval) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionApproval) GetApprovalCriteria() *ApprovalCriteria
- func (x *CollectionApproval) GetApprovalId() string
- func (x *CollectionApproval) GetBadgeIds() []*UintRange
- func (x *CollectionApproval) GetCustomData() string
- func (x *CollectionApproval) GetFromListId() string
- func (x *CollectionApproval) GetInitiatedByListId() string
- func (x *CollectionApproval) GetOwnershipTimes() []*UintRange
- func (x *CollectionApproval) GetToListId() string
- func (x *CollectionApproval) GetTransferTimes() []*UintRange
- func (x *CollectionApproval) GetUri() string
- func (*CollectionApproval) ProtoMessage()
- func (x *CollectionApproval) ProtoReflect() protoreflect.Message
- func (x *CollectionApproval) Reset()
- func (x *CollectionApproval) String() string
- type CollectionApprovalPermission
- func (*CollectionApprovalPermission) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionApprovalPermission) GetApprovalId() string
- func (x *CollectionApprovalPermission) GetBadgeIds() []*UintRange
- func (x *CollectionApprovalPermission) GetFromListId() string
- func (x *CollectionApprovalPermission) GetInitiatedByListId() string
- func (x *CollectionApprovalPermission) GetOwnershipTimes() []*UintRange
- func (x *CollectionApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (x *CollectionApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (x *CollectionApprovalPermission) GetToListId() string
- func (x *CollectionApprovalPermission) GetTransferTimes() []*UintRange
- func (*CollectionApprovalPermission) ProtoMessage()
- func (x *CollectionApprovalPermission) ProtoReflect() protoreflect.Message
- func (x *CollectionApprovalPermission) Reset()
- func (x *CollectionApprovalPermission) String() string
- type CollectionApprovalTimeline
- func (*CollectionApprovalTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionApprovalTimeline) GetCollectionApprovals() []*CollectionApproval
- func (x *CollectionApprovalTimeline) GetTimelineTimes() []*UintRange
- func (*CollectionApprovalTimeline) ProtoMessage()
- func (x *CollectionApprovalTimeline) ProtoReflect() protoreflect.Message
- func (x *CollectionApprovalTimeline) Reset()
- func (x *CollectionApprovalTimeline) String() string
- type CollectionMetadata
- func (*CollectionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionMetadata) GetCustomData() string
- func (x *CollectionMetadata) GetUri() string
- func (*CollectionMetadata) ProtoMessage()
- func (x *CollectionMetadata) ProtoReflect() protoreflect.Message
- func (x *CollectionMetadata) Reset()
- func (x *CollectionMetadata) String() string
- type CollectionMetadataTimeline
- func (*CollectionMetadataTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionMetadataTimeline) GetCollectionMetadata() *CollectionMetadata
- func (x *CollectionMetadataTimeline) GetTimelineTimes() []*UintRange
- func (*CollectionMetadataTimeline) ProtoMessage()
- func (x *CollectionMetadataTimeline) ProtoReflect() protoreflect.Message
- func (x *CollectionMetadataTimeline) Reset()
- func (x *CollectionMetadataTimeline) String() string
- type CollectionPermissions
- func (*CollectionPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionPermissions) GetCanArchiveCollection() []*TimedUpdatePermission
- func (x *CollectionPermissions) GetCanDeleteCollection() []*ActionPermission
- func (x *CollectionPermissions) GetCanUpdateBadgeMetadata() []*TimedUpdateWithBadgeIdsPermission
- func (x *CollectionPermissions) GetCanUpdateCollectionApprovals() []*CollectionApprovalPermission
- func (x *CollectionPermissions) GetCanUpdateCollectionMetadata() []*TimedUpdatePermission
- func (x *CollectionPermissions) GetCanUpdateCustomData() []*TimedUpdatePermission
- func (x *CollectionPermissions) GetCanUpdateManager() []*TimedUpdatePermission
- func (x *CollectionPermissions) GetCanUpdateOffChainBalancesMetadata() []*TimedUpdatePermission
- func (x *CollectionPermissions) GetCanUpdateStandards() []*TimedUpdatePermission
- func (x *CollectionPermissions) GetCanUpdateValidBadgeIds() []*BadgeIdsActionPermission
- func (*CollectionPermissions) ProtoMessage()
- func (x *CollectionPermissions) ProtoReflect() protoreflect.Message
- func (x *CollectionPermissions) Reset()
- func (x *CollectionPermissions) String() string
- type ContractAddressTimeline
- func (*ContractAddressTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *ContractAddressTimeline) GetContractAddress() string
- func (x *ContractAddressTimeline) GetTimelineTimes() []*UintRange
- func (*ContractAddressTimeline) ProtoMessage()
- func (x *ContractAddressTimeline) ProtoReflect() protoreflect.Message
- func (x *ContractAddressTimeline) Reset()
- func (x *ContractAddressTimeline) String() string
- type CustomDataTimeline
- func (*CustomDataTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *CustomDataTimeline) GetCustomData() string
- func (x *CustomDataTimeline) GetTimelineTimes() []*UintRange
- func (*CustomDataTimeline) ProtoMessage()
- func (x *CustomDataTimeline) ProtoReflect() protoreflect.Message
- func (x *CustomDataTimeline) Reset()
- func (x *CustomDataTimeline) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetAddressLists() []*AddressList
- func (x *GenesisState) GetApprovalTrackerStoreKeys() []string
- func (x *GenesisState) GetApprovalTrackers() []*ApprovalTracker
- func (x *GenesisState) GetBalanceStoreKeys() []string
- func (x *GenesisState) GetBalances() []*UserBalanceStore
- func (x *GenesisState) GetChallengeTrackerStoreKeys() []string
- func (x *GenesisState) GetChallengeTrackers() []string
- func (x *GenesisState) GetCollections() []*BadgeCollection
- func (x *GenesisState) GetNextCollectionId() string
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetPortId() string
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type IncomingApprovalCriteria
- func (*IncomingApprovalCriteria) Descriptor() ([]byte, []int)deprecated
- func (x *IncomingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
- func (x *IncomingApprovalCriteria) GetCoinTransfers() []*CoinTransfer
- func (x *IncomingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
- func (x *IncomingApprovalCriteria) GetMerkleChallenges() []*MerkleChallenge
- func (x *IncomingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
- func (x *IncomingApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
- func (x *IncomingApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
- func (*IncomingApprovalCriteria) ProtoMessage()
- func (x *IncomingApprovalCriteria) ProtoReflect() protoreflect.Message
- func (x *IncomingApprovalCriteria) Reset()
- func (x *IncomingApprovalCriteria) String() string
- type IncrementedBalances
- func (*IncrementedBalances) Descriptor() ([]byte, []int)deprecated
- func (x *IncrementedBalances) GetIncrementBadgeIdsBy() string
- func (x *IncrementedBalances) GetIncrementOwnershipTimesBy() string
- func (x *IncrementedBalances) GetStartBalances() []*Balance
- func (*IncrementedBalances) ProtoMessage()
- func (x *IncrementedBalances) ProtoReflect() protoreflect.Message
- func (x *IncrementedBalances) Reset()
- func (x *IncrementedBalances) String() string
- type IsArchivedTimeline
- func (*IsArchivedTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *IsArchivedTimeline) GetIsArchived() bool
- func (x *IsArchivedTimeline) GetTimelineTimes() []*UintRange
- func (*IsArchivedTimeline) ProtoMessage()
- func (x *IsArchivedTimeline) ProtoReflect() protoreflect.Message
- func (x *IsArchivedTimeline) Reset()
- func (x *IsArchivedTimeline) String() string
- type ManagerTimeline
- func (*ManagerTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *ManagerTimeline) GetManager() string
- func (x *ManagerTimeline) GetTimelineTimes() []*UintRange
- func (*ManagerTimeline) ProtoMessage()
- func (x *ManagerTimeline) ProtoReflect() protoreflect.Message
- func (x *ManagerTimeline) Reset()
- func (x *ManagerTimeline) String() string
- type ManualBalances
- type MaxNumTransfers
- func (*MaxNumTransfers) Descriptor() ([]byte, []int)deprecated
- func (x *MaxNumTransfers) GetAmountTrackerId() string
- func (x *MaxNumTransfers) GetOverallMaxNumTransfers() string
- func (x *MaxNumTransfers) GetPerFromAddressMaxNumTransfers() string
- func (x *MaxNumTransfers) GetPerInitiatedByAddressMaxNumTransfers() string
- func (x *MaxNumTransfers) GetPerToAddressMaxNumTransfers() string
- func (*MaxNumTransfers) ProtoMessage()
- func (x *MaxNumTransfers) ProtoReflect() protoreflect.Message
- func (x *MaxNumTransfers) Reset()
- func (x *MaxNumTransfers) String() string
- type MerkleChallenge
- func (*MerkleChallenge) Descriptor() ([]byte, []int)deprecated
- func (x *MerkleChallenge) GetChallengeTrackerId() string
- func (x *MerkleChallenge) GetCustomData() string
- func (x *MerkleChallenge) GetExpectedProofLength() string
- func (x *MerkleChallenge) GetMaxUsesPerLeaf() string
- func (x *MerkleChallenge) GetRoot() string
- func (x *MerkleChallenge) GetUri() string
- func (x *MerkleChallenge) GetUseCreatorAddressAsLeaf() bool
- func (*MerkleChallenge) ProtoMessage()
- func (x *MerkleChallenge) ProtoReflect() protoreflect.Message
- func (x *MerkleChallenge) Reset()
- func (x *MerkleChallenge) String() string
- type MerklePathItem
- func (*MerklePathItem) Descriptor() ([]byte, []int)deprecated
- func (x *MerklePathItem) GetAunt() string
- func (x *MerklePathItem) GetOnRight() bool
- func (*MerklePathItem) ProtoMessage()
- func (x *MerklePathItem) ProtoReflect() protoreflect.Message
- func (x *MerklePathItem) Reset()
- func (x *MerklePathItem) String() string
- type MerkleProof
- func (*MerkleProof) Descriptor() ([]byte, []int)deprecated
- func (x *MerkleProof) GetAunts() []*MerklePathItem
- func (x *MerkleProof) GetLeaf() string
- func (*MerkleProof) ProtoMessage()
- func (x *MerkleProof) ProtoReflect() protoreflect.Message
- func (x *MerkleProof) Reset()
- func (x *MerkleProof) String() string
- type MsgArchiveCollection
- func (*MsgArchiveCollection) Descriptor() ([]byte, []int)deprecated
- func (x *MsgArchiveCollection) GetCollectionId() string
- func (x *MsgArchiveCollection) GetCreator() string
- func (x *MsgArchiveCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (*MsgArchiveCollection) ProtoMessage()
- func (x *MsgArchiveCollection) ProtoReflect() protoreflect.Message
- func (x *MsgArchiveCollection) Reset()
- func (x *MsgArchiveCollection) String() string
- type MsgArchiveCollectionResponse
- func (*MsgArchiveCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgArchiveCollectionResponse) ProtoMessage()
- func (x *MsgArchiveCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgArchiveCollectionResponse) Reset()
- func (x *MsgArchiveCollectionResponse) String() string
- type MsgClient
- type MsgCreateAddressLists
- func (*MsgCreateAddressLists) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateAddressLists) GetAddressLists() []*AddressList
- func (x *MsgCreateAddressLists) GetCreator() string
- func (*MsgCreateAddressLists) ProtoMessage()
- func (x *MsgCreateAddressLists) ProtoReflect() protoreflect.Message
- func (x *MsgCreateAddressLists) Reset()
- func (x *MsgCreateAddressLists) String() string
- type MsgCreateAddressListsResponse
- func (*MsgCreateAddressListsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgCreateAddressListsResponse) ProtoMessage()
- func (x *MsgCreateAddressListsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateAddressListsResponse) Reset()
- func (x *MsgCreateAddressListsResponse) String() string
- type MsgCreateCollection
- func (*MsgCreateCollection) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateCollection) GetBadgeIdsToAdd() []*UintRange
- func (x *MsgCreateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (x *MsgCreateCollection) GetBalancesType() string
- func (x *MsgCreateCollection) GetCollectionApprovals() []*CollectionApproval
- func (x *MsgCreateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (x *MsgCreateCollection) GetCollectionPermissions() *CollectionPermissions
- func (x *MsgCreateCollection) GetCreator() string
- func (x *MsgCreateCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (x *MsgCreateCollection) GetDefaultBalances() *UserBalanceStore
- func (x *MsgCreateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (x *MsgCreateCollection) GetManagerTimeline() []*ManagerTimeline
- func (x *MsgCreateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (x *MsgCreateCollection) GetStandardsTimeline() []*StandardsTimeline
- func (*MsgCreateCollection) ProtoMessage()
- func (x *MsgCreateCollection) ProtoReflect() protoreflect.Message
- func (x *MsgCreateCollection) Reset()
- func (x *MsgCreateCollection) String() string
- type MsgCreateCollectionResponse
- func (*MsgCreateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateCollectionResponse) GetCollectionId() string
- func (*MsgCreateCollectionResponse) ProtoMessage()
- func (x *MsgCreateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateCollectionResponse) Reset()
- func (x *MsgCreateCollectionResponse) String() string
- type MsgDeleteCollection
- func (*MsgDeleteCollection) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDeleteCollection) GetCollectionId() string
- func (x *MsgDeleteCollection) GetCreator() string
- func (*MsgDeleteCollection) ProtoMessage()
- func (x *MsgDeleteCollection) ProtoReflect() protoreflect.Message
- func (x *MsgDeleteCollection) Reset()
- func (x *MsgDeleteCollection) String() string
- type MsgDeleteCollectionResponse
- type MsgMintAndDistributeBadges
- func (*MsgMintAndDistributeBadges) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMintAndDistributeBadges) GetAddressLists() []*AddressList
- func (x *MsgMintAndDistributeBadges) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (x *MsgMintAndDistributeBadges) GetBadgesToCreate() []*Balance
- func (x *MsgMintAndDistributeBadges) GetCollectionApprovals() []*CollectionApproval
- func (x *MsgMintAndDistributeBadges) GetCollectionId() string
- func (x *MsgMintAndDistributeBadges) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (x *MsgMintAndDistributeBadges) GetCreator() string
- func (x *MsgMintAndDistributeBadges) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (x *MsgMintAndDistributeBadges) GetTransfers() []*Transfer
- func (*MsgMintAndDistributeBadges) ProtoMessage()
- func (x *MsgMintAndDistributeBadges) ProtoReflect() protoreflect.Message
- func (x *MsgMintAndDistributeBadges) Reset()
- func (x *MsgMintAndDistributeBadges) String() string
- type MsgMintAndDistributeBadgesResponse
- func (*MsgMintAndDistributeBadgesResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgMintAndDistributeBadgesResponse) ProtoMessage()
- func (x *MsgMintAndDistributeBadgesResponse) ProtoReflect() protoreflect.Message
- func (x *MsgMintAndDistributeBadgesResponse) Reset()
- func (x *MsgMintAndDistributeBadgesResponse) String() string
- type MsgNewCollection
- func (*MsgNewCollection) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNewCollection) GetAddressLists() []*AddressList
- func (x *MsgNewCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (x *MsgNewCollection) GetBadgesToCreate() []*Balance
- func (x *MsgNewCollection) GetBalancesType() string
- func (x *MsgNewCollection) GetCollectionApprovals() []*CollectionApproval
- func (x *MsgNewCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (x *MsgNewCollection) GetContractAddressTimeline() []*ContractAddressTimeline
- func (x *MsgNewCollection) GetCreator() string
- func (x *MsgNewCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (x *MsgNewCollection) GetDefaultBalances() []*Balance
- func (x *MsgNewCollection) GetDefaultDisapproveSelfInitiated() bool
- func (x *MsgNewCollection) GetDefaultIncomingApprovals() []*UserIncomingApproval
- func (x *MsgNewCollection) GetDefaultOutgoingApprovals() []*UserOutgoingApproval
- func (x *MsgNewCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (x *MsgNewCollection) GetPermissions() *CollectionPermissions
- func (x *MsgNewCollection) GetStandardsTimeline() []*StandardsTimeline
- func (x *MsgNewCollection) GetTransfers() []*Transfer
- func (*MsgNewCollection) ProtoMessage()
- func (x *MsgNewCollection) ProtoReflect() protoreflect.Message
- func (x *MsgNewCollection) Reset()
- func (x *MsgNewCollection) String() string
- type MsgNewCollectionResponse
- func (*MsgNewCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgNewCollectionResponse) GetCollectionId() string
- func (*MsgNewCollectionResponse) ProtoMessage()
- func (x *MsgNewCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgNewCollectionResponse) Reset()
- func (x *MsgNewCollectionResponse) String() string
- type MsgServer
- type MsgTransferBadges
- func (*MsgTransferBadges) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTransferBadges) GetCollectionId() string
- func (x *MsgTransferBadges) GetCreator() string
- func (x *MsgTransferBadges) GetTransfers() []*Transfer
- func (*MsgTransferBadges) ProtoMessage()
- func (x *MsgTransferBadges) ProtoReflect() protoreflect.Message
- func (x *MsgTransferBadges) Reset()
- func (x *MsgTransferBadges) String() string
- type MsgTransferBadgesResponse
- type MsgUniversalUpdateCollection
- func (*MsgUniversalUpdateCollection) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUniversalUpdateCollection) GetBadgeIdsToAdd() []*UintRange
- func (x *MsgUniversalUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (x *MsgUniversalUpdateCollection) GetBalancesType() string
- func (x *MsgUniversalUpdateCollection) GetCollectionApprovals() []*CollectionApproval
- func (x *MsgUniversalUpdateCollection) GetCollectionId() string
- func (x *MsgUniversalUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (x *MsgUniversalUpdateCollection) GetCollectionPermissions() *CollectionPermissions
- func (x *MsgUniversalUpdateCollection) GetCreator() string
- func (x *MsgUniversalUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (x *MsgUniversalUpdateCollection) GetDefaultBalances() *UserBalanceStore
- func (x *MsgUniversalUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (x *MsgUniversalUpdateCollection) GetManagerTimeline() []*ManagerTimeline
- func (x *MsgUniversalUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (x *MsgUniversalUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
- func (x *MsgUniversalUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateCollectionApprovals() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateCollectionPermissions() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateCustomDataTimeline() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateIsArchivedTimeline() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateManagerTimeline() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
- func (x *MsgUniversalUpdateCollection) GetUpdateStandardsTimeline() bool
- func (*MsgUniversalUpdateCollection) ProtoMessage()
- func (x *MsgUniversalUpdateCollection) ProtoReflect() protoreflect.Message
- func (x *MsgUniversalUpdateCollection) Reset()
- func (x *MsgUniversalUpdateCollection) String() string
- type MsgUniversalUpdateCollectionApprovals
- func (*MsgUniversalUpdateCollectionApprovals) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUniversalUpdateCollectionApprovals) GetAddressLists() []*AddressList
- func (x *MsgUniversalUpdateCollectionApprovals) GetCollectionApprovals() []*CollectionApproval
- func (x *MsgUniversalUpdateCollectionApprovals) GetCollectionId() string
- func (x *MsgUniversalUpdateCollectionApprovals) GetCreator() string
- func (*MsgUniversalUpdateCollectionApprovals) ProtoMessage()
- func (x *MsgUniversalUpdateCollectionApprovals) ProtoReflect() protoreflect.Message
- func (x *MsgUniversalUpdateCollectionApprovals) Reset()
- func (x *MsgUniversalUpdateCollectionApprovals) String() string
- type MsgUniversalUpdateCollectionApprovalsResponse
- func (*MsgUniversalUpdateCollectionApprovalsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUniversalUpdateCollectionApprovalsResponse) ProtoMessage()
- func (x *MsgUniversalUpdateCollectionApprovalsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUniversalUpdateCollectionApprovalsResponse) Reset()
- func (x *MsgUniversalUpdateCollectionApprovalsResponse) String() string
- type MsgUniversalUpdateCollectionPermissions
- func (*MsgUniversalUpdateCollectionPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUniversalUpdateCollectionPermissions) GetAddressLists() []*AddressList
- func (x *MsgUniversalUpdateCollectionPermissions) GetCollectionId() string
- func (x *MsgUniversalUpdateCollectionPermissions) GetCreator() string
- func (x *MsgUniversalUpdateCollectionPermissions) GetPermissions() *CollectionPermissions
- func (*MsgUniversalUpdateCollectionPermissions) ProtoMessage()
- func (x *MsgUniversalUpdateCollectionPermissions) ProtoReflect() protoreflect.Message
- func (x *MsgUniversalUpdateCollectionPermissions) Reset()
- func (x *MsgUniversalUpdateCollectionPermissions) String() string
- type MsgUniversalUpdateCollectionPermissionsResponse
- func (*MsgUniversalUpdateCollectionPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUniversalUpdateCollectionPermissionsResponse) ProtoMessage()
- func (x *MsgUniversalUpdateCollectionPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUniversalUpdateCollectionPermissionsResponse) Reset()
- func (x *MsgUniversalUpdateCollectionPermissionsResponse) String() string
- type MsgUniversalUpdateCollectionResponse
- func (*MsgUniversalUpdateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUniversalUpdateCollectionResponse) GetCollectionId() string
- func (*MsgUniversalUpdateCollectionResponse) ProtoMessage()
- func (x *MsgUniversalUpdateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUniversalUpdateCollectionResponse) Reset()
- func (x *MsgUniversalUpdateCollectionResponse) String() string
- type MsgUpdateCollection
- func (*MsgUpdateCollection) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateCollection) GetBadgeIdsToAdd() []*UintRange
- func (x *MsgUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (x *MsgUpdateCollection) GetCollectionApprovals() []*CollectionApproval
- func (x *MsgUpdateCollection) GetCollectionId() string
- func (x *MsgUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (x *MsgUpdateCollection) GetCollectionPermissions() *CollectionPermissions
- func (x *MsgUpdateCollection) GetCreator() string
- func (x *MsgUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (x *MsgUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (x *MsgUpdateCollection) GetManagerTimeline() []*ManagerTimeline
- func (x *MsgUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (x *MsgUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
- func (x *MsgUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
- func (x *MsgUpdateCollection) GetUpdateCollectionApprovals() bool
- func (x *MsgUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
- func (x *MsgUpdateCollection) GetUpdateCollectionPermissions() bool
- func (x *MsgUpdateCollection) GetUpdateCustomDataTimeline() bool
- func (x *MsgUpdateCollection) GetUpdateIsArchivedTimeline() bool
- func (x *MsgUpdateCollection) GetUpdateManagerTimeline() bool
- func (x *MsgUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
- func (x *MsgUpdateCollection) GetUpdateStandardsTimeline() bool
- func (*MsgUpdateCollection) ProtoMessage()
- func (x *MsgUpdateCollection) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateCollection) Reset()
- func (x *MsgUpdateCollection) String() string
- type MsgUpdateCollectionResponse
- func (*MsgUpdateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateCollectionResponse) GetCollectionId() string
- func (*MsgUpdateCollectionResponse) ProtoMessage()
- func (x *MsgUpdateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateCollectionResponse) Reset()
- func (x *MsgUpdateCollectionResponse) String() string
- type MsgUpdateManager
- func (*MsgUpdateManager) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateManager) GetCollectionId() string
- func (x *MsgUpdateManager) GetCreator() string
- func (x *MsgUpdateManager) GetManagerTimeline() []*ManagerTimeline
- func (*MsgUpdateManager) ProtoMessage()
- func (x *MsgUpdateManager) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateManager) Reset()
- func (x *MsgUpdateManager) String() string
- type MsgUpdateManagerResponse
- type MsgUpdateMetadata
- func (*MsgUpdateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateMetadata) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (x *MsgUpdateMetadata) GetCollectionId() string
- func (x *MsgUpdateMetadata) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (x *MsgUpdateMetadata) GetContractAddressTimeline() []*ContractAddressTimeline
- func (x *MsgUpdateMetadata) GetCreator() string
- func (x *MsgUpdateMetadata) GetCustomDataTimeline() []*CustomDataTimeline
- func (x *MsgUpdateMetadata) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (x *MsgUpdateMetadata) GetStandardsTimeline() []*StandardsTimeline
- func (*MsgUpdateMetadata) ProtoMessage()
- func (x *MsgUpdateMetadata) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateMetadata) Reset()
- func (x *MsgUpdateMetadata) String() string
- type MsgUpdateMetadataResponse
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgUpdateUserApprovals
- func (*MsgUpdateUserApprovals) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedIncomingTransfers() bool
- func (x *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
- func (x *MsgUpdateUserApprovals) GetCollectionId() string
- func (x *MsgUpdateUserApprovals) GetCreator() string
- func (x *MsgUpdateUserApprovals) GetIncomingApprovals() []*UserIncomingApproval
- func (x *MsgUpdateUserApprovals) GetOutgoingApprovals() []*UserOutgoingApproval
- func (x *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedIncomingTransfers() bool
- func (x *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedOutgoingTransfers() bool
- func (x *MsgUpdateUserApprovals) GetUpdateIncomingApprovals() bool
- func (x *MsgUpdateUserApprovals) GetUpdateOutgoingApprovals() bool
- func (x *MsgUpdateUserApprovals) GetUpdateUserPermissions() bool
- func (x *MsgUpdateUserApprovals) GetUserPermissions() *UserPermissions
- func (*MsgUpdateUserApprovals) ProtoMessage()
- func (x *MsgUpdateUserApprovals) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateUserApprovals) Reset()
- func (x *MsgUpdateUserApprovals) String() string
- type MsgUpdateUserApprovalsResponse
- func (*MsgUpdateUserApprovalsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateUserApprovalsResponse) ProtoMessage()
- func (x *MsgUpdateUserApprovalsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateUserApprovalsResponse) Reset()
- func (x *MsgUpdateUserApprovalsResponse) String() string
- type MsgUpdateUserPermissions
- func (*MsgUpdateUserPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateUserPermissions) GetAddressLists() []*AddressList
- func (x *MsgUpdateUserPermissions) GetCollectionId() string
- func (x *MsgUpdateUserPermissions) GetCreator() string
- func (x *MsgUpdateUserPermissions) GetPermissions() *UserPermissions
- func (*MsgUpdateUserPermissions) ProtoMessage()
- func (x *MsgUpdateUserPermissions) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateUserPermissions) Reset()
- func (x *MsgUpdateUserPermissions) String() string
- type MsgUpdateUserPermissionsResponse
- func (*MsgUpdateUserPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateUserPermissionsResponse) ProtoMessage()
- func (x *MsgUpdateUserPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateUserPermissionsResponse) Reset()
- func (x *MsgUpdateUserPermissionsResponse) String() string
- type NoData
- type OffChainBalancesMetadata
- func (*OffChainBalancesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OffChainBalancesMetadata) GetCustomData() string
- func (x *OffChainBalancesMetadata) GetUri() string
- func (*OffChainBalancesMetadata) ProtoMessage()
- func (x *OffChainBalancesMetadata) ProtoReflect() protoreflect.Message
- func (x *OffChainBalancesMetadata) Reset()
- func (x *OffChainBalancesMetadata) String() string
- type OffChainBalancesMetadataTimeline
- func (*OffChainBalancesMetadataTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *OffChainBalancesMetadataTimeline) GetOffChainBalancesMetadata() *OffChainBalancesMetadata
- func (x *OffChainBalancesMetadataTimeline) GetTimelineTimes() []*UintRange
- func (*OffChainBalancesMetadataTimeline) ProtoMessage()
- func (x *OffChainBalancesMetadataTimeline) ProtoReflect() protoreflect.Message
- func (x *OffChainBalancesMetadataTimeline) Reset()
- func (x *OffChainBalancesMetadataTimeline) String() string
- type OutgoingApprovalCriteria
- func (*OutgoingApprovalCriteria) Descriptor() ([]byte, []int)deprecated
- func (x *OutgoingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
- func (x *OutgoingApprovalCriteria) GetCoinTransfers() []*CoinTransfer
- func (x *OutgoingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
- func (x *OutgoingApprovalCriteria) GetMerkleChallenges() []*MerkleChallenge
- func (x *OutgoingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
- func (x *OutgoingApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
- func (x *OutgoingApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
- func (*OutgoingApprovalCriteria) ProtoMessage()
- func (x *OutgoingApprovalCriteria) ProtoReflect() protoreflect.Message
- func (x *OutgoingApprovalCriteria) Reset()
- func (x *OutgoingApprovalCriteria) String() string
- type Params
- type PredeterminedBalances
- func (*PredeterminedBalances) Descriptor() ([]byte, []int)deprecated
- func (x *PredeterminedBalances) GetIncrementedBalances() *IncrementedBalances
- func (x *PredeterminedBalances) GetManualBalances() []*ManualBalances
- func (x *PredeterminedBalances) GetOrderCalculationMethod() *PredeterminedOrderCalculationMethod
- func (*PredeterminedBalances) ProtoMessage()
- func (x *PredeterminedBalances) ProtoReflect() protoreflect.Message
- func (x *PredeterminedBalances) Reset()
- func (x *PredeterminedBalances) String() string
- type PredeterminedOrderCalculationMethod
- func (*PredeterminedOrderCalculationMethod) Descriptor() ([]byte, []int)deprecated
- func (x *PredeterminedOrderCalculationMethod) GetChallengeTrackerId() string
- func (x *PredeterminedOrderCalculationMethod) GetUseMerkleChallengeLeafIndex() bool
- func (x *PredeterminedOrderCalculationMethod) GetUseOverallNumTransfers() bool
- func (x *PredeterminedOrderCalculationMethod) GetUsePerFromAddressNumTransfers() bool
- func (x *PredeterminedOrderCalculationMethod) GetUsePerInitiatedByAddressNumTransfers() bool
- func (x *PredeterminedOrderCalculationMethod) GetUsePerToAddressNumTransfers() bool
- func (*PredeterminedOrderCalculationMethod) ProtoMessage()
- func (x *PredeterminedOrderCalculationMethod) ProtoReflect() protoreflect.Message
- func (x *PredeterminedOrderCalculationMethod) Reset()
- func (x *PredeterminedOrderCalculationMethod) String() string
- type QueryClient
- type QueryGetAddressListRequest
- func (*QueryGetAddressListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetAddressListRequest) GetListId() string
- func (*QueryGetAddressListRequest) ProtoMessage()
- func (x *QueryGetAddressListRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetAddressListRequest) Reset()
- func (x *QueryGetAddressListRequest) String() string
- type QueryGetAddressListResponse
- func (*QueryGetAddressListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetAddressListResponse) GetList() *AddressList
- func (*QueryGetAddressListResponse) ProtoMessage()
- func (x *QueryGetAddressListResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetAddressListResponse) Reset()
- func (x *QueryGetAddressListResponse) String() string
- type QueryGetApprovalTrackerRequest
- func (*QueryGetApprovalTrackerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetApprovalTrackerRequest) GetAmountTrackerId() string
- func (x *QueryGetApprovalTrackerRequest) GetApprovalId() string
- func (x *QueryGetApprovalTrackerRequest) GetApprovalLevel() string
- func (x *QueryGetApprovalTrackerRequest) GetApprovedAddress() string
- func (x *QueryGetApprovalTrackerRequest) GetApproverAddress() string
- func (x *QueryGetApprovalTrackerRequest) GetCollectionId() string
- func (x *QueryGetApprovalTrackerRequest) GetTrackerType() string
- func (*QueryGetApprovalTrackerRequest) ProtoMessage()
- func (x *QueryGetApprovalTrackerRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetApprovalTrackerRequest) Reset()
- func (x *QueryGetApprovalTrackerRequest) String() string
- type QueryGetApprovalTrackerResponse
- func (*QueryGetApprovalTrackerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetApprovalTrackerResponse) GetTracker() *ApprovalTracker
- func (*QueryGetApprovalTrackerResponse) ProtoMessage()
- func (x *QueryGetApprovalTrackerResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetApprovalTrackerResponse) Reset()
- func (x *QueryGetApprovalTrackerResponse) String() string
- type QueryGetBalanceRequest
- func (*QueryGetBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetBalanceRequest) GetAddress() string
- func (x *QueryGetBalanceRequest) GetCollectionId() string
- func (*QueryGetBalanceRequest) ProtoMessage()
- func (x *QueryGetBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetBalanceRequest) Reset()
- func (x *QueryGetBalanceRequest) String() string
- type QueryGetBalanceResponse
- func (*QueryGetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetBalanceResponse) GetBalance() *UserBalanceStore
- func (*QueryGetBalanceResponse) ProtoMessage()
- func (x *QueryGetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetBalanceResponse) Reset()
- func (x *QueryGetBalanceResponse) String() string
- type QueryGetChallengeTrackerRequest
- func (*QueryGetChallengeTrackerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetChallengeTrackerRequest) GetApprovalId() string
- func (x *QueryGetChallengeTrackerRequest) GetApprovalLevel() string
- func (x *QueryGetChallengeTrackerRequest) GetApproverAddress() string
- func (x *QueryGetChallengeTrackerRequest) GetChallengeTrackerId() string
- func (x *QueryGetChallengeTrackerRequest) GetCollectionId() string
- func (x *QueryGetChallengeTrackerRequest) GetLeafIndex() string
- func (*QueryGetChallengeTrackerRequest) ProtoMessage()
- func (x *QueryGetChallengeTrackerRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetChallengeTrackerRequest) Reset()
- func (x *QueryGetChallengeTrackerRequest) String() string
- type QueryGetChallengeTrackerResponse
- func (*QueryGetChallengeTrackerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetChallengeTrackerResponse) GetNumUsed() string
- func (*QueryGetChallengeTrackerResponse) ProtoMessage()
- func (x *QueryGetChallengeTrackerResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetChallengeTrackerResponse) Reset()
- func (x *QueryGetChallengeTrackerResponse) String() string
- type QueryGetCollectionRequest
- func (*QueryGetCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetCollectionRequest) GetCollectionId() string
- func (*QueryGetCollectionRequest) ProtoMessage()
- func (x *QueryGetCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetCollectionRequest) Reset()
- func (x *QueryGetCollectionRequest) String() string
- type QueryGetCollectionResponse
- func (*QueryGetCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetCollectionResponse) GetCollection() *BadgeCollection
- func (*QueryGetCollectionResponse) ProtoMessage()
- func (x *QueryGetCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetCollectionResponse) Reset()
- func (x *QueryGetCollectionResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type StandardsTimeline
- func (*StandardsTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *StandardsTimeline) GetStandards() []string
- func (x *StandardsTimeline) GetTimelineTimes() []*UintRange
- func (*StandardsTimeline) ProtoMessage()
- func (x *StandardsTimeline) ProtoReflect() protoreflect.Message
- func (x *StandardsTimeline) Reset()
- func (x *StandardsTimeline) String() string
- type TimedUpdatePermission
- func (*TimedUpdatePermission) Descriptor() ([]byte, []int)deprecated
- func (x *TimedUpdatePermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (x *TimedUpdatePermission) GetPermanentlyPermittedTimes() []*UintRange
- func (x *TimedUpdatePermission) GetTimelineTimes() []*UintRange
- func (*TimedUpdatePermission) ProtoMessage()
- func (x *TimedUpdatePermission) ProtoReflect() protoreflect.Message
- func (x *TimedUpdatePermission) Reset()
- func (x *TimedUpdatePermission) String() string
- type TimedUpdateWithBadgeIdsPermission
- func (*TimedUpdateWithBadgeIdsPermission) Descriptor() ([]byte, []int)deprecated
- func (x *TimedUpdateWithBadgeIdsPermission) GetBadgeIds() []*UintRange
- func (x *TimedUpdateWithBadgeIdsPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (x *TimedUpdateWithBadgeIdsPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (x *TimedUpdateWithBadgeIdsPermission) GetTimelineTimes() []*UintRange
- func (*TimedUpdateWithBadgeIdsPermission) ProtoMessage()
- func (x *TimedUpdateWithBadgeIdsPermission) ProtoReflect() protoreflect.Message
- func (x *TimedUpdateWithBadgeIdsPermission) Reset()
- func (x *TimedUpdateWithBadgeIdsPermission) String() string
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetBalances() []*Balance
- func (x *Transfer) GetFrom() string
- func (x *Transfer) GetMemo() string
- func (x *Transfer) GetMerkleProofs() []*MerkleProof
- func (x *Transfer) GetOnlyCheckPrioritizedCollectionApprovals() bool
- func (x *Transfer) GetOnlyCheckPrioritizedIncomingApprovals() bool
- func (x *Transfer) GetOnlyCheckPrioritizedOutgoingApprovals() bool
- func (x *Transfer) GetPrecalculateBalancesFromApproval() *ApprovalIdentifierDetails
- func (x *Transfer) GetPrioritizedApprovals() []*ApprovalIdentifierDetails
- func (x *Transfer) GetToAddresses() []string
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type UintRange
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CreateAddressLists(context.Context, *MsgCreateAddressLists) (*MsgCreateAddressListsResponse, error)
- func (UnimplementedMsgServer) CreateCollection(context.Context, *MsgCreateCollection) (*MsgCreateCollectionResponse, error)
- func (UnimplementedMsgServer) DeleteCollection(context.Context, *MsgDeleteCollection) (*MsgDeleteCollectionResponse, error)
- func (UnimplementedMsgServer) TransferBadges(context.Context, *MsgTransferBadges) (*MsgTransferBadgesResponse, error)
- func (UnimplementedMsgServer) UniversalUpdateCollection(context.Context, *MsgUniversalUpdateCollection) (*MsgUniversalUpdateCollectionResponse, error)
- func (UnimplementedMsgServer) UpdateCollection(context.Context, *MsgUpdateCollection) (*MsgUpdateCollectionResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) UpdateUserApprovals(context.Context, *MsgUpdateUserApprovals) (*MsgUpdateUserApprovalsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) GetAddressList(context.Context, *QueryGetAddressListRequest) (*QueryGetAddressListResponse, error)
- func (UnimplementedQueryServer) GetApprovalTracker(context.Context, *QueryGetApprovalTrackerRequest) (*QueryGetApprovalTrackerResponse, error)
- func (UnimplementedQueryServer) GetBalance(context.Context, *QueryGetBalanceRequest) (*QueryGetBalanceResponse, error)
- func (UnimplementedQueryServer) GetChallengeTracker(context.Context, *QueryGetChallengeTrackerRequest) (*QueryGetChallengeTrackerResponse, error)
- func (UnimplementedQueryServer) GetCollection(context.Context, *QueryGetCollectionRequest) (*QueryGetCollectionResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
- type UserBalanceStore
- func (*UserBalanceStore) Descriptor() ([]byte, []int)deprecated
- func (x *UserBalanceStore) GetAutoApproveSelfInitiatedIncomingTransfers() bool
- func (x *UserBalanceStore) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
- func (x *UserBalanceStore) GetBalances() []*Balance
- func (x *UserBalanceStore) GetIncomingApprovals() []*UserIncomingApproval
- func (x *UserBalanceStore) GetOutgoingApprovals() []*UserOutgoingApproval
- func (x *UserBalanceStore) GetUserPermissions() *UserPermissions
- func (*UserBalanceStore) ProtoMessage()
- func (x *UserBalanceStore) ProtoReflect() protoreflect.Message
- func (x *UserBalanceStore) Reset()
- func (x *UserBalanceStore) String() string
- type UserIncomingApproval
- func (*UserIncomingApproval) Descriptor() ([]byte, []int)deprecated
- func (x *UserIncomingApproval) GetApprovalCriteria() *IncomingApprovalCriteria
- func (x *UserIncomingApproval) GetApprovalId() string
- func (x *UserIncomingApproval) GetBadgeIds() []*UintRange
- func (x *UserIncomingApproval) GetCustomData() string
- func (x *UserIncomingApproval) GetFromListId() string
- func (x *UserIncomingApproval) GetInitiatedByListId() string
- func (x *UserIncomingApproval) GetOwnershipTimes() []*UintRange
- func (x *UserIncomingApproval) GetTransferTimes() []*UintRange
- func (x *UserIncomingApproval) GetUri() string
- func (*UserIncomingApproval) ProtoMessage()
- func (x *UserIncomingApproval) ProtoReflect() protoreflect.Message
- func (x *UserIncomingApproval) Reset()
- func (x *UserIncomingApproval) String() string
- type UserIncomingApprovalPermission
- func (*UserIncomingApprovalPermission) Descriptor() ([]byte, []int)deprecated
- func (x *UserIncomingApprovalPermission) GetApprovalId() string
- func (x *UserIncomingApprovalPermission) GetBadgeIds() []*UintRange
- func (x *UserIncomingApprovalPermission) GetFromListId() string
- func (x *UserIncomingApprovalPermission) GetInitiatedByListId() string
- func (x *UserIncomingApprovalPermission) GetOwnershipTimes() []*UintRange
- func (x *UserIncomingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (x *UserIncomingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (x *UserIncomingApprovalPermission) GetTransferTimes() []*UintRange
- func (*UserIncomingApprovalPermission) ProtoMessage()
- func (x *UserIncomingApprovalPermission) ProtoReflect() protoreflect.Message
- func (x *UserIncomingApprovalPermission) Reset()
- func (x *UserIncomingApprovalPermission) String() string
- type UserIncomingApprovalTimeline
- func (*UserIncomingApprovalTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *UserIncomingApprovalTimeline) GetIncomingApprovals() []*UserIncomingApproval
- func (x *UserIncomingApprovalTimeline) GetTimelineTimes() []*UintRange
- func (*UserIncomingApprovalTimeline) ProtoMessage()
- func (x *UserIncomingApprovalTimeline) ProtoReflect() protoreflect.Message
- func (x *UserIncomingApprovalTimeline) Reset()
- func (x *UserIncomingApprovalTimeline) String() string
- type UserOutgoingApproval
- func (*UserOutgoingApproval) Descriptor() ([]byte, []int)deprecated
- func (x *UserOutgoingApproval) GetApprovalCriteria() *OutgoingApprovalCriteria
- func (x *UserOutgoingApproval) GetApprovalId() string
- func (x *UserOutgoingApproval) GetBadgeIds() []*UintRange
- func (x *UserOutgoingApproval) GetCustomData() string
- func (x *UserOutgoingApproval) GetInitiatedByListId() string
- func (x *UserOutgoingApproval) GetOwnershipTimes() []*UintRange
- func (x *UserOutgoingApproval) GetToListId() string
- func (x *UserOutgoingApproval) GetTransferTimes() []*UintRange
- func (x *UserOutgoingApproval) GetUri() string
- func (*UserOutgoingApproval) ProtoMessage()
- func (x *UserOutgoingApproval) ProtoReflect() protoreflect.Message
- func (x *UserOutgoingApproval) Reset()
- func (x *UserOutgoingApproval) String() string
- type UserOutgoingApprovalPermission
- func (*UserOutgoingApprovalPermission) Descriptor() ([]byte, []int)deprecated
- func (x *UserOutgoingApprovalPermission) GetApprovalId() string
- func (x *UserOutgoingApprovalPermission) GetBadgeIds() []*UintRange
- func (x *UserOutgoingApprovalPermission) GetInitiatedByListId() string
- func (x *UserOutgoingApprovalPermission) GetOwnershipTimes() []*UintRange
- func (x *UserOutgoingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (x *UserOutgoingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (x *UserOutgoingApprovalPermission) GetToListId() string
- func (x *UserOutgoingApprovalPermission) GetTransferTimes() []*UintRange
- func (*UserOutgoingApprovalPermission) ProtoMessage()
- func (x *UserOutgoingApprovalPermission) ProtoReflect() protoreflect.Message
- func (x *UserOutgoingApprovalPermission) Reset()
- func (x *UserOutgoingApprovalPermission) String() string
- type UserOutgoingApprovalTimeline
- func (*UserOutgoingApprovalTimeline) Descriptor() ([]byte, []int)deprecated
- func (x *UserOutgoingApprovalTimeline) GetOutgoingApprovals() []*UserOutgoingApproval
- func (x *UserOutgoingApprovalTimeline) GetTimelineTimes() []*UintRange
- func (*UserOutgoingApprovalTimeline) ProtoMessage()
- func (x *UserOutgoingApprovalTimeline) ProtoReflect() protoreflect.Message
- func (x *UserOutgoingApprovalTimeline) Reset()
- func (x *UserOutgoingApprovalTimeline) String() string
- type UserPermissions
- func (*UserPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedIncomingTransfers() []*ActionPermission
- func (x *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedOutgoingTransfers() []*ActionPermission
- func (x *UserPermissions) GetCanUpdateIncomingApprovals() []*UserIncomingApprovalPermission
- func (x *UserPermissions) GetCanUpdateOutgoingApprovals() []*UserOutgoingApprovalPermission
- func (*UserPermissions) ProtoMessage()
- func (x *UserPermissions) ProtoReflect() protoreflect.Message
- func (x *UserPermissions) Reset()
- func (x *UserPermissions) String() string
Constants ¶
const ( Query_Params_FullMethodName = "/badges.Query/Params" Query_GetCollection_FullMethodName = "/badges.Query/GetCollection" Query_GetAddressList_FullMethodName = "/badges.Query/GetAddressList" Query_GetApprovalTracker_FullMethodName = "/badges.Query/GetApprovalTracker" Query_GetChallengeTracker_FullMethodName = "/badges.Query/GetChallengeTracker" Query_GetBalance_FullMethodName = "/badges.Query/GetBalance" )
const ( Msg_UpdateParams_FullMethodName = "/badges.Msg/UpdateParams" Msg_UniversalUpdateCollection_FullMethodName = "/badges.Msg/UniversalUpdateCollection" Msg_CreateAddressLists_FullMethodName = "/badges.Msg/CreateAddressLists" Msg_TransferBadges_FullMethodName = "/badges.Msg/TransferBadges" Msg_UpdateUserApprovals_FullMethodName = "/badges.Msg/UpdateUserApprovals" Msg_DeleteCollection_FullMethodName = "/badges.Msg/DeleteCollection" Msg_UpdateCollection_FullMethodName = "/badges.Msg/UpdateCollection" Msg_CreateCollection_FullMethodName = "/badges.Msg/CreateCollection" )
Variables ¶
var File_badges_address_lists_proto protoreflect.FileDescriptor
var File_badges_balances_proto protoreflect.FileDescriptor
var File_badges_collections_proto protoreflect.FileDescriptor
var File_badges_genesis_proto protoreflect.FileDescriptor
var File_badges_legacytx_proto protoreflect.FileDescriptor
var File_badges_metadata_proto protoreflect.FileDescriptor
var File_badges_packet_proto protoreflect.FileDescriptor
var File_badges_params_proto protoreflect.FileDescriptor
var File_badges_permissions_proto protoreflect.FileDescriptor
var File_badges_query_proto protoreflect.FileDescriptor
var File_badges_timelines_proto protoreflect.FileDescriptor
var File_badges_transfers_proto protoreflect.FileDescriptor
var File_badges_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "badges.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "UniversalUpdateCollection", Handler: _Msg_UniversalUpdateCollection_Handler, }, { MethodName: "CreateAddressLists", Handler: _Msg_CreateAddressLists_Handler, }, { MethodName: "TransferBadges", Handler: _Msg_TransferBadges_Handler, }, { MethodName: "UpdateUserApprovals", Handler: _Msg_UpdateUserApprovals_Handler, }, { MethodName: "DeleteCollection", Handler: _Msg_DeleteCollection_Handler, }, { MethodName: "UpdateCollection", Handler: _Msg_UpdateCollection_Handler, }, { MethodName: "CreateCollection", Handler: _Msg_CreateCollection_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "badges/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "badges.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "GetCollection", Handler: _Query_GetCollection_Handler, }, { MethodName: "GetAddressList", Handler: _Query_GetAddressList_Handler, }, { MethodName: "GetApprovalTracker", Handler: _Query_GetApprovalTracker_Handler, }, { MethodName: "GetChallengeTracker", Handler: _Query_GetChallengeTracker_Handler, }, { MethodName: "GetBalance", Handler: _Query_GetBalance_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "badges/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type ActionPermission ¶
type ActionPermission struct {
// Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.
PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,1,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"`
// Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.
PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,2,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"`
// contains filtered or unexported fields
}
ActionPermission defines the permissions for performing an action.
This is simple and straightforward as the only thing we need to check is the permitted/forbidden times.
func (*ActionPermission) Descriptor
deprecated
func (*ActionPermission) Descriptor() ([]byte, []int)
Deprecated: Use ActionPermission.ProtoReflect.Descriptor instead.
func (*ActionPermission) GetPermanentlyForbiddenTimes ¶
func (x *ActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*ActionPermission) GetPermanentlyPermittedTimes ¶
func (x *ActionPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*ActionPermission) ProtoMessage ¶
func (*ActionPermission) ProtoMessage()
func (*ActionPermission) ProtoReflect ¶
func (x *ActionPermission) ProtoReflect() protoreflect.Message
func (*ActionPermission) Reset ¶
func (x *ActionPermission) Reset()
func (*ActionPermission) String ¶
func (x *ActionPermission) String() string
type AddressList ¶
type AddressList struct {
// Unique identifier for the address list.
ListId string `protobuf:"bytes,1,opt,name=listId,proto3" json:"listId,omitempty"`
// List of addresses included in the list.
Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
// Indicates whether the list includes the specified addresses (true) or excludes them (false).
Whitelist bool `protobuf:"varint,3,opt,name=whitelist,proto3" json:"whitelist,omitempty"`
// URI (Uniform Resource Identifier) associated with the address list to provide metadata, if applicable.
Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
// Custom arbitrary data or additional information related to the address list.
CustomData string `protobuf:"bytes,5,opt,name=customData,proto3" json:"customData,omitempty"`
// The user or entity who created the address list.
CreatedBy string `protobuf:"bytes,6,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
// contains filtered or unexported fields
}
An AddressList is a list of addresses that are referenced by an ID.
AddressLists are used for defining approvals.
Note: We also support a reserved ID system by string ID; "Mint", "!Mint"
func (*AddressList) Descriptor
deprecated
func (*AddressList) Descriptor() ([]byte, []int)
Deprecated: Use AddressList.ProtoReflect.Descriptor instead.
func (*AddressList) GetAddresses ¶
func (x *AddressList) GetAddresses() []string
func (*AddressList) GetCreatedBy ¶
func (x *AddressList) GetCreatedBy() string
func (*AddressList) GetCustomData ¶
func (x *AddressList) GetCustomData() string
func (*AddressList) GetListId ¶
func (x *AddressList) GetListId() string
func (*AddressList) GetUri ¶
func (x *AddressList) GetUri() string
func (*AddressList) GetWhitelist ¶
func (x *AddressList) GetWhitelist() bool
func (*AddressList) ProtoMessage ¶
func (*AddressList) ProtoMessage()
func (*AddressList) ProtoReflect ¶
func (x *AddressList) ProtoReflect() protoreflect.Message
func (*AddressList) Reset ¶
func (x *AddressList) Reset()
func (*AddressList) String ¶
func (x *AddressList) String() string
type ApprovalAmounts ¶
type ApprovalAmounts struct {
// Overall approval amount.
OverallApprovalAmount string `protobuf:"bytes,1,opt,name=overallApprovalAmount,proto3" json:"overallApprovalAmount,omitempty"`
// Approval amount per "to" address.
PerToAddressApprovalAmount string `protobuf:"bytes,2,opt,name=perToAddressApprovalAmount,proto3" json:"perToAddressApprovalAmount,omitempty"`
// Approval amount per "from" address.
PerFromAddressApprovalAmount string `protobuf:"bytes,3,opt,name=perFromAddressApprovalAmount,proto3" json:"perFromAddressApprovalAmount,omitempty"`
// Approval amount per "initiated by" address.
PerInitiatedByAddressApprovalAmount string `protobuf:"bytes,4,opt,name=perInitiatedByAddressApprovalAmount,proto3" json:"perInitiatedByAddressApprovalAmount,omitempty"`
// The ID of the amount tracker associated with this approval.
// We use this ID to track the number of transfers and amounts transferred.
AmountTrackerId string `protobuf:"bytes,6,opt,name=amountTrackerId,proto3" json:"amountTrackerId,omitempty"`
// contains filtered or unexported fields
}
ApprovalAmounts defines approval amounts per unique "from," "to," and/or "initiated by" address. If any of these are nil or "0", we assume unlimited approvals. If they are set to a value, then the running tally of the amounts transferred for the specified badge IDs and ownership times must not exceed the corresponding value.
func (*ApprovalAmounts) Descriptor
deprecated
func (*ApprovalAmounts) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalAmounts.ProtoReflect.Descriptor instead.
func (*ApprovalAmounts) GetAmountTrackerId ¶
func (x *ApprovalAmounts) GetAmountTrackerId() string
func (*ApprovalAmounts) GetOverallApprovalAmount ¶
func (x *ApprovalAmounts) GetOverallApprovalAmount() string
func (*ApprovalAmounts) GetPerFromAddressApprovalAmount ¶
func (x *ApprovalAmounts) GetPerFromAddressApprovalAmount() string
func (*ApprovalAmounts) GetPerInitiatedByAddressApprovalAmount ¶
func (x *ApprovalAmounts) GetPerInitiatedByAddressApprovalAmount() string
func (*ApprovalAmounts) GetPerToAddressApprovalAmount ¶
func (x *ApprovalAmounts) GetPerToAddressApprovalAmount() string
func (*ApprovalAmounts) ProtoMessage ¶
func (*ApprovalAmounts) ProtoMessage()
func (*ApprovalAmounts) ProtoReflect ¶
func (x *ApprovalAmounts) ProtoReflect() protoreflect.Message
func (*ApprovalAmounts) Reset ¶
func (x *ApprovalAmounts) Reset()
func (*ApprovalAmounts) String ¶
func (x *ApprovalAmounts) String() string
type ApprovalCriteria ¶
type ApprovalCriteria struct {
// Merkle challenge that must be satisfied for approval.
MerkleChallenges []*MerkleChallenge `protobuf:"bytes,1,rep,name=merkleChallenges,proto3" json:"merkleChallenges,omitempty"`
// Predetermined balances for eeach approval.
PredeterminedBalances *PredeterminedBalances `protobuf:"bytes,2,opt,name=predeterminedBalances,proto3" json:"predeterminedBalances,omitempty"`
// Threshold limit of amounts that can be transferred using this approval.
ApprovalAmounts *ApprovalAmounts `protobuf:"bytes,3,opt,name=approvalAmounts,proto3" json:"approvalAmounts,omitempty"`
// Maximum number of transfers that can be processed using this approval.
MaxNumTransfers *MaxNumTransfers `protobuf:"bytes,4,opt,name=maxNumTransfers,proto3" json:"maxNumTransfers,omitempty"`
// The sdk.Coins that need to be transferred for approval.
CoinTransfers []*CoinTransfer `protobuf:"bytes,5,rep,name=coinTransfers,proto3" json:"coinTransfers,omitempty"`
// Require the "to" address to be equal to the "initiated by" address for approval.
RequireToEqualsInitiatedBy bool `protobuf:"varint,6,opt,name=requireToEqualsInitiatedBy,proto3" json:"requireToEqualsInitiatedBy,omitempty"`
// Require the "from" address to be equal to the "initiated by" address for approval.
RequireFromEqualsInitiatedBy bool `protobuf:"varint,7,opt,name=requireFromEqualsInitiatedBy,proto3" json:"requireFromEqualsInitiatedBy,omitempty"`
// Require the "to" address to not be equal to the "initiated by" address for approval.
RequireToDoesNotEqualInitiatedBy bool `protobuf:"varint,8,opt,name=requireToDoesNotEqualInitiatedBy,proto3" json:"requireToDoesNotEqualInitiatedBy,omitempty"`
// Require the "from" address to not be equal to the "initiated by" address for approval.
RequireFromDoesNotEqualInitiatedBy bool `protobuf:"varint,9,opt,name=requireFromDoesNotEqualInitiatedBy,proto3" json:"requireFromDoesNotEqualInitiatedBy,omitempty"`
// Overrides the user's outgoing approvals for approval.
OverridesFromOutgoingApprovals bool `protobuf:"varint,10,opt,name=overridesFromOutgoingApprovals,proto3" json:"overridesFromOutgoingApprovals,omitempty"`
// Overrides the user's incoming approvals for approval.
OverridesToIncomingApprovals bool `protobuf:"varint,11,opt,name=overridesToIncomingApprovals,proto3" json:"overridesToIncomingApprovals,omitempty"`
// contains filtered or unexported fields
}
ApprovalCriteria defines the criteria for approving transfers.
func (*ApprovalCriteria) Descriptor
deprecated
func (*ApprovalCriteria) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalCriteria.ProtoReflect.Descriptor instead.
func (*ApprovalCriteria) GetApprovalAmounts ¶
func (x *ApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
func (*ApprovalCriteria) GetCoinTransfers ¶
func (x *ApprovalCriteria) GetCoinTransfers() []*CoinTransfer
func (*ApprovalCriteria) GetMaxNumTransfers ¶
func (x *ApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
func (*ApprovalCriteria) GetMerkleChallenges ¶
func (x *ApprovalCriteria) GetMerkleChallenges() []*MerkleChallenge
func (*ApprovalCriteria) GetOverridesFromOutgoingApprovals ¶
func (x *ApprovalCriteria) GetOverridesFromOutgoingApprovals() bool
func (*ApprovalCriteria) GetOverridesToIncomingApprovals ¶
func (x *ApprovalCriteria) GetOverridesToIncomingApprovals() bool
func (*ApprovalCriteria) GetPredeterminedBalances ¶
func (x *ApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
func (*ApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy ¶
func (x *ApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
func (*ApprovalCriteria) GetRequireFromEqualsInitiatedBy ¶
func (x *ApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
func (*ApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy ¶
func (x *ApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
func (*ApprovalCriteria) GetRequireToEqualsInitiatedBy ¶
func (x *ApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
func (*ApprovalCriteria) ProtoMessage ¶
func (*ApprovalCriteria) ProtoMessage()
func (*ApprovalCriteria) ProtoReflect ¶
func (x *ApprovalCriteria) ProtoReflect() protoreflect.Message
func (*ApprovalCriteria) Reset ¶
func (x *ApprovalCriteria) Reset()
func (*ApprovalCriteria) String ¶
func (x *ApprovalCriteria) String() string
type ApprovalIdentifierDetails ¶
type ApprovalIdentifierDetails struct {
// The ID of the approval.
ApprovalId string `protobuf:"bytes,1,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
// The level of the approval. Can be "collection", "incoming", or "outgoing".
ApprovalLevel string `protobuf:"bytes,2,opt,name=approvalLevel,proto3" json:"approvalLevel,omitempty"`
// The address of the approver. Leave blank "" if approvalLevel == "collection".
ApproverAddress string `protobuf:"bytes,3,opt,name=approverAddress,proto3" json:"approverAddress,omitempty"`
// contains filtered or unexported fields
}
ApprovalIdentifierDetails defines the details to identify a specific approval.
func (*ApprovalIdentifierDetails) Descriptor
deprecated
func (*ApprovalIdentifierDetails) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalIdentifierDetails.ProtoReflect.Descriptor instead.
func (*ApprovalIdentifierDetails) GetApprovalId ¶
func (x *ApprovalIdentifierDetails) GetApprovalId() string
func (*ApprovalIdentifierDetails) GetApprovalLevel ¶
func (x *ApprovalIdentifierDetails) GetApprovalLevel() string
func (*ApprovalIdentifierDetails) GetApproverAddress ¶
func (x *ApprovalIdentifierDetails) GetApproverAddress() string
func (*ApprovalIdentifierDetails) ProtoMessage ¶
func (*ApprovalIdentifierDetails) ProtoMessage()
func (*ApprovalIdentifierDetails) ProtoReflect ¶
func (x *ApprovalIdentifierDetails) ProtoReflect() protoreflect.Message
func (*ApprovalIdentifierDetails) Reset ¶
func (x *ApprovalIdentifierDetails) Reset()
func (*ApprovalIdentifierDetails) String ¶
func (x *ApprovalIdentifierDetails) String() string
type ApprovalTracker ¶
type ApprovalTracker struct {
// The number of transfers that have been processed.
NumTransfers string `protobuf:"bytes,1,opt,name=numTransfers,proto3" json:"numTransfers,omitempty"`
// Cumulative balances associated with the transfers that have been processed.
Amounts []*Balance `protobuf:"bytes,2,rep,name=amounts,proto3" json:"amounts,omitempty"`
// contains filtered or unexported fields
}
ApprovalTracker defines the tracker for approvals. This tracks the cumulative number of transfers and associated balances transferred.
func (*ApprovalTracker) Descriptor
deprecated
func (*ApprovalTracker) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalTracker.ProtoReflect.Descriptor instead.
func (*ApprovalTracker) GetAmounts ¶
func (x *ApprovalTracker) GetAmounts() []*Balance
func (*ApprovalTracker) GetNumTransfers ¶
func (x *ApprovalTracker) GetNumTransfers() string
func (*ApprovalTracker) ProtoMessage ¶
func (*ApprovalTracker) ProtoMessage()
func (*ApprovalTracker) ProtoReflect ¶
func (x *ApprovalTracker) ProtoReflect() protoreflect.Message
func (*ApprovalTracker) Reset ¶
func (x *ApprovalTracker) Reset()
func (*ApprovalTracker) String ¶
func (x *ApprovalTracker) String() string
type BadgeCollection ¶
type BadgeCollection struct {
// The unique identifier for this collection. This is assigned by the blockchain. First collection has ID 1.
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// The metadata for the collection itself, which can vary over time.
CollectionMetadataTimeline []*CollectionMetadataTimeline `protobuf:"bytes,2,rep,name=collectionMetadataTimeline,proto3" json:"collectionMetadataTimeline,omitempty"`
// The metadata for each badge in the collection, also subject to changes over time.
BadgeMetadataTimeline []*BadgeMetadataTimeline `protobuf:"bytes,3,rep,name=badgeMetadataTimeline,proto3" json:"badgeMetadataTimeline,omitempty"`
// The type of balances this collection uses ("Standard", "Off-Chain - Indexed", "Off-Chain - Non-Indexed", or "Non-Public").
BalancesType string `protobuf:"bytes,4,opt,name=balancesType,proto3" json:"balancesType,omitempty"`
// Metadata for fetching balances for collections with off-chain balances, subject to changes over time.
OffChainBalancesMetadataTimeline []*OffChainBalancesMetadataTimeline `protobuf:"bytes,5,rep,name=offChainBalancesMetadataTimeline,proto3" json:"offChainBalancesMetadataTimeline,omitempty"`
// An arbitrary field that can store any data, subject to changes over time.
CustomDataTimeline []*CustomDataTimeline `protobuf:"bytes,7,rep,name=customDataTimeline,proto3" json:"customDataTimeline,omitempty"`
// The address of the manager of this collection, subject to changes over time.
ManagerTimeline []*ManagerTimeline `protobuf:"bytes,8,rep,name=managerTimeline,proto3" json:"managerTimeline,omitempty"`
// Permissions that define what the manager of the collection can do or not do.
CollectionPermissions *CollectionPermissions `protobuf:"bytes,9,opt,name=collectionPermissions,proto3" json:"collectionPermissions,omitempty"`
// Transferability of the collection for collections with standard balances, subject to changes over time.
// Overrides user approvals for a transfer if specified.
// Transfer must satisfy both user and collection-level approvals.
// Only applicable to on-chain balances.
CollectionApprovals []*CollectionApproval `protobuf:"bytes,10,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
// Standards that define how to interpret the fields of the collection, subject to changes over time.
StandardsTimeline []*StandardsTimeline `protobuf:"bytes,11,rep,name=standardsTimeline,proto3" json:"standardsTimeline,omitempty"`
// Whether the collection is archived or not, subject to changes over time.
// When archived, it becomes read-only, and no transactions can be processed until it is unarchived.
IsArchivedTimeline []*IsArchivedTimeline `protobuf:"bytes,12,rep,name=isArchivedTimeline,proto3" json:"isArchivedTimeline,omitempty"`
// The default store of a balance for a user, upon genesis.
DefaultBalances *UserBalanceStore `protobuf:"bytes,13,opt,name=defaultBalances,proto3" json:"defaultBalances,omitempty"`
// The user or entity who created the badge collection.
CreatedBy string `protobuf:"bytes,14,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
// The valid badge IDs for this collection.
ValidBadgeIds []*UintRange `protobuf:"bytes,15,rep,name=validBadgeIds,proto3" json:"validBadgeIds,omitempty"`
// contains filtered or unexported fields
}
A BadgeCollection is the top-level object for a collection of badges. It defines everything about the collection, such as the manager, metadata, etc.
All collections are identified by a collectionId assigned by the blockchain, which is a uint64 that increments (i.e. the first collection has ID 1).
All collections can have a manager who is responsible for managing the collection and can be granted certain admin permissions, such as the ability to mint new badges.
Certain fields are timeline-based, which means they may have different values at different block heights. We fetch the value according to the current time. For example, we may set the manager to be Alice from Time1 to Time2, and then set the manager to be Bob from Time2 to Time3.
Collections may have different balance types: standard vs. off-chain - indexed vs. inherited.vs off-chain - non-indexed vs non-public.
See documentation for more details.
func (*BadgeCollection) Descriptor
deprecated
func (*BadgeCollection) Descriptor() ([]byte, []int)
Deprecated: Use BadgeCollection.ProtoReflect.Descriptor instead.
func (*BadgeCollection) GetBadgeMetadataTimeline ¶
func (x *BadgeCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*BadgeCollection) GetBalancesType ¶
func (x *BadgeCollection) GetBalancesType() string
func (*BadgeCollection) GetCollectionApprovals ¶
func (x *BadgeCollection) GetCollectionApprovals() []*CollectionApproval
func (*BadgeCollection) GetCollectionId ¶
func (x *BadgeCollection) GetCollectionId() string
func (*BadgeCollection) GetCollectionMetadataTimeline ¶
func (x *BadgeCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*BadgeCollection) GetCollectionPermissions ¶
func (x *BadgeCollection) GetCollectionPermissions() *CollectionPermissions
func (*BadgeCollection) GetCreatedBy ¶
func (x *BadgeCollection) GetCreatedBy() string
func (*BadgeCollection) GetCustomDataTimeline ¶
func (x *BadgeCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*BadgeCollection) GetDefaultBalances ¶
func (x *BadgeCollection) GetDefaultBalances() *UserBalanceStore
func (*BadgeCollection) GetIsArchivedTimeline ¶
func (x *BadgeCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*BadgeCollection) GetManagerTimeline ¶
func (x *BadgeCollection) GetManagerTimeline() []*ManagerTimeline
func (*BadgeCollection) GetOffChainBalancesMetadataTimeline ¶
func (x *BadgeCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*BadgeCollection) GetStandardsTimeline ¶
func (x *BadgeCollection) GetStandardsTimeline() []*StandardsTimeline
func (*BadgeCollection) GetValidBadgeIds ¶
func (x *BadgeCollection) GetValidBadgeIds() []*UintRange
func (*BadgeCollection) ProtoMessage ¶
func (*BadgeCollection) ProtoMessage()
func (*BadgeCollection) ProtoReflect ¶
func (x *BadgeCollection) ProtoReflect() protoreflect.Message
func (*BadgeCollection) Reset ¶
func (x *BadgeCollection) Reset()
func (*BadgeCollection) String ¶
func (x *BadgeCollection) String() string
type BadgeCustomMsgType ¶
type BadgeCustomMsgType struct {
CreateAddressListsMsg *MsgCreateAddressLists `protobuf:"bytes,1,opt,name=createAddressListsMsg,proto3" json:"createAddressListsMsg,omitempty"`
UniversalUpdateCollectionMsg *MsgUniversalUpdateCollection `protobuf:"bytes,2,opt,name=universalUpdateCollectionMsg,proto3" json:"universalUpdateCollectionMsg,omitempty"`
DeleteCollectionMsg *MsgDeleteCollection `protobuf:"bytes,3,opt,name=deleteCollectionMsg,proto3" json:"deleteCollectionMsg,omitempty"`
TransferBadgesMsg *MsgTransferBadges `protobuf:"bytes,4,opt,name=transferBadgesMsg,proto3" json:"transferBadgesMsg,omitempty"`
UpdateUserApprovalsMsg *MsgUpdateUserApprovals `protobuf:"bytes,5,opt,name=updateUserApprovalsMsg,proto3" json:"updateUserApprovalsMsg,omitempty"`
UpdateCollectionMsg *MsgUpdateCollection `protobuf:"bytes,6,opt,name=updateCollectionMsg,proto3" json:"updateCollectionMsg,omitempty"`
CreateCollectionMsg *MsgCreateCollection `protobuf:"bytes,7,opt,name=createCollectionMsg,proto3" json:"createCollectionMsg,omitempty"`
// contains filtered or unexported fields
}
Used for WASM bindings and JSON parsing
func (*BadgeCustomMsgType) Descriptor
deprecated
func (*BadgeCustomMsgType) Descriptor() ([]byte, []int)
Deprecated: Use BadgeCustomMsgType.ProtoReflect.Descriptor instead.
func (*BadgeCustomMsgType) GetCreateAddressListsMsg ¶
func (x *BadgeCustomMsgType) GetCreateAddressListsMsg() *MsgCreateAddressLists
func (*BadgeCustomMsgType) GetCreateCollectionMsg ¶
func (x *BadgeCustomMsgType) GetCreateCollectionMsg() *MsgCreateCollection
func (*BadgeCustomMsgType) GetDeleteCollectionMsg ¶
func (x *BadgeCustomMsgType) GetDeleteCollectionMsg() *MsgDeleteCollection
func (*BadgeCustomMsgType) GetTransferBadgesMsg ¶
func (x *BadgeCustomMsgType) GetTransferBadgesMsg() *MsgTransferBadges
func (*BadgeCustomMsgType) GetUniversalUpdateCollectionMsg ¶
func (x *BadgeCustomMsgType) GetUniversalUpdateCollectionMsg() *MsgUniversalUpdateCollection
func (*BadgeCustomMsgType) GetUpdateCollectionMsg ¶
func (x *BadgeCustomMsgType) GetUpdateCollectionMsg() *MsgUpdateCollection
func (*BadgeCustomMsgType) GetUpdateUserApprovalsMsg ¶
func (x *BadgeCustomMsgType) GetUpdateUserApprovalsMsg() *MsgUpdateUserApprovals
func (*BadgeCustomMsgType) ProtoMessage ¶
func (*BadgeCustomMsgType) ProtoMessage()
func (*BadgeCustomMsgType) ProtoReflect ¶
func (x *BadgeCustomMsgType) ProtoReflect() protoreflect.Message
func (*BadgeCustomMsgType) Reset ¶
func (x *BadgeCustomMsgType) Reset()
func (*BadgeCustomMsgType) String ¶
func (x *BadgeCustomMsgType) String() string
type BadgeIdsActionPermission ¶
type BadgeIdsActionPermission struct {
// Specifies the badge IDs involved in the transfer.
BadgeIds []*UintRange `protobuf:"bytes,1,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.
PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,2,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"`
// Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.
PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,3,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"`
// contains filtered or unexported fields
}
BadgeIdsActionPermission defines the permissions for updating a timeline-based field for specific badges and specific badge ownership times. Currently, this is only used for creating new badges.
Ex: If you want to lock the ability to create new badges for badgeIds [1,2] at ownershipTimes 1/1/2020 - 1/1/2021, you could set the combination (badgeIds: [1,2], ownershipTimelineTimes: [1/1/2020 - 1/1/2021]) to always be forbidden.
func (*BadgeIdsActionPermission) Descriptor
deprecated
func (*BadgeIdsActionPermission) Descriptor() ([]byte, []int)
Deprecated: Use BadgeIdsActionPermission.ProtoReflect.Descriptor instead.
func (*BadgeIdsActionPermission) GetBadgeIds ¶
func (x *BadgeIdsActionPermission) GetBadgeIds() []*UintRange
func (*BadgeIdsActionPermission) GetPermanentlyForbiddenTimes ¶
func (x *BadgeIdsActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*BadgeIdsActionPermission) GetPermanentlyPermittedTimes ¶
func (x *BadgeIdsActionPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*BadgeIdsActionPermission) ProtoMessage ¶
func (*BadgeIdsActionPermission) ProtoMessage()
func (*BadgeIdsActionPermission) ProtoReflect ¶
func (x *BadgeIdsActionPermission) ProtoReflect() protoreflect.Message
func (*BadgeIdsActionPermission) Reset ¶
func (x *BadgeIdsActionPermission) Reset()
func (*BadgeIdsActionPermission) String ¶
func (x *BadgeIdsActionPermission) String() string
type BadgeMetadata ¶
type BadgeMetadata struct {
// The URI (Uniform Resource Identifier) associated with the badge metadata.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Custom data or additional information related to the badge metadata.
CustomData string `protobuf:"bytes,2,opt,name=customData,proto3" json:"customData,omitempty"`
// The badge IDs to which this metadata applies.
BadgeIds []*UintRange `protobuf:"bytes,3,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// contains filtered or unexported fields
}
This message defines the metadata for specific badge IDs. The interpretation of this metadata should follow the collection standard.
func (*BadgeMetadata) Descriptor
deprecated
func (*BadgeMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BadgeMetadata.ProtoReflect.Descriptor instead.
func (*BadgeMetadata) GetBadgeIds ¶
func (x *BadgeMetadata) GetBadgeIds() []*UintRange
func (*BadgeMetadata) GetCustomData ¶
func (x *BadgeMetadata) GetCustomData() string
func (*BadgeMetadata) GetUri ¶
func (x *BadgeMetadata) GetUri() string
func (*BadgeMetadata) ProtoMessage ¶
func (*BadgeMetadata) ProtoMessage()
func (*BadgeMetadata) ProtoReflect ¶
func (x *BadgeMetadata) ProtoReflect() protoreflect.Message
func (*BadgeMetadata) Reset ¶
func (x *BadgeMetadata) Reset()
func (*BadgeMetadata) String ¶
func (x *BadgeMetadata) String() string
type BadgeMetadataTimeline ¶
type BadgeMetadataTimeline struct {
// The badge metadata for a specific timeline element.
BadgeMetadata []*BadgeMetadata `protobuf:"bytes,1,rep,name=badgeMetadata,proto3" json:"badgeMetadata,omitempty"`
// The timeline times when the badge metadata is valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
BadgeMetadataTimeline defines the metadata for badges at different timeline times.
func (*BadgeMetadataTimeline) Descriptor
deprecated
func (*BadgeMetadataTimeline) Descriptor() ([]byte, []int)
Deprecated: Use BadgeMetadataTimeline.ProtoReflect.Descriptor instead.
func (*BadgeMetadataTimeline) GetBadgeMetadata ¶
func (x *BadgeMetadataTimeline) GetBadgeMetadata() []*BadgeMetadata
func (*BadgeMetadataTimeline) GetTimelineTimes ¶
func (x *BadgeMetadataTimeline) GetTimelineTimes() []*UintRange
func (*BadgeMetadataTimeline) ProtoMessage ¶
func (*BadgeMetadataTimeline) ProtoMessage()
func (*BadgeMetadataTimeline) ProtoReflect ¶
func (x *BadgeMetadataTimeline) ProtoReflect() protoreflect.Message
func (*BadgeMetadataTimeline) Reset ¶
func (x *BadgeMetadataTimeline) Reset()
func (*BadgeMetadataTimeline) String ¶
func (x *BadgeMetadataTimeline) String() string
type BadgesPacketData ¶
type BadgesPacketData struct {
// Types that are assignable to Packet:
//
// *BadgesPacketData_NoData
Packet isBadgesPacketData_Packet `protobuf_oneof:"packet"`
// contains filtered or unexported fields
}
func (*BadgesPacketData) Descriptor
deprecated
func (*BadgesPacketData) Descriptor() ([]byte, []int)
Deprecated: Use BadgesPacketData.ProtoReflect.Descriptor instead.
func (*BadgesPacketData) GetNoData ¶
func (x *BadgesPacketData) GetNoData() *NoData
func (*BadgesPacketData) GetPacket ¶
func (x *BadgesPacketData) GetPacket() isBadgesPacketData_Packet
func (*BadgesPacketData) ProtoMessage ¶
func (*BadgesPacketData) ProtoMessage()
func (*BadgesPacketData) ProtoReflect ¶
func (x *BadgesPacketData) ProtoReflect() protoreflect.Message
func (*BadgesPacketData) Reset ¶
func (x *BadgesPacketData) Reset()
func (*BadgesPacketData) String ¶
func (x *BadgesPacketData) String() string
type BadgesPacketData_NoData ¶
type BadgesPacketData_NoData struct {
NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof"`
}
type Balance ¶
type Balance struct {
// The amount of the badge owned by the user.
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
// The time ranges during which the user owns the badge.
OwnershipTimes []*UintRange `protobuf:"bytes,2,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"`
// The badge IDs for which the user owns the badge.
BadgeIds []*UintRange `protobuf:"bytes,3,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// contains filtered or unexported fields
}
Balance represents the balance of a badge for a specific user. The user amounts xAmount of a badge for the badgeID specified for the time ranges specified.
Example: User A owns x10 of badge IDs 1-10 from 1/1/2020 to 1/1/2021.
If times or badgeIDs have len > 1, then the user owns all badge IDs specified for all time ranges specified.
func (*Balance) Descriptor
deprecated
func (*Balance) GetBadgeIds ¶
func (*Balance) GetOwnershipTimes ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
type CoinTransfer ¶
type CoinTransfer struct {
// The address of the recipient of the transfer.
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
// The sdk.Coins to be transferred.
Coins []*v1beta1.Coin `protobuf:"bytes,2,rep,name=coins,proto3" json:"coins,omitempty"`
// contains filtered or unexported fields
}
func (*CoinTransfer) Descriptor
deprecated
func (*CoinTransfer) Descriptor() ([]byte, []int)
Deprecated: Use CoinTransfer.ProtoReflect.Descriptor instead.
func (*CoinTransfer) GetCoins ¶
func (x *CoinTransfer) GetCoins() []*v1beta1.Coin
func (*CoinTransfer) GetTo ¶
func (x *CoinTransfer) GetTo() string
func (*CoinTransfer) ProtoMessage ¶
func (*CoinTransfer) ProtoMessage()
func (*CoinTransfer) ProtoReflect ¶
func (x *CoinTransfer) ProtoReflect() protoreflect.Message
func (*CoinTransfer) Reset ¶
func (x *CoinTransfer) Reset()
func (*CoinTransfer) String ¶
func (x *CoinTransfer) String() string
type CollectionApproval ¶
type CollectionApproval struct {
// The list ID for the sender of the transfer.
FromListId string `protobuf:"bytes,1,opt,name=fromListId,proto3" json:"fromListId,omitempty"`
// The list ID for the recipient of the transfer.
ToListId string `protobuf:"bytes,2,opt,name=toListId,proto3" json:"toListId,omitempty"`
// The list ID for the user who initiated the transfer.
InitiatedByListId string `protobuf:"bytes,3,opt,name=initiatedByListId,proto3" json:"initiatedByListId,omitempty"`
// The allowed range of transfer times for approval.
TransferTimes []*UintRange `protobuf:"bytes,4,rep,name=transferTimes,proto3" json:"transferTimes,omitempty"`
// The allowed range of badge IDs for approval.
BadgeIds []*UintRange `protobuf:"bytes,5,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// The allowed range of ownership times for approval.
OwnershipTimes []*UintRange `protobuf:"bytes,6,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"`
// The URI associated with this approval, optionally providing metadata about the approval.
Uri string `protobuf:"bytes,9,opt,name=uri,proto3" json:"uri,omitempty"`
// Arbitrary custom data associated with this approval.
CustomData string `protobuf:"bytes,10,opt,name=customData,proto3" json:"customData,omitempty"`
// The ID of this approval. Must be unique per level (i.e. collection, outgoing, incoming).
ApprovalId string `protobuf:"bytes,11,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
// The criteria that must be met for this approval to be considered.
ApprovalCriteria *ApprovalCriteria `protobuf:"bytes,12,opt,name=approvalCriteria,proto3" json:"approvalCriteria,omitempty"`
// contains filtered or unexported fields
}
CollectionApproval defines the rules for the approval of a transfer on the collection level
func (*CollectionApproval) Descriptor
deprecated
func (*CollectionApproval) Descriptor() ([]byte, []int)
Deprecated: Use CollectionApproval.ProtoReflect.Descriptor instead.
func (*CollectionApproval) GetApprovalCriteria ¶
func (x *CollectionApproval) GetApprovalCriteria() *ApprovalCriteria
func (*CollectionApproval) GetApprovalId ¶
func (x *CollectionApproval) GetApprovalId() string
func (*CollectionApproval) GetBadgeIds ¶
func (x *CollectionApproval) GetBadgeIds() []*UintRange
func (*CollectionApproval) GetCustomData ¶
func (x *CollectionApproval) GetCustomData() string
func (*CollectionApproval) GetFromListId ¶
func (x *CollectionApproval) GetFromListId() string
func (*CollectionApproval) GetInitiatedByListId ¶
func (x *CollectionApproval) GetInitiatedByListId() string
func (*CollectionApproval) GetOwnershipTimes ¶
func (x *CollectionApproval) GetOwnershipTimes() []*UintRange
func (*CollectionApproval) GetToListId ¶
func (x *CollectionApproval) GetToListId() string
func (*CollectionApproval) GetTransferTimes ¶
func (x *CollectionApproval) GetTransferTimes() []*UintRange
func (*CollectionApproval) GetUri ¶
func (x *CollectionApproval) GetUri() string
func (*CollectionApproval) ProtoMessage ¶
func (*CollectionApproval) ProtoMessage()
func (*CollectionApproval) ProtoReflect ¶
func (x *CollectionApproval) ProtoReflect() protoreflect.Message
func (*CollectionApproval) Reset ¶
func (x *CollectionApproval) Reset()
func (*CollectionApproval) String ¶
func (x *CollectionApproval) String() string
type CollectionApprovalPermission ¶
type CollectionApprovalPermission struct {
// Identifier for the sender list.
FromListId string `protobuf:"bytes,1,opt,name=fromListId,proto3" json:"fromListId,omitempty"`
// Identifier for the recipient list.
ToListId string `protobuf:"bytes,2,opt,name=toListId,proto3" json:"toListId,omitempty"`
// Identifier for the initiator list (who is approved?).
InitiatedByListId string `protobuf:"bytes,3,opt,name=initiatedByListId,proto3" json:"initiatedByListId,omitempty"`
// Specifies the times when the transfer can occur.
TransferTimes []*UintRange `protobuf:"bytes,4,rep,name=transferTimes,proto3" json:"transferTimes,omitempty"`
// Specifies the badge IDs involved in the transfer.
BadgeIds []*UintRange `protobuf:"bytes,5,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// Specifies the ownership times for the badges in the transfer.
OwnershipTimes []*UintRange `protobuf:"bytes,6,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"`
// Identifier for the approvalId. You can use "All" or "!approvalId" for shorthand.
// If you use "All", this approval will match to all approvalIds.
// If you use "!approvalId", this approval will match to all approvalIds except for approvalId.
// If you use "approvalId", this approval will match to only the specified approvalId and fail on all others.
ApprovalId string `protobuf:"bytes,9,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
// Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.
PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,10,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"`
// Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.
PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,11,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"`
// contains filtered or unexported fields
}
CollectionApprovalPermission defines what collection approved transfers can be updated vs. are locked.
Each transfer is broken down to a (from, to, initiatedBy, transferTime, badgeId) tuple. For a transfer to match, we need to match ALL of the fields in the combination. These are determined by the fromListId, toListId, initiatedByListId, transferTimes, badgeIds fields. AddressLists are used for (from, to, initiatedBy) which are a permanent list of addresses identified by an ID (see AddressLists).
TimelineTimes: which timeline times of the collection's approvalsTimeline field can be updated or not? permanentlyPermitted/ForbiddenTimes: when can the manager execute this permission?
Ex: Let's say we are updating the transferability for timelineTime 1 and the transfer tuple ("AllWithoutMint", "AllWithoutMint", "AllWithoutMint", 10, 1000). We would check to find the FIRST CollectionApprovalPermission that matches this combination. If we find a match, we would check the permitted/forbidden times to see if we can execute this permission (default is ALLOWED).
Ex: So if you wanted to freeze the transferability to enforce that badge ID 1 will always be transferable, you could set the combination ("AllWithoutMint", "AllWithoutMint", "AllWithoutMint", "All Transfer Times", 1) to always be forbidden at all timelineTimes.
func (*CollectionApprovalPermission) Descriptor
deprecated
func (*CollectionApprovalPermission) Descriptor() ([]byte, []int)
Deprecated: Use CollectionApprovalPermission.ProtoReflect.Descriptor instead.
func (*CollectionApprovalPermission) GetApprovalId ¶
func (x *CollectionApprovalPermission) GetApprovalId() string
func (*CollectionApprovalPermission) GetBadgeIds ¶
func (x *CollectionApprovalPermission) GetBadgeIds() []*UintRange
func (*CollectionApprovalPermission) GetFromListId ¶
func (x *CollectionApprovalPermission) GetFromListId() string
func (*CollectionApprovalPermission) GetInitiatedByListId ¶
func (x *CollectionApprovalPermission) GetInitiatedByListId() string
func (*CollectionApprovalPermission) GetOwnershipTimes ¶
func (x *CollectionApprovalPermission) GetOwnershipTimes() []*UintRange
func (*CollectionApprovalPermission) GetPermanentlyForbiddenTimes ¶
func (x *CollectionApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*CollectionApprovalPermission) GetPermanentlyPermittedTimes ¶
func (x *CollectionApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*CollectionApprovalPermission) GetToListId ¶
func (x *CollectionApprovalPermission) GetToListId() string
func (*CollectionApprovalPermission) GetTransferTimes ¶
func (x *CollectionApprovalPermission) GetTransferTimes() []*UintRange
func (*CollectionApprovalPermission) ProtoMessage ¶
func (*CollectionApprovalPermission) ProtoMessage()
func (*CollectionApprovalPermission) ProtoReflect ¶
func (x *CollectionApprovalPermission) ProtoReflect() protoreflect.Message
func (*CollectionApprovalPermission) Reset ¶
func (x *CollectionApprovalPermission) Reset()
func (*CollectionApprovalPermission) String ¶
func (x *CollectionApprovalPermission) String() string
type CollectionApprovalTimeline ¶
type CollectionApprovalTimeline struct {
CollectionApprovals []*CollectionApproval `protobuf:"bytes,1,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
func (*CollectionApprovalTimeline) Descriptor
deprecated
func (*CollectionApprovalTimeline) Descriptor() ([]byte, []int)
Deprecated: Use CollectionApprovalTimeline.ProtoReflect.Descriptor instead.
func (*CollectionApprovalTimeline) GetCollectionApprovals ¶
func (x *CollectionApprovalTimeline) GetCollectionApprovals() []*CollectionApproval
func (*CollectionApprovalTimeline) GetTimelineTimes ¶
func (x *CollectionApprovalTimeline) GetTimelineTimes() []*UintRange
func (*CollectionApprovalTimeline) ProtoMessage ¶
func (*CollectionApprovalTimeline) ProtoMessage()
func (*CollectionApprovalTimeline) ProtoReflect ¶
func (x *CollectionApprovalTimeline) ProtoReflect() protoreflect.Message
func (*CollectionApprovalTimeline) Reset ¶
func (x *CollectionApprovalTimeline) Reset()
func (*CollectionApprovalTimeline) String ¶
func (x *CollectionApprovalTimeline) String() string
type CollectionMetadata ¶
type CollectionMetadata struct {
// The URI (Uniform Resource Identifier) associated with the collection metadata.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Custom data or additional information related to the collection metadata.
CustomData string `protobuf:"bytes,2,opt,name=customData,proto3" json:"customData,omitempty"`
// contains filtered or unexported fields
}
This message defines the metadata for the collection. The interpretation of this metadata should follow the collection standard.
func (*CollectionMetadata) Descriptor
deprecated
func (*CollectionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CollectionMetadata.ProtoReflect.Descriptor instead.
func (*CollectionMetadata) GetCustomData ¶
func (x *CollectionMetadata) GetCustomData() string
func (*CollectionMetadata) GetUri ¶
func (x *CollectionMetadata) GetUri() string
func (*CollectionMetadata) ProtoMessage ¶
func (*CollectionMetadata) ProtoMessage()
func (*CollectionMetadata) ProtoReflect ¶
func (x *CollectionMetadata) ProtoReflect() protoreflect.Message
func (*CollectionMetadata) Reset ¶
func (x *CollectionMetadata) Reset()
func (*CollectionMetadata) String ¶
func (x *CollectionMetadata) String() string
type CollectionMetadataTimeline ¶
type CollectionMetadataTimeline struct {
// The collection metadata for a specific timeline element.
CollectionMetadata *CollectionMetadata `protobuf:"bytes,1,opt,name=collectionMetadata,proto3" json:"collectionMetadata,omitempty"`
// The timeline times when the collection metadata is valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
CollectionMetadataTimeline defines the metadata for a collection at different timeline times.
func (*CollectionMetadataTimeline) Descriptor
deprecated
func (*CollectionMetadataTimeline) Descriptor() ([]byte, []int)
Deprecated: Use CollectionMetadataTimeline.ProtoReflect.Descriptor instead.
func (*CollectionMetadataTimeline) GetCollectionMetadata ¶
func (x *CollectionMetadataTimeline) GetCollectionMetadata() *CollectionMetadata
func (*CollectionMetadataTimeline) GetTimelineTimes ¶
func (x *CollectionMetadataTimeline) GetTimelineTimes() []*UintRange
func (*CollectionMetadataTimeline) ProtoMessage ¶
func (*CollectionMetadataTimeline) ProtoMessage()
func (*CollectionMetadataTimeline) ProtoReflect ¶
func (x *CollectionMetadataTimeline) ProtoReflect() protoreflect.Message
func (*CollectionMetadataTimeline) Reset ¶
func (x *CollectionMetadataTimeline) Reset()
func (*CollectionMetadataTimeline) String ¶
func (x *CollectionMetadataTimeline) String() string
type CollectionPermissions ¶
type CollectionPermissions struct {
// Permissions related to deleting the collection.
CanDeleteCollection []*ActionPermission `protobuf:"bytes,1,rep,name=canDeleteCollection,proto3" json:"canDeleteCollection,omitempty"`
// Permissions related to archiving the collection.
CanArchiveCollection []*TimedUpdatePermission `protobuf:"bytes,2,rep,name=canArchiveCollection,proto3" json:"canArchiveCollection,omitempty"`
// Permissions related to updating off-chain balances metadata.
CanUpdateOffChainBalancesMetadata []*TimedUpdatePermission `protobuf:"bytes,3,rep,name=canUpdateOffChainBalancesMetadata,proto3" json:"canUpdateOffChainBalancesMetadata,omitempty"`
// Permissions related to updating standards for the collection.
CanUpdateStandards []*TimedUpdatePermission `protobuf:"bytes,4,rep,name=canUpdateStandards,proto3" json:"canUpdateStandards,omitempty"`
// Permissions related to updating custom data for the collection.
CanUpdateCustomData []*TimedUpdatePermission `protobuf:"bytes,5,rep,name=canUpdateCustomData,proto3" json:"canUpdateCustomData,omitempty"`
// Permissions related to updating the collection's manager.
CanUpdateManager []*TimedUpdatePermission `protobuf:"bytes,6,rep,name=canUpdateManager,proto3" json:"canUpdateManager,omitempty"`
// Permissions related to updating the metadata of the collection.
CanUpdateCollectionMetadata []*TimedUpdatePermission `protobuf:"bytes,7,rep,name=canUpdateCollectionMetadata,proto3" json:"canUpdateCollectionMetadata,omitempty"`
// Permissions related to creating more badges for the collection.
CanUpdateValidBadgeIds []*BadgeIdsActionPermission `protobuf:"bytes,8,rep,name=canUpdateValidBadgeIds,proto3" json:"canUpdateValidBadgeIds,omitempty"`
// Permissions related to updating badge metadata for specific badges.
CanUpdateBadgeMetadata []*TimedUpdateWithBadgeIdsPermission `protobuf:"bytes,9,rep,name=canUpdateBadgeMetadata,proto3" json:"canUpdateBadgeMetadata,omitempty"`
// Permissions related to updating collection approvals.
CanUpdateCollectionApprovals []*CollectionApprovalPermission `protobuf:"bytes,10,rep,name=canUpdateCollectionApprovals,proto3" json:"canUpdateCollectionApprovals,omitempty"`
// contains filtered or unexported fields
}
CollectionPermissions defines the permissions for the collection (i.e., what the manager can and cannot do).
There are five types of permissions for a collection: ActionPermission, TimedUpdatePermission, TimedUpdateWithBadgeIdsPermission, BadgeIdsActionPermission, and CollectionApprovalPermission.
The permission type allows fine-grained access control for each action. - ActionPermission: defines when the manager can perform an action. - TimedUpdatePermission: defines when the manager can update a timeline-based field and what times of the timeline can be updated. - TimedUpdateWithBadgeIdsPermission: defines when the manager can update a timeline-based field for specific badges and what times of the timeline can be updated. - BadgeIdsActionPermission: defines when the manager can perform an action for specific badges - CollectionApprovalPermission: defines when the manager can update the transferability of the collection and what transfers can be updated vs. locked.
Note there are a few different times here which could get confusing: - timelineTimes: the times when a timeline-based field is a specific value - permanentlyPermitted/ForbiddenTimes - the times that a permission can be performed - transferTimes - the times that a transfer occurs - ownershipTimes - the times when a badge is owned by a user
The permitted/permanentlyForbiddenTimes are used to determine when a permission can be executed. Once a time is set to be permitted or forbidden, it is PERMANENT and cannot be changed. If a time is not set to be permitted or forbidden, it is considered NEUTRAL and can be updated but is ALLOWED by default.
IMPORTANT: We take first-match only for the permissions. This means that if you forbid time T in array index 0 and permit time T in index 1, we will only check the first permission (forbid time T) and not the second permission (permit time T).
func (*CollectionPermissions) Descriptor
deprecated
func (*CollectionPermissions) Descriptor() ([]byte, []int)
Deprecated: Use CollectionPermissions.ProtoReflect.Descriptor instead.
func (*CollectionPermissions) GetCanArchiveCollection ¶
func (x *CollectionPermissions) GetCanArchiveCollection() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanDeleteCollection ¶
func (x *CollectionPermissions) GetCanDeleteCollection() []*ActionPermission
func (*CollectionPermissions) GetCanUpdateBadgeMetadata ¶
func (x *CollectionPermissions) GetCanUpdateBadgeMetadata() []*TimedUpdateWithBadgeIdsPermission
func (*CollectionPermissions) GetCanUpdateCollectionApprovals ¶
func (x *CollectionPermissions) GetCanUpdateCollectionApprovals() []*CollectionApprovalPermission
func (*CollectionPermissions) GetCanUpdateCollectionMetadata ¶
func (x *CollectionPermissions) GetCanUpdateCollectionMetadata() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateCustomData ¶
func (x *CollectionPermissions) GetCanUpdateCustomData() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateManager ¶
func (x *CollectionPermissions) GetCanUpdateManager() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateOffChainBalancesMetadata ¶
func (x *CollectionPermissions) GetCanUpdateOffChainBalancesMetadata() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateStandards ¶
func (x *CollectionPermissions) GetCanUpdateStandards() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateValidBadgeIds ¶
func (x *CollectionPermissions) GetCanUpdateValidBadgeIds() []*BadgeIdsActionPermission
func (*CollectionPermissions) ProtoMessage ¶
func (*CollectionPermissions) ProtoMessage()
func (*CollectionPermissions) ProtoReflect ¶
func (x *CollectionPermissions) ProtoReflect() protoreflect.Message
func (*CollectionPermissions) Reset ¶
func (x *CollectionPermissions) Reset()
func (*CollectionPermissions) String ¶
func (x *CollectionPermissions) String() string
type ContractAddressTimeline ¶
type ContractAddressTimeline struct {
// The contract address for a specific timeline element.
ContractAddress string `protobuf:"bytes,1,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
// The timeline times when the contract address is valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
ContractAddressTimeline defines the contract address at different timeline times.
func (*ContractAddressTimeline) Descriptor
deprecated
func (*ContractAddressTimeline) Descriptor() ([]byte, []int)
Deprecated: Use ContractAddressTimeline.ProtoReflect.Descriptor instead.
func (*ContractAddressTimeline) GetContractAddress ¶
func (x *ContractAddressTimeline) GetContractAddress() string
func (*ContractAddressTimeline) GetTimelineTimes ¶
func (x *ContractAddressTimeline) GetTimelineTimes() []*UintRange
func (*ContractAddressTimeline) ProtoMessage ¶
func (*ContractAddressTimeline) ProtoMessage()
func (*ContractAddressTimeline) ProtoReflect ¶
func (x *ContractAddressTimeline) ProtoReflect() protoreflect.Message
func (*ContractAddressTimeline) Reset ¶
func (x *ContractAddressTimeline) Reset()
func (*ContractAddressTimeline) String ¶
func (x *ContractAddressTimeline) String() string
type CustomDataTimeline ¶
type CustomDataTimeline struct {
// The custom data for a specific timeline element.
CustomData string `protobuf:"bytes,1,opt,name=customData,proto3" json:"customData,omitempty"`
// The timeline times when the custom data is valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
CustomDataTimeline defines custom data at different timeline times.
func (*CustomDataTimeline) Descriptor
deprecated
func (*CustomDataTimeline) Descriptor() ([]byte, []int)
Deprecated: Use CustomDataTimeline.ProtoReflect.Descriptor instead.
func (*CustomDataTimeline) GetCustomData ¶
func (x *CustomDataTimeline) GetCustomData() string
func (*CustomDataTimeline) GetTimelineTimes ¶
func (x *CustomDataTimeline) GetTimelineTimes() []*UintRange
func (*CustomDataTimeline) ProtoMessage ¶
func (*CustomDataTimeline) ProtoMessage()
func (*CustomDataTimeline) ProtoReflect ¶
func (x *CustomDataTimeline) ProtoReflect() protoreflect.Message
func (*CustomDataTimeline) Reset ¶
func (x *CustomDataTimeline) Reset()
func (*CustomDataTimeline) String ¶
func (x *CustomDataTimeline) String() string
type GenesisState ¶
type GenesisState struct {
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
Collections []*BadgeCollection `protobuf:"bytes,3,rep,name=collections,proto3" json:"collections,omitempty"`
NextCollectionId string `protobuf:"bytes,4,opt,name=nextCollectionId,proto3" json:"nextCollectionId,omitempty"`
Balances []*UserBalanceStore `protobuf:"bytes,5,rep,name=balances,proto3" json:"balances,omitempty"`
BalanceStoreKeys []string `protobuf:"bytes,6,rep,name=balanceStoreKeys,proto3" json:"balanceStoreKeys,omitempty"`
ChallengeTrackers []string `protobuf:"bytes,7,rep,name=challengeTrackers,proto3" json:"challengeTrackers,omitempty"`
ChallengeTrackerStoreKeys []string `protobuf:"bytes,8,rep,name=challengeTrackerStoreKeys,proto3" json:"challengeTrackerStoreKeys,omitempty"`
AddressLists []*AddressList `protobuf:"bytes,9,rep,name=addressLists,proto3" json:"addressLists,omitempty"`
ApprovalTrackers []*ApprovalTracker `protobuf:"bytes,10,rep,name=approvalTrackers,proto3" json:"approvalTrackers,omitempty"`
ApprovalTrackerStoreKeys []string `protobuf:"bytes,11,rep,name=approvalTrackerStoreKeys,proto3" json:"approvalTrackerStoreKeys,omitempty"` // this line is used by starport scaffolding # genesis/proto/state
// contains filtered or unexported fields
}
GenesisState defines the badges module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetAddressLists ¶
func (x *GenesisState) GetAddressLists() []*AddressList
func (*GenesisState) GetApprovalTrackerStoreKeys ¶
func (x *GenesisState) GetApprovalTrackerStoreKeys() []string
func (*GenesisState) GetApprovalTrackers ¶
func (x *GenesisState) GetApprovalTrackers() []*ApprovalTracker
func (*GenesisState) GetBalanceStoreKeys ¶
func (x *GenesisState) GetBalanceStoreKeys() []string
func (*GenesisState) GetBalances ¶
func (x *GenesisState) GetBalances() []*UserBalanceStore
func (*GenesisState) GetChallengeTrackerStoreKeys ¶
func (x *GenesisState) GetChallengeTrackerStoreKeys() []string
func (*GenesisState) GetChallengeTrackers ¶
func (x *GenesisState) GetChallengeTrackers() []string
func (*GenesisState) GetCollections ¶
func (x *GenesisState) GetCollections() []*BadgeCollection
func (*GenesisState) GetNextCollectionId ¶
func (x *GenesisState) GetNextCollectionId() string
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetPortId ¶
func (x *GenesisState) GetPortId() string
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type IncomingApprovalCriteria ¶
type IncomingApprovalCriteria struct {
// Merkle challenge that must be satisfied for approval.
MerkleChallenges []*MerkleChallenge `protobuf:"bytes,1,rep,name=merkleChallenges,proto3" json:"merkleChallenges,omitempty"`
// Predetermined balances for eeach approval.
PredeterminedBalances *PredeterminedBalances `protobuf:"bytes,2,opt,name=predeterminedBalances,proto3" json:"predeterminedBalances,omitempty"`
// Threshold limit of amounts that can be transferred using this approval.
ApprovalAmounts *ApprovalAmounts `protobuf:"bytes,3,opt,name=approvalAmounts,proto3" json:"approvalAmounts,omitempty"`
// Maximum number of transfers that can be processed using this approval.
MaxNumTransfers *MaxNumTransfers `protobuf:"bytes,4,opt,name=maxNumTransfers,proto3" json:"maxNumTransfers,omitempty"`
// The sdk.Coins that need to be transferred for approval.
CoinTransfers []*CoinTransfer `protobuf:"bytes,5,rep,name=coinTransfers,proto3" json:"coinTransfers,omitempty"`
// Require the "from" address to be equal to the "initiated by" address for approval.
RequireFromEqualsInitiatedBy bool `protobuf:"varint,6,opt,name=requireFromEqualsInitiatedBy,proto3" json:"requireFromEqualsInitiatedBy,omitempty"`
// Require the "from" address to not be equal to the "initiated by" address for approval.
RequireFromDoesNotEqualInitiatedBy bool `protobuf:"varint,7,opt,name=requireFromDoesNotEqualInitiatedBy,proto3" json:"requireFromDoesNotEqualInitiatedBy,omitempty"`
// contains filtered or unexported fields
}
IncomingApprovalCriteria defines the criteria for approving incoming transfers.
func (*IncomingApprovalCriteria) Descriptor
deprecated
func (*IncomingApprovalCriteria) Descriptor() ([]byte, []int)
Deprecated: Use IncomingApprovalCriteria.ProtoReflect.Descriptor instead.
func (*IncomingApprovalCriteria) GetApprovalAmounts ¶
func (x *IncomingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
func (*IncomingApprovalCriteria) GetCoinTransfers ¶
func (x *IncomingApprovalCriteria) GetCoinTransfers() []*CoinTransfer
func (*IncomingApprovalCriteria) GetMaxNumTransfers ¶
func (x *IncomingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
func (*IncomingApprovalCriteria) GetMerkleChallenges ¶
func (x *IncomingApprovalCriteria) GetMerkleChallenges() []*MerkleChallenge
func (*IncomingApprovalCriteria) GetPredeterminedBalances ¶
func (x *IncomingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
func (*IncomingApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy ¶
func (x *IncomingApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
func (*IncomingApprovalCriteria) GetRequireFromEqualsInitiatedBy ¶
func (x *IncomingApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
func (*IncomingApprovalCriteria) ProtoMessage ¶
func (*IncomingApprovalCriteria) ProtoMessage()
func (*IncomingApprovalCriteria) ProtoReflect ¶
func (x *IncomingApprovalCriteria) ProtoReflect() protoreflect.Message
func (*IncomingApprovalCriteria) Reset ¶
func (x *IncomingApprovalCriteria) Reset()
func (*IncomingApprovalCriteria) String ¶
func (x *IncomingApprovalCriteria) String() string
type IncrementedBalances ¶
type IncrementedBalances struct {
StartBalances []*Balance `protobuf:"bytes,1,rep,name=startBalances,proto3" json:"startBalances,omitempty"`
// The amount by which to increment badge IDs.
IncrementBadgeIdsBy string `protobuf:"bytes,2,opt,name=incrementBadgeIdsBy,proto3" json:"incrementBadgeIdsBy,omitempty"`
// The amount by which to increment ownership times.
IncrementOwnershipTimesBy string `protobuf:"bytes,3,opt,name=incrementOwnershipTimesBy,proto3" json:"incrementOwnershipTimesBy,omitempty"`
// contains filtered or unexported fields
}
IncrementedBalances represents balances that are incremented by specific amounts, according to the order calculation method.
func (*IncrementedBalances) Descriptor
deprecated
func (*IncrementedBalances) Descriptor() ([]byte, []int)
Deprecated: Use IncrementedBalances.ProtoReflect.Descriptor instead.
func (*IncrementedBalances) GetIncrementBadgeIdsBy ¶
func (x *IncrementedBalances) GetIncrementBadgeIdsBy() string
func (*IncrementedBalances) GetIncrementOwnershipTimesBy ¶
func (x *IncrementedBalances) GetIncrementOwnershipTimesBy() string
func (*IncrementedBalances) GetStartBalances ¶
func (x *IncrementedBalances) GetStartBalances() []*Balance
func (*IncrementedBalances) ProtoMessage ¶
func (*IncrementedBalances) ProtoMessage()
func (*IncrementedBalances) ProtoReflect ¶
func (x *IncrementedBalances) ProtoReflect() protoreflect.Message
func (*IncrementedBalances) Reset ¶
func (x *IncrementedBalances) Reset()
func (*IncrementedBalances) String ¶
func (x *IncrementedBalances) String() string
type IsArchivedTimeline ¶
type IsArchivedTimeline struct {
// Indicates whether the collection is archived for a specific timeline element.
IsArchived bool `protobuf:"varint,1,opt,name=isArchived,proto3" json:"isArchived,omitempty"`
// The timeline times when the archived status is valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
IsArchivedTimeline defines whether a collection is archived at different timeline times.
func (*IsArchivedTimeline) Descriptor
deprecated
func (*IsArchivedTimeline) Descriptor() ([]byte, []int)
Deprecated: Use IsArchivedTimeline.ProtoReflect.Descriptor instead.
func (*IsArchivedTimeline) GetIsArchived ¶
func (x *IsArchivedTimeline) GetIsArchived() bool
func (*IsArchivedTimeline) GetTimelineTimes ¶
func (x *IsArchivedTimeline) GetTimelineTimes() []*UintRange
func (*IsArchivedTimeline) ProtoMessage ¶
func (*IsArchivedTimeline) ProtoMessage()
func (*IsArchivedTimeline) ProtoReflect ¶
func (x *IsArchivedTimeline) ProtoReflect() protoreflect.Message
func (*IsArchivedTimeline) Reset ¶
func (x *IsArchivedTimeline) Reset()
func (*IsArchivedTimeline) String ¶
func (x *IsArchivedTimeline) String() string
type ManagerTimeline ¶
type ManagerTimeline struct {
// The manager address for a specific timeline element.
Manager string `protobuf:"bytes,1,opt,name=manager,proto3" json:"manager,omitempty"`
// The timeline times when the manager address is valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
ManagerTimeline defines the manager address at different timeline times.
func (*ManagerTimeline) Descriptor
deprecated
func (*ManagerTimeline) Descriptor() ([]byte, []int)
Deprecated: Use ManagerTimeline.ProtoReflect.Descriptor instead.
func (*ManagerTimeline) GetManager ¶
func (x *ManagerTimeline) GetManager() string
func (*ManagerTimeline) GetTimelineTimes ¶
func (x *ManagerTimeline) GetTimelineTimes() []*UintRange
func (*ManagerTimeline) ProtoMessage ¶
func (*ManagerTimeline) ProtoMessage()
func (*ManagerTimeline) ProtoReflect ¶
func (x *ManagerTimeline) ProtoReflect() protoreflect.Message
func (*ManagerTimeline) Reset ¶
func (x *ManagerTimeline) Reset()
func (*ManagerTimeline) String ¶
func (x *ManagerTimeline) String() string
type ManualBalances ¶
type ManualBalances struct {
Balances []*Balance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
// contains filtered or unexported fields
}
ManualBalances represents a list of manual balances entered for the predetermined balances criteria. Order is calculated according to the calculation method set.
func (*ManualBalances) Descriptor
deprecated
func (*ManualBalances) Descriptor() ([]byte, []int)
Deprecated: Use ManualBalances.ProtoReflect.Descriptor instead.
func (*ManualBalances) GetBalances ¶
func (x *ManualBalances) GetBalances() []*Balance
func (*ManualBalances) ProtoMessage ¶
func (*ManualBalances) ProtoMessage()
func (*ManualBalances) ProtoReflect ¶
func (x *ManualBalances) ProtoReflect() protoreflect.Message
func (*ManualBalances) Reset ¶
func (x *ManualBalances) Reset()
func (*ManualBalances) String ¶
func (x *ManualBalances) String() string
type MaxNumTransfers ¶
type MaxNumTransfers struct {
// Overall maximum number of transfers.
OverallMaxNumTransfers string `protobuf:"bytes,1,opt,name=overallMaxNumTransfers,proto3" json:"overallMaxNumTransfers,omitempty"`
// Maximum number of transfers per "to" address.
PerToAddressMaxNumTransfers string `protobuf:"bytes,2,opt,name=perToAddressMaxNumTransfers,proto3" json:"perToAddressMaxNumTransfers,omitempty"`
// Maximum number of transfers per "from" address.
PerFromAddressMaxNumTransfers string `protobuf:"bytes,3,opt,name=perFromAddressMaxNumTransfers,proto3" json:"perFromAddressMaxNumTransfers,omitempty"`
// Maximum number of transfers per "initiated by" address.
PerInitiatedByAddressMaxNumTransfers string `protobuf:"bytes,4,opt,name=perInitiatedByAddressMaxNumTransfers,proto3" json:"perInitiatedByAddressMaxNumTransfers,omitempty"`
// The ID of the amount tracker associated with this approval.
// We use this ID to track the number of transfers and amounts transferred.
AmountTrackerId string `protobuf:"bytes,6,opt,name=amountTrackerId,proto3" json:"amountTrackerId,omitempty"`
// contains filtered or unexported fields
}
MaxNumTransfers defines the maximum number of transfers per unique "from," "to," and/or "initiated by" address. If any of these are nil or "0", we assume unlimited approvals. If they are set to a value, then the running tally of the number of transfers for the specified badge IDs and ownership times must not exceed the corresponding value.
func (*MaxNumTransfers) Descriptor
deprecated
func (*MaxNumTransfers) Descriptor() ([]byte, []int)
Deprecated: Use MaxNumTransfers.ProtoReflect.Descriptor instead.
func (*MaxNumTransfers) GetAmountTrackerId ¶
func (x *MaxNumTransfers) GetAmountTrackerId() string
func (*MaxNumTransfers) GetOverallMaxNumTransfers ¶
func (x *MaxNumTransfers) GetOverallMaxNumTransfers() string
func (*MaxNumTransfers) GetPerFromAddressMaxNumTransfers ¶
func (x *MaxNumTransfers) GetPerFromAddressMaxNumTransfers() string
func (*MaxNumTransfers) GetPerInitiatedByAddressMaxNumTransfers ¶
func (x *MaxNumTransfers) GetPerInitiatedByAddressMaxNumTransfers() string
func (*MaxNumTransfers) GetPerToAddressMaxNumTransfers ¶
func (x *MaxNumTransfers) GetPerToAddressMaxNumTransfers() string
func (*MaxNumTransfers) ProtoMessage ¶
func (*MaxNumTransfers) ProtoMessage()
func (*MaxNumTransfers) ProtoReflect ¶
func (x *MaxNumTransfers) ProtoReflect() protoreflect.Message
func (*MaxNumTransfers) Reset ¶
func (x *MaxNumTransfers) Reset()
func (*MaxNumTransfers) String ¶
func (x *MaxNumTransfers) String() string
type MerkleChallenge ¶
type MerkleChallenge struct {
// The root hash of the Merkle tree to which the Merkle path must lead for verification.
Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
// The expected length of the Merkle path for verification. Used to prevent Merkle path truncation attacks.
ExpectedProofLength string `protobuf:"bytes,2,opt,name=expectedProofLength,proto3" json:"expectedProofLength,omitempty"`
// If true, we will override the user's leaf for their proof with their creator address. Used for whitelist trees where all leaves are valid BitBadges addresses.
UseCreatorAddressAsLeaf bool `protobuf:"varint,3,opt,name=useCreatorAddressAsLeaf,proto3" json:"useCreatorAddressAsLeaf,omitempty"`
// The maximum number of times each leaf can be used. Must be 1 if useCreatorAddressAsLeaf is false to prevent replay attacks.
MaxUsesPerLeaf string `protobuf:"bytes,4,opt,name=maxUsesPerLeaf,proto3" json:"maxUsesPerLeaf,omitempty"`
// The URI associated with this Merkle challenge, optionally providing metadata about the challenge.
Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
// Arbitrary custom data associated with this Merkle challenge.
CustomData string `protobuf:"bytes,6,opt,name=customData,proto3" json:"customData,omitempty"`
// The ID of this Merkle challenge for tracking the number of uses per leaf.
ChallengeTrackerId string `protobuf:"bytes,7,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,omitempty"`
// contains filtered or unexported fields
}
Challenges define a rule for the approval in the form of a Merkle challenge.
A Merkle challenge is a challenge where the user must provide a Merkle proof to a Merkle tree. If they provide a valid proof, then the challenge is met. All challenges must be met with valid solutions for the transfer to be approved.
IMPORTANT: Merkle challenges currently are limited to SHA256 hashes. See documentation for MerkleChallenge for more details and tutorials.
IMPORTANT: We track the number of uses per leaf according to the challengeTrackerId specified by the parent approval of this challenge. If you update the challenge ID, then the used leaves tracker will reset and start a new tally. We recommend using a unique challenge ID for each challenge to prevent overlap and unexpected behavior.
func (*MerkleChallenge) Descriptor
deprecated
func (*MerkleChallenge) Descriptor() ([]byte, []int)
Deprecated: Use MerkleChallenge.ProtoReflect.Descriptor instead.
func (*MerkleChallenge) GetChallengeTrackerId ¶
func (x *MerkleChallenge) GetChallengeTrackerId() string
func (*MerkleChallenge) GetCustomData ¶
func (x *MerkleChallenge) GetCustomData() string
func (*MerkleChallenge) GetExpectedProofLength ¶
func (x *MerkleChallenge) GetExpectedProofLength() string
func (*MerkleChallenge) GetMaxUsesPerLeaf ¶
func (x *MerkleChallenge) GetMaxUsesPerLeaf() string
func (*MerkleChallenge) GetRoot ¶
func (x *MerkleChallenge) GetRoot() string
func (*MerkleChallenge) GetUri ¶
func (x *MerkleChallenge) GetUri() string
func (*MerkleChallenge) GetUseCreatorAddressAsLeaf ¶
func (x *MerkleChallenge) GetUseCreatorAddressAsLeaf() bool
func (*MerkleChallenge) ProtoMessage ¶
func (*MerkleChallenge) ProtoMessage()
func (*MerkleChallenge) ProtoReflect ¶
func (x *MerkleChallenge) ProtoReflect() protoreflect.Message
func (*MerkleChallenge) Reset ¶
func (x *MerkleChallenge) Reset()
func (*MerkleChallenge) String ¶
func (x *MerkleChallenge) String() string
type MerklePathItem ¶
type MerklePathItem struct {
// The hash of the sibling node (aunt) in the Merkle path.
Aunt string `protobuf:"bytes,1,opt,name=aunt,proto3" json:"aunt,omitempty"`
// Indicates whether the aunt node is on the right side of the path.
OnRight bool `protobuf:"varint,2,opt,name=onRight,proto3" json:"onRight,omitempty"`
// contains filtered or unexported fields
}
MerklePathItem represents an item in a Merkle path.
func (*MerklePathItem) Descriptor
deprecated
func (*MerklePathItem) Descriptor() ([]byte, []int)
Deprecated: Use MerklePathItem.ProtoReflect.Descriptor instead.
func (*MerklePathItem) GetAunt ¶
func (x *MerklePathItem) GetAunt() string
func (*MerklePathItem) GetOnRight ¶
func (x *MerklePathItem) GetOnRight() bool
func (*MerklePathItem) ProtoMessage ¶
func (*MerklePathItem) ProtoMessage()
func (*MerklePathItem) ProtoReflect ¶
func (x *MerklePathItem) ProtoReflect() protoreflect.Message
func (*MerklePathItem) Reset ¶
func (x *MerklePathItem) Reset()
func (*MerklePathItem) String ¶
func (x *MerklePathItem) String() string
type MerkleProof ¶
type MerkleProof struct {
// The hash of the leaf node for which the proof is generated.
Leaf string `protobuf:"bytes,1,opt,name=leaf,proto3" json:"leaf,omitempty"`
// List of Merkle path items (aunts) that make up the proof.
Aunts []*MerklePathItem `protobuf:"bytes,2,rep,name=aunts,proto3" json:"aunts,omitempty"`
// contains filtered or unexported fields
}
MerkleProof represents a Merkle proof, consistent with Tendermint/Crypto Merkle tree.
func (*MerkleProof) Descriptor
deprecated
func (*MerkleProof) Descriptor() ([]byte, []int)
Deprecated: Use MerkleProof.ProtoReflect.Descriptor instead.
func (*MerkleProof) GetAunts ¶
func (x *MerkleProof) GetAunts() []*MerklePathItem
func (*MerkleProof) GetLeaf ¶
func (x *MerkleProof) GetLeaf() string
func (*MerkleProof) ProtoMessage ¶
func (*MerkleProof) ProtoMessage()
func (*MerkleProof) ProtoReflect ¶
func (x *MerkleProof) ProtoReflect() protoreflect.Message
func (*MerkleProof) Reset ¶
func (x *MerkleProof) Reset()
func (*MerkleProof) String ¶
func (x *MerkleProof) String() string
type MsgArchiveCollection ¶
type MsgArchiveCollection struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
IsArchivedTimeline []*IsArchivedTimeline `protobuf:"bytes,3,rep,name=isArchivedTimeline,proto3" json:"isArchivedTimeline,omitempty"`
// contains filtered or unexported fields
}
func (*MsgArchiveCollection) Descriptor
deprecated
func (*MsgArchiveCollection) Descriptor() ([]byte, []int)
Deprecated: Use MsgArchiveCollection.ProtoReflect.Descriptor instead.
func (*MsgArchiveCollection) GetCollectionId ¶
func (x *MsgArchiveCollection) GetCollectionId() string
func (*MsgArchiveCollection) GetCreator ¶
func (x *MsgArchiveCollection) GetCreator() string
func (*MsgArchiveCollection) GetIsArchivedTimeline ¶
func (x *MsgArchiveCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgArchiveCollection) ProtoMessage ¶
func (*MsgArchiveCollection) ProtoMessage()
func (*MsgArchiveCollection) ProtoReflect ¶
func (x *MsgArchiveCollection) ProtoReflect() protoreflect.Message
func (*MsgArchiveCollection) Reset ¶
func (x *MsgArchiveCollection) Reset()
func (*MsgArchiveCollection) String ¶
func (x *MsgArchiveCollection) String() string
type MsgArchiveCollectionResponse ¶
type MsgArchiveCollectionResponse struct {
// contains filtered or unexported fields
}
func (*MsgArchiveCollectionResponse) Descriptor
deprecated
func (*MsgArchiveCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgArchiveCollectionResponse.ProtoReflect.Descriptor instead.
func (*MsgArchiveCollectionResponse) ProtoMessage ¶
func (*MsgArchiveCollectionResponse) ProtoMessage()
func (*MsgArchiveCollectionResponse) ProtoReflect ¶
func (x *MsgArchiveCollectionResponse) ProtoReflect() protoreflect.Message
func (*MsgArchiveCollectionResponse) Reset ¶
func (x *MsgArchiveCollectionResponse) Reset()
func (*MsgArchiveCollectionResponse) String ¶
func (x *MsgArchiveCollectionResponse) String() string
type MsgClient ¶
type MsgClient interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
UniversalUpdateCollection(ctx context.Context, in *MsgUniversalUpdateCollection, opts ...grpc.CallOption) (*MsgUniversalUpdateCollectionResponse, error)
CreateAddressLists(ctx context.Context, in *MsgCreateAddressLists, opts ...grpc.CallOption) (*MsgCreateAddressListsResponse, error)
TransferBadges(ctx context.Context, in *MsgTransferBadges, opts ...grpc.CallOption) (*MsgTransferBadgesResponse, error)
UpdateUserApprovals(ctx context.Context, in *MsgUpdateUserApprovals, opts ...grpc.CallOption) (*MsgUpdateUserApprovalsResponse, error)
DeleteCollection(ctx context.Context, in *MsgDeleteCollection, opts ...grpc.CallOption) (*MsgDeleteCollectionResponse, error)
UpdateCollection(ctx context.Context, in *MsgUpdateCollection, opts ...grpc.CallOption) (*MsgUpdateCollectionResponse, error)
CreateCollection(ctx context.Context, in *MsgCreateCollection, opts ...grpc.CallOption) (*MsgCreateCollectionResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreateAddressLists ¶
type MsgCreateAddressLists struct {
// Address of the creator.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// Address lists to create.
AddressLists []*AddressList `protobuf:"bytes,2,rep,name=addressLists,proto3" json:"addressLists,omitempty"`
// contains filtered or unexported fields
}
MsgCreateAddressLists is used to create address lists.
func (*MsgCreateAddressLists) Descriptor
deprecated
func (*MsgCreateAddressLists) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateAddressLists.ProtoReflect.Descriptor instead.
func (*MsgCreateAddressLists) GetAddressLists ¶
func (x *MsgCreateAddressLists) GetAddressLists() []*AddressList
func (*MsgCreateAddressLists) GetCreator ¶
func (x *MsgCreateAddressLists) GetCreator() string
func (*MsgCreateAddressLists) ProtoMessage ¶
func (*MsgCreateAddressLists) ProtoMessage()
func (*MsgCreateAddressLists) ProtoReflect ¶
func (x *MsgCreateAddressLists) ProtoReflect() protoreflect.Message
func (*MsgCreateAddressLists) Reset ¶
func (x *MsgCreateAddressLists) Reset()
func (*MsgCreateAddressLists) String ¶
func (x *MsgCreateAddressLists) String() string
type MsgCreateAddressListsResponse ¶
type MsgCreateAddressListsResponse struct {
// contains filtered or unexported fields
}
MsgCreateAddressListsResponse is the response to MsgCreateAddressLists.
func (*MsgCreateAddressListsResponse) Descriptor
deprecated
func (*MsgCreateAddressListsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateAddressListsResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateAddressListsResponse) ProtoMessage ¶
func (*MsgCreateAddressListsResponse) ProtoMessage()
func (*MsgCreateAddressListsResponse) ProtoReflect ¶
func (x *MsgCreateAddressListsResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateAddressListsResponse) Reset ¶
func (x *MsgCreateAddressListsResponse) Reset()
func (*MsgCreateAddressListsResponse) String ¶
func (x *MsgCreateAddressListsResponse) String() string
type MsgCreateCollection ¶
type MsgCreateCollection struct {
// Address of the creator.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// Type of balances "Standard" or "Off-Chain - Indexed" or "Off-Chain - Non-Indexed" or "Non-Public".
BalancesType string `protobuf:"bytes,2,opt,name=balancesType,proto3" json:"balancesType,omitempty"`
// The default balances for the user
DefaultBalances *UserBalanceStore `protobuf:"bytes,4,opt,name=defaultBalances,proto3" json:"defaultBalances,omitempty"`
// New badge IDs to add to this collection
BadgeIdsToAdd []*UintRange `protobuf:"bytes,5,rep,name=badgeIdsToAdd,proto3" json:"badgeIdsToAdd,omitempty"`
// Collection permissions.
CollectionPermissions *CollectionPermissions `protobuf:"bytes,6,opt,name=collectionPermissions,proto3" json:"collectionPermissions,omitempty"`
// Manager timeline entries.
ManagerTimeline []*ManagerTimeline `protobuf:"bytes,7,rep,name=managerTimeline,proto3" json:"managerTimeline,omitempty"`
// Collection metadata timeline entries.
CollectionMetadataTimeline []*CollectionMetadataTimeline `protobuf:"bytes,8,rep,name=collectionMetadataTimeline,proto3" json:"collectionMetadataTimeline,omitempty"`
// Badge metadata timeline entries.
BadgeMetadataTimeline []*BadgeMetadataTimeline `protobuf:"bytes,9,rep,name=badgeMetadataTimeline,proto3" json:"badgeMetadataTimeline,omitempty"`
// Off-chain balances metadata timeline entries.
OffChainBalancesMetadataTimeline []*OffChainBalancesMetadataTimeline `protobuf:"bytes,10,rep,name=offChainBalancesMetadataTimeline,proto3" json:"offChainBalancesMetadataTimeline,omitempty"`
// Custom data timeline entries.
CustomDataTimeline []*CustomDataTimeline `protobuf:"bytes,11,rep,name=customDataTimeline,proto3" json:"customDataTimeline,omitempty"`
// Collection approvals.
CollectionApprovals []*CollectionApproval `protobuf:"bytes,12,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
// Standards timeline entries.
StandardsTimeline []*StandardsTimeline `protobuf:"bytes,13,rep,name=standardsTimeline,proto3" json:"standardsTimeline,omitempty"`
// isArchived timeline entries.
IsArchivedTimeline []*IsArchivedTimeline `protobuf:"bytes,14,rep,name=isArchivedTimeline,proto3" json:"isArchivedTimeline,omitempty"`
// contains filtered or unexported fields
}
MsgCreateCollection is used to create a new collection.
func (*MsgCreateCollection) Descriptor
deprecated
func (*MsgCreateCollection) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateCollection.ProtoReflect.Descriptor instead.
func (*MsgCreateCollection) GetBadgeIdsToAdd ¶
func (x *MsgCreateCollection) GetBadgeIdsToAdd() []*UintRange
func (*MsgCreateCollection) GetBadgeMetadataTimeline ¶
func (x *MsgCreateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgCreateCollection) GetBalancesType ¶
func (x *MsgCreateCollection) GetBalancesType() string
func (*MsgCreateCollection) GetCollectionApprovals ¶
func (x *MsgCreateCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgCreateCollection) GetCollectionMetadataTimeline ¶
func (x *MsgCreateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgCreateCollection) GetCollectionPermissions ¶
func (x *MsgCreateCollection) GetCollectionPermissions() *CollectionPermissions
func (*MsgCreateCollection) GetCreator ¶
func (x *MsgCreateCollection) GetCreator() string
func (*MsgCreateCollection) GetCustomDataTimeline ¶
func (x *MsgCreateCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgCreateCollection) GetDefaultBalances ¶
func (x *MsgCreateCollection) GetDefaultBalances() *UserBalanceStore
func (*MsgCreateCollection) GetIsArchivedTimeline ¶
func (x *MsgCreateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgCreateCollection) GetManagerTimeline ¶
func (x *MsgCreateCollection) GetManagerTimeline() []*ManagerTimeline
func (*MsgCreateCollection) GetOffChainBalancesMetadataTimeline ¶
func (x *MsgCreateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgCreateCollection) GetStandardsTimeline ¶
func (x *MsgCreateCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgCreateCollection) ProtoMessage ¶
func (*MsgCreateCollection) ProtoMessage()
func (*MsgCreateCollection) ProtoReflect ¶
func (x *MsgCreateCollection) ProtoReflect() protoreflect.Message
func (*MsgCreateCollection) Reset ¶
func (x *MsgCreateCollection) Reset()
func (*MsgCreateCollection) String ¶
func (x *MsgCreateCollection) String() string
type MsgCreateCollectionResponse ¶
type MsgCreateCollectionResponse struct {
// ID of the badge collection.
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// contains filtered or unexported fields
}
MsgCreateCollectionResponse is the response to MsgCreateCollection.
func (*MsgCreateCollectionResponse) Descriptor
deprecated
func (*MsgCreateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateCollectionResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateCollectionResponse) GetCollectionId ¶
func (x *MsgCreateCollectionResponse) GetCollectionId() string
func (*MsgCreateCollectionResponse) ProtoMessage ¶
func (*MsgCreateCollectionResponse) ProtoMessage()
func (*MsgCreateCollectionResponse) ProtoReflect ¶
func (x *MsgCreateCollectionResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateCollectionResponse) Reset ¶
func (x *MsgCreateCollectionResponse) Reset()
func (*MsgCreateCollectionResponse) String ¶
func (x *MsgCreateCollectionResponse) String() string
type MsgDeleteCollection ¶
type MsgDeleteCollection struct {
// Address of the creator.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// ID of the collection.
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// contains filtered or unexported fields
}
MsgDeleteCollection is used to delete a collection.
func (*MsgDeleteCollection) Descriptor
deprecated
func (*MsgDeleteCollection) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeleteCollection.ProtoReflect.Descriptor instead.
func (*MsgDeleteCollection) GetCollectionId ¶
func (x *MsgDeleteCollection) GetCollectionId() string
func (*MsgDeleteCollection) GetCreator ¶
func (x *MsgDeleteCollection) GetCreator() string
func (*MsgDeleteCollection) ProtoMessage ¶
func (*MsgDeleteCollection) ProtoMessage()
func (*MsgDeleteCollection) ProtoReflect ¶
func (x *MsgDeleteCollection) ProtoReflect() protoreflect.Message
func (*MsgDeleteCollection) Reset ¶
func (x *MsgDeleteCollection) Reset()
func (*MsgDeleteCollection) String ¶
func (x *MsgDeleteCollection) String() string
type MsgDeleteCollectionResponse ¶
type MsgDeleteCollectionResponse struct {
// contains filtered or unexported fields
}
MsgDeleteCollectionResponse is the response to MsgDeleteCollection.
func (*MsgDeleteCollectionResponse) Descriptor
deprecated
func (*MsgDeleteCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeleteCollectionResponse.ProtoReflect.Descriptor instead.
func (*MsgDeleteCollectionResponse) ProtoMessage ¶
func (*MsgDeleteCollectionResponse) ProtoMessage()
func (*MsgDeleteCollectionResponse) ProtoReflect ¶
func (x *MsgDeleteCollectionResponse) ProtoReflect() protoreflect.Message
func (*MsgDeleteCollectionResponse) Reset ¶
func (x *MsgDeleteCollectionResponse) Reset()
func (*MsgDeleteCollectionResponse) String ¶
func (x *MsgDeleteCollectionResponse) String() string
type MsgMintAndDistributeBadges ¶
type MsgMintAndDistributeBadges struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
BadgesToCreate []*Balance `protobuf:"bytes,3,rep,name=badgesToCreate,proto3" json:"badgesToCreate,omitempty"`
Transfers []*Transfer `protobuf:"bytes,4,rep,name=transfers,proto3" json:"transfers,omitempty"`
CollectionMetadataTimeline []*CollectionMetadataTimeline `protobuf:"bytes,6,rep,name=collectionMetadataTimeline,proto3" json:"collectionMetadataTimeline,omitempty"`
BadgeMetadataTimeline []*BadgeMetadataTimeline `protobuf:"bytes,7,rep,name=badgeMetadataTimeline,proto3" json:"badgeMetadataTimeline,omitempty"`
OffChainBalancesMetadataTimeline []*OffChainBalancesMetadataTimeline `protobuf:"bytes,8,rep,name=offChainBalancesMetadataTimeline,proto3" json:"offChainBalancesMetadataTimeline,omitempty"`
CollectionApprovals []*CollectionApproval `protobuf:"bytes,9,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
AddressLists []*AddressList `protobuf:"bytes,10,rep,name=addressLists,proto3" json:"addressLists,omitempty"`
// contains filtered or unexported fields
}
This handles both minting more of existing badges and creating new badges.
func (*MsgMintAndDistributeBadges) Descriptor
deprecated
func (*MsgMintAndDistributeBadges) Descriptor() ([]byte, []int)
Deprecated: Use MsgMintAndDistributeBadges.ProtoReflect.Descriptor instead.
func (*MsgMintAndDistributeBadges) GetAddressLists ¶
func (x *MsgMintAndDistributeBadges) GetAddressLists() []*AddressList
func (*MsgMintAndDistributeBadges) GetBadgeMetadataTimeline ¶
func (x *MsgMintAndDistributeBadges) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgMintAndDistributeBadges) GetBadgesToCreate ¶
func (x *MsgMintAndDistributeBadges) GetBadgesToCreate() []*Balance
func (*MsgMintAndDistributeBadges) GetCollectionApprovals ¶
func (x *MsgMintAndDistributeBadges) GetCollectionApprovals() []*CollectionApproval
func (*MsgMintAndDistributeBadges) GetCollectionId ¶
func (x *MsgMintAndDistributeBadges) GetCollectionId() string
func (*MsgMintAndDistributeBadges) GetCollectionMetadataTimeline ¶
func (x *MsgMintAndDistributeBadges) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgMintAndDistributeBadges) GetCreator ¶
func (x *MsgMintAndDistributeBadges) GetCreator() string
func (*MsgMintAndDistributeBadges) GetOffChainBalancesMetadataTimeline ¶
func (x *MsgMintAndDistributeBadges) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgMintAndDistributeBadges) GetTransfers ¶
func (x *MsgMintAndDistributeBadges) GetTransfers() []*Transfer
func (*MsgMintAndDistributeBadges) ProtoMessage ¶
func (*MsgMintAndDistributeBadges) ProtoMessage()
func (*MsgMintAndDistributeBadges) ProtoReflect ¶
func (x *MsgMintAndDistributeBadges) ProtoReflect() protoreflect.Message
func (*MsgMintAndDistributeBadges) Reset ¶
func (x *MsgMintAndDistributeBadges) Reset()
func (*MsgMintAndDistributeBadges) String ¶
func (x *MsgMintAndDistributeBadges) String() string
type MsgMintAndDistributeBadgesResponse ¶
type MsgMintAndDistributeBadgesResponse struct {
// contains filtered or unexported fields
}
func (*MsgMintAndDistributeBadgesResponse) Descriptor
deprecated
func (*MsgMintAndDistributeBadgesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMintAndDistributeBadgesResponse.ProtoReflect.Descriptor instead.
func (*MsgMintAndDistributeBadgesResponse) ProtoMessage ¶
func (*MsgMintAndDistributeBadgesResponse) ProtoMessage()
func (*MsgMintAndDistributeBadgesResponse) ProtoReflect ¶
func (x *MsgMintAndDistributeBadgesResponse) ProtoReflect() protoreflect.Message
func (*MsgMintAndDistributeBadgesResponse) Reset ¶
func (x *MsgMintAndDistributeBadgesResponse) Reset()
func (*MsgMintAndDistributeBadgesResponse) String ¶
func (x *MsgMintAndDistributeBadgesResponse) String() string
type MsgNewCollection ¶
type MsgNewCollection struct {
// See collections.proto for more details about these MsgNewBadge fields. Defines the badge details. Leave unneeded fields empty.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionMetadataTimeline []*CollectionMetadataTimeline `protobuf:"bytes,2,rep,name=collectionMetadataTimeline,proto3" json:"collectionMetadataTimeline,omitempty"`
BadgeMetadataTimeline []*BadgeMetadataTimeline `protobuf:"bytes,3,rep,name=badgeMetadataTimeline,proto3" json:"badgeMetadataTimeline,omitempty"`
OffChainBalancesMetadataTimeline []*OffChainBalancesMetadataTimeline `protobuf:"bytes,4,rep,name=offChainBalancesMetadataTimeline,proto3" json:"offChainBalancesMetadataTimeline,omitempty"`
CustomDataTimeline []*CustomDataTimeline `protobuf:"bytes,5,rep,name=customDataTimeline,proto3" json:"customDataTimeline,omitempty"`
BalancesType string `protobuf:"bytes,6,opt,name=balancesType,proto3" json:"balancesType,omitempty"`
CollectionApprovals []*CollectionApproval `protobuf:"bytes,8,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
Permissions *CollectionPermissions `protobuf:"bytes,9,opt,name=permissions,proto3" json:"permissions,omitempty"`
StandardsTimeline []*StandardsTimeline `protobuf:"bytes,10,rep,name=standardsTimeline,proto3" json:"standardsTimeline,omitempty"`
// Badge supplys and amounts to create. For each idx, we create amounts[idx] badges each with a supply of supplys[idx].
// If supply[idx] == 0, we assume default supply. amountsToCreate[idx] can't equal 0.
BadgesToCreate []*Balance `protobuf:"bytes,11,rep,name=badgesToCreate,proto3" json:"badgesToCreate,omitempty"`
Transfers []*Transfer `protobuf:"bytes,12,rep,name=transfers,proto3" json:"transfers,omitempty"`
ContractAddressTimeline []*ContractAddressTimeline `protobuf:"bytes,13,rep,name=contractAddressTimeline,proto3" json:"contractAddressTimeline,omitempty"`
AddressLists []*AddressList `protobuf:"bytes,14,rep,name=addressLists,proto3" json:"addressLists,omitempty"`
DefaultOutgoingApprovals []*UserOutgoingApproval `protobuf:"bytes,15,rep,name=defaultOutgoingApprovals,proto3" json:"defaultOutgoingApprovals,omitempty"` //The user's approved transfers for each badge ID.
DefaultIncomingApprovals []*UserIncomingApproval `protobuf:"bytes,16,rep,name=defaultIncomingApprovals,proto3" json:"defaultIncomingApprovals,omitempty"` //The user's approved incoming transfers for each badge ID.
DefaultDisapproveSelfInitiated bool `protobuf:"varint,17,opt,name=defaultDisapproveSelfInitiated,proto3" json:"defaultDisapproveSelfInitiated,omitempty"`
// The default balances for the user
DefaultBalances []*Balance `protobuf:"bytes,18,rep,name=defaultBalances,proto3" json:"defaultBalances,omitempty"`
// contains filtered or unexported fields
}
func (*MsgNewCollection) Descriptor
deprecated
func (*MsgNewCollection) Descriptor() ([]byte, []int)
Deprecated: Use MsgNewCollection.ProtoReflect.Descriptor instead.
func (*MsgNewCollection) GetAddressLists ¶
func (x *MsgNewCollection) GetAddressLists() []*AddressList
func (*MsgNewCollection) GetBadgeMetadataTimeline ¶
func (x *MsgNewCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgNewCollection) GetBadgesToCreate ¶
func (x *MsgNewCollection) GetBadgesToCreate() []*Balance
func (*MsgNewCollection) GetBalancesType ¶
func (x *MsgNewCollection) GetBalancesType() string
func (*MsgNewCollection) GetCollectionApprovals ¶
func (x *MsgNewCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgNewCollection) GetCollectionMetadataTimeline ¶
func (x *MsgNewCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgNewCollection) GetContractAddressTimeline ¶
func (x *MsgNewCollection) GetContractAddressTimeline() []*ContractAddressTimeline
func (*MsgNewCollection) GetCreator ¶
func (x *MsgNewCollection) GetCreator() string
func (*MsgNewCollection) GetCustomDataTimeline ¶
func (x *MsgNewCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgNewCollection) GetDefaultBalances ¶
func (x *MsgNewCollection) GetDefaultBalances() []*Balance
func (*MsgNewCollection) GetDefaultDisapproveSelfInitiated ¶
func (x *MsgNewCollection) GetDefaultDisapproveSelfInitiated() bool
func (*MsgNewCollection) GetDefaultIncomingApprovals ¶
func (x *MsgNewCollection) GetDefaultIncomingApprovals() []*UserIncomingApproval
func (*MsgNewCollection) GetDefaultOutgoingApprovals ¶
func (x *MsgNewCollection) GetDefaultOutgoingApprovals() []*UserOutgoingApproval
func (*MsgNewCollection) GetOffChainBalancesMetadataTimeline ¶
func (x *MsgNewCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgNewCollection) GetPermissions ¶
func (x *MsgNewCollection) GetPermissions() *CollectionPermissions
func (*MsgNewCollection) GetStandardsTimeline ¶
func (x *MsgNewCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgNewCollection) GetTransfers ¶
func (x *MsgNewCollection) GetTransfers() []*Transfer
func (*MsgNewCollection) ProtoMessage ¶
func (*MsgNewCollection) ProtoMessage()
func (*MsgNewCollection) ProtoReflect ¶
func (x *MsgNewCollection) ProtoReflect() protoreflect.Message
func (*MsgNewCollection) Reset ¶
func (x *MsgNewCollection) Reset()
func (*MsgNewCollection) String ¶
func (x *MsgNewCollection) String() string
type MsgNewCollectionResponse ¶
type MsgNewCollectionResponse struct {
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"` //ID of created badge collecon
// contains filtered or unexported fields
}
func (*MsgNewCollectionResponse) Descriptor
deprecated
func (*MsgNewCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgNewCollectionResponse.ProtoReflect.Descriptor instead.
func (*MsgNewCollectionResponse) GetCollectionId ¶
func (x *MsgNewCollectionResponse) GetCollectionId() string
func (*MsgNewCollectionResponse) ProtoMessage ¶
func (*MsgNewCollectionResponse) ProtoMessage()
func (*MsgNewCollectionResponse) ProtoReflect ¶
func (x *MsgNewCollectionResponse) ProtoReflect() protoreflect.Message
func (*MsgNewCollectionResponse) Reset ¶
func (x *MsgNewCollectionResponse) Reset()
func (*MsgNewCollectionResponse) String ¶
func (x *MsgNewCollectionResponse) String() string
type MsgServer ¶
type MsgServer interface {
// UpdateParams defines a (governance) operation for updating the module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
UniversalUpdateCollection(context.Context, *MsgUniversalUpdateCollection) (*MsgUniversalUpdateCollectionResponse, error)
CreateAddressLists(context.Context, *MsgCreateAddressLists) (*MsgCreateAddressListsResponse, error)
TransferBadges(context.Context, *MsgTransferBadges) (*MsgTransferBadgesResponse, error)
UpdateUserApprovals(context.Context, *MsgUpdateUserApprovals) (*MsgUpdateUserApprovalsResponse, error)
DeleteCollection(context.Context, *MsgDeleteCollection) (*MsgDeleteCollectionResponse, error)
UpdateCollection(context.Context, *MsgUpdateCollection) (*MsgUpdateCollectionResponse, error)
CreateCollection(context.Context, *MsgCreateCollection) (*MsgCreateCollectionResponse, error)
// contains filtered or unexported methods
}
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgTransferBadges ¶
type MsgTransferBadges struct {
// Address of the creator.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// ID of the collection.
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// Transfers to execute.
Transfers []*Transfer `protobuf:"bytes,3,rep,name=transfers,proto3" json:"transfers,omitempty"`
// contains filtered or unexported fields
}
MsgTransferBadges is used to transfer badges.
func (*MsgTransferBadges) Descriptor
deprecated
func (*MsgTransferBadges) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferBadges.ProtoReflect.Descriptor instead.
func (*MsgTransferBadges) GetCollectionId ¶
func (x *MsgTransferBadges) GetCollectionId() string
func (*MsgTransferBadges) GetCreator ¶
func (x *MsgTransferBadges) GetCreator() string
func (*MsgTransferBadges) GetTransfers ¶
func (x *MsgTransferBadges) GetTransfers() []*Transfer
func (*MsgTransferBadges) ProtoMessage ¶
func (*MsgTransferBadges) ProtoMessage()
func (*MsgTransferBadges) ProtoReflect ¶
func (x *MsgTransferBadges) ProtoReflect() protoreflect.Message
func (*MsgTransferBadges) Reset ¶
func (x *MsgTransferBadges) Reset()
func (*MsgTransferBadges) String ¶
func (x *MsgTransferBadges) String() string
type MsgTransferBadgesResponse ¶
type MsgTransferBadgesResponse struct {
// contains filtered or unexported fields
}
MsgTransferBadgesResponse is the response to MsgTransferBadges.
func (*MsgTransferBadgesResponse) Descriptor
deprecated
func (*MsgTransferBadgesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferBadgesResponse.ProtoReflect.Descriptor instead.
func (*MsgTransferBadgesResponse) ProtoMessage ¶
func (*MsgTransferBadgesResponse) ProtoMessage()
func (*MsgTransferBadgesResponse) ProtoReflect ¶
func (x *MsgTransferBadgesResponse) ProtoReflect() protoreflect.Message
func (*MsgTransferBadgesResponse) Reset ¶
func (x *MsgTransferBadgesResponse) Reset()
func (*MsgTransferBadgesResponse) String ¶
func (x *MsgTransferBadgesResponse) String() string
type MsgUniversalUpdateCollection ¶
type MsgUniversalUpdateCollection struct {
// Address of the creator.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// ID of the collection (0 for new collection).
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// Type of balances "Standard" or "Off-Chain - Indexed" or "Off-Chain - Non-Indexed" or "Non-Public".
BalancesType string `protobuf:"bytes,3,opt,name=balancesType,proto3" json:"balancesType,omitempty"`
// The default balances for the user
DefaultBalances *UserBalanceStore `protobuf:"bytes,4,opt,name=defaultBalances,proto3" json:"defaultBalances,omitempty"`
// New badge IDs to add to this collection
BadgeIdsToAdd []*UintRange `protobuf:"bytes,6,rep,name=badgeIdsToAdd,proto3" json:"badgeIdsToAdd,omitempty"`
// Indicates if collection permissions should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCollectionPermissions bool `protobuf:"varint,7,opt,name=updateCollectionPermissions,proto3" json:"updateCollectionPermissions,omitempty"`
// New collection permissions to set.
CollectionPermissions *CollectionPermissions `protobuf:"bytes,8,opt,name=collectionPermissions,proto3" json:"collectionPermissions,omitempty"`
// Indicates if the manager timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateManagerTimeline bool `protobuf:"varint,9,opt,name=updateManagerTimeline,proto3" json:"updateManagerTimeline,omitempty"`
// New manager timeline to set.
ManagerTimeline []*ManagerTimeline `protobuf:"bytes,10,rep,name=managerTimeline,proto3" json:"managerTimeline,omitempty"`
// Indicates if the collection metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCollectionMetadataTimeline bool `protobuf:"varint,11,opt,name=updateCollectionMetadataTimeline,proto3" json:"updateCollectionMetadataTimeline,omitempty"`
// New collection metadata timeline to set.
CollectionMetadataTimeline []*CollectionMetadataTimeline `protobuf:"bytes,12,rep,name=collectionMetadataTimeline,proto3" json:"collectionMetadataTimeline,omitempty"`
// Indicates if the badge metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateBadgeMetadataTimeline bool `protobuf:"varint,13,opt,name=updateBadgeMetadataTimeline,proto3" json:"updateBadgeMetadataTimeline,omitempty"`
// New badge metadata timeline to set.
BadgeMetadataTimeline []*BadgeMetadataTimeline `protobuf:"bytes,14,rep,name=badgeMetadataTimeline,proto3" json:"badgeMetadataTimeline,omitempty"`
// Indicates if the off-chain balances metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateOffChainBalancesMetadataTimeline bool `` /* 131-byte string literal not displayed */
// New off-chain balances metadata timeline to set.
OffChainBalancesMetadataTimeline []*OffChainBalancesMetadataTimeline `protobuf:"bytes,16,rep,name=offChainBalancesMetadataTimeline,proto3" json:"offChainBalancesMetadataTimeline,omitempty"`
// Indicates if the custom data timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCustomDataTimeline bool `protobuf:"varint,17,opt,name=updateCustomDataTimeline,proto3" json:"updateCustomDataTimeline,omitempty"`
// New custom data timeline to set.
CustomDataTimeline []*CustomDataTimeline `protobuf:"bytes,18,rep,name=customDataTimeline,proto3" json:"customDataTimeline,omitempty"`
// Indicates if collection approvals should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCollectionApprovals bool `protobuf:"varint,21,opt,name=updateCollectionApprovals,proto3" json:"updateCollectionApprovals,omitempty"`
// New collection approvals to set.
CollectionApprovals []*CollectionApproval `protobuf:"bytes,22,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
// Indicates if the standards timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateStandardsTimeline bool `protobuf:"varint,23,opt,name=updateStandardsTimeline,proto3" json:"updateStandardsTimeline,omitempty"`
// New standards timeline to set.
StandardsTimeline []*StandardsTimeline `protobuf:"bytes,24,rep,name=standardsTimeline,proto3" json:"standardsTimeline,omitempty"`
// Indicates if the isArchived timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateIsArchivedTimeline bool `protobuf:"varint,25,opt,name=updateIsArchivedTimeline,proto3" json:"updateIsArchivedTimeline,omitempty"`
// New isArchived timeline to set.
IsArchivedTimeline []*IsArchivedTimeline `protobuf:"bytes,26,rep,name=isArchivedTimeline,proto3" json:"isArchivedTimeline,omitempty"`
// contains filtered or unexported fields
}
MsgUniversalUpdateCollection is used to define MsgServer types for all requests and responses for Msgs of the badges module. It is a universal interface that can be used for both creating and updating collections. We have it defined for legacy purposes, but it is recommended to use MsgCreateCollection and MsgUpdateCollection instead.
func (*MsgUniversalUpdateCollection) Descriptor
deprecated
func (*MsgUniversalUpdateCollection) Descriptor() ([]byte, []int)
Deprecated: Use MsgUniversalUpdateCollection.ProtoReflect.Descriptor instead.
func (*MsgUniversalUpdateCollection) GetBadgeIdsToAdd ¶
func (x *MsgUniversalUpdateCollection) GetBadgeIdsToAdd() []*UintRange
func (*MsgUniversalUpdateCollection) GetBadgeMetadataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgUniversalUpdateCollection) GetBalancesType ¶
func (x *MsgUniversalUpdateCollection) GetBalancesType() string
func (*MsgUniversalUpdateCollection) GetCollectionApprovals ¶
func (x *MsgUniversalUpdateCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgUniversalUpdateCollection) GetCollectionId ¶
func (x *MsgUniversalUpdateCollection) GetCollectionId() string
func (*MsgUniversalUpdateCollection) GetCollectionMetadataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgUniversalUpdateCollection) GetCollectionPermissions ¶
func (x *MsgUniversalUpdateCollection) GetCollectionPermissions() *CollectionPermissions
func (*MsgUniversalUpdateCollection) GetCreator ¶
func (x *MsgUniversalUpdateCollection) GetCreator() string
func (*MsgUniversalUpdateCollection) GetCustomDataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgUniversalUpdateCollection) GetDefaultBalances ¶
func (x *MsgUniversalUpdateCollection) GetDefaultBalances() *UserBalanceStore
func (*MsgUniversalUpdateCollection) GetIsArchivedTimeline ¶
func (x *MsgUniversalUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgUniversalUpdateCollection) GetManagerTimeline ¶
func (x *MsgUniversalUpdateCollection) GetManagerTimeline() []*ManagerTimeline
func (*MsgUniversalUpdateCollection) GetOffChainBalancesMetadataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgUniversalUpdateCollection) GetStandardsTimeline ¶
func (x *MsgUniversalUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgUniversalUpdateCollection) GetUpdateBadgeMetadataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateCollectionApprovals ¶
func (x *MsgUniversalUpdateCollection) GetUpdateCollectionApprovals() bool
func (*MsgUniversalUpdateCollection) GetUpdateCollectionMetadataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateCollectionPermissions ¶
func (x *MsgUniversalUpdateCollection) GetUpdateCollectionPermissions() bool
func (*MsgUniversalUpdateCollection) GetUpdateCustomDataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetUpdateCustomDataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateIsArchivedTimeline ¶
func (x *MsgUniversalUpdateCollection) GetUpdateIsArchivedTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateManagerTimeline ¶
func (x *MsgUniversalUpdateCollection) GetUpdateManagerTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline ¶
func (x *MsgUniversalUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateStandardsTimeline ¶
func (x *MsgUniversalUpdateCollection) GetUpdateStandardsTimeline() bool
func (*MsgUniversalUpdateCollection) ProtoMessage ¶
func (*MsgUniversalUpdateCollection) ProtoMessage()
func (*MsgUniversalUpdateCollection) ProtoReflect ¶
func (x *MsgUniversalUpdateCollection) ProtoReflect() protoreflect.Message
func (*MsgUniversalUpdateCollection) Reset ¶
func (x *MsgUniversalUpdateCollection) Reset()
func (*MsgUniversalUpdateCollection) String ¶
func (x *MsgUniversalUpdateCollection) String() string
type MsgUniversalUpdateCollectionApprovals ¶
type MsgUniversalUpdateCollectionApprovals struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
CollectionApprovals []*CollectionApproval `protobuf:"bytes,3,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
AddressLists []*AddressList `protobuf:"bytes,4,rep,name=addressLists,proto3" json:"addressLists,omitempty"`
// contains filtered or unexported fields
}
func (*MsgUniversalUpdateCollectionApprovals) Descriptor
deprecated
func (*MsgUniversalUpdateCollectionApprovals) Descriptor() ([]byte, []int)
Deprecated: Use MsgUniversalUpdateCollectionApprovals.ProtoReflect.Descriptor instead.
func (*MsgUniversalUpdateCollectionApprovals) GetAddressLists ¶
func (x *MsgUniversalUpdateCollectionApprovals) GetAddressLists() []*AddressList
func (*MsgUniversalUpdateCollectionApprovals) GetCollectionApprovals ¶
func (x *MsgUniversalUpdateCollectionApprovals) GetCollectionApprovals() []*CollectionApproval
func (*MsgUniversalUpdateCollectionApprovals) GetCollectionId ¶
func (x *MsgUniversalUpdateCollectionApprovals) GetCollectionId() string
func (*MsgUniversalUpdateCollectionApprovals) GetCreator ¶
func (x *MsgUniversalUpdateCollectionApprovals) GetCreator() string
func (*MsgUniversalUpdateCollectionApprovals) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionApprovals) ProtoMessage()
func (*MsgUniversalUpdateCollectionApprovals) ProtoReflect ¶
func (x *MsgUniversalUpdateCollectionApprovals) ProtoReflect() protoreflect.Message
func (*MsgUniversalUpdateCollectionApprovals) Reset ¶
func (x *MsgUniversalUpdateCollectionApprovals) Reset()
func (*MsgUniversalUpdateCollectionApprovals) String ¶
func (x *MsgUniversalUpdateCollectionApprovals) String() string
type MsgUniversalUpdateCollectionApprovalsResponse ¶
type MsgUniversalUpdateCollectionApprovalsResponse struct {
// contains filtered or unexported fields
}
func (*MsgUniversalUpdateCollectionApprovalsResponse) Descriptor
deprecated
func (*MsgUniversalUpdateCollectionApprovalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUniversalUpdateCollectionApprovalsResponse.ProtoReflect.Descriptor instead.
func (*MsgUniversalUpdateCollectionApprovalsResponse) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionApprovalsResponse) ProtoMessage()
func (*MsgUniversalUpdateCollectionApprovalsResponse) ProtoReflect ¶
func (x *MsgUniversalUpdateCollectionApprovalsResponse) ProtoReflect() protoreflect.Message
func (*MsgUniversalUpdateCollectionApprovalsResponse) Reset ¶
func (x *MsgUniversalUpdateCollectionApprovalsResponse) Reset()
func (*MsgUniversalUpdateCollectionApprovalsResponse) String ¶
func (x *MsgUniversalUpdateCollectionApprovalsResponse) String() string
type MsgUniversalUpdateCollectionPermissions ¶
type MsgUniversalUpdateCollectionPermissions struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
Permissions *CollectionPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"`
AddressLists []*AddressList `protobuf:"bytes,4,rep,name=addressLists,proto3" json:"addressLists,omitempty"`
// contains filtered or unexported fields
}
Update badge permissions with new permissions, if permitted.
func (*MsgUniversalUpdateCollectionPermissions) Descriptor
deprecated
func (*MsgUniversalUpdateCollectionPermissions) Descriptor() ([]byte, []int)
Deprecated: Use MsgUniversalUpdateCollectionPermissions.ProtoReflect.Descriptor instead.
func (*MsgUniversalUpdateCollectionPermissions) GetAddressLists ¶
func (x *MsgUniversalUpdateCollectionPermissions) GetAddressLists() []*AddressList
func (*MsgUniversalUpdateCollectionPermissions) GetCollectionId ¶
func (x *MsgUniversalUpdateCollectionPermissions) GetCollectionId() string
func (*MsgUniversalUpdateCollectionPermissions) GetCreator ¶
func (x *MsgUniversalUpdateCollectionPermissions) GetCreator() string
func (*MsgUniversalUpdateCollectionPermissions) GetPermissions ¶
func (x *MsgUniversalUpdateCollectionPermissions) GetPermissions() *CollectionPermissions
func (*MsgUniversalUpdateCollectionPermissions) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionPermissions) ProtoMessage()
func (*MsgUniversalUpdateCollectionPermissions) ProtoReflect ¶
func (x *MsgUniversalUpdateCollectionPermissions) ProtoReflect() protoreflect.Message
func (*MsgUniversalUpdateCollectionPermissions) Reset ¶
func (x *MsgUniversalUpdateCollectionPermissions) Reset()
func (*MsgUniversalUpdateCollectionPermissions) String ¶
func (x *MsgUniversalUpdateCollectionPermissions) String() string
type MsgUniversalUpdateCollectionPermissionsResponse ¶
type MsgUniversalUpdateCollectionPermissionsResponse struct {
// contains filtered or unexported fields
}
func (*MsgUniversalUpdateCollectionPermissionsResponse) Descriptor
deprecated
func (*MsgUniversalUpdateCollectionPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUniversalUpdateCollectionPermissionsResponse.ProtoReflect.Descriptor instead.
func (*MsgUniversalUpdateCollectionPermissionsResponse) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionPermissionsResponse) ProtoMessage()
func (*MsgUniversalUpdateCollectionPermissionsResponse) ProtoReflect ¶
func (x *MsgUniversalUpdateCollectionPermissionsResponse) ProtoReflect() protoreflect.Message
func (*MsgUniversalUpdateCollectionPermissionsResponse) Reset ¶
func (x *MsgUniversalUpdateCollectionPermissionsResponse) Reset()
func (*MsgUniversalUpdateCollectionPermissionsResponse) String ¶
func (x *MsgUniversalUpdateCollectionPermissionsResponse) String() string
type MsgUniversalUpdateCollectionResponse ¶
type MsgUniversalUpdateCollectionResponse struct {
// ID of the badge collection.
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// contains filtered or unexported fields
}
MsgUniversalUpdateCollectionResponse is the response to MsgUniversalUpdateCollection.
func (*MsgUniversalUpdateCollectionResponse) Descriptor
deprecated
func (*MsgUniversalUpdateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUniversalUpdateCollectionResponse.ProtoReflect.Descriptor instead.
func (*MsgUniversalUpdateCollectionResponse) GetCollectionId ¶
func (x *MsgUniversalUpdateCollectionResponse) GetCollectionId() string
func (*MsgUniversalUpdateCollectionResponse) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionResponse) ProtoMessage()
func (*MsgUniversalUpdateCollectionResponse) ProtoReflect ¶
func (x *MsgUniversalUpdateCollectionResponse) ProtoReflect() protoreflect.Message
func (*MsgUniversalUpdateCollectionResponse) Reset ¶
func (x *MsgUniversalUpdateCollectionResponse) Reset()
func (*MsgUniversalUpdateCollectionResponse) String ¶
func (x *MsgUniversalUpdateCollectionResponse) String() string
type MsgUpdateCollection ¶
type MsgUpdateCollection struct {
// Address of the creator.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// ID of the collection (0 for new collection).
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// New badge IDs to add to this collection
BadgeIdsToAdd []*UintRange `protobuf:"bytes,6,rep,name=badgeIdsToAdd,proto3" json:"badgeIdsToAdd,omitempty"`
// Indicates if collection permissions should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCollectionPermissions bool `protobuf:"varint,7,opt,name=updateCollectionPermissions,proto3" json:"updateCollectionPermissions,omitempty"`
// New collection permissions to set.
CollectionPermissions *CollectionPermissions `protobuf:"bytes,8,opt,name=collectionPermissions,proto3" json:"collectionPermissions,omitempty"`
// Indicates if the manager timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateManagerTimeline bool `protobuf:"varint,9,opt,name=updateManagerTimeline,proto3" json:"updateManagerTimeline,omitempty"`
// New manager timeline to set.
ManagerTimeline []*ManagerTimeline `protobuf:"bytes,10,rep,name=managerTimeline,proto3" json:"managerTimeline,omitempty"`
// Indicates if the collection metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCollectionMetadataTimeline bool `protobuf:"varint,11,opt,name=updateCollectionMetadataTimeline,proto3" json:"updateCollectionMetadataTimeline,omitempty"`
// New collection metadata timeline to set.
CollectionMetadataTimeline []*CollectionMetadataTimeline `protobuf:"bytes,12,rep,name=collectionMetadataTimeline,proto3" json:"collectionMetadataTimeline,omitempty"`
// Indicates if the badge metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateBadgeMetadataTimeline bool `protobuf:"varint,13,opt,name=updateBadgeMetadataTimeline,proto3" json:"updateBadgeMetadataTimeline,omitempty"`
// New badge metadata timeline to set.
BadgeMetadataTimeline []*BadgeMetadataTimeline `protobuf:"bytes,14,rep,name=badgeMetadataTimeline,proto3" json:"badgeMetadataTimeline,omitempty"`
// Indicates if the off-chain balances metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateOffChainBalancesMetadataTimeline bool `` /* 131-byte string literal not displayed */
// New off-chain balances metadata timeline to set.
OffChainBalancesMetadataTimeline []*OffChainBalancesMetadataTimeline `protobuf:"bytes,16,rep,name=offChainBalancesMetadataTimeline,proto3" json:"offChainBalancesMetadataTimeline,omitempty"`
// Indicates if the custom data timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCustomDataTimeline bool `protobuf:"varint,17,opt,name=updateCustomDataTimeline,proto3" json:"updateCustomDataTimeline,omitempty"`
// New custom data timeline to set.
CustomDataTimeline []*CustomDataTimeline `protobuf:"bytes,18,rep,name=customDataTimeline,proto3" json:"customDataTimeline,omitempty"`
// Indicates if collection approvals should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateCollectionApprovals bool `protobuf:"varint,21,opt,name=updateCollectionApprovals,proto3" json:"updateCollectionApprovals,omitempty"`
// New collection approvals to set.
CollectionApprovals []*CollectionApproval `protobuf:"bytes,22,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"`
// Indicates if the standards timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateStandardsTimeline bool `protobuf:"varint,23,opt,name=updateStandardsTimeline,proto3" json:"updateStandardsTimeline,omitempty"`
// New standards timeline to set.
StandardsTimeline []*StandardsTimeline `protobuf:"bytes,24,rep,name=standardsTimeline,proto3" json:"standardsTimeline,omitempty"`
// Indicates if the isArchived timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateIsArchivedTimeline bool `protobuf:"varint,27,opt,name=updateIsArchivedTimeline,proto3" json:"updateIsArchivedTimeline,omitempty"`
// New isArchived timeline to set.
IsArchivedTimeline []*IsArchivedTimeline `protobuf:"bytes,28,rep,name=isArchivedTimeline,proto3" json:"isArchivedTimeline,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateCollection is used to update a collection.
func (*MsgUpdateCollection) Descriptor
deprecated
func (*MsgUpdateCollection) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateCollection.ProtoReflect.Descriptor instead.
func (*MsgUpdateCollection) GetBadgeIdsToAdd ¶
func (x *MsgUpdateCollection) GetBadgeIdsToAdd() []*UintRange
func (*MsgUpdateCollection) GetBadgeMetadataTimeline ¶
func (x *MsgUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgUpdateCollection) GetCollectionApprovals ¶
func (x *MsgUpdateCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgUpdateCollection) GetCollectionId ¶
func (x *MsgUpdateCollection) GetCollectionId() string
func (*MsgUpdateCollection) GetCollectionMetadataTimeline ¶
func (x *MsgUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgUpdateCollection) GetCollectionPermissions ¶
func (x *MsgUpdateCollection) GetCollectionPermissions() *CollectionPermissions
func (*MsgUpdateCollection) GetCreator ¶
func (x *MsgUpdateCollection) GetCreator() string
func (*MsgUpdateCollection) GetCustomDataTimeline ¶
func (x *MsgUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgUpdateCollection) GetIsArchivedTimeline ¶
func (x *MsgUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgUpdateCollection) GetManagerTimeline ¶
func (x *MsgUpdateCollection) GetManagerTimeline() []*ManagerTimeline
func (*MsgUpdateCollection) GetOffChainBalancesMetadataTimeline ¶
func (x *MsgUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgUpdateCollection) GetStandardsTimeline ¶
func (x *MsgUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgUpdateCollection) GetUpdateBadgeMetadataTimeline ¶
func (x *MsgUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
func (*MsgUpdateCollection) GetUpdateCollectionApprovals ¶
func (x *MsgUpdateCollection) GetUpdateCollectionApprovals() bool
func (*MsgUpdateCollection) GetUpdateCollectionMetadataTimeline ¶
func (x *MsgUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
func (*MsgUpdateCollection) GetUpdateCollectionPermissions ¶
func (x *MsgUpdateCollection) GetUpdateCollectionPermissions() bool
func (*MsgUpdateCollection) GetUpdateCustomDataTimeline ¶
func (x *MsgUpdateCollection) GetUpdateCustomDataTimeline() bool
func (*MsgUpdateCollection) GetUpdateIsArchivedTimeline ¶
func (x *MsgUpdateCollection) GetUpdateIsArchivedTimeline() bool
func (*MsgUpdateCollection) GetUpdateManagerTimeline ¶
func (x *MsgUpdateCollection) GetUpdateManagerTimeline() bool
func (*MsgUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline ¶
func (x *MsgUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
func (*MsgUpdateCollection) GetUpdateStandardsTimeline ¶
func (x *MsgUpdateCollection) GetUpdateStandardsTimeline() bool
func (*MsgUpdateCollection) ProtoMessage ¶
func (*MsgUpdateCollection) ProtoMessage()
func (*MsgUpdateCollection) ProtoReflect ¶
func (x *MsgUpdateCollection) ProtoReflect() protoreflect.Message
func (*MsgUpdateCollection) Reset ¶
func (x *MsgUpdateCollection) Reset()
func (*MsgUpdateCollection) String ¶
func (x *MsgUpdateCollection) String() string
type MsgUpdateCollectionResponse ¶
type MsgUpdateCollectionResponse struct {
// ID of the badge collection.
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateCollectionResponse is the response to MsgUpdateCollection.
func (*MsgUpdateCollectionResponse) Descriptor
deprecated
func (*MsgUpdateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateCollectionResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateCollectionResponse) GetCollectionId ¶
func (x *MsgUpdateCollectionResponse) GetCollectionId() string
func (*MsgUpdateCollectionResponse) ProtoMessage ¶
func (*MsgUpdateCollectionResponse) ProtoMessage()
func (*MsgUpdateCollectionResponse) ProtoReflect ¶
func (x *MsgUpdateCollectionResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateCollectionResponse) Reset ¶
func (x *MsgUpdateCollectionResponse) Reset()
func (*MsgUpdateCollectionResponse) String ¶
func (x *MsgUpdateCollectionResponse) String() string
type MsgUpdateManager ¶
type MsgUpdateManager struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
ManagerTimeline []*ManagerTimeline `protobuf:"bytes,3,rep,name=managerTimeline,proto3" json:"managerTimeline,omitempty"`
// contains filtered or unexported fields
}
Transfer manager to this address. Recipient must have made a request.
func (*MsgUpdateManager) Descriptor
deprecated
func (*MsgUpdateManager) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateManager.ProtoReflect.Descriptor instead.
func (*MsgUpdateManager) GetCollectionId ¶
func (x *MsgUpdateManager) GetCollectionId() string
func (*MsgUpdateManager) GetCreator ¶
func (x *MsgUpdateManager) GetCreator() string
func (*MsgUpdateManager) GetManagerTimeline ¶
func (x *MsgUpdateManager) GetManagerTimeline() []*ManagerTimeline
func (*MsgUpdateManager) ProtoMessage ¶
func (*MsgUpdateManager) ProtoMessage()
func (*MsgUpdateManager) ProtoReflect ¶
func (x *MsgUpdateManager) ProtoReflect() protoreflect.Message
func (*MsgUpdateManager) Reset ¶
func (x *MsgUpdateManager) Reset()
func (*MsgUpdateManager) String ¶
func (x *MsgUpdateManager) String() string
type MsgUpdateManagerResponse ¶
type MsgUpdateManagerResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateManagerResponse) Descriptor
deprecated
func (*MsgUpdateManagerResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateManagerResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateManagerResponse) ProtoMessage ¶
func (*MsgUpdateManagerResponse) ProtoMessage()
func (*MsgUpdateManagerResponse) ProtoReflect ¶
func (x *MsgUpdateManagerResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateManagerResponse) Reset ¶
func (x *MsgUpdateManagerResponse) Reset()
func (*MsgUpdateManagerResponse) String ¶
func (x *MsgUpdateManagerResponse) String() string
type MsgUpdateMetadata ¶
type MsgUpdateMetadata struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
CollectionMetadataTimeline []*CollectionMetadataTimeline `protobuf:"bytes,3,rep,name=collectionMetadataTimeline,proto3" json:"collectionMetadataTimeline,omitempty"`
BadgeMetadataTimeline []*BadgeMetadataTimeline `protobuf:"bytes,4,rep,name=badgeMetadataTimeline,proto3" json:"badgeMetadataTimeline,omitempty"`
OffChainBalancesMetadataTimeline []*OffChainBalancesMetadataTimeline `protobuf:"bytes,5,rep,name=offChainBalancesMetadataTimeline,proto3" json:"offChainBalancesMetadataTimeline,omitempty"`
CustomDataTimeline []*CustomDataTimeline `protobuf:"bytes,6,rep,name=customDataTimeline,proto3" json:"customDataTimeline,omitempty"`
ContractAddressTimeline []*ContractAddressTimeline `protobuf:"bytes,7,rep,name=contractAddressTimeline,proto3" json:"contractAddressTimeline,omitempty"`
StandardsTimeline []*StandardsTimeline `protobuf:"bytes,8,rep,name=standardsTimeline,proto3" json:"standardsTimeline,omitempty"`
// contains filtered or unexported fields
}
Update badge Uris with new URI object, if permitted.
func (*MsgUpdateMetadata) Descriptor
deprecated
func (*MsgUpdateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMetadata.ProtoReflect.Descriptor instead.
func (*MsgUpdateMetadata) GetBadgeMetadataTimeline ¶
func (x *MsgUpdateMetadata) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgUpdateMetadata) GetCollectionId ¶
func (x *MsgUpdateMetadata) GetCollectionId() string
func (*MsgUpdateMetadata) GetCollectionMetadataTimeline ¶
func (x *MsgUpdateMetadata) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgUpdateMetadata) GetContractAddressTimeline ¶
func (x *MsgUpdateMetadata) GetContractAddressTimeline() []*ContractAddressTimeline
func (*MsgUpdateMetadata) GetCreator ¶
func (x *MsgUpdateMetadata) GetCreator() string
func (*MsgUpdateMetadata) GetCustomDataTimeline ¶
func (x *MsgUpdateMetadata) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgUpdateMetadata) GetOffChainBalancesMetadataTimeline ¶
func (x *MsgUpdateMetadata) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgUpdateMetadata) GetStandardsTimeline ¶
func (x *MsgUpdateMetadata) GetStandardsTimeline() []*StandardsTimeline
func (*MsgUpdateMetadata) ProtoMessage ¶
func (*MsgUpdateMetadata) ProtoMessage()
func (*MsgUpdateMetadata) ProtoReflect ¶
func (x *MsgUpdateMetadata) ProtoReflect() protoreflect.Message
func (*MsgUpdateMetadata) Reset ¶
func (x *MsgUpdateMetadata) Reset()
func (*MsgUpdateMetadata) String ¶
func (x *MsgUpdateMetadata) String() string
type MsgUpdateMetadataResponse ¶
type MsgUpdateMetadataResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateMetadataResponse) Descriptor
deprecated
func (*MsgUpdateMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateMetadataResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateMetadataResponse) ProtoMessage ¶
func (*MsgUpdateMetadataResponse) ProtoMessage()
func (*MsgUpdateMetadataResponse) ProtoReflect ¶
func (x *MsgUpdateMetadataResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateMetadataResponse) Reset ¶
func (x *MsgUpdateMetadataResponse) Reset()
func (*MsgUpdateMetadataResponse) String ¶
func (x *MsgUpdateMetadataResponse) String() string
type MsgUpdateParams ¶
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 module parameters to update.
//
// NOTE: All parameters must be supplied.
Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type MsgUpdateUserApprovals ¶
type MsgUpdateUserApprovals struct {
// Address of the creator.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// ID of the collection.
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// Indicates if outgoing approvals should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateOutgoingApprovals bool `protobuf:"varint,3,opt,name=updateOutgoingApprovals,proto3" json:"updateOutgoingApprovals,omitempty"`
// New outgoing approvals to set.
OutgoingApprovals []*UserOutgoingApproval `protobuf:"bytes,4,rep,name=outgoingApprovals,proto3" json:"outgoingApprovals,omitempty"`
// Indicates if incoming approvals should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateIncomingApprovals bool `protobuf:"varint,5,opt,name=updateIncomingApprovals,proto3" json:"updateIncomingApprovals,omitempty"`
// New incoming approvals to set.
IncomingApprovals []*UserIncomingApproval `protobuf:"bytes,6,rep,name=incomingApprovals,proto3" json:"incomingApprovals,omitempty"`
// Indicates if auto-approve settings for self-initiated outgoing transfers should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateAutoApproveSelfInitiatedOutgoingTransfers bool `` /* 148-byte string literal not displayed */
// Auto-approve setting for self-initiated outgoing transfers.
AutoApproveSelfInitiatedOutgoingTransfers bool `` /* 136-byte string literal not displayed */
// Indicates if auto-approve settings for self-initiated incoming transfers should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateAutoApproveSelfInitiatedIncomingTransfers bool `` /* 148-byte string literal not displayed */
// Auto-approve setting for self-initiated incoming transfers.
AutoApproveSelfInitiatedIncomingTransfers bool `` /* 137-byte string literal not displayed */
// Indicates if user permissions should be updated. If true, we set to value in this Msg. If false, we keep existing value.
UpdateUserPermissions bool `protobuf:"varint,11,opt,name=updateUserPermissions,proto3" json:"updateUserPermissions,omitempty"`
// New user permissions to set.
UserPermissions *UserPermissions `protobuf:"bytes,12,opt,name=userPermissions,proto3" json:"userPermissions,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateUserApprovals is used to update user approvals.
func (*MsgUpdateUserApprovals) Descriptor
deprecated
func (*MsgUpdateUserApprovals) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateUserApprovals.ProtoReflect.Descriptor instead.
func (*MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedIncomingTransfers ¶
func (x *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedIncomingTransfers() bool
func (*MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedOutgoingTransfers ¶
func (x *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
func (*MsgUpdateUserApprovals) GetCollectionId ¶
func (x *MsgUpdateUserApprovals) GetCollectionId() string
func (*MsgUpdateUserApprovals) GetCreator ¶
func (x *MsgUpdateUserApprovals) GetCreator() string
func (*MsgUpdateUserApprovals) GetIncomingApprovals ¶
func (x *MsgUpdateUserApprovals) GetIncomingApprovals() []*UserIncomingApproval
func (*MsgUpdateUserApprovals) GetOutgoingApprovals ¶
func (x *MsgUpdateUserApprovals) GetOutgoingApprovals() []*UserOutgoingApproval
func (*MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedIncomingTransfers ¶
func (x *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedIncomingTransfers() bool
func (*MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedOutgoingTransfers ¶
func (x *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedOutgoingTransfers() bool
func (*MsgUpdateUserApprovals) GetUpdateIncomingApprovals ¶
func (x *MsgUpdateUserApprovals) GetUpdateIncomingApprovals() bool
func (*MsgUpdateUserApprovals) GetUpdateOutgoingApprovals ¶
func (x *MsgUpdateUserApprovals) GetUpdateOutgoingApprovals() bool
func (*MsgUpdateUserApprovals) GetUpdateUserPermissions ¶
func (x *MsgUpdateUserApprovals) GetUpdateUserPermissions() bool
func (*MsgUpdateUserApprovals) GetUserPermissions ¶
func (x *MsgUpdateUserApprovals) GetUserPermissions() *UserPermissions
func (*MsgUpdateUserApprovals) ProtoMessage ¶
func (*MsgUpdateUserApprovals) ProtoMessage()
func (*MsgUpdateUserApprovals) ProtoReflect ¶
func (x *MsgUpdateUserApprovals) ProtoReflect() protoreflect.Message
func (*MsgUpdateUserApprovals) Reset ¶
func (x *MsgUpdateUserApprovals) Reset()
func (*MsgUpdateUserApprovals) String ¶
func (x *MsgUpdateUserApprovals) String() string
type MsgUpdateUserApprovalsResponse ¶
type MsgUpdateUserApprovalsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateUserApprovalsResponse is the response to MsgUpdateUserApprovals.
func (*MsgUpdateUserApprovalsResponse) Descriptor
deprecated
func (*MsgUpdateUserApprovalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateUserApprovalsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateUserApprovalsResponse) ProtoMessage ¶
func (*MsgUpdateUserApprovalsResponse) ProtoMessage()
func (*MsgUpdateUserApprovalsResponse) ProtoReflect ¶
func (x *MsgUpdateUserApprovalsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateUserApprovalsResponse) Reset ¶
func (x *MsgUpdateUserApprovalsResponse) Reset()
func (*MsgUpdateUserApprovalsResponse) String ¶
func (x *MsgUpdateUserApprovalsResponse) String() string
type MsgUpdateUserPermissions ¶
type MsgUpdateUserPermissions struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
Permissions *UserPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"`
AddressLists []*AddressList `protobuf:"bytes,4,rep,name=addressLists,proto3" json:"addressLists,omitempty"`
// contains filtered or unexported fields
}
func (*MsgUpdateUserPermissions) Descriptor
deprecated
func (*MsgUpdateUserPermissions) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateUserPermissions.ProtoReflect.Descriptor instead.
func (*MsgUpdateUserPermissions) GetAddressLists ¶
func (x *MsgUpdateUserPermissions) GetAddressLists() []*AddressList
func (*MsgUpdateUserPermissions) GetCollectionId ¶
func (x *MsgUpdateUserPermissions) GetCollectionId() string
func (*MsgUpdateUserPermissions) GetCreator ¶
func (x *MsgUpdateUserPermissions) GetCreator() string
func (*MsgUpdateUserPermissions) GetPermissions ¶
func (x *MsgUpdateUserPermissions) GetPermissions() *UserPermissions
func (*MsgUpdateUserPermissions) ProtoMessage ¶
func (*MsgUpdateUserPermissions) ProtoMessage()
func (*MsgUpdateUserPermissions) ProtoReflect ¶
func (x *MsgUpdateUserPermissions) ProtoReflect() protoreflect.Message
func (*MsgUpdateUserPermissions) Reset ¶
func (x *MsgUpdateUserPermissions) Reset()
func (*MsgUpdateUserPermissions) String ¶
func (x *MsgUpdateUserPermissions) String() string
type MsgUpdateUserPermissionsResponse ¶
type MsgUpdateUserPermissionsResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateUserPermissionsResponse) Descriptor
deprecated
func (*MsgUpdateUserPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateUserPermissionsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateUserPermissionsResponse) ProtoMessage ¶
func (*MsgUpdateUserPermissionsResponse) ProtoMessage()
func (*MsgUpdateUserPermissionsResponse) ProtoReflect ¶
func (x *MsgUpdateUserPermissionsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateUserPermissionsResponse) Reset ¶
func (x *MsgUpdateUserPermissionsResponse) Reset()
func (*MsgUpdateUserPermissionsResponse) String ¶
func (x *MsgUpdateUserPermissionsResponse) String() string
type NoData ¶
type NoData struct {
// contains filtered or unexported fields
}
func (*NoData) Descriptor
deprecated
func (*NoData) ProtoMessage ¶
func (*NoData) ProtoMessage()
func (*NoData) ProtoReflect ¶
func (x *NoData) ProtoReflect() protoreflect.Message
type OffChainBalancesMetadata ¶
type OffChainBalancesMetadata struct {
// The URI (Uniform Resource Identifier) associated with the off-chain balances metadata.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Custom data or additional information related to the off-chain balances metadata.
CustomData string `protobuf:"bytes,2,opt,name=customData,proto3" json:"customData,omitempty"`
// contains filtered or unexported fields
}
This message defines the metadata for off-chain balances (if using an off-chain balances type). The interpretation of this metadata should follow the collection standard.
func (*OffChainBalancesMetadata) Descriptor
deprecated
func (*OffChainBalancesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OffChainBalancesMetadata.ProtoReflect.Descriptor instead.
func (*OffChainBalancesMetadata) GetCustomData ¶
func (x *OffChainBalancesMetadata) GetCustomData() string
func (*OffChainBalancesMetadata) GetUri ¶
func (x *OffChainBalancesMetadata) GetUri() string
func (*OffChainBalancesMetadata) ProtoMessage ¶
func (*OffChainBalancesMetadata) ProtoMessage()
func (*OffChainBalancesMetadata) ProtoReflect ¶
func (x *OffChainBalancesMetadata) ProtoReflect() protoreflect.Message
func (*OffChainBalancesMetadata) Reset ¶
func (x *OffChainBalancesMetadata) Reset()
func (*OffChainBalancesMetadata) String ¶
func (x *OffChainBalancesMetadata) String() string
type OffChainBalancesMetadataTimeline ¶
type OffChainBalancesMetadataTimeline struct {
// The off-chain balances metadata for a specific timeline element.
OffChainBalancesMetadata *OffChainBalancesMetadata `protobuf:"bytes,1,opt,name=offChainBalancesMetadata,proto3" json:"offChainBalancesMetadata,omitempty"`
// The timeline times when the off-chain balances metadata is valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
OffChainBalancesMetadataTimeline defines the metadata for off-chain balances at different timeline times.
func (*OffChainBalancesMetadataTimeline) Descriptor
deprecated
func (*OffChainBalancesMetadataTimeline) Descriptor() ([]byte, []int)
Deprecated: Use OffChainBalancesMetadataTimeline.ProtoReflect.Descriptor instead.
func (*OffChainBalancesMetadataTimeline) GetOffChainBalancesMetadata ¶
func (x *OffChainBalancesMetadataTimeline) GetOffChainBalancesMetadata() *OffChainBalancesMetadata
func (*OffChainBalancesMetadataTimeline) GetTimelineTimes ¶
func (x *OffChainBalancesMetadataTimeline) GetTimelineTimes() []*UintRange
func (*OffChainBalancesMetadataTimeline) ProtoMessage ¶
func (*OffChainBalancesMetadataTimeline) ProtoMessage()
func (*OffChainBalancesMetadataTimeline) ProtoReflect ¶
func (x *OffChainBalancesMetadataTimeline) ProtoReflect() protoreflect.Message
func (*OffChainBalancesMetadataTimeline) Reset ¶
func (x *OffChainBalancesMetadataTimeline) Reset()
func (*OffChainBalancesMetadataTimeline) String ¶
func (x *OffChainBalancesMetadataTimeline) String() string
type OutgoingApprovalCriteria ¶
type OutgoingApprovalCriteria struct {
// Merkle challenge that must be satisfied for approval.
MerkleChallenges []*MerkleChallenge `protobuf:"bytes,1,rep,name=merkleChallenges,proto3" json:"merkleChallenges,omitempty"`
// Predetermined balances for eeach approval.
PredeterminedBalances *PredeterminedBalances `protobuf:"bytes,2,opt,name=predeterminedBalances,proto3" json:"predeterminedBalances,omitempty"`
// Threshold limit of amounts that can be transferred using this approval.
ApprovalAmounts *ApprovalAmounts `protobuf:"bytes,3,opt,name=approvalAmounts,proto3" json:"approvalAmounts,omitempty"`
// Maximum number of transfers that can be processed using this approval.
MaxNumTransfers *MaxNumTransfers `protobuf:"bytes,4,opt,name=maxNumTransfers,proto3" json:"maxNumTransfers,omitempty"`
// The sdk.Coins that need to be transferred for approval.
CoinTransfers []*CoinTransfer `protobuf:"bytes,5,rep,name=coinTransfers,proto3" json:"coinTransfers,omitempty"`
// Require the "to" address to be equal to the "initiated by" address for approval.
RequireToEqualsInitiatedBy bool `protobuf:"varint,6,opt,name=requireToEqualsInitiatedBy,proto3" json:"requireToEqualsInitiatedBy,omitempty"`
// Require the "to" address to not be equal to the "initiated by" address for approval.
RequireToDoesNotEqualInitiatedBy bool `protobuf:"varint,7,opt,name=requireToDoesNotEqualInitiatedBy,proto3" json:"requireToDoesNotEqualInitiatedBy,omitempty"`
// contains filtered or unexported fields
}
OutgoingApprovalCriteria defines the criteria for approving outgoing transfers.
func (*OutgoingApprovalCriteria) Descriptor
deprecated
func (*OutgoingApprovalCriteria) Descriptor() ([]byte, []int)
Deprecated: Use OutgoingApprovalCriteria.ProtoReflect.Descriptor instead.
func (*OutgoingApprovalCriteria) GetApprovalAmounts ¶
func (x *OutgoingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
func (*OutgoingApprovalCriteria) GetCoinTransfers ¶
func (x *OutgoingApprovalCriteria) GetCoinTransfers() []*CoinTransfer
func (*OutgoingApprovalCriteria) GetMaxNumTransfers ¶
func (x *OutgoingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
func (*OutgoingApprovalCriteria) GetMerkleChallenges ¶
func (x *OutgoingApprovalCriteria) GetMerkleChallenges() []*MerkleChallenge
func (*OutgoingApprovalCriteria) GetPredeterminedBalances ¶
func (x *OutgoingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
func (*OutgoingApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy ¶
func (x *OutgoingApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
func (*OutgoingApprovalCriteria) GetRequireToEqualsInitiatedBy ¶
func (x *OutgoingApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
func (*OutgoingApprovalCriteria) ProtoMessage ¶
func (*OutgoingApprovalCriteria) ProtoMessage()
func (*OutgoingApprovalCriteria) ProtoReflect ¶
func (x *OutgoingApprovalCriteria) ProtoReflect() protoreflect.Message
func (*OutgoingApprovalCriteria) Reset ¶
func (x *OutgoingApprovalCriteria) Reset()
func (*OutgoingApprovalCriteria) String ¶
func (x *OutgoingApprovalCriteria) String() string
type Params ¶
type Params struct {
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type PredeterminedBalances ¶
type PredeterminedBalances struct {
// Manual balances that can be entered. If this is nil, then we use the incremented balances.
ManualBalances []*ManualBalances `protobuf:"bytes,1,rep,name=manualBalances,proto3" json:"manualBalances,omitempty"`
// Balances that have a starting amount and increment. If this is nil, then we use the manual balances.
IncrementedBalances *IncrementedBalances `protobuf:"bytes,2,opt,name=incrementedBalances,proto3" json:"incrementedBalances,omitempty"`
// The method to calculate the order of predetermined balances.
OrderCalculationMethod *PredeterminedOrderCalculationMethod `protobuf:"bytes,3,opt,name=orderCalculationMethod,proto3" json:"orderCalculationMethod,omitempty"`
// contains filtered or unexported fields
}
PredeterminedBalances represents balances with predetermined order calculation.
func (*PredeterminedBalances) Descriptor
deprecated
func (*PredeterminedBalances) Descriptor() ([]byte, []int)
Deprecated: Use PredeterminedBalances.ProtoReflect.Descriptor instead.
func (*PredeterminedBalances) GetIncrementedBalances ¶
func (x *PredeterminedBalances) GetIncrementedBalances() *IncrementedBalances
func (*PredeterminedBalances) GetManualBalances ¶
func (x *PredeterminedBalances) GetManualBalances() []*ManualBalances
func (*PredeterminedBalances) GetOrderCalculationMethod ¶
func (x *PredeterminedBalances) GetOrderCalculationMethod() *PredeterminedOrderCalculationMethod
func (*PredeterminedBalances) ProtoMessage ¶
func (*PredeterminedBalances) ProtoMessage()
func (*PredeterminedBalances) ProtoReflect ¶
func (x *PredeterminedBalances) ProtoReflect() protoreflect.Message
func (*PredeterminedBalances) Reset ¶
func (x *PredeterminedBalances) Reset()
func (*PredeterminedBalances) String ¶
func (x *PredeterminedBalances) String() string
type PredeterminedOrderCalculationMethod ¶
type PredeterminedOrderCalculationMethod struct {
// Use the overall number of transfers to calculate the order. Ex: First transfer gets the first balance, second transfer gets the second balance, etc.
UseOverallNumTransfers bool `protobuf:"varint,1,opt,name=useOverallNumTransfers,proto3" json:"useOverallNumTransfers,omitempty"`
// Use the number of transfers per "to" address to calculate the order. Ex: First transfer to address A gets the first balance, second transfer to address A gets the second balance, etc.
UsePerToAddressNumTransfers bool `protobuf:"varint,2,opt,name=usePerToAddressNumTransfers,proto3" json:"usePerToAddressNumTransfers,omitempty"`
// Use the number of transfers per "from" address to calculate the order. Ex: First transfer from address A gets the first balance, second transfer from address A gets the second balance, etc.
UsePerFromAddressNumTransfers bool `protobuf:"varint,3,opt,name=usePerFromAddressNumTransfers,proto3" json:"usePerFromAddressNumTransfers,omitempty"`
// Use the number of transfers per "initiated by" address to calculate the order. Ex: First transfer initiated by address A gets the first balance, second transfer initiated by address A gets the second balance, etc.
UsePerInitiatedByAddressNumTransfers bool `` /* 126-byte string literal not displayed */
// Use the Merkle challenge leaf index to calculate the order. Ex: Transfer that uses leaf index 0 gets the first balance, transfer that uses leaf index 1 gets the second balance, etc.
UseMerkleChallengeLeafIndex bool `protobuf:"varint,5,opt,name=useMerkleChallengeLeafIndex,proto3" json:"useMerkleChallengeLeafIndex,omitempty"`
// If useMerkleChallengeLeafIndex is set, then this is the ID of the challenge tracker associated with this calculation method.
ChallengeTrackerId string `protobuf:"bytes,6,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,omitempty"`
// contains filtered or unexported fields
}
PredeterminedOrderCalculationMethod defines the method to calculate predetermined balances order.
func (*PredeterminedOrderCalculationMethod) Descriptor
deprecated
func (*PredeterminedOrderCalculationMethod) Descriptor() ([]byte, []int)
Deprecated: Use PredeterminedOrderCalculationMethod.ProtoReflect.Descriptor instead.
func (*PredeterminedOrderCalculationMethod) GetChallengeTrackerId ¶
func (x *PredeterminedOrderCalculationMethod) GetChallengeTrackerId() string
func (*PredeterminedOrderCalculationMethod) GetUseMerkleChallengeLeafIndex ¶
func (x *PredeterminedOrderCalculationMethod) GetUseMerkleChallengeLeafIndex() bool
func (*PredeterminedOrderCalculationMethod) GetUseOverallNumTransfers ¶
func (x *PredeterminedOrderCalculationMethod) GetUseOverallNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) GetUsePerFromAddressNumTransfers ¶
func (x *PredeterminedOrderCalculationMethod) GetUsePerFromAddressNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) GetUsePerInitiatedByAddressNumTransfers ¶
func (x *PredeterminedOrderCalculationMethod) GetUsePerInitiatedByAddressNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) GetUsePerToAddressNumTransfers ¶
func (x *PredeterminedOrderCalculationMethod) GetUsePerToAddressNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) ProtoMessage ¶
func (*PredeterminedOrderCalculationMethod) ProtoMessage()
func (*PredeterminedOrderCalculationMethod) ProtoReflect ¶
func (x *PredeterminedOrderCalculationMethod) ProtoReflect() protoreflect.Message
func (*PredeterminedOrderCalculationMethod) Reset ¶
func (x *PredeterminedOrderCalculationMethod) Reset()
func (*PredeterminedOrderCalculationMethod) String ¶
func (x *PredeterminedOrderCalculationMethod) String() string
type QueryClient ¶
type QueryClient interface {
// Parameters queries the parameters of the module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// Queries a badge collection by ID.
GetCollection(ctx context.Context, in *QueryGetCollectionRequest, opts ...grpc.CallOption) (*QueryGetCollectionResponse, error)
// Queries an address list by ID.
GetAddressList(ctx context.Context, in *QueryGetAddressListRequest, opts ...grpc.CallOption) (*QueryGetAddressListResponse, error)
// Queries an approvals tracker by ID.
GetApprovalTracker(ctx context.Context, in *QueryGetApprovalTrackerRequest, opts ...grpc.CallOption) (*QueryGetApprovalTrackerResponse, error)
// Queries the number of times a given leaf has been used for a given merkle challenge.
GetChallengeTracker(ctx context.Context, in *QueryGetChallengeTrackerRequest, opts ...grpc.CallOption) (*QueryGetChallengeTrackerResponse, error)
// Queries an addresses balance for a badge collection, specified by its ID.
GetBalance(ctx context.Context, in *QueryGetBalanceRequest, opts ...grpc.CallOption) (*QueryGetBalanceResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryGetAddressListRequest ¶
type QueryGetAddressListRequest struct {
ListId string `protobuf:"bytes,1,opt,name=listId,proto3" json:"listId,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetAddressListRequest) Descriptor
deprecated
func (*QueryGetAddressListRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetAddressListRequest.ProtoReflect.Descriptor instead.
func (*QueryGetAddressListRequest) GetListId ¶
func (x *QueryGetAddressListRequest) GetListId() string
func (*QueryGetAddressListRequest) ProtoMessage ¶
func (*QueryGetAddressListRequest) ProtoMessage()
func (*QueryGetAddressListRequest) ProtoReflect ¶
func (x *QueryGetAddressListRequest) ProtoReflect() protoreflect.Message
func (*QueryGetAddressListRequest) Reset ¶
func (x *QueryGetAddressListRequest) Reset()
func (*QueryGetAddressListRequest) String ¶
func (x *QueryGetAddressListRequest) String() string
type QueryGetAddressListResponse ¶
type QueryGetAddressListResponse struct {
List *AddressList `protobuf:"bytes,1,opt,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetAddressListResponse) Descriptor
deprecated
func (*QueryGetAddressListResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetAddressListResponse.ProtoReflect.Descriptor instead.
func (*QueryGetAddressListResponse) GetList ¶
func (x *QueryGetAddressListResponse) GetList() *AddressList
func (*QueryGetAddressListResponse) ProtoMessage ¶
func (*QueryGetAddressListResponse) ProtoMessage()
func (*QueryGetAddressListResponse) ProtoReflect ¶
func (x *QueryGetAddressListResponse) ProtoReflect() protoreflect.Message
func (*QueryGetAddressListResponse) Reset ¶
func (x *QueryGetAddressListResponse) Reset()
func (*QueryGetAddressListResponse) String ¶
func (x *QueryGetAddressListResponse) String() string
type QueryGetApprovalTrackerRequest ¶
type QueryGetApprovalTrackerRequest struct {
CollectionId string `protobuf:"bytes,5,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
ApprovalLevel string `protobuf:"bytes,2,opt,name=approvalLevel,proto3" json:"approvalLevel,omitempty"` //"collection" or "incoming" or "outgoing"
ApproverAddress string `protobuf:"bytes,3,opt,name=approverAddress,proto3" json:"approverAddress,omitempty"` //if approvalLevel is "collection", leave blank
ApprovalId string `protobuf:"bytes,7,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
AmountTrackerId string `protobuf:"bytes,1,opt,name=amountTrackerId,proto3" json:"amountTrackerId,omitempty"`
TrackerType string `protobuf:"bytes,4,opt,name=trackerType,proto3" json:"trackerType,omitempty"`
ApprovedAddress string `protobuf:"bytes,6,opt,name=approvedAddress,proto3" json:"approvedAddress,omitempty"` //if trackerType is "overall", leave blank
// contains filtered or unexported fields
}
func (*QueryGetApprovalTrackerRequest) Descriptor
deprecated
func (*QueryGetApprovalTrackerRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetApprovalTrackerRequest.ProtoReflect.Descriptor instead.
func (*QueryGetApprovalTrackerRequest) GetAmountTrackerId ¶
func (x *QueryGetApprovalTrackerRequest) GetAmountTrackerId() string
func (*QueryGetApprovalTrackerRequest) GetApprovalId ¶
func (x *QueryGetApprovalTrackerRequest) GetApprovalId() string
func (*QueryGetApprovalTrackerRequest) GetApprovalLevel ¶
func (x *QueryGetApprovalTrackerRequest) GetApprovalLevel() string
func (*QueryGetApprovalTrackerRequest) GetApprovedAddress ¶
func (x *QueryGetApprovalTrackerRequest) GetApprovedAddress() string
func (*QueryGetApprovalTrackerRequest) GetApproverAddress ¶
func (x *QueryGetApprovalTrackerRequest) GetApproverAddress() string
func (*QueryGetApprovalTrackerRequest) GetCollectionId ¶
func (x *QueryGetApprovalTrackerRequest) GetCollectionId() string
func (*QueryGetApprovalTrackerRequest) GetTrackerType ¶
func (x *QueryGetApprovalTrackerRequest) GetTrackerType() string
func (*QueryGetApprovalTrackerRequest) ProtoMessage ¶
func (*QueryGetApprovalTrackerRequest) ProtoMessage()
func (*QueryGetApprovalTrackerRequest) ProtoReflect ¶
func (x *QueryGetApprovalTrackerRequest) ProtoReflect() protoreflect.Message
func (*QueryGetApprovalTrackerRequest) Reset ¶
func (x *QueryGetApprovalTrackerRequest) Reset()
func (*QueryGetApprovalTrackerRequest) String ¶
func (x *QueryGetApprovalTrackerRequest) String() string
type QueryGetApprovalTrackerResponse ¶
type QueryGetApprovalTrackerResponse struct {
Tracker *ApprovalTracker `protobuf:"bytes,1,opt,name=tracker,proto3" json:"tracker,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetApprovalTrackerResponse) Descriptor
deprecated
func (*QueryGetApprovalTrackerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetApprovalTrackerResponse.ProtoReflect.Descriptor instead.
func (*QueryGetApprovalTrackerResponse) GetTracker ¶
func (x *QueryGetApprovalTrackerResponse) GetTracker() *ApprovalTracker
func (*QueryGetApprovalTrackerResponse) ProtoMessage ¶
func (*QueryGetApprovalTrackerResponse) ProtoMessage()
func (*QueryGetApprovalTrackerResponse) ProtoReflect ¶
func (x *QueryGetApprovalTrackerResponse) ProtoReflect() protoreflect.Message
func (*QueryGetApprovalTrackerResponse) Reset ¶
func (x *QueryGetApprovalTrackerResponse) Reset()
func (*QueryGetApprovalTrackerResponse) String ¶
func (x *QueryGetApprovalTrackerResponse) String() string
type QueryGetBalanceRequest ¶
type QueryGetBalanceRequest struct {
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetBalanceRequest) Descriptor
deprecated
func (*QueryGetBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetBalanceRequest.ProtoReflect.Descriptor instead.
func (*QueryGetBalanceRequest) GetAddress ¶
func (x *QueryGetBalanceRequest) GetAddress() string
func (*QueryGetBalanceRequest) GetCollectionId ¶
func (x *QueryGetBalanceRequest) GetCollectionId() string
func (*QueryGetBalanceRequest) ProtoMessage ¶
func (*QueryGetBalanceRequest) ProtoMessage()
func (*QueryGetBalanceRequest) ProtoReflect ¶
func (x *QueryGetBalanceRequest) ProtoReflect() protoreflect.Message
func (*QueryGetBalanceRequest) Reset ¶
func (x *QueryGetBalanceRequest) Reset()
func (*QueryGetBalanceRequest) String ¶
func (x *QueryGetBalanceRequest) String() string
type QueryGetBalanceResponse ¶
type QueryGetBalanceResponse struct {
Balance *UserBalanceStore `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetBalanceResponse) Descriptor
deprecated
func (*QueryGetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetBalanceResponse.ProtoReflect.Descriptor instead.
func (*QueryGetBalanceResponse) GetBalance ¶
func (x *QueryGetBalanceResponse) GetBalance() *UserBalanceStore
func (*QueryGetBalanceResponse) ProtoMessage ¶
func (*QueryGetBalanceResponse) ProtoMessage()
func (*QueryGetBalanceResponse) ProtoReflect ¶
func (x *QueryGetBalanceResponse) ProtoReflect() protoreflect.Message
func (*QueryGetBalanceResponse) Reset ¶
func (x *QueryGetBalanceResponse) Reset()
func (*QueryGetBalanceResponse) String ¶
func (x *QueryGetBalanceResponse) String() string
type QueryGetChallengeTrackerRequest ¶
type QueryGetChallengeTrackerRequest struct {
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
ApprovalLevel string `protobuf:"bytes,2,opt,name=approvalLevel,proto3" json:"approvalLevel,omitempty"` //"collection" or "incoming" or "outgoing"
ApproverAddress string `protobuf:"bytes,3,opt,name=approverAddress,proto3" json:"approverAddress,omitempty"` //if approvalLevel is "collection", leave blank
ApprovalId string `protobuf:"bytes,6,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
ChallengeTrackerId string `protobuf:"bytes,4,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,omitempty"`
LeafIndex string `protobuf:"bytes,5,opt,name=leafIndex,proto3" json:"leafIndex,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetChallengeTrackerRequest) Descriptor
deprecated
func (*QueryGetChallengeTrackerRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetChallengeTrackerRequest.ProtoReflect.Descriptor instead.
func (*QueryGetChallengeTrackerRequest) GetApprovalId ¶
func (x *QueryGetChallengeTrackerRequest) GetApprovalId() string
func (*QueryGetChallengeTrackerRequest) GetApprovalLevel ¶
func (x *QueryGetChallengeTrackerRequest) GetApprovalLevel() string
func (*QueryGetChallengeTrackerRequest) GetApproverAddress ¶
func (x *QueryGetChallengeTrackerRequest) GetApproverAddress() string
func (*QueryGetChallengeTrackerRequest) GetChallengeTrackerId ¶
func (x *QueryGetChallengeTrackerRequest) GetChallengeTrackerId() string
func (*QueryGetChallengeTrackerRequest) GetCollectionId ¶
func (x *QueryGetChallengeTrackerRequest) GetCollectionId() string
func (*QueryGetChallengeTrackerRequest) GetLeafIndex ¶
func (x *QueryGetChallengeTrackerRequest) GetLeafIndex() string
func (*QueryGetChallengeTrackerRequest) ProtoMessage ¶
func (*QueryGetChallengeTrackerRequest) ProtoMessage()
func (*QueryGetChallengeTrackerRequest) ProtoReflect ¶
func (x *QueryGetChallengeTrackerRequest) ProtoReflect() protoreflect.Message
func (*QueryGetChallengeTrackerRequest) Reset ¶
func (x *QueryGetChallengeTrackerRequest) Reset()
func (*QueryGetChallengeTrackerRequest) String ¶
func (x *QueryGetChallengeTrackerRequest) String() string
type QueryGetChallengeTrackerResponse ¶
type QueryGetChallengeTrackerResponse struct {
NumUsed string `protobuf:"bytes,1,opt,name=numUsed,proto3" json:"numUsed,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetChallengeTrackerResponse) Descriptor
deprecated
func (*QueryGetChallengeTrackerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetChallengeTrackerResponse.ProtoReflect.Descriptor instead.
func (*QueryGetChallengeTrackerResponse) GetNumUsed ¶
func (x *QueryGetChallengeTrackerResponse) GetNumUsed() string
func (*QueryGetChallengeTrackerResponse) ProtoMessage ¶
func (*QueryGetChallengeTrackerResponse) ProtoMessage()
func (*QueryGetChallengeTrackerResponse) ProtoReflect ¶
func (x *QueryGetChallengeTrackerResponse) ProtoReflect() protoreflect.Message
func (*QueryGetChallengeTrackerResponse) Reset ¶
func (x *QueryGetChallengeTrackerResponse) Reset()
func (*QueryGetChallengeTrackerResponse) String ¶
func (x *QueryGetChallengeTrackerResponse) String() string
type QueryGetCollectionRequest ¶
type QueryGetCollectionRequest struct {
CollectionId string `protobuf:"bytes,1,opt,name=collectionId,proto3" json:"collectionId,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetCollectionRequest) Descriptor
deprecated
func (*QueryGetCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetCollectionRequest.ProtoReflect.Descriptor instead.
func (*QueryGetCollectionRequest) GetCollectionId ¶
func (x *QueryGetCollectionRequest) GetCollectionId() string
func (*QueryGetCollectionRequest) ProtoMessage ¶
func (*QueryGetCollectionRequest) ProtoMessage()
func (*QueryGetCollectionRequest) ProtoReflect ¶
func (x *QueryGetCollectionRequest) ProtoReflect() protoreflect.Message
func (*QueryGetCollectionRequest) Reset ¶
func (x *QueryGetCollectionRequest) Reset()
func (*QueryGetCollectionRequest) String ¶
func (x *QueryGetCollectionRequest) String() string
type QueryGetCollectionResponse ¶
type QueryGetCollectionResponse struct {
Collection *BadgeCollection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetCollectionResponse) Descriptor
deprecated
func (*QueryGetCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetCollectionResponse.ProtoReflect.Descriptor instead.
func (*QueryGetCollectionResponse) GetCollection ¶
func (x *QueryGetCollectionResponse) GetCollection() *BadgeCollection
func (*QueryGetCollectionResponse) ProtoMessage ¶
func (*QueryGetCollectionResponse) ProtoMessage()
func (*QueryGetCollectionResponse) ProtoReflect ¶
func (x *QueryGetCollectionResponse) ProtoReflect() protoreflect.Message
func (*QueryGetCollectionResponse) Reset ¶
func (x *QueryGetCollectionResponse) Reset()
func (*QueryGetCollectionResponse) String ¶
func (x *QueryGetCollectionResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params holds all the parameters of this module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface {
// Parameters queries the parameters of the module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// Queries a badge collection by ID.
GetCollection(context.Context, *QueryGetCollectionRequest) (*QueryGetCollectionResponse, error)
// Queries an address list by ID.
GetAddressList(context.Context, *QueryGetAddressListRequest) (*QueryGetAddressListResponse, error)
// Queries an approvals tracker by ID.
GetApprovalTracker(context.Context, *QueryGetApprovalTrackerRequest) (*QueryGetApprovalTrackerResponse, error)
// Queries the number of times a given leaf has been used for a given merkle challenge.
GetChallengeTracker(context.Context, *QueryGetChallengeTrackerRequest) (*QueryGetChallengeTrackerResponse, error)
// Queries an addresses balance for a badge collection, specified by its ID.
GetBalance(context.Context, *QueryGetBalanceRequest) (*QueryGetBalanceResponse, error)
// contains filtered or unexported methods
}
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type StandardsTimeline ¶
type StandardsTimeline struct {
// The standards applied to the collection for a specific timeline element.
Standards []string `protobuf:"bytes,1,rep,name=standards,proto3" json:"standards,omitempty"`
// The timeline times when the standards are valid. Can not overlap with other timeline elements in same array.
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
StandardsTimeline defines the standards used for a collection at different timeline times.
func (*StandardsTimeline) Descriptor
deprecated
func (*StandardsTimeline) Descriptor() ([]byte, []int)
Deprecated: Use StandardsTimeline.ProtoReflect.Descriptor instead.
func (*StandardsTimeline) GetStandards ¶
func (x *StandardsTimeline) GetStandards() []string
func (*StandardsTimeline) GetTimelineTimes ¶
func (x *StandardsTimeline) GetTimelineTimes() []*UintRange
func (*StandardsTimeline) ProtoMessage ¶
func (*StandardsTimeline) ProtoMessage()
func (*StandardsTimeline) ProtoReflect ¶
func (x *StandardsTimeline) ProtoReflect() protoreflect.Message
func (*StandardsTimeline) Reset ¶
func (x *StandardsTimeline) Reset()
func (*StandardsTimeline) String ¶
func (x *StandardsTimeline) String() string
type TimedUpdatePermission ¶
type TimedUpdatePermission struct {
// Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.
PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,1,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"`
// Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.
PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,2,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"`
// Specifies the times when the timeline-based field is a specific value.
TimelineTimes []*UintRange `protobuf:"bytes,3,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
TimedUpdatePermission defines the permissions for updating a timeline-based field.
Ex: If you want to lock the ability to update the collection's metadata for timelineTimes 1/1/2020 - 1/1/2021, you could set the combination (TimelineTimes: [1/1/2020 - 1/1/2021]) to always be forbidden.
func (*TimedUpdatePermission) Descriptor
deprecated
func (*TimedUpdatePermission) Descriptor() ([]byte, []int)
Deprecated: Use TimedUpdatePermission.ProtoReflect.Descriptor instead.
func (*TimedUpdatePermission) GetPermanentlyForbiddenTimes ¶
func (x *TimedUpdatePermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*TimedUpdatePermission) GetPermanentlyPermittedTimes ¶
func (x *TimedUpdatePermission) GetPermanentlyPermittedTimes() []*UintRange
func (*TimedUpdatePermission) GetTimelineTimes ¶
func (x *TimedUpdatePermission) GetTimelineTimes() []*UintRange
func (*TimedUpdatePermission) ProtoMessage ¶
func (*TimedUpdatePermission) ProtoMessage()
func (*TimedUpdatePermission) ProtoReflect ¶
func (x *TimedUpdatePermission) ProtoReflect() protoreflect.Message
func (*TimedUpdatePermission) Reset ¶
func (x *TimedUpdatePermission) Reset()
func (*TimedUpdatePermission) String ¶
func (x *TimedUpdatePermission) String() string
type TimedUpdateWithBadgeIdsPermission ¶
type TimedUpdateWithBadgeIdsPermission struct {
// Specifies the badge IDs involved in the transfer.
BadgeIds []*UintRange `protobuf:"bytes,1,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.
PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,2,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"`
// Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.
PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,3,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"`
// Specifies the times when the timeline-based field is a specific value.
TimelineTimes []*UintRange `protobuf:"bytes,4,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
TimedUpdateWithBadgeIdsPermission defines the permissions for updating a timeline-based field for specific badges.
Ex: If you want to lock the ability to update the metadata for badgeIds [1,2] for timelineTimes 1/1/2020 - 1/1/2021, you could set the combination (badgeIds: [1,2], TimelineTimes: [1/1/2020 - 1/1/2021]) to always be forbidden.
func (*TimedUpdateWithBadgeIdsPermission) Descriptor
deprecated
func (*TimedUpdateWithBadgeIdsPermission) Descriptor() ([]byte, []int)
Deprecated: Use TimedUpdateWithBadgeIdsPermission.ProtoReflect.Descriptor instead.
func (*TimedUpdateWithBadgeIdsPermission) GetBadgeIds ¶
func (x *TimedUpdateWithBadgeIdsPermission) GetBadgeIds() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) GetPermanentlyForbiddenTimes ¶
func (x *TimedUpdateWithBadgeIdsPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) GetPermanentlyPermittedTimes ¶
func (x *TimedUpdateWithBadgeIdsPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) GetTimelineTimes ¶
func (x *TimedUpdateWithBadgeIdsPermission) GetTimelineTimes() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) ProtoMessage ¶
func (*TimedUpdateWithBadgeIdsPermission) ProtoMessage()
func (*TimedUpdateWithBadgeIdsPermission) ProtoReflect ¶
func (x *TimedUpdateWithBadgeIdsPermission) ProtoReflect() protoreflect.Message
func (*TimedUpdateWithBadgeIdsPermission) Reset ¶
func (x *TimedUpdateWithBadgeIdsPermission) Reset()
func (*TimedUpdateWithBadgeIdsPermission) String ¶
func (x *TimedUpdateWithBadgeIdsPermission) String() string
type Transfer ¶
type Transfer struct {
// The address of the sender of the transfer.
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
// The addresses of the recipients of the transfer.
ToAddresses []string `protobuf:"bytes,2,rep,name=toAddresses,proto3" json:"toAddresses,omitempty"`
// The balances to be transferred.
Balances []*Balance `protobuf:"bytes,3,rep,name=balances,proto3" json:"balances,omitempty"`
// If defined, we will use the predeterminedBalances from the specified approval to calculate the balances at execution time.
// We will override the balances field with the precalculated balances. Only applicable for approvals with predeterminedBalances set.
PrecalculateBalancesFromApproval *ApprovalIdentifierDetails `protobuf:"bytes,4,opt,name=precalculateBalancesFromApproval,proto3" json:"precalculateBalancesFromApproval,omitempty"`
// The Merkle proofs / solutions for all Merkle challenges required for the transfer.
MerkleProofs []*MerkleProof `protobuf:"bytes,5,rep,name=merkleProofs,proto3" json:"merkleProofs,omitempty"`
// The memo for the transfer.
Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`
// The prioritized approvals for the transfer. By default, we scan linearly through the approvals and use the first match.
// This field can be used to prioritize specific approvals and scan through them first.
PrioritizedApprovals []*ApprovalIdentifierDetails `protobuf:"bytes,7,rep,name=prioritizedApprovals,proto3" json:"prioritizedApprovals,omitempty"`
// Whether to only check prioritized approvals for the transfer.
// If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals).
// If false, we will check the prioritized approvals first and then scan through the rest of the approvals.
OnlyCheckPrioritizedCollectionApprovals bool `` /* 132-byte string literal not displayed */
// Whether to only check prioritized approvals for the transfer.
// If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals).
// If false, we will check the prioritized approvals first and then scan through the rest of the approvals.
OnlyCheckPrioritizedIncomingApprovals bool `` /* 128-byte string literal not displayed */
// Whether to only check prioritized approvals for the transfer.
// If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals).
// If false, we will check the prioritized approvals first and then scan through the rest of the approvals.
OnlyCheckPrioritizedOutgoingApprovals bool `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
Transfer defines the details of a transfer of badges.
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetBalances ¶
func (*Transfer) GetMerkleProofs ¶
func (x *Transfer) GetMerkleProofs() []*MerkleProof
func (*Transfer) GetOnlyCheckPrioritizedCollectionApprovals ¶
func (*Transfer) GetOnlyCheckPrioritizedIncomingApprovals ¶
func (*Transfer) GetOnlyCheckPrioritizedOutgoingApprovals ¶
func (*Transfer) GetPrecalculateBalancesFromApproval ¶
func (x *Transfer) GetPrecalculateBalancesFromApproval() *ApprovalIdentifierDetails
func (*Transfer) GetPrioritizedApprovals ¶
func (x *Transfer) GetPrioritizedApprovals() []*ApprovalIdentifierDetails
func (*Transfer) GetToAddresses ¶
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
type UintRange ¶
type UintRange struct {
// The starting value of the range (inclusive).
Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
// The ending value of the range (inclusive).
End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
// contains filtered or unexported fields
}
The UintRange is a range of IDs from some start to some end (inclusive). uintRanges are one of the core types used.
They are used for everything from badge IDs to time ranges to min/max balance amounts.
See the BitBadges documentation for more information.
func (*UintRange) Descriptor
deprecated
func (*UintRange) ProtoMessage ¶
func (*UintRange) ProtoMessage()
func (*UintRange) ProtoReflect ¶
func (x *UintRange) ProtoReflect() protoreflect.Message
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) CreateAddressLists ¶
func (UnimplementedMsgServer) CreateAddressLists(context.Context, *MsgCreateAddressLists) (*MsgCreateAddressListsResponse, error)
func (UnimplementedMsgServer) CreateCollection ¶
func (UnimplementedMsgServer) CreateCollection(context.Context, *MsgCreateCollection) (*MsgCreateCollectionResponse, error)
func (UnimplementedMsgServer) DeleteCollection ¶
func (UnimplementedMsgServer) DeleteCollection(context.Context, *MsgDeleteCollection) (*MsgDeleteCollectionResponse, error)
func (UnimplementedMsgServer) TransferBadges ¶
func (UnimplementedMsgServer) TransferBadges(context.Context, *MsgTransferBadges) (*MsgTransferBadgesResponse, error)
func (UnimplementedMsgServer) UniversalUpdateCollection ¶
func (UnimplementedMsgServer) UniversalUpdateCollection(context.Context, *MsgUniversalUpdateCollection) (*MsgUniversalUpdateCollectionResponse, error)
func (UnimplementedMsgServer) UpdateCollection ¶
func (UnimplementedMsgServer) UpdateCollection(context.Context, *MsgUpdateCollection) (*MsgUpdateCollectionResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) UpdateUserApprovals ¶
func (UnimplementedMsgServer) UpdateUserApprovals(context.Context, *MsgUpdateUserApprovals) (*MsgUpdateUserApprovalsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) GetAddressList ¶
func (UnimplementedQueryServer) GetAddressList(context.Context, *QueryGetAddressListRequest) (*QueryGetAddressListResponse, error)
func (UnimplementedQueryServer) GetApprovalTracker ¶
func (UnimplementedQueryServer) GetApprovalTracker(context.Context, *QueryGetApprovalTrackerRequest) (*QueryGetApprovalTrackerResponse, error)
func (UnimplementedQueryServer) GetBalance ¶
func (UnimplementedQueryServer) GetBalance(context.Context, *QueryGetBalanceRequest) (*QueryGetBalanceResponse, error)
func (UnimplementedQueryServer) GetChallengeTracker ¶
func (UnimplementedQueryServer) GetChallengeTracker(context.Context, *QueryGetChallengeTrackerRequest) (*QueryGetChallengeTrackerResponse, error)
func (UnimplementedQueryServer) GetCollection ¶
func (UnimplementedQueryServer) GetCollection(context.Context, *QueryGetCollectionRequest) (*QueryGetCollectionResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.
type UserBalanceStore ¶
type UserBalanceStore struct {
// The list of balances associated with this user.
Balances []*Balance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
// The list of approved outgoing transfers for this user.
OutgoingApprovals []*UserOutgoingApproval `protobuf:"bytes,2,rep,name=outgoingApprovals,proto3" json:"outgoingApprovals,omitempty"`
// The list of approved incoming transfers for this user.
IncomingApprovals []*UserIncomingApproval `protobuf:"bytes,3,rep,name=incomingApprovals,proto3" json:"incomingApprovals,omitempty"`
// Whether to auto-approve self-initiated outgoing transfers for this user (i.e. from == initiatedBy).
AutoApproveSelfInitiatedOutgoingTransfers bool `` /* 136-byte string literal not displayed */
// Whether to auto-approve self-initiated incoming transfers for this user (i.e. to == initiatedBy).
AutoApproveSelfInitiatedIncomingTransfers bool `` /* 136-byte string literal not displayed */
// The permissions for this user's actions and transfers.
UserPermissions *UserPermissions `protobuf:"bytes,6,opt,name=userPermissions,proto3" json:"userPermissions,omitempty"`
// contains filtered or unexported fields
}
UserBalanceStore is the store for the user balances for a collection.
It consists of a list of balances, a list of approved outgoing transfers, and a list of approved incoming transfers, as well as the permissions for updating the approved incoming/outgoing transfers.
Upon initialization, all fields (minus the balances) are set to the defaults specified by the collection.
The outgoing transfers can be used to allow / disallow transfers which are sent from this user. If a transfer has no match, then it is disallowed by default, unless from == initiatedBy (i.e. initiated by this user) and autoApproveSelfInitiatedOutgoingTransfers is set to true.
The incoming transfers can be used to allow / disallow transfers which are sent to this user. If a transfer has no match, then it is disallowed by default, unless to == initiatedBy (i.e. initiated by this user) and autoApproveSelfInitiatedIncomingTransfers is set to true.
Note that the user approved transfers are only checked if the collection approved transfers do not specify to override the user approved transfers.
The permissions are used to determine whether the user can update the approved incoming/outgoing transfers and auto approvals.
func (*UserBalanceStore) Descriptor
deprecated
func (*UserBalanceStore) Descriptor() ([]byte, []int)
Deprecated: Use UserBalanceStore.ProtoReflect.Descriptor instead.
func (*UserBalanceStore) GetAutoApproveSelfInitiatedIncomingTransfers ¶
func (x *UserBalanceStore) GetAutoApproveSelfInitiatedIncomingTransfers() bool
func (*UserBalanceStore) GetAutoApproveSelfInitiatedOutgoingTransfers ¶
func (x *UserBalanceStore) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
func (*UserBalanceStore) GetBalances ¶
func (x *UserBalanceStore) GetBalances() []*Balance
func (*UserBalanceStore) GetIncomingApprovals ¶
func (x *UserBalanceStore) GetIncomingApprovals() []*UserIncomingApproval
func (*UserBalanceStore) GetOutgoingApprovals ¶
func (x *UserBalanceStore) GetOutgoingApprovals() []*UserOutgoingApproval
func (*UserBalanceStore) GetUserPermissions ¶
func (x *UserBalanceStore) GetUserPermissions() *UserPermissions
func (*UserBalanceStore) ProtoMessage ¶
func (*UserBalanceStore) ProtoMessage()
func (*UserBalanceStore) ProtoReflect ¶
func (x *UserBalanceStore) ProtoReflect() protoreflect.Message
func (*UserBalanceStore) Reset ¶
func (x *UserBalanceStore) Reset()
func (*UserBalanceStore) String ¶
func (x *UserBalanceStore) String() string
type UserIncomingApproval ¶
type UserIncomingApproval struct {
// The list ID for the sender of the transfer.
FromListId string `protobuf:"bytes,1,opt,name=fromListId,proto3" json:"fromListId,omitempty"`
// The list ID for the user who initiated the transfer.
InitiatedByListId string `protobuf:"bytes,2,opt,name=initiatedByListId,proto3" json:"initiatedByListId,omitempty"`
// The allowed range of transfer times for approval.
TransferTimes []*UintRange `protobuf:"bytes,3,rep,name=transferTimes,proto3" json:"transferTimes,omitempty"`
// The allowed range of badge IDs for approval.
BadgeIds []*UintRange `protobuf:"bytes,4,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// The allowed range of ownership times for approval.
OwnershipTimes []*UintRange `protobuf:"bytes,5,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"`
// The URI associated with this approval, optionally providing metadata about the approval.
Uri string `protobuf:"bytes,8,opt,name=uri,proto3" json:"uri,omitempty"`
// Arbitrary custom data associated with this approval.
CustomData string `protobuf:"bytes,9,opt,name=customData,proto3" json:"customData,omitempty"`
// The ID of this approval. Must be unique per level (i.e. collection, outgoing, incoming).
ApprovalId string `protobuf:"bytes,10,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
// The criteria that must be met for this approval to be considered.
ApprovalCriteria *IncomingApprovalCriteria `protobuf:"bytes,11,opt,name=approvalCriteria,proto3" json:"approvalCriteria,omitempty"`
// contains filtered or unexported fields
}
UserIncomingApproval defines the rules for the approval of an incoming transfer to a user.
func (*UserIncomingApproval) Descriptor
deprecated
func (*UserIncomingApproval) Descriptor() ([]byte, []int)
Deprecated: Use UserIncomingApproval.ProtoReflect.Descriptor instead.
func (*UserIncomingApproval) GetApprovalCriteria ¶
func (x *UserIncomingApproval) GetApprovalCriteria() *IncomingApprovalCriteria
func (*UserIncomingApproval) GetApprovalId ¶
func (x *UserIncomingApproval) GetApprovalId() string
func (*UserIncomingApproval) GetBadgeIds ¶
func (x *UserIncomingApproval) GetBadgeIds() []*UintRange
func (*UserIncomingApproval) GetCustomData ¶
func (x *UserIncomingApproval) GetCustomData() string
func (*UserIncomingApproval) GetFromListId ¶
func (x *UserIncomingApproval) GetFromListId() string
func (*UserIncomingApproval) GetInitiatedByListId ¶
func (x *UserIncomingApproval) GetInitiatedByListId() string
func (*UserIncomingApproval) GetOwnershipTimes ¶
func (x *UserIncomingApproval) GetOwnershipTimes() []*UintRange
func (*UserIncomingApproval) GetTransferTimes ¶
func (x *UserIncomingApproval) GetTransferTimes() []*UintRange
func (*UserIncomingApproval) GetUri ¶
func (x *UserIncomingApproval) GetUri() string
func (*UserIncomingApproval) ProtoMessage ¶
func (*UserIncomingApproval) ProtoMessage()
func (*UserIncomingApproval) ProtoReflect ¶
func (x *UserIncomingApproval) ProtoReflect() protoreflect.Message
func (*UserIncomingApproval) Reset ¶
func (x *UserIncomingApproval) Reset()
func (*UserIncomingApproval) String ¶
func (x *UserIncomingApproval) String() string
type UserIncomingApprovalPermission ¶
type UserIncomingApprovalPermission struct {
// Identifier for the sender list.
FromListId string `protobuf:"bytes,1,opt,name=fromListId,proto3" json:"fromListId,omitempty"`
// Identifier for the initiator list (who is approved?).
InitiatedByListId string `protobuf:"bytes,2,opt,name=initiatedByListId,proto3" json:"initiatedByListId,omitempty"`
// Specifies the times when the transfer can occur.
TransferTimes []*UintRange `protobuf:"bytes,3,rep,name=transferTimes,proto3" json:"transferTimes,omitempty"`
// Specifies the badge IDs involved in the transfer.
BadgeIds []*UintRange `protobuf:"bytes,4,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// Specifies the ownership times for the badges in the transfer.
OwnershipTimes []*UintRange `protobuf:"bytes,5,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"`
// Identifier for the approvalId. You can use "All" or "!approvalId" for shorthand.
// If you use "All", this approval will match to all approvalIds.
// If you use "!approvalId", this approval will match to all approvalIds except for approvalId.
// If you use "approvalId", this approval will match to only the specified approvalId and fail on all others.
ApprovalId string `protobuf:"bytes,8,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
// Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.
PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,9,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"`
// Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.
PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,10,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"`
// contains filtered or unexported fields
}
UserIncomingApprovalPermission defines the permissions for updating the user's approved incoming transfers.
See CollectionApprovalPermission for more details. This is equivalent without the toListId field because that is always the user.
func (*UserIncomingApprovalPermission) Descriptor
deprecated
func (*UserIncomingApprovalPermission) Descriptor() ([]byte, []int)
Deprecated: Use UserIncomingApprovalPermission.ProtoReflect.Descriptor instead.
func (*UserIncomingApprovalPermission) GetApprovalId ¶
func (x *UserIncomingApprovalPermission) GetApprovalId() string
func (*UserIncomingApprovalPermission) GetBadgeIds ¶
func (x *UserIncomingApprovalPermission) GetBadgeIds() []*UintRange
func (*UserIncomingApprovalPermission) GetFromListId ¶
func (x *UserIncomingApprovalPermission) GetFromListId() string
func (*UserIncomingApprovalPermission) GetInitiatedByListId ¶
func (x *UserIncomingApprovalPermission) GetInitiatedByListId() string
func (*UserIncomingApprovalPermission) GetOwnershipTimes ¶
func (x *UserIncomingApprovalPermission) GetOwnershipTimes() []*UintRange
func (*UserIncomingApprovalPermission) GetPermanentlyForbiddenTimes ¶
func (x *UserIncomingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*UserIncomingApprovalPermission) GetPermanentlyPermittedTimes ¶
func (x *UserIncomingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*UserIncomingApprovalPermission) GetTransferTimes ¶
func (x *UserIncomingApprovalPermission) GetTransferTimes() []*UintRange
func (*UserIncomingApprovalPermission) ProtoMessage ¶
func (*UserIncomingApprovalPermission) ProtoMessage()
func (*UserIncomingApprovalPermission) ProtoReflect ¶
func (x *UserIncomingApprovalPermission) ProtoReflect() protoreflect.Message
func (*UserIncomingApprovalPermission) Reset ¶
func (x *UserIncomingApprovalPermission) Reset()
func (*UserIncomingApprovalPermission) String ¶
func (x *UserIncomingApprovalPermission) String() string
type UserIncomingApprovalTimeline ¶
type UserIncomingApprovalTimeline struct {
IncomingApprovals []*UserIncomingApproval `protobuf:"bytes,1,rep,name=incomingApprovals,proto3" json:"incomingApprovals,omitempty"`
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
func (*UserIncomingApprovalTimeline) Descriptor
deprecated
func (*UserIncomingApprovalTimeline) Descriptor() ([]byte, []int)
Deprecated: Use UserIncomingApprovalTimeline.ProtoReflect.Descriptor instead.
func (*UserIncomingApprovalTimeline) GetIncomingApprovals ¶
func (x *UserIncomingApprovalTimeline) GetIncomingApprovals() []*UserIncomingApproval
func (*UserIncomingApprovalTimeline) GetTimelineTimes ¶
func (x *UserIncomingApprovalTimeline) GetTimelineTimes() []*UintRange
func (*UserIncomingApprovalTimeline) ProtoMessage ¶
func (*UserIncomingApprovalTimeline) ProtoMessage()
func (*UserIncomingApprovalTimeline) ProtoReflect ¶
func (x *UserIncomingApprovalTimeline) ProtoReflect() protoreflect.Message
func (*UserIncomingApprovalTimeline) Reset ¶
func (x *UserIncomingApprovalTimeline) Reset()
func (*UserIncomingApprovalTimeline) String ¶
func (x *UserIncomingApprovalTimeline) String() string
type UserOutgoingApproval ¶
type UserOutgoingApproval struct {
// The list ID for the recipient of the transfer.
ToListId string `protobuf:"bytes,1,opt,name=toListId,proto3" json:"toListId,omitempty"`
// The list ID for the user who initiated the transfer.
InitiatedByListId string `protobuf:"bytes,2,opt,name=initiatedByListId,proto3" json:"initiatedByListId,omitempty"`
// The allowed range of transfer times for approval.
TransferTimes []*UintRange `protobuf:"bytes,3,rep,name=transferTimes,proto3" json:"transferTimes,omitempty"`
// The allowed range of badge IDs for approval.
BadgeIds []*UintRange `protobuf:"bytes,4,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// The allowed range of ownership times for approval.
OwnershipTimes []*UintRange `protobuf:"bytes,5,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"`
// The URI associated with this approval, optionally providing metadata about the approval.
Uri string `protobuf:"bytes,8,opt,name=uri,proto3" json:"uri,omitempty"`
// Arbitrary custom data associated with this approval.
CustomData string `protobuf:"bytes,9,opt,name=customData,proto3" json:"customData,omitempty"`
// The ID of this approval. Must be unique per level (i.e. collection, outgoing, incoming).
ApprovalId string `protobuf:"bytes,10,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
// The criteria that must be met for this approval to be considered.
ApprovalCriteria *OutgoingApprovalCriteria `protobuf:"bytes,11,opt,name=approvalCriteria,proto3" json:"approvalCriteria,omitempty"`
// contains filtered or unexported fields
}
UserOutgoingApproval defines the rules for the approval of an outgoing transfer from a user.
func (*UserOutgoingApproval) Descriptor
deprecated
func (*UserOutgoingApproval) Descriptor() ([]byte, []int)
Deprecated: Use UserOutgoingApproval.ProtoReflect.Descriptor instead.
func (*UserOutgoingApproval) GetApprovalCriteria ¶
func (x *UserOutgoingApproval) GetApprovalCriteria() *OutgoingApprovalCriteria
func (*UserOutgoingApproval) GetApprovalId ¶
func (x *UserOutgoingApproval) GetApprovalId() string
func (*UserOutgoingApproval) GetBadgeIds ¶
func (x *UserOutgoingApproval) GetBadgeIds() []*UintRange
func (*UserOutgoingApproval) GetCustomData ¶
func (x *UserOutgoingApproval) GetCustomData() string
func (*UserOutgoingApproval) GetInitiatedByListId ¶
func (x *UserOutgoingApproval) GetInitiatedByListId() string
func (*UserOutgoingApproval) GetOwnershipTimes ¶
func (x *UserOutgoingApproval) GetOwnershipTimes() []*UintRange
func (*UserOutgoingApproval) GetToListId ¶
func (x *UserOutgoingApproval) GetToListId() string
func (*UserOutgoingApproval) GetTransferTimes ¶
func (x *UserOutgoingApproval) GetTransferTimes() []*UintRange
func (*UserOutgoingApproval) GetUri ¶
func (x *UserOutgoingApproval) GetUri() string
func (*UserOutgoingApproval) ProtoMessage ¶
func (*UserOutgoingApproval) ProtoMessage()
func (*UserOutgoingApproval) ProtoReflect ¶
func (x *UserOutgoingApproval) ProtoReflect() protoreflect.Message
func (*UserOutgoingApproval) Reset ¶
func (x *UserOutgoingApproval) Reset()
func (*UserOutgoingApproval) String ¶
func (x *UserOutgoingApproval) String() string
type UserOutgoingApprovalPermission ¶
type UserOutgoingApprovalPermission struct {
// Identifier for the recipient list.
ToListId string `protobuf:"bytes,1,opt,name=toListId,proto3" json:"toListId,omitempty"`
// Identifier for the initiator list (who is approved?).
InitiatedByListId string `protobuf:"bytes,2,opt,name=initiatedByListId,proto3" json:"initiatedByListId,omitempty"`
// Specifies the times when the transfer can occur.
TransferTimes []*UintRange `protobuf:"bytes,3,rep,name=transferTimes,proto3" json:"transferTimes,omitempty"`
// Specifies the badge IDs involved in the transfer.
BadgeIds []*UintRange `protobuf:"bytes,4,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"`
// Specifies the ownership times for the badges in the transfer.
OwnershipTimes []*UintRange `protobuf:"bytes,5,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"`
// Identifier for the approvalId. You can use "All" or "!approvalId" for shorthand.
// If you use "All", this approval will match to all approvalIds.
// If you use "!approvalId", this approval will match to all approvalIds except for approvalId.
// If you use "approvalId", this approval will match to only the specified approvalId and fail on all others.
ApprovalId string `protobuf:"bytes,8,opt,name=approvalId,proto3" json:"approvalId,omitempty"`
// Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes.
PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,9,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"`
// Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes.
PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,10,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"`
// contains filtered or unexported fields
}
UserOutgoingApprovalPermission defines the permissions for updating the user's approved outgoing transfers.
func (*UserOutgoingApprovalPermission) Descriptor
deprecated
func (*UserOutgoingApprovalPermission) Descriptor() ([]byte, []int)
Deprecated: Use UserOutgoingApprovalPermission.ProtoReflect.Descriptor instead.
func (*UserOutgoingApprovalPermission) GetApprovalId ¶
func (x *UserOutgoingApprovalPermission) GetApprovalId() string
func (*UserOutgoingApprovalPermission) GetBadgeIds ¶
func (x *UserOutgoingApprovalPermission) GetBadgeIds() []*UintRange
func (*UserOutgoingApprovalPermission) GetInitiatedByListId ¶
func (x *UserOutgoingApprovalPermission) GetInitiatedByListId() string
func (*UserOutgoingApprovalPermission) GetOwnershipTimes ¶
func (x *UserOutgoingApprovalPermission) GetOwnershipTimes() []*UintRange
func (*UserOutgoingApprovalPermission) GetPermanentlyForbiddenTimes ¶
func (x *UserOutgoingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*UserOutgoingApprovalPermission) GetPermanentlyPermittedTimes ¶
func (x *UserOutgoingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*UserOutgoingApprovalPermission) GetToListId ¶
func (x *UserOutgoingApprovalPermission) GetToListId() string
func (*UserOutgoingApprovalPermission) GetTransferTimes ¶
func (x *UserOutgoingApprovalPermission) GetTransferTimes() []*UintRange
func (*UserOutgoingApprovalPermission) ProtoMessage ¶
func (*UserOutgoingApprovalPermission) ProtoMessage()
func (*UserOutgoingApprovalPermission) ProtoReflect ¶
func (x *UserOutgoingApprovalPermission) ProtoReflect() protoreflect.Message
func (*UserOutgoingApprovalPermission) Reset ¶
func (x *UserOutgoingApprovalPermission) Reset()
func (*UserOutgoingApprovalPermission) String ¶
func (x *UserOutgoingApprovalPermission) String() string
type UserOutgoingApprovalTimeline ¶
type UserOutgoingApprovalTimeline struct {
OutgoingApprovals []*UserOutgoingApproval `protobuf:"bytes,1,rep,name=outgoingApprovals,proto3" json:"outgoingApprovals,omitempty"`
TimelineTimes []*UintRange `protobuf:"bytes,2,rep,name=timelineTimes,proto3" json:"timelineTimes,omitempty"`
// contains filtered or unexported fields
}
The types defined in these files are used to define the MsgServer types for all requests and responses for Msgs of the badges module.
func (*UserOutgoingApprovalTimeline) Descriptor
deprecated
func (*UserOutgoingApprovalTimeline) Descriptor() ([]byte, []int)
Deprecated: Use UserOutgoingApprovalTimeline.ProtoReflect.Descriptor instead.
func (*UserOutgoingApprovalTimeline) GetOutgoingApprovals ¶
func (x *UserOutgoingApprovalTimeline) GetOutgoingApprovals() []*UserOutgoingApproval
func (*UserOutgoingApprovalTimeline) GetTimelineTimes ¶
func (x *UserOutgoingApprovalTimeline) GetTimelineTimes() []*UintRange
func (*UserOutgoingApprovalTimeline) ProtoMessage ¶
func (*UserOutgoingApprovalTimeline) ProtoMessage()
func (*UserOutgoingApprovalTimeline) ProtoReflect ¶
func (x *UserOutgoingApprovalTimeline) ProtoReflect() protoreflect.Message
func (*UserOutgoingApprovalTimeline) Reset ¶
func (x *UserOutgoingApprovalTimeline) Reset()
func (*UserOutgoingApprovalTimeline) String ¶
func (x *UserOutgoingApprovalTimeline) String() string
type UserPermissions ¶
type UserPermissions struct {
// Permissions related to updating the user's approved outgoing transfers.
CanUpdateOutgoingApprovals []*UserOutgoingApprovalPermission `protobuf:"bytes,1,rep,name=canUpdateOutgoingApprovals,proto3" json:"canUpdateOutgoingApprovals,omitempty"`
// Permissions related to updating the user's approved incoming transfers.
CanUpdateIncomingApprovals []*UserIncomingApprovalPermission `protobuf:"bytes,2,rep,name=canUpdateIncomingApprovals,proto3" json:"canUpdateIncomingApprovals,omitempty"`
// Permissions related to updating auto-approval settings for self-initiated outgoing transfers (whether they are allowed by default).
CanUpdateAutoApproveSelfInitiatedOutgoingTransfers []*ActionPermission `` /* 153-byte string literal not displayed */
// Permissions related to updating auto-approval settings for self-initiated incoming transfers (whether they are allowed by default).
CanUpdateAutoApproveSelfInitiatedIncomingTransfers []*ActionPermission `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
UserPermissions defines the permissions for the user about their approvals (i.e., what the user can and cannot do).
See CollectionPermissions for more details on the different types of permissions.
canUpdateOutgoingApprovals and canUpdateOutgoingApprovals follow the same as the canUpdateCollectionApprovals in CollectionPermissions, but certain fields are removed because they are not relevant to the user.
func (*UserPermissions) Descriptor
deprecated
func (*UserPermissions) Descriptor() ([]byte, []int)
Deprecated: Use UserPermissions.ProtoReflect.Descriptor instead.
func (*UserPermissions) GetCanUpdateAutoApproveSelfInitiatedIncomingTransfers ¶
func (x *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedIncomingTransfers() []*ActionPermission
func (*UserPermissions) GetCanUpdateAutoApproveSelfInitiatedOutgoingTransfers ¶
func (x *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedOutgoingTransfers() []*ActionPermission
func (*UserPermissions) GetCanUpdateIncomingApprovals ¶
func (x *UserPermissions) GetCanUpdateIncomingApprovals() []*UserIncomingApprovalPermission
func (*UserPermissions) GetCanUpdateOutgoingApprovals ¶
func (x *UserPermissions) GetCanUpdateOutgoingApprovals() []*UserOutgoingApprovalPermission
func (*UserPermissions) ProtoMessage ¶
func (*UserPermissions) ProtoMessage()
func (*UserPermissions) ProtoReflect ¶
func (x *UserPermissions) ProtoReflect() protoreflect.Message
func (*UserPermissions) Reset ¶
func (x *UserPermissions) Reset()
func (*UserPermissions) String ¶
func (x *UserPermissions) String() string