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

Accepting Initiatives

acceptInitiative()

function acceptInitiative(uint256 initiativeId) external
ParameterTypeDescription
initiativeIduint256Initiative to accept. Must be in Proposed state.

Sets state to Accepted, records acceptanceTimestamp. Supporters can redeem after releaseLockDuration passes.

Access control

permissionsthresholdOverrideWho can callThreshold required
PermissionlessNoneAnyoneYes
PermissionlessOnlyOwnerAnyoneYes, but owner bypasses
OnlyOwnerNoneOwner onlyYes
OnlyOwnerOnlyOwnerOwner onlyNo

Events

event InitiativeAccepted(uint256 indexed initiativeId, address indexed actor)

Errors

ErrorCondition
Signals_InvalidIDInitiative doesn't exist
Signals_IncorrectInitiativeStateInitiative not in Proposed state
OwnableUnauthorizedAccountCaller not owner (when OnlyOwner)
Signals_InsufficientSupportWeight below threshold