@ark-us/evm2wasm
Version:
This is a JS protope of a EVM to eWASM transcompiler
90 lines • 2.57 kB
JSON
[
{
"op": "AND",
"value": "0x16",
"description": "0xcc & 0x33",
"in": {
"stack": [
"0x3333333333333333333333333333333333333333333333333333333333333333",
"0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
]
},
"out": {
"stack": [
"0x0000000000000000000000000000000000000000000000000000000000000000"
]
},
"environment": {
"callData": "0x00",
"caller": "0x0000000000000000000000000000000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000"
}
},
{
"op": "AND",
"value": "0x16",
"description": "0x33 & 0x33",
"in": {
"stack": [
"0x3333333333333333333333333333333333333333333333333333333333333333",
"0x3333333333333333333333333333333333333333333333333333333333333333"
]
},
"out": {
"stack": [
"0x3333333333333333333333333333333333333333333333333333333333333333"
]
},
"environment": {
"callData": "0x00",
"caller": "0x0000000000000000000000000000000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000"
}
},
{
"op": "AND",
"value": "0x16",
"description": "0xff & 0xf0",
"in": {
"stack": [
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"0xf0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0"
]
},
"out": {
"stack": [
"0xf0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0"
]
},
"environment": {
"callData": "0x00",
"caller": "0x0000000000000000000000000000000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000"
}
},
{
"op": "AND",
"value": "0x16",
"description": "0xff & 0x00",
"in": {
"stack": [
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"0xffffffffffffffffffffffffffffffff00000000000000000000000000000000"
]
},
"out": {
"stack": [
"0xffffffffffffffffffffffffffffffff00000000000000000000000000000000"
]
},
"environment": {
"callData": "0x00",
"caller": "0x0000000000000000000000000000000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000"
}
}
]