Skip to Content
Mastering Blockchain - Second Edition
book

Mastering Blockchain - Second Edition

by Ankur Daharwal, Imran Bashir, Pranav Burnwal
March 2018
Beginner to intermediate
656 pages
20h 9m
English
Packt Publishing
Content preview from Mastering Blockchain - Second Edition

System operations

System operations are used to perform various system-related operations, such as account creation, message calling, and execution control. There are nine opcodes available in total in this category.

Mnemonic

Value

POP

PUSH

Gas

Description

CREATE

0xf0

3

1

32,000

Used to create a new account with the associated code.

CALL

0xf1

7

1

40

Used to initiate a message call into a contract account.

CALLCODE

0xf2

7

1

40

Used to initiate a message call into this account with an alternative account's code.

RETURN

0xf3

2

0

0

Stops the execution and returns output data.

DELEGATECALL

0xf4

6

1

40

This is same as CALLCODE but does not change the current values ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Blockchain - Third Edition

Mastering Blockchain - Third Edition

Imran Bashir
Mastering Blockchain

Mastering Blockchain

Lorne Lantz, Daniel Cawrey
Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood

Publisher Resources

ISBN: 9781788839044Supplemental Content