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

     1  package sfc
     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/sfc100"
     7  )
     8  
     9  // GetContractBin is SFC 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 200
    12  func GetContractBin() []byte {
    13  	return hexutil.MustDecode(sfc100.ContractBinRuntime)
    14  }
    15  
    16  // ContractAddress is the SFC contract address
    17  var ContractAddress = common.HexToAddress("0xfc00face00000000000000000000000000000000")