Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Expiring Initiatives

expireInitiative()

function expireInitiative(uint256 initiativeId) external onlyOwner
ParameterTypeDescription
initiativeIduint256Initiative to expire. Must be in Proposed state.

Owner-only. Sets state to Expired. Requires block.timestamp > lastActivity + inactivityTimeout.

lastActivity updates on initiative creation and each time a supporter locks tokens.

Tokens locked against expired initiatives are redeemable immediately. No incentive rewards are distributed.

Events

event InitiativeExpired(uint256 indexed initiativeId, address indexed actor)

Errors

ErrorCondition
Signals_InvalidIDInitiative doesn't exist
Signals_IncorrectInitiativeStateNot in Proposed state or not yet inactive long enough
OwnableUnauthorizedAccountCaller not owner