Home Reference Source

References

summary
public
public

ast/actions

summary
public

F doneVisiting(): {"type": *}

public

F visit(sourceId: *, ast: *): {"type": *, "sourceId": *, "ast": *}

public
public

ast/sagas

summary
public

F * saga()

public

F * visitAll(idx: *)

ast/selectors

summary
public

F ast(state: *): Object

ast

public

F ast.current(state: *): Object

ast.current

public

F ast.views(state: *): Object

ast.views

public

F ast.current.index(state: *): Object

ast.current.index

public

F ast.current.node(state: *): Object

ast.current.node

public

ast.current.pointer

public

F ast.current.tree(state: *): Object

ast.current.tree

public

F ast.views.sources(state: *): Object

ast.views.sources

public

V ast: *

ast

controller/actions

summary
public

F advance(): {"type": *}

public

F beginStep(type: *): {"type": *, "stepType": *}

public

F continueUntil(breakpoints: ...*): {"type": *, "breakpoints": *}

public

F interrupt(): {"type": *}

public

F stepInto(): {"type": *}

public

F stepNext(): {"type": *}

public

F stepOut(): {"type": *}

public

F stepOver(): {"type": *}

public
public
public
public
public
public
public
public

controller/sagas

summary
public

F * saga()

controller/selectors

summary
public

F controller(state: *): Object

controller

public

F controller.current(state: *): Object

controller.current

public

controller.current.executionContext

public

controller.current.functionDepth

public

controller.current.location

public

controller.current.willJump

public

controller.current.location.isMultiline

public

controller.current.location.node

public

controller.current.location.sourceRange

public

V controller: *

controller

data

summary
public

V reducer: *

data/actions

summary
public

F assign(context: *, assignments: *): {"type": *, "context": *, "assignments": *}

public

F declare(node: *): {"type": *, "node": *}

public

F scope(id: *, pointer: *, parentId: *, sourceId: *): {"type": *, "id": *, "pointer": *, "parentId": *, "sourceId": *}

public
public
public

data/decode

summary
public

F decode(definition: *, args: ...*): *

public

F decodeMemoryReference(definition: *, pointer: *, state: *, args: ...*): *

public

F decodeStorageReference(definition: *, pointer: *, state: *, args: ...*): *

public

F decodeValue(definition: *, pointer: *, state: *, args: ...*): *

public

F read(pointer: *, state: *): *

public

F chunk(memory: *, size: *): *

Split memory into chunks

public

F read(memory: *): BigNumber

read word from memory

public

F readBytes(memory: *): *

read <bytes> amount of bytes from memory, starting at byte <start>

public

F read(slot: *, offset: *): *

read slot from storage

public

F readRange(from: *, to: *, length: *): *

read all bytes in some range.

public

F allocateDeclarations(declarations: *, refs: *, slot: number, index: *, path: *[]): {"from": *, "to": *, "next": *, "children": *}

Allocate storage for given variable declarations

public

F baseDefinition(definition: *): {"typeDescriptions": *}

public

F cleanBigNumbers(value: *): *

recursively converts big numbers into something nicer to look at

public

F isReference(definition: *): *

public

F keccak256(args: ...*): *

public

F referenceType(definition: *): *

public

F specifiedSize(definition: *): *

e.g.

public

F storageSize(definition: *): *

public

F toBigNumber(bytes: *): *

public

F toBytes(number: *, length: number): *

public

F toHexString(bytes: *, length: *, trim: *): string

public

F toSignedBigNumber(bytes: *): *

public

F typeClass(definition: *): *

returns basic type class for a variable definition node e.g.: t_uint256 becomes uint t_struct$_Thing_$20_memory_ptr becomes struct

public

F typeIdentifier(definition: *): *

public

V MAX_WORD: *

public

data/sagas

summary
public

F * declare(node: *)

public

F * saga()

public

F * scope(nodeId: *, pointer: *, parentId: *, sourceId: *)

data/selectors

summary
public

F current(state: *): Object

data.current

public

data.current.identifiers (namespace)

public

F current.scope(state: *): Object

data.current.scope

public

data.current.identifiers (selector)

public

data.current.identifiers.definitions

public

data.current.identifiers.refs

public

F current.scope.id(state: *): Object

data.current.scope.id

public

F info(state: *): Object

data.info

public

F info.scopes(state: *): Object

data.info.scopes

public

F memory(state: *): Object

.memory

public

F next(state: *): Object

data.next

public

F proc(state: *): Object

data.proc

public

F proc.assignments(state: *): Object

data.proc.assignments

public

F stack(state: *): Object

.stack

public

F storage(state: *): Object

.storage

public

F views(state: *): Object

data.views

public

data.views.scopes.inlined

public

F views.decoder(state: *): Object

data.views.decoder

public

F views.scopes(state: *): Object

data.views.scopes

public

V data: *

evm

summary
public

F callstack(state: *[], action: *): *

public

V reducer: *

evm/actions

summary
public

F addContext(contractName: *, binary: *): {"type": *, "contractName": *, "binary": *}

public

F addInstance(address: *, context: *, binary: *): {"type": *, "address": *, "context": *, "binary": *}

public

F call(address: *): {"type": *, "address": *}

public

F create(binary: *): {"type": *, "binary": *}

public

F returnCall(): {"type": *}

public
public
public
public
public

evm/sagas

summary
public

F * addContext(contractName: *, binary: *): string

Adds EVM bytecode context

public

F * addInstance(address: *, binary: *): string

Adds known deployed instance of binary at address

public

F * begin(objectPattern: {"address": *, "binary": *})

public
public

F * saga()

evm/selectors

summary
public

F callAddress(state: *): Object

.callAddress

public

F createBinary(state: *): Object

.createBinary

public

F current(state: *): Object

evm.current

public

F current.call(state: *): Object

evm.current.call

public

F current.callstack(state: *): Object

evm.current.callstack

public

F current.context(state: *): Object

evm.current.context

public

F info(state: *): Object

evm.info

public

evm.info.binaries.search

public
public

F info.binaries(state: *): Object

evm.info.binaries

public

F info.contexts(state: *): Object

evm.info.contexts

public

F info.instances(state: *): Object

evm.info.instances

public

F isCall(state: *): Object

.isCall

public

F isCreate(state: *): Object

.isCreate

public

F isHalting(state: *): Object

.isHalting

public

F isJump(state: *): Object

.isJump

public

F next(state: *): Object

evm.next

public

F programCounter(state: *): Object

.programCounter

public

F state(state: *): Object

evm.state

public

F trace(state: *): Object

.trace

public

V evm: *

helpers

summary
public

F keccak256(args: ...*): *

public

F prefixName(prefix: *, fn: *): *

session

summary
public

Debugger Session

public

F session(state: *, action: *): *

public
public
public
public
public

session/actions

summary
public

F error(error: *): {"type": *, "error": *}

public

F finish(): {"type": *}

public

F ready(): {"type": *}

public

F recordContracts(contexts: *, sources: *): {"type": *, "contexts": *, "sources": *}

public

F start(txHash: *, provider: *): {"type": *, "txHash": *, "provider": *}

public
public
public
public
public

session/sagas

summary
public

F * saga()

session/selectors

summary
public

F info(state: *): Object

session.info

public

session.info.affectedInstances

public

V session: *

solidity

summary
public

F functionDepth(state: number, action: *): *

public

V reducer: *

solidity/actions

summary
public

F addSource(source: *, sourcePath: *, ast: *): {"type": *, "source": *, "sourcePath": *, "ast": *}

public

F addSourceMap(binary: *, sourceMap: *): {"type": *, "binary": *, "sourceMap": *}

public

F jump(jumpDirection: *): {"type": *, "jumpDirection": *}

public
public
public

solidity/sagas

summary
public

F * addSource(source: *, sourcePath: *, ast: *)

public

F * addSourceMap(binary: *, sourceMap: *)

public

F * saga()

solidity/selectors

summary
public

F current(state: *): Object

solidity.current

public

solidity.current.functionDepth

public

solidity.current.instruction

public

solidity.current.instructionAtProgramCounter

public

solidity.current.instructions

public

solidity.current.isMultiline

public

solidity.current.isSourceRangeFinal

public

solidity.current.jumpDirection

public

F current.source(state: *): Object

solidity.current.source

public

F current.sourceMap(state: *): Object

solidity.current.sourceMap

public

solidity.current.sourceRange

public

F current.willJump(state: *): Object

solidity.current.willJump

public

F info(state: *): Object

solidity.info

public

F info.sourceMaps(state: *): Object

solidity.info.sourceMaps

public

F info.sources(state: *): Object

solidity.info.sources

public

F state(state: *): Object

solidity.state

public

V solidity: *

store

summary
public

F abbreviateValues(value: *, options: {}, depth: number): *

public

F configureStore(reducer: *, saga: *, initialState: *, composeEnhancers: *): *

public

F configureStore(reducer: *, saga: *, initialState: *): *

trace

summary
public

F index(state: number, action: *): *

public

F steps(state: undefined, action: *): *

public

V reducer: *

trace/actions

summary
public

F endTrace(): {"type": *}

public

F next(): {"type": *}

public

F receiveAddresses(addresses: *): {"type": *, "addresses": *}

public

F saveSteps(steps: *): {"type": *, "steps": *}

public

F tick(): {"type": *}

public

F tock(): {"type": *}

public
public
public
public
public
public

trace/sagas

summary
public

F * advance()

public

F * processTrace(trace: *): *

public

F * saga()

public

F * wait()

trace/selectors

summary
public

F index(state: *): Object

trace.index

public

F next(state: *): Object

trace.next

public

F step(state: *): Object

trace.step

public

F steps(state: *): Object

trace.steps

public

F stepsRemaining(state: *): Object

trace.stepsRemaining

public

V trace: *

web3

summary
public

web3/actions

summary
public

F error(error: *): {"type": *, "error": *}

public

F fetchBinary(address: *): {"type": *, "address": *}

public

F init(provider: *): {"type": *, "provider": *}

public

F inspect(txHash: *): {"type": *, "txHash": *}

public

F receiveBinary(address: *, binary: *): {"type": *, "address": *, "binary": *}

public

F receiveCall(objectPattern: {"address": *, "binary": *}): {"type": *, "address": *, "binary": *}

public

F receiveTrace(trace: *): {"type": *, "trace": *}

public
public
public
public
public
public
public

web3/sagas

summary
public

F * inspectTransaction(txHash: *, provider: *): {"trace": *, "address": *, "binary": *}

public

F * obtainBinaries(addresses: *): *

public

F * saga()