Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 855 Bytes

Function Types.md

File metadata and controls

24 lines (19 loc) · 855 Bytes

Function types are the types of functions.

Variables of function type can be assigned from functions and function parameters of function type can be used to pass functions to and return functions from function calls.

They come in two flavours:

  1. Internal functions can only be called inside the current contract.
  2. External functions consist of an address and a function signature and they can be passed via and returned from external function calls.

Slide Screenshot

054.jpg


Slide Deck

  • Variables -> Function Type
  • Assigned <- Functions
  • Parameters/Return Value
  • Internal vs. External
  • Usage: Minimal

References