Created
May 3, 2020 20:30
-
-
Save michwill/9feac629c4817bf881543b35e105df86 to your computer and use it in GitHub Desktop.
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
interface CurveFi { | |
function exchange( | |
int128 i, | |
int128 j, | |
uint256 dx, | |
uint256 min_dy | |
) external; | |
function exchange_underlying( | |
int128 i, | |
int128 j, | |
uint256 dx, | |
uint256 min_dy | |
) external; | |
function get_dx_underlying( | |
int128 i, | |
int128 j, | |
uint256 dy | |
) external view returns (uint256); | |
function get_dy_underlying( | |
int128 i, | |
int128 j, | |
uint256 dx | |
) external view returns (uint256); | |
function get_dx( | |
int128 i, | |
int128 j, | |
uint256 dy | |
) external view returns (uint256); | |
function get_dy( | |
int128 i, | |
int128 j, | |
uint256 dx | |
) external view returns (uint256); | |
function get_virtual_price() external view returns (uint256); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment