Skip to main content

ICurvePool

Functions

coins

function coins(
uint256 arg0
) external returns (address)

Parameters

NameTypeDescription
arg0uint256

balances

function balances(
uint256 arg0
) external returns (uint256)

Parameters

NameTypeDescription
arg0uint256

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

NameTypeDescription
_toaddress
_valueuint256

transferFrom

function transferFrom(
address _from,
address _to,
uint256 _value
) external returns (bool)

Parameters

NameTypeDescription
_fromaddress
_toaddress
_valueuint256

approve

function approve(
address _spender,
uint256 _value
) external returns (bool)

Parameters

NameTypeDescription
_spenderaddress
_valueuint256

totalSupply

function totalSupply() external returns (uint256)

mint

function mint(
address _to,
uint256 _value
) external returns (bool)

Parameters

NameTypeDescription
_toaddress
_valueuint256

burnFrom

function burnFrom(
address _to,
uint256 _value
) external returns (bool)

Parameters

NameTypeDescription
_toaddress
_valueuint256

balanceOf

function balanceOf(
address _owner
) external returns (uint256)

Parameters

NameTypeDescription
_owneraddress

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

NameTypeDescription
iint128
jint128
dxuint256

get_dy_underlying

function get_dy_underlying(
int128 i,
int128 j,
uint256 dx
) external returns (uint256)

Parameters

NameTypeDescription
iint128
jint128
dxuint256

exchange

function exchange(
int128 i,
int128 j,
uint256 dx,
uint256 min_dy
) external

Parameters

NameTypeDescription
iint128
jint128
dxuint256
min_dyuint256

calc_withdraw_one_coin

function calc_withdraw_one_coin(
uint256 _token_amount,
int128 i
) external returns (uint256)

Parameters

NameTypeDescription
_token_amountuint256
iint128

remove_liquidity_one_coin

function remove_liquidity_one_coin(
uint256 _token_amount,
int128 i,
uint256 min_amount
) external

Parameters

NameTypeDescription
_token_amountuint256
iint128
min_amountuint256

ramp_A

function ramp_A(
uint256 _future_A,
uint256 _future_time
) external

Parameters

NameTypeDescription
_future_Auint256
_future_timeuint256

stop_ramp_A

function stop_ramp_A() external

commit_new_fee

function commit_new_fee(
uint256 new_fee,
uint256 new_admin_fee
) external

Parameters

NameTypeDescription
new_feeuint256
new_admin_feeuint256

apply_new_fee

function apply_new_fee() external

commit_transfer_ownership

function commit_transfer_ownership(
address _owner
) external

Parameters

NameTypeDescription
_owneraddress

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

NameTypeDescription
iuint256

withdraw_admin_fees

function withdraw_admin_fees() external
function donate_admin_fees() external

kill_me

function kill_me() external

unkill_me

function unkill_me() external