Skip to main content
Helpful?

Lock

Git Source | Generated with forge doc

This is a temporary library that allows us to use transient storage (tstore/tload) TODO: This library can be deleted when we have the transient keyword support in solidity.

State Variables

IS_UNLOCKED_SLOT

bytes32 internal constant IS_UNLOCKED_SLOT = 0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23;

Functions

unlock

function unlock() internal;

lock

function lock() internal;

isUnlocked

function isUnlocked() internal view returns (bool unlocked);
Helpful?