difftreelog
docs description for `CollectionLimits` variants.
in: master
1 file changed
pallets/common/src/eth.rsdiffbeforeafterboth160#[derive(Debug, Default, Clone, Copy, AbiCoder)]160#[derive(Debug, Default, Clone, Copy, AbiCoder)]161#[repr(u8)]161#[repr(u8)]162pub enum CollectionLimits {162pub enum CollectionLimits {163 /// How many tokens can a user have on one account.163 #[default]164 #[default]164 AccountTokenOwnership,165 AccountTokenOwnership,166 /// How many bytes of data are available for sponsorship.165 SponsoredDataSize,167 SponsoredDataSize,168 /// In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]166 SponsoredDataRateLimit,169 SponsoredDataRateLimit,170 /// How many tokens can be mined into this collection.167 TokenLimit,171 TokenLimit,172 /// Timeouts for transfer sponsoring.168 SponsorTransferTimeout,173 SponsorTransferTimeout,174 /// Timeout for sponsoring an approval in passed blocks.169 SponsorApproveTimeout,175 SponsorApproveTimeout,176 /// Whether the collection owner of the collection can send tokens (which belong to other users).170 OwnerCanTransfer,177 OwnerCanTransfer,178 /// Can the collection owner burn other people's tokens.171 OwnerCanDestroy,179 OwnerCanDestroy,180 /// Is it possible to send tokens from this collection between users.172 TransferEnabled,181 TransferEnabled,173}182}174#[derive(Default, Debug, Clone, Copy, AbiCoder)]183#[derive(Default, Debug, Clone, Copy, AbiCoder)]