Skip to content

Implement automatic selfdestruct on VoteProposal and its VoteOptions #4

Description

@Tomasvrba

When the deadline for a proposal passes, call selfdestruct on the VoteProposal contract which in turns calls selfdestruct on each of its VoteOption children.

  • One option to do this would be to schedule this with the Ethereum Alarm Clock scheduler on VoteProposal creation. Anyone got experience with EAC?

  • Another option would be to call selfdestruct when a vote is received after the deadline, but this would be unreliable for contracts that never receive any votes and unnecessarily complex since selfdestruct would now have to be called from one of the VoteOption children, which would have to call it on the the other VoteOption as well as the VoteProposal parent

Any other ideas? @auryn-macmillan @SamGos?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions