UNPKG

@ark-us/evm2wasm

Version:

This is a JS protope of a EVM to eWASM transcompiler

121 lines 3.75 kB
[ { "op": "SHA3", "value": "0x16", "description": "0 bytes", "in": { "stack": [ "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000" ], "memory": { "0": [ "0x0000000000000000000000000000000000000000000000000000000000000000" ] } }, "out": { "stack": [ "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" ], "memory": {}, "gasUsed": 0 }, "environment": { "callData": "0x00", "caller": "0x0000000000000000000000000000000000000000", "address": "0x0000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000" } }, { "op": "SHA3", "value": "0x16", "description": "32 bytes of zeroes", "in": { "stack": [ "0x0000000000000000000000000000000000000000000000000000000000000020", "0x0000000000000000000000000000000000000000000000000000000000000000" ], "memory": { "0": [ "0x0000000000000000000000000000000000000000000000000000000000000000" ] } }, "out": { "stack": [ "0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563" ], "memory": {}, "gasUsed": 9 }, "environment": { "callData": "0x00", "caller": "0x0000000000000000000000000000000000000000", "address": "0x0000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000" } }, { "op": "SHA3", "value": "0x16", "description": "256 bytes of zeroes", "in": { "stack": [ "0x0000000000000000000000000000000000000000000000000000000000000100", "0x0000000000000000000000000000000000000000000000000000000000000000" ], "memory": { "0": [ "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000000000000000000000000000" ] } }, "out": { "stack": [ "0xd397b3b043d87fcd6fad1291ff0bfd16401c274896d8c63a923727f077b8e0b5" ], "memory": {}, "gasUsed": 72 }, "environment": { "callData": "0x00", "caller": "0x0000000000000000000000000000000000000000", "address": "0x0000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000" } }, { "op": "SHA3", "value": "0x16", "description": "32 bytes of zeroes (with memory expansion)", "in": { "stack": [ "0x0000000000000000000000000000000000000000000000000000000000000020", "0x0000000000000000000000000000000000000000000000000000000000000000" ], "memory": {} }, "out": { "stack": [ "0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563" ], "memory": {}, "gasUsed": 9 }, "environment": { "callData": "0x00", "caller": "0x0000000000000000000000000000000000000000", "address": "0x0000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000" } } ]