loom_defi_abi::curve::pools

Module ICurveU256_2

Source
Expand description

Module containing a contract’s types and functions.

interface ICurveU256_2 {
    function get_dy(uint256, uint256, uint256) external view returns (uint256);
    function calc_withdraw_one_coin(uint256, uint256) external view returns (uint256);
    function calc_token_amount(uint256[2]) external view returns (uint256);
    function exchange(uint256, uint256, uint256, uint256) external;
    function remove_liquidity_one_coin(uint256, uint256, uint256) external;
    function add_liquidity(uint256[2], uint256) external;
}

Modules§

Structs§

Enums§

Functions§

  • Creates a new wrapper around an on-chain ICurveU256_2 contract instance.