MCPcopy Create free account

hub / github.com/dethcrypto/evm-ts / functions

Functions104 in github.com/dethcrypto/evm-ts

↓ 66 callersMethodpop
()
lib/utils/Stack.ts:9
↓ 39 callersMethodpush
(item: T)
lib/utils/Stack.ts:17
↓ 33 callersFunctioncompareWithReferentialImpl
(code: string, env?: Partial<IEnvironment>)
test/helpers/compareWithReferentialImpl.ts:11
↓ 24 callersMethodrunTx
(tx: IExternalTransaction)
test/helpers/compareWithReferentialImpl.ts:59
↓ 13 callersMethodpeek
()
lib/utils/PeekableIterator.ts:10
↓ 10 callersMethodnext
()
lib/utils/PeekableIterator.ts:29
↓ 9 callersMethodgetAddress
(_address: string)
lib/FakeBlockchain.ts:46
↓ 7 callersFunctionarrayCopy
(target: ReadonlyArray<T>, arrayToCopy: ReadonlyArray<T>, at: number)
lib/utils/arrays.ts:27
↓ 7 callersFunctionloadContract
(fullName: string)
test/integration.spec.ts:11
↓ 6 callersFunctiongetIndex
(array: T[], index: number)
lib/utils/arrays.ts:4
↓ 6 callersFunctionsliceAndEnsureLength
( array: ReadonlyArray<T>, from: number, desiredLength: number, fill: T, )
lib/utils/arrays.ts:39
↓ 5 callersFunctionbyteStringToNumberArray
(bytesString: string)
lib/utils/bytes.ts:5
↓ 4 callersFunctioncompareTransactionsWithReferentialImpl
(script: (vm: IVm) => Promise<void>)
test/helpers/compareWithReferentialImpl.ts:67
↓ 4 callersFunctiondecodeOpcodeString
(opcode: string)
lib/__tests__/decodeBytecode.spec.ts:10
↓ 4 callersFunctiongetIndexOrDie
(array: T[], index: number)
lib/utils/arrays.ts:13
↓ 4 callersMethodrunCode
(environment: IEnvironment)
lib/VM.ts:25
↓ 3 callersMethodcheckpoint
()
lib/types.ts:13
↓ 3 callersMethodcommit
()
lib/types.ts:15
↓ 3 callersMethoddone
()
lib/utils/PeekableIterator.ts:37
↓ 3 callersFunctiongetLastElement
(array: T[])
test/helpers/compareWithReferentialImpl.ts:87
↓ 3 callersMethodrevert
()
lib/types.ts:14
↓ 3 callersMethodrunCode
(code: string, env: Partial<IEnvironment> = {})
test/helpers/EVMJS.ts:38
↓ 3 callersFunctionrunEvm
( bytecode: string, env?: Partial<IEnvironment>, )
test/helpers/compareWithReferentialImpl.ts:174
↓ 3 callersMethodsetAddress
(_address: string, account: IAccount)
lib/FakeBlockchain.ts:57
↓ 3 callersMethodsetup
()
test/helpers/EVMJS.ts:29
↓ 3 callersMethodtake
(n: number)
lib/utils/PeekableIterator.ts:18
↓ 2 callersMethodcreateNewAccount
(fromAccountOrDesiredAccount: IAccount | string)
lib/FakeBlockchain.ts:65
↓ 2 callersFunctiondecodeOpcode
(bytesIterator: PeekableIterator<number>)
lib/decodeBytecode.ts:17
↓ 2 callersFunctiondeepCloneState
(state: IMachineState)
lib/VM.ts:66
↓ 2 callersMethoddumpLayers
()
lib/FakeBlockchain.ts:38
↓ 2 callersMethodgetFullContractStorage
(address: Buffer)
test/helpers/EVMJS.ts:117
↓ 2 callersMethodgetTopLayer
()
lib/FakeBlockchain.ts:42
↓ 2 callersMethodhasNext
()
lib/utils/PeekableIterator.ts:33
↓ 2 callersFunctionnotImplementedError
()
lib/opcodes/common.ts:32
↓ 1 callersMethodcheckpoint
()
lib/FakeBlockchain.ts:17
↓ 1 callersFunctioncompareInvalidCodeWithReferentialImpl
( code: string, jsError: string, tsError: string, env?: Partial<IEnvironment>, )
test/helpers/compareWithReferentialImpl.ts:27
↓ 1 callersFunctiondecodeDynamicOpcode
(bytesIterator: PeekableIterator<number>)
lib/decodeBytecode.ts:36
↓ 1 callersFunctiondecodeStaticOpcode
(bytesIterator: PeekableIterator<number>)
lib/decodeBytecode.ts:25
↓ 1 callersMethodgetFullBlockchainDump
()
test/helpers/EVMJS.ts:146
↓ 1 callersMethodrevert
()
lib/FakeBlockchain.ts:21
↓ 1 callersMethodrun
(state: IMachineState)
lib/opcodes/dup.ts:30
↓ 1 callersFunctionsetupDebuggingLogs
(evmJs: EVMJS, evmTsBlockchain: FakeBlockchain)
test/helpers/compareWithReferentialImpl.ts:193
Methodcommit
()
lib/FakeBlockchain.ts:25
Functionconstructor
(id?: number, type?: string)
lib/opcodes/common.ts:8
Methodconstructor
(public blockchain: IBlockchain)
lib/VM.ts:21
Methodconstructor
(items: T[] = [])
lib/utils/Stack.ts:5
Methodconstructor
(private array: ReadonlyArray<T>)
lib/utils/PeekableIterator.ts:8
Methodconstructor
(public readonly index: number)
lib/utils/PeekableIterator.ts:43
Methodconstructor
(public readonly index: number, public readonly opcode: string)
lib/opcodes/common.ts:21
Methodconstructor
(public readonly index: number, public readonly opcode: number)
lib/opcodes/common.ts:27
Methodconstructor
(public byteNumber: number)
lib/opcodes/swap.ts:26
Methodconstructor
(public byteNumber: number, public arg: BN)
lib/opcodes/push.ts:32
Methodconstructor
(public stackIndex: number)
lib/opcodes/dup.ts:26
Methodconstructor
(public stackIndex: number)
lib/opcodes/log.ts:25
Methodconstructor
()
test/helpers/EVMJS.ts:24
FunctiondecodeDupFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/dup.ts:14
FunctiondecodeLogFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/log.ts:13
FunctiondecodePushFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/push.ts:15
FunctiondecodeSwapFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/swap.ts:14
FunctionevmJsStepListener
(data: any)
test/helpers/compareWithReferentialImpl.ts:92
FunctionevmTsStepListener
(ctx: IStepContext)
test/helpers/compareWithReferentialImpl.ts:106
Methodrun
(state: IMachineState)
lib/opcodes/swap.ts:30
Methodrun
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:13
Methodrun
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:28
Methodrun
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:38
Methodrun
(state: IMachineState, _env: IEnvironment, vm: VM)
lib/opcodes/environmental.ts:50
Methodrun
(state: IMachineState)
lib/opcodes/environmental.ts:66
Methodrun
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:83
Methodrun
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:95
Methodrun
(state: IMachineState)
lib/opcodes/comparisons.ts:9
Methodrun
(state: IMachineState)
lib/opcodes/comparisons.ts:24
Methodrun
(state: IMachineState)
lib/opcodes/comparisons.ts:39
Methodrun
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/storage.ts:13
Methodrun
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/storage.ts:37
Methodrun
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/calls.ts:11
Methodrun
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/calls.ts:60
Methodrun
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/calls.ts:109
Methodrun
(state: IMachineState)
lib/opcodes/push.ts:36
Methodrun
(state: IMachineState, env: IEnvironment)
lib/opcodes/jump.ts:8
Methodrun
(state: IMachineState)
lib/opcodes/jump.ts:25
Methodrun
(state: IMachineState)
lib/opcodes/jump.ts:44
Methodrun
(state: IMachineState)
lib/opcodes/memory.ts:14
Methodrun
(state: IMachineState)
lib/opcodes/memory.ts:34
Methodrun
(state: IMachineState, env: IEnvironment)
lib/opcodes/memory.ts:52
Methodrun
(state: IMachineState)
lib/opcodes/pop.ts:8
Methodrun
(state: IMachineState)
lib/opcodes/other.ts:11
Methodrun
(state: IMachineState)
lib/opcodes/other.ts:20
Methodrun
(state: IMachineState)
lib/opcodes/other.ts:30
Methodrun
(state: IMachineState)
lib/opcodes/other.ts:45
Methodrun
(state: IMachineState)
lib/opcodes/other.ts:57
Methodrun
(_state: IMachineState)
lib/opcodes/other.ts:72
Methodrun
(state: IMachineState)
lib/opcodes/other.ts:81
Methodrun
(_state: IMachineState)
lib/opcodes/log.ts:29
Methodrun
(state: IMachineState)
lib/opcodes/arithmetic.ts:11
Methodrun
(state: IMachineState)
lib/opcodes/arithmetic.ts:26
Methodrun
(state: IMachineState)
lib/opcodes/arithmetic.ts:41
Methodrun
(state: IMachineState)
lib/opcodes/arithmetic.ts:56
Methodrun
(state: IMachineState)
lib/opcodes/arithmetic.ts:71
Methodrun
(state: IMachineState)
lib/opcodes/arithmetic.ts:86
Methodrun
(state: IMachineState)
lib/opcodes/arithmetic.ts:100
next →1–100 of 104, ranked by callers