New answers tagged

1 vote

External Function as Function argument

Function types are of two variants, internal and external. internal type can only be passed to internal functions. So they're not part of the ABI and the compiler simply JUMPs to the internal function ...
user avatar
  • 169
1 vote

type(C).creationCode who has access to this?

You cannot run into a situation where multiple contracts are named C. This language construct is compile-time (not runtime), meaning contract C would have to be imported in order for you to use type(C)...
user avatar
  • 170

Top 50 recent answers are included