Constants
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>.
control
palletId: PalletId
PalletIdinterface:
api.consts.control.PalletIdsummary: The control's pallet id, used for deriving organization treasuries IDs.
maxMembers: u32
u32interface:
api.consts.control.MaxMemberssummary: The max number of members per one org.
protocolTokenId: CurrencyId
CurrencyIdinterface:
api.consts.control.ProtocolTokenIdsummary: The CurrencyId which is used as a protokol token.
paymentTokenId: CurrencyId
CurrencyIdinterface:
api.consts.control.PaymentTokenIdsummary: The CurrencyId which is used as a payment token.
minimumDeposit: Balance
Balanceinterface:
api.consts.control.MinimumDepositsummary: The min amount of the deposit which is locked during Org creation (in Protocol tokens).
stringLimit: u32
u32interface:
api.consts.control.StringLimitsummary: The maximum length of a name or cid stored on-chain.
flow
gameDAOTreasury: AccountId
AccountIdinterface:
api.consts.flow.GameDAOTreasurysummary: The GameDAO Treasury AccountId.
minNameLength: u32
u32interface:
api.consts.flow.MinNameLengthsummary: The min length of a campaign name.
maxCampaignsPerBlock: u32
u32interface:
api.consts.flow.MaxCampaignsPerBlocksummary: The max number of campaigns per one block.
maxCampaignContributors: u32
u32interface:
api.consts.flow.MaxCampaignContributorssummary: The max number of contributors per one Campaign.
maxContributorsProcessing: u32
u32interface:
api.consts.flow.MaxContributorsProcessingsummary: The max number of contributors for processing in one block (batch size) during Campaign finalization.
minContribution: Balance
Balanceinterface:
api.consts.flow.MinContributionsummary: The min contribution amount in payment tokens.
minCampaignDeposit: Permill
Permillinterface:
api.consts.flow.MinCampaignDepositsummary: The min campaign deposit - fraction of a target, default 10%.
protocolTokenId: CurrencyId
CurrencyIdinterface:
api.consts.flow.ProtocolTokenIdsummary: The CurrencyId which is used as a protokol token.
paymentTokenId: CurrencyId
CurrencyIdinterface:
api.consts.flow.PaymentTokenIdsummary: The CurrencyId which is used as a payment token.
campaignFee: Permill
Permillinterface:
api.consts.flow.CampaignFeesummary: The amount of commission to be paid from the Org treasury to GameDAO treasury after successful Campaign finalization.
stringLimit: u32
u32interface:
api.consts.flow.StringLimitsummary: The maximum length of a name or symbol stored on-chain.
campaignDurationLimits: (Self::BlockNumber, Self::BlockNumber)
(Self::BlockNumber, Self::BlockNumber)interface:
api.consts.flow.CampaignDurationLimitssummary: Default time limit for a campaign in blocks.
sense
stringLimit: u32
u32interface:
api.consts.sense.StringLimitsummary: The maximum length of a name or symbol stored on-chain.
signal
paymentTokenId: CurrencyId
CurrencyIdinterface:
api.consts.signal.PaymentTokenIdsummary: The CurrencyId which is used as a payment token.
protocolTokenId: CurrencyId
CurrencyIdinterface:
api.consts.signal.ProtocolTokenIdsummary: The CurrencyId which is used as a protokol token.
minProposalDeposit: Balance
Balanceinterface:
api.consts.signal.MinProposalDepositsummary: Min deposit for Proposal creation.
proposalDurationLimits: (Self::BlockNumber, Self::BlockNumber)
(Self::BlockNumber, Self::BlockNumber)interface:
api.consts.signal.ProposalDurationLimitssummary: Default time limit for a proposal in blocks.
gameDAOTreasury: AccountId
AccountIdinterface:
api.consts.signal.GameDAOTreasurysummary: The GameDAO Treasury AccountId.
maxMembers: u32
u32interface:
api.consts.signal.MaxMemberssummary: Max number of members per organization.
maxProposalsPerBlock: u32
u32interface:
api.consts.signal.MaxProposalsPerBlocksummary: The max number of proposals per one block.
stringLimit: u32
u32interface:
api.consts.signal.StringLimitsummary: The maximum length of a string, stored on chain.
slashingMajority: Permill
Permillinterface:
api.consts.signal.SlashingMajoritysummary: Majority of rejection >= {this value} * eligible voters --> slash deposit (default: 2/3).
gameDAOGetsFromSlashing: Permill
Permillinterface:
api.consts.signal.GameDAOGetsFromSlashingsummary: This part of slashing goes to GameDAO treasury (default: 1/4).
Last updated