-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
pragma solidity >=0.8.0; | ||
|
||
interface ISavingsDai { | ||
function totalSupply() external view returns (uint256); | ||
function balanceOf(address) external view returns (uint256); | ||
function allowance(address, address) external view returns (uint256); | ||
function approve(address, uint256) external returns (bool); | ||
function transfer(address, uint256) external returns (bool); | ||
function transferFrom(address, address, uint256) external returns (bool); | ||
function name() external view returns (string memory); | ||
function symbol() external view returns (string memory); | ||
function version() external view returns (string memory); | ||
function decimals() external view returns (uint8); | ||
function deploymentChainId() external view returns (uint256); | ||
function PERMIT_TYPEHASH() external view returns (bytes32); | ||
function DOMAIN_SEPARATOR() external view returns (bytes32); | ||
function nonces(address) external view returns (uint256); | ||
function vat() external view returns (address); | ||
function daiJoin() external view returns (address); | ||
function dai() external view returns (address); | ||
function pot() external view returns (address); | ||
function increaseAllowance(address, uint256) external returns (bool); | ||
function decreaseAllowance(address, uint256) external returns (bool); | ||
function asset() external view returns (address); | ||
function totalAssets() external view returns (uint256); | ||
function convertToShares(uint256) external view returns (uint256); | ||
function convertToAssets(uint256) external view returns (uint256); | ||
function maxDeposit(address) external view returns (uint256); | ||
function previewDeposit(uint256) external view returns (uint256); | ||
function deposit(uint256, address) external returns (uint256); | ||
function maxMint(address) external view returns (uint256); | ||
function previewMint(uint256) external view returns (uint256); | ||
function mint(uint256, address) external returns (uint256); | ||
function maxWithdraw(address) external view returns (uint256); | ||
function previewWithdraw(uint256) external view returns (uint256); | ||
function withdraw(uint256, address, address) external returns (uint256); | ||
function maxRedeem(address) external view returns (uint256); | ||
function previewRedeem(uint256) external view returns (uint256); | ||
function redeem(uint256, address, address) external returns (uint256); | ||
function permit(address, address, uint256, uint256, bytes memory) external; | ||
function permit(address, address, uint256, uint256, uint8, bytes32, bytes32) external; | ||
} |