sfc

package
v0.0.0-...-59e56fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 7 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL