Crowdloan

#27

Crowdfunding for network initiatives

Part of Economy & Balances: TAO token management, transfers, and transaction fees

Filter by:
AbsoluteMinimumContribution constant v273 → v393

The absolute minimum contribution allowed.

AllRefunded event v273 → v393 #4

Emitted when all contributors have been refunded.

Emitted by: refund Modifies: Contributions, Crowdloans
StakingCrowdloan
AlreadyFinalized error v273 → v393 #13

This crowdloan has already been finalized. Finalization is a one-time operation that distributes funds and cannot be repeated.

BlockDurationTooLong error v273 → v393 #5

The duration between the current block and the end block exceeds the maximum allowed. Crowdloans cannot run longer than MaximumBlockDuration blocks.

BlockDurationTooShort error v273 → v393 #4

The duration between the current block and the end block is shorter than the required minimum. Crowdloans must run for at least MinimumBlockDuration blocks.

CallUnavailable error v273 → v393 #18

The call to dispatch was not found in the preimage storage.

CannotEndInPast error v273 → v393 #3

The end block specified for this crowdloan has already passed. Crowdloans must have a future end block when created.

CapNotRaised error v273 → v393 #16

The crowdloan has not yet reached its fundraising cap. Finalization requires the campaign to be fully funded (or the contribution period to have ended, depending on configuration).

CapRaised error v273 → v393 #9

This crowdloan has already reached its fundraising cap. No more contributions can be accepted.

CapTooLow error v273 → v393 #1

The fundraising cap for this crowdloan is set lower than the required deposit amount. The cap represents the maximum total funds the campaign can raise and must exceed the initial deposit.

CapUpdated event v273 → v393 #9

Emitted when funding cap is updated.

Emitted by: update_cap Modifies: Crowdloans
StakingCrowdloanAdmin
contribute call v273 → v393 #1

Contributes TAO to an active crowdloan campaign.

Emits: Contributed Modifies: Crowdloans, Contributions
StakingCrowdloan
Contributed event v273 → v393 #1

Emitted when TAO is contributed to a crowdloan.

Emitted by: contribute Modifies: Contributions, Crowdloans
StakingCrowdloan
ContributionPeriodEnded error v273 → v393 #10

The contribution period for this crowdloan has ended. The campaign is past its end block and no longer accepts new contributions.

ContributionPeriodNotEnded error v273 → v393 #14

The crowdloan contribution period has not ended yet.

Contributions storage v273 → v393

Map of (crowdloan_id, contributor) to contribution amount.

Modified by: contribute, refund +1
●●○○○○ Minimal usage
StakingCrowdloan
ContributionTooLow error v273 → v393 #11

Your contribution amount is below the minimum set by the crowdloan creator. Each campaign defines its own minimum contribution threshold.

create call v273 → v393 #0

Creates a new crowdloan campaign to raise funds for a project.

Emits: Created Modifies: Crowdloans, NextCrowdloanId
StakingCrowdloan
Created event v273 → v393 #0

Emitted when a new crowdloan campaign is created.

Emitted by: create Modifies: Crowdloans, NextCrowdloanId
StakingCrowdloan
Crowdloans storage v273 → v393

Map of crowdloan IDs to their information.

Modified by: contribute, create +7
●●○○○○ Minimal usage
StakingCrowdloan
CurrentCrowdloanId storage v273 → v393

Temporarily set during finalize for dispatched call to access.

Modified by: finalize
SystemCrowdloan
DepositCannotBeWithdrawn error v273 → v393 #20

The deposit cannot be withdrawn from the crowdloan.

DepositTooLow error v273 → v393 #0

The initial deposit for creating this crowdloan is below the required minimum. The creator must put up a deposit that meets MinimumDeposit to prevent spam campaign creation.

dissolve call v273 → v393 #5

Dissolves a crowdloan after all contributors are refunded.

Emits: Dissolved Modifies: Crowdloans
StakingCrowdloan
Dissolved event v273 → v393 #6

Emitted when a crowdloan is dissolved.

Emitted by: dissolve Modifies: Crowdloans
StakingCrowdloan
EndUpdated event v273 → v393 #8

Emitted when end block is updated.

Emitted by: update_end Modifies: Crowdloans
StakingCrowdloanAdmin
finalize call v273 → v393 #3

Finalizes a successful crowdloan that reached its cap.

Emits: Finalized Modifies: Crowdloans, CurrentCrowdloanId
StakingCrowdloan
Finalized event v273 → v393 #5

Emitted when a crowdloan successfully reaches its cap.

Emitted by: finalize Modifies: Crowdloans, CurrentCrowdloanId
StakingCrowdloan
HasMigrationRun storage v273 → v393

Storage for migration run status.

SystemAdmin
InsufficientBalance error v273 → v393 #6

Your account does not have enough free balance to cover the crowdloan deposit or contribution amount.

InvalidCrowdloanId error v273 → v393 #8

The crowdloan ID you referenced does not exist. It may have never been created, or it was already dissolved.

InvalidOrigin error v273 → v393 #12

You are not the creator of this crowdloan and cannot perform this administrative action. Only the account that created the campaign can manage it.

MaxContributors constant v273 → v393

Maximum number of contributors per crowdloan.

MaxContributorsReached error v273 → v393 #21

This crowdloan has reached the maximum number of unique contributors allowed. No new contributors can join, though existing contributors may still increase their stake.

MaximumBlockDuration constant v273 → v393

Maximum duration a crowdloan can run.

MinContributionUpdated event v273 → v393 #7

Emitted when minimum contribution is updated.

Emitted by: update_min_contribution Modifies: Crowdloans
StakingCrowdloanAdmin
MinimumBlockDuration constant v273 → v393

Minimum duration a crowdloan must run.

MinimumContributionTooLow error v273 → v393 #2

The minimum contribution threshold you set for this crowdloan is below the absolute floor. There is a network-wide AbsoluteMinimumContribution that all campaigns must respect.

MinimumDeposit constant v273 → v393

The minimum deposit required to create a crowdloan.

NextCrowdloanId storage v273 → v393

The next incrementing crowdloan ID.

Modified by: create
SystemCrowdloan
NoContribution error v273 → v393 #15

You have no recorded contribution to this crowdloan. You cannot withdraw or claim from a campaign you did not contribute to.

NotReadyToDissolve error v273 → v393 #19

This crowdloan cannot be dissolved yet because it still has outstanding contributions. All contributors must be refunded before the campaign can be dissolved.

Overflow error v273 → v393 #7

An arithmetic overflow occurred during crowdloan calculation.

PalletId constant v273 → v393

The pallet ID used to derive crowdloan account addresses.

PartiallyRefunded event v273 → v393 #3

Emitted when some contributors have been refunded.

Emitted by: refund Modifies: Contributions, Crowdloans
StakingCrowdloan
refund call v273 → v393 #4

Refunds contributors of a failed crowdloan.

Emits: PartiallyRefunded, AllRefunded Modifies: Crowdloans, Contributions
StakingCrowdloan
RefundContributorsLimit constant v273 → v393

Maximum contributors that can be refunded per call.

Underflow error v273 → v393 #17

An arithmetic underflow occurred during crowdloan calculation.

update_cap call v273 → v393 #8

Updates the funding cap for a crowdloan.

Emits: CapUpdated Modifies: Crowdloans
StakingCrowdloanAdmin
update_end call v273 → v393 #7

Updates the end block for a crowdloan.

Emits: EndUpdated Modifies: Crowdloans
StakingCrowdloanAdmin
update_min_contribution call v273 → v393 #6

Updates the minimum contribution amount.

Emits: MinContributionUpdated Modifies: Crowdloans
StakingCrowdloanAdmin
withdraw call v273 → v393 #2

Withdraws your contribution from an active crowdloan.

Emits: Withdrew Modifies: Crowdloans, Contributions
StakingCrowdloan
Withdrew event v273 → v393 #2

Emitted when a contribution is withdrawn from a crowdloan.

Emitted by: withdraw Modifies: Contributions, Crowdloans
StakingCrowdloan

Related Pallets