Loading
Loading
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)
12 in total, 12 live, 11 documented. Retired functions stay listed so older calls still decode.
| Signature | Selector | Mutability | Runtime |
|---|---|---|---|
contribute(uint32,uint64) | Selector 0x3f905473 | Mutability payable | Since runtime 297 |
Contributes to an active crowdloan. Parameters
| |||
create(uint64,uint64,uint64,uint32,address) | Selector 0x127e1adb | Mutability payable | Since runtime 297 |
Creates a crowdloan that will raise funds up to a maximum cap and if successful, transfer the funds to the target address. Parameters
| |||
dissolve(uint32) | Selector 0x9862b530 | Mutability payable | Since runtime 297 |
Dissolves a failed crowdloan. Parameters
| |||
finalize(uint32) | Selector 0xd9adbf85 | Mutability payable | Since runtime 297 |
Finalizes a successful crowdloan. Parameters
| |||
getContribution(uint32,bytes32) | Selector 0x5b7210c5 | Mutability view | Since runtime 297 |
Retrieves the contribution for a given crowdloan id and coldkey. Parameters
Returns
| |||
getCrowdloan(uint32) | Selector 0x8bba466c | Mutability view | Since runtime 297 |
Retrieves the crowdloan info for a given crowdloan id. Parameters
Returns
| |||
refund(uint32) | Selector 0x1c48c074 | Mutability payable | Since runtime 297 |
Refunds a failed crowdloan (may need to be called multiple times to refund all contributors). Parameters
| |||
setMaxContribution(uint32,bool,uint64) | Selector 0x71834333 | Mutability nonpayable | Since runtime 444 |
No documentation in the source. Parameters
| |||
updateCap(uint32,uint64) | Selector 0xf0670b6a | Mutability payable | Since runtime 297 |
Updates the cap for an active crowdloan. Parameters
| |||
updateEnd(uint32,uint32) | Selector 0xb9f01349 | Mutability payable | Since runtime 297 |
Updates the end block for an active crowdloan. Parameters
| |||
updateMinContribution(uint32,uint64) | Selector 0x55f934cb | Mutability payable | Since runtime 297 |
Updates the minimum contribution for an active crowdloan. Parameters
| |||
withdraw(uint32) | Selector 0xaa9224cd | Mutability payable | Since runtime 297 |
Withdraws a contribution from an active crowdloan. Parameters
| |||
Data: precompile-abis/v471-summaries, subtensor c004cebf3 (github.com, opens in a new tab, external site) (runtime 471). 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.