Skip to content

Auto Split Curator

p-s-dev edited this page Jun 6, 2016 · 3 revisions

Using Auto Split Curator

  1. Deploy the contract and specify the address of the dao you would like to split from as a constructor parameter.

  2. Send the dao tokens you want to split to the Auto Split Curator.

  3. Send ~3 eth to Auto Split Curator. 2 eth are used for the refund proposal deplosit. 1 eth covers oraclize transaction gas.

  4. Execute the AutoSplitCurator.startSplit() method from the address that was used to deploy the contract.

  5. wait. eth will be deposited in the account that initiated the split.

Auto Split Curator performs these steps:

  1. create a split proposal in the parent dao
  2. vote on the split proposal
  3. call splitDao on the parent dao and receive tokens in the child dao
  4. create a proposal in the child dao to withdraw all the eth
  5. vote on the withdraw proposal
  6. execute the withdraw proposal
  7. transfer the eth back to the address that initiated the process.

The default code assumes a test-dao with 5 minute waiting periods for proposals.

Also note, the proposal deposit for the child dao withdraw proposal is required, even if the minimum proposal amount is zero, because there needs to be some eth to cover the cost of refunding the proposal deposit, even if it is just refunding a zero amount deposit.

Oraclize is used in the contract solely as a timer. No external data is retrieved via oraclize.

Something went wrong with that request. Please try again.