Skip to content

Commit

Permalink
📝 add support of opcode for ERC20 mvp
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Oct 17, 2022
1 parent d4c6f2d commit 564c9cf
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mvp/resources/bytecode_opcode_uniq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ SWAP6
SWAP7
SWAP8
SWAP9
TIMESTAMP
TIMESTAMP
80 changes: 80 additions & 0 deletions docs/mvp/resources/support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Support of opcodes for the MVP

38 / 75 opcodes are supported by the MVP.

| Opcode Name | Implemented |
| --------------- | ----------- |
| ADD ||
| ADDMOD ||
| ADDRESS | |
| AND | |
| CALLDATALOAD | |
| CALLDATASIZE | |
| CALLER | |
| CALLVALUE | |
| CHAINID | |
| DIV ||
| DUP1 ||
| DUP10 ||
| DUP11 ||
| DUP12 ||
| DUP13 ||
| DUP14 ||
| DUP2 ||
| DUP3 ||
| DUP4 ||
| DUP5 ||
| DUP6 ||
| DUP7 ||
| DUP8 ||
| DUP9 ||
| EQ | |
| GAS | |
| GT ||
| ISZERO | |
| JUMP | |
| JUMPDESTINATION | |
| JUMPI | |
| LOG1 | |
| LOG2 | |
| LOG3 | |
| LT ||
| MLOAD | |
| MOD | |
| MSTORE ||
| MUL ||
| NOT | |
| POP ||
| PUSH1 ||
| PUSH11 ||
| PUSH14 ||
| PUSH2 ||
| PUSH3 ||
| PUSH4 ||
| PUSH5 ||
| RETURN ||
| RETURNDATACOPY | |
| RETURNDATASIZE | |
| REVERT | |
| SHA3 | |
| SHL | |
| SHR | |
| SLOAD | |
| SLT | |
| SSTORE | |
| STATICCALL | |
| STOP ||
| SUB ||
| SWAP1 ||
| SWAP10 ||
| SWAP11 ||
| SWAP13 ||
| SWAP2 ||
| SWAP3 ||
| SWAP4 ||
| SWAP5 ||
| SWAP6 ||
| SWAP7 ||
| SWAP8 ||
| SWAP9 ||
| TIMESTAMP | |

0 comments on commit 564c9cf

Please sign in to comment.