Crate tycho_vm

Source

Macros§

tuple
Tuple builder.

Structs§

AgainCont
Continuation that executes its body infinitely many times.
ArgContExt
Continuation with control data (arguments).
BehaviourModifiers
Falgs to control VM behaviour.
CommittedState
Execution effects.
ControlData
Total state of VM.
ControlRegs
Control registers page.
CustomSmcInfo
Custom-built Smart Contract Info.
DispatchTable
Code page.
ExcQuitCont
Default exception handler continuation.
GasConsumer
Gas tracking context.
GasConsumerDeriveParams
Params to replace the current gas consumer.
GasParams
Initialization params for GasConsumer.
LimitedGasConsumer
Consumes at most N gas units, everything else is treated as free gas.
NaN
Invalid integer stack value.
NoLibraries
Empty libraries provider.
Opcodes
A builder for DispatchTable.
OrdCont
Ordinary continuation.
OwnedCellSlice
A wrapper around CellSliceParts extending its lifetime.
ParentVmState
Parent execution state.
PushIntCont
Continuation that pushes a single integer to the stack.
QuitCont
Continuation that represents the end of work of TVM.
RepeatCont
Continuation that takes an integer n and a continuation c, and executes c n times.
RestoredGasConsumer
Info extracted when parent gas consumer is restored.
SafeRc
Rc-like object with a linear drop.
SaveCr
A mask to specify which control registers are saved.
SmcInfoBase
Common Smart Contract Info.
SmcInfoTonV4
Extended smart contract info for TVM since version 4.
SmcInfoTonV6
Extended smart contract info for TVM since version 6.
SmcInfoTonV11
Stack
A stack of values.
UnpackedConfig
Unpacked config params, ready to be used in SmcInfoTonV6::with_unpacked_config.
UnpackedInMsgSmcInfo
Internal message parts.
UntilCont
Continuation of a loop with postcondition.
VmState
Full execution state.
VmStateBuilder
Execution state builder.
WhileCont
Continuation of a loop with precondition.

Enums§

InitSelectorParams
Function selector (C3) initialization params.
ParentGasConsumer
Parent of the derived gas consumer.
StackValueType
A value type of StackValue.
VmError
VM execution error.
VmException
A code for an execution error.
VmVersion
Version of a VM context.

Traits§

Cont
Continuation interface.
IntoCode
Anything that can be used as a VM code source.
LibraryProvider
Library cells resolver.
OpcodeBase
OpcodeExec
Opcode description.
SafeDelete
A data which can be used in SafeRc.
SafeRcMakeMut
Rc::make_mut glue.
SmcInfo
Smart Contract Info context.
StackValue
Interface of a Stack item.
StaticStackValue
Static-dispatch type extension for StackValue.
TupleExt
Tuple utilities.

Functions§

codepage
Codepage resolver.
codepage0
Default codepage.

Type Aliases§

FnExecInstrArg
Fn pointer for an opcode execution logic with a single argument.
FnExecInstrFull
Fn pointer for an extended opcode execution logic.
FnExecInstrSimple
Fn pointer for a simple opcode execution logic.
RcCont
Continuation.
RcStackValue
Stack item.
Tuple
Multiple RcStackValues.
VmResult
Result of VM-related stuff.