github.com/sberex/go-sberex@v1.8.2-0.20181113200658-ed96ac38f7d7/params/dao.go (about)

     1  // This file is part of the go-sberex library. The go-sberex library is 
     2  // free software: you can redistribute it and/or modify it under the terms 
     3  // of the GNU Lesser General Public License as published by the Free 
     4  // Software Foundation, either version 3 of the License, or (at your option)
     5  // any later version.
     6  //
     7  // The go-sberex library is distributed in the hope that it will be useful, 
     8  // but WITHOUT ANY WARRANTY; without even the implied warranty of
     9  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser 
    10  // General Public License <http://www.gnu.org/licenses/> for more details.
    11  
    12  package params
    13  
    14  import (
    15  	"math/big"
    16  
    17  	"github.com/Sberex/go-sberex/common"
    18  )
    19  
    20  // DAOForkBlockExtra is the block header extra-data field to set for the DAO fork
    21  // point and a number of consecutive blocks to allow fast/light syncers to correctly
    22  // pick the side they want  ("dao-hard-fork").
    23  var DAOForkBlockExtra = common.FromHex("0x64616f2d686172642d666f726b")
    24  
    25  // DAOForkExtraRange is the number of consecutive blocks from the DAO fork point
    26  // to override the extra-data in to prevent no-fork attacks.
    27  var DAOForkExtraRange = big.NewInt(10)
    28  
    29  // DAORefundContract is the address of the refund contract to send DAO balances to.
    30  var DAORefundContract = common.HexToAddress("0xbf4ed7b27f1d666546e30d74d50d173d20bca754")
    31  
    32  // DAODrainList is the list of accounts whose full balances will be moved into a
    33  // refund contract at the beginning of the dao-fork block.
    34  func DAODrainList() []common.Address {
    35  	return []common.Address{
    36  	}
    37  }