Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContractAddress = common.HexToAddress("0xfc00face00000000000000000000000000000000")
ContractAddress is the SFC proxy contract address
View Source
var ContractAddressV1 = common.HexToAddress("0xfc00beef00000000000000000000000000000101")
the SFC contract first implementation address
Functions ¶
func AssembleStorage ¶
func AssembleStorage(validators pos.GValidators, genesisTime inter.Timestamp, owner common.Address, storage map[common.Hash]common.Hash) map[common.Hash]common.Hash
AssembleStorage builds genesis storage for the SFC contract
func GetMainContractBinV1 ¶
func GetMainContractBinV1() []byte
GetMainContractBinV1 is SFC contract first implementation bin code for mainnet Must be compiled with bin-runtime flag
func GetTestContractBinV1 ¶
func GetTestContractBinV1() []byte
GetTestContractBinV1 is SFC contract first implementation bin code for testnet Must be compiled with bin-runtime flag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.