How to split the DAO

Introduction

介紹

In the case a single token holder, or a group of token holders, does not a agree with decisions by the curator and following proposals to a certain address, he can split off the original DAO to a new DAO. This mechanism is primarily to avoid the "Majority robbing the minority attack" described in section 4 in the white paper.

如果某個代幣持有者,或者一批代幣持有者件余,不同意提議負責人的決定和相應(yīng)地址的提議撤奸,他可以從原有的DAO中分隔出新的DAO鞠鲜。這個機制主要是為了避免“大多數(shù)人搶劫少數(shù)人攻擊”或颊,在白皮書的第四節(jié)里有描述某弦。

This process will destroy all his tokens and move his portion of the Ether (note: the extraBalance is not part of that) owned by the original DAO and his portion of the rewardTokens (used to retrieve his portion of the future rewards) to the new DAO.

這個過程會銷毀他所有的代幣蹬跃,將他在原DAO所占份額的Ether(注:extraBalance賬戶不計入)系宫,以及他所占份額的獎勵代幣rewardTokens(用來獲取他所占份額的未來收益)到新的DAO。

After completion, this can not be undone! Everyone participating in a split should know exactly what he is doing in order to avoid any losses.

完成操作之后纳鼎,將不能再撤銷俺夕!任何參與分隔的人,應(yīng)該知道他到底在做什么贱鄙,以避免不必要的損失啥么。

Process

過程

In order to initiate a split, a token holder needs to create a proposal with the newCurator flag as true and the recipient specifying the new curator of the new DAO (see https://github.com/slockit/DAO/wiki/How-to-create-a-proposal).
Every token holder who wants to join this new DAO, needs to vote in favour of the proposal (https://github.com/slockit/DAO/wiki/How-to-vote-and-execute-a-proposal).
After the debating period, which is at least 1 week, the token holder can then call the function splitDAO.
This function has 2 parameters:

為了開始一個分割,一個代幣持有者需要創(chuàng)建一個提議贰逾,且newCurator標志為truerecipient指定為新的DAO的負責人(見https://github.com/slockit/DAO/wiki/How-to-create-a-proposal )菠秒。每一個想要參與新DAO的代幣持有者疙剑,需要投票贊成這個提議( https://github.com/slockit/DAO/wiki/How-to-vote-and-execute-a-proposal )。在經(jīng)過至少一周的討論期后践叠,代幣持有者可以調(diào)用函數(shù)splitDAO言缤。
這個函數(shù)有兩個參數(shù):

  • proposalID 新提議的ID
  • newCurator 新提議負責人的帳戶地址(或者多重簽名錢包)

In the function it is checked that the voting deadline is over, the new curator is different from the old one, the transaction sender has voted in favour of the proposal and that the sender of the transaction has not voted on another proposal with a deadline after the proposal to split the DAO.

這個函數(shù),它會檢查:投票截止日期已過禁灼,新DAO負責人和原DAO不同管挟,交易發(fā)送者投票贊成提議,以及交易發(fā)送者沒有投票到其他提議(這個提議的截止日期在分隔DAO提議之后)弄捕。

The first token holder calling that function for this proposal will automatically create the new DAO. In this process the current balance of the original DAO, as well the current balance of reward tokens (see white paper section 7) of the DAO and the total supply of DAO tokens are stored in the splitData section of the proposal and used to fairly split the DAO.
After this process, the portion of the ether and the portion of the reward token belonging to the sender of the transaction are moved to the new DAO. Finally, his DAO tokens are destroyed.

第一個調(diào)用這個函數(shù)的代幣持有者會自動創(chuàng)建新的DAO僻孝。這個過程中,原DAO中的帳戶余額守谓,DAO獎勵代幣的余額(見白皮書第七節(jié))以及存儲在splitData里的DAO代幣的總供應(yīng)量穿铆,都會平均的分配到DAO。
這個過程后斋荞,交易發(fā)送者所擁有份額的ether和獎勵代幣荞雏,都會轉(zhuǎn)移到新的DAO中。最終平酿,他的DAO代幣會被銷毀凤优。

In order to find the address of the new DAO, one can use the getNewDAOAdress function, which takes the proposalID as input parameter and returns the new address.

為了找到新的DAO地址,可以調(diào)用getNewDAOAdress函數(shù)蜈彼,需要傳遞proposalID為輸入?yún)?shù)筑辨,返回新地址。

The new DAO which has been created will now go through the same 27 day creation period as the original DAO. This is the time for every token holder who has voted on the proposal to join the new DAO by calling splitDAO.

新的被創(chuàng)建出來的DAO柳刮,會和原DAO一樣要經(jīng)過27天的新建期挖垛。這個時間針對痒钝,每一個投票提議(通過調(diào)用splitDAO參與新的DAO)的代幣持有者。

After this time the new DAO is fully functional, and the curator can add addresses to the whitelist and proposals can be created, be voted on, and executed.

經(jīng)過這段時間后痢毒,新的DAO完全開始運轉(zhuǎn)送矩,負責人可以增加地址到白名單,提議也可以被創(chuàng)建哪替,投票栋荸,執(zhí)行。

Remarks

The new DAO will have a proposal deposit of 0. Therefore one of the first action after the creation period should be a proposal to raise this value to a reasonable number.

注意

新的DAO會有一個押金為0的提議凭舶。因此晌块,在新建期之后第一個動作應(yīng)該是產(chǎn)生一個提議將此值提高到一個合理的值。

Warnings

In the case of a solo split, a split where you simply want to split out alone and take your portion of the ether, then there is something that you should be aware of. Anyone can join you in this solo split. If someone with more tokens than you tries to join, he can make your life difficult by downvoting all your proposals. He will never be able to steal your ETH since you will be the curator but he can block you taking your ETH out by also blocking his ETH inside with yours. More details about this and why it's not a serious issue can be seen Why-The-Stalker-attack-is-a-non-issue

警告

如果是一個個人分隔帅霜,通過分隔你想取出屬于你的ether匆背,那么有一些地方你需要明白。任何一個人可以參與到你的個人分隔中身冀。如果某人擁有更多的代幣钝尸,比你想要參與的多,那么他可以通過對你的提議投反對票對你造成麻煩搂根。一旦你成為負責人珍促,他將永遠不會偷走你的ETH,但是他可以將他的ETH鎖定在你的DAO中來阻礙你取出你的ETH剩愧。關(guān)于這方面的更多細節(jié)猪叙,以及為什么這不是一個嚴重的問題Why-The-Stalker-attack-is-a-non-issue

The way to avoid such a scenario is to check after the votingDeadline if the proposal has any other votes except from yours. If it does and they hold more tokens than you then don't call splitDAO(). If not then call splitDAO() and be certain that nobody will follow you in your new solo DAO.

避免這種情況發(fā)生的辦法仁卷,就是在votingDeadline之后穴翩,檢查除了你是否有其他的投票參與了提議。如果有五督,并且他們比你更多的代幣藏否,你可以不調(diào)用splitDAO()。如果沒有充包,那么調(diào)用splitDAO()副签,確保沒有其他人參與到你的個人DAO中。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末基矮,一起剝皮案震驚了整個濱河市淆储,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌家浇,老刑警劉巖本砰,帶你破解...
    沈念sama閱讀 211,743評論 6 492
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異钢悲,居然都是意外死亡点额,警方通過查閱死者的電腦和手機舔株,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,296評論 3 385
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來还棱,“玉大人载慈,你說我怎么就攤上這事≌涫郑” “怎么了办铡?”我有些...
    開封第一講書人閱讀 157,285評論 0 348
  • 文/不壞的土叔 我叫張陵,是天一觀的道長琳要。 經(jīng)常有香客問我寡具,道長,這世上最難降的妖魔是什么稚补? 我笑而不...
    開封第一講書人閱讀 56,485評論 1 283
  • 正文 為了忘掉前任童叠,我火速辦了婚禮,結(jié)果婚禮上课幕,老公的妹妹穿的比我還像新娘拯钻。我一直安慰自己,他們只是感情好撰豺,可當我...
    茶點故事閱讀 65,581評論 6 386
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著拼余,像睡著了一般污桦。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上匙监,一...
    開封第一講書人閱讀 49,821評論 1 290
  • 那天凡橱,我揣著相機與錄音,去河邊找鬼亭姥。 笑死稼钩,一個胖子當著我的面吹牛,可吹牛的內(nèi)容都是我干的达罗。 我是一名探鬼主播坝撑,決...
    沈念sama閱讀 38,960評論 3 408
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼粮揉!你這毒婦竟也來了巡李?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 37,719評論 0 266
  • 序言:老撾萬榮一對情侶失蹤扶认,失蹤者是張志新(化名)和其女友劉穎侨拦,沒想到半個月后,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體辐宾,經(jīng)...
    沈念sama閱讀 44,186評論 1 303
  • 正文 獨居荒郊野嶺守林人離奇死亡狱从,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 36,516評論 2 327
  • 正文 我和宋清朗相戀三年膨蛮,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片季研。...
    茶點故事閱讀 38,650評論 1 340
  • 序言:一個原本活蹦亂跳的男人離奇死亡敞葛,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出训貌,到底是詐尸還是另有隱情制肮,我是刑警寧澤,帶...
    沈念sama閱讀 34,329評論 4 330
  • 正文 年R本政府宣布递沪,位于F島的核電站豺鼻,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏款慨。R本人自食惡果不足惜儒飒,卻給世界環(huán)境...
    茶點故事閱讀 39,936評論 3 313
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望檩奠。 院中可真熱鬧桩了,春花似錦、人聲如沸埠戳。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,757評論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽整胃。三九已至颗圣,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間屁使,已是汗流浹背在岂。 一陣腳步聲響...
    開封第一講書人閱讀 31,991評論 1 266
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留蛮寂,地道東北人蔽午。 一個月前我還...
    沈念sama閱讀 46,370評論 2 360
  • 正文 我出身青樓,卻偏偏與公主長得像酬蹋,于是被迫代替她去往敵國和親及老。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 43,527評論 2 349

推薦閱讀更多精彩內(nèi)容