Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountVmContext ¶
type AccountVmContext interface { api.PillarReader store.Account MomentumStore() store.Momentum GetFrontierMomentum() (*nom.Momentum, error) GetGenesisMomentum() *nom.Momentum Save() Reset() Done() AddBalance(ts *types.ZenonTokenStandard, amount *big.Int) SubBalance(ts *types.ZenonTokenStandard, amount *big.Int) IsAcceleratorSporkEnforced() bool IsHtlcSporkEnforced() bool IsBridgeAndLiquiditySporkEnforced() bool }
func NewAccountContext ¶
func NewAccountContext(momentumStore store.Momentum, accountBlock store.Account, pillarReader api.PillarReader) AccountVmContext
func NewGenesisAccountContext ¶
func NewGenesisAccountContext(address types.Address) AccountVmContext
type MomentumVMContext ¶
func NewGenesisMomentumVMContext ¶
func NewGenesisMomentumVMContext() MomentumVMContext
func NewMomentumVMContext ¶
func NewMomentumVMContext(store store.Momentum) MomentumVMContext
Click to show internal directories.
Click to hide internal directories.