0x0000000000000000000000000000000000000809
Crowdloan pallet from the caller's mapped account: create, contribute, withdraw, refund, finalize, dissolve and update crowdloans; plus reads of crowdloans and contributions.
Written from precompiles/src/crowdloan.rs (github.com, opens in a new tab, external site) at c004cebf3 (runtime 471)
Retired functions stay listed so older calls still decode.
contribute(uint32,uint64)payable0x3f905473Contributes to an active crowdloan.
Parameters
crowdloanId (uint32) The id of the crowdloan to contribute to.amount (uint64) The amount of funds to contribute.create(uint64,uint64,uint64,uint32,address)payable0x127e1adbCreates a crowdloan that will raise funds up to a maximum cap and if successful, transfer the funds to the target address.
Parameters
deposit (uint64) The initial deposit from the creator.minContribution (uint64) The minimum contribution required to contribute to the crowdloan.cap (uint64) The maximum amount of funds that can be raised.end (uint32) The block number at which the crowdloan will end.targetAddress (address) The address to transfer the raised funds to.dissolve(uint32)payable0x9862b530Dissolves a failed crowdloan.
Parameters
crowdloanId (uint32) The id of the crowdloan to dissolve.finalize(uint32)payable0xd9adbf85Finalizes a successful crowdloan.
Parameters
crowdloanId (uint32) The id of the crowdloan to finalize.getContribution(uint32,bytes32)view0x5b7210c5Retrieves the contribution for a given crowdloan id and coldkey.
Parameters
crowdloanId (uint32) The id of the crowdloan to get contribution for.coldkey (bytes32) The coldkey of the contributor.Returns
return (uint64) The contribution.getCrowdloan(uint32)view0x8bba466cRetrieves the crowdloan info for a given crowdloan id.
Parameters
crowdloanId (uint32) The id of the crowdloan to get info for.Returns
return (tuple(bytes32 creator, uint64 deposit, uint64 min_contribution, uint32 end, uint64 cap, bytes32 funds_account, uint64 raised, bool has_target_address, bytes32 target_address, bool finalized, uint32 contributors_count)) The crowdloan info.refund(uint32)payable0x1c48c074Refunds a failed crowdloan (may need to be called multiple times to refund all contributors).
Parameters
crowdloanId (uint32) The id of the crowdloan to refund.setMaxContribution(uint32,bool,uint64)nonpayable0x71834333No documentation in the source.
Parameters
crowdloanId (uint32)hasMaxContribution (bool)maxContribution (uint64)updateCap(uint32,uint64)payable0xf0670b6aUpdates the cap for an active crowdloan.
Parameters
crowdloanId (uint32) The id of the crowdloan to update.newCap (uint64) The new cap.updateEnd(uint32,uint32)payable0xb9f01349Updates the end block for an active crowdloan.
Parameters
crowdloanId (uint32) The id of the crowdloan to update.newEnd (uint32) The new end block.updateMinContribution(uint32,uint64)payable0x55f934cbUpdates the minimum contribution for an active crowdloan.
Parameters
crowdloanId (uint32) The id of the crowdloan to update.newMinContribution (uint64) The new minimum contribution.withdraw(uint32)payable0xaa9224cdWithdraws a contribution from an active crowdloan.
Parameters
crowdloanId (uint32) The id of the crowdloan to withdraw from.No calls on record.
Data: precompile-abis.v473. Runtime ranges are the spec versions on subtensor’s main branch when an entry first and last appeared, not the block it went live on chain.