Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfNil ¶
func CheckIfNil(args *vmcommon.ContractCallInput) error
CheckIfNil verifies if contract call input is not nil
func NewStakingSmartContract ¶
func NewStakingSmartContract(stakeValue *big.Int, unBoundPeriod uint64, eei vm.SystemEI) (*stakingSC, error)
NewStakingSmartContract creates a staking smart contract
func NewVMContext ¶
func NewVMContext(blockChainHook vmcommon.BlockchainHook, cryptoHook vmcommon.CryptoHook) (*vmContext, error)
NewVMContext creates a context where smart contracts can run and write
Types ¶
Click to show internal directories.
Click to hide internal directories.