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§
- Contains dynamic ABI definitions for this contract.
Structs§
- A
ICurveI128_4
instance. - Function with signature
add_liquidity(uint256[4],uint256)
and selector0x029b2f34
. - Container type for the return parameters of the
add_liquidity(uint256[4],uint256)
function. - Function with signature
calc_token_amount(uint256[4],bool)
and selector0xcf701ff7
. - Container type for the return parameters of the
calc_token_amount(uint256[4],bool)
function. - Function with signature
exchange(int128,int128,uint256,uint256)
and selector0x3df02124
. - Container type for the return parameters of the
exchange(int128,int128,uint256,uint256)
function. - Function with signature
get_dy(int128,int128,uint256)
and selector0x5e0d443f
. - Container type for the return parameters of the
get_dy(int128,int128,uint256)
function.
Enums§
- Container for all the
ICurveI128_4
function calls.
Functions§
- Creates a new wrapper around an on-chain
ICurveI128_4
contract instance.