Modules§
Structs§
- Announcement
Deposit Base - Announcement
Deposit Factor - 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
- Capacity
PerToken - Capacity
Reward Cap - MaxItemized
Blob Size Bytes - The maximum size of a single item in an itemized storage model (in bytes)
- MaxItemized
Page Size Bytes - 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
- MaxPaginated
Page Size Bytes - The maximum size of a page (in bytes) for a Paginated storage model (1KiB)
- MaxPending
- MaxProxies
- Messages
MaxPayload Size Bytes - Never
Deposit Into Id - Proposal
Bond Percent - Bond amount a treasury request must put up to make the proposal This will be transferred to OnSlash if the proposal is rejected
- Proxy
Deposit Base - Proxy
Deposit Factor - Schemas
MaxBytes Bounded VecLimit - The maximum length of a schema model (in bytes)
- Ss58
Prefix - SS58 Prefix for the for Frequency Network 90 is the prefix for the Frequency Network on Polkadot 42 is the default prefix elsewhere
- Treasury
Pallet Id - 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 bypallet_timestamp
which is in turn picked up bypallet_aura
to implementfn slot_duration()
. - MINUTES
- NORMAL_
DISPATCH_ RATIO - We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used byOperational
extrinsics. - SLOT_
DURATION - TOKEN_
DECIMALS - TREASURY_
PALLET_ ID - Generates the pallet “account” 5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z
Type Aliases§
- Aura
MaxAuthorities - The maximum number of authorities
- Authorship
Uncle Generations - Balances
MaxFreezes - Balances
MaxLocks - Balances
MaxReserves - Capacity
MaxEpoch Length - Capacity
MaxUnlocking Chunks - Capacity
Minimum Staking Amount - Capacity
Minimum Token Balance - Capacity
Reward EraLength - Capacity
Unstaking Thaw Period - Collator
Kick Threshold - Collator
MaxCandidates - Collator
MaxInvulnerables - Collator
MinCandidates - Cooloff
Period - Council
MaxMembers - Council
MaxProposals - Council
Motion Duration - Democracy
MaxProposals - Democracy
MaxVotes - Enactment
Period - FIFTY
- Fast
Track Voting Period - Frame
System MaxConsumers - HUNDRED
- Handle
Suffix Max - The maximum suffix value
- Handle
Suffix Min - The minimum suffix value
- Launch
Period - MSAMax
Signatures Stored - The upper limit on total stored signatures. Set to an average of 50 signatures per block
- MSAMortality
Window Size - The number of blocks per virtual bucket
- MaxApprovals
- Maximum number of approved proposals per Spending Period Set to 64 or 16 per week
- MaxItemized
Actions Count - The maximum number of actions in itemized actions
- MaxPaginated
Page Id - The maximum number of pages in a Paginated storage model
- MaxSchema
Grants - The maximum number of schema grants allowed per delegation
- MaxSchema
Settings PerSchema - The maximum number of grants allowed per schema
- Maximum
Capacity Batch Length - MinRelease
Transfer - Minimum
Deposit - Minimum
Period - MsaMax
Provider Name Size - The maximum size of the provider name (in bytes)
- MsaMax
Public Keys PerMsa - The maximum number of public keys per MSA
- Preimage
Base Deposit - Preimage
Byte Deposit - Preimage
MaxSize - Preimage maximum size set to 4 MB Expected to be removed in Polkadot v0.9.31
- Proposal
Bond Maximum - Minimum bond for a treasury proposal
- Proposal
Bond Minimum - Minimum bond for a treasury proposal
- Scheduler
MaxScheduled PerBlock - Schemas
MaxRegistrations - The maximum number of schema registrations
- Schemas
MinModel Size Bytes - The minimum schema model size (in bytes)
- Session
Offset - Session
Period - Spend
Period - Stateful
Mortality Window Size - The number of blocks for Stateful mortality is 48 hours
- TCMax
Members - TCMax
Proposals - TCMotion
Duration - TWO
- Transaction
Byte Fee - Relay Chain
TransactionByteFee
/ 10 - Transaction
Payment Operational FeeMultiplier - Voting
Period - ZERO