Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AreBalancesEqual(expected []*Balance, actual []*Balance, checkZeroBalances bool) bool
- func AssertRangesDoNotOverlapAtAll(rangeToCheck []*UintRange, overlappingRange []*UintRange) error
- func DoBalancesExceedThreshold(balances []*Balance, thresholdBalances []*Balance) bool
- func DoRangesOverlap(ids []*UintRange) bool
- func GetBadgeMetadataTimesAndValues(timeline []*BadgeMetadataTimeline) ([][]*UintRange, []interface{})
- func GetCollectionApprovalTimesAndValues(approvals []*CollectionApprovalTimeline) ([][]*UintRange, []interface{})
- func GetCollectionMetadataTimesAndValues(timeline []*CollectionMetadataTimeline) ([][]*UintRange, []interface{})
- func GetCurrentManager(ctx sdk.Context, collection *BadgeCollection) string
- func GetCustomDataTimesAndValues(customDataTimeline []*CustomDataTimeline) ([][]*UintRange, []interface{})
- func GetIsArchived(ctx sdk.Context, collection *BadgeCollection) bool
- func GetIsArchivedTimesAndValues(isArchivedTimeline []*IsArchivedTimeline) ([][]*UintRange, []interface{})
- func GetListIdWithOptions(listId string, uses bool) string
- func GetManagerTimesAndValues(managerTimeline []*ManagerTimeline) ([][]*UintRange, []interface{})
- func GetOffChainBalancesMetadataTimesAndValues(inheritedBalancesMetadata []*OffChainBalancesMetadataTimeline) ([][]*UintRange, []interface{})
- func GetOverlapsAndNonOverlaps(firstDetails []*UniversalPermissionDetails, ...) ([]*Overlap, []*UniversalPermissionDetails, []*UniversalPermissionDetails)
- func GetPermissionString(permission *UniversalPermissionDetails) string
- func GetStandardsTimesAndValues(standardsTimeline []*StandardsTimeline) ([][]*UintRange, []interface{})
- func GetUserIncomingApprovalTimesAndValues(approvals []*UserIncomingApprovalTimeline) ([][]*UintRange, []interface{})
- func GetUserOutgoingApprovalTimesAndValues(approvals []*UserOutgoingApprovalTimeline) ([][]*UintRange, []interface{})
- func IsAddressListEmpty(list *AddressList) bool
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RemoveAddressListFromAddressList(listToRemove *AddressList, addressList *AddressList) (*AddressList, *AddressList)
- func RemoveUintRangeFromUintRange(idxsToRemove *UintRange, rangeObject *UintRange) ([]*UintRange, []*UintRange)
- func RemoveUintRangesFromUintRanges(idsToRemove []*UintRange, rangeToRemoveFrom []*UintRange) ([]*UintRange, []*UintRange)
- func SafeAdd(left sdkmath.Uint, right sdkmath.Uint) (sdkmath.Uint, error)
- func SafeSubtract(left sdkmath.Uint, right sdkmath.Uint) (sdkmath.Uint, error)
- func SearchUintRangesForUint(id sdkmath.Uint, uintRanges []*UintRange) (bool, error)
- func UniversalRemoveOverlapFromValues(handled *UniversalPermissionDetails, ...) ([]*UniversalPermissionDetails, []*UniversalPermissionDetails)
- func UniversalRemoveOverlaps(handled *UniversalPermissionDetails, valueToCheck *UniversalPermissionDetails) ([]*UniversalPermissionDetails, []*UniversalPermissionDetails)
- func ValidateActionPermission(permissions []*ActionPermission, canChangeValues bool) error
- func ValidateAddress(address string, allowAliases bool) error
- func ValidateAddressList(addressList *AddressList) error
- func ValidateApprovalTimeline(timeline []*CollectionApprovalTimeline, canChangeValues bool) error
- func ValidateBadgeMetadata(badgeMetadata []*BadgeMetadata, canChangeValues bool) error
- func ValidateBadgeMetadataTimeline(timeline []*BadgeMetadataTimeline, canChangeValues bool) error
- func ValidateBalancesActionPermission(permissions []*BalancesActionPermission, canChangeValues bool) error
- func ValidateCollectionApprovalPermissions(permissions []*CollectionApprovalPermission, canChangeValues bool) error
- func ValidateCollectionApprovals(collectionApprovals []*CollectionApproval, canChangeValues bool) error
- func ValidateCollectionMetadataTimeline(timeline []*CollectionMetadataTimeline) error
- func ValidateCustomDataTimeline(timeline []*CustomDataTimeline) error
- func ValidateIsArchivedTimeline(timeline []*IsArchivedTimeline) error
- func ValidateManagerTimeline(timeline []*ManagerTimeline) error
- func ValidateMerkleChallenge(challenge *MerkleChallenge, challengeId string, ...) error
- func ValidateNoElementIsX(amounts []sdkmath.Uint, x sdkmath.Uint) error
- func ValidateNoStringElementIsX(addresses []string, x string) error
- func ValidateOffChainBalancesMetadataTimeline(timeline []*OffChainBalancesMetadataTimeline) error
- func ValidatePermanentlyPermittedTimes(permanentlyPermittedTimes []*UintRange, permanentlyForbiddenTimes []*UintRange) error
- func ValidatePermissions(permissions *CollectionPermissions, canChangeValues bool) error
- func ValidateRangesAreValid(badgeUintRanges []*UintRange, allowAllUints bool, errorOnEmpty bool) error
- func ValidateStandardsTimeline(timeline []*StandardsTimeline) error
- func ValidateTimedUpdatePermission(permissions []*TimedUpdatePermission, canChangeValues bool) error
- func ValidateTimedUpdateWithBadgeIdsPermission(permissions []*TimedUpdateWithBadgeIdsPermission, canChangeValues bool) error
- func ValidateTimelineTimesDoNotOverlap(times [][]*UintRange) error
- func ValidateTransfer(transfer *Transfer, canChangeValues bool) error
- func ValidateURI(uri string) error
- func ValidateUniversalPermissionUpdate(oldPermissions []*UniversalPermissionDetails, ...) error
- func ValidateUserIncomingApprovalPermissions(permissions []*UserIncomingApprovalPermission, canChangeValues bool) error
- func ValidateUserIncomingApprovalTimeline(timeline []*UserIncomingApprovalTimeline, address string, canChangeValues bool) error
- func ValidateUserIncomingApprovals(userIncomingApprovals []*UserIncomingApproval, toAddress string, ...) error
- func ValidateUserOutgoingApprovalPermissions(permissions []*UserOutgoingApprovalPermission, canChangeValues bool) error
- func ValidateUserOutgoingApprovalTimeline(timeline []*UserOutgoingApprovalTimeline, address string, canChangeValues bool) error
- func ValidateUserOutgoingApprovals(userOutgoingApprovals []*UserOutgoingApproval, fromAddress string, ...) error
- func ValidateUserPermissions(permissions *UserPermissions, canChangeValues bool) error
- type AccountKeeper
- type ActionPermission
- func (*ActionPermission) Descriptor() ([]byte, []int)
- func (m *ActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (m *ActionPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (m *ActionPermission) Marshal() (dAtA []byte, err error)
- func (m *ActionPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *ActionPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActionPermission) ProtoMessage()
- func (m *ActionPermission) Reset()
- func (m *ActionPermission) Size() (n int)
- func (m *ActionPermission) String() string
- func (m *ActionPermission) Unmarshal(dAtA []byte) error
- func (m *ActionPermission) XXX_DiscardUnknown()
- func (m *ActionPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionPermission) XXX_Merge(src proto.Message)
- func (m *ActionPermission) XXX_Size() int
- func (m *ActionPermission) XXX_Unmarshal(b []byte) error
- type AddressList
- func (*AddressList) Descriptor() ([]byte, []int)
- func (m *AddressList) GetAddresses() []string
- func (m *AddressList) GetAliasAddress() string
- func (m *AddressList) GetCreatedBy() string
- func (m *AddressList) GetCustomData() string
- func (m *AddressList) GetListId() string
- func (m *AddressList) GetUri() string
- func (m *AddressList) GetWhitelist() bool
- func (m *AddressList) Marshal() (dAtA []byte, err error)
- func (m *AddressList) MarshalTo(dAtA []byte) (int, error)
- func (m *AddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddressList) ProtoMessage()
- func (m *AddressList) Reset()
- func (m *AddressList) Size() (n int)
- func (m *AddressList) String() string
- func (m *AddressList) Unmarshal(dAtA []byte) error
- func (m *AddressList) XXX_DiscardUnknown()
- func (m *AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddressList) XXX_Merge(src proto.Message)
- func (m *AddressList) XXX_Size() int
- func (m *AddressList) XXX_Unmarshal(b []byte) error
- type ApprovalAmounts
- func (*ApprovalAmounts) Descriptor() ([]byte, []int)
- func (m *ApprovalAmounts) Marshal() (dAtA []byte, err error)
- func (m *ApprovalAmounts) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovalAmounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovalAmounts) ProtoMessage()
- func (m *ApprovalAmounts) Reset()
- func (m *ApprovalAmounts) Size() (n int)
- func (m *ApprovalAmounts) String() string
- func (m *ApprovalAmounts) Unmarshal(dAtA []byte) error
- func (m *ApprovalAmounts) XXX_DiscardUnknown()
- func (m *ApprovalAmounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovalAmounts) XXX_Merge(src proto.Message)
- func (m *ApprovalAmounts) XXX_Size() int
- func (m *ApprovalAmounts) XXX_Unmarshal(b []byte) error
- type ApprovalCriteria
- func (*ApprovalCriteria) Descriptor() ([]byte, []int)
- func (m *ApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
- func (m *ApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
- func (m *ApprovalCriteria) GetMerkleChallenge() *MerkleChallenge
- func (m *ApprovalCriteria) GetMustOwnBadges() []*MustOwnBadges
- func (m *ApprovalCriteria) GetOverridesFromOutgoingApprovals() bool
- func (m *ApprovalCriteria) GetOverridesToIncomingApprovals() bool
- func (m *ApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
- func (m *ApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
- func (m *ApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
- func (m *ApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
- func (m *ApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
- func (m *ApprovalCriteria) Marshal() (dAtA []byte, err error)
- func (m *ApprovalCriteria) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovalCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovalCriteria) ProtoMessage()
- func (m *ApprovalCriteria) Reset()
- func (m *ApprovalCriteria) Size() (n int)
- func (m *ApprovalCriteria) String() string
- func (m *ApprovalCriteria) Unmarshal(dAtA []byte) error
- func (m *ApprovalCriteria) XXX_DiscardUnknown()
- func (m *ApprovalCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovalCriteria) XXX_Merge(src proto.Message)
- func (m *ApprovalCriteria) XXX_Size() int
- func (m *ApprovalCriteria) XXX_Unmarshal(b []byte) error
- type ApprovalIdentifierDetails
- func (*ApprovalIdentifierDetails) Descriptor() ([]byte, []int)
- func (m *ApprovalIdentifierDetails) GetApprovalId() string
- func (m *ApprovalIdentifierDetails) GetApprovalLevel() string
- func (m *ApprovalIdentifierDetails) GetApproverAddress() string
- func (m *ApprovalIdentifierDetails) Marshal() (dAtA []byte, err error)
- func (m *ApprovalIdentifierDetails) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovalIdentifierDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovalIdentifierDetails) ProtoMessage()
- func (m *ApprovalIdentifierDetails) Reset()
- func (m *ApprovalIdentifierDetails) Size() (n int)
- func (m *ApprovalIdentifierDetails) String() string
- func (m *ApprovalIdentifierDetails) Unmarshal(dAtA []byte) error
- func (m *ApprovalIdentifierDetails) XXX_DiscardUnknown()
- func (m *ApprovalIdentifierDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovalIdentifierDetails) XXX_Merge(src proto.Message)
- func (m *ApprovalIdentifierDetails) XXX_Size() int
- func (m *ApprovalIdentifierDetails) XXX_Unmarshal(b []byte) error
- type ApprovalTracker
- func (*ApprovalTracker) Descriptor() ([]byte, []int)
- func (m *ApprovalTracker) GetAmounts() []*Balance
- func (m *ApprovalTracker) Marshal() (dAtA []byte, err error)
- func (m *ApprovalTracker) MarshalTo(dAtA []byte) (int, error)
- func (m *ApprovalTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApprovalTracker) ProtoMessage()
- func (m *ApprovalTracker) Reset()
- func (m *ApprovalTracker) Size() (n int)
- func (m *ApprovalTracker) String() string
- func (m *ApprovalTracker) Unmarshal(dAtA []byte) error
- func (m *ApprovalTracker) XXX_DiscardUnknown()
- func (m *ApprovalTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovalTracker) XXX_Merge(src proto.Message)
- func (m *ApprovalTracker) XXX_Size() int
- func (m *ApprovalTracker) XXX_Unmarshal(b []byte) error
- type BadgeCollection
- func (*BadgeCollection) Descriptor() ([]byte, []int)
- func (m *BadgeCollection) GetAliasAddress() string
- func (m *BadgeCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (m *BadgeCollection) GetBalancesType() string
- func (m *BadgeCollection) GetCollectionApprovals() []*CollectionApproval
- func (m *BadgeCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (m *BadgeCollection) GetCollectionPermissions() *CollectionPermissions
- func (m *BadgeCollection) GetCreatedBy() string
- func (m *BadgeCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (m *BadgeCollection) GetDefaultBalances() *UserBalanceStore
- func (m *BadgeCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (m *BadgeCollection) GetManagerTimeline() []*ManagerTimeline
- func (m *BadgeCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (m *BadgeCollection) GetStandardsTimeline() []*StandardsTimeline
- func (m *BadgeCollection) Marshal() (dAtA []byte, err error)
- func (m *BadgeCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *BadgeCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BadgeCollection) ProtoMessage()
- func (m *BadgeCollection) Reset()
- func (m *BadgeCollection) Size() (n int)
- func (m *BadgeCollection) String() string
- func (m *BadgeCollection) Unmarshal(dAtA []byte) error
- func (m *BadgeCollection) XXX_DiscardUnknown()
- func (m *BadgeCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BadgeCollection) XXX_Merge(src proto.Message)
- func (m *BadgeCollection) XXX_Size() int
- func (m *BadgeCollection) XXX_Unmarshal(b []byte) error
- type BadgeCustomMsgType
- func (*BadgeCustomMsgType) Descriptor() ([]byte, []int)
- func (m *BadgeCustomMsgType) GetCreateAddressListsMsg() *MsgCreateAddressLists
- func (m *BadgeCustomMsgType) GetCreateCollectionMsg() *MsgCreateCollection
- func (m *BadgeCustomMsgType) GetDeleteCollectionMsg() *MsgDeleteCollection
- func (m *BadgeCustomMsgType) GetTransferBadgesMsg() *MsgTransferBadges
- func (m *BadgeCustomMsgType) GetUniversalUpdateCollectionMsg() *MsgUniversalUpdateCollection
- func (m *BadgeCustomMsgType) GetUpdateCollectionMsg() *MsgUpdateCollection
- func (m *BadgeCustomMsgType) GetUpdateUserApprovalsMsg() *MsgUpdateUserApprovals
- func (m *BadgeCustomMsgType) Marshal() (dAtA []byte, err error)
- func (m *BadgeCustomMsgType) MarshalTo(dAtA []byte) (int, error)
- func (m *BadgeCustomMsgType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BadgeCustomMsgType) ProtoMessage()
- func (m *BadgeCustomMsgType) Reset()
- func (m *BadgeCustomMsgType) Size() (n int)
- func (m *BadgeCustomMsgType) String() string
- func (m *BadgeCustomMsgType) Unmarshal(dAtA []byte) error
- func (m *BadgeCustomMsgType) XXX_DiscardUnknown()
- func (m *BadgeCustomMsgType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BadgeCustomMsgType) XXX_Merge(src proto.Message)
- func (m *BadgeCustomMsgType) XXX_Size() int
- func (m *BadgeCustomMsgType) XXX_Unmarshal(b []byte) error
- type BadgeMetadata
- func (*BadgeMetadata) Descriptor() ([]byte, []int)
- func (m *BadgeMetadata) GetBadgeIds() []*UintRange
- func (m *BadgeMetadata) GetCustomData() string
- func (m *BadgeMetadata) GetUri() string
- func (m *BadgeMetadata) Marshal() (dAtA []byte, err error)
- func (m *BadgeMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *BadgeMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BadgeMetadata) ProtoMessage()
- func (m *BadgeMetadata) Reset()
- func (m *BadgeMetadata) Size() (n int)
- func (m *BadgeMetadata) String() string
- func (m *BadgeMetadata) Unmarshal(dAtA []byte) error
- func (m *BadgeMetadata) XXX_DiscardUnknown()
- func (m *BadgeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BadgeMetadata) XXX_Merge(src proto.Message)
- func (m *BadgeMetadata) XXX_Size() int
- func (m *BadgeMetadata) XXX_Unmarshal(b []byte) error
- type BadgeMetadataTimeline
- func (*BadgeMetadataTimeline) Descriptor() ([]byte, []int)
- func (m *BadgeMetadataTimeline) GetBadgeMetadata() []*BadgeMetadata
- func (m *BadgeMetadataTimeline) GetTimelineTimes() []*UintRange
- func (m *BadgeMetadataTimeline) Marshal() (dAtA []byte, err error)
- func (m *BadgeMetadataTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *BadgeMetadataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BadgeMetadataTimeline) ProtoMessage()
- func (m *BadgeMetadataTimeline) Reset()
- func (m *BadgeMetadataTimeline) Size() (n int)
- func (m *BadgeMetadataTimeline) String() string
- func (m *BadgeMetadataTimeline) Unmarshal(dAtA []byte) error
- func (m *BadgeMetadataTimeline) XXX_DiscardUnknown()
- func (m *BadgeMetadataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BadgeMetadataTimeline) XXX_Merge(src proto.Message)
- func (m *BadgeMetadataTimeline) XXX_Size() int
- func (m *BadgeMetadataTimeline) XXX_Unmarshal(b []byte) error
- type BadgesPacketData
- func (*BadgesPacketData) Descriptor() ([]byte, []int)
- func (m *BadgesPacketData) GetNoData() *NoData
- func (m *BadgesPacketData) GetPacket() isBadgesPacketData_Packet
- func (m *BadgesPacketData) Marshal() (dAtA []byte, err error)
- func (m *BadgesPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *BadgesPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BadgesPacketData) ProtoMessage()
- func (m *BadgesPacketData) Reset()
- func (m *BadgesPacketData) Size() (n int)
- func (m *BadgesPacketData) String() string
- func (m *BadgesPacketData) Unmarshal(dAtA []byte) error
- func (m *BadgesPacketData) XXX_DiscardUnknown()
- func (m *BadgesPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BadgesPacketData) XXX_Merge(src proto.Message)
- func (*BadgesPacketData) XXX_OneofWrappers() []interface{}
- func (m *BadgesPacketData) XXX_Size() int
- func (m *BadgesPacketData) XXX_Unmarshal(b []byte) error
- type BadgesPacketData_NoData
- type Balance
- func AddBalance(existingBalances []*Balance, balanceToAdd *Balance) ([]*Balance, error)
- func AddBalances(balancesToAdd []*Balance, balances []*Balance) ([]*Balance, error)
- func AddBalancesAndAssertDoesntExceedThreshold(currTally []*Balance, toAdd []*Balance, threshold []*Balance) ([]*Balance, error)
- func DeepCopyBalances(balances []*Balance) []*Balance
- func DeleteBalances(rangesToDelete []*UintRange, timesToDelete []*UintRange, balances []*Balance) ([]*Balance, error)
- func FilterZeroBalances(balances []*Balance) []*Balance
- func GetBalancesForIds(idRanges []*UintRange, times []*UintRange, balances []*Balance) (newBalances []*Balance, err error)
- func GetOverlappingBalances(transferBalancesToCheck []*Balance, maxPossible []*Balance) ([]*Balance, error)
- func HandleDuplicateBadgeIds(balances []*Balance, canChangeValues bool) ([]*Balance, error)
- func SetBalance(newBalance *Balance, balances []*Balance) ([]*Balance, error)
- func SubtractBalance(balances []*Balance, balanceToRemove *Balance, setToZeroOnUnderflow bool) ([]*Balance, error)
- func SubtractBalances(balancesToSubtract []*Balance, balances []*Balance) ([]*Balance, error)
- func SubtractBalancesWithZeroForUnderflows(balancesToSubtract []*Balance, balances []*Balance) ([]*Balance, error)
- func UpdateBalance(newBalance *Balance, balances []*Balance) ([]*Balance, error)
- func ValidateBalances(balances []*Balance, canChangeValues bool) ([]*Balance, error)
- func (*Balance) Descriptor() ([]byte, []int)
- func (m *Balance) GetBadgeIds() []*UintRange
- func (m *Balance) GetOwnershipTimes() []*UintRange
- func (m *Balance) Marshal() (dAtA []byte, err error)
- func (m *Balance) MarshalTo(dAtA []byte) (int, error)
- func (m *Balance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) Size() (n int)
- func (m *Balance) String() string
- func (m *Balance) Unmarshal(dAtA []byte) error
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type BalancesActionPermission
- func (*BalancesActionPermission) Descriptor() ([]byte, []int)
- func (m *BalancesActionPermission) GetBadgeIds() []*UintRange
- func (m *BalancesActionPermission) GetOwnershipTimes() []*UintRange
- func (m *BalancesActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (m *BalancesActionPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (m *BalancesActionPermission) Marshal() (dAtA []byte, err error)
- func (m *BalancesActionPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *BalancesActionPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BalancesActionPermission) ProtoMessage()
- func (m *BalancesActionPermission) Reset()
- func (m *BalancesActionPermission) Size() (n int)
- func (m *BalancesActionPermission) String() string
- func (m *BalancesActionPermission) Unmarshal(dAtA []byte) error
- func (m *BalancesActionPermission) XXX_DiscardUnknown()
- func (m *BalancesActionPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalancesActionPermission) XXX_Merge(src proto.Message)
- func (m *BalancesActionPermission) XXX_Size() int
- func (m *BalancesActionPermission) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type ChannelKeeper
- type CollectionApproval
- func CastIncomingTransferToCollectionTransfer(transfer *UserIncomingApproval, toAddress string) *CollectionApproval
- func CastIncomingTransfersToCollectionTransfers(transfers []*UserIncomingApproval, toAddress string) []*CollectionApproval
- func CastOutgoingTransferToCollectionTransfer(transfer *UserOutgoingApproval, fromAddress string) *CollectionApproval
- func CastOutgoingTransfersToCollectionTransfers(transfers []*UserOutgoingApproval, fromAddress string) []*CollectionApproval
- func (*CollectionApproval) Descriptor() ([]byte, []int)
- func (m *CollectionApproval) GetAmountTrackerId() string
- func (m *CollectionApproval) GetApprovalCriteria() *ApprovalCriteria
- func (m *CollectionApproval) GetApprovalId() string
- func (m *CollectionApproval) GetBadgeIds() []*UintRange
- func (m *CollectionApproval) GetChallengeTrackerId() string
- func (m *CollectionApproval) GetCustomData() string
- func (m *CollectionApproval) GetFromListId() string
- func (m *CollectionApproval) GetInitiatedByListId() string
- func (m *CollectionApproval) GetOwnershipTimes() []*UintRange
- func (m *CollectionApproval) GetToListId() string
- func (m *CollectionApproval) GetTransferTimes() []*UintRange
- func (m *CollectionApproval) GetUri() string
- func (m *CollectionApproval) Marshal() (dAtA []byte, err error)
- func (m *CollectionApproval) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionApproval) ProtoMessage()
- func (m *CollectionApproval) Reset()
- func (m *CollectionApproval) Size() (n int)
- func (m *CollectionApproval) String() string
- func (m *CollectionApproval) Unmarshal(dAtA []byte) error
- func (m *CollectionApproval) XXX_DiscardUnknown()
- func (m *CollectionApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionApproval) XXX_Merge(src proto.Message)
- func (m *CollectionApproval) XXX_Size() int
- func (m *CollectionApproval) XXX_Unmarshal(b []byte) error
- type CollectionApprovalPermission
- func (*CollectionApprovalPermission) Descriptor() ([]byte, []int)
- func (m *CollectionApprovalPermission) GetAmountTrackerId() string
- func (m *CollectionApprovalPermission) GetApprovalId() string
- func (m *CollectionApprovalPermission) GetBadgeIds() []*UintRange
- func (m *CollectionApprovalPermission) GetChallengeTrackerId() string
- func (m *CollectionApprovalPermission) GetFromListId() string
- func (m *CollectionApprovalPermission) GetInitiatedByListId() string
- func (m *CollectionApprovalPermission) GetOwnershipTimes() []*UintRange
- func (m *CollectionApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (m *CollectionApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (m *CollectionApprovalPermission) GetToListId() string
- func (m *CollectionApprovalPermission) GetTransferTimes() []*UintRange
- func (m *CollectionApprovalPermission) Marshal() (dAtA []byte, err error)
- func (m *CollectionApprovalPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionApprovalPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionApprovalPermission) ProtoMessage()
- func (m *CollectionApprovalPermission) Reset()
- func (m *CollectionApprovalPermission) Size() (n int)
- func (m *CollectionApprovalPermission) String() string
- func (m *CollectionApprovalPermission) Unmarshal(dAtA []byte) error
- func (m *CollectionApprovalPermission) XXX_DiscardUnknown()
- func (m *CollectionApprovalPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionApprovalPermission) XXX_Merge(src proto.Message)
- func (m *CollectionApprovalPermission) XXX_Size() int
- func (m *CollectionApprovalPermission) XXX_Unmarshal(b []byte) error
- type CollectionApprovalTimeline
- func (*CollectionApprovalTimeline) Descriptor() ([]byte, []int)
- func (m *CollectionApprovalTimeline) GetCollectionApprovals() []*CollectionApproval
- func (m *CollectionApprovalTimeline) GetTimelineTimes() []*UintRange
- func (m *CollectionApprovalTimeline) Marshal() (dAtA []byte, err error)
- func (m *CollectionApprovalTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionApprovalTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionApprovalTimeline) ProtoMessage()
- func (m *CollectionApprovalTimeline) Reset()
- func (m *CollectionApprovalTimeline) Size() (n int)
- func (m *CollectionApprovalTimeline) String() string
- func (m *CollectionApprovalTimeline) Unmarshal(dAtA []byte) error
- func (m *CollectionApprovalTimeline) XXX_DiscardUnknown()
- func (m *CollectionApprovalTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionApprovalTimeline) XXX_Merge(src proto.Message)
- func (m *CollectionApprovalTimeline) XXX_Size() int
- func (m *CollectionApprovalTimeline) XXX_Unmarshal(b []byte) error
- type CollectionMetadata
- func (*CollectionMetadata) Descriptor() ([]byte, []int)
- func (m *CollectionMetadata) GetCustomData() string
- func (m *CollectionMetadata) GetUri() string
- func (m *CollectionMetadata) Marshal() (dAtA []byte, err error)
- func (m *CollectionMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionMetadata) ProtoMessage()
- func (m *CollectionMetadata) Reset()
- func (m *CollectionMetadata) Size() (n int)
- func (m *CollectionMetadata) String() string
- func (m *CollectionMetadata) Unmarshal(dAtA []byte) error
- func (m *CollectionMetadata) XXX_DiscardUnknown()
- func (m *CollectionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionMetadata) XXX_Merge(src proto.Message)
- func (m *CollectionMetadata) XXX_Size() int
- func (m *CollectionMetadata) XXX_Unmarshal(b []byte) error
- type CollectionMetadataTimeline
- func (*CollectionMetadataTimeline) Descriptor() ([]byte, []int)
- func (m *CollectionMetadataTimeline) GetCollectionMetadata() *CollectionMetadata
- func (m *CollectionMetadataTimeline) GetTimelineTimes() []*UintRange
- func (m *CollectionMetadataTimeline) Marshal() (dAtA []byte, err error)
- func (m *CollectionMetadataTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionMetadataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionMetadataTimeline) ProtoMessage()
- func (m *CollectionMetadataTimeline) Reset()
- func (m *CollectionMetadataTimeline) Size() (n int)
- func (m *CollectionMetadataTimeline) String() string
- func (m *CollectionMetadataTimeline) Unmarshal(dAtA []byte) error
- func (m *CollectionMetadataTimeline) XXX_DiscardUnknown()
- func (m *CollectionMetadataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionMetadataTimeline) XXX_Merge(src proto.Message)
- func (m *CollectionMetadataTimeline) XXX_Size() int
- func (m *CollectionMetadataTimeline) XXX_Unmarshal(b []byte) error
- type CollectionPermissions
- func (*CollectionPermissions) Descriptor() ([]byte, []int)
- func (m *CollectionPermissions) GetCanArchiveCollection() []*TimedUpdatePermission
- func (m *CollectionPermissions) GetCanCreateMoreBadges() []*BalancesActionPermission
- func (m *CollectionPermissions) GetCanDeleteCollection() []*ActionPermission
- func (m *CollectionPermissions) GetCanUpdateBadgeMetadata() []*TimedUpdateWithBadgeIdsPermission
- func (m *CollectionPermissions) GetCanUpdateCollectionApprovals() []*CollectionApprovalPermission
- func (m *CollectionPermissions) GetCanUpdateCollectionMetadata() []*TimedUpdatePermission
- func (m *CollectionPermissions) GetCanUpdateCustomData() []*TimedUpdatePermission
- func (m *CollectionPermissions) GetCanUpdateManager() []*TimedUpdatePermission
- func (m *CollectionPermissions) GetCanUpdateOffChainBalancesMetadata() []*TimedUpdatePermission
- func (m *CollectionPermissions) GetCanUpdateStandards() []*TimedUpdatePermission
- func (m *CollectionPermissions) Marshal() (dAtA []byte, err error)
- func (m *CollectionPermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *CollectionPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollectionPermissions) ProtoMessage()
- func (m *CollectionPermissions) Reset()
- func (m *CollectionPermissions) Size() (n int)
- func (m *CollectionPermissions) String() string
- func (m *CollectionPermissions) Unmarshal(dAtA []byte) error
- func (m *CollectionPermissions) XXX_DiscardUnknown()
- func (m *CollectionPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionPermissions) XXX_Merge(src proto.Message)
- func (m *CollectionPermissions) XXX_Size() int
- func (m *CollectionPermissions) XXX_Unmarshal(b []byte) error
- type ContractAddressTimeline
- func (*ContractAddressTimeline) Descriptor() ([]byte, []int)
- func (m *ContractAddressTimeline) GetContractAddress() string
- func (m *ContractAddressTimeline) GetTimelineTimes() []*UintRange
- func (m *ContractAddressTimeline) Marshal() (dAtA []byte, err error)
- func (m *ContractAddressTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractAddressTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractAddressTimeline) ProtoMessage()
- func (m *ContractAddressTimeline) Reset()
- func (m *ContractAddressTimeline) Size() (n int)
- func (m *ContractAddressTimeline) String() string
- func (m *ContractAddressTimeline) Unmarshal(dAtA []byte) error
- func (m *ContractAddressTimeline) XXX_DiscardUnknown()
- func (m *ContractAddressTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractAddressTimeline) XXX_Merge(src proto.Message)
- func (m *ContractAddressTimeline) XXX_Size() int
- func (m *ContractAddressTimeline) XXX_Unmarshal(b []byte) error
- type CustomDataTimeline
- func (*CustomDataTimeline) Descriptor() ([]byte, []int)
- func (m *CustomDataTimeline) GetCustomData() string
- func (m *CustomDataTimeline) GetTimelineTimes() []*UintRange
- func (m *CustomDataTimeline) Marshal() (dAtA []byte, err error)
- func (m *CustomDataTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomDataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomDataTimeline) ProtoMessage()
- func (m *CustomDataTimeline) Reset()
- func (m *CustomDataTimeline) Size() (n int)
- func (m *CustomDataTimeline) String() string
- func (m *CustomDataTimeline) Unmarshal(dAtA []byte) error
- func (m *CustomDataTimeline) XXX_DiscardUnknown()
- func (m *CustomDataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomDataTimeline) XXX_Merge(src proto.Message)
- func (m *CustomDataTimeline) XXX_Size() int
- func (m *CustomDataTimeline) XXX_Unmarshal(b []byte) error
- type Dec
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAddressLists() []*AddressList
- func (m *GenesisState) GetApprovalTrackerStoreKeys() []string
- func (m *GenesisState) GetApprovalTrackers() []*ApprovalTracker
- func (m *GenesisState) GetBalanceStoreKeys() []string
- func (m *GenesisState) GetBalances() []*UserBalanceStore
- func (m *GenesisState) GetChallengeTrackerStoreKeys() []string
- func (m *GenesisState) GetCollections() []*BadgeCollection
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortId() string
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type IncomingApprovalCriteria
- func (*IncomingApprovalCriteria) Descriptor() ([]byte, []int)
- func (m *IncomingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
- func (m *IncomingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
- func (m *IncomingApprovalCriteria) GetMerkleChallenge() *MerkleChallenge
- func (m *IncomingApprovalCriteria) GetMustOwnBadges() []*MustOwnBadges
- func (m *IncomingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
- func (m *IncomingApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
- func (m *IncomingApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
- func (m *IncomingApprovalCriteria) Marshal() (dAtA []byte, err error)
- func (m *IncomingApprovalCriteria) MarshalTo(dAtA []byte) (int, error)
- func (m *IncomingApprovalCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IncomingApprovalCriteria) ProtoMessage()
- func (m *IncomingApprovalCriteria) Reset()
- func (m *IncomingApprovalCriteria) Size() (n int)
- func (m *IncomingApprovalCriteria) String() string
- func (m *IncomingApprovalCriteria) Unmarshal(dAtA []byte) error
- func (m *IncomingApprovalCriteria) XXX_DiscardUnknown()
- func (m *IncomingApprovalCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncomingApprovalCriteria) XXX_Merge(src proto.Message)
- func (m *IncomingApprovalCriteria) XXX_Size() int
- func (m *IncomingApprovalCriteria) XXX_Unmarshal(b []byte) error
- type IncrementedBalances
- func (*IncrementedBalances) Descriptor() ([]byte, []int)
- func (m *IncrementedBalances) GetStartBalances() []*Balance
- func (m *IncrementedBalances) Marshal() (dAtA []byte, err error)
- func (m *IncrementedBalances) MarshalTo(dAtA []byte) (int, error)
- func (m *IncrementedBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IncrementedBalances) ProtoMessage()
- func (m *IncrementedBalances) Reset()
- func (m *IncrementedBalances) Size() (n int)
- func (m *IncrementedBalances) String() string
- func (m *IncrementedBalances) Unmarshal(dAtA []byte) error
- func (m *IncrementedBalances) XXX_DiscardUnknown()
- func (m *IncrementedBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementedBalances) XXX_Merge(src proto.Message)
- func (m *IncrementedBalances) XXX_Size() int
- func (m *IncrementedBalances) XXX_Unmarshal(b []byte) error
- type Int
- type IsArchivedTimeline
- func (*IsArchivedTimeline) Descriptor() ([]byte, []int)
- func (m *IsArchivedTimeline) GetIsArchived() bool
- func (m *IsArchivedTimeline) GetTimelineTimes() []*UintRange
- func (m *IsArchivedTimeline) Marshal() (dAtA []byte, err error)
- func (m *IsArchivedTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *IsArchivedTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IsArchivedTimeline) ProtoMessage()
- func (m *IsArchivedTimeline) Reset()
- func (m *IsArchivedTimeline) Size() (n int)
- func (m *IsArchivedTimeline) String() string
- func (m *IsArchivedTimeline) Unmarshal(dAtA []byte) error
- func (m *IsArchivedTimeline) XXX_DiscardUnknown()
- func (m *IsArchivedTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsArchivedTimeline) XXX_Merge(src proto.Message)
- func (m *IsArchivedTimeline) XXX_Size() int
- func (m *IsArchivedTimeline) XXX_Unmarshal(b []byte) error
- type ManagerTimeline
- func (*ManagerTimeline) Descriptor() ([]byte, []int)
- func (m *ManagerTimeline) GetManager() string
- func (m *ManagerTimeline) GetTimelineTimes() []*UintRange
- func (m *ManagerTimeline) Marshal() (dAtA []byte, err error)
- func (m *ManagerTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *ManagerTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ManagerTimeline) ProtoMessage()
- func (m *ManagerTimeline) Reset()
- func (m *ManagerTimeline) Size() (n int)
- func (m *ManagerTimeline) String() string
- func (m *ManagerTimeline) Unmarshal(dAtA []byte) error
- func (m *ManagerTimeline) XXX_DiscardUnknown()
- func (m *ManagerTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ManagerTimeline) XXX_Merge(src proto.Message)
- func (m *ManagerTimeline) XXX_Size() int
- func (m *ManagerTimeline) XXX_Unmarshal(b []byte) error
- type ManualBalances
- func (*ManualBalances) Descriptor() ([]byte, []int)
- func (m *ManualBalances) GetBalances() []*Balance
- func (m *ManualBalances) Marshal() (dAtA []byte, err error)
- func (m *ManualBalances) MarshalTo(dAtA []byte) (int, error)
- func (m *ManualBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ManualBalances) ProtoMessage()
- func (m *ManualBalances) Reset()
- func (m *ManualBalances) Size() (n int)
- func (m *ManualBalances) String() string
- func (m *ManualBalances) Unmarshal(dAtA []byte) error
- func (m *ManualBalances) XXX_DiscardUnknown()
- func (m *ManualBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ManualBalances) XXX_Merge(src proto.Message)
- func (m *ManualBalances) XXX_Size() int
- func (m *ManualBalances) XXX_Unmarshal(b []byte) error
- type MaxNumTransfers
- func (*MaxNumTransfers) Descriptor() ([]byte, []int)
- func (m *MaxNumTransfers) Marshal() (dAtA []byte, err error)
- func (m *MaxNumTransfers) MarshalTo(dAtA []byte) (int, error)
- func (m *MaxNumTransfers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MaxNumTransfers) ProtoMessage()
- func (m *MaxNumTransfers) Reset()
- func (m *MaxNumTransfers) Size() (n int)
- func (m *MaxNumTransfers) String() string
- func (m *MaxNumTransfers) Unmarshal(dAtA []byte) error
- func (m *MaxNumTransfers) XXX_DiscardUnknown()
- func (m *MaxNumTransfers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MaxNumTransfers) XXX_Merge(src proto.Message)
- func (m *MaxNumTransfers) XXX_Size() int
- func (m *MaxNumTransfers) XXX_Unmarshal(b []byte) error
- type MerkleChallenge
- func (*MerkleChallenge) Descriptor() ([]byte, []int)
- func (m *MerkleChallenge) GetCustomData() string
- func (m *MerkleChallenge) GetRoot() string
- func (m *MerkleChallenge) GetUri() string
- func (m *MerkleChallenge) GetUseCreatorAddressAsLeaf() bool
- func (m *MerkleChallenge) Marshal() (dAtA []byte, err error)
- func (m *MerkleChallenge) MarshalTo(dAtA []byte) (int, error)
- func (m *MerkleChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MerkleChallenge) ProtoMessage()
- func (m *MerkleChallenge) Reset()
- func (m *MerkleChallenge) Size() (n int)
- func (m *MerkleChallenge) String() string
- func (m *MerkleChallenge) Unmarshal(dAtA []byte) error
- func (m *MerkleChallenge) XXX_DiscardUnknown()
- func (m *MerkleChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerkleChallenge) XXX_Merge(src proto.Message)
- func (m *MerkleChallenge) XXX_Size() int
- func (m *MerkleChallenge) XXX_Unmarshal(b []byte) error
- type MerklePathItem
- func (*MerklePathItem) Descriptor() ([]byte, []int)
- func (m *MerklePathItem) GetAunt() string
- func (m *MerklePathItem) GetOnRight() bool
- func (m *MerklePathItem) Marshal() (dAtA []byte, err error)
- func (m *MerklePathItem) MarshalTo(dAtA []byte) (int, error)
- func (m *MerklePathItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MerklePathItem) ProtoMessage()
- func (m *MerklePathItem) Reset()
- func (m *MerklePathItem) Size() (n int)
- func (m *MerklePathItem) String() string
- func (m *MerklePathItem) Unmarshal(dAtA []byte) error
- func (m *MerklePathItem) XXX_DiscardUnknown()
- func (m *MerklePathItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerklePathItem) XXX_Merge(src proto.Message)
- func (m *MerklePathItem) XXX_Size() int
- func (m *MerklePathItem) XXX_Unmarshal(b []byte) error
- type MerkleProof
- func (*MerkleProof) Descriptor() ([]byte, []int)
- func (m *MerkleProof) GetAunts() []*MerklePathItem
- func (m *MerkleProof) GetLeaf() string
- func (m *MerkleProof) Marshal() (dAtA []byte, err error)
- func (m *MerkleProof) MarshalTo(dAtA []byte) (int, error)
- func (m *MerkleProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MerkleProof) ProtoMessage()
- func (m *MerkleProof) Reset()
- func (m *MerkleProof) Size() (n int)
- func (m *MerkleProof) String() string
- func (m *MerkleProof) Unmarshal(dAtA []byte) error
- func (m *MerkleProof) XXX_DiscardUnknown()
- func (m *MerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerkleProof) XXX_Merge(src proto.Message)
- func (m *MerkleProof) XXX_Size() int
- func (m *MerkleProof) XXX_Unmarshal(b []byte) error
- type MsgArchiveCollection
- func (*MsgArchiveCollection) Descriptor() ([]byte, []int)
- func (m *MsgArchiveCollection) GetCreator() string
- func (m *MsgArchiveCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (m *MsgArchiveCollection) Marshal() (dAtA []byte, err error)
- func (m *MsgArchiveCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgArchiveCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgArchiveCollection) ProtoMessage()
- func (m *MsgArchiveCollection) Reset()
- func (m *MsgArchiveCollection) Size() (n int)
- func (m *MsgArchiveCollection) String() string
- func (m *MsgArchiveCollection) Unmarshal(dAtA []byte) error
- func (m *MsgArchiveCollection) XXX_DiscardUnknown()
- func (m *MsgArchiveCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgArchiveCollection) XXX_Merge(src proto.Message)
- func (m *MsgArchiveCollection) XXX_Size() int
- func (m *MsgArchiveCollection) XXX_Unmarshal(b []byte) error
- type MsgArchiveCollectionResponse
- func (*MsgArchiveCollectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgArchiveCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgArchiveCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgArchiveCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgArchiveCollectionResponse) ProtoMessage()
- func (m *MsgArchiveCollectionResponse) Reset()
- func (m *MsgArchiveCollectionResponse) Size() (n int)
- func (m *MsgArchiveCollectionResponse) String() string
- func (m *MsgArchiveCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgArchiveCollectionResponse) XXX_DiscardUnknown()
- func (m *MsgArchiveCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgArchiveCollectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgArchiveCollectionResponse) XXX_Size() int
- func (m *MsgArchiveCollectionResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateAddressLists
- func (*MsgCreateAddressLists) Descriptor() ([]byte, []int)
- func (m *MsgCreateAddressLists) GetAddressLists() []*AddressList
- func (m *MsgCreateAddressLists) GetCreator() string
- func (msg *MsgCreateAddressLists) GetSignBytes() []byte
- func (msg *MsgCreateAddressLists) GetSigners() []sdk.AccAddress
- func (m *MsgCreateAddressLists) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAddressLists) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAddressLists) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAddressLists) ProtoMessage()
- func (m *MsgCreateAddressLists) Reset()
- func (msg *MsgCreateAddressLists) Route() string
- func (m *MsgCreateAddressLists) Size() (n int)
- func (m *MsgCreateAddressLists) String() string
- func (msg *MsgCreateAddressLists) Type() string
- func (m *MsgCreateAddressLists) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateAddressLists) ValidateBasic() error
- func (m *MsgCreateAddressLists) XXX_DiscardUnknown()
- func (m *MsgCreateAddressLists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAddressLists) XXX_Merge(src proto.Message)
- func (m *MsgCreateAddressLists) XXX_Size() int
- func (m *MsgCreateAddressLists) XXX_Unmarshal(b []byte) error
- type MsgCreateAddressListsResponse
- func (*MsgCreateAddressListsResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateAddressListsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAddressListsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAddressListsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAddressListsResponse) ProtoMessage()
- func (m *MsgCreateAddressListsResponse) Reset()
- func (m *MsgCreateAddressListsResponse) Size() (n int)
- func (m *MsgCreateAddressListsResponse) String() string
- func (m *MsgCreateAddressListsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateAddressListsResponse) XXX_DiscardUnknown()
- func (m *MsgCreateAddressListsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAddressListsResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateAddressListsResponse) XXX_Size() int
- func (m *MsgCreateAddressListsResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateCollection
- func (*MsgCreateCollection) Descriptor() ([]byte, []int)
- func (m *MsgCreateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (m *MsgCreateCollection) GetBadgesToCreate() []*Balance
- func (m *MsgCreateCollection) GetBalancesType() string
- func (m *MsgCreateCollection) GetCollectionApprovals() []*CollectionApproval
- func (m *MsgCreateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (m *MsgCreateCollection) GetCollectionPermissions() *CollectionPermissions
- func (m *MsgCreateCollection) GetCreator() string
- func (m *MsgCreateCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (m *MsgCreateCollection) GetDefaultBalances() *UserBalanceStore
- func (m *MsgCreateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (m *MsgCreateCollection) GetManagerTimeline() []*ManagerTimeline
- func (m *MsgCreateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (msg *MsgCreateCollection) GetSignBytes() []byte
- func (msg *MsgCreateCollection) GetSigners() []sdk.AccAddress
- func (m *MsgCreateCollection) GetStandardsTimeline() []*StandardsTimeline
- func (m *MsgCreateCollection) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCollection) ProtoMessage()
- func (m *MsgCreateCollection) Reset()
- func (msg *MsgCreateCollection) Route() string
- func (m *MsgCreateCollection) Size() (n int)
- func (m *MsgCreateCollection) String() string
- func (msg *MsgCreateCollection) Type() string
- func (m *MsgCreateCollection) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateCollection) ValidateBasic() error
- func (m *MsgCreateCollection) XXX_DiscardUnknown()
- func (m *MsgCreateCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCollection) XXX_Merge(src proto.Message)
- func (m *MsgCreateCollection) XXX_Size() int
- func (m *MsgCreateCollection) XXX_Unmarshal(b []byte) error
- type MsgCreateCollectionResponse
- func (*MsgCreateCollectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCollectionResponse) ProtoMessage()
- func (m *MsgCreateCollectionResponse) Reset()
- func (m *MsgCreateCollectionResponse) Size() (n int)
- func (m *MsgCreateCollectionResponse) String() string
- func (m *MsgCreateCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateCollectionResponse) XXX_DiscardUnknown()
- func (m *MsgCreateCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCollectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateCollectionResponse) XXX_Size() int
- func (m *MsgCreateCollectionResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteCollection
- func (*MsgDeleteCollection) Descriptor() ([]byte, []int)
- func (m *MsgDeleteCollection) GetCreator() string
- func (msg *MsgDeleteCollection) GetSignBytes() []byte
- func (msg *MsgDeleteCollection) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteCollection) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteCollection) ProtoMessage()
- func (m *MsgDeleteCollection) Reset()
- func (msg *MsgDeleteCollection) Route() string
- func (m *MsgDeleteCollection) Size() (n int)
- func (m *MsgDeleteCollection) String() string
- func (msg *MsgDeleteCollection) Type() string
- func (m *MsgDeleteCollection) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteCollection) ValidateBasic() error
- func (m *MsgDeleteCollection) XXX_DiscardUnknown()
- func (m *MsgDeleteCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteCollection) XXX_Merge(src proto.Message)
- func (m *MsgDeleteCollection) XXX_Size() int
- func (m *MsgDeleteCollection) XXX_Unmarshal(b []byte) error
- type MsgDeleteCollectionResponse
- func (*MsgDeleteCollectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteCollectionResponse) ProtoMessage()
- func (m *MsgDeleteCollectionResponse) Reset()
- func (m *MsgDeleteCollectionResponse) Size() (n int)
- func (m *MsgDeleteCollectionResponse) String() string
- func (m *MsgDeleteCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteCollectionResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteCollectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteCollectionResponse) XXX_Size() int
- func (m *MsgDeleteCollectionResponse) XXX_Unmarshal(b []byte) error
- type MsgMintAndDistributeBadges
- func (*MsgMintAndDistributeBadges) Descriptor() ([]byte, []int)
- func (m *MsgMintAndDistributeBadges) GetAddressLists() []*AddressList
- func (m *MsgMintAndDistributeBadges) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (m *MsgMintAndDistributeBadges) GetBadgesToCreate() []*Balance
- func (m *MsgMintAndDistributeBadges) GetCollectionApprovals() []*CollectionApproval
- func (m *MsgMintAndDistributeBadges) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (m *MsgMintAndDistributeBadges) GetCreator() string
- func (m *MsgMintAndDistributeBadges) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (m *MsgMintAndDistributeBadges) GetTransfers() []*Transfer
- func (m *MsgMintAndDistributeBadges) Marshal() (dAtA []byte, err error)
- func (m *MsgMintAndDistributeBadges) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintAndDistributeBadges) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintAndDistributeBadges) ProtoMessage()
- func (m *MsgMintAndDistributeBadges) Reset()
- func (m *MsgMintAndDistributeBadges) Size() (n int)
- func (m *MsgMintAndDistributeBadges) String() string
- func (m *MsgMintAndDistributeBadges) Unmarshal(dAtA []byte) error
- func (m *MsgMintAndDistributeBadges) XXX_DiscardUnknown()
- func (m *MsgMintAndDistributeBadges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintAndDistributeBadges) XXX_Merge(src proto.Message)
- func (m *MsgMintAndDistributeBadges) XXX_Size() int
- func (m *MsgMintAndDistributeBadges) XXX_Unmarshal(b []byte) error
- type MsgMintAndDistributeBadgesResponse
- func (*MsgMintAndDistributeBadgesResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintAndDistributeBadgesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintAndDistributeBadgesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintAndDistributeBadgesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintAndDistributeBadgesResponse) ProtoMessage()
- func (m *MsgMintAndDistributeBadgesResponse) Reset()
- func (m *MsgMintAndDistributeBadgesResponse) Size() (n int)
- func (m *MsgMintAndDistributeBadgesResponse) String() string
- func (m *MsgMintAndDistributeBadgesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintAndDistributeBadgesResponse) XXX_DiscardUnknown()
- func (m *MsgMintAndDistributeBadgesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintAndDistributeBadgesResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintAndDistributeBadgesResponse) XXX_Size() int
- func (m *MsgMintAndDistributeBadgesResponse) XXX_Unmarshal(b []byte) error
- type MsgNewCollection
- func (*MsgNewCollection) Descriptor() ([]byte, []int)
- func (m *MsgNewCollection) GetAddressLists() []*AddressList
- func (m *MsgNewCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (m *MsgNewCollection) GetBadgesToCreate() []*Balance
- func (m *MsgNewCollection) GetCollectionApprovals() []*CollectionApproval
- func (m *MsgNewCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (m *MsgNewCollection) GetContractAddressTimeline() []*ContractAddressTimeline
- func (m *MsgNewCollection) GetCreator() string
- func (m *MsgNewCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (m *MsgNewCollection) GetDefaultDisapproveSelfInitiated() bool
- func (m *MsgNewCollection) GetDefaultIncomingApprovals() []*UserIncomingApproval
- func (m *MsgNewCollection) GetDefaultOutgoingApprovals() []*UserOutgoingApproval
- func (m *MsgNewCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (m *MsgNewCollection) GetPermissions() *CollectionPermissions
- func (m *MsgNewCollection) GetStandardsTimeline() []*StandardsTimeline
- func (m *MsgNewCollection) GetTransfers() []*Transfer
- func (m *MsgNewCollection) Marshal() (dAtA []byte, err error)
- func (m *MsgNewCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgNewCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgNewCollection) ProtoMessage()
- func (m *MsgNewCollection) Reset()
- func (m *MsgNewCollection) Size() (n int)
- func (m *MsgNewCollection) String() string
- func (m *MsgNewCollection) Unmarshal(dAtA []byte) error
- func (m *MsgNewCollection) XXX_DiscardUnknown()
- func (m *MsgNewCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgNewCollection) XXX_Merge(src proto.Message)
- func (m *MsgNewCollection) XXX_Size() int
- func (m *MsgNewCollection) XXX_Unmarshal(b []byte) error
- type MsgNewCollectionResponse
- func (*MsgNewCollectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgNewCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgNewCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgNewCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgNewCollectionResponse) ProtoMessage()
- func (m *MsgNewCollectionResponse) Reset()
- func (m *MsgNewCollectionResponse) Size() (n int)
- func (m *MsgNewCollectionResponse) String() string
- func (m *MsgNewCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgNewCollectionResponse) XXX_DiscardUnknown()
- func (m *MsgNewCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgNewCollectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgNewCollectionResponse) XXX_Size() int
- func (m *MsgNewCollectionResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTransferBadges
- func (msg *MsgTransferBadges) CheckAndCleanMsg(canChangeValues bool) error
- func (*MsgTransferBadges) Descriptor() ([]byte, []int)
- func (m *MsgTransferBadges) GetCreator() string
- func (msg *MsgTransferBadges) GetSignBytes() []byte
- func (msg *MsgTransferBadges) GetSigners() []sdk.AccAddress
- func (m *MsgTransferBadges) GetTransfers() []*Transfer
- func (m *MsgTransferBadges) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferBadges) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferBadges) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferBadges) ProtoMessage()
- func (m *MsgTransferBadges) Reset()
- func (msg *MsgTransferBadges) Route() string
- func (m *MsgTransferBadges) Size() (n int)
- func (m *MsgTransferBadges) String() string
- func (msg *MsgTransferBadges) Type() string
- func (m *MsgTransferBadges) Unmarshal(dAtA []byte) error
- func (msg *MsgTransferBadges) ValidateBasic() error
- func (m *MsgTransferBadges) XXX_DiscardUnknown()
- func (m *MsgTransferBadges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferBadges) XXX_Merge(src proto.Message)
- func (m *MsgTransferBadges) XXX_Size() int
- func (m *MsgTransferBadges) XXX_Unmarshal(b []byte) error
- type MsgTransferBadgesResponse
- func (*MsgTransferBadgesResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferBadgesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferBadgesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferBadgesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferBadgesResponse) ProtoMessage()
- func (m *MsgTransferBadgesResponse) Reset()
- func (m *MsgTransferBadgesResponse) Size() (n int)
- func (m *MsgTransferBadgesResponse) String() string
- func (m *MsgTransferBadgesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferBadgesResponse) XXX_DiscardUnknown()
- func (m *MsgTransferBadgesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferBadgesResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferBadgesResponse) XXX_Size() int
- func (m *MsgTransferBadgesResponse) XXX_Unmarshal(b []byte) error
- type MsgUniversalUpdateCollection
- func (msg *MsgUniversalUpdateCollection) CheckAndCleanMsg(canChangeValues bool) error
- func (*MsgUniversalUpdateCollection) Descriptor() ([]byte, []int)
- func (m *MsgUniversalUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (m *MsgUniversalUpdateCollection) GetBadgesToCreate() []*Balance
- func (m *MsgUniversalUpdateCollection) GetBalancesType() string
- func (m *MsgUniversalUpdateCollection) GetCollectionApprovals() []*CollectionApproval
- func (m *MsgUniversalUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (m *MsgUniversalUpdateCollection) GetCollectionPermissions() *CollectionPermissions
- func (m *MsgUniversalUpdateCollection) GetCreator() string
- func (m *MsgUniversalUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (m *MsgUniversalUpdateCollection) GetDefaultBalances() *UserBalanceStore
- func (m *MsgUniversalUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (m *MsgUniversalUpdateCollection) GetManagerTimeline() []*ManagerTimeline
- func (m *MsgUniversalUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (msg *MsgUniversalUpdateCollection) GetSignBytes() []byte
- func (msg *MsgUniversalUpdateCollection) GetSigners() []sdk.AccAddress
- func (m *MsgUniversalUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
- func (m *MsgUniversalUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateCollectionApprovals() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateCollectionPermissions() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateCustomDataTimeline() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateIsArchivedTimeline() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateManagerTimeline() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
- func (m *MsgUniversalUpdateCollection) GetUpdateStandardsTimeline() bool
- func (m *MsgUniversalUpdateCollection) Marshal() (dAtA []byte, err error)
- func (m *MsgUniversalUpdateCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUniversalUpdateCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUniversalUpdateCollection) ProtoMessage()
- func (m *MsgUniversalUpdateCollection) Reset()
- func (msg *MsgUniversalUpdateCollection) Route() string
- func (m *MsgUniversalUpdateCollection) Size() (n int)
- func (m *MsgUniversalUpdateCollection) String() string
- func (msg *MsgUniversalUpdateCollection) Type() string
- func (m *MsgUniversalUpdateCollection) Unmarshal(dAtA []byte) error
- func (msg *MsgUniversalUpdateCollection) ValidateBasic() error
- func (m *MsgUniversalUpdateCollection) XXX_DiscardUnknown()
- func (m *MsgUniversalUpdateCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUniversalUpdateCollection) XXX_Merge(src proto.Message)
- func (m *MsgUniversalUpdateCollection) XXX_Size() int
- func (m *MsgUniversalUpdateCollection) XXX_Unmarshal(b []byte) error
- type MsgUniversalUpdateCollectionApprovals
- func (*MsgUniversalUpdateCollectionApprovals) Descriptor() ([]byte, []int)
- func (m *MsgUniversalUpdateCollectionApprovals) GetAddressLists() []*AddressList
- func (m *MsgUniversalUpdateCollectionApprovals) GetCollectionApprovals() []*CollectionApproval
- func (m *MsgUniversalUpdateCollectionApprovals) GetCreator() string
- func (m *MsgUniversalUpdateCollectionApprovals) Marshal() (dAtA []byte, err error)
- func (m *MsgUniversalUpdateCollectionApprovals) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUniversalUpdateCollectionApprovals) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUniversalUpdateCollectionApprovals) ProtoMessage()
- func (m *MsgUniversalUpdateCollectionApprovals) Reset()
- func (m *MsgUniversalUpdateCollectionApprovals) Size() (n int)
- func (m *MsgUniversalUpdateCollectionApprovals) String() string
- func (m *MsgUniversalUpdateCollectionApprovals) Unmarshal(dAtA []byte) error
- func (m *MsgUniversalUpdateCollectionApprovals) XXX_DiscardUnknown()
- func (m *MsgUniversalUpdateCollectionApprovals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUniversalUpdateCollectionApprovals) XXX_Merge(src proto.Message)
- func (m *MsgUniversalUpdateCollectionApprovals) XXX_Size() int
- func (m *MsgUniversalUpdateCollectionApprovals) XXX_Unmarshal(b []byte) error
- type MsgUniversalUpdateCollectionApprovalsResponse
- func (*MsgUniversalUpdateCollectionApprovalsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUniversalUpdateCollectionApprovalsResponse) ProtoMessage()
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) Reset()
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) Size() (n int)
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) String() string
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_DiscardUnknown()
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Size() int
- func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Unmarshal(b []byte) error
- type MsgUniversalUpdateCollectionPermissions
- func (*MsgUniversalUpdateCollectionPermissions) Descriptor() ([]byte, []int)
- func (m *MsgUniversalUpdateCollectionPermissions) GetAddressLists() []*AddressList
- func (m *MsgUniversalUpdateCollectionPermissions) GetCreator() string
- func (m *MsgUniversalUpdateCollectionPermissions) GetPermissions() *CollectionPermissions
- func (m *MsgUniversalUpdateCollectionPermissions) Marshal() (dAtA []byte, err error)
- func (m *MsgUniversalUpdateCollectionPermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUniversalUpdateCollectionPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUniversalUpdateCollectionPermissions) ProtoMessage()
- func (m *MsgUniversalUpdateCollectionPermissions) Reset()
- func (m *MsgUniversalUpdateCollectionPermissions) Size() (n int)
- func (m *MsgUniversalUpdateCollectionPermissions) String() string
- func (m *MsgUniversalUpdateCollectionPermissions) Unmarshal(dAtA []byte) error
- func (m *MsgUniversalUpdateCollectionPermissions) XXX_DiscardUnknown()
- func (m *MsgUniversalUpdateCollectionPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUniversalUpdateCollectionPermissions) XXX_Merge(src proto.Message)
- func (m *MsgUniversalUpdateCollectionPermissions) XXX_Size() int
- func (m *MsgUniversalUpdateCollectionPermissions) XXX_Unmarshal(b []byte) error
- type MsgUniversalUpdateCollectionPermissionsResponse
- func (*MsgUniversalUpdateCollectionPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUniversalUpdateCollectionPermissionsResponse) ProtoMessage()
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) Reset()
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) Size() (n int)
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) String() string
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_DiscardUnknown()
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Size() int
- func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Unmarshal(b []byte) error
- type MsgUniversalUpdateCollectionResponse
- func (*MsgUniversalUpdateCollectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgUniversalUpdateCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUniversalUpdateCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUniversalUpdateCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUniversalUpdateCollectionResponse) ProtoMessage()
- func (m *MsgUniversalUpdateCollectionResponse) Reset()
- func (m *MsgUniversalUpdateCollectionResponse) Size() (n int)
- func (m *MsgUniversalUpdateCollectionResponse) String() string
- func (m *MsgUniversalUpdateCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUniversalUpdateCollectionResponse) XXX_DiscardUnknown()
- func (m *MsgUniversalUpdateCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUniversalUpdateCollectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgUniversalUpdateCollectionResponse) XXX_Size() int
- func (m *MsgUniversalUpdateCollectionResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollection
- func (*MsgUpdateCollection) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (m *MsgUpdateCollection) GetBadgesToCreate() []*Balance
- func (m *MsgUpdateCollection) GetCollectionApprovals() []*CollectionApproval
- func (m *MsgUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (m *MsgUpdateCollection) GetCollectionPermissions() *CollectionPermissions
- func (m *MsgUpdateCollection) GetCreator() string
- func (m *MsgUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
- func (m *MsgUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
- func (m *MsgUpdateCollection) GetManagerTimeline() []*ManagerTimeline
- func (m *MsgUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (msg *MsgUpdateCollection) GetSignBytes() []byte
- func (msg *MsgUpdateCollection) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
- func (m *MsgUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
- func (m *MsgUpdateCollection) GetUpdateCollectionApprovals() bool
- func (m *MsgUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
- func (m *MsgUpdateCollection) GetUpdateCollectionPermissions() bool
- func (m *MsgUpdateCollection) GetUpdateCustomDataTimeline() bool
- func (m *MsgUpdateCollection) GetUpdateIsArchivedTimeline() bool
- func (m *MsgUpdateCollection) GetUpdateManagerTimeline() bool
- func (m *MsgUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
- func (m *MsgUpdateCollection) GetUpdateStandardsTimeline() bool
- func (m *MsgUpdateCollection) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollection) ProtoMessage()
- func (m *MsgUpdateCollection) Reset()
- func (msg *MsgUpdateCollection) Route() string
- func (m *MsgUpdateCollection) Size() (n int)
- func (m *MsgUpdateCollection) String() string
- func (msg *MsgUpdateCollection) Type() string
- func (m *MsgUpdateCollection) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateCollection) ValidateBasic() error
- func (m *MsgUpdateCollection) XXX_DiscardUnknown()
- func (m *MsgUpdateCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollection) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollection) XXX_Size() int
- func (m *MsgUpdateCollection) XXX_Unmarshal(b []byte) error
- type MsgUpdateCollectionResponse
- func (*MsgUpdateCollectionResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCollectionResponse) ProtoMessage()
- func (m *MsgUpdateCollectionResponse) Reset()
- func (m *MsgUpdateCollectionResponse) Size() (n int)
- func (m *MsgUpdateCollectionResponse) String() string
- func (m *MsgUpdateCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCollectionResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCollectionResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCollectionResponse) XXX_Size() int
- func (m *MsgUpdateCollectionResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateManager
- func (*MsgUpdateManager) Descriptor() ([]byte, []int)
- func (m *MsgUpdateManager) GetCreator() string
- func (m *MsgUpdateManager) GetManagerTimeline() []*ManagerTimeline
- func (m *MsgUpdateManager) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateManager) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateManager) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateManager) ProtoMessage()
- func (m *MsgUpdateManager) Reset()
- func (m *MsgUpdateManager) Size() (n int)
- func (m *MsgUpdateManager) String() string
- func (m *MsgUpdateManager) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateManager) XXX_DiscardUnknown()
- func (m *MsgUpdateManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateManager) XXX_Merge(src proto.Message)
- func (m *MsgUpdateManager) XXX_Size() int
- func (m *MsgUpdateManager) XXX_Unmarshal(b []byte) error
- type MsgUpdateManagerResponse
- func (*MsgUpdateManagerResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateManagerResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateManagerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateManagerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateManagerResponse) ProtoMessage()
- func (m *MsgUpdateManagerResponse) Reset()
- func (m *MsgUpdateManagerResponse) Size() (n int)
- func (m *MsgUpdateManagerResponse) String() string
- func (m *MsgUpdateManagerResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateManagerResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateManagerResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateManagerResponse) XXX_Size() int
- func (m *MsgUpdateManagerResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateMetadata
- func (*MsgUpdateMetadata) Descriptor() ([]byte, []int)
- func (m *MsgUpdateMetadata) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
- func (m *MsgUpdateMetadata) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
- func (m *MsgUpdateMetadata) GetContractAddressTimeline() []*ContractAddressTimeline
- func (m *MsgUpdateMetadata) GetCreator() string
- func (m *MsgUpdateMetadata) GetCustomDataTimeline() []*CustomDataTimeline
- func (m *MsgUpdateMetadata) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
- func (m *MsgUpdateMetadata) GetStandardsTimeline() []*StandardsTimeline
- func (m *MsgUpdateMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMetadata) ProtoMessage()
- func (m *MsgUpdateMetadata) Reset()
- func (m *MsgUpdateMetadata) Size() (n int)
- func (m *MsgUpdateMetadata) String() string
- func (m *MsgUpdateMetadata) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateMetadata) XXX_DiscardUnknown()
- func (m *MsgUpdateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMetadata) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMetadata) XXX_Size() int
- func (m *MsgUpdateMetadata) XXX_Unmarshal(b []byte) error
- type MsgUpdateMetadataResponse
- func (*MsgUpdateMetadataResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMetadataResponse) ProtoMessage()
- func (m *MsgUpdateMetadataResponse) Reset()
- func (m *MsgUpdateMetadataResponse) Size() (n int)
- func (m *MsgUpdateMetadataResponse) String() string
- func (m *MsgUpdateMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateMetadataResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMetadataResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMetadataResponse) XXX_Size() int
- func (m *MsgUpdateMetadataResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateUserApprovals
- func (msg *MsgUpdateUserApprovals) CheckAndCleanMsg(canChangeValues bool) error
- func (*MsgUpdateUserApprovals) Descriptor() ([]byte, []int)
- func (m *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedIncomingTransfers() bool
- func (m *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
- func (m *MsgUpdateUserApprovals) GetCreator() string
- func (m *MsgUpdateUserApprovals) GetIncomingApprovals() []*UserIncomingApproval
- func (m *MsgUpdateUserApprovals) GetOutgoingApprovals() []*UserOutgoingApproval
- func (msg *MsgUpdateUserApprovals) GetSignBytes() []byte
- func (msg *MsgUpdateUserApprovals) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedIncomingTransfers() bool
- func (m *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedOutgoingTransfers() bool
- func (m *MsgUpdateUserApprovals) GetUpdateIncomingApprovals() bool
- func (m *MsgUpdateUserApprovals) GetUpdateOutgoingApprovals() bool
- func (m *MsgUpdateUserApprovals) GetUpdateUserPermissions() bool
- func (m *MsgUpdateUserApprovals) GetUserPermissions() *UserPermissions
- func (m *MsgUpdateUserApprovals) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateUserApprovals) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateUserApprovals) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateUserApprovals) ProtoMessage()
- func (m *MsgUpdateUserApprovals) Reset()
- func (msg *MsgUpdateUserApprovals) Route() string
- func (m *MsgUpdateUserApprovals) Size() (n int)
- func (m *MsgUpdateUserApprovals) String() string
- func (msg *MsgUpdateUserApprovals) Type() string
- func (m *MsgUpdateUserApprovals) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateUserApprovals) ValidateBasic() error
- func (m *MsgUpdateUserApprovals) XXX_DiscardUnknown()
- func (m *MsgUpdateUserApprovals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateUserApprovals) XXX_Merge(src proto.Message)
- func (m *MsgUpdateUserApprovals) XXX_Size() int
- func (m *MsgUpdateUserApprovals) XXX_Unmarshal(b []byte) error
- type MsgUpdateUserApprovalsResponse
- func (*MsgUpdateUserApprovalsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateUserApprovalsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateUserApprovalsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateUserApprovalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateUserApprovalsResponse) ProtoMessage()
- func (m *MsgUpdateUserApprovalsResponse) Reset()
- func (m *MsgUpdateUserApprovalsResponse) Size() (n int)
- func (m *MsgUpdateUserApprovalsResponse) String() string
- func (m *MsgUpdateUserApprovalsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateUserApprovalsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateUserApprovalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateUserApprovalsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateUserApprovalsResponse) XXX_Size() int
- func (m *MsgUpdateUserApprovalsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateUserPermissions
- func (*MsgUpdateUserPermissions) Descriptor() ([]byte, []int)
- func (m *MsgUpdateUserPermissions) GetAddressLists() []*AddressList
- func (m *MsgUpdateUserPermissions) GetCreator() string
- func (m *MsgUpdateUserPermissions) GetPermissions() *UserPermissions
- func (m *MsgUpdateUserPermissions) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateUserPermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateUserPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateUserPermissions) ProtoMessage()
- func (m *MsgUpdateUserPermissions) Reset()
- func (m *MsgUpdateUserPermissions) Size() (n int)
- func (m *MsgUpdateUserPermissions) String() string
- func (m *MsgUpdateUserPermissions) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateUserPermissions) XXX_DiscardUnknown()
- func (m *MsgUpdateUserPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateUserPermissions) XXX_Merge(src proto.Message)
- func (m *MsgUpdateUserPermissions) XXX_Size() int
- func (m *MsgUpdateUserPermissions) XXX_Unmarshal(b []byte) error
- type MsgUpdateUserPermissionsResponse
- func (*MsgUpdateUserPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateUserPermissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateUserPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateUserPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateUserPermissionsResponse) ProtoMessage()
- func (m *MsgUpdateUserPermissionsResponse) Reset()
- func (m *MsgUpdateUserPermissionsResponse) Size() (n int)
- func (m *MsgUpdateUserPermissionsResponse) String() string
- func (m *MsgUpdateUserPermissionsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateUserPermissionsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateUserPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateUserPermissionsResponse) XXX_Size() int
- func (m *MsgUpdateUserPermissionsResponse) XXX_Unmarshal(b []byte) error
- type MustOwnBadges
- func (*MustOwnBadges) Descriptor() ([]byte, []int)
- func (m *MustOwnBadges) GetAmountRange() *UintRange
- func (m *MustOwnBadges) GetBadgeIds() []*UintRange
- func (m *MustOwnBadges) GetMustSatisfyForAllAssets() bool
- func (m *MustOwnBadges) GetOverrideWithCurrentTime() bool
- func (m *MustOwnBadges) GetOwnershipTimes() []*UintRange
- func (m *MustOwnBadges) Marshal() (dAtA []byte, err error)
- func (m *MustOwnBadges) MarshalTo(dAtA []byte) (int, error)
- func (m *MustOwnBadges) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MustOwnBadges) ProtoMessage()
- func (m *MustOwnBadges) Reset()
- func (m *MustOwnBadges) Size() (n int)
- func (m *MustOwnBadges) String() string
- func (m *MustOwnBadges) Unmarshal(dAtA []byte) error
- func (m *MustOwnBadges) XXX_DiscardUnknown()
- func (m *MustOwnBadges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MustOwnBadges) XXX_Merge(src proto.Message)
- func (m *MustOwnBadges) XXX_Size() int
- func (m *MustOwnBadges) XXX_Unmarshal(b []byte) error
- type NoData
- func (*NoData) Descriptor() ([]byte, []int)
- func (m *NoData) Marshal() (dAtA []byte, err error)
- func (m *NoData) MarshalTo(dAtA []byte) (int, error)
- func (m *NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoData) ProtoMessage()
- func (m *NoData) Reset()
- func (m *NoData) Size() (n int)
- func (m *NoData) String() string
- func (m *NoData) Unmarshal(dAtA []byte) error
- func (m *NoData) XXX_DiscardUnknown()
- func (m *NoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoData) XXX_Merge(src proto.Message)
- func (m *NoData) XXX_Size() int
- func (m *NoData) XXX_Unmarshal(b []byte) error
- type OffChainBalancesMetadata
- func (*OffChainBalancesMetadata) Descriptor() ([]byte, []int)
- func (m *OffChainBalancesMetadata) GetCustomData() string
- func (m *OffChainBalancesMetadata) GetUri() string
- func (m *OffChainBalancesMetadata) Marshal() (dAtA []byte, err error)
- func (m *OffChainBalancesMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *OffChainBalancesMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OffChainBalancesMetadata) ProtoMessage()
- func (m *OffChainBalancesMetadata) Reset()
- func (m *OffChainBalancesMetadata) Size() (n int)
- func (m *OffChainBalancesMetadata) String() string
- func (m *OffChainBalancesMetadata) Unmarshal(dAtA []byte) error
- func (m *OffChainBalancesMetadata) XXX_DiscardUnknown()
- func (m *OffChainBalancesMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OffChainBalancesMetadata) XXX_Merge(src proto.Message)
- func (m *OffChainBalancesMetadata) XXX_Size() int
- func (m *OffChainBalancesMetadata) XXX_Unmarshal(b []byte) error
- type OffChainBalancesMetadataTimeline
- func (*OffChainBalancesMetadataTimeline) Descriptor() ([]byte, []int)
- func (m *OffChainBalancesMetadataTimeline) GetOffChainBalancesMetadata() *OffChainBalancesMetadata
- func (m *OffChainBalancesMetadataTimeline) GetTimelineTimes() []*UintRange
- func (m *OffChainBalancesMetadataTimeline) Marshal() (dAtA []byte, err error)
- func (m *OffChainBalancesMetadataTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *OffChainBalancesMetadataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OffChainBalancesMetadataTimeline) ProtoMessage()
- func (m *OffChainBalancesMetadataTimeline) Reset()
- func (m *OffChainBalancesMetadataTimeline) Size() (n int)
- func (m *OffChainBalancesMetadataTimeline) String() string
- func (m *OffChainBalancesMetadataTimeline) Unmarshal(dAtA []byte) error
- func (m *OffChainBalancesMetadataTimeline) XXX_DiscardUnknown()
- func (m *OffChainBalancesMetadataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OffChainBalancesMetadataTimeline) XXX_Merge(src proto.Message)
- func (m *OffChainBalancesMetadataTimeline) XXX_Size() int
- func (m *OffChainBalancesMetadataTimeline) XXX_Unmarshal(b []byte) error
- type OutgoingApprovalCriteria
- func (*OutgoingApprovalCriteria) Descriptor() ([]byte, []int)
- func (m *OutgoingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
- func (m *OutgoingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
- func (m *OutgoingApprovalCriteria) GetMerkleChallenge() *MerkleChallenge
- func (m *OutgoingApprovalCriteria) GetMustOwnBadges() []*MustOwnBadges
- func (m *OutgoingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
- func (m *OutgoingApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
- func (m *OutgoingApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
- func (m *OutgoingApprovalCriteria) Marshal() (dAtA []byte, err error)
- func (m *OutgoingApprovalCriteria) MarshalTo(dAtA []byte) (int, error)
- func (m *OutgoingApprovalCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutgoingApprovalCriteria) ProtoMessage()
- func (m *OutgoingApprovalCriteria) Reset()
- func (m *OutgoingApprovalCriteria) Size() (n int)
- func (m *OutgoingApprovalCriteria) String() string
- func (m *OutgoingApprovalCriteria) Unmarshal(dAtA []byte) error
- func (m *OutgoingApprovalCriteria) XXX_DiscardUnknown()
- func (m *OutgoingApprovalCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutgoingApprovalCriteria) XXX_Merge(src proto.Message)
- func (m *OutgoingApprovalCriteria) XXX_Size() int
- func (m *OutgoingApprovalCriteria) XXX_Unmarshal(b []byte) error
- type Overlap
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PortKeeper
- type PredeterminedBalances
- func (*PredeterminedBalances) Descriptor() ([]byte, []int)
- func (m *PredeterminedBalances) GetIncrementedBalances() *IncrementedBalances
- func (m *PredeterminedBalances) GetManualBalances() []*ManualBalances
- func (m *PredeterminedBalances) GetOrderCalculationMethod() *PredeterminedOrderCalculationMethod
- func (m *PredeterminedBalances) Marshal() (dAtA []byte, err error)
- func (m *PredeterminedBalances) MarshalTo(dAtA []byte) (int, error)
- func (m *PredeterminedBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PredeterminedBalances) ProtoMessage()
- func (m *PredeterminedBalances) Reset()
- func (m *PredeterminedBalances) Size() (n int)
- func (m *PredeterminedBalances) String() string
- func (m *PredeterminedBalances) Unmarshal(dAtA []byte) error
- func (m *PredeterminedBalances) XXX_DiscardUnknown()
- func (m *PredeterminedBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PredeterminedBalances) XXX_Merge(src proto.Message)
- func (m *PredeterminedBalances) XXX_Size() int
- func (m *PredeterminedBalances) XXX_Unmarshal(b []byte) error
- type PredeterminedOrderCalculationMethod
- func (*PredeterminedOrderCalculationMethod) Descriptor() ([]byte, []int)
- func (m *PredeterminedOrderCalculationMethod) GetUseMerkleChallengeLeafIndex() bool
- func (m *PredeterminedOrderCalculationMethod) GetUseOverallNumTransfers() bool
- func (m *PredeterminedOrderCalculationMethod) GetUsePerFromAddressNumTransfers() bool
- func (m *PredeterminedOrderCalculationMethod) GetUsePerInitiatedByAddressNumTransfers() bool
- func (m *PredeterminedOrderCalculationMethod) GetUsePerToAddressNumTransfers() bool
- func (m *PredeterminedOrderCalculationMethod) Marshal() (dAtA []byte, err error)
- func (m *PredeterminedOrderCalculationMethod) MarshalTo(dAtA []byte) (int, error)
- func (m *PredeterminedOrderCalculationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PredeterminedOrderCalculationMethod) ProtoMessage()
- func (m *PredeterminedOrderCalculationMethod) Reset()
- func (m *PredeterminedOrderCalculationMethod) Size() (n int)
- func (m *PredeterminedOrderCalculationMethod) String() string
- func (m *PredeterminedOrderCalculationMethod) Unmarshal(dAtA []byte) error
- func (m *PredeterminedOrderCalculationMethod) XXX_DiscardUnknown()
- func (m *PredeterminedOrderCalculationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PredeterminedOrderCalculationMethod) XXX_Merge(src proto.Message)
- func (m *PredeterminedOrderCalculationMethod) XXX_Size() int
- func (m *PredeterminedOrderCalculationMethod) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetAddressListRequest
- func (*QueryGetAddressListRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAddressListRequest) GetListId() string
- func (m *QueryGetAddressListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAddressListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAddressListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAddressListRequest) ProtoMessage()
- func (m *QueryGetAddressListRequest) Reset()
- func (m *QueryGetAddressListRequest) Size() (n int)
- func (m *QueryGetAddressListRequest) String() string
- func (m *QueryGetAddressListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAddressListRequest) XXX_DiscardUnknown()
- func (m *QueryGetAddressListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAddressListRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAddressListRequest) XXX_Size() int
- func (m *QueryGetAddressListRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAddressListResponse
- func (*QueryGetAddressListResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAddressListResponse) GetList() *AddressList
- func (m *QueryGetAddressListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAddressListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAddressListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAddressListResponse) ProtoMessage()
- func (m *QueryGetAddressListResponse) Reset()
- func (m *QueryGetAddressListResponse) Size() (n int)
- func (m *QueryGetAddressListResponse) String() string
- func (m *QueryGetAddressListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAddressListResponse) XXX_DiscardUnknown()
- func (m *QueryGetAddressListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAddressListResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAddressListResponse) XXX_Size() int
- func (m *QueryGetAddressListResponse) XXX_Unmarshal(b []byte) error
- type QueryGetApprovalTrackerRequest
- func (*QueryGetApprovalTrackerRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetApprovalTrackerRequest) GetAmountTrackerId() string
- func (m *QueryGetApprovalTrackerRequest) GetApprovalLevel() string
- func (m *QueryGetApprovalTrackerRequest) GetApprovedAddress() string
- func (m *QueryGetApprovalTrackerRequest) GetApproverAddress() string
- func (m *QueryGetApprovalTrackerRequest) GetTrackerType() string
- func (m *QueryGetApprovalTrackerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetApprovalTrackerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetApprovalTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetApprovalTrackerRequest) ProtoMessage()
- func (m *QueryGetApprovalTrackerRequest) Reset()
- func (m *QueryGetApprovalTrackerRequest) Size() (n int)
- func (m *QueryGetApprovalTrackerRequest) String() string
- func (m *QueryGetApprovalTrackerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetApprovalTrackerRequest) XXX_DiscardUnknown()
- func (m *QueryGetApprovalTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetApprovalTrackerRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetApprovalTrackerRequest) XXX_Size() int
- func (m *QueryGetApprovalTrackerRequest) XXX_Unmarshal(b []byte) error
- type QueryGetApprovalTrackerResponse
- func (*QueryGetApprovalTrackerResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetApprovalTrackerResponse) GetTracker() *ApprovalTracker
- func (m *QueryGetApprovalTrackerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetApprovalTrackerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetApprovalTrackerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetApprovalTrackerResponse) ProtoMessage()
- func (m *QueryGetApprovalTrackerResponse) Reset()
- func (m *QueryGetApprovalTrackerResponse) Size() (n int)
- func (m *QueryGetApprovalTrackerResponse) String() string
- func (m *QueryGetApprovalTrackerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetApprovalTrackerResponse) XXX_DiscardUnknown()
- func (m *QueryGetApprovalTrackerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetApprovalTrackerResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetApprovalTrackerResponse) XXX_Size() int
- func (m *QueryGetApprovalTrackerResponse) XXX_Unmarshal(b []byte) error
- type QueryGetBalanceRequest
- func (*QueryGetBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetBalanceRequest) GetAddress() string
- func (m *QueryGetBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetBalanceRequest) ProtoMessage()
- func (m *QueryGetBalanceRequest) Reset()
- func (m *QueryGetBalanceRequest) Size() (n int)
- func (m *QueryGetBalanceRequest) String() string
- func (m *QueryGetBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryGetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetBalanceRequest) XXX_Size() int
- func (m *QueryGetBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetBalanceResponse
- func (*QueryGetBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetBalanceResponse) GetBalance() *UserBalanceStore
- func (m *QueryGetBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetBalanceResponse) ProtoMessage()
- func (m *QueryGetBalanceResponse) Reset()
- func (m *QueryGetBalanceResponse) Size() (n int)
- func (m *QueryGetBalanceResponse) String() string
- func (m *QueryGetBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryGetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetBalanceResponse) XXX_Size() int
- func (m *QueryGetBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetChallengeTrackerRequest
- func (*QueryGetChallengeTrackerRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetChallengeTrackerRequest) GetApprovalLevel() string
- func (m *QueryGetChallengeTrackerRequest) GetApproverAddress() string
- func (m *QueryGetChallengeTrackerRequest) GetChallengeTrackerId() string
- func (m *QueryGetChallengeTrackerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetChallengeTrackerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetChallengeTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetChallengeTrackerRequest) ProtoMessage()
- func (m *QueryGetChallengeTrackerRequest) Reset()
- func (m *QueryGetChallengeTrackerRequest) Size() (n int)
- func (m *QueryGetChallengeTrackerRequest) String() string
- func (m *QueryGetChallengeTrackerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetChallengeTrackerRequest) XXX_DiscardUnknown()
- func (m *QueryGetChallengeTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetChallengeTrackerRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetChallengeTrackerRequest) XXX_Size() int
- func (m *QueryGetChallengeTrackerRequest) XXX_Unmarshal(b []byte) error
- type QueryGetChallengeTrackerResponse
- func (*QueryGetChallengeTrackerResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetChallengeTrackerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetChallengeTrackerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetChallengeTrackerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetChallengeTrackerResponse) ProtoMessage()
- func (m *QueryGetChallengeTrackerResponse) Reset()
- func (m *QueryGetChallengeTrackerResponse) Size() (n int)
- func (m *QueryGetChallengeTrackerResponse) String() string
- func (m *QueryGetChallengeTrackerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetChallengeTrackerResponse) XXX_DiscardUnknown()
- func (m *QueryGetChallengeTrackerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetChallengeTrackerResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetChallengeTrackerResponse) XXX_Size() int
- func (m *QueryGetChallengeTrackerResponse) XXX_Unmarshal(b []byte) error
- type QueryGetCollectionRequest
- func (*QueryGetCollectionRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetCollectionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCollectionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCollectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCollectionRequest) ProtoMessage()
- func (m *QueryGetCollectionRequest) Reset()
- func (m *QueryGetCollectionRequest) Size() (n int)
- func (m *QueryGetCollectionRequest) String() string
- func (m *QueryGetCollectionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetCollectionRequest) XXX_DiscardUnknown()
- func (m *QueryGetCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCollectionRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetCollectionRequest) XXX_Size() int
- func (m *QueryGetCollectionRequest) XXX_Unmarshal(b []byte) error
- type QueryGetCollectionResponse
- func (*QueryGetCollectionResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetCollectionResponse) GetCollection() *BadgeCollection
- func (m *QueryGetCollectionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCollectionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCollectionResponse) ProtoMessage()
- func (m *QueryGetCollectionResponse) Reset()
- func (m *QueryGetCollectionResponse) Size() (n int)
- func (m *QueryGetCollectionResponse) String() string
- func (m *QueryGetCollectionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetCollectionResponse) XXX_DiscardUnknown()
- func (m *QueryGetCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCollectionResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetCollectionResponse) XXX_Size() int
- func (m *QueryGetCollectionResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type ScopedKeeper
- type StandardsTimeline
- func (*StandardsTimeline) Descriptor() ([]byte, []int)
- func (m *StandardsTimeline) GetStandards() []string
- func (m *StandardsTimeline) GetTimelineTimes() []*UintRange
- func (m *StandardsTimeline) Marshal() (dAtA []byte, err error)
- func (m *StandardsTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *StandardsTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StandardsTimeline) ProtoMessage()
- func (m *StandardsTimeline) Reset()
- func (m *StandardsTimeline) Size() (n int)
- func (m *StandardsTimeline) String() string
- func (m *StandardsTimeline) Unmarshal(dAtA []byte) error
- func (m *StandardsTimeline) XXX_DiscardUnknown()
- func (m *StandardsTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StandardsTimeline) XXX_Merge(src proto.Message)
- func (m *StandardsTimeline) XXX_Size() int
- func (m *StandardsTimeline) XXX_Unmarshal(b []byte) error
- type TimedUpdatePermission
- func (*TimedUpdatePermission) Descriptor() ([]byte, []int)
- func (m *TimedUpdatePermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (m *TimedUpdatePermission) GetPermanentlyPermittedTimes() []*UintRange
- func (m *TimedUpdatePermission) GetTimelineTimes() []*UintRange
- func (m *TimedUpdatePermission) Marshal() (dAtA []byte, err error)
- func (m *TimedUpdatePermission) MarshalTo(dAtA []byte) (int, error)
- func (m *TimedUpdatePermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimedUpdatePermission) ProtoMessage()
- func (m *TimedUpdatePermission) Reset()
- func (m *TimedUpdatePermission) Size() (n int)
- func (m *TimedUpdatePermission) String() string
- func (m *TimedUpdatePermission) Unmarshal(dAtA []byte) error
- func (m *TimedUpdatePermission) XXX_DiscardUnknown()
- func (m *TimedUpdatePermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimedUpdatePermission) XXX_Merge(src proto.Message)
- func (m *TimedUpdatePermission) XXX_Size() int
- func (m *TimedUpdatePermission) XXX_Unmarshal(b []byte) error
- type TimedUpdateWithBadgeIdsPermission
- func (*TimedUpdateWithBadgeIdsPermission) Descriptor() ([]byte, []int)
- func (m *TimedUpdateWithBadgeIdsPermission) GetBadgeIds() []*UintRange
- func (m *TimedUpdateWithBadgeIdsPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (m *TimedUpdateWithBadgeIdsPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (m *TimedUpdateWithBadgeIdsPermission) GetTimelineTimes() []*UintRange
- func (m *TimedUpdateWithBadgeIdsPermission) Marshal() (dAtA []byte, err error)
- func (m *TimedUpdateWithBadgeIdsPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *TimedUpdateWithBadgeIdsPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimedUpdateWithBadgeIdsPermission) ProtoMessage()
- func (m *TimedUpdateWithBadgeIdsPermission) Reset()
- func (m *TimedUpdateWithBadgeIdsPermission) Size() (n int)
- func (m *TimedUpdateWithBadgeIdsPermission) String() string
- func (m *TimedUpdateWithBadgeIdsPermission) Unmarshal(dAtA []byte) error
- func (m *TimedUpdateWithBadgeIdsPermission) XXX_DiscardUnknown()
- func (m *TimedUpdateWithBadgeIdsPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimedUpdateWithBadgeIdsPermission) XXX_Merge(src proto.Message)
- func (m *TimedUpdateWithBadgeIdsPermission) XXX_Size() int
- func (m *TimedUpdateWithBadgeIdsPermission) XXX_Unmarshal(b []byte) error
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)
- func (m *Transfer) GetBalances() []*Balance
- func (m *Transfer) GetFrom() string
- func (m *Transfer) GetMemo() string
- func (m *Transfer) GetMerkleProofs() []*MerkleProof
- func (m *Transfer) GetOnlyCheckPrioritizedApprovals() bool
- func (m *Transfer) GetPrecalculateBalancesFromApproval() *ApprovalIdentifierDetails
- func (m *Transfer) GetPrioritizedApprovals() []*ApprovalIdentifierDetails
- func (m *Transfer) GetToAddresses() []string
- func (m *Transfer) Marshal() (dAtA []byte, err error)
- func (m *Transfer) MarshalTo(dAtA []byte) (int, error)
- func (m *Transfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Transfer) ProtoMessage()
- func (m *Transfer) Reset()
- func (m *Transfer) Size() (n int)
- func (m *Transfer) String() string
- func (m *Transfer) Unmarshal(dAtA []byte) error
- func (m *Transfer) XXX_DiscardUnknown()
- func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transfer) XXX_Merge(src proto.Message)
- func (m *Transfer) XXX_Size() int
- func (m *Transfer) XXX_Unmarshal(b []byte) error
- type Uint
- type UintRange
- func CreateUintRange(start sdkmath.Uint, end sdkmath.Uint) *UintRange
- func DeepCopyRanges(ranges []*UintRange) []*UintRange
- func GetUintRangesWithOptions(ranges []*UintRange, uses bool) []*UintRange
- func InvertUintRanges(uintRanges []*UintRange, minId sdkmath.Uint, maxId sdkmath.Uint) []*UintRange
- func SortUintRangesAndMerge(ids []*UintRange, mergeIntersecting bool) ([]*UintRange, error)
- func SortUintRangesAndMergeAdjacentAndIntersecting(ids []*UintRange) []*UintRange
- func (*UintRange) Descriptor() ([]byte, []int)
- func (m *UintRange) Marshal() (dAtA []byte, err error)
- func (m *UintRange) MarshalTo(dAtA []byte) (int, error)
- func (m *UintRange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UintRange) ProtoMessage()
- func (m *UintRange) Reset()
- func (m *UintRange) Size() (n int)
- func (m *UintRange) String() string
- func (m *UintRange) Unmarshal(dAtA []byte) error
- func (m *UintRange) XXX_DiscardUnknown()
- func (m *UintRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UintRange) XXX_Merge(src proto.Message)
- func (m *UintRange) XXX_Size() int
- func (m *UintRange) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateAddressLists(ctx context.Context, req *MsgCreateAddressLists) (*MsgCreateAddressListsResponse, error)
- func (*UnimplementedMsgServer) CreateCollection(ctx context.Context, req *MsgCreateCollection) (*MsgCreateCollectionResponse, error)
- func (*UnimplementedMsgServer) DeleteCollection(ctx context.Context, req *MsgDeleteCollection) (*MsgDeleteCollectionResponse, error)
- func (*UnimplementedMsgServer) TransferBadges(ctx context.Context, req *MsgTransferBadges) (*MsgTransferBadgesResponse, error)
- func (*UnimplementedMsgServer) UniversalUpdateCollection(ctx context.Context, req *MsgUniversalUpdateCollection) (*MsgUniversalUpdateCollectionResponse, error)
- func (*UnimplementedMsgServer) UpdateCollection(ctx context.Context, req *MsgUpdateCollection) (*MsgUpdateCollectionResponse, error)
- func (*UnimplementedMsgServer) UpdateUserApprovals(ctx context.Context, req *MsgUpdateUserApprovals) (*MsgUpdateUserApprovalsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetAddressList(ctx context.Context, req *QueryGetAddressListRequest) (*QueryGetAddressListResponse, error)
- func (*UnimplementedQueryServer) GetApprovalTracker(ctx context.Context, req *QueryGetApprovalTrackerRequest) (*QueryGetApprovalTrackerResponse, error)
- func (*UnimplementedQueryServer) GetBalance(ctx context.Context, req *QueryGetBalanceRequest) (*QueryGetBalanceResponse, error)
- func (*UnimplementedQueryServer) GetChallengeTracker(ctx context.Context, req *QueryGetChallengeTrackerRequest) (*QueryGetChallengeTrackerResponse, error)
- func (*UnimplementedQueryServer) GetCollection(ctx context.Context, req *QueryGetCollectionRequest) (*QueryGetCollectionResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type UniversalPermission
- type UniversalPermissionDetails
- type UserBalanceStore
- func (*UserBalanceStore) Descriptor() ([]byte, []int)
- func (m *UserBalanceStore) GetAutoApproveSelfInitiatedIncomingTransfers() bool
- func (m *UserBalanceStore) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
- func (m *UserBalanceStore) GetBalances() []*Balance
- func (m *UserBalanceStore) GetIncomingApprovals() []*UserIncomingApproval
- func (m *UserBalanceStore) GetOutgoingApprovals() []*UserOutgoingApproval
- func (m *UserBalanceStore) GetUserPermissions() *UserPermissions
- func (m *UserBalanceStore) Marshal() (dAtA []byte, err error)
- func (m *UserBalanceStore) MarshalTo(dAtA []byte) (int, error)
- func (m *UserBalanceStore) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserBalanceStore) ProtoMessage()
- func (m *UserBalanceStore) Reset()
- func (m *UserBalanceStore) Size() (n int)
- func (m *UserBalanceStore) String() string
- func (m *UserBalanceStore) Unmarshal(dAtA []byte) error
- func (m *UserBalanceStore) XXX_DiscardUnknown()
- func (m *UserBalanceStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserBalanceStore) XXX_Merge(src proto.Message)
- func (m *UserBalanceStore) XXX_Size() int
- func (m *UserBalanceStore) XXX_Unmarshal(b []byte) error
- type UserIncomingApproval
- func (*UserIncomingApproval) Descriptor() ([]byte, []int)
- func (m *UserIncomingApproval) GetAmountTrackerId() string
- func (m *UserIncomingApproval) GetApprovalCriteria() *IncomingApprovalCriteria
- func (m *UserIncomingApproval) GetApprovalId() string
- func (m *UserIncomingApproval) GetBadgeIds() []*UintRange
- func (m *UserIncomingApproval) GetChallengeTrackerId() string
- func (m *UserIncomingApproval) GetCustomData() string
- func (m *UserIncomingApproval) GetFromListId() string
- func (m *UserIncomingApproval) GetInitiatedByListId() string
- func (m *UserIncomingApproval) GetOwnershipTimes() []*UintRange
- func (m *UserIncomingApproval) GetTransferTimes() []*UintRange
- func (m *UserIncomingApproval) GetUri() string
- func (m *UserIncomingApproval) Marshal() (dAtA []byte, err error)
- func (m *UserIncomingApproval) MarshalTo(dAtA []byte) (int, error)
- func (m *UserIncomingApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserIncomingApproval) ProtoMessage()
- func (m *UserIncomingApproval) Reset()
- func (m *UserIncomingApproval) Size() (n int)
- func (m *UserIncomingApproval) String() string
- func (m *UserIncomingApproval) Unmarshal(dAtA []byte) error
- func (m *UserIncomingApproval) XXX_DiscardUnknown()
- func (m *UserIncomingApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserIncomingApproval) XXX_Merge(src proto.Message)
- func (m *UserIncomingApproval) XXX_Size() int
- func (m *UserIncomingApproval) XXX_Unmarshal(b []byte) error
- type UserIncomingApprovalPermission
- func (*UserIncomingApprovalPermission) Descriptor() ([]byte, []int)
- func (m *UserIncomingApprovalPermission) GetAmountTrackerId() string
- func (m *UserIncomingApprovalPermission) GetApprovalId() string
- func (m *UserIncomingApprovalPermission) GetBadgeIds() []*UintRange
- func (m *UserIncomingApprovalPermission) GetChallengeTrackerId() string
- func (m *UserIncomingApprovalPermission) GetFromListId() string
- func (m *UserIncomingApprovalPermission) GetInitiatedByListId() string
- func (m *UserIncomingApprovalPermission) GetOwnershipTimes() []*UintRange
- func (m *UserIncomingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (m *UserIncomingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (m *UserIncomingApprovalPermission) GetTransferTimes() []*UintRange
- func (m *UserIncomingApprovalPermission) Marshal() (dAtA []byte, err error)
- func (m *UserIncomingApprovalPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *UserIncomingApprovalPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserIncomingApprovalPermission) ProtoMessage()
- func (m *UserIncomingApprovalPermission) Reset()
- func (m *UserIncomingApprovalPermission) Size() (n int)
- func (m *UserIncomingApprovalPermission) String() string
- func (m *UserIncomingApprovalPermission) Unmarshal(dAtA []byte) error
- func (m *UserIncomingApprovalPermission) XXX_DiscardUnknown()
- func (m *UserIncomingApprovalPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserIncomingApprovalPermission) XXX_Merge(src proto.Message)
- func (m *UserIncomingApprovalPermission) XXX_Size() int
- func (m *UserIncomingApprovalPermission) XXX_Unmarshal(b []byte) error
- type UserIncomingApprovalTimeline
- func (*UserIncomingApprovalTimeline) Descriptor() ([]byte, []int)
- func (m *UserIncomingApprovalTimeline) GetIncomingApprovals() []*UserIncomingApproval
- func (m *UserIncomingApprovalTimeline) GetTimelineTimes() []*UintRange
- func (m *UserIncomingApprovalTimeline) Marshal() (dAtA []byte, err error)
- func (m *UserIncomingApprovalTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *UserIncomingApprovalTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserIncomingApprovalTimeline) ProtoMessage()
- func (m *UserIncomingApprovalTimeline) Reset()
- func (m *UserIncomingApprovalTimeline) Size() (n int)
- func (m *UserIncomingApprovalTimeline) String() string
- func (m *UserIncomingApprovalTimeline) Unmarshal(dAtA []byte) error
- func (m *UserIncomingApprovalTimeline) XXX_DiscardUnknown()
- func (m *UserIncomingApprovalTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserIncomingApprovalTimeline) XXX_Merge(src proto.Message)
- func (m *UserIncomingApprovalTimeline) XXX_Size() int
- func (m *UserIncomingApprovalTimeline) XXX_Unmarshal(b []byte) error
- type UserOutgoingApproval
- func (*UserOutgoingApproval) Descriptor() ([]byte, []int)
- func (m *UserOutgoingApproval) GetAmountTrackerId() string
- func (m *UserOutgoingApproval) GetApprovalCriteria() *OutgoingApprovalCriteria
- func (m *UserOutgoingApproval) GetApprovalId() string
- func (m *UserOutgoingApproval) GetBadgeIds() []*UintRange
- func (m *UserOutgoingApproval) GetChallengeTrackerId() string
- func (m *UserOutgoingApproval) GetCustomData() string
- func (m *UserOutgoingApproval) GetInitiatedByListId() string
- func (m *UserOutgoingApproval) GetOwnershipTimes() []*UintRange
- func (m *UserOutgoingApproval) GetToListId() string
- func (m *UserOutgoingApproval) GetTransferTimes() []*UintRange
- func (m *UserOutgoingApproval) GetUri() string
- func (m *UserOutgoingApproval) Marshal() (dAtA []byte, err error)
- func (m *UserOutgoingApproval) MarshalTo(dAtA []byte) (int, error)
- func (m *UserOutgoingApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserOutgoingApproval) ProtoMessage()
- func (m *UserOutgoingApproval) Reset()
- func (m *UserOutgoingApproval) Size() (n int)
- func (m *UserOutgoingApproval) String() string
- func (m *UserOutgoingApproval) Unmarshal(dAtA []byte) error
- func (m *UserOutgoingApproval) XXX_DiscardUnknown()
- func (m *UserOutgoingApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserOutgoingApproval) XXX_Merge(src proto.Message)
- func (m *UserOutgoingApproval) XXX_Size() int
- func (m *UserOutgoingApproval) XXX_Unmarshal(b []byte) error
- type UserOutgoingApprovalPermission
- func (*UserOutgoingApprovalPermission) Descriptor() ([]byte, []int)
- func (m *UserOutgoingApprovalPermission) GetAmountTrackerId() string
- func (m *UserOutgoingApprovalPermission) GetApprovalId() string
- func (m *UserOutgoingApprovalPermission) GetBadgeIds() []*UintRange
- func (m *UserOutgoingApprovalPermission) GetChallengeTrackerId() string
- func (m *UserOutgoingApprovalPermission) GetInitiatedByListId() string
- func (m *UserOutgoingApprovalPermission) GetOwnershipTimes() []*UintRange
- func (m *UserOutgoingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
- func (m *UserOutgoingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
- func (m *UserOutgoingApprovalPermission) GetToListId() string
- func (m *UserOutgoingApprovalPermission) GetTransferTimes() []*UintRange
- func (m *UserOutgoingApprovalPermission) Marshal() (dAtA []byte, err error)
- func (m *UserOutgoingApprovalPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *UserOutgoingApprovalPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserOutgoingApprovalPermission) ProtoMessage()
- func (m *UserOutgoingApprovalPermission) Reset()
- func (m *UserOutgoingApprovalPermission) Size() (n int)
- func (m *UserOutgoingApprovalPermission) String() string
- func (m *UserOutgoingApprovalPermission) Unmarshal(dAtA []byte) error
- func (m *UserOutgoingApprovalPermission) XXX_DiscardUnknown()
- func (m *UserOutgoingApprovalPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserOutgoingApprovalPermission) XXX_Merge(src proto.Message)
- func (m *UserOutgoingApprovalPermission) XXX_Size() int
- func (m *UserOutgoingApprovalPermission) XXX_Unmarshal(b []byte) error
- type UserOutgoingApprovalTimeline
- func (*UserOutgoingApprovalTimeline) Descriptor() ([]byte, []int)
- func (m *UserOutgoingApprovalTimeline) GetOutgoingApprovals() []*UserOutgoingApproval
- func (m *UserOutgoingApprovalTimeline) GetTimelineTimes() []*UintRange
- func (m *UserOutgoingApprovalTimeline) Marshal() (dAtA []byte, err error)
- func (m *UserOutgoingApprovalTimeline) MarshalTo(dAtA []byte) (int, error)
- func (m *UserOutgoingApprovalTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserOutgoingApprovalTimeline) ProtoMessage()
- func (m *UserOutgoingApprovalTimeline) Reset()
- func (m *UserOutgoingApprovalTimeline) Size() (n int)
- func (m *UserOutgoingApprovalTimeline) String() string
- func (m *UserOutgoingApprovalTimeline) Unmarshal(dAtA []byte) error
- func (m *UserOutgoingApprovalTimeline) XXX_DiscardUnknown()
- func (m *UserOutgoingApprovalTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserOutgoingApprovalTimeline) XXX_Merge(src proto.Message)
- func (m *UserOutgoingApprovalTimeline) XXX_Size() int
- func (m *UserOutgoingApprovalTimeline) XXX_Unmarshal(b []byte) error
- type UserPermissions
- func (*UserPermissions) Descriptor() ([]byte, []int)
- func (m *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedIncomingTransfers() []*ActionPermission
- func (m *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedOutgoingTransfers() []*ActionPermission
- func (m *UserPermissions) GetCanUpdateIncomingApprovals() []*UserIncomingApprovalPermission
- func (m *UserPermissions) GetCanUpdateOutgoingApprovals() []*UserOutgoingApprovalPermission
- func (m *UserPermissions) Marshal() (dAtA []byte, err error)
- func (m *UserPermissions) MarshalTo(dAtA []byte) (int, error)
- func (m *UserPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserPermissions) ProtoMessage()
- func (m *UserPermissions) Reset()
- func (m *UserPermissions) Size() (n int)
- func (m *UserPermissions) String() string
- func (m *UserPermissions) Unmarshal(dAtA []byte) error
- func (m *UserPermissions) XXX_DiscardUnknown()
- func (m *UserPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserPermissions) XXX_Merge(src proto.Message)
- func (m *UserPermissions) XXX_Size() int
- func (m *UserPermissions) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeTimeout = "timeout" AttributeKeyAckSuccess = "success" AttributeKeyAck = "acknowledgement" AttributeKeyAckError = "error" )
IBC events
const ( // ModuleName defines the module name ModuleName = "badges" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_badges" // Version defines the current version the IBC module supports Version = "badges-1" // PortID is the default port id that module binds to PortID = "badges" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgCreateAddressLists = "create_address_lists"
const TypeMsgCreateCollection = "msg_create_collection"
const TypeMsgDeleteCollection = "delete_collection"
const TypeMsgTransferBadges = "transfer_badge"
const TypeMsgUniversalUpdateCollection = "update_collection"
const TypeMsgUpdateCollection = "msg_update_collection"
const TypeMsgUpdateUserApprovals = "update_user_approved_transfers"
Variables ¶
var ( ErrInvalidLengthAddressLists = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAddressLists = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAddressLists = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBalances = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBalances = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBalances = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) // AminoCdc is a amino codec created to support amino JSON compatible msgs. AminoCdc = codec.NewAminoCodec(Amino) )
var ( ErrInvalidLengthCollections = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCollections = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCollections = fmt.Errorf("proto: unexpected end of group") )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout") ErrInvalidVersion = sdkerrors.Register(ModuleName, 1501, "invalid version") ErrInvalidCollectionID = sdkerrors.Register(ModuleName, 1502, "invalid collection ID") ErrInvalidURI = sdkerrors.Register(ModuleName, 1503, "invalid URI. must be blank or a correctly formatted URI") ErrInvalidPermissions = sdkerrors.Register(ModuleName, 1504, "invalid permissions") ErrAmountEqualsZero = sdkerrors.Register(ModuleName, 1505, "amount cannot equal zero") ErrDuplicateAddresses = sdkerrors.Register(ModuleName, 1506, "duplicate addresses") ErrStartGreaterThanEnd = sdkerrors.Register(ModuleName, 1507, "start greater than end") ErrRangesIsNil = sdkerrors.Register(ModuleName, 1508, "ranges is nil") ErrElementCantEqualThis = sdkerrors.Register(ModuleName, 1509, "element cant equal this") ErrInvalidUintRangeSpecified = sdkerrors.Register(ModuleName, 1510, "invalid id range specified") ErrInvalidTypedData = sdkerrors.Register(ModuleName, 1511, "invalid typed data") ErrNotImplemented = sdkerrors.Register(ModuleName, 1512, "not implemented") ErrRangesOverlap = sdkerrors.Register(ModuleName, 1513, "id ranges overlap. for example, { Start: sdkmath.NewUint(1), end: 5 } and { Start: sdkmath.NewUint(4), End: sdkmath.NewUint(10) } overlap") ErrUintUnititialized = sdkerrors.Register(ModuleName, 1514, "uint is uninitialized (nil)") ErrPrimaryChallengeMustBeOneUsePerLeaf = sdkerrors.Register(ModuleName, 1515, "if you are using leaf index for predetermined balances, it must be max one use per leaf") ErrCanOnlyUseMaxOneUsePerLeafWithWhitelistTree = sdkerrors.Register(ModuleName, 1516, "must use max one use per leaf with non-whitelist tree") ErrCanOnlyUseLeafIndexForBadgeIdsOnce = sdkerrors.Register(ModuleName, 1517, "can only use leaf index for badge ids once") ErrRangeDoesNotOverlap = sdkerrors.Register(ModuleName, 1518, "range does not overlap with existing ranges") ErrAmountRestrictionsIsNil = sdkerrors.Register(ModuleName, 1519, "amount restrictions is nil") ErrPermissionsValueIsNil = sdkerrors.Register(ModuleName, 1520, "permissions is defined but default values is nil") ErrCombinationsIsNil = sdkerrors.Register(ModuleName, 1521, "permissions is defined but combinations is nil") ErrPermissionsIsNil = sdkerrors.Register(ModuleName, 1522, "permissions is nil") ErrInvalidCombinations = sdkerrors.Register(ModuleName, 1523, "invalid permission combinations. you have specified duplicate combinations and because of the first match policy, the second combination will never be used. please remove the duplicate combinations") ErrOverflow = sdkerrors.Register(ModuleName, 1524, "overflow") ErrUnderflow = sdkerrors.Register(ModuleName, 1525, "underflow") ErrInvalidAddress = sdkerrors.Register(ModuleName, 1526, "invalid address") ErrInvalidRequest = sdkerrors.Register(ModuleName, 1527, "invalid request") ErrUnknownRequest = sdkerrors.Register(ModuleName, 1528, "unknown request") ErrInvalidType = sdkerrors.Register(ModuleName, 1529, "invalid type") ErrInvalidPubKey = sdkerrors.Register(ModuleName, 1531, "invalid public key") ErrWrongSequence = sdkerrors.Register(ModuleName, 1532, "wrong sequence") ErrNotSupported = sdkerrors.Register(ModuleName, 1533, "not supported") ErrTooManySignatures = sdkerrors.Register(ModuleName, 1534, "too many signatures") ErrNoSignatures = sdkerrors.Register(ModuleName, 1535, "no signatures") ErrUnknownExtensionOptions = sdkerrors.Register(ModuleName, 1536, "unknown extension options") ErrInvalidChainID = sdkerrors.Register(ModuleName, 1537, "invalid chain id") ErrorInvalidSigner = sdkerrors.Register(ModuleName, 1538, "invalid signer") ErrLogic = sdkerrors.Register(ModuleName, 1539, "logic") ErrNotFound = sdkerrors.Register(ModuleName, 1540, "not found") ErrInvalidInheritedBadgeLength = sdkerrors.Register(ModuleName, 1541, "invalid inherited badge balances length. num parent badges must == 1 or equal num child badges") ErrNoTimelineTimeSpecified = sdkerrors.Register(ModuleName, 1542, "no timeline times specified (len 0 for Times)") ErrSenderAndReceiverSame = sdkerrors.Register(ModuleName, 1543, "sender and receiver cannot be the same") ErrInvalidTransfers = sdkerrors.Register(ModuleName, 1544, "invalid transfers") ErrUintGreaterThanMax = sdkerrors.Register(ModuleName, 1545, "uint greater than max uint") ErrExceedsThreshold = sdkerrors.Register(ModuleName, 1546, "exceeds threshold") ErrAmountTrackerIdIsNil = sdkerrors.Register(ModuleName, 1547, "approval id is nil") ErrChallengeTrackerIdIsNil = sdkerrors.Register(ModuleName, 1548, "challenge tracker id is nil") ErrIdsContainsInvalidChars = sdkerrors.Register(ModuleName, 1549, "ids contains invalid chars") ErrInvalidBadgeId = sdkerrors.Register(ModuleName, 1550, "invalid badge id") )
x/badges module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLegacytx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLegacytx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLegacytx = fmt.Errorf("proto: unexpected end of group") )
var ( NewInt = sdkmath.NewInt ZeroInt = sdkmath.ZeroInt NewUint = sdkmath.NewUint NewUintFromString = func(s string) Uint { if s == "" { return sdkmath.NewUint(0) } val := sdkmath.NewUintFromString(s) return val } )
var ( NewDecWithPrec = sdkmath.LegacyNewDecWithPrec NewDecFromInt = sdkmath.LegacyNewDecFromInt NewDecFromStr = sdkmath.LegacyNewDecFromStr MustNewDecFromStr = sdkmath.LegacyMustNewDecFromStr )
var ( ErrInvalidLengthMetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMetadata = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMetadata = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPermissions = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPermissions = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPermissions = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTimelines = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTimelines = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTimelines = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTransfers = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTransfers = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTransfers = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // PortKey defines the key to store the port ID in store PortKey = KeyPrefix("badges-port-") )
Functions ¶
func AreBalancesEqual ¶
func DoRangesOverlap ¶
func GetBadgeMetadataTimesAndValues ¶
func GetBadgeMetadataTimesAndValues(timeline []*BadgeMetadataTimeline) ([][]*UintRange, []interface{})
func GetCollectionApprovalTimesAndValues ¶
func GetCollectionApprovalTimesAndValues(approvals []*CollectionApprovalTimeline) ([][]*UintRange, []interface{})
func GetCollectionMetadataTimesAndValues ¶
func GetCollectionMetadataTimesAndValues(timeline []*CollectionMetadataTimeline) ([][]*UintRange, []interface{})
func GetCurrentManager ¶
func GetCurrentManager(ctx sdk.Context, collection *BadgeCollection) string
func GetCustomDataTimesAndValues ¶
func GetCustomDataTimesAndValues(customDataTimeline []*CustomDataTimeline) ([][]*UintRange, []interface{})
func GetIsArchived ¶
func GetIsArchived(ctx sdk.Context, collection *BadgeCollection) bool
func GetIsArchivedTimesAndValues ¶
func GetIsArchivedTimesAndValues(isArchivedTimeline []*IsArchivedTimeline) ([][]*UintRange, []interface{})
func GetListIdWithOptions ¶
func GetManagerTimesAndValues ¶
func GetManagerTimesAndValues(managerTimeline []*ManagerTimeline) ([][]*UintRange, []interface{})
func GetOffChainBalancesMetadataTimesAndValues ¶
func GetOffChainBalancesMetadataTimesAndValues(inheritedBalancesMetadata []*OffChainBalancesMetadataTimeline) ([][]*UintRange, []interface{})
func GetOverlapsAndNonOverlaps ¶
func GetOverlapsAndNonOverlaps(firstDetails []*UniversalPermissionDetails, secondDetails []*UniversalPermissionDetails) ([]*Overlap, []*UniversalPermissionDetails, []*UniversalPermissionDetails)
func GetPermissionString ¶
func GetPermissionString(permission *UniversalPermissionDetails) string
func GetStandardsTimesAndValues ¶
func GetStandardsTimesAndValues(standardsTimeline []*StandardsTimeline) ([][]*UintRange, []interface{})
func GetUserIncomingApprovalTimesAndValues ¶
func GetUserIncomingApprovalTimesAndValues(approvals []*UserIncomingApprovalTimeline) ([][]*UintRange, []interface{})
func GetUserOutgoingApprovalTimesAndValues ¶
func GetUserOutgoingApprovalTimesAndValues(approvals []*UserOutgoingApprovalTimeline) ([][]*UintRange, []interface{})
func IsAddressListEmpty ¶
func IsAddressListEmpty(list *AddressList) bool
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RemoveAddressListFromAddressList ¶
func RemoveAddressListFromAddressList(listToRemove *AddressList, addressList *AddressList) (*AddressList, *AddressList)
func RemoveUintRangeFromUintRange ¶
func RemoveUintRangeFromUintRange(idxsToRemove *UintRange, rangeObject *UintRange) ([]*UintRange, []*UintRange)
Removes all ids within an id range from an id range. Removing can make this range be split into 0, 1, or 2 new ranges. Returns if anything was removed or not
func SafeAdd ¶
Safe adds two sdkmath.Uints and returns an error if the result overflows sdkmath.Uint.
func SafeSubtract ¶
Safe subtracts two sdkmath.Uints and returns an error if the result underflows sdkmath.Uint.
func SearchUintRangesForUint ¶
Search ID ranges for a specific ID. Return (true) if found. And (false) if not.
func UniversalRemoveOverlapFromValues ¶
func UniversalRemoveOverlapFromValues(handled *UniversalPermissionDetails, valuesToCheck []*UniversalPermissionDetails) ([]*UniversalPermissionDetails, []*UniversalPermissionDetails)
func UniversalRemoveOverlaps ¶
func UniversalRemoveOverlaps(handled *UniversalPermissionDetails, valueToCheck *UniversalPermissionDetails) ([]*UniversalPermissionDetails, []*UniversalPermissionDetails)
func ValidateActionPermission ¶
func ValidateActionPermission(permissions []*ActionPermission, canChangeValues bool) error
func ValidateAddress ¶
func ValidateAddressList ¶
func ValidateAddressList(addressList *AddressList) error
func ValidateApprovalTimeline ¶
func ValidateApprovalTimeline(timeline []*CollectionApprovalTimeline, canChangeValues bool) error
func ValidateBadgeMetadata ¶
func ValidateBadgeMetadata(badgeMetadata []*BadgeMetadata, canChangeValues bool) error
func ValidateBadgeMetadataTimeline ¶
func ValidateBadgeMetadataTimeline(timeline []*BadgeMetadataTimeline, canChangeValues bool) error
func ValidateBalancesActionPermission ¶
func ValidateBalancesActionPermission(permissions []*BalancesActionPermission, canChangeValues bool) error
func ValidateCollectionApprovalPermissions ¶
func ValidateCollectionApprovalPermissions(permissions []*CollectionApprovalPermission, canChangeValues bool) error
func ValidateCollectionApprovals ¶
func ValidateCollectionApprovals(collectionApprovals []*CollectionApproval, canChangeValues bool) error
func ValidateCollectionMetadataTimeline ¶
func ValidateCollectionMetadataTimeline(timeline []*CollectionMetadataTimeline) error
func ValidateCustomDataTimeline ¶
func ValidateCustomDataTimeline(timeline []*CustomDataTimeline) error
func ValidateIsArchivedTimeline ¶
func ValidateIsArchivedTimeline(timeline []*IsArchivedTimeline) error
func ValidateManagerTimeline ¶
func ValidateManagerTimeline(timeline []*ManagerTimeline) error
func ValidateMerkleChallenge ¶
func ValidateMerkleChallenge(challenge *MerkleChallenge, challengeId string, usingLeafIndexForTransferOrder bool) error
func ValidateNoElementIsX ¶
Validates no element is X
func ValidateNoStringElementIsX ¶
Validates no element is X
func ValidateOffChainBalancesMetadataTimeline ¶
func ValidateOffChainBalancesMetadataTimeline(timeline []*OffChainBalancesMetadataTimeline) error
func ValidatePermissions ¶
func ValidatePermissions(permissions *CollectionPermissions, canChangeValues bool) error
Validate permissions are validly formed. Disallows leading zeroes.
func ValidateRangesAreValid ¶
func ValidateRangesAreValid(badgeUintRanges []*UintRange, allowAllUints bool, errorOnEmpty bool) error
Validates ranges are valid. If end.IsZero(), we assume end == start.
func ValidateStandardsTimeline ¶
func ValidateStandardsTimeline(timeline []*StandardsTimeline) error
func ValidateTimedUpdatePermission ¶
func ValidateTimedUpdatePermission(permissions []*TimedUpdatePermission, canChangeValues bool) error
func ValidateTimedUpdateWithBadgeIdsPermission ¶
func ValidateTimedUpdateWithBadgeIdsPermission(permissions []*TimedUpdateWithBadgeIdsPermission, canChangeValues bool) error
func ValidateTransfer ¶
func ValidateURI ¶
Validate uri and subasset uri returns whether both the uri and subasset uri is valid. Max 100 characters each.
func ValidateUniversalPermissionUpdate ¶
func ValidateUniversalPermissionUpdate(oldPermissions []*UniversalPermissionDetails, newPermissions []*UniversalPermissionDetails) error
IMPORTANT PRECONDITION: Must be first match only
func ValidateUserIncomingApprovalPermissions ¶
func ValidateUserIncomingApprovalPermissions(permissions []*UserIncomingApprovalPermission, canChangeValues bool) error
func ValidateUserIncomingApprovalTimeline ¶
func ValidateUserIncomingApprovalTimeline(timeline []*UserIncomingApprovalTimeline, address string, canChangeValues bool) error
func ValidateUserIncomingApprovals ¶
func ValidateUserIncomingApprovals(userIncomingApprovals []*UserIncomingApproval, toAddress string, canChangeValues bool) error
func ValidateUserOutgoingApprovalPermissions ¶
func ValidateUserOutgoingApprovalPermissions(permissions []*UserOutgoingApprovalPermission, canChangeValues bool) error
func ValidateUserOutgoingApprovalTimeline ¶
func ValidateUserOutgoingApprovalTimeline(timeline []*UserOutgoingApprovalTimeline, address string, canChangeValues bool) error
func ValidateUserOutgoingApprovals ¶
func ValidateUserOutgoingApprovals(userOutgoingApprovals []*UserOutgoingApproval, fromAddress string, canChangeValues bool) error
func ValidateUserPermissions ¶
func ValidateUserPermissions(permissions *UserPermissions, canChangeValues bool) error
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { }
AccountKeeper defines the expected account keeper used for simulations (noalias)
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"` }
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 ¶
func (*ActionPermission) Descriptor() ([]byte, []int)
func (*ActionPermission) GetPermanentlyForbiddenTimes ¶
func (m *ActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*ActionPermission) GetPermanentlyPermittedTimes ¶
func (m *ActionPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*ActionPermission) Marshal ¶
func (m *ActionPermission) Marshal() (dAtA []byte, err error)
func (*ActionPermission) MarshalToSizedBuffer ¶
func (m *ActionPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActionPermission) ProtoMessage ¶
func (*ActionPermission) ProtoMessage()
func (*ActionPermission) Reset ¶
func (m *ActionPermission) Reset()
func (*ActionPermission) Size ¶
func (m *ActionPermission) Size() (n int)
func (*ActionPermission) String ¶
func (m *ActionPermission) String() string
func (*ActionPermission) Unmarshal ¶
func (m *ActionPermission) Unmarshal(dAtA []byte) error
func (*ActionPermission) XXX_DiscardUnknown ¶
func (m *ActionPermission) XXX_DiscardUnknown()
func (*ActionPermission) XXX_Marshal ¶
func (m *ActionPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionPermission) XXX_Merge ¶
func (m *ActionPermission) XXX_Merge(src proto.Message)
func (*ActionPermission) XXX_Size ¶
func (m *ActionPermission) XXX_Size() int
func (*ActionPermission) XXX_Unmarshal ¶
func (m *ActionPermission) XXX_Unmarshal(b []byte) error
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"` // The alias cosmos address for the list. AliasAddress string `protobuf:"bytes,7,opt,name=aliasAddress,proto3" json:"aliasAddress,omitempty"` }
An AddressList is a list of addresses that are referenced by an ID. The list may include only the specified addresses, or it may include all addresses but the specified addresses (depending on if whitelist is true (whitelist) or false (blacklist)).
AddressLists are used for defining approvals, as well as being a simplified badge interface.
func GetListWithOptions ¶
func GetListWithOptions(list *AddressList, uses bool) *AddressList
func (*AddressList) Descriptor ¶
func (*AddressList) Descriptor() ([]byte, []int)
func (*AddressList) GetAddresses ¶
func (m *AddressList) GetAddresses() []string
func (*AddressList) GetAliasAddress ¶
func (m *AddressList) GetAliasAddress() string
func (*AddressList) GetCreatedBy ¶
func (m *AddressList) GetCreatedBy() string
func (*AddressList) GetCustomData ¶
func (m *AddressList) GetCustomData() string
func (*AddressList) GetListId ¶
func (m *AddressList) GetListId() string
func (*AddressList) GetUri ¶
func (m *AddressList) GetUri() string
func (*AddressList) GetWhitelist ¶
func (m *AddressList) GetWhitelist() bool
func (*AddressList) Marshal ¶
func (m *AddressList) Marshal() (dAtA []byte, err error)
func (*AddressList) MarshalToSizedBuffer ¶
func (m *AddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddressList) ProtoMessage ¶
func (*AddressList) ProtoMessage()
func (*AddressList) Reset ¶
func (m *AddressList) Reset()
func (*AddressList) Size ¶
func (m *AddressList) Size() (n int)
func (*AddressList) String ¶
func (m *AddressList) String() string
func (*AddressList) Unmarshal ¶
func (m *AddressList) Unmarshal(dAtA []byte) error
func (*AddressList) XXX_DiscardUnknown ¶
func (m *AddressList) XXX_DiscardUnknown()
func (*AddressList) XXX_Marshal ¶
func (m *AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressList) XXX_Merge ¶
func (m *AddressList) XXX_Merge(src proto.Message)
func (*AddressList) XXX_Size ¶
func (m *AddressList) XXX_Size() int
func (*AddressList) XXX_Unmarshal ¶
func (m *AddressList) XXX_Unmarshal(b []byte) error
type ApprovalAmounts ¶
type ApprovalAmounts struct { // Overall approval amount. OverallApprovalAmount Uint `protobuf:"bytes,1,opt,name=overallApprovalAmount,proto3,customtype=Uint" json:"overallApprovalAmount"` // Approval amount per "to" address. PerToAddressApprovalAmount Uint `protobuf:"bytes,2,opt,name=perToAddressApprovalAmount,proto3,customtype=Uint" json:"perToAddressApprovalAmount"` // Approval amount per "from" address. PerFromAddressApprovalAmount Uint `protobuf:"bytes,3,opt,name=perFromAddressApprovalAmount,proto3,customtype=Uint" json:"perFromAddressApprovalAmount"` // Approval amount per "initiated by" address. PerInitiatedByAddressApprovalAmount Uint `` /* 129-byte string literal not displayed */ }
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 ¶
func (*ApprovalAmounts) Descriptor() ([]byte, []int)
func (*ApprovalAmounts) Marshal ¶
func (m *ApprovalAmounts) Marshal() (dAtA []byte, err error)
func (*ApprovalAmounts) MarshalToSizedBuffer ¶
func (m *ApprovalAmounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApprovalAmounts) ProtoMessage ¶
func (*ApprovalAmounts) ProtoMessage()
func (*ApprovalAmounts) Reset ¶
func (m *ApprovalAmounts) Reset()
func (*ApprovalAmounts) Size ¶
func (m *ApprovalAmounts) Size() (n int)
func (*ApprovalAmounts) String ¶
func (m *ApprovalAmounts) String() string
func (*ApprovalAmounts) Unmarshal ¶
func (m *ApprovalAmounts) Unmarshal(dAtA []byte) error
func (*ApprovalAmounts) XXX_DiscardUnknown ¶
func (m *ApprovalAmounts) XXX_DiscardUnknown()
func (*ApprovalAmounts) XXX_Marshal ¶
func (m *ApprovalAmounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovalAmounts) XXX_Merge ¶
func (m *ApprovalAmounts) XXX_Merge(src proto.Message)
func (*ApprovalAmounts) XXX_Size ¶
func (m *ApprovalAmounts) XXX_Size() int
func (*ApprovalAmounts) XXX_Unmarshal ¶
func (m *ApprovalAmounts) XXX_Unmarshal(b []byte) error
type ApprovalCriteria ¶
type ApprovalCriteria struct { // List of badges that the user must own for approval. MustOwnBadges []*MustOwnBadges `protobuf:"bytes,1,rep,name=mustOwnBadges,proto3" json:"mustOwnBadges,omitempty"` // Merkle challenge that must be satisfied for approval. MerkleChallenge *MerkleChallenge `protobuf:"bytes,2,opt,name=merkleChallenge,proto3" json:"merkleChallenge,omitempty"` // Predetermined balances for eeach approval. PredeterminedBalances *PredeterminedBalances `protobuf:"bytes,3,opt,name=predeterminedBalances,proto3" json:"predeterminedBalances,omitempty"` // Threshold limit of amounts that can be transferred using this approval. ApprovalAmounts *ApprovalAmounts `protobuf:"bytes,4,opt,name=approvalAmounts,proto3" json:"approvalAmounts,omitempty"` // Maximum number of transfers that can be processed using this approval. MaxNumTransfers *MaxNumTransfers `protobuf:"bytes,5,opt,name=maxNumTransfers,proto3" json:"maxNumTransfers,omitempty"` // Require the "to" address to be equal to the "initiated by" address for approval. RequireToEqualsInitiatedBy bool `protobuf:"varint,9,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,10,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,11,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,12,opt,name=requireFromDoesNotEqualInitiatedBy,proto3" json:"requireFromDoesNotEqualInitiatedBy,omitempty"` // Overrides the user's outgoing approvals for approval. OverridesFromOutgoingApprovals bool `protobuf:"varint,13,opt,name=overridesFromOutgoingApprovals,proto3" json:"overridesFromOutgoingApprovals,omitempty"` // Overrides the user's incoming approvals for approval. OverridesToIncomingApprovals bool `protobuf:"varint,14,opt,name=overridesToIncomingApprovals,proto3" json:"overridesToIncomingApprovals,omitempty"` }
ApprovalCriteria defines the criteria for approving transfers.
func CastIncomingApprovalCriteriaToCollectionApprovalCriteria ¶
func CastIncomingApprovalCriteriaToCollectionApprovalCriteria(approvalCriteria *IncomingApprovalCriteria) *ApprovalCriteria
func CastOutgoingApprovalCriteriaToCollectionApprovalCriteria ¶
func CastOutgoingApprovalCriteriaToCollectionApprovalCriteria(approvalCriteria *OutgoingApprovalCriteria) *ApprovalCriteria
func (*ApprovalCriteria) Descriptor ¶
func (*ApprovalCriteria) Descriptor() ([]byte, []int)
func (*ApprovalCriteria) GetApprovalAmounts ¶
func (m *ApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
func (*ApprovalCriteria) GetMaxNumTransfers ¶
func (m *ApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
func (*ApprovalCriteria) GetMerkleChallenge ¶
func (m *ApprovalCriteria) GetMerkleChallenge() *MerkleChallenge
func (*ApprovalCriteria) GetMustOwnBadges ¶
func (m *ApprovalCriteria) GetMustOwnBadges() []*MustOwnBadges
func (*ApprovalCriteria) GetOverridesFromOutgoingApprovals ¶
func (m *ApprovalCriteria) GetOverridesFromOutgoingApprovals() bool
func (*ApprovalCriteria) GetOverridesToIncomingApprovals ¶
func (m *ApprovalCriteria) GetOverridesToIncomingApprovals() bool
func (*ApprovalCriteria) GetPredeterminedBalances ¶
func (m *ApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
func (*ApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy ¶
func (m *ApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
func (*ApprovalCriteria) GetRequireFromEqualsInitiatedBy ¶
func (m *ApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
func (*ApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy ¶
func (m *ApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
func (*ApprovalCriteria) GetRequireToEqualsInitiatedBy ¶
func (m *ApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
func (*ApprovalCriteria) Marshal ¶
func (m *ApprovalCriteria) Marshal() (dAtA []byte, err error)
func (*ApprovalCriteria) MarshalToSizedBuffer ¶
func (m *ApprovalCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApprovalCriteria) ProtoMessage ¶
func (*ApprovalCriteria) ProtoMessage()
func (*ApprovalCriteria) Reset ¶
func (m *ApprovalCriteria) Reset()
func (*ApprovalCriteria) Size ¶
func (m *ApprovalCriteria) Size() (n int)
func (*ApprovalCriteria) String ¶
func (m *ApprovalCriteria) String() string
func (*ApprovalCriteria) Unmarshal ¶
func (m *ApprovalCriteria) Unmarshal(dAtA []byte) error
func (*ApprovalCriteria) XXX_DiscardUnknown ¶
func (m *ApprovalCriteria) XXX_DiscardUnknown()
func (*ApprovalCriteria) XXX_Marshal ¶
func (m *ApprovalCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovalCriteria) XXX_Merge ¶
func (m *ApprovalCriteria) XXX_Merge(src proto.Message)
func (*ApprovalCriteria) XXX_Size ¶
func (m *ApprovalCriteria) XXX_Size() int
func (*ApprovalCriteria) XXX_Unmarshal ¶
func (m *ApprovalCriteria) XXX_Unmarshal(b []byte) error
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"` }
ApprovalIdentifierDetails defines the details to identify a specific approval.
func (*ApprovalIdentifierDetails) Descriptor ¶
func (*ApprovalIdentifierDetails) Descriptor() ([]byte, []int)
func (*ApprovalIdentifierDetails) GetApprovalId ¶
func (m *ApprovalIdentifierDetails) GetApprovalId() string
func (*ApprovalIdentifierDetails) GetApprovalLevel ¶
func (m *ApprovalIdentifierDetails) GetApprovalLevel() string
func (*ApprovalIdentifierDetails) GetApproverAddress ¶
func (m *ApprovalIdentifierDetails) GetApproverAddress() string
func (*ApprovalIdentifierDetails) Marshal ¶
func (m *ApprovalIdentifierDetails) Marshal() (dAtA []byte, err error)
func (*ApprovalIdentifierDetails) MarshalTo ¶
func (m *ApprovalIdentifierDetails) MarshalTo(dAtA []byte) (int, error)
func (*ApprovalIdentifierDetails) MarshalToSizedBuffer ¶
func (m *ApprovalIdentifierDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApprovalIdentifierDetails) ProtoMessage ¶
func (*ApprovalIdentifierDetails) ProtoMessage()
func (*ApprovalIdentifierDetails) Reset ¶
func (m *ApprovalIdentifierDetails) Reset()
func (*ApprovalIdentifierDetails) Size ¶
func (m *ApprovalIdentifierDetails) Size() (n int)
func (*ApprovalIdentifierDetails) String ¶
func (m *ApprovalIdentifierDetails) String() string
func (*ApprovalIdentifierDetails) Unmarshal ¶
func (m *ApprovalIdentifierDetails) Unmarshal(dAtA []byte) error
func (*ApprovalIdentifierDetails) XXX_DiscardUnknown ¶
func (m *ApprovalIdentifierDetails) XXX_DiscardUnknown()
func (*ApprovalIdentifierDetails) XXX_Marshal ¶
func (m *ApprovalIdentifierDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovalIdentifierDetails) XXX_Merge ¶
func (m *ApprovalIdentifierDetails) XXX_Merge(src proto.Message)
func (*ApprovalIdentifierDetails) XXX_Size ¶
func (m *ApprovalIdentifierDetails) XXX_Size() int
func (*ApprovalIdentifierDetails) XXX_Unmarshal ¶
func (m *ApprovalIdentifierDetails) XXX_Unmarshal(b []byte) error
type ApprovalTracker ¶
type ApprovalTracker struct { // The number of transfers that have been processed. NumTransfers Uint `protobuf:"bytes,1,opt,name=numTransfers,proto3,customtype=Uint" json:"numTransfers"` // Cumulative balances associated with the transfers that have been processed. Amounts []*Balance `protobuf:"bytes,2,rep,name=amounts,proto3" json:"amounts,omitempty"` }
ApprovalTracker defines the tracker for approvals. This tracks the cumulative number of transfers and associated balances transferred.
func (*ApprovalTracker) Descriptor ¶
func (*ApprovalTracker) Descriptor() ([]byte, []int)
func (*ApprovalTracker) GetAmounts ¶
func (m *ApprovalTracker) GetAmounts() []*Balance
func (*ApprovalTracker) Marshal ¶
func (m *ApprovalTracker) Marshal() (dAtA []byte, err error)
func (*ApprovalTracker) MarshalToSizedBuffer ¶
func (m *ApprovalTracker) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApprovalTracker) ProtoMessage ¶
func (*ApprovalTracker) ProtoMessage()
func (*ApprovalTracker) Reset ¶
func (m *ApprovalTracker) Reset()
func (*ApprovalTracker) Size ¶
func (m *ApprovalTracker) Size() (n int)
func (*ApprovalTracker) String ¶
func (m *ApprovalTracker) String() string
func (*ApprovalTracker) Unmarshal ¶
func (m *ApprovalTracker) Unmarshal(dAtA []byte) error
func (*ApprovalTracker) XXX_DiscardUnknown ¶
func (m *ApprovalTracker) XXX_DiscardUnknown()
func (*ApprovalTracker) XXX_Marshal ¶
func (m *ApprovalTracker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovalTracker) XXX_Merge ¶
func (m *ApprovalTracker) XXX_Merge(src proto.Message)
func (*ApprovalTracker) XXX_Size ¶
func (m *ApprovalTracker) XXX_Size() int
func (*ApprovalTracker) XXX_Unmarshal ¶
func (m *ApprovalTracker) XXX_Unmarshal(b []byte) error
type BadgeCollection ¶
type BadgeCollection struct { // The unique identifier for this collection. This is assigned by the blockchain. First collection has ID 1. CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` // 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 "Inherited"). 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 generated address of the badge collection. AliasAddress string `protobuf:"bytes,15,opt,name=aliasAddress,proto3" json:"aliasAddress,omitempty"` }
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.
See documentation for more details.
func (*BadgeCollection) Descriptor ¶
func (*BadgeCollection) Descriptor() ([]byte, []int)
func (*BadgeCollection) GetAliasAddress ¶
func (m *BadgeCollection) GetAliasAddress() string
func (*BadgeCollection) GetBadgeMetadataTimeline ¶
func (m *BadgeCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*BadgeCollection) GetBalancesType ¶
func (m *BadgeCollection) GetBalancesType() string
func (*BadgeCollection) GetCollectionApprovals ¶
func (m *BadgeCollection) GetCollectionApprovals() []*CollectionApproval
func (*BadgeCollection) GetCollectionMetadataTimeline ¶
func (m *BadgeCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*BadgeCollection) GetCollectionPermissions ¶
func (m *BadgeCollection) GetCollectionPermissions() *CollectionPermissions
func (*BadgeCollection) GetCreatedBy ¶
func (m *BadgeCollection) GetCreatedBy() string
func (*BadgeCollection) GetCustomDataTimeline ¶
func (m *BadgeCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*BadgeCollection) GetDefaultBalances ¶
func (m *BadgeCollection) GetDefaultBalances() *UserBalanceStore
func (*BadgeCollection) GetIsArchivedTimeline ¶
func (m *BadgeCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*BadgeCollection) GetManagerTimeline ¶
func (m *BadgeCollection) GetManagerTimeline() []*ManagerTimeline
func (*BadgeCollection) GetOffChainBalancesMetadataTimeline ¶
func (m *BadgeCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*BadgeCollection) GetStandardsTimeline ¶
func (m *BadgeCollection) GetStandardsTimeline() []*StandardsTimeline
func (*BadgeCollection) Marshal ¶
func (m *BadgeCollection) Marshal() (dAtA []byte, err error)
func (*BadgeCollection) MarshalToSizedBuffer ¶
func (m *BadgeCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadgeCollection) ProtoMessage ¶
func (*BadgeCollection) ProtoMessage()
func (*BadgeCollection) Reset ¶
func (m *BadgeCollection) Reset()
func (*BadgeCollection) Size ¶
func (m *BadgeCollection) Size() (n int)
func (*BadgeCollection) String ¶
func (m *BadgeCollection) String() string
func (*BadgeCollection) Unmarshal ¶
func (m *BadgeCollection) Unmarshal(dAtA []byte) error
func (*BadgeCollection) XXX_DiscardUnknown ¶
func (m *BadgeCollection) XXX_DiscardUnknown()
func (*BadgeCollection) XXX_Marshal ¶
func (m *BadgeCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BadgeCollection) XXX_Merge ¶
func (m *BadgeCollection) XXX_Merge(src proto.Message)
func (*BadgeCollection) XXX_Size ¶
func (m *BadgeCollection) XXX_Size() int
func (*BadgeCollection) XXX_Unmarshal ¶
func (m *BadgeCollection) XXX_Unmarshal(b []byte) error
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"` }
Used for WASM bindings and JSON parsing
func (*BadgeCustomMsgType) Descriptor ¶
func (*BadgeCustomMsgType) Descriptor() ([]byte, []int)
func (*BadgeCustomMsgType) GetCreateAddressListsMsg ¶
func (m *BadgeCustomMsgType) GetCreateAddressListsMsg() *MsgCreateAddressLists
func (*BadgeCustomMsgType) GetCreateCollectionMsg ¶
func (m *BadgeCustomMsgType) GetCreateCollectionMsg() *MsgCreateCollection
func (*BadgeCustomMsgType) GetDeleteCollectionMsg ¶
func (m *BadgeCustomMsgType) GetDeleteCollectionMsg() *MsgDeleteCollection
func (*BadgeCustomMsgType) GetTransferBadgesMsg ¶
func (m *BadgeCustomMsgType) GetTransferBadgesMsg() *MsgTransferBadges
func (*BadgeCustomMsgType) GetUniversalUpdateCollectionMsg ¶
func (m *BadgeCustomMsgType) GetUniversalUpdateCollectionMsg() *MsgUniversalUpdateCollection
func (*BadgeCustomMsgType) GetUpdateCollectionMsg ¶
func (m *BadgeCustomMsgType) GetUpdateCollectionMsg() *MsgUpdateCollection
func (*BadgeCustomMsgType) GetUpdateUserApprovalsMsg ¶
func (m *BadgeCustomMsgType) GetUpdateUserApprovalsMsg() *MsgUpdateUserApprovals
func (*BadgeCustomMsgType) Marshal ¶
func (m *BadgeCustomMsgType) Marshal() (dAtA []byte, err error)
func (*BadgeCustomMsgType) MarshalTo ¶
func (m *BadgeCustomMsgType) MarshalTo(dAtA []byte) (int, error)
func (*BadgeCustomMsgType) MarshalToSizedBuffer ¶
func (m *BadgeCustomMsgType) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadgeCustomMsgType) ProtoMessage ¶
func (*BadgeCustomMsgType) ProtoMessage()
func (*BadgeCustomMsgType) Reset ¶
func (m *BadgeCustomMsgType) Reset()
func (*BadgeCustomMsgType) Size ¶
func (m *BadgeCustomMsgType) Size() (n int)
func (*BadgeCustomMsgType) String ¶
func (m *BadgeCustomMsgType) String() string
func (*BadgeCustomMsgType) Unmarshal ¶
func (m *BadgeCustomMsgType) Unmarshal(dAtA []byte) error
func (*BadgeCustomMsgType) XXX_DiscardUnknown ¶
func (m *BadgeCustomMsgType) XXX_DiscardUnknown()
func (*BadgeCustomMsgType) XXX_Marshal ¶
func (m *BadgeCustomMsgType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BadgeCustomMsgType) XXX_Merge ¶
func (m *BadgeCustomMsgType) XXX_Merge(src proto.Message)
func (*BadgeCustomMsgType) XXX_Size ¶
func (m *BadgeCustomMsgType) XXX_Size() int
func (*BadgeCustomMsgType) XXX_Unmarshal ¶
func (m *BadgeCustomMsgType) XXX_Unmarshal(b []byte) error
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"` }
This message defines the metadata for specific badge IDs. The interpretation of this metadata should follow the collection standard.
func (*BadgeMetadata) Descriptor ¶
func (*BadgeMetadata) Descriptor() ([]byte, []int)
func (*BadgeMetadata) GetBadgeIds ¶
func (m *BadgeMetadata) GetBadgeIds() []*UintRange
func (*BadgeMetadata) GetCustomData ¶
func (m *BadgeMetadata) GetCustomData() string
func (*BadgeMetadata) GetUri ¶
func (m *BadgeMetadata) GetUri() string
func (*BadgeMetadata) Marshal ¶
func (m *BadgeMetadata) Marshal() (dAtA []byte, err error)
func (*BadgeMetadata) MarshalToSizedBuffer ¶
func (m *BadgeMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadgeMetadata) ProtoMessage ¶
func (*BadgeMetadata) ProtoMessage()
func (*BadgeMetadata) Reset ¶
func (m *BadgeMetadata) Reset()
func (*BadgeMetadata) Size ¶
func (m *BadgeMetadata) Size() (n int)
func (*BadgeMetadata) String ¶
func (m *BadgeMetadata) String() string
func (*BadgeMetadata) Unmarshal ¶
func (m *BadgeMetadata) Unmarshal(dAtA []byte) error
func (*BadgeMetadata) XXX_DiscardUnknown ¶
func (m *BadgeMetadata) XXX_DiscardUnknown()
func (*BadgeMetadata) XXX_Marshal ¶
func (m *BadgeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BadgeMetadata) XXX_Merge ¶
func (m *BadgeMetadata) XXX_Merge(src proto.Message)
func (*BadgeMetadata) XXX_Size ¶
func (m *BadgeMetadata) XXX_Size() int
func (*BadgeMetadata) XXX_Unmarshal ¶
func (m *BadgeMetadata) XXX_Unmarshal(b []byte) error
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"` }
BadgeMetadataTimeline defines the metadata for badges at different timeline times.
func (*BadgeMetadataTimeline) Descriptor ¶
func (*BadgeMetadataTimeline) Descriptor() ([]byte, []int)
func (*BadgeMetadataTimeline) GetBadgeMetadata ¶
func (m *BadgeMetadataTimeline) GetBadgeMetadata() []*BadgeMetadata
func (*BadgeMetadataTimeline) GetTimelineTimes ¶
func (m *BadgeMetadataTimeline) GetTimelineTimes() []*UintRange
func (*BadgeMetadataTimeline) Marshal ¶
func (m *BadgeMetadataTimeline) Marshal() (dAtA []byte, err error)
func (*BadgeMetadataTimeline) MarshalTo ¶
func (m *BadgeMetadataTimeline) MarshalTo(dAtA []byte) (int, error)
func (*BadgeMetadataTimeline) MarshalToSizedBuffer ¶
func (m *BadgeMetadataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadgeMetadataTimeline) ProtoMessage ¶
func (*BadgeMetadataTimeline) ProtoMessage()
func (*BadgeMetadataTimeline) Reset ¶
func (m *BadgeMetadataTimeline) Reset()
func (*BadgeMetadataTimeline) Size ¶
func (m *BadgeMetadataTimeline) Size() (n int)
func (*BadgeMetadataTimeline) String ¶
func (m *BadgeMetadataTimeline) String() string
func (*BadgeMetadataTimeline) Unmarshal ¶
func (m *BadgeMetadataTimeline) Unmarshal(dAtA []byte) error
func (*BadgeMetadataTimeline) XXX_DiscardUnknown ¶
func (m *BadgeMetadataTimeline) XXX_DiscardUnknown()
func (*BadgeMetadataTimeline) XXX_Marshal ¶
func (m *BadgeMetadataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BadgeMetadataTimeline) XXX_Merge ¶
func (m *BadgeMetadataTimeline) XXX_Merge(src proto.Message)
func (*BadgeMetadataTimeline) XXX_Size ¶
func (m *BadgeMetadataTimeline) XXX_Size() int
func (*BadgeMetadataTimeline) XXX_Unmarshal ¶
func (m *BadgeMetadataTimeline) XXX_Unmarshal(b []byte) error
type BadgesPacketData ¶
type BadgesPacketData struct { // Types that are valid to be assigned to Packet: // *BadgesPacketData_NoData Packet isBadgesPacketData_Packet `protobuf_oneof:"packet"` }
func (*BadgesPacketData) Descriptor ¶
func (*BadgesPacketData) Descriptor() ([]byte, []int)
func (*BadgesPacketData) GetNoData ¶
func (m *BadgesPacketData) GetNoData() *NoData
func (*BadgesPacketData) GetPacket ¶
func (m *BadgesPacketData) GetPacket() isBadgesPacketData_Packet
func (*BadgesPacketData) Marshal ¶
func (m *BadgesPacketData) Marshal() (dAtA []byte, err error)
func (*BadgesPacketData) MarshalToSizedBuffer ¶
func (m *BadgesPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadgesPacketData) ProtoMessage ¶
func (*BadgesPacketData) ProtoMessage()
func (*BadgesPacketData) Reset ¶
func (m *BadgesPacketData) Reset()
func (*BadgesPacketData) Size ¶
func (m *BadgesPacketData) Size() (n int)
func (*BadgesPacketData) String ¶
func (m *BadgesPacketData) String() string
func (*BadgesPacketData) Unmarshal ¶
func (m *BadgesPacketData) Unmarshal(dAtA []byte) error
func (*BadgesPacketData) XXX_DiscardUnknown ¶
func (m *BadgesPacketData) XXX_DiscardUnknown()
func (*BadgesPacketData) XXX_Marshal ¶
func (m *BadgesPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BadgesPacketData) XXX_Merge ¶
func (m *BadgesPacketData) XXX_Merge(src proto.Message)
func (*BadgesPacketData) XXX_OneofWrappers ¶
func (*BadgesPacketData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BadgesPacketData) XXX_Size ¶
func (m *BadgesPacketData) XXX_Size() int
func (*BadgesPacketData) XXX_Unmarshal ¶
func (m *BadgesPacketData) XXX_Unmarshal(b []byte) error
type BadgesPacketData_NoData ¶
type BadgesPacketData_NoData struct {
NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}
func (*BadgesPacketData_NoData) MarshalTo ¶
func (m *BadgesPacketData_NoData) MarshalTo(dAtA []byte) (int, error)
func (*BadgesPacketData_NoData) MarshalToSizedBuffer ¶
func (m *BadgesPacketData_NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadgesPacketData_NoData) Size ¶
func (m *BadgesPacketData_NoData) Size() (n int)
type Balance ¶
type Balance struct { // The amount of the badge owned by the user. Amount Uint `protobuf:"bytes,1,opt,name=amount,proto3,customtype=Uint" json:"amount"` // 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"` }
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 AddBalance ¶
Adds a balance to all ids specified in []ranges
func AddBalances ¶
func DeepCopyBalances ¶
func DeleteBalances ¶
func DeleteBalances(rangesToDelete []*UintRange, timesToDelete []*UintRange, balances []*Balance) ([]*Balance, error)
Deletes the balance for a specific id.
func FilterZeroBalances ¶
func GetBalancesForIds ¶
func GetBalancesForIds(idRanges []*UintRange, times []*UintRange, balances []*Balance) (newBalances []*Balance, err error)
Gets the balances for specified ID ranges. Returns a new []*Balance where only the specified ID ranges and their balances are included. Appends balance == 0 objects so all IDs are accounted for, even if not found.
func GetOverlappingBalances ¶
func HandleDuplicateBadgeIds ¶
We handle the following cases: 1) {amount: 1, badgeIds: [1 to 10, 5 to 20]} -> {amount: 1, badgeIds: [1 to 4, 11 to 20]}, {amount: 2: badgeIds: [5 to 10]} 2) {amount: 1, badgeIds: [5 to 10]}, {amount: 2: badgeIds: [5 to 10]} -> {amount: 3: badgeIds: [5 to 10]}
func SetBalance ¶
Sets the balance for a specific id. Important precondition: assumes balance does not exist.
func SubtractBalance ¶
func SubtractBalance(balances []*Balance, balanceToRemove *Balance, setToZeroOnUnderflow bool) ([]*Balance, error)
Subtracts a balance to all ids specified in []ranges
func SubtractBalances ¶
func UpdateBalance ¶
Updates the balance for a specific ids from what it currently is to newAmount. No add/subtract logic. Just set it.
func ValidateBalances ¶
func (*Balance) Descriptor ¶
func (*Balance) GetBadgeIds ¶
func (*Balance) GetOwnershipTimes ¶
func (*Balance) MarshalToSizedBuffer ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶
func (*Balance) XXX_Unmarshal ¶
type BalancesActionPermission ¶
type BalancesActionPermission struct { // Specifies the badge IDs involved in the transfer. BadgeIds []*UintRange `protobuf:"bytes,1,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"` // Specifies the ownership times for the badges in the transfer. OwnershipTimes []*UintRange `protobuf:"bytes,2,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"` // Specifies the times when this permission is permitted. Can not overlap with permanentlyForbiddenTimes. PermanentlyPermittedTimes []*UintRange `protobuf:"bytes,3,rep,name=permanentlyPermittedTimes,proto3" json:"permanentlyPermittedTimes,omitempty"` // Specifies the times when this permission is forbidden. Can not overlap with permanentlyPermittedTimes. PermanentlyForbiddenTimes []*UintRange `protobuf:"bytes,4,rep,name=permanentlyForbiddenTimes,proto3" json:"permanentlyForbiddenTimes,omitempty"` }
BalancesActionPermission 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 (*BalancesActionPermission) Descriptor ¶
func (*BalancesActionPermission) Descriptor() ([]byte, []int)
func (*BalancesActionPermission) GetBadgeIds ¶
func (m *BalancesActionPermission) GetBadgeIds() []*UintRange
func (*BalancesActionPermission) GetOwnershipTimes ¶
func (m *BalancesActionPermission) GetOwnershipTimes() []*UintRange
func (*BalancesActionPermission) GetPermanentlyForbiddenTimes ¶
func (m *BalancesActionPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*BalancesActionPermission) GetPermanentlyPermittedTimes ¶
func (m *BalancesActionPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*BalancesActionPermission) Marshal ¶
func (m *BalancesActionPermission) Marshal() (dAtA []byte, err error)
func (*BalancesActionPermission) MarshalTo ¶
func (m *BalancesActionPermission) MarshalTo(dAtA []byte) (int, error)
func (*BalancesActionPermission) MarshalToSizedBuffer ¶
func (m *BalancesActionPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BalancesActionPermission) ProtoMessage ¶
func (*BalancesActionPermission) ProtoMessage()
func (*BalancesActionPermission) Reset ¶
func (m *BalancesActionPermission) Reset()
func (*BalancesActionPermission) Size ¶
func (m *BalancesActionPermission) Size() (n int)
func (*BalancesActionPermission) String ¶
func (m *BalancesActionPermission) String() string
func (*BalancesActionPermission) Unmarshal ¶
func (m *BalancesActionPermission) Unmarshal(dAtA []byte) error
func (*BalancesActionPermission) XXX_DiscardUnknown ¶
func (m *BalancesActionPermission) XXX_DiscardUnknown()
func (*BalancesActionPermission) XXX_Marshal ¶
func (m *BalancesActionPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BalancesActionPermission) XXX_Merge ¶
func (m *BalancesActionPermission) XXX_Merge(src proto.Message)
func (*BalancesActionPermission) XXX_Size ¶
func (m *BalancesActionPermission) XXX_Size() int
func (*BalancesActionPermission) XXX_Unmarshal ¶
func (m *BalancesActionPermission) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { }
BankKeeper defines the expected interface needed to retrieve account balances.
type ChannelKeeper ¶
type ChannelKeeper interface { GetChannel(ctx sdk.Context, portID, channelID string) (channeltypes.Channel, bool) GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool) SendPacket( ctx sdk.Context, channelCap *capabilitytypes.Capability, sourcePort string, sourceChannel string, timeoutHeight clienttypes.Height, timeoutTimestamp uint64, data []byte, ) (uint64, error) ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error }
ChannelKeeper defines the expected IBC channel keeper.
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 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,7,opt,name=amountTrackerId,proto3" json:"amountTrackerId,omitempty"` // The ID of the challenge tracker associated with this approval. // We use this ID to track the number of uses per leaf for the Merkle challenge. ChallengeTrackerId string `protobuf:"bytes,8,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,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"` }
CollectionApproval defines the rules for the approval of a transfer on the collection level
func CastIncomingTransferToCollectionTransfer ¶
func CastIncomingTransferToCollectionTransfer(transfer *UserIncomingApproval, toAddress string) *CollectionApproval
func CastIncomingTransfersToCollectionTransfers ¶
func CastIncomingTransfersToCollectionTransfers(transfers []*UserIncomingApproval, toAddress string) []*CollectionApproval
func CastOutgoingTransferToCollectionTransfer ¶
func CastOutgoingTransferToCollectionTransfer(transfer *UserOutgoingApproval, fromAddress string) *CollectionApproval
func CastOutgoingTransfersToCollectionTransfers ¶
func CastOutgoingTransfersToCollectionTransfers(transfers []*UserOutgoingApproval, fromAddress string) []*CollectionApproval
func (*CollectionApproval) Descriptor ¶
func (*CollectionApproval) Descriptor() ([]byte, []int)
func (*CollectionApproval) GetAmountTrackerId ¶
func (m *CollectionApproval) GetAmountTrackerId() string
func (*CollectionApproval) GetApprovalCriteria ¶
func (m *CollectionApproval) GetApprovalCriteria() *ApprovalCriteria
func (*CollectionApproval) GetApprovalId ¶
func (m *CollectionApproval) GetApprovalId() string
func (*CollectionApproval) GetBadgeIds ¶
func (m *CollectionApproval) GetBadgeIds() []*UintRange
func (*CollectionApproval) GetChallengeTrackerId ¶
func (m *CollectionApproval) GetChallengeTrackerId() string
func (*CollectionApproval) GetCustomData ¶
func (m *CollectionApproval) GetCustomData() string
func (*CollectionApproval) GetFromListId ¶
func (m *CollectionApproval) GetFromListId() string
func (*CollectionApproval) GetInitiatedByListId ¶
func (m *CollectionApproval) GetInitiatedByListId() string
func (*CollectionApproval) GetOwnershipTimes ¶
func (m *CollectionApproval) GetOwnershipTimes() []*UintRange
func (*CollectionApproval) GetToListId ¶
func (m *CollectionApproval) GetToListId() string
func (*CollectionApproval) GetTransferTimes ¶
func (m *CollectionApproval) GetTransferTimes() []*UintRange
func (*CollectionApproval) GetUri ¶
func (m *CollectionApproval) GetUri() string
func (*CollectionApproval) Marshal ¶
func (m *CollectionApproval) Marshal() (dAtA []byte, err error)
func (*CollectionApproval) MarshalTo ¶
func (m *CollectionApproval) MarshalTo(dAtA []byte) (int, error)
func (*CollectionApproval) MarshalToSizedBuffer ¶
func (m *CollectionApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectionApproval) ProtoMessage ¶
func (*CollectionApproval) ProtoMessage()
func (*CollectionApproval) Reset ¶
func (m *CollectionApproval) Reset()
func (*CollectionApproval) Size ¶
func (m *CollectionApproval) Size() (n int)
func (*CollectionApproval) String ¶
func (m *CollectionApproval) String() string
func (*CollectionApproval) Unmarshal ¶
func (m *CollectionApproval) Unmarshal(dAtA []byte) error
func (*CollectionApproval) XXX_DiscardUnknown ¶
func (m *CollectionApproval) XXX_DiscardUnknown()
func (*CollectionApproval) XXX_Marshal ¶
func (m *CollectionApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionApproval) XXX_Merge ¶
func (m *CollectionApproval) XXX_Merge(src proto.Message)
func (*CollectionApproval) XXX_Size ¶
func (m *CollectionApproval) XXX_Size() int
func (*CollectionApproval) XXX_Unmarshal ¶
func (m *CollectionApproval) XXX_Unmarshal(b []byte) error
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 amountTrackerId. You can use "All" or "!trackerId" for shorthand. // If you use "All", this approval will match to all amountTrackerIds. // If you use "!trackerId", this approval will match to all amountTrackerIds except for trackerId. // If you use "trackerId", this approval will match to only the specified trackerId and fail on all others. AmountTrackerId string `protobuf:"bytes,7,opt,name=amountTrackerId,proto3" json:"amountTrackerId,omitempty"` // Identifier for the challengeTrackerId. You can use "All" or "!trackerId" for shorthand. // If you use "All", this approval will match to all challengeTrackerIds. // If you use "!trackerId", this approval will match to all challengeTrackerIds except for trackerId. // If you use "trackerId", this approval will match to only the specified trackerId and fail on all others. ChallengeTrackerId string `protobuf:"bytes,8,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,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"` }
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 ¶
func (*CollectionApprovalPermission) Descriptor() ([]byte, []int)
func (*CollectionApprovalPermission) GetAmountTrackerId ¶
func (m *CollectionApprovalPermission) GetAmountTrackerId() string
func (*CollectionApprovalPermission) GetApprovalId ¶
func (m *CollectionApprovalPermission) GetApprovalId() string
func (*CollectionApprovalPermission) GetBadgeIds ¶
func (m *CollectionApprovalPermission) GetBadgeIds() []*UintRange
func (*CollectionApprovalPermission) GetChallengeTrackerId ¶
func (m *CollectionApprovalPermission) GetChallengeTrackerId() string
func (*CollectionApprovalPermission) GetFromListId ¶
func (m *CollectionApprovalPermission) GetFromListId() string
func (*CollectionApprovalPermission) GetInitiatedByListId ¶
func (m *CollectionApprovalPermission) GetInitiatedByListId() string
func (*CollectionApprovalPermission) GetOwnershipTimes ¶
func (m *CollectionApprovalPermission) GetOwnershipTimes() []*UintRange
func (*CollectionApprovalPermission) GetPermanentlyForbiddenTimes ¶
func (m *CollectionApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*CollectionApprovalPermission) GetPermanentlyPermittedTimes ¶
func (m *CollectionApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*CollectionApprovalPermission) GetToListId ¶
func (m *CollectionApprovalPermission) GetToListId() string
func (*CollectionApprovalPermission) GetTransferTimes ¶
func (m *CollectionApprovalPermission) GetTransferTimes() []*UintRange
func (*CollectionApprovalPermission) Marshal ¶
func (m *CollectionApprovalPermission) Marshal() (dAtA []byte, err error)
func (*CollectionApprovalPermission) MarshalTo ¶
func (m *CollectionApprovalPermission) MarshalTo(dAtA []byte) (int, error)
func (*CollectionApprovalPermission) MarshalToSizedBuffer ¶
func (m *CollectionApprovalPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectionApprovalPermission) ProtoMessage ¶
func (*CollectionApprovalPermission) ProtoMessage()
func (*CollectionApprovalPermission) Reset ¶
func (m *CollectionApprovalPermission) Reset()
func (*CollectionApprovalPermission) Size ¶
func (m *CollectionApprovalPermission) Size() (n int)
func (*CollectionApprovalPermission) String ¶
func (m *CollectionApprovalPermission) String() string
func (*CollectionApprovalPermission) Unmarshal ¶
func (m *CollectionApprovalPermission) Unmarshal(dAtA []byte) error
func (*CollectionApprovalPermission) XXX_DiscardUnknown ¶
func (m *CollectionApprovalPermission) XXX_DiscardUnknown()
func (*CollectionApprovalPermission) XXX_Marshal ¶
func (m *CollectionApprovalPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionApprovalPermission) XXX_Merge ¶
func (m *CollectionApprovalPermission) XXX_Merge(src proto.Message)
func (*CollectionApprovalPermission) XXX_Size ¶
func (m *CollectionApprovalPermission) XXX_Size() int
func (*CollectionApprovalPermission) XXX_Unmarshal ¶
func (m *CollectionApprovalPermission) XXX_Unmarshal(b []byte) error
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"` }
func (*CollectionApprovalTimeline) Descriptor ¶
func (*CollectionApprovalTimeline) Descriptor() ([]byte, []int)
func (*CollectionApprovalTimeline) GetCollectionApprovals ¶
func (m *CollectionApprovalTimeline) GetCollectionApprovals() []*CollectionApproval
func (*CollectionApprovalTimeline) GetTimelineTimes ¶
func (m *CollectionApprovalTimeline) GetTimelineTimes() []*UintRange
func (*CollectionApprovalTimeline) Marshal ¶
func (m *CollectionApprovalTimeline) Marshal() (dAtA []byte, err error)
func (*CollectionApprovalTimeline) MarshalTo ¶
func (m *CollectionApprovalTimeline) MarshalTo(dAtA []byte) (int, error)
func (*CollectionApprovalTimeline) MarshalToSizedBuffer ¶
func (m *CollectionApprovalTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectionApprovalTimeline) ProtoMessage ¶
func (*CollectionApprovalTimeline) ProtoMessage()
func (*CollectionApprovalTimeline) Reset ¶
func (m *CollectionApprovalTimeline) Reset()
func (*CollectionApprovalTimeline) Size ¶
func (m *CollectionApprovalTimeline) Size() (n int)
func (*CollectionApprovalTimeline) String ¶
func (m *CollectionApprovalTimeline) String() string
func (*CollectionApprovalTimeline) Unmarshal ¶
func (m *CollectionApprovalTimeline) Unmarshal(dAtA []byte) error
func (*CollectionApprovalTimeline) XXX_DiscardUnknown ¶
func (m *CollectionApprovalTimeline) XXX_DiscardUnknown()
func (*CollectionApprovalTimeline) XXX_Marshal ¶
func (m *CollectionApprovalTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionApprovalTimeline) XXX_Merge ¶
func (m *CollectionApprovalTimeline) XXX_Merge(src proto.Message)
func (*CollectionApprovalTimeline) XXX_Size ¶
func (m *CollectionApprovalTimeline) XXX_Size() int
func (*CollectionApprovalTimeline) XXX_Unmarshal ¶
func (m *CollectionApprovalTimeline) XXX_Unmarshal(b []byte) error
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"` }
This message defines the metadata for the collection. The interpretation of this metadata should follow the collection standard.
func (*CollectionMetadata) Descriptor ¶
func (*CollectionMetadata) Descriptor() ([]byte, []int)
func (*CollectionMetadata) GetCustomData ¶
func (m *CollectionMetadata) GetCustomData() string
func (*CollectionMetadata) GetUri ¶
func (m *CollectionMetadata) GetUri() string
func (*CollectionMetadata) Marshal ¶
func (m *CollectionMetadata) Marshal() (dAtA []byte, err error)
func (*CollectionMetadata) MarshalTo ¶
func (m *CollectionMetadata) MarshalTo(dAtA []byte) (int, error)
func (*CollectionMetadata) MarshalToSizedBuffer ¶
func (m *CollectionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectionMetadata) ProtoMessage ¶
func (*CollectionMetadata) ProtoMessage()
func (*CollectionMetadata) Reset ¶
func (m *CollectionMetadata) Reset()
func (*CollectionMetadata) Size ¶
func (m *CollectionMetadata) Size() (n int)
func (*CollectionMetadata) String ¶
func (m *CollectionMetadata) String() string
func (*CollectionMetadata) Unmarshal ¶
func (m *CollectionMetadata) Unmarshal(dAtA []byte) error
func (*CollectionMetadata) XXX_DiscardUnknown ¶
func (m *CollectionMetadata) XXX_DiscardUnknown()
func (*CollectionMetadata) XXX_Marshal ¶
func (m *CollectionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionMetadata) XXX_Merge ¶
func (m *CollectionMetadata) XXX_Merge(src proto.Message)
func (*CollectionMetadata) XXX_Size ¶
func (m *CollectionMetadata) XXX_Size() int
func (*CollectionMetadata) XXX_Unmarshal ¶
func (m *CollectionMetadata) XXX_Unmarshal(b []byte) error
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"` }
CollectionMetadataTimeline defines the metadata for a collection at different timeline times.
func (*CollectionMetadataTimeline) Descriptor ¶
func (*CollectionMetadataTimeline) Descriptor() ([]byte, []int)
func (*CollectionMetadataTimeline) GetCollectionMetadata ¶
func (m *CollectionMetadataTimeline) GetCollectionMetadata() *CollectionMetadata
func (*CollectionMetadataTimeline) GetTimelineTimes ¶
func (m *CollectionMetadataTimeline) GetTimelineTimes() []*UintRange
func (*CollectionMetadataTimeline) Marshal ¶
func (m *CollectionMetadataTimeline) Marshal() (dAtA []byte, err error)
func (*CollectionMetadataTimeline) MarshalTo ¶
func (m *CollectionMetadataTimeline) MarshalTo(dAtA []byte) (int, error)
func (*CollectionMetadataTimeline) MarshalToSizedBuffer ¶
func (m *CollectionMetadataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectionMetadataTimeline) ProtoMessage ¶
func (*CollectionMetadataTimeline) ProtoMessage()
func (*CollectionMetadataTimeline) Reset ¶
func (m *CollectionMetadataTimeline) Reset()
func (*CollectionMetadataTimeline) Size ¶
func (m *CollectionMetadataTimeline) Size() (n int)
func (*CollectionMetadataTimeline) String ¶
func (m *CollectionMetadataTimeline) String() string
func (*CollectionMetadataTimeline) Unmarshal ¶
func (m *CollectionMetadataTimeline) Unmarshal(dAtA []byte) error
func (*CollectionMetadataTimeline) XXX_DiscardUnknown ¶
func (m *CollectionMetadataTimeline) XXX_DiscardUnknown()
func (*CollectionMetadataTimeline) XXX_Marshal ¶
func (m *CollectionMetadataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionMetadataTimeline) XXX_Merge ¶
func (m *CollectionMetadataTimeline) XXX_Merge(src proto.Message)
func (*CollectionMetadataTimeline) XXX_Size ¶
func (m *CollectionMetadataTimeline) XXX_Size() int
func (*CollectionMetadataTimeline) XXX_Unmarshal ¶
func (m *CollectionMetadataTimeline) XXX_Unmarshal(b []byte) error
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. CanCreateMoreBadges []*BalancesActionPermission `protobuf:"bytes,8,rep,name=canCreateMoreBadges,proto3" json:"canCreateMoreBadges,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"` }
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, BalancesActionPermission, 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. - BalancesActionPermission: defines when the manager can perform an action for specific badges and specific badge ownership times. - 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 ¶
func (*CollectionPermissions) Descriptor() ([]byte, []int)
func (*CollectionPermissions) GetCanArchiveCollection ¶
func (m *CollectionPermissions) GetCanArchiveCollection() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanCreateMoreBadges ¶
func (m *CollectionPermissions) GetCanCreateMoreBadges() []*BalancesActionPermission
func (*CollectionPermissions) GetCanDeleteCollection ¶
func (m *CollectionPermissions) GetCanDeleteCollection() []*ActionPermission
func (*CollectionPermissions) GetCanUpdateBadgeMetadata ¶
func (m *CollectionPermissions) GetCanUpdateBadgeMetadata() []*TimedUpdateWithBadgeIdsPermission
func (*CollectionPermissions) GetCanUpdateCollectionApprovals ¶
func (m *CollectionPermissions) GetCanUpdateCollectionApprovals() []*CollectionApprovalPermission
func (*CollectionPermissions) GetCanUpdateCollectionMetadata ¶
func (m *CollectionPermissions) GetCanUpdateCollectionMetadata() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateCustomData ¶
func (m *CollectionPermissions) GetCanUpdateCustomData() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateManager ¶
func (m *CollectionPermissions) GetCanUpdateManager() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateOffChainBalancesMetadata ¶
func (m *CollectionPermissions) GetCanUpdateOffChainBalancesMetadata() []*TimedUpdatePermission
func (*CollectionPermissions) GetCanUpdateStandards ¶
func (m *CollectionPermissions) GetCanUpdateStandards() []*TimedUpdatePermission
func (*CollectionPermissions) Marshal ¶
func (m *CollectionPermissions) Marshal() (dAtA []byte, err error)
func (*CollectionPermissions) MarshalTo ¶
func (m *CollectionPermissions) MarshalTo(dAtA []byte) (int, error)
func (*CollectionPermissions) MarshalToSizedBuffer ¶
func (m *CollectionPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollectionPermissions) ProtoMessage ¶
func (*CollectionPermissions) ProtoMessage()
func (*CollectionPermissions) Reset ¶
func (m *CollectionPermissions) Reset()
func (*CollectionPermissions) Size ¶
func (m *CollectionPermissions) Size() (n int)
func (*CollectionPermissions) String ¶
func (m *CollectionPermissions) String() string
func (*CollectionPermissions) Unmarshal ¶
func (m *CollectionPermissions) Unmarshal(dAtA []byte) error
func (*CollectionPermissions) XXX_DiscardUnknown ¶
func (m *CollectionPermissions) XXX_DiscardUnknown()
func (*CollectionPermissions) XXX_Marshal ¶
func (m *CollectionPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionPermissions) XXX_Merge ¶
func (m *CollectionPermissions) XXX_Merge(src proto.Message)
func (*CollectionPermissions) XXX_Size ¶
func (m *CollectionPermissions) XXX_Size() int
func (*CollectionPermissions) XXX_Unmarshal ¶
func (m *CollectionPermissions) XXX_Unmarshal(b []byte) error
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"` }
ContractAddressTimeline defines the contract address at different timeline times.
func (*ContractAddressTimeline) Descriptor ¶
func (*ContractAddressTimeline) Descriptor() ([]byte, []int)
func (*ContractAddressTimeline) GetContractAddress ¶
func (m *ContractAddressTimeline) GetContractAddress() string
func (*ContractAddressTimeline) GetTimelineTimes ¶
func (m *ContractAddressTimeline) GetTimelineTimes() []*UintRange
func (*ContractAddressTimeline) Marshal ¶
func (m *ContractAddressTimeline) Marshal() (dAtA []byte, err error)
func (*ContractAddressTimeline) MarshalTo ¶
func (m *ContractAddressTimeline) MarshalTo(dAtA []byte) (int, error)
func (*ContractAddressTimeline) MarshalToSizedBuffer ¶
func (m *ContractAddressTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractAddressTimeline) ProtoMessage ¶
func (*ContractAddressTimeline) ProtoMessage()
func (*ContractAddressTimeline) Reset ¶
func (m *ContractAddressTimeline) Reset()
func (*ContractAddressTimeline) Size ¶
func (m *ContractAddressTimeline) Size() (n int)
func (*ContractAddressTimeline) String ¶
func (m *ContractAddressTimeline) String() string
func (*ContractAddressTimeline) Unmarshal ¶
func (m *ContractAddressTimeline) Unmarshal(dAtA []byte) error
func (*ContractAddressTimeline) XXX_DiscardUnknown ¶
func (m *ContractAddressTimeline) XXX_DiscardUnknown()
func (*ContractAddressTimeline) XXX_Marshal ¶
func (m *ContractAddressTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractAddressTimeline) XXX_Merge ¶
func (m *ContractAddressTimeline) XXX_Merge(src proto.Message)
func (*ContractAddressTimeline) XXX_Size ¶
func (m *ContractAddressTimeline) XXX_Size() int
func (*ContractAddressTimeline) XXX_Unmarshal ¶
func (m *ContractAddressTimeline) XXX_Unmarshal(b []byte) error
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"` }
CustomDataTimeline defines custom data at different timeline times.
func (*CustomDataTimeline) Descriptor ¶
func (*CustomDataTimeline) Descriptor() ([]byte, []int)
func (*CustomDataTimeline) GetCustomData ¶
func (m *CustomDataTimeline) GetCustomData() string
func (*CustomDataTimeline) GetTimelineTimes ¶
func (m *CustomDataTimeline) GetTimelineTimes() []*UintRange
func (*CustomDataTimeline) Marshal ¶
func (m *CustomDataTimeline) Marshal() (dAtA []byte, err error)
func (*CustomDataTimeline) MarshalTo ¶
func (m *CustomDataTimeline) MarshalTo(dAtA []byte) (int, error)
func (*CustomDataTimeline) MarshalToSizedBuffer ¶
func (m *CustomDataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomDataTimeline) ProtoMessage ¶
func (*CustomDataTimeline) ProtoMessage()
func (*CustomDataTimeline) Reset ¶
func (m *CustomDataTimeline) Reset()
func (*CustomDataTimeline) Size ¶
func (m *CustomDataTimeline) Size() (n int)
func (*CustomDataTimeline) String ¶
func (m *CustomDataTimeline) String() string
func (*CustomDataTimeline) Unmarshal ¶
func (m *CustomDataTimeline) Unmarshal(dAtA []byte) error
func (*CustomDataTimeline) XXX_DiscardUnknown ¶
func (m *CustomDataTimeline) XXX_DiscardUnknown()
func (*CustomDataTimeline) XXX_Marshal ¶
func (m *CustomDataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomDataTimeline) XXX_Merge ¶
func (m *CustomDataTimeline) XXX_Merge(src proto.Message)
func (*CustomDataTimeline) XXX_Size ¶
func (m *CustomDataTimeline) XXX_Size() int
func (*CustomDataTimeline) XXX_Unmarshal ¶
func (m *CustomDataTimeline) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` 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 Uint `protobuf:"bytes,4,opt,name=nextCollectionId,proto3,customtype=Uint" json:"nextCollectionId"` 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 []Uint `protobuf:"bytes,7,rep,name=challengeTrackers,proto3,customtype=Uint" json:"challengeTrackers"` 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"` }
GenesisState defines the badges module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAddressLists ¶
func (m *GenesisState) GetAddressLists() []*AddressList
func (*GenesisState) GetApprovalTrackerStoreKeys ¶
func (m *GenesisState) GetApprovalTrackerStoreKeys() []string
func (*GenesisState) GetApprovalTrackers ¶
func (m *GenesisState) GetApprovalTrackers() []*ApprovalTracker
func (*GenesisState) GetBalanceStoreKeys ¶
func (m *GenesisState) GetBalanceStoreKeys() []string
func (*GenesisState) GetBalances ¶
func (m *GenesisState) GetBalances() []*UserBalanceStore
func (*GenesisState) GetChallengeTrackerStoreKeys ¶
func (m *GenesisState) GetChallengeTrackerStoreKeys() []string
func (*GenesisState) GetCollections ¶
func (m *GenesisState) GetCollections() []*BadgeCollection
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPortId ¶
func (m *GenesisState) GetPortId() string
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
IMPORTANT: We assume badges are well-formed and validated here
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type IncomingApprovalCriteria ¶
type IncomingApprovalCriteria struct { // List of badges that the user must own for approval. MustOwnBadges []*MustOwnBadges `protobuf:"bytes,1,rep,name=mustOwnBadges,proto3" json:"mustOwnBadges,omitempty"` // Merkle challenge that must be satisfied for approval. MerkleChallenge *MerkleChallenge `protobuf:"bytes,2,opt,name=merkleChallenge,proto3" json:"merkleChallenge,omitempty"` // Predetermined balances for eeach approval. PredeterminedBalances *PredeterminedBalances `protobuf:"bytes,3,opt,name=predeterminedBalances,proto3" json:"predeterminedBalances,omitempty"` // Threshold limit of amounts that can be transferred using this approval. ApprovalAmounts *ApprovalAmounts `protobuf:"bytes,4,opt,name=approvalAmounts,proto3" json:"approvalAmounts,omitempty"` // Maximum number of transfers that can be processed using this approval. MaxNumTransfers *MaxNumTransfers `protobuf:"bytes,5,opt,name=maxNumTransfers,proto3" json:"maxNumTransfers,omitempty"` // Require the "from" address to be equal to the "initiated by" address for approval. RequireFromEqualsInitiatedBy bool `protobuf:"varint,10,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,12,opt,name=requireFromDoesNotEqualInitiatedBy,proto3" json:"requireFromDoesNotEqualInitiatedBy,omitempty"` }
IncomingApprovalCriteria defines the criteria for approving incoming transfers.
func CastFromCollectionApprovalCriteriaToIncomingApprovalCriteria ¶
func CastFromCollectionApprovalCriteriaToIncomingApprovalCriteria(approvalCriteria *ApprovalCriteria) *IncomingApprovalCriteria
func (*IncomingApprovalCriteria) Descriptor ¶
func (*IncomingApprovalCriteria) Descriptor() ([]byte, []int)
func (*IncomingApprovalCriteria) GetApprovalAmounts ¶
func (m *IncomingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
func (*IncomingApprovalCriteria) GetMaxNumTransfers ¶
func (m *IncomingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
func (*IncomingApprovalCriteria) GetMerkleChallenge ¶
func (m *IncomingApprovalCriteria) GetMerkleChallenge() *MerkleChallenge
func (*IncomingApprovalCriteria) GetMustOwnBadges ¶
func (m *IncomingApprovalCriteria) GetMustOwnBadges() []*MustOwnBadges
func (*IncomingApprovalCriteria) GetPredeterminedBalances ¶
func (m *IncomingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
func (*IncomingApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy ¶
func (m *IncomingApprovalCriteria) GetRequireFromDoesNotEqualInitiatedBy() bool
func (*IncomingApprovalCriteria) GetRequireFromEqualsInitiatedBy ¶
func (m *IncomingApprovalCriteria) GetRequireFromEqualsInitiatedBy() bool
func (*IncomingApprovalCriteria) Marshal ¶
func (m *IncomingApprovalCriteria) Marshal() (dAtA []byte, err error)
func (*IncomingApprovalCriteria) MarshalTo ¶
func (m *IncomingApprovalCriteria) MarshalTo(dAtA []byte) (int, error)
func (*IncomingApprovalCriteria) MarshalToSizedBuffer ¶
func (m *IncomingApprovalCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IncomingApprovalCriteria) ProtoMessage ¶
func (*IncomingApprovalCriteria) ProtoMessage()
func (*IncomingApprovalCriteria) Reset ¶
func (m *IncomingApprovalCriteria) Reset()
func (*IncomingApprovalCriteria) Size ¶
func (m *IncomingApprovalCriteria) Size() (n int)
func (*IncomingApprovalCriteria) String ¶
func (m *IncomingApprovalCriteria) String() string
func (*IncomingApprovalCriteria) Unmarshal ¶
func (m *IncomingApprovalCriteria) Unmarshal(dAtA []byte) error
func (*IncomingApprovalCriteria) XXX_DiscardUnknown ¶
func (m *IncomingApprovalCriteria) XXX_DiscardUnknown()
func (*IncomingApprovalCriteria) XXX_Marshal ¶
func (m *IncomingApprovalCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncomingApprovalCriteria) XXX_Merge ¶
func (m *IncomingApprovalCriteria) XXX_Merge(src proto.Message)
func (*IncomingApprovalCriteria) XXX_Size ¶
func (m *IncomingApprovalCriteria) XXX_Size() int
func (*IncomingApprovalCriteria) XXX_Unmarshal ¶
func (m *IncomingApprovalCriteria) XXX_Unmarshal(b []byte) error
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 Uint `protobuf:"bytes,2,opt,name=incrementBadgeIdsBy,proto3,customtype=Uint" json:"incrementBadgeIdsBy"` // The amount by which to increment ownership times. IncrementOwnershipTimesBy Uint `protobuf:"bytes,3,opt,name=incrementOwnershipTimesBy,proto3,customtype=Uint" json:"incrementOwnershipTimesBy"` }
IncrementedBalances represents balances that are incremented by specific amounts, according to the order calculation method.
func (*IncrementedBalances) Descriptor ¶
func (*IncrementedBalances) Descriptor() ([]byte, []int)
func (*IncrementedBalances) GetStartBalances ¶
func (m *IncrementedBalances) GetStartBalances() []*Balance
func (*IncrementedBalances) Marshal ¶
func (m *IncrementedBalances) Marshal() (dAtA []byte, err error)
func (*IncrementedBalances) MarshalTo ¶
func (m *IncrementedBalances) MarshalTo(dAtA []byte) (int, error)
func (*IncrementedBalances) MarshalToSizedBuffer ¶
func (m *IncrementedBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IncrementedBalances) ProtoMessage ¶
func (*IncrementedBalances) ProtoMessage()
func (*IncrementedBalances) Reset ¶
func (m *IncrementedBalances) Reset()
func (*IncrementedBalances) Size ¶
func (m *IncrementedBalances) Size() (n int)
func (*IncrementedBalances) String ¶
func (m *IncrementedBalances) String() string
func (*IncrementedBalances) Unmarshal ¶
func (m *IncrementedBalances) Unmarshal(dAtA []byte) error
func (*IncrementedBalances) XXX_DiscardUnknown ¶
func (m *IncrementedBalances) XXX_DiscardUnknown()
func (*IncrementedBalances) XXX_Marshal ¶
func (m *IncrementedBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementedBalances) XXX_Merge ¶
func (m *IncrementedBalances) XXX_Merge(src proto.Message)
func (*IncrementedBalances) XXX_Size ¶
func (m *IncrementedBalances) XXX_Size() int
func (*IncrementedBalances) XXX_Unmarshal ¶
func (m *IncrementedBalances) XXX_Unmarshal(b []byte) error
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"` }
IsArchivedTimeline defines whether a collection is archived at different timeline times.
func (*IsArchivedTimeline) Descriptor ¶
func (*IsArchivedTimeline) Descriptor() ([]byte, []int)
func (*IsArchivedTimeline) GetIsArchived ¶
func (m *IsArchivedTimeline) GetIsArchived() bool
func (*IsArchivedTimeline) GetTimelineTimes ¶
func (m *IsArchivedTimeline) GetTimelineTimes() []*UintRange
func (*IsArchivedTimeline) Marshal ¶
func (m *IsArchivedTimeline) Marshal() (dAtA []byte, err error)
func (*IsArchivedTimeline) MarshalTo ¶
func (m *IsArchivedTimeline) MarshalTo(dAtA []byte) (int, error)
func (*IsArchivedTimeline) MarshalToSizedBuffer ¶
func (m *IsArchivedTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IsArchivedTimeline) ProtoMessage ¶
func (*IsArchivedTimeline) ProtoMessage()
func (*IsArchivedTimeline) Reset ¶
func (m *IsArchivedTimeline) Reset()
func (*IsArchivedTimeline) Size ¶
func (m *IsArchivedTimeline) Size() (n int)
func (*IsArchivedTimeline) String ¶
func (m *IsArchivedTimeline) String() string
func (*IsArchivedTimeline) Unmarshal ¶
func (m *IsArchivedTimeline) Unmarshal(dAtA []byte) error
func (*IsArchivedTimeline) XXX_DiscardUnknown ¶
func (m *IsArchivedTimeline) XXX_DiscardUnknown()
func (*IsArchivedTimeline) XXX_Marshal ¶
func (m *IsArchivedTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsArchivedTimeline) XXX_Merge ¶
func (m *IsArchivedTimeline) XXX_Merge(src proto.Message)
func (*IsArchivedTimeline) XXX_Size ¶
func (m *IsArchivedTimeline) XXX_Size() int
func (*IsArchivedTimeline) XXX_Unmarshal ¶
func (m *IsArchivedTimeline) XXX_Unmarshal(b []byte) error
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"` }
ManagerTimeline defines the manager address at different timeline times.
func (*ManagerTimeline) Descriptor ¶
func (*ManagerTimeline) Descriptor() ([]byte, []int)
func (*ManagerTimeline) GetManager ¶
func (m *ManagerTimeline) GetManager() string
func (*ManagerTimeline) GetTimelineTimes ¶
func (m *ManagerTimeline) GetTimelineTimes() []*UintRange
func (*ManagerTimeline) Marshal ¶
func (m *ManagerTimeline) Marshal() (dAtA []byte, err error)
func (*ManagerTimeline) MarshalToSizedBuffer ¶
func (m *ManagerTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ManagerTimeline) ProtoMessage ¶
func (*ManagerTimeline) ProtoMessage()
func (*ManagerTimeline) Reset ¶
func (m *ManagerTimeline) Reset()
func (*ManagerTimeline) Size ¶
func (m *ManagerTimeline) Size() (n int)
func (*ManagerTimeline) String ¶
func (m *ManagerTimeline) String() string
func (*ManagerTimeline) Unmarshal ¶
func (m *ManagerTimeline) Unmarshal(dAtA []byte) error
func (*ManagerTimeline) XXX_DiscardUnknown ¶
func (m *ManagerTimeline) XXX_DiscardUnknown()
func (*ManagerTimeline) XXX_Marshal ¶
func (m *ManagerTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManagerTimeline) XXX_Merge ¶
func (m *ManagerTimeline) XXX_Merge(src proto.Message)
func (*ManagerTimeline) XXX_Size ¶
func (m *ManagerTimeline) XXX_Size() int
func (*ManagerTimeline) XXX_Unmarshal ¶
func (m *ManagerTimeline) XXX_Unmarshal(b []byte) error
type ManualBalances ¶
type ManualBalances struct {
Balances []*Balance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
}
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 ¶
func (*ManualBalances) Descriptor() ([]byte, []int)
func (*ManualBalances) GetBalances ¶
func (m *ManualBalances) GetBalances() []*Balance
func (*ManualBalances) Marshal ¶
func (m *ManualBalances) Marshal() (dAtA []byte, err error)
func (*ManualBalances) MarshalToSizedBuffer ¶
func (m *ManualBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ManualBalances) ProtoMessage ¶
func (*ManualBalances) ProtoMessage()
func (*ManualBalances) Reset ¶
func (m *ManualBalances) Reset()
func (*ManualBalances) Size ¶
func (m *ManualBalances) Size() (n int)
func (*ManualBalances) String ¶
func (m *ManualBalances) String() string
func (*ManualBalances) Unmarshal ¶
func (m *ManualBalances) Unmarshal(dAtA []byte) error
func (*ManualBalances) XXX_DiscardUnknown ¶
func (m *ManualBalances) XXX_DiscardUnknown()
func (*ManualBalances) XXX_Marshal ¶
func (m *ManualBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManualBalances) XXX_Merge ¶
func (m *ManualBalances) XXX_Merge(src proto.Message)
func (*ManualBalances) XXX_Size ¶
func (m *ManualBalances) XXX_Size() int
func (*ManualBalances) XXX_Unmarshal ¶
func (m *ManualBalances) XXX_Unmarshal(b []byte) error
type MaxNumTransfers ¶
type MaxNumTransfers struct { // Overall maximum number of transfers. OverallMaxNumTransfers Uint `protobuf:"bytes,1,opt,name=overallMaxNumTransfers,proto3,customtype=Uint" json:"overallMaxNumTransfers"` // Maximum number of transfers per "to" address. PerToAddressMaxNumTransfers Uint `protobuf:"bytes,2,opt,name=perToAddressMaxNumTransfers,proto3,customtype=Uint" json:"perToAddressMaxNumTransfers"` // Maximum number of transfers per "from" address. PerFromAddressMaxNumTransfers Uint `protobuf:"bytes,3,opt,name=perFromAddressMaxNumTransfers,proto3,customtype=Uint" json:"perFromAddressMaxNumTransfers"` // Maximum number of transfers per "initiated by" address. PerInitiatedByAddressMaxNumTransfers Uint `` /* 131-byte string literal not displayed */ }
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 ¶
func (*MaxNumTransfers) Descriptor() ([]byte, []int)
func (*MaxNumTransfers) Marshal ¶
func (m *MaxNumTransfers) Marshal() (dAtA []byte, err error)
func (*MaxNumTransfers) MarshalToSizedBuffer ¶
func (m *MaxNumTransfers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MaxNumTransfers) ProtoMessage ¶
func (*MaxNumTransfers) ProtoMessage()
func (*MaxNumTransfers) Reset ¶
func (m *MaxNumTransfers) Reset()
func (*MaxNumTransfers) Size ¶
func (m *MaxNumTransfers) Size() (n int)
func (*MaxNumTransfers) String ¶
func (m *MaxNumTransfers) String() string
func (*MaxNumTransfers) Unmarshal ¶
func (m *MaxNumTransfers) Unmarshal(dAtA []byte) error
func (*MaxNumTransfers) XXX_DiscardUnknown ¶
func (m *MaxNumTransfers) XXX_DiscardUnknown()
func (*MaxNumTransfers) XXX_Marshal ¶
func (m *MaxNumTransfers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MaxNumTransfers) XXX_Merge ¶
func (m *MaxNumTransfers) XXX_Merge(src proto.Message)
func (*MaxNumTransfers) XXX_Size ¶
func (m *MaxNumTransfers) XXX_Size() int
func (*MaxNumTransfers) XXX_Unmarshal ¶
func (m *MaxNumTransfers) XXX_Unmarshal(b []byte) error
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 Uint `protobuf:"bytes,2,opt,name=expectedProofLength,proto3,customtype=Uint" json:"expectedProofLength"` // 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 Cosmos 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 Uint `protobuf:"bytes,4,opt,name=maxUsesPerLeaf,proto3,customtype=Uint" json:"maxUsesPerLeaf"` // 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"` }
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 ¶
func (*MerkleChallenge) Descriptor() ([]byte, []int)
func (*MerkleChallenge) GetCustomData ¶
func (m *MerkleChallenge) GetCustomData() string
func (*MerkleChallenge) GetRoot ¶
func (m *MerkleChallenge) GetRoot() string
func (*MerkleChallenge) GetUri ¶
func (m *MerkleChallenge) GetUri() string
func (*MerkleChallenge) GetUseCreatorAddressAsLeaf ¶
func (m *MerkleChallenge) GetUseCreatorAddressAsLeaf() bool
func (*MerkleChallenge) Marshal ¶
func (m *MerkleChallenge) Marshal() (dAtA []byte, err error)
func (*MerkleChallenge) MarshalToSizedBuffer ¶
func (m *MerkleChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MerkleChallenge) ProtoMessage ¶
func (*MerkleChallenge) ProtoMessage()
func (*MerkleChallenge) Reset ¶
func (m *MerkleChallenge) Reset()
func (*MerkleChallenge) Size ¶
func (m *MerkleChallenge) Size() (n int)
func (*MerkleChallenge) String ¶
func (m *MerkleChallenge) String() string
func (*MerkleChallenge) Unmarshal ¶
func (m *MerkleChallenge) Unmarshal(dAtA []byte) error
func (*MerkleChallenge) XXX_DiscardUnknown ¶
func (m *MerkleChallenge) XXX_DiscardUnknown()
func (*MerkleChallenge) XXX_Marshal ¶
func (m *MerkleChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleChallenge) XXX_Merge ¶
func (m *MerkleChallenge) XXX_Merge(src proto.Message)
func (*MerkleChallenge) XXX_Size ¶
func (m *MerkleChallenge) XXX_Size() int
func (*MerkleChallenge) XXX_Unmarshal ¶
func (m *MerkleChallenge) XXX_Unmarshal(b []byte) error
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"` }
MerklePathItem represents an item in a Merkle path.
func (*MerklePathItem) Descriptor ¶
func (*MerklePathItem) Descriptor() ([]byte, []int)
func (*MerklePathItem) GetAunt ¶
func (m *MerklePathItem) GetAunt() string
func (*MerklePathItem) GetOnRight ¶
func (m *MerklePathItem) GetOnRight() bool
func (*MerklePathItem) Marshal ¶
func (m *MerklePathItem) Marshal() (dAtA []byte, err error)
func (*MerklePathItem) MarshalToSizedBuffer ¶
func (m *MerklePathItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MerklePathItem) ProtoMessage ¶
func (*MerklePathItem) ProtoMessage()
func (*MerklePathItem) Reset ¶
func (m *MerklePathItem) Reset()
func (*MerklePathItem) Size ¶
func (m *MerklePathItem) Size() (n int)
func (*MerklePathItem) String ¶
func (m *MerklePathItem) String() string
func (*MerklePathItem) Unmarshal ¶
func (m *MerklePathItem) Unmarshal(dAtA []byte) error
func (*MerklePathItem) XXX_DiscardUnknown ¶
func (m *MerklePathItem) XXX_DiscardUnknown()
func (*MerklePathItem) XXX_Marshal ¶
func (m *MerklePathItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerklePathItem) XXX_Merge ¶
func (m *MerklePathItem) XXX_Merge(src proto.Message)
func (*MerklePathItem) XXX_Size ¶
func (m *MerklePathItem) XXX_Size() int
func (*MerklePathItem) XXX_Unmarshal ¶
func (m *MerklePathItem) XXX_Unmarshal(b []byte) error
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"` }
MerkleProof represents a Merkle proof, consistent with Tendermint/Crypto Merkle tree.
func (*MerkleProof) Descriptor ¶
func (*MerkleProof) Descriptor() ([]byte, []int)
func (*MerkleProof) GetAunts ¶
func (m *MerkleProof) GetAunts() []*MerklePathItem
func (*MerkleProof) GetLeaf ¶
func (m *MerkleProof) GetLeaf() string
func (*MerkleProof) Marshal ¶
func (m *MerkleProof) Marshal() (dAtA []byte, err error)
func (*MerkleProof) MarshalToSizedBuffer ¶
func (m *MerkleProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MerkleProof) ProtoMessage ¶
func (*MerkleProof) ProtoMessage()
func (*MerkleProof) Reset ¶
func (m *MerkleProof) Reset()
func (*MerkleProof) Size ¶
func (m *MerkleProof) Size() (n int)
func (*MerkleProof) String ¶
func (m *MerkleProof) String() string
func (*MerkleProof) Unmarshal ¶
func (m *MerkleProof) Unmarshal(dAtA []byte) error
func (*MerkleProof) XXX_DiscardUnknown ¶
func (m *MerkleProof) XXX_DiscardUnknown()
func (*MerkleProof) XXX_Marshal ¶
func (m *MerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleProof) XXX_Merge ¶
func (m *MerkleProof) XXX_Merge(src proto.Message)
func (*MerkleProof) XXX_Size ¶
func (m *MerkleProof) XXX_Size() int
func (*MerkleProof) XXX_Unmarshal ¶
func (m *MerkleProof) XXX_Unmarshal(b []byte) error
type MsgArchiveCollection ¶
type MsgArchiveCollection struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CollectionId Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` IsArchivedTimeline []*IsArchivedTimeline `protobuf:"bytes,3,rep,name=isArchivedTimeline,proto3" json:"isArchivedTimeline,omitempty"` }
func (*MsgArchiveCollection) Descriptor ¶
func (*MsgArchiveCollection) Descriptor() ([]byte, []int)
func (*MsgArchiveCollection) GetCreator ¶
func (m *MsgArchiveCollection) GetCreator() string
func (*MsgArchiveCollection) GetIsArchivedTimeline ¶
func (m *MsgArchiveCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgArchiveCollection) Marshal ¶
func (m *MsgArchiveCollection) Marshal() (dAtA []byte, err error)
func (*MsgArchiveCollection) MarshalTo ¶
func (m *MsgArchiveCollection) MarshalTo(dAtA []byte) (int, error)
func (*MsgArchiveCollection) MarshalToSizedBuffer ¶
func (m *MsgArchiveCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgArchiveCollection) ProtoMessage ¶
func (*MsgArchiveCollection) ProtoMessage()
func (*MsgArchiveCollection) Reset ¶
func (m *MsgArchiveCollection) Reset()
func (*MsgArchiveCollection) Size ¶
func (m *MsgArchiveCollection) Size() (n int)
func (*MsgArchiveCollection) String ¶
func (m *MsgArchiveCollection) String() string
func (*MsgArchiveCollection) Unmarshal ¶
func (m *MsgArchiveCollection) Unmarshal(dAtA []byte) error
func (*MsgArchiveCollection) XXX_DiscardUnknown ¶
func (m *MsgArchiveCollection) XXX_DiscardUnknown()
func (*MsgArchiveCollection) XXX_Marshal ¶
func (m *MsgArchiveCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgArchiveCollection) XXX_Merge ¶
func (m *MsgArchiveCollection) XXX_Merge(src proto.Message)
func (*MsgArchiveCollection) XXX_Size ¶
func (m *MsgArchiveCollection) XXX_Size() int
func (*MsgArchiveCollection) XXX_Unmarshal ¶
func (m *MsgArchiveCollection) XXX_Unmarshal(b []byte) error
type MsgArchiveCollectionResponse ¶
type MsgArchiveCollectionResponse struct { }
func (*MsgArchiveCollectionResponse) Descriptor ¶
func (*MsgArchiveCollectionResponse) Descriptor() ([]byte, []int)
func (*MsgArchiveCollectionResponse) Marshal ¶
func (m *MsgArchiveCollectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgArchiveCollectionResponse) MarshalTo ¶
func (m *MsgArchiveCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgArchiveCollectionResponse) MarshalToSizedBuffer ¶
func (m *MsgArchiveCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgArchiveCollectionResponse) ProtoMessage ¶
func (*MsgArchiveCollectionResponse) ProtoMessage()
func (*MsgArchiveCollectionResponse) Reset ¶
func (m *MsgArchiveCollectionResponse) Reset()
func (*MsgArchiveCollectionResponse) Size ¶
func (m *MsgArchiveCollectionResponse) Size() (n int)
func (*MsgArchiveCollectionResponse) String ¶
func (m *MsgArchiveCollectionResponse) String() string
func (*MsgArchiveCollectionResponse) Unmarshal ¶
func (m *MsgArchiveCollectionResponse) Unmarshal(dAtA []byte) error
func (*MsgArchiveCollectionResponse) XXX_DiscardUnknown ¶
func (m *MsgArchiveCollectionResponse) XXX_DiscardUnknown()
func (*MsgArchiveCollectionResponse) XXX_Marshal ¶
func (m *MsgArchiveCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgArchiveCollectionResponse) XXX_Merge ¶
func (m *MsgArchiveCollectionResponse) XXX_Merge(src proto.Message)
func (*MsgArchiveCollectionResponse) XXX_Size ¶
func (m *MsgArchiveCollectionResponse) XXX_Size() int
func (*MsgArchiveCollectionResponse) XXX_Unmarshal ¶
func (m *MsgArchiveCollectionResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) 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"` }
MsgCreateAddressLists is used to create address lists.
func NewMsgCreateAddressLists ¶
func NewMsgCreateAddressLists(creator string, addressLists []*AddressList) *MsgCreateAddressLists
func (*MsgCreateAddressLists) Descriptor ¶
func (*MsgCreateAddressLists) Descriptor() ([]byte, []int)
func (*MsgCreateAddressLists) GetAddressLists ¶
func (m *MsgCreateAddressLists) GetAddressLists() []*AddressList
func (*MsgCreateAddressLists) GetCreator ¶
func (m *MsgCreateAddressLists) GetCreator() string
func (*MsgCreateAddressLists) GetSignBytes ¶
func (msg *MsgCreateAddressLists) GetSignBytes() []byte
func (*MsgCreateAddressLists) GetSigners ¶
func (msg *MsgCreateAddressLists) GetSigners() []sdk.AccAddress
func (*MsgCreateAddressLists) Marshal ¶
func (m *MsgCreateAddressLists) Marshal() (dAtA []byte, err error)
func (*MsgCreateAddressLists) MarshalTo ¶
func (m *MsgCreateAddressLists) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateAddressLists) MarshalToSizedBuffer ¶
func (m *MsgCreateAddressLists) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAddressLists) ProtoMessage ¶
func (*MsgCreateAddressLists) ProtoMessage()
func (*MsgCreateAddressLists) Reset ¶
func (m *MsgCreateAddressLists) Reset()
func (*MsgCreateAddressLists) Route ¶
func (msg *MsgCreateAddressLists) Route() string
func (*MsgCreateAddressLists) Size ¶
func (m *MsgCreateAddressLists) Size() (n int)
func (*MsgCreateAddressLists) String ¶
func (m *MsgCreateAddressLists) String() string
func (*MsgCreateAddressLists) Type ¶
func (msg *MsgCreateAddressLists) Type() string
func (*MsgCreateAddressLists) Unmarshal ¶
func (m *MsgCreateAddressLists) Unmarshal(dAtA []byte) error
func (*MsgCreateAddressLists) ValidateBasic ¶
func (msg *MsgCreateAddressLists) ValidateBasic() error
func (*MsgCreateAddressLists) XXX_DiscardUnknown ¶
func (m *MsgCreateAddressLists) XXX_DiscardUnknown()
func (*MsgCreateAddressLists) XXX_Marshal ¶
func (m *MsgCreateAddressLists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAddressLists) XXX_Merge ¶
func (m *MsgCreateAddressLists) XXX_Merge(src proto.Message)
func (*MsgCreateAddressLists) XXX_Size ¶
func (m *MsgCreateAddressLists) XXX_Size() int
func (*MsgCreateAddressLists) XXX_Unmarshal ¶
func (m *MsgCreateAddressLists) XXX_Unmarshal(b []byte) error
type MsgCreateAddressListsResponse ¶
type MsgCreateAddressListsResponse struct { }
MsgCreateAddressListsResponse is the response to MsgCreateAddressLists.
func (*MsgCreateAddressListsResponse) Descriptor ¶
func (*MsgCreateAddressListsResponse) Descriptor() ([]byte, []int)
func (*MsgCreateAddressListsResponse) Marshal ¶
func (m *MsgCreateAddressListsResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateAddressListsResponse) MarshalTo ¶
func (m *MsgCreateAddressListsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateAddressListsResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateAddressListsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAddressListsResponse) ProtoMessage ¶
func (*MsgCreateAddressListsResponse) ProtoMessage()
func (*MsgCreateAddressListsResponse) Reset ¶
func (m *MsgCreateAddressListsResponse) Reset()
func (*MsgCreateAddressListsResponse) Size ¶
func (m *MsgCreateAddressListsResponse) Size() (n int)
func (*MsgCreateAddressListsResponse) String ¶
func (m *MsgCreateAddressListsResponse) String() string
func (*MsgCreateAddressListsResponse) Unmarshal ¶
func (m *MsgCreateAddressListsResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateAddressListsResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateAddressListsResponse) XXX_DiscardUnknown()
func (*MsgCreateAddressListsResponse) XXX_Marshal ¶
func (m *MsgCreateAddressListsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAddressListsResponse) XXX_Merge ¶
func (m *MsgCreateAddressListsResponse) XXX_Merge(src proto.Message)
func (*MsgCreateAddressListsResponse) XXX_Size ¶
func (m *MsgCreateAddressListsResponse) XXX_Size() int
func (*MsgCreateAddressListsResponse) XXX_Unmarshal ¶
func (m *MsgCreateAddressListsResponse) XXX_Unmarshal(b []byte) error
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". 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"` // Balances to create for the collection. Will be sent to the "Mint" address. BadgesToCreate []*Balance `protobuf:"bytes,5,rep,name=badgesToCreate,proto3" json:"badgesToCreate,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"` }
MsgCreateCollection is used to create a new collection.
func NewMsgCreateCollection ¶
func NewMsgCreateCollection(creator string) *MsgCreateCollection
func (*MsgCreateCollection) Descriptor ¶
func (*MsgCreateCollection) Descriptor() ([]byte, []int)
func (*MsgCreateCollection) GetBadgeMetadataTimeline ¶
func (m *MsgCreateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgCreateCollection) GetBadgesToCreate ¶
func (m *MsgCreateCollection) GetBadgesToCreate() []*Balance
func (*MsgCreateCollection) GetBalancesType ¶
func (m *MsgCreateCollection) GetBalancesType() string
func (*MsgCreateCollection) GetCollectionApprovals ¶
func (m *MsgCreateCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgCreateCollection) GetCollectionMetadataTimeline ¶
func (m *MsgCreateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgCreateCollection) GetCollectionPermissions ¶
func (m *MsgCreateCollection) GetCollectionPermissions() *CollectionPermissions
func (*MsgCreateCollection) GetCreator ¶
func (m *MsgCreateCollection) GetCreator() string
func (*MsgCreateCollection) GetCustomDataTimeline ¶
func (m *MsgCreateCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgCreateCollection) GetDefaultBalances ¶
func (m *MsgCreateCollection) GetDefaultBalances() *UserBalanceStore
func (*MsgCreateCollection) GetIsArchivedTimeline ¶
func (m *MsgCreateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgCreateCollection) GetManagerTimeline ¶
func (m *MsgCreateCollection) GetManagerTimeline() []*ManagerTimeline
func (*MsgCreateCollection) GetOffChainBalancesMetadataTimeline ¶
func (m *MsgCreateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgCreateCollection) GetSignBytes ¶
func (msg *MsgCreateCollection) GetSignBytes() []byte
func (*MsgCreateCollection) GetSigners ¶
func (msg *MsgCreateCollection) GetSigners() []sdk.AccAddress
func (*MsgCreateCollection) GetStandardsTimeline ¶
func (m *MsgCreateCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgCreateCollection) Marshal ¶
func (m *MsgCreateCollection) Marshal() (dAtA []byte, err error)
func (*MsgCreateCollection) MarshalTo ¶
func (m *MsgCreateCollection) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateCollection) MarshalToSizedBuffer ¶
func (m *MsgCreateCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCollection) ProtoMessage ¶
func (*MsgCreateCollection) ProtoMessage()
func (*MsgCreateCollection) Reset ¶
func (m *MsgCreateCollection) Reset()
func (*MsgCreateCollection) Route ¶
func (msg *MsgCreateCollection) Route() string
func (*MsgCreateCollection) Size ¶
func (m *MsgCreateCollection) Size() (n int)
func (*MsgCreateCollection) String ¶
func (m *MsgCreateCollection) String() string
func (*MsgCreateCollection) Type ¶
func (msg *MsgCreateCollection) Type() string
func (*MsgCreateCollection) Unmarshal ¶
func (m *MsgCreateCollection) Unmarshal(dAtA []byte) error
func (*MsgCreateCollection) ValidateBasic ¶
func (msg *MsgCreateCollection) ValidateBasic() error
func (*MsgCreateCollection) XXX_DiscardUnknown ¶
func (m *MsgCreateCollection) XXX_DiscardUnknown()
func (*MsgCreateCollection) XXX_Marshal ¶
func (m *MsgCreateCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCollection) XXX_Merge ¶
func (m *MsgCreateCollection) XXX_Merge(src proto.Message)
func (*MsgCreateCollection) XXX_Size ¶
func (m *MsgCreateCollection) XXX_Size() int
func (*MsgCreateCollection) XXX_Unmarshal ¶
func (m *MsgCreateCollection) XXX_Unmarshal(b []byte) error
type MsgCreateCollectionResponse ¶
type MsgCreateCollectionResponse struct { // ID of the badge collection. CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` }
MsgCreateCollectionResponse is the response to MsgCreateCollection.
func (*MsgCreateCollectionResponse) Descriptor ¶
func (*MsgCreateCollectionResponse) Descriptor() ([]byte, []int)
func (*MsgCreateCollectionResponse) Marshal ¶
func (m *MsgCreateCollectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateCollectionResponse) MarshalTo ¶
func (m *MsgCreateCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateCollectionResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCollectionResponse) ProtoMessage ¶
func (*MsgCreateCollectionResponse) ProtoMessage()
func (*MsgCreateCollectionResponse) Reset ¶
func (m *MsgCreateCollectionResponse) Reset()
func (*MsgCreateCollectionResponse) Size ¶
func (m *MsgCreateCollectionResponse) Size() (n int)
func (*MsgCreateCollectionResponse) String ¶
func (m *MsgCreateCollectionResponse) String() string
func (*MsgCreateCollectionResponse) Unmarshal ¶
func (m *MsgCreateCollectionResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateCollectionResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateCollectionResponse) XXX_DiscardUnknown()
func (*MsgCreateCollectionResponse) XXX_Marshal ¶
func (m *MsgCreateCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCollectionResponse) XXX_Merge ¶
func (m *MsgCreateCollectionResponse) XXX_Merge(src proto.Message)
func (*MsgCreateCollectionResponse) XXX_Size ¶
func (m *MsgCreateCollectionResponse) XXX_Size() int
func (*MsgCreateCollectionResponse) XXX_Unmarshal ¶
func (m *MsgCreateCollectionResponse) XXX_Unmarshal(b []byte) error
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 Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` }
MsgDeleteCollection is used to delete a collection.
func NewMsgDeleteCollection ¶
func NewMsgDeleteCollection(creator string, collectionId sdkmath.Uint) *MsgDeleteCollection
func (*MsgDeleteCollection) Descriptor ¶
func (*MsgDeleteCollection) Descriptor() ([]byte, []int)
func (*MsgDeleteCollection) GetCreator ¶
func (m *MsgDeleteCollection) GetCreator() string
func (*MsgDeleteCollection) GetSignBytes ¶
func (msg *MsgDeleteCollection) GetSignBytes() []byte
func (*MsgDeleteCollection) GetSigners ¶
func (msg *MsgDeleteCollection) GetSigners() []sdk.AccAddress
func (*MsgDeleteCollection) Marshal ¶
func (m *MsgDeleteCollection) Marshal() (dAtA []byte, err error)
func (*MsgDeleteCollection) MarshalTo ¶
func (m *MsgDeleteCollection) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteCollection) MarshalToSizedBuffer ¶
func (m *MsgDeleteCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteCollection) ProtoMessage ¶
func (*MsgDeleteCollection) ProtoMessage()
func (*MsgDeleteCollection) Reset ¶
func (m *MsgDeleteCollection) Reset()
func (*MsgDeleteCollection) Route ¶
func (msg *MsgDeleteCollection) Route() string
func (*MsgDeleteCollection) Size ¶
func (m *MsgDeleteCollection) Size() (n int)
func (*MsgDeleteCollection) String ¶
func (m *MsgDeleteCollection) String() string
func (*MsgDeleteCollection) Type ¶
func (msg *MsgDeleteCollection) Type() string
func (*MsgDeleteCollection) Unmarshal ¶
func (m *MsgDeleteCollection) Unmarshal(dAtA []byte) error
func (*MsgDeleteCollection) ValidateBasic ¶
func (msg *MsgDeleteCollection) ValidateBasic() error
func (*MsgDeleteCollection) XXX_DiscardUnknown ¶
func (m *MsgDeleteCollection) XXX_DiscardUnknown()
func (*MsgDeleteCollection) XXX_Marshal ¶
func (m *MsgDeleteCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteCollection) XXX_Merge ¶
func (m *MsgDeleteCollection) XXX_Merge(src proto.Message)
func (*MsgDeleteCollection) XXX_Size ¶
func (m *MsgDeleteCollection) XXX_Size() int
func (*MsgDeleteCollection) XXX_Unmarshal ¶
func (m *MsgDeleteCollection) XXX_Unmarshal(b []byte) error
type MsgDeleteCollectionResponse ¶
type MsgDeleteCollectionResponse struct { }
MsgDeleteCollectionResponse is the response to MsgDeleteCollection.
func (*MsgDeleteCollectionResponse) Descriptor ¶
func (*MsgDeleteCollectionResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteCollectionResponse) Marshal ¶
func (m *MsgDeleteCollectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteCollectionResponse) MarshalTo ¶
func (m *MsgDeleteCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteCollectionResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteCollectionResponse) ProtoMessage ¶
func (*MsgDeleteCollectionResponse) ProtoMessage()
func (*MsgDeleteCollectionResponse) Reset ¶
func (m *MsgDeleteCollectionResponse) Reset()
func (*MsgDeleteCollectionResponse) Size ¶
func (m *MsgDeleteCollectionResponse) Size() (n int)
func (*MsgDeleteCollectionResponse) String ¶
func (m *MsgDeleteCollectionResponse) String() string
func (*MsgDeleteCollectionResponse) Unmarshal ¶
func (m *MsgDeleteCollectionResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteCollectionResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteCollectionResponse) XXX_DiscardUnknown()
func (*MsgDeleteCollectionResponse) XXX_Marshal ¶
func (m *MsgDeleteCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteCollectionResponse) XXX_Merge ¶
func (m *MsgDeleteCollectionResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteCollectionResponse) XXX_Size ¶
func (m *MsgDeleteCollectionResponse) XXX_Size() int
func (*MsgDeleteCollectionResponse) XXX_Unmarshal ¶
func (m *MsgDeleteCollectionResponse) XXX_Unmarshal(b []byte) error
type MsgMintAndDistributeBadges ¶
type MsgMintAndDistributeBadges struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CollectionId Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` 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"` }
This handles both minting more of existing badges and creating new badges.
func (*MsgMintAndDistributeBadges) Descriptor ¶
func (*MsgMintAndDistributeBadges) Descriptor() ([]byte, []int)
func (*MsgMintAndDistributeBadges) GetAddressLists ¶
func (m *MsgMintAndDistributeBadges) GetAddressLists() []*AddressList
func (*MsgMintAndDistributeBadges) GetBadgeMetadataTimeline ¶
func (m *MsgMintAndDistributeBadges) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgMintAndDistributeBadges) GetBadgesToCreate ¶
func (m *MsgMintAndDistributeBadges) GetBadgesToCreate() []*Balance
func (*MsgMintAndDistributeBadges) GetCollectionApprovals ¶
func (m *MsgMintAndDistributeBadges) GetCollectionApprovals() []*CollectionApproval
func (*MsgMintAndDistributeBadges) GetCollectionMetadataTimeline ¶
func (m *MsgMintAndDistributeBadges) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgMintAndDistributeBadges) GetCreator ¶
func (m *MsgMintAndDistributeBadges) GetCreator() string
func (*MsgMintAndDistributeBadges) GetOffChainBalancesMetadataTimeline ¶
func (m *MsgMintAndDistributeBadges) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgMintAndDistributeBadges) GetTransfers ¶
func (m *MsgMintAndDistributeBadges) GetTransfers() []*Transfer
func (*MsgMintAndDistributeBadges) Marshal ¶
func (m *MsgMintAndDistributeBadges) Marshal() (dAtA []byte, err error)
func (*MsgMintAndDistributeBadges) MarshalTo ¶
func (m *MsgMintAndDistributeBadges) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintAndDistributeBadges) MarshalToSizedBuffer ¶
func (m *MsgMintAndDistributeBadges) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintAndDistributeBadges) ProtoMessage ¶
func (*MsgMintAndDistributeBadges) ProtoMessage()
func (*MsgMintAndDistributeBadges) Reset ¶
func (m *MsgMintAndDistributeBadges) Reset()
func (*MsgMintAndDistributeBadges) Size ¶
func (m *MsgMintAndDistributeBadges) Size() (n int)
func (*MsgMintAndDistributeBadges) String ¶
func (m *MsgMintAndDistributeBadges) String() string
func (*MsgMintAndDistributeBadges) Unmarshal ¶
func (m *MsgMintAndDistributeBadges) Unmarshal(dAtA []byte) error
func (*MsgMintAndDistributeBadges) XXX_DiscardUnknown ¶
func (m *MsgMintAndDistributeBadges) XXX_DiscardUnknown()
func (*MsgMintAndDistributeBadges) XXX_Marshal ¶
func (m *MsgMintAndDistributeBadges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintAndDistributeBadges) XXX_Merge ¶
func (m *MsgMintAndDistributeBadges) XXX_Merge(src proto.Message)
func (*MsgMintAndDistributeBadges) XXX_Size ¶
func (m *MsgMintAndDistributeBadges) XXX_Size() int
func (*MsgMintAndDistributeBadges) XXX_Unmarshal ¶
func (m *MsgMintAndDistributeBadges) XXX_Unmarshal(b []byte) error
type MsgMintAndDistributeBadgesResponse ¶
type MsgMintAndDistributeBadgesResponse struct { }
func (*MsgMintAndDistributeBadgesResponse) Descriptor ¶
func (*MsgMintAndDistributeBadgesResponse) Descriptor() ([]byte, []int)
func (*MsgMintAndDistributeBadgesResponse) Marshal ¶
func (m *MsgMintAndDistributeBadgesResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintAndDistributeBadgesResponse) MarshalTo ¶
func (m *MsgMintAndDistributeBadgesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintAndDistributeBadgesResponse) MarshalToSizedBuffer ¶
func (m *MsgMintAndDistributeBadgesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintAndDistributeBadgesResponse) ProtoMessage ¶
func (*MsgMintAndDistributeBadgesResponse) ProtoMessage()
func (*MsgMintAndDistributeBadgesResponse) Reset ¶
func (m *MsgMintAndDistributeBadgesResponse) Reset()
func (*MsgMintAndDistributeBadgesResponse) Size ¶
func (m *MsgMintAndDistributeBadgesResponse) Size() (n int)
func (*MsgMintAndDistributeBadgesResponse) String ¶
func (m *MsgMintAndDistributeBadgesResponse) String() string
func (*MsgMintAndDistributeBadgesResponse) Unmarshal ¶
func (m *MsgMintAndDistributeBadgesResponse) Unmarshal(dAtA []byte) error
func (*MsgMintAndDistributeBadgesResponse) XXX_DiscardUnknown ¶
func (m *MsgMintAndDistributeBadgesResponse) XXX_DiscardUnknown()
func (*MsgMintAndDistributeBadgesResponse) XXX_Marshal ¶
func (m *MsgMintAndDistributeBadgesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintAndDistributeBadgesResponse) XXX_Merge ¶
func (m *MsgMintAndDistributeBadgesResponse) XXX_Merge(src proto.Message)
func (*MsgMintAndDistributeBadgesResponse) XXX_Size ¶
func (m *MsgMintAndDistributeBadgesResponse) XXX_Size() int
func (*MsgMintAndDistributeBadgesResponse) XXX_Unmarshal ¶
func (m *MsgMintAndDistributeBadgesResponse) XXX_Unmarshal(b []byte) error
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 Uint `protobuf:"bytes,6,opt,name=balancesType,proto3,customtype=Uint" json:"balancesType"` 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"` DefaultIncomingApprovals []*UserIncomingApproval `protobuf:"bytes,16,rep,name=defaultIncomingApprovals,proto3" json:"defaultIncomingApprovals,omitempty"` DefaultDisapproveSelfInitiated bool `protobuf:"varint,17,opt,name=defaultDisapproveSelfInitiated,proto3" json:"defaultDisapproveSelfInitiated,omitempty"` }
func (*MsgNewCollection) Descriptor ¶
func (*MsgNewCollection) Descriptor() ([]byte, []int)
func (*MsgNewCollection) GetAddressLists ¶
func (m *MsgNewCollection) GetAddressLists() []*AddressList
func (*MsgNewCollection) GetBadgeMetadataTimeline ¶
func (m *MsgNewCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgNewCollection) GetBadgesToCreate ¶
func (m *MsgNewCollection) GetBadgesToCreate() []*Balance
func (*MsgNewCollection) GetCollectionApprovals ¶
func (m *MsgNewCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgNewCollection) GetCollectionMetadataTimeline ¶
func (m *MsgNewCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgNewCollection) GetContractAddressTimeline ¶
func (m *MsgNewCollection) GetContractAddressTimeline() []*ContractAddressTimeline
func (*MsgNewCollection) GetCreator ¶
func (m *MsgNewCollection) GetCreator() string
func (*MsgNewCollection) GetCustomDataTimeline ¶
func (m *MsgNewCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgNewCollection) GetDefaultDisapproveSelfInitiated ¶
func (m *MsgNewCollection) GetDefaultDisapproveSelfInitiated() bool
func (*MsgNewCollection) GetDefaultIncomingApprovals ¶
func (m *MsgNewCollection) GetDefaultIncomingApprovals() []*UserIncomingApproval
func (*MsgNewCollection) GetDefaultOutgoingApprovals ¶
func (m *MsgNewCollection) GetDefaultOutgoingApprovals() []*UserOutgoingApproval
func (*MsgNewCollection) GetOffChainBalancesMetadataTimeline ¶
func (m *MsgNewCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgNewCollection) GetPermissions ¶
func (m *MsgNewCollection) GetPermissions() *CollectionPermissions
func (*MsgNewCollection) GetStandardsTimeline ¶
func (m *MsgNewCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgNewCollection) GetTransfers ¶
func (m *MsgNewCollection) GetTransfers() []*Transfer
func (*MsgNewCollection) Marshal ¶
func (m *MsgNewCollection) Marshal() (dAtA []byte, err error)
func (*MsgNewCollection) MarshalToSizedBuffer ¶
func (m *MsgNewCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgNewCollection) ProtoMessage ¶
func (*MsgNewCollection) ProtoMessage()
func (*MsgNewCollection) Reset ¶
func (m *MsgNewCollection) Reset()
func (*MsgNewCollection) Size ¶
func (m *MsgNewCollection) Size() (n int)
func (*MsgNewCollection) String ¶
func (m *MsgNewCollection) String() string
func (*MsgNewCollection) Unmarshal ¶
func (m *MsgNewCollection) Unmarshal(dAtA []byte) error
func (*MsgNewCollection) XXX_DiscardUnknown ¶
func (m *MsgNewCollection) XXX_DiscardUnknown()
func (*MsgNewCollection) XXX_Marshal ¶
func (m *MsgNewCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgNewCollection) XXX_Merge ¶
func (m *MsgNewCollection) XXX_Merge(src proto.Message)
func (*MsgNewCollection) XXX_Size ¶
func (m *MsgNewCollection) XXX_Size() int
func (*MsgNewCollection) XXX_Unmarshal ¶
func (m *MsgNewCollection) XXX_Unmarshal(b []byte) error
type MsgNewCollectionResponse ¶
type MsgNewCollectionResponse struct {
CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"`
}
func (*MsgNewCollectionResponse) Descriptor ¶
func (*MsgNewCollectionResponse) Descriptor() ([]byte, []int)
func (*MsgNewCollectionResponse) Marshal ¶
func (m *MsgNewCollectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgNewCollectionResponse) MarshalTo ¶
func (m *MsgNewCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgNewCollectionResponse) MarshalToSizedBuffer ¶
func (m *MsgNewCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgNewCollectionResponse) ProtoMessage ¶
func (*MsgNewCollectionResponse) ProtoMessage()
func (*MsgNewCollectionResponse) Reset ¶
func (m *MsgNewCollectionResponse) Reset()
func (*MsgNewCollectionResponse) Size ¶
func (m *MsgNewCollectionResponse) Size() (n int)
func (*MsgNewCollectionResponse) String ¶
func (m *MsgNewCollectionResponse) String() string
func (*MsgNewCollectionResponse) Unmarshal ¶
func (m *MsgNewCollectionResponse) Unmarshal(dAtA []byte) error
func (*MsgNewCollectionResponse) XXX_DiscardUnknown ¶
func (m *MsgNewCollectionResponse) XXX_DiscardUnknown()
func (*MsgNewCollectionResponse) XXX_Marshal ¶
func (m *MsgNewCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgNewCollectionResponse) XXX_Merge ¶
func (m *MsgNewCollectionResponse) XXX_Merge(src proto.Message)
func (*MsgNewCollectionResponse) XXX_Size ¶
func (m *MsgNewCollectionResponse) XXX_Size() int
func (*MsgNewCollectionResponse) XXX_Unmarshal ¶
func (m *MsgNewCollectionResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { 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) }
MsgServer is the server API for Msg service.
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 Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` // Transfers to execute. Transfers []*Transfer `protobuf:"bytes,3,rep,name=transfers,proto3" json:"transfers,omitempty"` }
MsgTransferBadges is used to transfer badges.
func NewMsgTransferBadges ¶
func NewMsgTransferBadges(creator string, collectionId sdkmath.Uint, transfers []*Transfer) *MsgTransferBadges
func (*MsgTransferBadges) CheckAndCleanMsg ¶
func (msg *MsgTransferBadges) CheckAndCleanMsg(canChangeValues bool) error
func (*MsgTransferBadges) Descriptor ¶
func (*MsgTransferBadges) Descriptor() ([]byte, []int)
func (*MsgTransferBadges) GetCreator ¶
func (m *MsgTransferBadges) GetCreator() string
func (*MsgTransferBadges) GetSignBytes ¶
func (msg *MsgTransferBadges) GetSignBytes() []byte
func (*MsgTransferBadges) GetSigners ¶
func (msg *MsgTransferBadges) GetSigners() []sdk.AccAddress
func (*MsgTransferBadges) GetTransfers ¶
func (m *MsgTransferBadges) GetTransfers() []*Transfer
func (*MsgTransferBadges) Marshal ¶
func (m *MsgTransferBadges) Marshal() (dAtA []byte, err error)
func (*MsgTransferBadges) MarshalTo ¶
func (m *MsgTransferBadges) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferBadges) MarshalToSizedBuffer ¶
func (m *MsgTransferBadges) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferBadges) ProtoMessage ¶
func (*MsgTransferBadges) ProtoMessage()
func (*MsgTransferBadges) Reset ¶
func (m *MsgTransferBadges) Reset()
func (*MsgTransferBadges) Route ¶
func (msg *MsgTransferBadges) Route() string
func (*MsgTransferBadges) Size ¶
func (m *MsgTransferBadges) Size() (n int)
func (*MsgTransferBadges) String ¶
func (m *MsgTransferBadges) String() string
func (*MsgTransferBadges) Type ¶
func (msg *MsgTransferBadges) Type() string
func (*MsgTransferBadges) Unmarshal ¶
func (m *MsgTransferBadges) Unmarshal(dAtA []byte) error
func (*MsgTransferBadges) ValidateBasic ¶
func (msg *MsgTransferBadges) ValidateBasic() error
func (*MsgTransferBadges) XXX_DiscardUnknown ¶
func (m *MsgTransferBadges) XXX_DiscardUnknown()
func (*MsgTransferBadges) XXX_Marshal ¶
func (m *MsgTransferBadges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferBadges) XXX_Merge ¶
func (m *MsgTransferBadges) XXX_Merge(src proto.Message)
func (*MsgTransferBadges) XXX_Size ¶
func (m *MsgTransferBadges) XXX_Size() int
func (*MsgTransferBadges) XXX_Unmarshal ¶
func (m *MsgTransferBadges) XXX_Unmarshal(b []byte) error
type MsgTransferBadgesResponse ¶
type MsgTransferBadgesResponse struct { }
MsgTransferBadgesResponse is the response to MsgTransferBadges.
func (*MsgTransferBadgesResponse) Descriptor ¶
func (*MsgTransferBadgesResponse) Descriptor() ([]byte, []int)
func (*MsgTransferBadgesResponse) Marshal ¶
func (m *MsgTransferBadgesResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferBadgesResponse) MarshalTo ¶
func (m *MsgTransferBadgesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferBadgesResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferBadgesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferBadgesResponse) ProtoMessage ¶
func (*MsgTransferBadgesResponse) ProtoMessage()
func (*MsgTransferBadgesResponse) Reset ¶
func (m *MsgTransferBadgesResponse) Reset()
func (*MsgTransferBadgesResponse) Size ¶
func (m *MsgTransferBadgesResponse) Size() (n int)
func (*MsgTransferBadgesResponse) String ¶
func (m *MsgTransferBadgesResponse) String() string
func (*MsgTransferBadgesResponse) Unmarshal ¶
func (m *MsgTransferBadgesResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferBadgesResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferBadgesResponse) XXX_DiscardUnknown()
func (*MsgTransferBadgesResponse) XXX_Marshal ¶
func (m *MsgTransferBadgesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferBadgesResponse) XXX_Merge ¶
func (m *MsgTransferBadgesResponse) XXX_Merge(src proto.Message)
func (*MsgTransferBadgesResponse) XXX_Size ¶
func (m *MsgTransferBadgesResponse) XXX_Size() int
func (*MsgTransferBadgesResponse) XXX_Unmarshal ¶
func (m *MsgTransferBadgesResponse) XXX_Unmarshal(b []byte) error
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 Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` // Type of balances "Standard" or "Off-Chain - Indexed" or "Off-Chain - Non-Indexed". 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"` // Balances to create for the collection. Will be sent to the "Mint" address. BadgesToCreate []*Balance `protobuf:"bytes,6,rep,name=badgesToCreate,proto3" json:"badgesToCreate,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"` }
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 NewMsgUniversalUpdateCollection ¶
func NewMsgUniversalUpdateCollection(creator string) *MsgUniversalUpdateCollection
func (*MsgUniversalUpdateCollection) CheckAndCleanMsg ¶
func (msg *MsgUniversalUpdateCollection) CheckAndCleanMsg(canChangeValues bool) error
func (*MsgUniversalUpdateCollection) Descriptor ¶
func (*MsgUniversalUpdateCollection) Descriptor() ([]byte, []int)
func (*MsgUniversalUpdateCollection) GetBadgeMetadataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgUniversalUpdateCollection) GetBadgesToCreate ¶
func (m *MsgUniversalUpdateCollection) GetBadgesToCreate() []*Balance
func (*MsgUniversalUpdateCollection) GetBalancesType ¶
func (m *MsgUniversalUpdateCollection) GetBalancesType() string
func (*MsgUniversalUpdateCollection) GetCollectionApprovals ¶
func (m *MsgUniversalUpdateCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgUniversalUpdateCollection) GetCollectionMetadataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgUniversalUpdateCollection) GetCollectionPermissions ¶
func (m *MsgUniversalUpdateCollection) GetCollectionPermissions() *CollectionPermissions
func (*MsgUniversalUpdateCollection) GetCreator ¶
func (m *MsgUniversalUpdateCollection) GetCreator() string
func (*MsgUniversalUpdateCollection) GetCustomDataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgUniversalUpdateCollection) GetDefaultBalances ¶
func (m *MsgUniversalUpdateCollection) GetDefaultBalances() *UserBalanceStore
func (*MsgUniversalUpdateCollection) GetIsArchivedTimeline ¶
func (m *MsgUniversalUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgUniversalUpdateCollection) GetManagerTimeline ¶
func (m *MsgUniversalUpdateCollection) GetManagerTimeline() []*ManagerTimeline
func (*MsgUniversalUpdateCollection) GetOffChainBalancesMetadataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgUniversalUpdateCollection) GetSignBytes ¶
func (msg *MsgUniversalUpdateCollection) GetSignBytes() []byte
func (*MsgUniversalUpdateCollection) GetSigners ¶
func (msg *MsgUniversalUpdateCollection) GetSigners() []sdk.AccAddress
func (*MsgUniversalUpdateCollection) GetStandardsTimeline ¶
func (m *MsgUniversalUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgUniversalUpdateCollection) GetUpdateBadgeMetadataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateCollectionApprovals ¶
func (m *MsgUniversalUpdateCollection) GetUpdateCollectionApprovals() bool
func (*MsgUniversalUpdateCollection) GetUpdateCollectionMetadataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateCollectionPermissions ¶
func (m *MsgUniversalUpdateCollection) GetUpdateCollectionPermissions() bool
func (*MsgUniversalUpdateCollection) GetUpdateCustomDataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetUpdateCustomDataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateIsArchivedTimeline ¶
func (m *MsgUniversalUpdateCollection) GetUpdateIsArchivedTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateManagerTimeline ¶
func (m *MsgUniversalUpdateCollection) GetUpdateManagerTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline ¶
func (m *MsgUniversalUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
func (*MsgUniversalUpdateCollection) GetUpdateStandardsTimeline ¶
func (m *MsgUniversalUpdateCollection) GetUpdateStandardsTimeline() bool
func (*MsgUniversalUpdateCollection) Marshal ¶
func (m *MsgUniversalUpdateCollection) Marshal() (dAtA []byte, err error)
func (*MsgUniversalUpdateCollection) MarshalTo ¶
func (m *MsgUniversalUpdateCollection) MarshalTo(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollection) MarshalToSizedBuffer ¶
func (m *MsgUniversalUpdateCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollection) ProtoMessage ¶
func (*MsgUniversalUpdateCollection) ProtoMessage()
func (*MsgUniversalUpdateCollection) Reset ¶
func (m *MsgUniversalUpdateCollection) Reset()
func (*MsgUniversalUpdateCollection) Route ¶
func (msg *MsgUniversalUpdateCollection) Route() string
func (*MsgUniversalUpdateCollection) Size ¶
func (m *MsgUniversalUpdateCollection) Size() (n int)
func (*MsgUniversalUpdateCollection) String ¶
func (m *MsgUniversalUpdateCollection) String() string
func (*MsgUniversalUpdateCollection) Type ¶
func (msg *MsgUniversalUpdateCollection) Type() string
func (*MsgUniversalUpdateCollection) Unmarshal ¶
func (m *MsgUniversalUpdateCollection) Unmarshal(dAtA []byte) error
func (*MsgUniversalUpdateCollection) ValidateBasic ¶
func (msg *MsgUniversalUpdateCollection) ValidateBasic() error
func (*MsgUniversalUpdateCollection) XXX_DiscardUnknown ¶
func (m *MsgUniversalUpdateCollection) XXX_DiscardUnknown()
func (*MsgUniversalUpdateCollection) XXX_Marshal ¶
func (m *MsgUniversalUpdateCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUniversalUpdateCollection) XXX_Merge ¶
func (m *MsgUniversalUpdateCollection) XXX_Merge(src proto.Message)
func (*MsgUniversalUpdateCollection) XXX_Size ¶
func (m *MsgUniversalUpdateCollection) XXX_Size() int
func (*MsgUniversalUpdateCollection) XXX_Unmarshal ¶
func (m *MsgUniversalUpdateCollection) XXX_Unmarshal(b []byte) error
type MsgUniversalUpdateCollectionApprovals ¶
type MsgUniversalUpdateCollectionApprovals struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CollectionId Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` CollectionApprovals []*CollectionApproval `protobuf:"bytes,3,rep,name=collectionApprovals,proto3" json:"collectionApprovals,omitempty"` AddressLists []*AddressList `protobuf:"bytes,4,rep,name=addressLists,proto3" json:"addressLists,omitempty"` }
func (*MsgUniversalUpdateCollectionApprovals) Descriptor ¶
func (*MsgUniversalUpdateCollectionApprovals) Descriptor() ([]byte, []int)
func (*MsgUniversalUpdateCollectionApprovals) GetAddressLists ¶
func (m *MsgUniversalUpdateCollectionApprovals) GetAddressLists() []*AddressList
func (*MsgUniversalUpdateCollectionApprovals) GetCollectionApprovals ¶
func (m *MsgUniversalUpdateCollectionApprovals) GetCollectionApprovals() []*CollectionApproval
func (*MsgUniversalUpdateCollectionApprovals) GetCreator ¶
func (m *MsgUniversalUpdateCollectionApprovals) GetCreator() string
func (*MsgUniversalUpdateCollectionApprovals) Marshal ¶
func (m *MsgUniversalUpdateCollectionApprovals) Marshal() (dAtA []byte, err error)
func (*MsgUniversalUpdateCollectionApprovals) MarshalTo ¶
func (m *MsgUniversalUpdateCollectionApprovals) MarshalTo(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionApprovals) MarshalToSizedBuffer ¶
func (m *MsgUniversalUpdateCollectionApprovals) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionApprovals) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionApprovals) ProtoMessage()
func (*MsgUniversalUpdateCollectionApprovals) Reset ¶
func (m *MsgUniversalUpdateCollectionApprovals) Reset()
func (*MsgUniversalUpdateCollectionApprovals) Size ¶
func (m *MsgUniversalUpdateCollectionApprovals) Size() (n int)
func (*MsgUniversalUpdateCollectionApprovals) String ¶
func (m *MsgUniversalUpdateCollectionApprovals) String() string
func (*MsgUniversalUpdateCollectionApprovals) Unmarshal ¶
func (m *MsgUniversalUpdateCollectionApprovals) Unmarshal(dAtA []byte) error
func (*MsgUniversalUpdateCollectionApprovals) XXX_DiscardUnknown ¶
func (m *MsgUniversalUpdateCollectionApprovals) XXX_DiscardUnknown()
func (*MsgUniversalUpdateCollectionApprovals) XXX_Marshal ¶
func (m *MsgUniversalUpdateCollectionApprovals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUniversalUpdateCollectionApprovals) XXX_Merge ¶
func (m *MsgUniversalUpdateCollectionApprovals) XXX_Merge(src proto.Message)
func (*MsgUniversalUpdateCollectionApprovals) XXX_Size ¶
func (m *MsgUniversalUpdateCollectionApprovals) XXX_Size() int
func (*MsgUniversalUpdateCollectionApprovals) XXX_Unmarshal ¶
func (m *MsgUniversalUpdateCollectionApprovals) XXX_Unmarshal(b []byte) error
type MsgUniversalUpdateCollectionApprovalsResponse ¶
type MsgUniversalUpdateCollectionApprovalsResponse struct { }
func (*MsgUniversalUpdateCollectionApprovalsResponse) Descriptor ¶
func (*MsgUniversalUpdateCollectionApprovalsResponse) Descriptor() ([]byte, []int)
func (*MsgUniversalUpdateCollectionApprovalsResponse) Marshal ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUniversalUpdateCollectionApprovalsResponse) MarshalTo ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionApprovalsResponse) MarshalToSizedBuffer ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionApprovalsResponse) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionApprovalsResponse) ProtoMessage()
func (*MsgUniversalUpdateCollectionApprovalsResponse) Reset ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) Reset()
func (*MsgUniversalUpdateCollectionApprovalsResponse) Size ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) Size() (n int)
func (*MsgUniversalUpdateCollectionApprovalsResponse) String ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) String() string
func (*MsgUniversalUpdateCollectionApprovalsResponse) Unmarshal ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) Unmarshal(dAtA []byte) error
func (*MsgUniversalUpdateCollectionApprovalsResponse) XXX_DiscardUnknown ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_DiscardUnknown()
func (*MsgUniversalUpdateCollectionApprovalsResponse) XXX_Marshal ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUniversalUpdateCollectionApprovalsResponse) XXX_Merge ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Merge(src proto.Message)
func (*MsgUniversalUpdateCollectionApprovalsResponse) XXX_Size ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Size() int
func (*MsgUniversalUpdateCollectionApprovalsResponse) XXX_Unmarshal ¶
func (m *MsgUniversalUpdateCollectionApprovalsResponse) XXX_Unmarshal(b []byte) error
type MsgUniversalUpdateCollectionPermissions ¶
type MsgUniversalUpdateCollectionPermissions struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CollectionId Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` Permissions *CollectionPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` AddressLists []*AddressList `protobuf:"bytes,4,rep,name=addressLists,proto3" json:"addressLists,omitempty"` }
Update badge permissions with new permissions, if permitted.
func (*MsgUniversalUpdateCollectionPermissions) Descriptor ¶
func (*MsgUniversalUpdateCollectionPermissions) Descriptor() ([]byte, []int)
func (*MsgUniversalUpdateCollectionPermissions) GetAddressLists ¶
func (m *MsgUniversalUpdateCollectionPermissions) GetAddressLists() []*AddressList
func (*MsgUniversalUpdateCollectionPermissions) GetCreator ¶
func (m *MsgUniversalUpdateCollectionPermissions) GetCreator() string
func (*MsgUniversalUpdateCollectionPermissions) GetPermissions ¶
func (m *MsgUniversalUpdateCollectionPermissions) GetPermissions() *CollectionPermissions
func (*MsgUniversalUpdateCollectionPermissions) Marshal ¶
func (m *MsgUniversalUpdateCollectionPermissions) Marshal() (dAtA []byte, err error)
func (*MsgUniversalUpdateCollectionPermissions) MarshalTo ¶
func (m *MsgUniversalUpdateCollectionPermissions) MarshalTo(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionPermissions) MarshalToSizedBuffer ¶
func (m *MsgUniversalUpdateCollectionPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionPermissions) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionPermissions) ProtoMessage()
func (*MsgUniversalUpdateCollectionPermissions) Reset ¶
func (m *MsgUniversalUpdateCollectionPermissions) Reset()
func (*MsgUniversalUpdateCollectionPermissions) Size ¶
func (m *MsgUniversalUpdateCollectionPermissions) Size() (n int)
func (*MsgUniversalUpdateCollectionPermissions) String ¶
func (m *MsgUniversalUpdateCollectionPermissions) String() string
func (*MsgUniversalUpdateCollectionPermissions) Unmarshal ¶
func (m *MsgUniversalUpdateCollectionPermissions) Unmarshal(dAtA []byte) error
func (*MsgUniversalUpdateCollectionPermissions) XXX_DiscardUnknown ¶
func (m *MsgUniversalUpdateCollectionPermissions) XXX_DiscardUnknown()
func (*MsgUniversalUpdateCollectionPermissions) XXX_Marshal ¶
func (m *MsgUniversalUpdateCollectionPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUniversalUpdateCollectionPermissions) XXX_Merge ¶
func (m *MsgUniversalUpdateCollectionPermissions) XXX_Merge(src proto.Message)
func (*MsgUniversalUpdateCollectionPermissions) XXX_Size ¶
func (m *MsgUniversalUpdateCollectionPermissions) XXX_Size() int
func (*MsgUniversalUpdateCollectionPermissions) XXX_Unmarshal ¶
func (m *MsgUniversalUpdateCollectionPermissions) XXX_Unmarshal(b []byte) error
type MsgUniversalUpdateCollectionPermissionsResponse ¶
type MsgUniversalUpdateCollectionPermissionsResponse struct { }
func (*MsgUniversalUpdateCollectionPermissionsResponse) Descriptor ¶
func (*MsgUniversalUpdateCollectionPermissionsResponse) Descriptor() ([]byte, []int)
func (*MsgUniversalUpdateCollectionPermissionsResponse) Marshal ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUniversalUpdateCollectionPermissionsResponse) MarshalTo ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionPermissionsResponse) MarshalToSizedBuffer ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionPermissionsResponse) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionPermissionsResponse) ProtoMessage()
func (*MsgUniversalUpdateCollectionPermissionsResponse) Reset ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) Reset()
func (*MsgUniversalUpdateCollectionPermissionsResponse) Size ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) Size() (n int)
func (*MsgUniversalUpdateCollectionPermissionsResponse) String ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) String() string
func (*MsgUniversalUpdateCollectionPermissionsResponse) Unmarshal ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) Unmarshal(dAtA []byte) error
func (*MsgUniversalUpdateCollectionPermissionsResponse) XXX_DiscardUnknown ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_DiscardUnknown()
func (*MsgUniversalUpdateCollectionPermissionsResponse) XXX_Marshal ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUniversalUpdateCollectionPermissionsResponse) XXX_Merge ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Merge(src proto.Message)
func (*MsgUniversalUpdateCollectionPermissionsResponse) XXX_Size ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Size() int
func (*MsgUniversalUpdateCollectionPermissionsResponse) XXX_Unmarshal ¶
func (m *MsgUniversalUpdateCollectionPermissionsResponse) XXX_Unmarshal(b []byte) error
type MsgUniversalUpdateCollectionResponse ¶
type MsgUniversalUpdateCollectionResponse struct { // ID of the badge collection. CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` }
MsgUniversalUpdateCollectionResponse is the response to MsgUniversalUpdateCollection.
func (*MsgUniversalUpdateCollectionResponse) Descriptor ¶
func (*MsgUniversalUpdateCollectionResponse) Descriptor() ([]byte, []int)
func (*MsgUniversalUpdateCollectionResponse) Marshal ¶
func (m *MsgUniversalUpdateCollectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgUniversalUpdateCollectionResponse) MarshalTo ¶
func (m *MsgUniversalUpdateCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionResponse) MarshalToSizedBuffer ¶
func (m *MsgUniversalUpdateCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUniversalUpdateCollectionResponse) ProtoMessage ¶
func (*MsgUniversalUpdateCollectionResponse) ProtoMessage()
func (*MsgUniversalUpdateCollectionResponse) Reset ¶
func (m *MsgUniversalUpdateCollectionResponse) Reset()
func (*MsgUniversalUpdateCollectionResponse) Size ¶
func (m *MsgUniversalUpdateCollectionResponse) Size() (n int)
func (*MsgUniversalUpdateCollectionResponse) String ¶
func (m *MsgUniversalUpdateCollectionResponse) String() string
func (*MsgUniversalUpdateCollectionResponse) Unmarshal ¶
func (m *MsgUniversalUpdateCollectionResponse) Unmarshal(dAtA []byte) error
func (*MsgUniversalUpdateCollectionResponse) XXX_DiscardUnknown ¶
func (m *MsgUniversalUpdateCollectionResponse) XXX_DiscardUnknown()
func (*MsgUniversalUpdateCollectionResponse) XXX_Marshal ¶
func (m *MsgUniversalUpdateCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUniversalUpdateCollectionResponse) XXX_Merge ¶
func (m *MsgUniversalUpdateCollectionResponse) XXX_Merge(src proto.Message)
func (*MsgUniversalUpdateCollectionResponse) XXX_Size ¶
func (m *MsgUniversalUpdateCollectionResponse) XXX_Size() int
func (*MsgUniversalUpdateCollectionResponse) XXX_Unmarshal ¶
func (m *MsgUniversalUpdateCollectionResponse) XXX_Unmarshal(b []byte) error
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 Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` // Balances to create for the collection. Will be sent to the "Mint" address. BadgesToCreate []*Balance `protobuf:"bytes,6,rep,name=badgesToCreate,proto3" json:"badgesToCreate,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"` }
MsgUpdateCollection is used to update a collection.
func NewMsgUpdateCollection ¶
func NewMsgUpdateCollection(creator string) *MsgUpdateCollection
func (*MsgUpdateCollection) Descriptor ¶
func (*MsgUpdateCollection) Descriptor() ([]byte, []int)
func (*MsgUpdateCollection) GetBadgeMetadataTimeline ¶
func (m *MsgUpdateCollection) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgUpdateCollection) GetBadgesToCreate ¶
func (m *MsgUpdateCollection) GetBadgesToCreate() []*Balance
func (*MsgUpdateCollection) GetCollectionApprovals ¶
func (m *MsgUpdateCollection) GetCollectionApprovals() []*CollectionApproval
func (*MsgUpdateCollection) GetCollectionMetadataTimeline ¶
func (m *MsgUpdateCollection) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgUpdateCollection) GetCollectionPermissions ¶
func (m *MsgUpdateCollection) GetCollectionPermissions() *CollectionPermissions
func (*MsgUpdateCollection) GetCreator ¶
func (m *MsgUpdateCollection) GetCreator() string
func (*MsgUpdateCollection) GetCustomDataTimeline ¶
func (m *MsgUpdateCollection) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgUpdateCollection) GetIsArchivedTimeline ¶
func (m *MsgUpdateCollection) GetIsArchivedTimeline() []*IsArchivedTimeline
func (*MsgUpdateCollection) GetManagerTimeline ¶
func (m *MsgUpdateCollection) GetManagerTimeline() []*ManagerTimeline
func (*MsgUpdateCollection) GetOffChainBalancesMetadataTimeline ¶
func (m *MsgUpdateCollection) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgUpdateCollection) GetSignBytes ¶
func (msg *MsgUpdateCollection) GetSignBytes() []byte
func (*MsgUpdateCollection) GetSigners ¶
func (msg *MsgUpdateCollection) GetSigners() []sdk.AccAddress
func (*MsgUpdateCollection) GetStandardsTimeline ¶
func (m *MsgUpdateCollection) GetStandardsTimeline() []*StandardsTimeline
func (*MsgUpdateCollection) GetUpdateBadgeMetadataTimeline ¶
func (m *MsgUpdateCollection) GetUpdateBadgeMetadataTimeline() bool
func (*MsgUpdateCollection) GetUpdateCollectionApprovals ¶
func (m *MsgUpdateCollection) GetUpdateCollectionApprovals() bool
func (*MsgUpdateCollection) GetUpdateCollectionMetadataTimeline ¶
func (m *MsgUpdateCollection) GetUpdateCollectionMetadataTimeline() bool
func (*MsgUpdateCollection) GetUpdateCollectionPermissions ¶
func (m *MsgUpdateCollection) GetUpdateCollectionPermissions() bool
func (*MsgUpdateCollection) GetUpdateCustomDataTimeline ¶
func (m *MsgUpdateCollection) GetUpdateCustomDataTimeline() bool
func (*MsgUpdateCollection) GetUpdateIsArchivedTimeline ¶
func (m *MsgUpdateCollection) GetUpdateIsArchivedTimeline() bool
func (*MsgUpdateCollection) GetUpdateManagerTimeline ¶
func (m *MsgUpdateCollection) GetUpdateManagerTimeline() bool
func (*MsgUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline ¶
func (m *MsgUpdateCollection) GetUpdateOffChainBalancesMetadataTimeline() bool
func (*MsgUpdateCollection) GetUpdateStandardsTimeline ¶
func (m *MsgUpdateCollection) GetUpdateStandardsTimeline() bool
func (*MsgUpdateCollection) Marshal ¶
func (m *MsgUpdateCollection) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollection) MarshalTo ¶
func (m *MsgUpdateCollection) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollection) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollection) ProtoMessage ¶
func (*MsgUpdateCollection) ProtoMessage()
func (*MsgUpdateCollection) Reset ¶
func (m *MsgUpdateCollection) Reset()
func (*MsgUpdateCollection) Route ¶
func (msg *MsgUpdateCollection) Route() string
func (*MsgUpdateCollection) Size ¶
func (m *MsgUpdateCollection) Size() (n int)
func (*MsgUpdateCollection) String ¶
func (m *MsgUpdateCollection) String() string
func (*MsgUpdateCollection) Type ¶
func (msg *MsgUpdateCollection) Type() string
func (*MsgUpdateCollection) Unmarshal ¶
func (m *MsgUpdateCollection) Unmarshal(dAtA []byte) error
func (*MsgUpdateCollection) ValidateBasic ¶
func (msg *MsgUpdateCollection) ValidateBasic() error
func (*MsgUpdateCollection) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollection) XXX_DiscardUnknown()
func (*MsgUpdateCollection) XXX_Marshal ¶
func (m *MsgUpdateCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollection) XXX_Merge ¶
func (m *MsgUpdateCollection) XXX_Merge(src proto.Message)
func (*MsgUpdateCollection) XXX_Size ¶
func (m *MsgUpdateCollection) XXX_Size() int
func (*MsgUpdateCollection) XXX_Unmarshal ¶
func (m *MsgUpdateCollection) XXX_Unmarshal(b []byte) error
type MsgUpdateCollectionResponse ¶
type MsgUpdateCollectionResponse struct { // ID of the badge collection. CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` }
MsgUpdateCollectionResponse is the response to MsgUpdateCollection.
func (*MsgUpdateCollectionResponse) Descriptor ¶
func (*MsgUpdateCollectionResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCollectionResponse) Marshal ¶
func (m *MsgUpdateCollectionResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCollectionResponse) MarshalTo ¶
func (m *MsgUpdateCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCollectionResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCollectionResponse) ProtoMessage ¶
func (*MsgUpdateCollectionResponse) ProtoMessage()
func (*MsgUpdateCollectionResponse) Reset ¶
func (m *MsgUpdateCollectionResponse) Reset()
func (*MsgUpdateCollectionResponse) Size ¶
func (m *MsgUpdateCollectionResponse) Size() (n int)
func (*MsgUpdateCollectionResponse) String ¶
func (m *MsgUpdateCollectionResponse) String() string
func (*MsgUpdateCollectionResponse) Unmarshal ¶
func (m *MsgUpdateCollectionResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCollectionResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateCollectionResponse) XXX_DiscardUnknown()
func (*MsgUpdateCollectionResponse) XXX_Marshal ¶
func (m *MsgUpdateCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCollectionResponse) XXX_Merge ¶
func (m *MsgUpdateCollectionResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCollectionResponse) XXX_Size ¶
func (m *MsgUpdateCollectionResponse) XXX_Size() int
func (*MsgUpdateCollectionResponse) XXX_Unmarshal ¶
func (m *MsgUpdateCollectionResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateManager ¶
type MsgUpdateManager struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CollectionId Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` ManagerTimeline []*ManagerTimeline `protobuf:"bytes,3,rep,name=managerTimeline,proto3" json:"managerTimeline,omitempty"` }
Transfer manager to this address. Recipient must have made a request.
func (*MsgUpdateManager) Descriptor ¶
func (*MsgUpdateManager) Descriptor() ([]byte, []int)
func (*MsgUpdateManager) GetCreator ¶
func (m *MsgUpdateManager) GetCreator() string
func (*MsgUpdateManager) GetManagerTimeline ¶
func (m *MsgUpdateManager) GetManagerTimeline() []*ManagerTimeline
func (*MsgUpdateManager) Marshal ¶
func (m *MsgUpdateManager) Marshal() (dAtA []byte, err error)
func (*MsgUpdateManager) MarshalToSizedBuffer ¶
func (m *MsgUpdateManager) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateManager) ProtoMessage ¶
func (*MsgUpdateManager) ProtoMessage()
func (*MsgUpdateManager) Reset ¶
func (m *MsgUpdateManager) Reset()
func (*MsgUpdateManager) Size ¶
func (m *MsgUpdateManager) Size() (n int)
func (*MsgUpdateManager) String ¶
func (m *MsgUpdateManager) String() string
func (*MsgUpdateManager) Unmarshal ¶
func (m *MsgUpdateManager) Unmarshal(dAtA []byte) error
func (*MsgUpdateManager) XXX_DiscardUnknown ¶
func (m *MsgUpdateManager) XXX_DiscardUnknown()
func (*MsgUpdateManager) XXX_Marshal ¶
func (m *MsgUpdateManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateManager) XXX_Merge ¶
func (m *MsgUpdateManager) XXX_Merge(src proto.Message)
func (*MsgUpdateManager) XXX_Size ¶
func (m *MsgUpdateManager) XXX_Size() int
func (*MsgUpdateManager) XXX_Unmarshal ¶
func (m *MsgUpdateManager) XXX_Unmarshal(b []byte) error
type MsgUpdateManagerResponse ¶
type MsgUpdateManagerResponse struct { }
func (*MsgUpdateManagerResponse) Descriptor ¶
func (*MsgUpdateManagerResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateManagerResponse) Marshal ¶
func (m *MsgUpdateManagerResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateManagerResponse) MarshalTo ¶
func (m *MsgUpdateManagerResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateManagerResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateManagerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateManagerResponse) ProtoMessage ¶
func (*MsgUpdateManagerResponse) ProtoMessage()
func (*MsgUpdateManagerResponse) Reset ¶
func (m *MsgUpdateManagerResponse) Reset()
func (*MsgUpdateManagerResponse) Size ¶
func (m *MsgUpdateManagerResponse) Size() (n int)
func (*MsgUpdateManagerResponse) String ¶
func (m *MsgUpdateManagerResponse) String() string
func (*MsgUpdateManagerResponse) Unmarshal ¶
func (m *MsgUpdateManagerResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateManagerResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateManagerResponse) XXX_DiscardUnknown()
func (*MsgUpdateManagerResponse) XXX_Marshal ¶
func (m *MsgUpdateManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateManagerResponse) XXX_Merge ¶
func (m *MsgUpdateManagerResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateManagerResponse) XXX_Size ¶
func (m *MsgUpdateManagerResponse) XXX_Size() int
func (*MsgUpdateManagerResponse) XXX_Unmarshal ¶
func (m *MsgUpdateManagerResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateMetadata ¶
type MsgUpdateMetadata struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CollectionId Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` 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"` }
Update badge Uris with new URI object, if permitted.
func (*MsgUpdateMetadata) Descriptor ¶
func (*MsgUpdateMetadata) Descriptor() ([]byte, []int)
func (*MsgUpdateMetadata) GetBadgeMetadataTimeline ¶
func (m *MsgUpdateMetadata) GetBadgeMetadataTimeline() []*BadgeMetadataTimeline
func (*MsgUpdateMetadata) GetCollectionMetadataTimeline ¶
func (m *MsgUpdateMetadata) GetCollectionMetadataTimeline() []*CollectionMetadataTimeline
func (*MsgUpdateMetadata) GetContractAddressTimeline ¶
func (m *MsgUpdateMetadata) GetContractAddressTimeline() []*ContractAddressTimeline
func (*MsgUpdateMetadata) GetCreator ¶
func (m *MsgUpdateMetadata) GetCreator() string
func (*MsgUpdateMetadata) GetCustomDataTimeline ¶
func (m *MsgUpdateMetadata) GetCustomDataTimeline() []*CustomDataTimeline
func (*MsgUpdateMetadata) GetOffChainBalancesMetadataTimeline ¶
func (m *MsgUpdateMetadata) GetOffChainBalancesMetadataTimeline() []*OffChainBalancesMetadataTimeline
func (*MsgUpdateMetadata) GetStandardsTimeline ¶
func (m *MsgUpdateMetadata) GetStandardsTimeline() []*StandardsTimeline
func (*MsgUpdateMetadata) Marshal ¶
func (m *MsgUpdateMetadata) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMetadata) MarshalTo ¶
func (m *MsgUpdateMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMetadata) MarshalToSizedBuffer ¶
func (m *MsgUpdateMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMetadata) ProtoMessage ¶
func (*MsgUpdateMetadata) ProtoMessage()
func (*MsgUpdateMetadata) Reset ¶
func (m *MsgUpdateMetadata) Reset()
func (*MsgUpdateMetadata) Size ¶
func (m *MsgUpdateMetadata) Size() (n int)
func (*MsgUpdateMetadata) String ¶
func (m *MsgUpdateMetadata) String() string
func (*MsgUpdateMetadata) Unmarshal ¶
func (m *MsgUpdateMetadata) Unmarshal(dAtA []byte) error
func (*MsgUpdateMetadata) XXX_DiscardUnknown ¶
func (m *MsgUpdateMetadata) XXX_DiscardUnknown()
func (*MsgUpdateMetadata) XXX_Marshal ¶
func (m *MsgUpdateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMetadata) XXX_Merge ¶
func (m *MsgUpdateMetadata) XXX_Merge(src proto.Message)
func (*MsgUpdateMetadata) XXX_Size ¶
func (m *MsgUpdateMetadata) XXX_Size() int
func (*MsgUpdateMetadata) XXX_Unmarshal ¶
func (m *MsgUpdateMetadata) XXX_Unmarshal(b []byte) error
type MsgUpdateMetadataResponse ¶
type MsgUpdateMetadataResponse struct { }
func (*MsgUpdateMetadataResponse) Descriptor ¶
func (*MsgUpdateMetadataResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateMetadataResponse) Marshal ¶
func (m *MsgUpdateMetadataResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMetadataResponse) MarshalTo ¶
func (m *MsgUpdateMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMetadataResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMetadataResponse) ProtoMessage ¶
func (*MsgUpdateMetadataResponse) ProtoMessage()
func (*MsgUpdateMetadataResponse) Reset ¶
func (m *MsgUpdateMetadataResponse) Reset()
func (*MsgUpdateMetadataResponse) Size ¶
func (m *MsgUpdateMetadataResponse) Size() (n int)
func (*MsgUpdateMetadataResponse) String ¶
func (m *MsgUpdateMetadataResponse) String() string
func (*MsgUpdateMetadataResponse) Unmarshal ¶
func (m *MsgUpdateMetadataResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateMetadataResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateMetadataResponse) XXX_DiscardUnknown()
func (*MsgUpdateMetadataResponse) XXX_Marshal ¶
func (m *MsgUpdateMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMetadataResponse) XXX_Merge ¶
func (m *MsgUpdateMetadataResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateMetadataResponse) XXX_Size ¶
func (m *MsgUpdateMetadataResponse) XXX_Size() int
func (*MsgUpdateMetadataResponse) XXX_Unmarshal ¶
func (m *MsgUpdateMetadataResponse) XXX_Unmarshal(b []byte) error
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 Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` // 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"` }
MsgUpdateUserApprovals is used to update user approvals.
func NewMsgUpdateUserApprovals ¶
func NewMsgUpdateUserApprovals(creator string) *MsgUpdateUserApprovals
func (*MsgUpdateUserApprovals) CheckAndCleanMsg ¶
func (msg *MsgUpdateUserApprovals) CheckAndCleanMsg(canChangeValues bool) error
func (*MsgUpdateUserApprovals) Descriptor ¶
func (*MsgUpdateUserApprovals) Descriptor() ([]byte, []int)
func (*MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedIncomingTransfers ¶
func (m *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedIncomingTransfers() bool
func (*MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedOutgoingTransfers ¶
func (m *MsgUpdateUserApprovals) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
func (*MsgUpdateUserApprovals) GetCreator ¶
func (m *MsgUpdateUserApprovals) GetCreator() string
func (*MsgUpdateUserApprovals) GetIncomingApprovals ¶
func (m *MsgUpdateUserApprovals) GetIncomingApprovals() []*UserIncomingApproval
func (*MsgUpdateUserApprovals) GetOutgoingApprovals ¶
func (m *MsgUpdateUserApprovals) GetOutgoingApprovals() []*UserOutgoingApproval
func (*MsgUpdateUserApprovals) GetSignBytes ¶
func (msg *MsgUpdateUserApprovals) GetSignBytes() []byte
func (*MsgUpdateUserApprovals) GetSigners ¶
func (msg *MsgUpdateUserApprovals) GetSigners() []sdk.AccAddress
func (*MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedIncomingTransfers ¶
func (m *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedIncomingTransfers() bool
func (*MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedOutgoingTransfers ¶
func (m *MsgUpdateUserApprovals) GetUpdateAutoApproveSelfInitiatedOutgoingTransfers() bool
func (*MsgUpdateUserApprovals) GetUpdateIncomingApprovals ¶
func (m *MsgUpdateUserApprovals) GetUpdateIncomingApprovals() bool
func (*MsgUpdateUserApprovals) GetUpdateOutgoingApprovals ¶
func (m *MsgUpdateUserApprovals) GetUpdateOutgoingApprovals() bool
func (*MsgUpdateUserApprovals) GetUpdateUserPermissions ¶
func (m *MsgUpdateUserApprovals) GetUpdateUserPermissions() bool
func (*MsgUpdateUserApprovals) GetUserPermissions ¶
func (m *MsgUpdateUserApprovals) GetUserPermissions() *UserPermissions
func (*MsgUpdateUserApprovals) Marshal ¶
func (m *MsgUpdateUserApprovals) Marshal() (dAtA []byte, err error)
func (*MsgUpdateUserApprovals) MarshalTo ¶
func (m *MsgUpdateUserApprovals) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateUserApprovals) MarshalToSizedBuffer ¶
func (m *MsgUpdateUserApprovals) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateUserApprovals) ProtoMessage ¶
func (*MsgUpdateUserApprovals) ProtoMessage()
func (*MsgUpdateUserApprovals) Reset ¶
func (m *MsgUpdateUserApprovals) Reset()
func (*MsgUpdateUserApprovals) Route ¶
func (msg *MsgUpdateUserApprovals) Route() string
func (*MsgUpdateUserApprovals) Size ¶
func (m *MsgUpdateUserApprovals) Size() (n int)
func (*MsgUpdateUserApprovals) String ¶
func (m *MsgUpdateUserApprovals) String() string
func (*MsgUpdateUserApprovals) Type ¶
func (msg *MsgUpdateUserApprovals) Type() string
func (*MsgUpdateUserApprovals) Unmarshal ¶
func (m *MsgUpdateUserApprovals) Unmarshal(dAtA []byte) error
func (*MsgUpdateUserApprovals) ValidateBasic ¶
func (msg *MsgUpdateUserApprovals) ValidateBasic() error
func (*MsgUpdateUserApprovals) XXX_DiscardUnknown ¶
func (m *MsgUpdateUserApprovals) XXX_DiscardUnknown()
func (*MsgUpdateUserApprovals) XXX_Marshal ¶
func (m *MsgUpdateUserApprovals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateUserApprovals) XXX_Merge ¶
func (m *MsgUpdateUserApprovals) XXX_Merge(src proto.Message)
func (*MsgUpdateUserApprovals) XXX_Size ¶
func (m *MsgUpdateUserApprovals) XXX_Size() int
func (*MsgUpdateUserApprovals) XXX_Unmarshal ¶
func (m *MsgUpdateUserApprovals) XXX_Unmarshal(b []byte) error
type MsgUpdateUserApprovalsResponse ¶
type MsgUpdateUserApprovalsResponse struct { }
MsgUpdateUserApprovalsResponse is the response to MsgUpdateUserApprovals.
func (*MsgUpdateUserApprovalsResponse) Descriptor ¶
func (*MsgUpdateUserApprovalsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateUserApprovalsResponse) Marshal ¶
func (m *MsgUpdateUserApprovalsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateUserApprovalsResponse) MarshalTo ¶
func (m *MsgUpdateUserApprovalsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateUserApprovalsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateUserApprovalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateUserApprovalsResponse) ProtoMessage ¶
func (*MsgUpdateUserApprovalsResponse) ProtoMessage()
func (*MsgUpdateUserApprovalsResponse) Reset ¶
func (m *MsgUpdateUserApprovalsResponse) Reset()
func (*MsgUpdateUserApprovalsResponse) Size ¶
func (m *MsgUpdateUserApprovalsResponse) Size() (n int)
func (*MsgUpdateUserApprovalsResponse) String ¶
func (m *MsgUpdateUserApprovalsResponse) String() string
func (*MsgUpdateUserApprovalsResponse) Unmarshal ¶
func (m *MsgUpdateUserApprovalsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateUserApprovalsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateUserApprovalsResponse) XXX_DiscardUnknown()
func (*MsgUpdateUserApprovalsResponse) XXX_Marshal ¶
func (m *MsgUpdateUserApprovalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateUserApprovalsResponse) XXX_Merge ¶
func (m *MsgUpdateUserApprovalsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateUserApprovalsResponse) XXX_Size ¶
func (m *MsgUpdateUserApprovalsResponse) XXX_Size() int
func (*MsgUpdateUserApprovalsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateUserApprovalsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateUserPermissions ¶
type MsgUpdateUserPermissions struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CollectionId Uint `protobuf:"bytes,2,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` Permissions *UserPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` AddressLists []*AddressList `protobuf:"bytes,4,rep,name=addressLists,proto3" json:"addressLists,omitempty"` }
func (*MsgUpdateUserPermissions) Descriptor ¶
func (*MsgUpdateUserPermissions) Descriptor() ([]byte, []int)
func (*MsgUpdateUserPermissions) GetAddressLists ¶
func (m *MsgUpdateUserPermissions) GetAddressLists() []*AddressList
func (*MsgUpdateUserPermissions) GetCreator ¶
func (m *MsgUpdateUserPermissions) GetCreator() string
func (*MsgUpdateUserPermissions) GetPermissions ¶
func (m *MsgUpdateUserPermissions) GetPermissions() *UserPermissions
func (*MsgUpdateUserPermissions) Marshal ¶
func (m *MsgUpdateUserPermissions) Marshal() (dAtA []byte, err error)
func (*MsgUpdateUserPermissions) MarshalTo ¶
func (m *MsgUpdateUserPermissions) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateUserPermissions) MarshalToSizedBuffer ¶
func (m *MsgUpdateUserPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateUserPermissions) ProtoMessage ¶
func (*MsgUpdateUserPermissions) ProtoMessage()
func (*MsgUpdateUserPermissions) Reset ¶
func (m *MsgUpdateUserPermissions) Reset()
func (*MsgUpdateUserPermissions) Size ¶
func (m *MsgUpdateUserPermissions) Size() (n int)
func (*MsgUpdateUserPermissions) String ¶
func (m *MsgUpdateUserPermissions) String() string
func (*MsgUpdateUserPermissions) Unmarshal ¶
func (m *MsgUpdateUserPermissions) Unmarshal(dAtA []byte) error
func (*MsgUpdateUserPermissions) XXX_DiscardUnknown ¶
func (m *MsgUpdateUserPermissions) XXX_DiscardUnknown()
func (*MsgUpdateUserPermissions) XXX_Marshal ¶
func (m *MsgUpdateUserPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateUserPermissions) XXX_Merge ¶
func (m *MsgUpdateUserPermissions) XXX_Merge(src proto.Message)
func (*MsgUpdateUserPermissions) XXX_Size ¶
func (m *MsgUpdateUserPermissions) XXX_Size() int
func (*MsgUpdateUserPermissions) XXX_Unmarshal ¶
func (m *MsgUpdateUserPermissions) XXX_Unmarshal(b []byte) error
type MsgUpdateUserPermissionsResponse ¶
type MsgUpdateUserPermissionsResponse struct { }
func (*MsgUpdateUserPermissionsResponse) Descriptor ¶
func (*MsgUpdateUserPermissionsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateUserPermissionsResponse) Marshal ¶
func (m *MsgUpdateUserPermissionsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateUserPermissionsResponse) MarshalTo ¶
func (m *MsgUpdateUserPermissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateUserPermissionsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateUserPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateUserPermissionsResponse) ProtoMessage ¶
func (*MsgUpdateUserPermissionsResponse) ProtoMessage()
func (*MsgUpdateUserPermissionsResponse) Reset ¶
func (m *MsgUpdateUserPermissionsResponse) Reset()
func (*MsgUpdateUserPermissionsResponse) Size ¶
func (m *MsgUpdateUserPermissionsResponse) Size() (n int)
func (*MsgUpdateUserPermissionsResponse) String ¶
func (m *MsgUpdateUserPermissionsResponse) String() string
func (*MsgUpdateUserPermissionsResponse) Unmarshal ¶
func (m *MsgUpdateUserPermissionsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateUserPermissionsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateUserPermissionsResponse) XXX_DiscardUnknown()
func (*MsgUpdateUserPermissionsResponse) XXX_Marshal ¶
func (m *MsgUpdateUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateUserPermissionsResponse) XXX_Merge ¶
func (m *MsgUpdateUserPermissionsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateUserPermissionsResponse) XXX_Size ¶
func (m *MsgUpdateUserPermissionsResponse) XXX_Size() int
func (*MsgUpdateUserPermissionsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateUserPermissionsResponse) XXX_Unmarshal(b []byte) error
type MustOwnBadges ¶
type MustOwnBadges struct { // The ID of the badge collection. CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` // The range of badge amounts the user must own (min to max). AmountRange *UintRange `protobuf:"bytes,2,opt,name=amountRange,proto3" json:"amountRange,omitempty"` // The time ranges during which the user must own the badges. OwnershipTimes []*UintRange `protobuf:"bytes,3,rep,name=ownershipTimes,proto3" json:"ownershipTimes,omitempty"` // The badge IDs the user must own. BadgeIds []*UintRange `protobuf:"bytes,4,rep,name=badgeIds,proto3" json:"badgeIds,omitempty"` // If true, override ownershipTimes with the current time. OverrideWithCurrentTime bool `protobuf:"varint,5,opt,name=overrideWithCurrentTime,proto3" json:"overrideWithCurrentTime,omitempty"` // If true, the user must meet ownership requirements for all specified badges; else, must meet requirements for any single badge. MustSatisfyForAllAssets bool `protobuf:"varint,6,opt,name=mustSatisfyForAllAssets,proto3" json:"mustSatisfyForAllAssets,omitempty"` }
MustOwnBadges represents a condition where a user must own specific badges to be approved to transfer.
- collectionId: The ID of the badge collection for the badges that must be owned - amountRange: The range of badge amounts the user must own (min to max) - ownershipTimes: The time ranges during which the user must own the badges. - badgeIds: The badge IDs the user must own. - overrideWithCurrentTime: If true, auto override ownershipTimes with the current time. - mustSatisfyForAllAssets: If true, the user must own all specified badges; otherwise, owning any one for >= 1 millisecond is sufficient.
func (*MustOwnBadges) Descriptor ¶
func (*MustOwnBadges) Descriptor() ([]byte, []int)
func (*MustOwnBadges) GetAmountRange ¶
func (m *MustOwnBadges) GetAmountRange() *UintRange
func (*MustOwnBadges) GetBadgeIds ¶
func (m *MustOwnBadges) GetBadgeIds() []*UintRange
func (*MustOwnBadges) GetMustSatisfyForAllAssets ¶
func (m *MustOwnBadges) GetMustSatisfyForAllAssets() bool
func (*MustOwnBadges) GetOverrideWithCurrentTime ¶
func (m *MustOwnBadges) GetOverrideWithCurrentTime() bool
func (*MustOwnBadges) GetOwnershipTimes ¶
func (m *MustOwnBadges) GetOwnershipTimes() []*UintRange
func (*MustOwnBadges) Marshal ¶
func (m *MustOwnBadges) Marshal() (dAtA []byte, err error)
func (*MustOwnBadges) MarshalToSizedBuffer ¶
func (m *MustOwnBadges) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MustOwnBadges) ProtoMessage ¶
func (*MustOwnBadges) ProtoMessage()
func (*MustOwnBadges) Reset ¶
func (m *MustOwnBadges) Reset()
func (*MustOwnBadges) Size ¶
func (m *MustOwnBadges) Size() (n int)
func (*MustOwnBadges) String ¶
func (m *MustOwnBadges) String() string
func (*MustOwnBadges) Unmarshal ¶
func (m *MustOwnBadges) Unmarshal(dAtA []byte) error
func (*MustOwnBadges) XXX_DiscardUnknown ¶
func (m *MustOwnBadges) XXX_DiscardUnknown()
func (*MustOwnBadges) XXX_Marshal ¶
func (m *MustOwnBadges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MustOwnBadges) XXX_Merge ¶
func (m *MustOwnBadges) XXX_Merge(src proto.Message)
func (*MustOwnBadges) XXX_Size ¶
func (m *MustOwnBadges) XXX_Size() int
func (*MustOwnBadges) XXX_Unmarshal ¶
func (m *MustOwnBadges) XXX_Unmarshal(b []byte) error
type NoData ¶
type NoData struct { }
func (*NoData) Descriptor ¶
func (*NoData) MarshalToSizedBuffer ¶
func (*NoData) ProtoMessage ¶
func (*NoData) ProtoMessage()
func (*NoData) XXX_DiscardUnknown ¶
func (m *NoData) XXX_DiscardUnknown()
func (*NoData) XXX_Marshal ¶
func (*NoData) XXX_Unmarshal ¶
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"` }
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 ¶
func (*OffChainBalancesMetadata) Descriptor() ([]byte, []int)
func (*OffChainBalancesMetadata) GetCustomData ¶
func (m *OffChainBalancesMetadata) GetCustomData() string
func (*OffChainBalancesMetadata) GetUri ¶
func (m *OffChainBalancesMetadata) GetUri() string
func (*OffChainBalancesMetadata) Marshal ¶
func (m *OffChainBalancesMetadata) Marshal() (dAtA []byte, err error)
func (*OffChainBalancesMetadata) MarshalTo ¶
func (m *OffChainBalancesMetadata) MarshalTo(dAtA []byte) (int, error)
func (*OffChainBalancesMetadata) MarshalToSizedBuffer ¶
func (m *OffChainBalancesMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OffChainBalancesMetadata) ProtoMessage ¶
func (*OffChainBalancesMetadata) ProtoMessage()
func (*OffChainBalancesMetadata) Reset ¶
func (m *OffChainBalancesMetadata) Reset()
func (*OffChainBalancesMetadata) Size ¶
func (m *OffChainBalancesMetadata) Size() (n int)
func (*OffChainBalancesMetadata) String ¶
func (m *OffChainBalancesMetadata) String() string
func (*OffChainBalancesMetadata) Unmarshal ¶
func (m *OffChainBalancesMetadata) Unmarshal(dAtA []byte) error
func (*OffChainBalancesMetadata) XXX_DiscardUnknown ¶
func (m *OffChainBalancesMetadata) XXX_DiscardUnknown()
func (*OffChainBalancesMetadata) XXX_Marshal ¶
func (m *OffChainBalancesMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OffChainBalancesMetadata) XXX_Merge ¶
func (m *OffChainBalancesMetadata) XXX_Merge(src proto.Message)
func (*OffChainBalancesMetadata) XXX_Size ¶
func (m *OffChainBalancesMetadata) XXX_Size() int
func (*OffChainBalancesMetadata) XXX_Unmarshal ¶
func (m *OffChainBalancesMetadata) XXX_Unmarshal(b []byte) error
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"` }
OffChainBalancesMetadataTimeline defines the metadata for off-chain balances at different timeline times.
func (*OffChainBalancesMetadataTimeline) Descriptor ¶
func (*OffChainBalancesMetadataTimeline) Descriptor() ([]byte, []int)
func (*OffChainBalancesMetadataTimeline) GetOffChainBalancesMetadata ¶
func (m *OffChainBalancesMetadataTimeline) GetOffChainBalancesMetadata() *OffChainBalancesMetadata
func (*OffChainBalancesMetadataTimeline) GetTimelineTimes ¶
func (m *OffChainBalancesMetadataTimeline) GetTimelineTimes() []*UintRange
func (*OffChainBalancesMetadataTimeline) Marshal ¶
func (m *OffChainBalancesMetadataTimeline) Marshal() (dAtA []byte, err error)
func (*OffChainBalancesMetadataTimeline) MarshalTo ¶
func (m *OffChainBalancesMetadataTimeline) MarshalTo(dAtA []byte) (int, error)
func (*OffChainBalancesMetadataTimeline) MarshalToSizedBuffer ¶
func (m *OffChainBalancesMetadataTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OffChainBalancesMetadataTimeline) ProtoMessage ¶
func (*OffChainBalancesMetadataTimeline) ProtoMessage()
func (*OffChainBalancesMetadataTimeline) Reset ¶
func (m *OffChainBalancesMetadataTimeline) Reset()
func (*OffChainBalancesMetadataTimeline) Size ¶
func (m *OffChainBalancesMetadataTimeline) Size() (n int)
func (*OffChainBalancesMetadataTimeline) String ¶
func (m *OffChainBalancesMetadataTimeline) String() string
func (*OffChainBalancesMetadataTimeline) Unmarshal ¶
func (m *OffChainBalancesMetadataTimeline) Unmarshal(dAtA []byte) error
func (*OffChainBalancesMetadataTimeline) XXX_DiscardUnknown ¶
func (m *OffChainBalancesMetadataTimeline) XXX_DiscardUnknown()
func (*OffChainBalancesMetadataTimeline) XXX_Marshal ¶
func (m *OffChainBalancesMetadataTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OffChainBalancesMetadataTimeline) XXX_Merge ¶
func (m *OffChainBalancesMetadataTimeline) XXX_Merge(src proto.Message)
func (*OffChainBalancesMetadataTimeline) XXX_Size ¶
func (m *OffChainBalancesMetadataTimeline) XXX_Size() int
func (*OffChainBalancesMetadataTimeline) XXX_Unmarshal ¶
func (m *OffChainBalancesMetadataTimeline) XXX_Unmarshal(b []byte) error
type OutgoingApprovalCriteria ¶
type OutgoingApprovalCriteria struct { // List of badges that the user must own for approval. MustOwnBadges []*MustOwnBadges `protobuf:"bytes,1,rep,name=mustOwnBadges,proto3" json:"mustOwnBadges,omitempty"` // Merkle challenge that must be satisfied for approval. MerkleChallenge *MerkleChallenge `protobuf:"bytes,2,opt,name=merkleChallenge,proto3" json:"merkleChallenge,omitempty"` // Predetermined balances for eeach approval. PredeterminedBalances *PredeterminedBalances `protobuf:"bytes,3,opt,name=predeterminedBalances,proto3" json:"predeterminedBalances,omitempty"` // Threshold limit of amounts that can be transferred using this approval. ApprovalAmounts *ApprovalAmounts `protobuf:"bytes,4,opt,name=approvalAmounts,proto3" json:"approvalAmounts,omitempty"` // Maximum number of transfers that can be processed using this approval. MaxNumTransfers *MaxNumTransfers `protobuf:"bytes,5,opt,name=maxNumTransfers,proto3" json:"maxNumTransfers,omitempty"` // Require the "to" address to be equal to the "initiated by" address for approval. RequireToEqualsInitiatedBy bool `protobuf:"varint,9,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,11,opt,name=requireToDoesNotEqualInitiatedBy,proto3" json:"requireToDoesNotEqualInitiatedBy,omitempty"` }
OutgoingApprovalCriteria defines the criteria for approving outgoing transfers.
func CastFromCollectionApprovalCriteriaToOutgoingApprovalCriteria ¶
func CastFromCollectionApprovalCriteriaToOutgoingApprovalCriteria(approvalCriteria *ApprovalCriteria) *OutgoingApprovalCriteria
func (*OutgoingApprovalCriteria) Descriptor ¶
func (*OutgoingApprovalCriteria) Descriptor() ([]byte, []int)
func (*OutgoingApprovalCriteria) GetApprovalAmounts ¶
func (m *OutgoingApprovalCriteria) GetApprovalAmounts() *ApprovalAmounts
func (*OutgoingApprovalCriteria) GetMaxNumTransfers ¶
func (m *OutgoingApprovalCriteria) GetMaxNumTransfers() *MaxNumTransfers
func (*OutgoingApprovalCriteria) GetMerkleChallenge ¶
func (m *OutgoingApprovalCriteria) GetMerkleChallenge() *MerkleChallenge
func (*OutgoingApprovalCriteria) GetMustOwnBadges ¶
func (m *OutgoingApprovalCriteria) GetMustOwnBadges() []*MustOwnBadges
func (*OutgoingApprovalCriteria) GetPredeterminedBalances ¶
func (m *OutgoingApprovalCriteria) GetPredeterminedBalances() *PredeterminedBalances
func (*OutgoingApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy ¶
func (m *OutgoingApprovalCriteria) GetRequireToDoesNotEqualInitiatedBy() bool
func (*OutgoingApprovalCriteria) GetRequireToEqualsInitiatedBy ¶
func (m *OutgoingApprovalCriteria) GetRequireToEqualsInitiatedBy() bool
func (*OutgoingApprovalCriteria) Marshal ¶
func (m *OutgoingApprovalCriteria) Marshal() (dAtA []byte, err error)
func (*OutgoingApprovalCriteria) MarshalTo ¶
func (m *OutgoingApprovalCriteria) MarshalTo(dAtA []byte) (int, error)
func (*OutgoingApprovalCriteria) MarshalToSizedBuffer ¶
func (m *OutgoingApprovalCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutgoingApprovalCriteria) ProtoMessage ¶
func (*OutgoingApprovalCriteria) ProtoMessage()
func (*OutgoingApprovalCriteria) Reset ¶
func (m *OutgoingApprovalCriteria) Reset()
func (*OutgoingApprovalCriteria) Size ¶
func (m *OutgoingApprovalCriteria) Size() (n int)
func (*OutgoingApprovalCriteria) String ¶
func (m *OutgoingApprovalCriteria) String() string
func (*OutgoingApprovalCriteria) Unmarshal ¶
func (m *OutgoingApprovalCriteria) Unmarshal(dAtA []byte) error
func (*OutgoingApprovalCriteria) XXX_DiscardUnknown ¶
func (m *OutgoingApprovalCriteria) XXX_DiscardUnknown()
func (*OutgoingApprovalCriteria) XXX_Marshal ¶
func (m *OutgoingApprovalCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutgoingApprovalCriteria) XXX_Merge ¶
func (m *OutgoingApprovalCriteria) XXX_Merge(src proto.Message)
func (*OutgoingApprovalCriteria) XXX_Size ¶
func (m *OutgoingApprovalCriteria) XXX_Size() int
func (*OutgoingApprovalCriteria) XXX_Unmarshal ¶
func (m *OutgoingApprovalCriteria) XXX_Unmarshal(b []byte) error
type Overlap ¶
type Overlap struct { Overlap *UniversalPermissionDetails FirstDetails *UniversalPermissionDetails SecondDetails *UniversalPermissionDetails }
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PortKeeper ¶
type PortKeeper interface {
BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}
PortKeeper defines the expected IBC port keeper.
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"` }
PredeterminedBalances represents balances with predetermined order calculation.
func (*PredeterminedBalances) Descriptor ¶
func (*PredeterminedBalances) Descriptor() ([]byte, []int)
func (*PredeterminedBalances) GetIncrementedBalances ¶
func (m *PredeterminedBalances) GetIncrementedBalances() *IncrementedBalances
func (*PredeterminedBalances) GetManualBalances ¶
func (m *PredeterminedBalances) GetManualBalances() []*ManualBalances
func (*PredeterminedBalances) GetOrderCalculationMethod ¶
func (m *PredeterminedBalances) GetOrderCalculationMethod() *PredeterminedOrderCalculationMethod
func (*PredeterminedBalances) Marshal ¶
func (m *PredeterminedBalances) Marshal() (dAtA []byte, err error)
func (*PredeterminedBalances) MarshalTo ¶
func (m *PredeterminedBalances) MarshalTo(dAtA []byte) (int, error)
func (*PredeterminedBalances) MarshalToSizedBuffer ¶
func (m *PredeterminedBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PredeterminedBalances) ProtoMessage ¶
func (*PredeterminedBalances) ProtoMessage()
func (*PredeterminedBalances) Reset ¶
func (m *PredeterminedBalances) Reset()
func (*PredeterminedBalances) Size ¶
func (m *PredeterminedBalances) Size() (n int)
func (*PredeterminedBalances) String ¶
func (m *PredeterminedBalances) String() string
func (*PredeterminedBalances) Unmarshal ¶
func (m *PredeterminedBalances) Unmarshal(dAtA []byte) error
func (*PredeterminedBalances) XXX_DiscardUnknown ¶
func (m *PredeterminedBalances) XXX_DiscardUnknown()
func (*PredeterminedBalances) XXX_Marshal ¶
func (m *PredeterminedBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PredeterminedBalances) XXX_Merge ¶
func (m *PredeterminedBalances) XXX_Merge(src proto.Message)
func (*PredeterminedBalances) XXX_Size ¶
func (m *PredeterminedBalances) XXX_Size() int
func (*PredeterminedBalances) XXX_Unmarshal ¶
func (m *PredeterminedBalances) XXX_Unmarshal(b []byte) error
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"` }
PredeterminedOrderCalculationMethod defines the method to calculate predetermined balances order.
func (*PredeterminedOrderCalculationMethod) Descriptor ¶
func (*PredeterminedOrderCalculationMethod) Descriptor() ([]byte, []int)
func (*PredeterminedOrderCalculationMethod) GetUseMerkleChallengeLeafIndex ¶
func (m *PredeterminedOrderCalculationMethod) GetUseMerkleChallengeLeafIndex() bool
func (*PredeterminedOrderCalculationMethod) GetUseOverallNumTransfers ¶
func (m *PredeterminedOrderCalculationMethod) GetUseOverallNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) GetUsePerFromAddressNumTransfers ¶
func (m *PredeterminedOrderCalculationMethod) GetUsePerFromAddressNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) GetUsePerInitiatedByAddressNumTransfers ¶
func (m *PredeterminedOrderCalculationMethod) GetUsePerInitiatedByAddressNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) GetUsePerToAddressNumTransfers ¶
func (m *PredeterminedOrderCalculationMethod) GetUsePerToAddressNumTransfers() bool
func (*PredeterminedOrderCalculationMethod) Marshal ¶
func (m *PredeterminedOrderCalculationMethod) Marshal() (dAtA []byte, err error)
func (*PredeterminedOrderCalculationMethod) MarshalTo ¶
func (m *PredeterminedOrderCalculationMethod) MarshalTo(dAtA []byte) (int, error)
func (*PredeterminedOrderCalculationMethod) MarshalToSizedBuffer ¶
func (m *PredeterminedOrderCalculationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PredeterminedOrderCalculationMethod) ProtoMessage ¶
func (*PredeterminedOrderCalculationMethod) ProtoMessage()
func (*PredeterminedOrderCalculationMethod) Reset ¶
func (m *PredeterminedOrderCalculationMethod) Reset()
func (*PredeterminedOrderCalculationMethod) Size ¶
func (m *PredeterminedOrderCalculationMethod) Size() (n int)
func (*PredeterminedOrderCalculationMethod) String ¶
func (m *PredeterminedOrderCalculationMethod) String() string
func (*PredeterminedOrderCalculationMethod) Unmarshal ¶
func (m *PredeterminedOrderCalculationMethod) Unmarshal(dAtA []byte) error
func (*PredeterminedOrderCalculationMethod) XXX_DiscardUnknown ¶
func (m *PredeterminedOrderCalculationMethod) XXX_DiscardUnknown()
func (*PredeterminedOrderCalculationMethod) XXX_Marshal ¶
func (m *PredeterminedOrderCalculationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PredeterminedOrderCalculationMethod) XXX_Merge ¶
func (m *PredeterminedOrderCalculationMethod) XXX_Merge(src proto.Message)
func (*PredeterminedOrderCalculationMethod) XXX_Size ¶
func (m *PredeterminedOrderCalculationMethod) XXX_Size() int
func (*PredeterminedOrderCalculationMethod) XXX_Unmarshal ¶
func (m *PredeterminedOrderCalculationMethod) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetAddressListRequest ¶
type QueryGetAddressListRequest struct {
ListId string `protobuf:"bytes,1,opt,name=listId,proto3" json:"listId,omitempty"`
}
func (*QueryGetAddressListRequest) Descriptor ¶
func (*QueryGetAddressListRequest) Descriptor() ([]byte, []int)
func (*QueryGetAddressListRequest) GetListId ¶
func (m *QueryGetAddressListRequest) GetListId() string
func (*QueryGetAddressListRequest) Marshal ¶
func (m *QueryGetAddressListRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAddressListRequest) MarshalTo ¶
func (m *QueryGetAddressListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAddressListRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAddressListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAddressListRequest) ProtoMessage ¶
func (*QueryGetAddressListRequest) ProtoMessage()
func (*QueryGetAddressListRequest) Reset ¶
func (m *QueryGetAddressListRequest) Reset()
func (*QueryGetAddressListRequest) Size ¶
func (m *QueryGetAddressListRequest) Size() (n int)
func (*QueryGetAddressListRequest) String ¶
func (m *QueryGetAddressListRequest) String() string
func (*QueryGetAddressListRequest) Unmarshal ¶
func (m *QueryGetAddressListRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAddressListRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAddressListRequest) XXX_DiscardUnknown()
func (*QueryGetAddressListRequest) XXX_Marshal ¶
func (m *QueryGetAddressListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAddressListRequest) XXX_Merge ¶
func (m *QueryGetAddressListRequest) XXX_Merge(src proto.Message)
func (*QueryGetAddressListRequest) XXX_Size ¶
func (m *QueryGetAddressListRequest) XXX_Size() int
func (*QueryGetAddressListRequest) XXX_Unmarshal ¶
func (m *QueryGetAddressListRequest) XXX_Unmarshal(b []byte) error
type QueryGetAddressListResponse ¶
type QueryGetAddressListResponse struct {
List *AddressList `protobuf:"bytes,1,opt,name=list,proto3" json:"list,omitempty"`
}
func (*QueryGetAddressListResponse) Descriptor ¶
func (*QueryGetAddressListResponse) Descriptor() ([]byte, []int)
func (*QueryGetAddressListResponse) GetList ¶
func (m *QueryGetAddressListResponse) GetList() *AddressList
func (*QueryGetAddressListResponse) Marshal ¶
func (m *QueryGetAddressListResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAddressListResponse) MarshalTo ¶
func (m *QueryGetAddressListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAddressListResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAddressListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAddressListResponse) ProtoMessage ¶
func (*QueryGetAddressListResponse) ProtoMessage()
func (*QueryGetAddressListResponse) Reset ¶
func (m *QueryGetAddressListResponse) Reset()
func (*QueryGetAddressListResponse) Size ¶
func (m *QueryGetAddressListResponse) Size() (n int)
func (*QueryGetAddressListResponse) String ¶
func (m *QueryGetAddressListResponse) String() string
func (*QueryGetAddressListResponse) Unmarshal ¶
func (m *QueryGetAddressListResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAddressListResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAddressListResponse) XXX_DiscardUnknown()
func (*QueryGetAddressListResponse) XXX_Marshal ¶
func (m *QueryGetAddressListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAddressListResponse) XXX_Merge ¶
func (m *QueryGetAddressListResponse) XXX_Merge(src proto.Message)
func (*QueryGetAddressListResponse) XXX_Size ¶
func (m *QueryGetAddressListResponse) XXX_Size() int
func (*QueryGetAddressListResponse) XXX_Unmarshal ¶
func (m *QueryGetAddressListResponse) XXX_Unmarshal(b []byte) error
type QueryGetApprovalTrackerRequest ¶
type QueryGetApprovalTrackerRequest struct { CollectionId Uint `protobuf:"bytes,5,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` ApprovalLevel string `protobuf:"bytes,2,opt,name=approvalLevel,proto3" json:"approvalLevel,omitempty"` ApproverAddress string `protobuf:"bytes,3,opt,name=approverAddress,proto3" json:"approverAddress,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"` }
func (*QueryGetApprovalTrackerRequest) Descriptor ¶
func (*QueryGetApprovalTrackerRequest) Descriptor() ([]byte, []int)
func (*QueryGetApprovalTrackerRequest) GetAmountTrackerId ¶
func (m *QueryGetApprovalTrackerRequest) GetAmountTrackerId() string
func (*QueryGetApprovalTrackerRequest) GetApprovalLevel ¶
func (m *QueryGetApprovalTrackerRequest) GetApprovalLevel() string
func (*QueryGetApprovalTrackerRequest) GetApprovedAddress ¶
func (m *QueryGetApprovalTrackerRequest) GetApprovedAddress() string
func (*QueryGetApprovalTrackerRequest) GetApproverAddress ¶
func (m *QueryGetApprovalTrackerRequest) GetApproverAddress() string
func (*QueryGetApprovalTrackerRequest) GetTrackerType ¶
func (m *QueryGetApprovalTrackerRequest) GetTrackerType() string
func (*QueryGetApprovalTrackerRequest) Marshal ¶
func (m *QueryGetApprovalTrackerRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetApprovalTrackerRequest) MarshalTo ¶
func (m *QueryGetApprovalTrackerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetApprovalTrackerRequest) MarshalToSizedBuffer ¶
func (m *QueryGetApprovalTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetApprovalTrackerRequest) ProtoMessage ¶
func (*QueryGetApprovalTrackerRequest) ProtoMessage()
func (*QueryGetApprovalTrackerRequest) Reset ¶
func (m *QueryGetApprovalTrackerRequest) Reset()
func (*QueryGetApprovalTrackerRequest) Size ¶
func (m *QueryGetApprovalTrackerRequest) Size() (n int)
func (*QueryGetApprovalTrackerRequest) String ¶
func (m *QueryGetApprovalTrackerRequest) String() string
func (*QueryGetApprovalTrackerRequest) Unmarshal ¶
func (m *QueryGetApprovalTrackerRequest) Unmarshal(dAtA []byte) error
func (*QueryGetApprovalTrackerRequest) XXX_DiscardUnknown ¶
func (m *QueryGetApprovalTrackerRequest) XXX_DiscardUnknown()
func (*QueryGetApprovalTrackerRequest) XXX_Marshal ¶
func (m *QueryGetApprovalTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetApprovalTrackerRequest) XXX_Merge ¶
func (m *QueryGetApprovalTrackerRequest) XXX_Merge(src proto.Message)
func (*QueryGetApprovalTrackerRequest) XXX_Size ¶
func (m *QueryGetApprovalTrackerRequest) XXX_Size() int
func (*QueryGetApprovalTrackerRequest) XXX_Unmarshal ¶
func (m *QueryGetApprovalTrackerRequest) XXX_Unmarshal(b []byte) error
type QueryGetApprovalTrackerResponse ¶
type QueryGetApprovalTrackerResponse struct {
Tracker *ApprovalTracker `protobuf:"bytes,1,opt,name=tracker,proto3" json:"tracker,omitempty"`
}
func (*QueryGetApprovalTrackerResponse) Descriptor ¶
func (*QueryGetApprovalTrackerResponse) Descriptor() ([]byte, []int)
func (*QueryGetApprovalTrackerResponse) GetTracker ¶
func (m *QueryGetApprovalTrackerResponse) GetTracker() *ApprovalTracker
func (*QueryGetApprovalTrackerResponse) Marshal ¶
func (m *QueryGetApprovalTrackerResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetApprovalTrackerResponse) MarshalTo ¶
func (m *QueryGetApprovalTrackerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetApprovalTrackerResponse) MarshalToSizedBuffer ¶
func (m *QueryGetApprovalTrackerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetApprovalTrackerResponse) ProtoMessage ¶
func (*QueryGetApprovalTrackerResponse) ProtoMessage()
func (*QueryGetApprovalTrackerResponse) Reset ¶
func (m *QueryGetApprovalTrackerResponse) Reset()
func (*QueryGetApprovalTrackerResponse) Size ¶
func (m *QueryGetApprovalTrackerResponse) Size() (n int)
func (*QueryGetApprovalTrackerResponse) String ¶
func (m *QueryGetApprovalTrackerResponse) String() string
func (*QueryGetApprovalTrackerResponse) Unmarshal ¶
func (m *QueryGetApprovalTrackerResponse) Unmarshal(dAtA []byte) error
func (*QueryGetApprovalTrackerResponse) XXX_DiscardUnknown ¶
func (m *QueryGetApprovalTrackerResponse) XXX_DiscardUnknown()
func (*QueryGetApprovalTrackerResponse) XXX_Marshal ¶
func (m *QueryGetApprovalTrackerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetApprovalTrackerResponse) XXX_Merge ¶
func (m *QueryGetApprovalTrackerResponse) XXX_Merge(src proto.Message)
func (*QueryGetApprovalTrackerResponse) XXX_Size ¶
func (m *QueryGetApprovalTrackerResponse) XXX_Size() int
func (*QueryGetApprovalTrackerResponse) XXX_Unmarshal ¶
func (m *QueryGetApprovalTrackerResponse) XXX_Unmarshal(b []byte) error
type QueryGetBalanceRequest ¶
type QueryGetBalanceRequest struct { CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
func (*QueryGetBalanceRequest) Descriptor ¶
func (*QueryGetBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryGetBalanceRequest) GetAddress ¶
func (m *QueryGetBalanceRequest) GetAddress() string
func (*QueryGetBalanceRequest) Marshal ¶
func (m *QueryGetBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetBalanceRequest) MarshalTo ¶
func (m *QueryGetBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetBalanceRequest) ProtoMessage ¶
func (*QueryGetBalanceRequest) ProtoMessage()
func (*QueryGetBalanceRequest) Reset ¶
func (m *QueryGetBalanceRequest) Reset()
func (*QueryGetBalanceRequest) Size ¶
func (m *QueryGetBalanceRequest) Size() (n int)
func (*QueryGetBalanceRequest) String ¶
func (m *QueryGetBalanceRequest) String() string
func (*QueryGetBalanceRequest) Unmarshal ¶
func (m *QueryGetBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetBalanceRequest) XXX_DiscardUnknown()
func (*QueryGetBalanceRequest) XXX_Marshal ¶
func (m *QueryGetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetBalanceRequest) XXX_Merge ¶
func (m *QueryGetBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryGetBalanceRequest) XXX_Size ¶
func (m *QueryGetBalanceRequest) XXX_Size() int
func (*QueryGetBalanceRequest) XXX_Unmarshal ¶
func (m *QueryGetBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryGetBalanceResponse ¶
type QueryGetBalanceResponse struct {
Balance *UserBalanceStore `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
}
func (*QueryGetBalanceResponse) Descriptor ¶
func (*QueryGetBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryGetBalanceResponse) GetBalance ¶
func (m *QueryGetBalanceResponse) GetBalance() *UserBalanceStore
func (*QueryGetBalanceResponse) Marshal ¶
func (m *QueryGetBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetBalanceResponse) MarshalTo ¶
func (m *QueryGetBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryGetBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetBalanceResponse) ProtoMessage ¶
func (*QueryGetBalanceResponse) ProtoMessage()
func (*QueryGetBalanceResponse) Reset ¶
func (m *QueryGetBalanceResponse) Reset()
func (*QueryGetBalanceResponse) Size ¶
func (m *QueryGetBalanceResponse) Size() (n int)
func (*QueryGetBalanceResponse) String ¶
func (m *QueryGetBalanceResponse) String() string
func (*QueryGetBalanceResponse) Unmarshal ¶
func (m *QueryGetBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryGetBalanceResponse) XXX_DiscardUnknown()
func (*QueryGetBalanceResponse) XXX_Marshal ¶
func (m *QueryGetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetBalanceResponse) XXX_Merge ¶
func (m *QueryGetBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryGetBalanceResponse) XXX_Size ¶
func (m *QueryGetBalanceResponse) XXX_Size() int
func (*QueryGetBalanceResponse) XXX_Unmarshal ¶
func (m *QueryGetBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryGetChallengeTrackerRequest ¶
type QueryGetChallengeTrackerRequest struct { CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"` ApprovalLevel string `protobuf:"bytes,2,opt,name=approvalLevel,proto3" json:"approvalLevel,omitempty"` ApproverAddress string `protobuf:"bytes,3,opt,name=approverAddress,proto3" json:"approverAddress,omitempty"` ChallengeTrackerId string `protobuf:"bytes,4,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,omitempty"` LeafIndex Uint `protobuf:"bytes,5,opt,name=leafIndex,proto3,customtype=Uint" json:"leafIndex"` }
func (*QueryGetChallengeTrackerRequest) Descriptor ¶
func (*QueryGetChallengeTrackerRequest) Descriptor() ([]byte, []int)
func (*QueryGetChallengeTrackerRequest) GetApprovalLevel ¶
func (m *QueryGetChallengeTrackerRequest) GetApprovalLevel() string
func (*QueryGetChallengeTrackerRequest) GetApproverAddress ¶
func (m *QueryGetChallengeTrackerRequest) GetApproverAddress() string
func (*QueryGetChallengeTrackerRequest) GetChallengeTrackerId ¶
func (m *QueryGetChallengeTrackerRequest) GetChallengeTrackerId() string
func (*QueryGetChallengeTrackerRequest) Marshal ¶
func (m *QueryGetChallengeTrackerRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetChallengeTrackerRequest) MarshalTo ¶
func (m *QueryGetChallengeTrackerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetChallengeTrackerRequest) MarshalToSizedBuffer ¶
func (m *QueryGetChallengeTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetChallengeTrackerRequest) ProtoMessage ¶
func (*QueryGetChallengeTrackerRequest) ProtoMessage()
func (*QueryGetChallengeTrackerRequest) Reset ¶
func (m *QueryGetChallengeTrackerRequest) Reset()
func (*QueryGetChallengeTrackerRequest) Size ¶
func (m *QueryGetChallengeTrackerRequest) Size() (n int)
func (*QueryGetChallengeTrackerRequest) String ¶
func (m *QueryGetChallengeTrackerRequest) String() string
func (*QueryGetChallengeTrackerRequest) Unmarshal ¶
func (m *QueryGetChallengeTrackerRequest) Unmarshal(dAtA []byte) error
func (*QueryGetChallengeTrackerRequest) XXX_DiscardUnknown ¶
func (m *QueryGetChallengeTrackerRequest) XXX_DiscardUnknown()
func (*QueryGetChallengeTrackerRequest) XXX_Marshal ¶
func (m *QueryGetChallengeTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetChallengeTrackerRequest) XXX_Merge ¶
func (m *QueryGetChallengeTrackerRequest) XXX_Merge(src proto.Message)
func (*QueryGetChallengeTrackerRequest) XXX_Size ¶
func (m *QueryGetChallengeTrackerRequest) XXX_Size() int
func (*QueryGetChallengeTrackerRequest) XXX_Unmarshal ¶
func (m *QueryGetChallengeTrackerRequest) XXX_Unmarshal(b []byte) error
type QueryGetChallengeTrackerResponse ¶
type QueryGetChallengeTrackerResponse struct {
NumUsed Uint `protobuf:"bytes,1,opt,name=numUsed,proto3,customtype=Uint" json:"numUsed"`
}
func (*QueryGetChallengeTrackerResponse) Descriptor ¶
func (*QueryGetChallengeTrackerResponse) Descriptor() ([]byte, []int)
func (*QueryGetChallengeTrackerResponse) Marshal ¶
func (m *QueryGetChallengeTrackerResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetChallengeTrackerResponse) MarshalTo ¶
func (m *QueryGetChallengeTrackerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetChallengeTrackerResponse) MarshalToSizedBuffer ¶
func (m *QueryGetChallengeTrackerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetChallengeTrackerResponse) ProtoMessage ¶
func (*QueryGetChallengeTrackerResponse) ProtoMessage()
func (*QueryGetChallengeTrackerResponse) Reset ¶
func (m *QueryGetChallengeTrackerResponse) Reset()
func (*QueryGetChallengeTrackerResponse) Size ¶
func (m *QueryGetChallengeTrackerResponse) Size() (n int)
func (*QueryGetChallengeTrackerResponse) String ¶
func (m *QueryGetChallengeTrackerResponse) String() string
func (*QueryGetChallengeTrackerResponse) Unmarshal ¶
func (m *QueryGetChallengeTrackerResponse) Unmarshal(dAtA []byte) error
func (*QueryGetChallengeTrackerResponse) XXX_DiscardUnknown ¶
func (m *QueryGetChallengeTrackerResponse) XXX_DiscardUnknown()
func (*QueryGetChallengeTrackerResponse) XXX_Marshal ¶
func (m *QueryGetChallengeTrackerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetChallengeTrackerResponse) XXX_Merge ¶
func (m *QueryGetChallengeTrackerResponse) XXX_Merge(src proto.Message)
func (*QueryGetChallengeTrackerResponse) XXX_Size ¶
func (m *QueryGetChallengeTrackerResponse) XXX_Size() int
func (*QueryGetChallengeTrackerResponse) XXX_Unmarshal ¶
func (m *QueryGetChallengeTrackerResponse) XXX_Unmarshal(b []byte) error
type QueryGetCollectionRequest ¶
type QueryGetCollectionRequest struct {
CollectionId Uint `protobuf:"bytes,1,opt,name=collectionId,proto3,customtype=Uint" json:"collectionId"`
}
func (*QueryGetCollectionRequest) Descriptor ¶
func (*QueryGetCollectionRequest) Descriptor() ([]byte, []int)
func (*QueryGetCollectionRequest) Marshal ¶
func (m *QueryGetCollectionRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetCollectionRequest) MarshalTo ¶
func (m *QueryGetCollectionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCollectionRequest) MarshalToSizedBuffer ¶
func (m *QueryGetCollectionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCollectionRequest) ProtoMessage ¶
func (*QueryGetCollectionRequest) ProtoMessage()
func (*QueryGetCollectionRequest) Reset ¶
func (m *QueryGetCollectionRequest) Reset()
func (*QueryGetCollectionRequest) Size ¶
func (m *QueryGetCollectionRequest) Size() (n int)
func (*QueryGetCollectionRequest) String ¶
func (m *QueryGetCollectionRequest) String() string
func (*QueryGetCollectionRequest) Unmarshal ¶
func (m *QueryGetCollectionRequest) Unmarshal(dAtA []byte) error
func (*QueryGetCollectionRequest) XXX_DiscardUnknown ¶
func (m *QueryGetCollectionRequest) XXX_DiscardUnknown()
func (*QueryGetCollectionRequest) XXX_Marshal ¶
func (m *QueryGetCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCollectionRequest) XXX_Merge ¶
func (m *QueryGetCollectionRequest) XXX_Merge(src proto.Message)
func (*QueryGetCollectionRequest) XXX_Size ¶
func (m *QueryGetCollectionRequest) XXX_Size() int
func (*QueryGetCollectionRequest) XXX_Unmarshal ¶
func (m *QueryGetCollectionRequest) XXX_Unmarshal(b []byte) error
type QueryGetCollectionResponse ¶
type QueryGetCollectionResponse struct {
Collection *BadgeCollection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
}
func (*QueryGetCollectionResponse) Descriptor ¶
func (*QueryGetCollectionResponse) Descriptor() ([]byte, []int)
func (*QueryGetCollectionResponse) GetCollection ¶
func (m *QueryGetCollectionResponse) GetCollection() *BadgeCollection
func (*QueryGetCollectionResponse) Marshal ¶
func (m *QueryGetCollectionResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetCollectionResponse) MarshalTo ¶
func (m *QueryGetCollectionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCollectionResponse) MarshalToSizedBuffer ¶
func (m *QueryGetCollectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCollectionResponse) ProtoMessage ¶
func (*QueryGetCollectionResponse) ProtoMessage()
func (*QueryGetCollectionResponse) Reset ¶
func (m *QueryGetCollectionResponse) Reset()
func (*QueryGetCollectionResponse) Size ¶
func (m *QueryGetCollectionResponse) Size() (n int)
func (*QueryGetCollectionResponse) String ¶
func (m *QueryGetCollectionResponse) String() string
func (*QueryGetCollectionResponse) Unmarshal ¶
func (m *QueryGetCollectionResponse) Unmarshal(dAtA []byte) error
func (*QueryGetCollectionResponse) XXX_DiscardUnknown ¶
func (m *QueryGetCollectionResponse) XXX_DiscardUnknown()
func (*QueryGetCollectionResponse) XXX_Marshal ¶
func (m *QueryGetCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCollectionResponse) XXX_Merge ¶
func (m *QueryGetCollectionResponse) XXX_Merge(src proto.Message)
func (*QueryGetCollectionResponse) XXX_Size ¶
func (m *QueryGetCollectionResponse) XXX_Size() int
func (*QueryGetCollectionResponse) XXX_Unmarshal ¶
func (m *QueryGetCollectionResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a 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) }
QueryServer is the server API for Query service.
type ScopedKeeper ¶
type ScopedKeeper interface { GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error }
ScopedKeeper defines the expected IBC scoped keeper.
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"` }
StandardsTimeline defines the standards used for a collection at different timeline times.
func (*StandardsTimeline) Descriptor ¶
func (*StandardsTimeline) Descriptor() ([]byte, []int)
func (*StandardsTimeline) GetStandards ¶
func (m *StandardsTimeline) GetStandards() []string
func (*StandardsTimeline) GetTimelineTimes ¶
func (m *StandardsTimeline) GetTimelineTimes() []*UintRange
func (*StandardsTimeline) Marshal ¶
func (m *StandardsTimeline) Marshal() (dAtA []byte, err error)
func (*StandardsTimeline) MarshalTo ¶
func (m *StandardsTimeline) MarshalTo(dAtA []byte) (int, error)
func (*StandardsTimeline) MarshalToSizedBuffer ¶
func (m *StandardsTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StandardsTimeline) ProtoMessage ¶
func (*StandardsTimeline) ProtoMessage()
func (*StandardsTimeline) Reset ¶
func (m *StandardsTimeline) Reset()
func (*StandardsTimeline) Size ¶
func (m *StandardsTimeline) Size() (n int)
func (*StandardsTimeline) String ¶
func (m *StandardsTimeline) String() string
func (*StandardsTimeline) Unmarshal ¶
func (m *StandardsTimeline) Unmarshal(dAtA []byte) error
func (*StandardsTimeline) XXX_DiscardUnknown ¶
func (m *StandardsTimeline) XXX_DiscardUnknown()
func (*StandardsTimeline) XXX_Marshal ¶
func (m *StandardsTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StandardsTimeline) XXX_Merge ¶
func (m *StandardsTimeline) XXX_Merge(src proto.Message)
func (*StandardsTimeline) XXX_Size ¶
func (m *StandardsTimeline) XXX_Size() int
func (*StandardsTimeline) XXX_Unmarshal ¶
func (m *StandardsTimeline) XXX_Unmarshal(b []byte) error
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"` }
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 ¶
func (*TimedUpdatePermission) Descriptor() ([]byte, []int)
func (*TimedUpdatePermission) GetPermanentlyForbiddenTimes ¶
func (m *TimedUpdatePermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*TimedUpdatePermission) GetPermanentlyPermittedTimes ¶
func (m *TimedUpdatePermission) GetPermanentlyPermittedTimes() []*UintRange
func (*TimedUpdatePermission) GetTimelineTimes ¶
func (m *TimedUpdatePermission) GetTimelineTimes() []*UintRange
func (*TimedUpdatePermission) Marshal ¶
func (m *TimedUpdatePermission) Marshal() (dAtA []byte, err error)
func (*TimedUpdatePermission) MarshalTo ¶
func (m *TimedUpdatePermission) MarshalTo(dAtA []byte) (int, error)
func (*TimedUpdatePermission) MarshalToSizedBuffer ¶
func (m *TimedUpdatePermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimedUpdatePermission) ProtoMessage ¶
func (*TimedUpdatePermission) ProtoMessage()
func (*TimedUpdatePermission) Reset ¶
func (m *TimedUpdatePermission) Reset()
func (*TimedUpdatePermission) Size ¶
func (m *TimedUpdatePermission) Size() (n int)
func (*TimedUpdatePermission) String ¶
func (m *TimedUpdatePermission) String() string
func (*TimedUpdatePermission) Unmarshal ¶
func (m *TimedUpdatePermission) Unmarshal(dAtA []byte) error
func (*TimedUpdatePermission) XXX_DiscardUnknown ¶
func (m *TimedUpdatePermission) XXX_DiscardUnknown()
func (*TimedUpdatePermission) XXX_Marshal ¶
func (m *TimedUpdatePermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimedUpdatePermission) XXX_Merge ¶
func (m *TimedUpdatePermission) XXX_Merge(src proto.Message)
func (*TimedUpdatePermission) XXX_Size ¶
func (m *TimedUpdatePermission) XXX_Size() int
func (*TimedUpdatePermission) XXX_Unmarshal ¶
func (m *TimedUpdatePermission) XXX_Unmarshal(b []byte) error
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"` }
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 ¶
func (*TimedUpdateWithBadgeIdsPermission) Descriptor() ([]byte, []int)
func (*TimedUpdateWithBadgeIdsPermission) GetBadgeIds ¶
func (m *TimedUpdateWithBadgeIdsPermission) GetBadgeIds() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) GetPermanentlyForbiddenTimes ¶
func (m *TimedUpdateWithBadgeIdsPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) GetPermanentlyPermittedTimes ¶
func (m *TimedUpdateWithBadgeIdsPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) GetTimelineTimes ¶
func (m *TimedUpdateWithBadgeIdsPermission) GetTimelineTimes() []*UintRange
func (*TimedUpdateWithBadgeIdsPermission) Marshal ¶
func (m *TimedUpdateWithBadgeIdsPermission) Marshal() (dAtA []byte, err error)
func (*TimedUpdateWithBadgeIdsPermission) MarshalTo ¶
func (m *TimedUpdateWithBadgeIdsPermission) MarshalTo(dAtA []byte) (int, error)
func (*TimedUpdateWithBadgeIdsPermission) MarshalToSizedBuffer ¶
func (m *TimedUpdateWithBadgeIdsPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimedUpdateWithBadgeIdsPermission) ProtoMessage ¶
func (*TimedUpdateWithBadgeIdsPermission) ProtoMessage()
func (*TimedUpdateWithBadgeIdsPermission) Reset ¶
func (m *TimedUpdateWithBadgeIdsPermission) Reset()
func (*TimedUpdateWithBadgeIdsPermission) Size ¶
func (m *TimedUpdateWithBadgeIdsPermission) Size() (n int)
func (*TimedUpdateWithBadgeIdsPermission) String ¶
func (m *TimedUpdateWithBadgeIdsPermission) String() string
func (*TimedUpdateWithBadgeIdsPermission) Unmarshal ¶
func (m *TimedUpdateWithBadgeIdsPermission) Unmarshal(dAtA []byte) error
func (*TimedUpdateWithBadgeIdsPermission) XXX_DiscardUnknown ¶
func (m *TimedUpdateWithBadgeIdsPermission) XXX_DiscardUnknown()
func (*TimedUpdateWithBadgeIdsPermission) XXX_Marshal ¶
func (m *TimedUpdateWithBadgeIdsPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimedUpdateWithBadgeIdsPermission) XXX_Merge ¶
func (m *TimedUpdateWithBadgeIdsPermission) XXX_Merge(src proto.Message)
func (*TimedUpdateWithBadgeIdsPermission) XXX_Size ¶
func (m *TimedUpdateWithBadgeIdsPermission) XXX_Size() int
func (*TimedUpdateWithBadgeIdsPermission) XXX_Unmarshal ¶
func (m *TimedUpdateWithBadgeIdsPermission) XXX_Unmarshal(b []byte) error
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. OnlyCheckPrioritizedApprovals bool `protobuf:"varint,8,opt,name=onlyCheckPrioritizedApprovals,proto3" json:"onlyCheckPrioritizedApprovals,omitempty"` }
Transfer defines the details of a transfer of badges.
func (*Transfer) Descriptor ¶
func (*Transfer) GetBalances ¶
func (*Transfer) GetMerkleProofs ¶
func (m *Transfer) GetMerkleProofs() []*MerkleProof
func (*Transfer) GetOnlyCheckPrioritizedApprovals ¶
func (*Transfer) GetPrecalculateBalancesFromApproval ¶
func (m *Transfer) GetPrecalculateBalancesFromApproval() *ApprovalIdentifierDetails
func (*Transfer) GetPrioritizedApprovals ¶
func (m *Transfer) GetPrioritizedApprovals() []*ApprovalIdentifierDetails
func (*Transfer) GetToAddresses ¶
func (*Transfer) MarshalToSizedBuffer ¶
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) XXX_DiscardUnknown ¶
func (m *Transfer) XXX_DiscardUnknown()
func (*Transfer) XXX_Marshal ¶
func (*Transfer) XXX_Unmarshal ¶
type UintRange ¶
type UintRange struct { // The starting value of the range (inclusive). Start Uint `protobuf:"bytes,1,opt,name=start,proto3,customtype=Uint" json:"start"` // The ending value of the range (inclusive). End Uint `protobuf:"bytes,2,opt,name=end,proto3,customtype=Uint" json:"end"` }
The UintRange is a range of IDs from some start to some end (inclusive).
uintRanges are one of the core types used in the BitBadgesChain module. They are used for everything from badge IDs to time ranges to min/max balance amounts.
See the BitBadges documentation for more information.
func CreateUintRange ¶
Helper function to make code more readable
func DeepCopyRanges ¶
func InvertUintRanges ¶
func SortUintRangesAndMerge ¶
Will sort the ID ranges in order and merge overlapping IDs if we can If mergeIntersecting is true, we will merge intersecting ranges. If false, we will panic if any intersect and only sort and merge adjacent ranges (i.e. [1-5], [6-10])
func (*UintRange) Descriptor ¶
func (*UintRange) MarshalToSizedBuffer ¶
func (*UintRange) ProtoMessage ¶
func (*UintRange) ProtoMessage()
func (*UintRange) XXX_DiscardUnknown ¶
func (m *UintRange) XXX_DiscardUnknown()
func (*UintRange) XXX_Marshal ¶
func (*UintRange) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateAddressLists ¶
func (*UnimplementedMsgServer) CreateAddressLists(ctx context.Context, req *MsgCreateAddressLists) (*MsgCreateAddressListsResponse, error)
func (*UnimplementedMsgServer) CreateCollection ¶
func (*UnimplementedMsgServer) CreateCollection(ctx context.Context, req *MsgCreateCollection) (*MsgCreateCollectionResponse, error)
func (*UnimplementedMsgServer) DeleteCollection ¶
func (*UnimplementedMsgServer) DeleteCollection(ctx context.Context, req *MsgDeleteCollection) (*MsgDeleteCollectionResponse, error)
func (*UnimplementedMsgServer) TransferBadges ¶
func (*UnimplementedMsgServer) TransferBadges(ctx context.Context, req *MsgTransferBadges) (*MsgTransferBadgesResponse, error)
func (*UnimplementedMsgServer) UniversalUpdateCollection ¶
func (*UnimplementedMsgServer) UniversalUpdateCollection(ctx context.Context, req *MsgUniversalUpdateCollection) (*MsgUniversalUpdateCollectionResponse, error)
func (*UnimplementedMsgServer) UpdateCollection ¶
func (*UnimplementedMsgServer) UpdateCollection(ctx context.Context, req *MsgUpdateCollection) (*MsgUpdateCollectionResponse, error)
func (*UnimplementedMsgServer) UpdateUserApprovals ¶
func (*UnimplementedMsgServer) UpdateUserApprovals(ctx context.Context, req *MsgUpdateUserApprovals) (*MsgUpdateUserApprovalsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetAddressList ¶
func (*UnimplementedQueryServer) GetAddressList(ctx context.Context, req *QueryGetAddressListRequest) (*QueryGetAddressListResponse, error)
func (*UnimplementedQueryServer) GetApprovalTracker ¶
func (*UnimplementedQueryServer) GetApprovalTracker(ctx context.Context, req *QueryGetApprovalTrackerRequest) (*QueryGetApprovalTrackerResponse, error)
func (*UnimplementedQueryServer) GetBalance ¶
func (*UnimplementedQueryServer) GetBalance(ctx context.Context, req *QueryGetBalanceRequest) (*QueryGetBalanceResponse, error)
func (*UnimplementedQueryServer) GetChallengeTracker ¶
func (*UnimplementedQueryServer) GetChallengeTracker(ctx context.Context, req *QueryGetChallengeTrackerRequest) (*QueryGetChallengeTrackerResponse, error)
func (*UnimplementedQueryServer) GetCollection ¶
func (*UnimplementedQueryServer) GetCollection(ctx context.Context, req *QueryGetCollectionRequest) (*QueryGetCollectionResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type UniversalPermission ¶
type UniversalPermission struct { BadgeIds []*UintRange TimelineTimes []*UintRange TransferTimes []*UintRange OwnershipTimes []*UintRange ToList *AddressList FromList *AddressList InitiatedByList *AddressList ApprovalIdList *AddressList ChallengeTrackerIdList *AddressList AmountTrackerIdList *AddressList PermanentlyPermittedTimes []*UintRange PermanentlyForbiddenTimes []*UintRange UsesBadgeIds bool UsesTimelineTimes bool UsesTransferTimes bool UsesToList bool UsesFromList bool UsesInitiatedByList bool UsesOwnershipTimes bool UsesApprovalId bool UsesAmountTrackerId bool UsesChallengeTrackerId bool ArbitraryValue interface{} }
type UniversalPermissionDetails ¶
type UniversalPermissionDetails struct { BadgeId *UintRange TimelineTime *UintRange TransferTime *UintRange OwnershipTime *UintRange ToList *AddressList FromList *AddressList InitiatedByList *AddressList ApprovalIdList *AddressList ChallengeTrackerIdList *AddressList AmountTrackerIdList *AddressList //These fields are not actually used in the overlapping logic. //They are just along for the ride and used later for lookups PermanentlyPermittedTimes []*UintRange PermanentlyForbiddenTimes []*UintRange ArbitraryValue interface{} }
func ApplyManipulations ¶
func ApplyManipulations(permissions []*UniversalPermission) []*UniversalPermissionDetails
func GetFirstMatchOnly ¶
func GetFirstMatchOnly(permissions []*UniversalPermission) []*UniversalPermissionDetails
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"` }
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 ¶
func (*UserBalanceStore) Descriptor() ([]byte, []int)
func (*UserBalanceStore) GetAutoApproveSelfInitiatedIncomingTransfers ¶
func (m *UserBalanceStore) GetAutoApproveSelfInitiatedIncomingTransfers() bool
func (*UserBalanceStore) GetAutoApproveSelfInitiatedOutgoingTransfers ¶
func (m *UserBalanceStore) GetAutoApproveSelfInitiatedOutgoingTransfers() bool
func (*UserBalanceStore) GetBalances ¶
func (m *UserBalanceStore) GetBalances() []*Balance
func (*UserBalanceStore) GetIncomingApprovals ¶
func (m *UserBalanceStore) GetIncomingApprovals() []*UserIncomingApproval
func (*UserBalanceStore) GetOutgoingApprovals ¶
func (m *UserBalanceStore) GetOutgoingApprovals() []*UserOutgoingApproval
func (*UserBalanceStore) GetUserPermissions ¶
func (m *UserBalanceStore) GetUserPermissions() *UserPermissions
func (*UserBalanceStore) Marshal ¶
func (m *UserBalanceStore) Marshal() (dAtA []byte, err error)
func (*UserBalanceStore) MarshalToSizedBuffer ¶
func (m *UserBalanceStore) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserBalanceStore) ProtoMessage ¶
func (*UserBalanceStore) ProtoMessage()
func (*UserBalanceStore) Reset ¶
func (m *UserBalanceStore) Reset()
func (*UserBalanceStore) Size ¶
func (m *UserBalanceStore) Size() (n int)
func (*UserBalanceStore) String ¶
func (m *UserBalanceStore) String() string
func (*UserBalanceStore) Unmarshal ¶
func (m *UserBalanceStore) Unmarshal(dAtA []byte) error
func (*UserBalanceStore) XXX_DiscardUnknown ¶
func (m *UserBalanceStore) XXX_DiscardUnknown()
func (*UserBalanceStore) XXX_Marshal ¶
func (m *UserBalanceStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserBalanceStore) XXX_Merge ¶
func (m *UserBalanceStore) XXX_Merge(src proto.Message)
func (*UserBalanceStore) XXX_Size ¶
func (m *UserBalanceStore) XXX_Size() int
func (*UserBalanceStore) XXX_Unmarshal ¶
func (m *UserBalanceStore) XXX_Unmarshal(b []byte) error
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 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"` // The ID of the challenge tracker associated with this approval. // We use this ID to track the number of uses per leaf for the Merkle challenge. ChallengeTrackerId string `protobuf:"bytes,7,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,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"` }
UserIncomingApproval defines the rules for the approval of an incoming transfer to a user.
func CastFromCollectionTransferToIncomingTransfer ¶
func CastFromCollectionTransferToIncomingTransfer(transfer *CollectionApproval) *UserIncomingApproval
func (*UserIncomingApproval) Descriptor ¶
func (*UserIncomingApproval) Descriptor() ([]byte, []int)
func (*UserIncomingApproval) GetAmountTrackerId ¶
func (m *UserIncomingApproval) GetAmountTrackerId() string
func (*UserIncomingApproval) GetApprovalCriteria ¶
func (m *UserIncomingApproval) GetApprovalCriteria() *IncomingApprovalCriteria
func (*UserIncomingApproval) GetApprovalId ¶
func (m *UserIncomingApproval) GetApprovalId() string
func (*UserIncomingApproval) GetBadgeIds ¶
func (m *UserIncomingApproval) GetBadgeIds() []*UintRange
func (*UserIncomingApproval) GetChallengeTrackerId ¶
func (m *UserIncomingApproval) GetChallengeTrackerId() string
func (*UserIncomingApproval) GetCustomData ¶
func (m *UserIncomingApproval) GetCustomData() string
func (*UserIncomingApproval) GetFromListId ¶
func (m *UserIncomingApproval) GetFromListId() string
func (*UserIncomingApproval) GetInitiatedByListId ¶
func (m *UserIncomingApproval) GetInitiatedByListId() string
func (*UserIncomingApproval) GetOwnershipTimes ¶
func (m *UserIncomingApproval) GetOwnershipTimes() []*UintRange
func (*UserIncomingApproval) GetTransferTimes ¶
func (m *UserIncomingApproval) GetTransferTimes() []*UintRange
func (*UserIncomingApproval) GetUri ¶
func (m *UserIncomingApproval) GetUri() string
func (*UserIncomingApproval) Marshal ¶
func (m *UserIncomingApproval) Marshal() (dAtA []byte, err error)
func (*UserIncomingApproval) MarshalTo ¶
func (m *UserIncomingApproval) MarshalTo(dAtA []byte) (int, error)
func (*UserIncomingApproval) MarshalToSizedBuffer ¶
func (m *UserIncomingApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserIncomingApproval) ProtoMessage ¶
func (*UserIncomingApproval) ProtoMessage()
func (*UserIncomingApproval) Reset ¶
func (m *UserIncomingApproval) Reset()
func (*UserIncomingApproval) Size ¶
func (m *UserIncomingApproval) Size() (n int)
func (*UserIncomingApproval) String ¶
func (m *UserIncomingApproval) String() string
func (*UserIncomingApproval) Unmarshal ¶
func (m *UserIncomingApproval) Unmarshal(dAtA []byte) error
func (*UserIncomingApproval) XXX_DiscardUnknown ¶
func (m *UserIncomingApproval) XXX_DiscardUnknown()
func (*UserIncomingApproval) XXX_Marshal ¶
func (m *UserIncomingApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserIncomingApproval) XXX_Merge ¶
func (m *UserIncomingApproval) XXX_Merge(src proto.Message)
func (*UserIncomingApproval) XXX_Size ¶
func (m *UserIncomingApproval) XXX_Size() int
func (*UserIncomingApproval) XXX_Unmarshal ¶
func (m *UserIncomingApproval) XXX_Unmarshal(b []byte) error
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 amountTrackerId. You can use "All" or "!trackerId" for shorthand. // If you use "All", this approval will match to all amountTrackerIds. // If you use "!trackerId", this approval will match to all amountTrackerIds except for trackerId. // If you use "trackerId", this approval will match to only the specified trackerId and fail on all others. AmountTrackerId string `protobuf:"bytes,6,opt,name=amountTrackerId,proto3" json:"amountTrackerId,omitempty"` // Identifier for the challengeTrackerId. You can use "All" or "!trackerId" for shorthand. // If you use "All", this approval will match to all challengeTrackerIds. // If you use "!trackerId", this approval will match to all challengeTrackerIds except for trackerId. // If you use "trackerId", this approval will match to only the specified trackerId and fail on all others. ChallengeTrackerId string `protobuf:"bytes,7,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,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"` }
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 ¶
func (*UserIncomingApprovalPermission) Descriptor() ([]byte, []int)
func (*UserIncomingApprovalPermission) GetAmountTrackerId ¶
func (m *UserIncomingApprovalPermission) GetAmountTrackerId() string
func (*UserIncomingApprovalPermission) GetApprovalId ¶
func (m *UserIncomingApprovalPermission) GetApprovalId() string
func (*UserIncomingApprovalPermission) GetBadgeIds ¶
func (m *UserIncomingApprovalPermission) GetBadgeIds() []*UintRange
func (*UserIncomingApprovalPermission) GetChallengeTrackerId ¶
func (m *UserIncomingApprovalPermission) GetChallengeTrackerId() string
func (*UserIncomingApprovalPermission) GetFromListId ¶
func (m *UserIncomingApprovalPermission) GetFromListId() string
func (*UserIncomingApprovalPermission) GetInitiatedByListId ¶
func (m *UserIncomingApprovalPermission) GetInitiatedByListId() string
func (*UserIncomingApprovalPermission) GetOwnershipTimes ¶
func (m *UserIncomingApprovalPermission) GetOwnershipTimes() []*UintRange
func (*UserIncomingApprovalPermission) GetPermanentlyForbiddenTimes ¶
func (m *UserIncomingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*UserIncomingApprovalPermission) GetPermanentlyPermittedTimes ¶
func (m *UserIncomingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*UserIncomingApprovalPermission) GetTransferTimes ¶
func (m *UserIncomingApprovalPermission) GetTransferTimes() []*UintRange
func (*UserIncomingApprovalPermission) Marshal ¶
func (m *UserIncomingApprovalPermission) Marshal() (dAtA []byte, err error)
func (*UserIncomingApprovalPermission) MarshalTo ¶
func (m *UserIncomingApprovalPermission) MarshalTo(dAtA []byte) (int, error)
func (*UserIncomingApprovalPermission) MarshalToSizedBuffer ¶
func (m *UserIncomingApprovalPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserIncomingApprovalPermission) ProtoMessage ¶
func (*UserIncomingApprovalPermission) ProtoMessage()
func (*UserIncomingApprovalPermission) Reset ¶
func (m *UserIncomingApprovalPermission) Reset()
func (*UserIncomingApprovalPermission) Size ¶
func (m *UserIncomingApprovalPermission) Size() (n int)
func (*UserIncomingApprovalPermission) String ¶
func (m *UserIncomingApprovalPermission) String() string
func (*UserIncomingApprovalPermission) Unmarshal ¶
func (m *UserIncomingApprovalPermission) Unmarshal(dAtA []byte) error
func (*UserIncomingApprovalPermission) XXX_DiscardUnknown ¶
func (m *UserIncomingApprovalPermission) XXX_DiscardUnknown()
func (*UserIncomingApprovalPermission) XXX_Marshal ¶
func (m *UserIncomingApprovalPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserIncomingApprovalPermission) XXX_Merge ¶
func (m *UserIncomingApprovalPermission) XXX_Merge(src proto.Message)
func (*UserIncomingApprovalPermission) XXX_Size ¶
func (m *UserIncomingApprovalPermission) XXX_Size() int
func (*UserIncomingApprovalPermission) XXX_Unmarshal ¶
func (m *UserIncomingApprovalPermission) XXX_Unmarshal(b []byte) error
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"` }
func (*UserIncomingApprovalTimeline) Descriptor ¶
func (*UserIncomingApprovalTimeline) Descriptor() ([]byte, []int)
func (*UserIncomingApprovalTimeline) GetIncomingApprovals ¶
func (m *UserIncomingApprovalTimeline) GetIncomingApprovals() []*UserIncomingApproval
func (*UserIncomingApprovalTimeline) GetTimelineTimes ¶
func (m *UserIncomingApprovalTimeline) GetTimelineTimes() []*UintRange
func (*UserIncomingApprovalTimeline) Marshal ¶
func (m *UserIncomingApprovalTimeline) Marshal() (dAtA []byte, err error)
func (*UserIncomingApprovalTimeline) MarshalTo ¶
func (m *UserIncomingApprovalTimeline) MarshalTo(dAtA []byte) (int, error)
func (*UserIncomingApprovalTimeline) MarshalToSizedBuffer ¶
func (m *UserIncomingApprovalTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserIncomingApprovalTimeline) ProtoMessage ¶
func (*UserIncomingApprovalTimeline) ProtoMessage()
func (*UserIncomingApprovalTimeline) Reset ¶
func (m *UserIncomingApprovalTimeline) Reset()
func (*UserIncomingApprovalTimeline) Size ¶
func (m *UserIncomingApprovalTimeline) Size() (n int)
func (*UserIncomingApprovalTimeline) String ¶
func (m *UserIncomingApprovalTimeline) String() string
func (*UserIncomingApprovalTimeline) Unmarshal ¶
func (m *UserIncomingApprovalTimeline) Unmarshal(dAtA []byte) error
func (*UserIncomingApprovalTimeline) XXX_DiscardUnknown ¶
func (m *UserIncomingApprovalTimeline) XXX_DiscardUnknown()
func (*UserIncomingApprovalTimeline) XXX_Marshal ¶
func (m *UserIncomingApprovalTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserIncomingApprovalTimeline) XXX_Merge ¶
func (m *UserIncomingApprovalTimeline) XXX_Merge(src proto.Message)
func (*UserIncomingApprovalTimeline) XXX_Size ¶
func (m *UserIncomingApprovalTimeline) XXX_Size() int
func (*UserIncomingApprovalTimeline) XXX_Unmarshal ¶
func (m *UserIncomingApprovalTimeline) XXX_Unmarshal(b []byte) error
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 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"` // The ID of the challenge tracker associated with this approval. // We use this ID to track the number of uses per leaf for the Merkle challenge. ChallengeTrackerId string `protobuf:"bytes,7,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,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"` }
UserOutgoingApproval defines the rules for the approval of an outgoing transfer from a user.
func CastFromCollectionTransferToOutgoingTransfer ¶
func CastFromCollectionTransferToOutgoingTransfer(transfer *CollectionApproval) *UserOutgoingApproval
func (*UserOutgoingApproval) Descriptor ¶
func (*UserOutgoingApproval) Descriptor() ([]byte, []int)
func (*UserOutgoingApproval) GetAmountTrackerId ¶
func (m *UserOutgoingApproval) GetAmountTrackerId() string
func (*UserOutgoingApproval) GetApprovalCriteria ¶
func (m *UserOutgoingApproval) GetApprovalCriteria() *OutgoingApprovalCriteria
func (*UserOutgoingApproval) GetApprovalId ¶
func (m *UserOutgoingApproval) GetApprovalId() string
func (*UserOutgoingApproval) GetBadgeIds ¶
func (m *UserOutgoingApproval) GetBadgeIds() []*UintRange
func (*UserOutgoingApproval) GetChallengeTrackerId ¶
func (m *UserOutgoingApproval) GetChallengeTrackerId() string
func (*UserOutgoingApproval) GetCustomData ¶
func (m *UserOutgoingApproval) GetCustomData() string
func (*UserOutgoingApproval) GetInitiatedByListId ¶
func (m *UserOutgoingApproval) GetInitiatedByListId() string
func (*UserOutgoingApproval) GetOwnershipTimes ¶
func (m *UserOutgoingApproval) GetOwnershipTimes() []*UintRange
func (*UserOutgoingApproval) GetToListId ¶
func (m *UserOutgoingApproval) GetToListId() string
func (*UserOutgoingApproval) GetTransferTimes ¶
func (m *UserOutgoingApproval) GetTransferTimes() []*UintRange
func (*UserOutgoingApproval) GetUri ¶
func (m *UserOutgoingApproval) GetUri() string
func (*UserOutgoingApproval) Marshal ¶
func (m *UserOutgoingApproval) Marshal() (dAtA []byte, err error)
func (*UserOutgoingApproval) MarshalTo ¶
func (m *UserOutgoingApproval) MarshalTo(dAtA []byte) (int, error)
func (*UserOutgoingApproval) MarshalToSizedBuffer ¶
func (m *UserOutgoingApproval) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserOutgoingApproval) ProtoMessage ¶
func (*UserOutgoingApproval) ProtoMessage()
func (*UserOutgoingApproval) Reset ¶
func (m *UserOutgoingApproval) Reset()
func (*UserOutgoingApproval) Size ¶
func (m *UserOutgoingApproval) Size() (n int)
func (*UserOutgoingApproval) String ¶
func (m *UserOutgoingApproval) String() string
func (*UserOutgoingApproval) Unmarshal ¶
func (m *UserOutgoingApproval) Unmarshal(dAtA []byte) error
func (*UserOutgoingApproval) XXX_DiscardUnknown ¶
func (m *UserOutgoingApproval) XXX_DiscardUnknown()
func (*UserOutgoingApproval) XXX_Marshal ¶
func (m *UserOutgoingApproval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserOutgoingApproval) XXX_Merge ¶
func (m *UserOutgoingApproval) XXX_Merge(src proto.Message)
func (*UserOutgoingApproval) XXX_Size ¶
func (m *UserOutgoingApproval) XXX_Size() int
func (*UserOutgoingApproval) XXX_Unmarshal ¶
func (m *UserOutgoingApproval) XXX_Unmarshal(b []byte) error
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 amountTrackerId. You can use "All" or "!trackerId" for shorthand. // If you use "All", this approval will match to all amountTrackerIds. // If you use "!trackerId", this approval will match to all amountTrackerIds except for trackerId. // If you use "trackerId", this approval will match to only the specified trackerId and fail on all others. AmountTrackerId string `protobuf:"bytes,6,opt,name=amountTrackerId,proto3" json:"amountTrackerId,omitempty"` // Identifier for the challengeTrackerId. You can use "All" or "!trackerId" for shorthand. // If you use "All", this approval will match to all challengeTrackerIds. // If you use "!trackerId", this approval will match to all challengeTrackerIds except for trackerId. // If you use "trackerId", this approval will match to only the specified trackerId and fail on all others. ChallengeTrackerId string `protobuf:"bytes,7,opt,name=challengeTrackerId,proto3" json:"challengeTrackerId,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"` }
UserOutgoingApprovalPermission defines the permissions for updating the user's approved outgoing transfers.
func (*UserOutgoingApprovalPermission) Descriptor ¶
func (*UserOutgoingApprovalPermission) Descriptor() ([]byte, []int)
func (*UserOutgoingApprovalPermission) GetAmountTrackerId ¶
func (m *UserOutgoingApprovalPermission) GetAmountTrackerId() string
func (*UserOutgoingApprovalPermission) GetApprovalId ¶
func (m *UserOutgoingApprovalPermission) GetApprovalId() string
func (*UserOutgoingApprovalPermission) GetBadgeIds ¶
func (m *UserOutgoingApprovalPermission) GetBadgeIds() []*UintRange
func (*UserOutgoingApprovalPermission) GetChallengeTrackerId ¶
func (m *UserOutgoingApprovalPermission) GetChallengeTrackerId() string
func (*UserOutgoingApprovalPermission) GetInitiatedByListId ¶
func (m *UserOutgoingApprovalPermission) GetInitiatedByListId() string
func (*UserOutgoingApprovalPermission) GetOwnershipTimes ¶
func (m *UserOutgoingApprovalPermission) GetOwnershipTimes() []*UintRange
func (*UserOutgoingApprovalPermission) GetPermanentlyForbiddenTimes ¶
func (m *UserOutgoingApprovalPermission) GetPermanentlyForbiddenTimes() []*UintRange
func (*UserOutgoingApprovalPermission) GetPermanentlyPermittedTimes ¶
func (m *UserOutgoingApprovalPermission) GetPermanentlyPermittedTimes() []*UintRange
func (*UserOutgoingApprovalPermission) GetToListId ¶
func (m *UserOutgoingApprovalPermission) GetToListId() string
func (*UserOutgoingApprovalPermission) GetTransferTimes ¶
func (m *UserOutgoingApprovalPermission) GetTransferTimes() []*UintRange
func (*UserOutgoingApprovalPermission) Marshal ¶
func (m *UserOutgoingApprovalPermission) Marshal() (dAtA []byte, err error)
func (*UserOutgoingApprovalPermission) MarshalTo ¶
func (m *UserOutgoingApprovalPermission) MarshalTo(dAtA []byte) (int, error)
func (*UserOutgoingApprovalPermission) MarshalToSizedBuffer ¶
func (m *UserOutgoingApprovalPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserOutgoingApprovalPermission) ProtoMessage ¶
func (*UserOutgoingApprovalPermission) ProtoMessage()
func (*UserOutgoingApprovalPermission) Reset ¶
func (m *UserOutgoingApprovalPermission) Reset()
func (*UserOutgoingApprovalPermission) Size ¶
func (m *UserOutgoingApprovalPermission) Size() (n int)
func (*UserOutgoingApprovalPermission) String ¶
func (m *UserOutgoingApprovalPermission) String() string
func (*UserOutgoingApprovalPermission) Unmarshal ¶
func (m *UserOutgoingApprovalPermission) Unmarshal(dAtA []byte) error
func (*UserOutgoingApprovalPermission) XXX_DiscardUnknown ¶
func (m *UserOutgoingApprovalPermission) XXX_DiscardUnknown()
func (*UserOutgoingApprovalPermission) XXX_Marshal ¶
func (m *UserOutgoingApprovalPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserOutgoingApprovalPermission) XXX_Merge ¶
func (m *UserOutgoingApprovalPermission) XXX_Merge(src proto.Message)
func (*UserOutgoingApprovalPermission) XXX_Size ¶
func (m *UserOutgoingApprovalPermission) XXX_Size() int
func (*UserOutgoingApprovalPermission) XXX_Unmarshal ¶
func (m *UserOutgoingApprovalPermission) XXX_Unmarshal(b []byte) error
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"` }
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 ¶
func (*UserOutgoingApprovalTimeline) Descriptor() ([]byte, []int)
func (*UserOutgoingApprovalTimeline) GetOutgoingApprovals ¶
func (m *UserOutgoingApprovalTimeline) GetOutgoingApprovals() []*UserOutgoingApproval
func (*UserOutgoingApprovalTimeline) GetTimelineTimes ¶
func (m *UserOutgoingApprovalTimeline) GetTimelineTimes() []*UintRange
func (*UserOutgoingApprovalTimeline) Marshal ¶
func (m *UserOutgoingApprovalTimeline) Marshal() (dAtA []byte, err error)
func (*UserOutgoingApprovalTimeline) MarshalTo ¶
func (m *UserOutgoingApprovalTimeline) MarshalTo(dAtA []byte) (int, error)
func (*UserOutgoingApprovalTimeline) MarshalToSizedBuffer ¶
func (m *UserOutgoingApprovalTimeline) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserOutgoingApprovalTimeline) ProtoMessage ¶
func (*UserOutgoingApprovalTimeline) ProtoMessage()
func (*UserOutgoingApprovalTimeline) Reset ¶
func (m *UserOutgoingApprovalTimeline) Reset()
func (*UserOutgoingApprovalTimeline) Size ¶
func (m *UserOutgoingApprovalTimeline) Size() (n int)
func (*UserOutgoingApprovalTimeline) String ¶
func (m *UserOutgoingApprovalTimeline) String() string
func (*UserOutgoingApprovalTimeline) Unmarshal ¶
func (m *UserOutgoingApprovalTimeline) Unmarshal(dAtA []byte) error
func (*UserOutgoingApprovalTimeline) XXX_DiscardUnknown ¶
func (m *UserOutgoingApprovalTimeline) XXX_DiscardUnknown()
func (*UserOutgoingApprovalTimeline) XXX_Marshal ¶
func (m *UserOutgoingApprovalTimeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserOutgoingApprovalTimeline) XXX_Merge ¶
func (m *UserOutgoingApprovalTimeline) XXX_Merge(src proto.Message)
func (*UserOutgoingApprovalTimeline) XXX_Size ¶
func (m *UserOutgoingApprovalTimeline) XXX_Size() int
func (*UserOutgoingApprovalTimeline) XXX_Unmarshal ¶
func (m *UserOutgoingApprovalTimeline) XXX_Unmarshal(b []byte) error
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 */ }
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 ¶
func (*UserPermissions) Descriptor() ([]byte, []int)
func (*UserPermissions) GetCanUpdateAutoApproveSelfInitiatedIncomingTransfers ¶
func (m *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedIncomingTransfers() []*ActionPermission
func (*UserPermissions) GetCanUpdateAutoApproveSelfInitiatedOutgoingTransfers ¶
func (m *UserPermissions) GetCanUpdateAutoApproveSelfInitiatedOutgoingTransfers() []*ActionPermission
func (*UserPermissions) GetCanUpdateIncomingApprovals ¶
func (m *UserPermissions) GetCanUpdateIncomingApprovals() []*UserIncomingApprovalPermission
func (*UserPermissions) GetCanUpdateOutgoingApprovals ¶
func (m *UserPermissions) GetCanUpdateOutgoingApprovals() []*UserOutgoingApprovalPermission
func (*UserPermissions) Marshal ¶
func (m *UserPermissions) Marshal() (dAtA []byte, err error)
func (*UserPermissions) MarshalToSizedBuffer ¶
func (m *UserPermissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserPermissions) ProtoMessage ¶
func (*UserPermissions) ProtoMessage()
func (*UserPermissions) Reset ¶
func (m *UserPermissions) Reset()
func (*UserPermissions) Size ¶
func (m *UserPermissions) Size() (n int)
func (*UserPermissions) String ¶
func (m *UserPermissions) String() string
func (*UserPermissions) Unmarshal ¶
func (m *UserPermissions) Unmarshal(dAtA []byte) error
func (*UserPermissions) XXX_DiscardUnknown ¶
func (m *UserPermissions) XXX_DiscardUnknown()
func (*UserPermissions) XXX_Marshal ¶
func (m *UserPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserPermissions) XXX_Merge ¶
func (m *UserPermissions) XXX_Merge(src proto.Message)
func (*UserPermissions) XXX_Size ¶
func (m *UserPermissions) XXX_Size() int
func (*UserPermissions) XXX_Unmarshal ¶
func (m *UserPermissions) XXX_Unmarshal(b []byte) error
Source Files ¶
- address_lists.go
- address_lists.pb.go
- approved_transfers_casts.go
- balances.go
- balances.pb.go
- codec.go
- collections.pb.go
- errors.go
- events_ibc.go
- expected_ibc_keeper.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- legacytx.pb.go
- math.go
- math_funcs.go
- message_create_address_mappings.go
- message_delete_collection.go
- message_msg_create_collection.go
- message_msg_update_collection.go
- message_transfer_badge.go
- message_update_collection.go
- message_update_user_approved_transfers.go
- metadata.pb.go
- packet.pb.go
- params.go
- params.pb.go
- permissions.pb.go
- query.pb.go
- query.pb.gw.go
- timeline_helpers.go
- timelines.pb.go
- transfers.pb.go
- tx.pb.go
- types.go
- uint_ranges.go
- universal_permissions.go
- validate_basic.go
- validate_basic_permissions.go
- validate_basic_timelines.go