Skip to main content
Helpful?

CurrencyReserves

Git Source | Generated with forge doc

State Variables

RESERVES_OF_SLOT

bytes32(uint256(keccak256("ReservesOf")) - 1)

bytes32 constant RESERVES_OF_SLOT = 0x1e0745a7db1623981f0b2a5d4232364c00787266eb75ad546f190e6cebe9bd95;

CURRENCY_SLOT

bytes32(uint256(keccak256("Currency")) - 1)

bytes32 constant CURRENCY_SLOT = 0x27e098c505d44ec3574004bca052aabf76bd35004c182099d8c575fb238593b9;

Functions

getSyncedCurrency

function getSyncedCurrency() internal view returns (Currency currency);

resetCurrency

function resetCurrency() internal;

syncCurrencyAndReserves

function syncCurrencyAndReserves(Currency currency, uint256 value) internal;

getSyncedReserves

function getSyncedReserves() internal view returns (uint256 value);
Helpful?