# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AmountBytesToString conver amount bytes to string.
No description provided by the author
New instances a new XBridge.
NewContextManager instances a new ContextManager.
NewSyscallService instances a new SyscallService.
Open opens a contract virtual machine specified by its driver type and name.
Register makes a contract driver available by the provided type and name.

# Constants

DefaultCap define default cap of NewIterator.
MaxContractCallDepth define max contract call depth.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
ErrOutOfDiskLimit define OutOfDiskLimit Error.

# Structs

Context 保存了合约执行的内核状态, 所有的系统调用产生的状态保存在这里.
ContextManager 用于管理产生和销毁Context.
ContractError indicates the error of the contract running result.
InstanceCreatorConfig configures InstanceCreator.
SyscallService is the handler of contract syscalls.
XBridge 用于注册用户虚拟机以及向Xchain Core注册可被识别的vm.VirtualMachine.
No description provided by the author

# Interfaces

ContractCodeProvider provides source code and desc of contract.
Instance is a contract virtual machine instance which can run a single contract call.
InstanceCreator is the creator of contract virtual machine instance.
No description provided by the author

# Type aliases

No description provided by the author
NewInstanceCreatorFunc instances a new InstanceCreator from InstanceCreatorConfig.