From 3ef61882095f5a32a521f63311bf250d42cbd309 Mon Sep 17 00:00:00 2001 From: PraetorP Date: Fri, 16 Dec 2022 14:00:22 +0000 Subject: [PATCH] docs: description for `CollectionLimits` variants. --- --- a/pallets/common/src/eth.rs +++ b/pallets/common/src/eth.rs @@ -160,15 +160,24 @@ #[derive(Debug, Default, Clone, Copy, AbiCoder)] #[repr(u8)] pub enum CollectionLimits { + /// How many tokens can a user have on one account. #[default] AccountTokenOwnership, + /// How many bytes of data are available for sponsorship. SponsoredDataSize, + /// In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`] SponsoredDataRateLimit, + /// How many tokens can be mined into this collection. TokenLimit, + /// Timeouts for transfer sponsoring. SponsorTransferTimeout, + /// Timeout for sponsoring an approval in passed blocks. SponsorApproveTimeout, + /// Whether the collection owner of the collection can send tokens (which belong to other users). OwnerCanTransfer, + /// Can the collection owner burn other people's tokens. OwnerCanDestroy, + /// Is it possible to send tokens from this collection between users. TransferEnabled, } #[derive(Default, Debug, Clone, Copy, AbiCoder)] -- gitstuff