Module vm_hooks

Source

Structs§

DebugApiVMHooksHandler
A simple wrapper around a managed type container RefCell.
SingleTxApiData
SingleTxApiVMHooksHandler
StaticApiVMHooksHandler
A simple wrapper around a managed type container Mutex.
VMHooksDispatcher
Dispatches messages coming via VMHooks to the underlying implementation (the VMHooksHandler).

Traits§

VMHooksBigFloat
VMHooksBigInt
Provides VM hook implementations for methods that deal big ints.
VMHooksBlockchain
VMHooksCallValue
VMHooksCrypto
VMHooksEndpointArgument
Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
VMHooksEndpointFinish
Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
VMHooksError
VMHooksErrorManaged
VMHooksHandler
Defines all methods that can handle VM hooks. They are spread out over several traits.
VMHooksHandlerSource
Abstracts away the borrowing of a managed types structure.
VMHooksLog
VMHooksManagedBuffer
Provides VM hook implementations for methods that deal managed buffers.
VMHooksManagedMap
VMHooksManagedTypes
Provides VM hook implementations for methods that deal with more than one type of managed type.
VMHooksSend
VMHooksStorageRead
VMHooksStorageWrite