Skip to content

Library for derivation of slots #4961

@Amxx

Description

@Amxx

Solidity does the derivation of slot under the hood when trying to access a value in an array or a mapping.
Users may want to do te same to compute slots for transient storage, which solidity does not support yet.

This library does exactly that.

See it used here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions