github.com/unicornultrafoundation/go-u2u@v1.0.0-rc1.0.20240205080301-e74a83d3fadc/u2u/contracts/driver/driver_predeploy.go (about)

     1  package driver
     2  
     3  import (
     4  	"github.com/unicornultrafoundation/go-u2u/common"
     5  	"github.com/unicornultrafoundation/go-u2u/common/hexutil"
     6  	"github.com/unicornultrafoundation/go-u2u/gossip/contract/driver100"
     7  )
     8  
     9  // GetContractBin is NodeDriver contract genesis implementation bin code
    10  // Has to be compiled with flag bin-runtime
    11  // Built from u2u-sfc 76c17565a891e241b09de0a9c1693d0ab3689c17, solc 0.5.17+commit.d19bba13.Emscripten.clang, optimize-runs 10000
    12  func GetContractBin() []byte {
    13  	return hexutil.MustDecode(driver100.ContractBinRuntime)
    14  }
    15  
    16  // ContractAddress is the NodeDriver contract address
    17  var ContractAddress = common.HexToAddress("0xd100a01e00000000000000000000000000000000")