Documentation ¶
Index ¶
Constants ¶
View Source
const ( BlockVersion uint32 = 0 GenesisNonce uint64 = 2083236893 OntRegisterAmount = 1000000000 OngRegisterAmount = 1000000000 )
Variables ¶
View Source
var (
OntContractAddress, _ = common.AddressParseFromBytes([]byte{0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01})
OngContractAddress, _ = common.AddressParseFromBytes([]byte{0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02})
ONTToken = NewGoverningToken()
ONGToken = NewUtilityToken()
ONTTokenID = ONTToken.Hash()
ONGTokenID = ONGToken.Hash()
)
View Source
var GenBlockTime = (config.DEFAULT_GEN_BLOCK_TIME * time.Second)
View Source
var GenesisBookkeepers []keypair.PublicKey
Functions ¶
func GenesisBlockInit ¶
func NewGoverningInit ¶
func NewGoverningInit() *types.Transaction
func NewGoverningToken ¶
func NewGoverningToken() *types.Transaction
func NewUtilityInit ¶
func NewUtilityInit() *types.Transaction
func NewUtilityToken ¶
func NewUtilityToken() *types.Transaction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.