Expand description
Module containing a contract’s types and functions.
interface ICurveI128_3 {
function get_dy(int128, int128, uint256) external view returns (uint256);
function calc_withdraw_one_coin(uint256, int128) external view returns (uint256);
function calc_token_amount(uint256[3], bool) external view returns (uint256);
function exchange(int128, int128, uint256, uint256) external;
function remove_liquidity_one_coin(uint256, int128, uint256) external;
function add_liquidity(uint256[3], uint256) external;
}
Modules§
- Contains dynamic ABI definitions for this contract.
Structs§
- A
ICurveI128_3
instance. - Function with signature
add_liquidity(uint256[3],uint256)
and selector0x4515cef3
. - Container type for the return parameters of the
add_liquidity(uint256[3],uint256)
function. - Function with signature
calc_token_amount(uint256[3],bool)
and selector0x3883e119
. - Container type for the return parameters of the
calc_token_amount(uint256[3],bool)
function. - Function with signature
calc_withdraw_one_coin(uint256,int128)
and selector0xcc2b27d7
. - Container type for the return parameters of the
calc_withdraw_one_coin(uint256,int128)
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. - Function with signature
remove_liquidity_one_coin(uint256,int128,uint256)
and selector0x1a4d01d2
. - Container type for the return parameters of the
remove_liquidity_one_coin(uint256,int128,uint256)
function.
Enums§
- Container for all the
ICurveI128_3
function calls.
Functions§
- Creates a new wrapper around an on-chain
ICurveI128_3
contract instance.