ICurvePool
Functions
coins
function coins(
uint256 arg0
) external returns (address)
Parameters
Name | Type | Description |
---|---|---|
arg0 | uint256 |
balances
function balances(
uint256 arg0
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
arg0 | uint256 |
fee
function fee() external returns (uint256)
admin_fee
function admin_fee() external returns (uint256)
owner
function owner() external returns (address)
lp_token
function lp_token() external returns (address)
initial_A
function initial_A() external returns (uint256)
future_A
function future_A() external returns (uint256)
initial_A_time
function initial_A_time() external returns (uint256)
future_A_time
function future_A_time() external returns (uint256)
admin_actions_deadline
function admin_actions_deadline() external returns (uint256)
transfer_ownership_deadline
function transfer_ownership_deadline() external returns (uint256)
future_fee
function future_fee() external returns (uint256)
future_admin_fee
function future_admin_fee() external returns (uint256)
future_owner
function future_owner() external returns (address)
decimals
function decimals() external returns (uint256)
transfer
function transfer(
address _to,
uint256 _value
) external returns (bool)
Parameters
Name | Type | Description |
---|---|---|
_to | address | |
_value | uint256 |
transferFrom
function transferFrom(
address _from,
address _to,
uint256 _value
) external returns (bool)
Parameters
Name | Type | Description |
---|---|---|
_from | address | |
_to | address | |
_value | uint256 |
approve
function approve(
address _spender,
uint256 _value
) external returns (bool)
Parameters
Name | Type | Description |
---|---|---|
_spender | address | |
_value | uint256 |
totalSupply
function totalSupply() external returns (uint256)
mint
function mint(
address _to,
uint256 _value
) external returns (bool)
Parameters
Name | Type | Description |
---|---|---|
_to | address | |
_value | uint256 |
burnFrom
function burnFrom(
address _to,
uint256 _value
) external returns (bool)
Parameters
Name | Type | Description |
---|---|---|
_to | address | |
_value | uint256 |
balanceOf
function balanceOf(
address _owner
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
_owner | address |
A
function A() external returns (uint256)
get_virtual_price
function get_virtual_price() external returns (uint256)
get_dy
function get_dy(
int128 i,
int128 j,
uint256 dx
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
i | int128 | |
j | int128 | |
dx | uint256 |
get_dy_underlying
function get_dy_underlying(
int128 i,
int128 j,
uint256 dx
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
i | int128 | |
j | int128 | |
dx | uint256 |
exchange
function exchange(
int128 i,
int128 j,
uint256 dx,
uint256 min_dy
) external
Parameters
Name | Type | Description |
---|---|---|
i | int128 | |
j | int128 | |
dx | uint256 | |
min_dy | uint256 |
calc_withdraw_one_coin
function calc_withdraw_one_coin(
uint256 _token_amount,
int128 i
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
_token_amount | uint256 | |
i | int128 |
remove_liquidity_one_coin
function remove_liquidity_one_coin(
uint256 _token_amount,
int128 i,
uint256 min_amount
) external
Parameters
Name | Type | Description |
---|---|---|
_token_amount | uint256 | |
i | int128 | |
min_amount | uint256 |
ramp_A
function ramp_A(
uint256 _future_A,
uint256 _future_time
) external
Parameters
Name | Type | Description |
---|---|---|
_future_A | uint256 | |
_future_time | uint256 |
stop_ramp_A
function stop_ramp_A() external
commit_new_fee
function commit_new_fee(
uint256 new_fee,
uint256 new_admin_fee
) external
Parameters
Name | Type | Description |
---|---|---|
new_fee | uint256 | |
new_admin_fee | uint256 |
apply_new_fee
function apply_new_fee() external
commit_transfer_ownership
function commit_transfer_ownership(
address _owner
) external
Parameters
Name | Type | Description |
---|---|---|
_owner | address |
apply_transfer_ownership
function apply_transfer_ownership() external
revert_transfer_ownership
function revert_transfer_ownership() external
admin_balances
function admin_balances(
uint256 i
) external returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
i | uint256 |
withdraw_admin_fees
function withdraw_admin_fees() external
donate_admin_fees
function donate_admin_fees() external
kill_me
function kill_me() external
unkill_me
function unkill_me() external