loom_defi_abi::curve::pools

Module ICurveI128_4

Source
Expand description

Module containing a contract’s types and functions.

interface ICurveI128_4 {
    function get_dy(int128, int128, uint256) external view returns (uint256);
    function calc_token_amount(uint256[4], bool) external view returns (uint256);
    function exchange(int128, int128, uint256, uint256) external;
    function add_liquidity(uint256[4], uint256) external;
}

Modules§

Structs§

Enums§

Functions§

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