Documentation ¶
Index ¶
Constants ¶
View Source
const ( ValidatorsetABI = `` /* 9075-byte string literal not displayed */ StateReceiverABI = `` /* 662-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func StateReceiver ¶
func ValidatorSet ¶
Types ¶
type GenesisContractsClient ¶
type GenesisContractsClient struct { ValidatorContract string StateReceiverContract string // contains filtered or unexported fields }
func NewGenesisContractsClient ¶
func NewGenesisContractsClient( chainConfig *chain.Config, validatorContract, stateReceiverContract string, ) *GenesisContractsClient
func (*GenesisContractsClient) CommitState ¶
func (gc *GenesisContractsClient) CommitState( event *clerk.EventRecordWithTime, syscall consensus.SystemCall, ) error
func (*GenesisContractsClient) LastStateId ¶
func (gc *GenesisContractsClient) LastStateId(syscall consensus.SystemCall, ) (*big.Int, error)
Click to show internal directories.
Click to hide internal directories.