loom_defi_abi::curve::pools

Module ICurveI128_2_To_Meta

Source
Expand description

Module containing a contract’s types and functions.

interface ICurveI128_2_To_Meta {
    function get_dy(int128, int128, uint256) external view returns (uint256);
    function get_dy_underlying(int128, int128, uint256) external view returns (uint256);
    function calc_withdraw_one_coin(uint256, int128) external view returns (uint256);
    function calc_token_amount(uint256[2], bool) external view returns (uint256);
    function exchange(int128, int128, uint256, uint256, address) external;
    function exchange_underlying(int128, int128, uint256, uint256, address) external;
    function remove_liquidity_one_coin(uint256, int128, uint256) external;
    function add_liquidity(uint256[2], uint256) external;
}

Modules§

Structs§

Enums§

Functions§