AVM Packages
There are three classes in the avm package, Address, Blockchain and Result, which can be used to access blockchain-specific functionality exposed by the AVM.
There are three classes in the AVM package, Address, Blockchain and Result, which can be used to access blockchain-specific functionality exposed by the AVM.
Address
Represents an address of account in the Aion Network. You can view more information on the AVM API documentation
Blockchain
Every contract has an associated Blockchain
which allows the application to interface with the environment the contract is running. Typically, it includes the transaction related functions like: getCaller, getData and etc; functions for block context like log, putStorage, getBlockNumber, selfDestruct and so on; and other blockchain functionalities like blake2b, edVerify, keccak256 and sha256. You can view more information on the AVM API documentation
Result
Represents a cross-call invocation result. You can view more information on the AVM API documentation