Westend
subscan
Runtime Modules / Crowdloan
Spec Version:
Call Functions
Name
Lookup
Parameters
create40006
contribute40013
withdraw40022
refund40031
dissolve40041
edit40056
add_memo40062
poke40071
Storage Functions
Name
Type
Funds{"origin":"MapType","map_type":{"key":"ParaId","hasher":"Twox64Concat","value":"FundInfo<AccountId, BalanceOf, BlockNumber, LeasePeriodOf< T>>","isLinked":false}}
NewRaise{"origin":"PlainType","plain_type":"Vec<ParaId>"}
EndingsCount{"origin":"PlainType","plain_type":"u32"}
NextTrieIndex{"origin":"PlainType","plain_type":"u32"}
Constants
Name
Type
Value
PalletIdPalletId0x70792f6366756e64
MinContributionBalanceOf0x0010a5d4e80000000000000000000000
RemoveKeysLimitu320xf4010000
Error Types
Name
Docs
FirstPeriodInPast The current lease period is more than the first lease period.
FirstPeriodTooFarInFuture The first lease period needs to at least be less than 3 `max_value`.
LastPeriodBeforeFirstPeriod Last lease period must be greater than first lease period.
LastPeriodTooFarInFuture The last lease period cannot be more then 3 periods after the first period.
CannotEndInPast The campaign ends before the current block number. The end must be in the future.
EndTooFarInFuture The end date for this crowdloan is not sensible.
Overflow There was an overflow.
ContributionTooSmall The contribution was below the minimum, `MinContribution`.
InvalidParaId Invalid fund index.
CapExceeded Contributions exceed maximum amount.
ContributionPeriodOver The contribution period has already ended.
InvalidOrigin The origin of this call is invalid.
NotParachain This crowdloan does not correspond to a parachain.
LeaseActive This parachain lease is still active and retirement cannot yet begin.
BidOrLeaseActive This parachain's bid or lease is still active and withdraw cannot yet begin.
FundsNotReturned Funds have not yet been returned.
FundNotEnded The crowdloan has not yet ended.
NoContributions There are no contributions stored in this crowdloan.
HasActiveParachain This crowdloan has an active parachain and cannot be dissolved.
NotReadyToDissolve The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement period.
InvalidSignature Invalid signature.
MemoTooLarge The provided memo is too large.
AlreadyInNewRaise The fund is already in NewRaise