Documentation ¶
Index ¶
- type AppRunConfig
- type AppRunConfigSchema
- type AppRunConfigSchemaValues
- type ProgramExecution
- type ProgramExecutionTrace
- type ReplayConfig
- type Result
- type RunConfig
- type Vm
- type VmBox
- type VmBoxes
- type VmBranch
- type VmConfig
- type VmFrame
- type VmScratch
- type VmStack
- type VmState
- type VmStateItem
- type VmStateItemType
- type VmValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppRunConfig ¶
type AppRunConfigSchema ¶
type AppRunConfigSchema struct { Local AppRunConfigSchemaValues Global AppRunConfigSchemaValues }
type ProgramExecution ¶
type ProgramExecution struct { Approval []ProgramExecutionTrace Clear []ProgramExecutionTrace Inner []ProgramExecution }
type ProgramExecutionTrace ¶
type ProgramExecutionTrace struct { models.SimulationOpcodeTraceUnit Line int Text string }
type ReplayConfig ¶
type Result ¶
type Result struct { Error error Executions []ProgramExecution }
func Replay ¶
func Replay(approval []byte, sr models.SimulateResponse, config ReplayConfig) (Result, error)
type RunConfig ¶
type RunConfig struct { Ac *algod.Client Sender string Create AppRunConfig Call AppRunConfig }
type Vm ¶
type VmState ¶
type VmState struct {
Items []VmStateItem
}
type VmStateItem ¶
type VmStateItem struct { Key []byte Type VmStateItemType Bytes []byte Uint uint64 }
type VmStateItemType ¶
type VmStateItemType int
const ( VmStateItemTypeBytes VmStateItemType = iota VmStateItemTypeUint )
Click to show internal directories.
Click to hide internal directories.