For the complete documentation index, see llms.txt. This page is also available as Markdown.

TransientStorage

Overview

License: Apache-2.0-or-later

library TransientStorage

Functions info

store

function store(Int256 slot, address token, int256 value) internal

Stores a mapping of token addresses to int256 values

get

function get(Int256 slot, address token) internal view returns (int256)

storeBalance

function storeBalance(address token, int256 balance) internal

getBalance

function getBalance(address token) internal view returns (int256)

storeTwap

getTwap

setDonationLock

getDonationLock

setNavLockExempt

getNavLockExempt

getTemporaryBalance

storeNav

storeAssets

getStoredNav

getStoredAssets

Last updated