Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 812 Bytes

Inline Assembly.md

File metadata and controls

26 lines (21 loc) · 812 Bytes

Inline assembly is a way to access the Ethereum Virtual Machine at a low level.

This bypasses several important safety features and checks of Solidity.

You should only use it for tasks that need it, and only if you are confident with using it.

  1. The language used for inline assembly in Solidity is called Yul

  2. An inline assembly block is marked by assembly { ... }, where the code inside the curly braces is code in the Yul language


Slide Screenshot

132.jpg


Slide Text

  • Access EVM Low-level Features
  • Bypasses Safety Features
  • E.g.: Type Safety
  • Language -> Yul
  • Assembly Block assembly {...}

References


Tags