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