ink icon indicating copy to clipboard operation
ink copied to clipboard

Add support for Solidity-like libraries

Open xermicus opened this issue 2 years ago • 1 comments

As documented here.

There are a number of things to consider, notably:

  • "if library functions are called, their code is executed in the context of the calling contract"
  • "libraries are assumed to be stateless." and " if a library’s code is executed using a CALL instead of a DELEGATECALL or CALLCODE, it will revert unless a view or pure"
  • "In particular, it is not possible to destroy a library."
  • linking

xermicus avatar Feb 24 '23 10:02 xermicus

What's the status of this? Are you going to tackle it anytime soon? if not, can I take over the issue?

SkymanOne avatar Aug 31 '23 16:08 SkymanOne