Constants
Last updated
Last updated
The following sections contain the module constants, also known as parameter types. These can only be changed as part of a runtime upgrade. On the api, these are exposed via api.consts.<module>.<method>
.
PalletId
interface: api.consts.control.PalletId
summary: The control's pallet id, used for deriving organization treasuries IDs.
u32
interface: api.consts.control.MaxMembers
summary: The max number of members per one org.
CurrencyId
interface: api.consts.control.ProtocolTokenId
summary: The CurrencyId which is used as a protokol token.
CurrencyId
interface: api.consts.control.PaymentTokenId
summary: The CurrencyId which is used as a payment token.
Balance
interface: api.consts.control.MinimumDeposit
summary: The min amount of the deposit which is locked during Org creation (in Protocol tokens).
u32
interface: api.consts.control.StringLimit
summary: The maximum length of a name or cid stored on-chain.
AccountId
interface: api.consts.flow.GameDAOTreasury
summary: The GameDAO Treasury AccountId.
u32
interface: api.consts.flow.MinNameLength
summary: The min length of a campaign name.
u32
interface: api.consts.flow.MaxCampaignsPerBlock
summary: The max number of campaigns per one block.
u32
interface: api.consts.flow.MaxCampaignContributors
summary: The max number of contributors per one Campaign.
u32
interface: api.consts.flow.MaxContributorsProcessing
summary: The max number of contributors for processing in one block (batch size) during Campaign finalization.
Balance
interface: api.consts.flow.MinContribution
summary: The min contribution amount in payment tokens.
Permill
interface: api.consts.flow.MinCampaignDeposit
summary: The min campaign deposit - fraction of a target, default 10%.
CurrencyId
interface: api.consts.flow.ProtocolTokenId
summary: The CurrencyId which is used as a protokol token.
CurrencyId
interface: api.consts.flow.PaymentTokenId
summary: The CurrencyId which is used as a payment token.
Permill
interface: api.consts.flow.CampaignFee
summary: The amount of commission to be paid from the Org treasury to GameDAO treasury after successful Campaign finalization.
u32
interface: api.consts.flow.StringLimit
summary: The maximum length of a name or symbol stored on-chain.
(Self::BlockNumber, Self::BlockNumber)
interface: api.consts.flow.CampaignDurationLimits
summary: Default time limit for a campaign in blocks.
u32
interface: api.consts.sense.StringLimit
summary: The maximum length of a name or symbol stored on-chain.
CurrencyId
interface: api.consts.signal.PaymentTokenId
summary: The CurrencyId which is used as a payment token.
CurrencyId
interface: api.consts.signal.ProtocolTokenId
summary: The CurrencyId which is used as a protokol token.
Balance
interface: api.consts.signal.MinProposalDeposit
summary: Min deposit for Proposal creation.
(Self::BlockNumber, Self::BlockNumber)
interface: api.consts.signal.ProposalDurationLimits
summary: Default time limit for a proposal in blocks.
AccountId
interface: api.consts.signal.GameDAOTreasury
summary: The GameDAO Treasury AccountId.
u32
interface: api.consts.signal.MaxMembers
summary: Max number of members per organization.
u32
interface: api.consts.signal.MaxProposalsPerBlock
summary: The max number of proposals per one block.
u32
interface: api.consts.signal.StringLimit
summary: The maximum length of a string, stored on chain.
Permill
interface: api.consts.signal.SlashingMajority
summary: Majority of rejection >= {this value} * eligible voters --> slash deposit (default: 2/3).
Permill
interface: api.consts.signal.GameDAOGetsFromSlashing
summary: This part of slashing goes to GameDAO treasury (default: 1/4).