interface IVault is IERC20 {
    function token() external view returns (address);

    function claimInsurance() external; // NOTE: Only yDelegatedVault implements this

    function getRatio() external view returns (uint256);

    function deposit(uint256) external;

    function withdraw(uint256) external;

    function earn() external;
	
    function balance() external view returns (uint256);
	
    function flashLoan(address, uint256, bytes calldata) external;

    function loanFee() external view returns (uint256);

    function loanFeeMax() external view returns (uint256);
}
function getRatio() external view returns (uint256);

// NOTE: Only yDelegatedVault implements this