Module constants

Source

Modules§

currency

Structs§

AnnouncementDepositBase
AnnouncementDepositFactor
Burn
How much of the treasury to burn, if funds remain at the end of the SpendPeriod Set to zero until the economic system is setup and stabilized
CapacityPerToken
CapacityRewardCap
MaxItemizedBlobSizeBytes
The maximum size of a single item in an itemized storage model (in bytes)
MaxItemizedPageSizeBytes
The maximum size of a page (in bytes) for an Itemized storage model ~ (10KiB) extra 2 bytes is for ItemHeader which enables us to simulate max PoV in benchmarks
MaxPaginatedPageSizeBytes
The maximum size of a page (in bytes) for a Paginated storage model (1KiB)
MaxPending
MaxProxies
MessagesMaxPayloadSizeBytes
NeverDepositIntoId
ProposalBondPercent
Bond amount a treasury request must put up to make the proposal This will be transferred to OnSlash if the proposal is rejected
ProxyDepositBase
ProxyDepositFactor
SchemasMaxBytesBoundedVecLimit
The maximum length of a schema model (in bytes)
Ss58Prefix
SS58 Prefix for the for Frequency Network 90 is the prefix for the Frequency Network on Polkadot 42 is the default prefix elsewhere
TreasuryPalletId
Keyless account that holds the money for the treasury

Constants§

AVERAGE_ON_INITIALIZE_RATIO
We assume that ~5% of the block weight is consumed by on_initialize handlers. This is used to limit the maximal weight of a single extrinsic.
CHAIN_ID
DAYS
FREQUENCY_LOCAL_TOKEN
FREQUENCY_TESTNET_TOKEN
FREQUENCY_TOKEN
HOURS
MAXIMUM_BLOCK_WEIGHT
We allow for 2 seconds of compute with a 6 second average block time.
MAX_RELEASE_SCHEDULES
Update
MILLISECS_PER_BLOCK
This determines the average expected block time that we are targeting. Blocks will be produced at a minimum duration defined by SLOT_DURATION. SLOT_DURATION is picked up by pallet_timestamp which is in turn picked up by pallet_aura to implement fn slot_duration().
MINUTES
NORMAL_DISPATCH_RATIO
We allow Normal extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics.
SLOT_DURATION
TOKEN_DECIMALS
TREASURY_PALLET_ID
Generates the pallet “account” 5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z

Type Aliases§

AuraMaxAuthorities
The maximum number of authorities
AuthorshipUncleGenerations
BalancesMaxFreezes
BalancesMaxLocks
BalancesMaxReserves
CapacityMaxEpochLength
CapacityMaxUnlockingChunks
CapacityMinimumStakingAmount
CapacityMinimumTokenBalance
CapacityRewardEraLength
CapacityUnstakingThawPeriod
CollatorKickThreshold
CollatorMaxCandidates
CollatorMaxInvulnerables
CollatorMinCandidates
CooloffPeriod
CouncilMaxMembers
CouncilMaxProposals
CouncilMotionDuration
DemocracyMaxProposals
DemocracyMaxVotes
EnactmentPeriod
FIFTY
FastTrackVotingPeriod
FrameSystemMaxConsumers
HUNDRED
HandleSuffixMax
The maximum suffix value
HandleSuffixMin
The minimum suffix value
LaunchPeriod
MSAMaxSignaturesStored
The upper limit on total stored signatures. Set to an average of 50 signatures per block
MSAMortalityWindowSize
The number of blocks per virtual bucket
MaxApprovals
Maximum number of approved proposals per Spending Period Set to 64 or 16 per week
MaxItemizedActionsCount
The maximum number of actions in itemized actions
MaxPaginatedPageId
The maximum number of pages in a Paginated storage model
MaxSchemaGrants
The maximum number of schema grants allowed per delegation
MaxSchemaSettingsPerSchema
The maximum number of grants allowed per schema
MaximumCapacityBatchLength
MinReleaseTransfer
MinimumDeposit
MinimumPeriod
MsaMaxProviderNameSize
The maximum size of the provider name (in bytes)
MsaMaxPublicKeysPerMsa
The maximum number of public keys per MSA
PreimageBaseDeposit
PreimageByteDeposit
PreimageMaxSize
Preimage maximum size set to 4 MB Expected to be removed in Polkadot v0.9.31
ProposalBondMaximum
Minimum bond for a treasury proposal
ProposalBondMinimum
Minimum bond for a treasury proposal
SchedulerMaxScheduledPerBlock
SchemasMaxRegistrations
The maximum number of schema registrations
SchemasMinModelSizeBytes
The minimum schema model size (in bytes)
SessionOffset
SessionPeriod
SpendPeriod
StatefulMortalityWindowSize
The number of blocks for Stateful mortality is 48 hours
TCMaxMembers
TCMaxProposals
TCMotionDuration
TWO
TransactionByteFee
Relay Chain TransactionByteFee / 10
TransactionPaymentOperationalFeeMultiplier
VotingPeriod
ZERO