Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dethcrypto/evm-ts
/ functions
Functions
104 in github.com/dethcrypto/evm-ts
⨍
Functions
104
◇
Types & classes
112
↓ 66 callers
Method
pop
()
lib/utils/Stack.ts:9
↓ 39 callers
Method
push
(item: T)
lib/utils/Stack.ts:17
↓ 33 callers
Function
compareWithReferentialImpl
(code: string, env?: Partial<IEnvironment>)
test/helpers/compareWithReferentialImpl.ts:11
↓ 24 callers
Method
runTx
(tx: IExternalTransaction)
test/helpers/compareWithReferentialImpl.ts:59
↓ 13 callers
Method
peek
()
lib/utils/PeekableIterator.ts:10
↓ 10 callers
Method
next
()
lib/utils/PeekableIterator.ts:29
↓ 9 callers
Method
getAddress
(_address: string)
lib/FakeBlockchain.ts:46
↓ 7 callers
Function
arrayCopy
(target: ReadonlyArray<T>, arrayToCopy: ReadonlyArray<T>, at: number)
lib/utils/arrays.ts:27
↓ 7 callers
Function
loadContract
(fullName: string)
test/integration.spec.ts:11
↓ 6 callers
Function
getIndex
(array: T[], index: number)
lib/utils/arrays.ts:4
↓ 6 callers
Function
sliceAndEnsureLength
( array: ReadonlyArray<T>, from: number, desiredLength: number, fill: T, )
lib/utils/arrays.ts:39
↓ 5 callers
Function
byteStringToNumberArray
(bytesString: string)
lib/utils/bytes.ts:5
↓ 4 callers
Function
compareTransactionsWithReferentialImpl
(script: (vm: IVm) => Promise<void>)
test/helpers/compareWithReferentialImpl.ts:67
↓ 4 callers
Function
decodeOpcodeString
(opcode: string)
lib/__tests__/decodeBytecode.spec.ts:10
↓ 4 callers
Function
getIndexOrDie
(array: T[], index: number)
lib/utils/arrays.ts:13
↓ 4 callers
Method
runCode
(environment: IEnvironment)
lib/VM.ts:25
↓ 3 callers
Method
checkpoint
()
lib/types.ts:13
↓ 3 callers
Method
commit
()
lib/types.ts:15
↓ 3 callers
Method
done
()
lib/utils/PeekableIterator.ts:37
↓ 3 callers
Function
getLastElement
(array: T[])
test/helpers/compareWithReferentialImpl.ts:87
↓ 3 callers
Method
revert
()
lib/types.ts:14
↓ 3 callers
Method
runCode
(code: string, env: Partial<IEnvironment> = {})
test/helpers/EVMJS.ts:38
↓ 3 callers
Function
runEvm
( bytecode: string, env?: Partial<IEnvironment>, )
test/helpers/compareWithReferentialImpl.ts:174
↓ 3 callers
Method
setAddress
(_address: string, account: IAccount)
lib/FakeBlockchain.ts:57
↓ 3 callers
Method
setup
()
test/helpers/EVMJS.ts:29
↓ 3 callers
Method
take
(n: number)
lib/utils/PeekableIterator.ts:18
↓ 2 callers
Method
createNewAccount
(fromAccountOrDesiredAccount: IAccount | string)
lib/FakeBlockchain.ts:65
↓ 2 callers
Function
decodeOpcode
(bytesIterator: PeekableIterator<number>)
lib/decodeBytecode.ts:17
↓ 2 callers
Function
deepCloneState
(state: IMachineState)
lib/VM.ts:66
↓ 2 callers
Method
dumpLayers
()
lib/FakeBlockchain.ts:38
↓ 2 callers
Method
getFullContractStorage
(address: Buffer)
test/helpers/EVMJS.ts:117
↓ 2 callers
Method
getTopLayer
()
lib/FakeBlockchain.ts:42
↓ 2 callers
Method
hasNext
()
lib/utils/PeekableIterator.ts:33
↓ 2 callers
Function
notImplementedError
()
lib/opcodes/common.ts:32
↓ 1 callers
Method
checkpoint
()
lib/FakeBlockchain.ts:17
↓ 1 callers
Function
compareInvalidCodeWithReferentialImpl
( code: string, jsError: string, tsError: string, env?: Partial<IEnvironment>, )
test/helpers/compareWithReferentialImpl.ts:27
↓ 1 callers
Function
decodeDynamicOpcode
(bytesIterator: PeekableIterator<number>)
lib/decodeBytecode.ts:36
↓ 1 callers
Function
decodeStaticOpcode
(bytesIterator: PeekableIterator<number>)
lib/decodeBytecode.ts:25
↓ 1 callers
Method
getFullBlockchainDump
()
test/helpers/EVMJS.ts:146
↓ 1 callers
Method
revert
()
lib/FakeBlockchain.ts:21
↓ 1 callers
Method
run
(state: IMachineState)
lib/opcodes/dup.ts:30
↓ 1 callers
Function
setupDebuggingLogs
(evmJs: EVMJS, evmTsBlockchain: FakeBlockchain)
test/helpers/compareWithReferentialImpl.ts:193
Method
commit
()
lib/FakeBlockchain.ts:25
Function
constructor
(id?: number, type?: string)
lib/opcodes/common.ts:8
Method
constructor
(public blockchain: IBlockchain)
lib/VM.ts:21
Method
constructor
(items: T[] = [])
lib/utils/Stack.ts:5
Method
constructor
(private array: ReadonlyArray<T>)
lib/utils/PeekableIterator.ts:8
Method
constructor
(public readonly index: number)
lib/utils/PeekableIterator.ts:43
Method
constructor
(public readonly index: number, public readonly opcode: string)
lib/opcodes/common.ts:21
Method
constructor
(public readonly index: number, public readonly opcode: number)
lib/opcodes/common.ts:27
Method
constructor
(public byteNumber: number)
lib/opcodes/swap.ts:26
Method
constructor
(public byteNumber: number, public arg: BN)
lib/opcodes/push.ts:32
Method
constructor
(public stackIndex: number)
lib/opcodes/dup.ts:26
Method
constructor
(public stackIndex: number)
lib/opcodes/log.ts:25
Method
constructor
()
test/helpers/EVMJS.ts:24
Function
decodeDupFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/dup.ts:14
Function
decodeLogFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/log.ts:13
Function
decodePushFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/push.ts:15
Function
decodeSwapFromBytecode
(bytecodeIterator: PeekableIterator<number>)
lib/opcodes/swap.ts:14
Function
evmJsStepListener
(data: any)
test/helpers/compareWithReferentialImpl.ts:92
Function
evmTsStepListener
(ctx: IStepContext)
test/helpers/compareWithReferentialImpl.ts:106
Method
run
(state: IMachineState)
lib/opcodes/swap.ts:30
Method
run
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:13
Method
run
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:28
Method
run
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:38
Method
run
(state: IMachineState, _env: IEnvironment, vm: VM)
lib/opcodes/environmental.ts:50
Method
run
(state: IMachineState)
lib/opcodes/environmental.ts:66
Method
run
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:83
Method
run
(state: IMachineState, env: IEnvironment)
lib/opcodes/environmental.ts:95
Method
run
(state: IMachineState)
lib/opcodes/comparisons.ts:9
Method
run
(state: IMachineState)
lib/opcodes/comparisons.ts:24
Method
run
(state: IMachineState)
lib/opcodes/comparisons.ts:39
Method
run
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/storage.ts:13
Method
run
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/storage.ts:37
Method
run
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/calls.ts:11
Method
run
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/calls.ts:60
Method
run
(state: IMachineState, env: IEnvironment, vm: VM)
lib/opcodes/calls.ts:109
Method
run
(state: IMachineState)
lib/opcodes/push.ts:36
Method
run
(state: IMachineState, env: IEnvironment)
lib/opcodes/jump.ts:8
Method
run
(state: IMachineState)
lib/opcodes/jump.ts:25
Method
run
(state: IMachineState)
lib/opcodes/jump.ts:44
Method
run
(state: IMachineState)
lib/opcodes/memory.ts:14
Method
run
(state: IMachineState)
lib/opcodes/memory.ts:34
Method
run
(state: IMachineState, env: IEnvironment)
lib/opcodes/memory.ts:52
Method
run
(state: IMachineState)
lib/opcodes/pop.ts:8
Method
run
(state: IMachineState)
lib/opcodes/other.ts:11
Method
run
(state: IMachineState)
lib/opcodes/other.ts:20
Method
run
(state: IMachineState)
lib/opcodes/other.ts:30
Method
run
(state: IMachineState)
lib/opcodes/other.ts:45
Method
run
(state: IMachineState)
lib/opcodes/other.ts:57
Method
run
(_state: IMachineState)
lib/opcodes/other.ts:72
Method
run
(state: IMachineState)
lib/opcodes/other.ts:81
Method
run
(_state: IMachineState)
lib/opcodes/log.ts:29
Method
run
(state: IMachineState)
lib/opcodes/arithmetic.ts:11
Method
run
(state: IMachineState)
lib/opcodes/arithmetic.ts:26
Method
run
(state: IMachineState)
lib/opcodes/arithmetic.ts:41
Method
run
(state: IMachineState)
lib/opcodes/arithmetic.ts:56
Method
run
(state: IMachineState)
lib/opcodes/arithmetic.ts:71
Method
run
(state: IMachineState)
lib/opcodes/arithmetic.ts:86
Method
run
(state: IMachineState)
lib/opcodes/arithmetic.ts:100
next →
1–100 of 104, ranked by callers