Guides/EVM/Precompiles
Crowdloan
Reference for the deployed CrowdloanPrecompile.
| Property | Value |
|---|---|
| Rust implementation | CrowdloanPrecompile |
| Solidity interface | ICrowdloan |
| Address | 0x0000000000000000000000000000000000000809 |
| Status | Deployed |
Views
getCrowdloan(uint32)
getContribution(uint32,bytes32)Operations
All operations are payable:
create(uint64,uint64,uint64,uint32,address)
contribute(uint32,uint64)
withdraw(uint32)
finalize(uint32)
refund(uint32)
dissolve(uint32)
updateMinContribution(uint32,uint64)
updateEnd(uint32,uint32)
updateCap(uint32,uint64)Added operation
| Function | Source extrinsic |
|---|---|
setMaxContribution | Crowdloan.set_max_contribution |
The typed interface preserves the source call's optional value so the creator can either set or clear the per-contributor maximum.
Source: crowdloan.sol