Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IAutopool

Git Source

Inherits: IERC4626, IERC20Permit

Interface for Tokemak Autopool vault contracts

Autopools are ERC4626 vaults with a base asset (like USDC) that mint autopool tokens

Functions

oldestDebtReporting

Returns the oldest debt reporting timestamp

If this timestamp is older than 1 day, the basket value may be inaccurate

function oldestDebtReporting() external view returns (uint256);

Returns

NameTypeDescription
<none>uint256The oldest debt timestamp

isShutdown

Returns whether the vault is shutdown

function isShutdown() external view returns (bool);

Returns

NameTypeDescription
<none>boolTrue if shutdown