You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
When the deadline for a proposal passes, call selfdestruct on the
VoteProposal
contract which in turns calls selfdestruct on each of itsVoteOption
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?
The text was updated successfully, but these errors were encountered: