March 2018
Beginner to intermediate
656 pages
20h 9m
English
There is a total of 13 instructions in this category. These opcodes are used to provide information related to addresses, runtime environments, and data copy operations.
|
Mnemonic |
Value |
POP |
PUSH |
Gas |
Description |
|
ADDRESS |
0x30 |
0 |
1 |
2 |
Used to get the address of the currently executing account |
|
BALANCE |
0x31 |
1 |
1 |
20 |
Used to get the balance of the given account |
|
ORIGIN |
0x32 |
0 |
1 |
2 |
Used to get the address of the sender of the original transaction |
|
CALLER |
0x33 |
0 |
1 |
2 |
Used to get the address of the account that initiated the execution |
|
CALLVALUE |
0x34 |
0 |
1 |
2 |
Retrieves the value deposited by the instruction or transaction |
|
CALLDATALOAD |
0x35 |
1 |