design icon indicating copy to clipboard operation
design copied to clipboard

Generic buffer API

Open axic opened this issue 6 years ago • 0 comments

Primea has introduced a generic buffer API where each buffer is referred to by an index and helpers exists to query the size and retrieve the buffer.

We could consider to use this instead of the collection of calldata*, retundata*, code*, externalcode*. We'd still need to have a way to retrieve a message index, for example a helper for calldatamessageindex or it could be passed on to the function. For return data an index could be returned by call*.

axic avatar Mar 12 '19 12:03 axic