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