Skip to content

Latest commit

 

History

History
196 lines (166 loc) · 6.02 KB

FinalizableCrowdsale.md

File metadata and controls

196 lines (166 loc) · 6.02 KB

FinalizableCrowdsale (FinalizableCrowdsale.sol)

View Source: contracts/crowdsale/distribution/FinalizableCrowdsale.sol

↗ Extends: TimedCrowdsale ↘ Derived Contracts: FinalizableCrowdsaleImpl, RefundableCrowdsale

FinalizableCrowdsale

Extension of Crowdsale with a one-off finalization action, where one can do extra work after finishing.

Contract Members

Constants & Variables

bool private _finalized;

Events

event CrowdsaleFinalized();

Functions

finalized

function finalized() public
returns(bool)

Returns

true if the crowdsale is finalized, false otherwise.

Arguments

Name Type Description

finalize

Must be called after crowdsale ends, to do some extra finalization work. Calls the contract's finalization function.

function finalize() public undefined

Arguments

Name Type Description

_finalization

⤿ Overridden Implementation(s): RefundableCrowdsale._finalization

Can be overridden to add finalization logic. The overriding function should call super._finalization() to ensure the chain of finalization is executed entirely.

function _finalization() internal undefined

Arguments

Name Type Description

Contracts