Module brontes_classifier::CurveV1MetapoolImpl
source · Expand description
Generated by the following Solidity interface…
interface CurveV1MetapoolImpl {
event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply);
event Approval(address indexed owner, address indexed spender, uint256 value);
event CommitNewAdmin(uint256 indexed deadline, address indexed admin);
event CommitNewFee(uint256 indexed deadline, uint256 fee, uint256 admin_fee);
event NewAdmin(address indexed admin);
event NewFee(uint256 fee, uint256 admin_fee);
event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time);
event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply);
event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply);
event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount, uint256 token_supply);
event StopRampA(uint256 A, uint256 t);
event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought);
event TokenExchangeUnderlying(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought);
event Transfer(address indexed sender, address indexed receiver, uint256 value);
constructor();
function A() external view returns (uint256);
function A_precise() external view returns (uint256);
function add_liquidity(uint256[2] memory _amounts, uint256 _min_mint_amount) external returns (uint256);
function add_liquidity(uint256[2] memory _amounts, uint256 _min_mint_amount, address _receiver) external returns (uint256);
function admin() external view returns (address);
function admin_balances(uint256 i) external view returns (uint256);
function admin_fee() external view returns (uint256);
function allowance(address arg0, address arg1) external view returns (uint256);
function approve(address _spender, uint256 _value) external returns (bool);
function balanceOf(address arg0) external view returns (uint256);
function balances(uint256 arg0) external view returns (uint256);
function block_timestamp_last() external view returns (uint256);
function calc_token_amount(uint256[2] memory _amounts, bool _is_deposit) external view returns (uint256);
function calc_token_amount(uint256[2] memory _amounts, bool _is_deposit, bool _previous) external view returns (uint256);
function calc_withdraw_one_coin(uint256 _burn_amount, int128 i) external view returns (uint256);
function calc_withdraw_one_coin(uint256 _burn_amount, int128 i, bool _previous) external view returns (uint256);
function coins(uint256 arg0) external view returns (address);
function decimals() external view returns (uint256);
function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) external returns (uint256);
function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy, address _receiver) external returns (uint256);
function exchange_underlying(int128 i, int128 j, uint256 _dx, uint256 min_dy) external returns (uint256);
function exchange_underlying(int128 i, int128 j, uint256 _dx, uint256 min_dy, address _receiver) external returns (uint256);
function fee() external view returns (uint256);
function future_A() external view returns (uint256);
function future_A_time() external view returns (uint256);
function get_balances() external view returns (uint256[2] memory);
function get_dy(int128 i, int128 j, uint256 dx) external view returns (uint256);
function get_dy(int128 i, int128 j, uint256 dx, uint256[2] memory _balances) external view returns (uint256);
function get_dy_underlying(int128 i, int128 j, uint256 dx) external view returns (uint256);
function get_dy_underlying(int128 i, int128 j, uint256 dx, uint256[2] memory _balances) external view returns (uint256);
function get_previous_balances() external view returns (uint256[2] memory);
function get_price_cumulative_last() external view returns (uint256[2] memory);
function get_twap_balances(uint256[2] memory _first_balances, uint256[2] memory _last_balances, uint256 _time_elapsed) external view returns (uint256[2] memory);
function get_virtual_price() external view returns (uint256);
function initial_A() external view returns (uint256);
function initial_A_time() external view returns (uint256);
function initialize(string memory _name, string memory _symbol, address _coin, uint256 _decimals, uint256 _A, uint256 _fee, address _admin) external;
function name() external view returns (string memory);
function ramp_A(uint256 _future_A, uint256 _future_time) external;
function remove_liquidity(uint256 _burn_amount, uint256[2] memory _min_amounts) external returns (uint256[2] memory);
function remove_liquidity(uint256 _burn_amount, uint256[2] memory _min_amounts, address _receiver) external returns (uint256[2] memory);
function remove_liquidity_imbalance(uint256[2] memory _amounts, uint256 _max_burn_amount) external returns (uint256);
function remove_liquidity_imbalance(uint256[2] memory _amounts, uint256 _max_burn_amount, address _receiver) external returns (uint256);
function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received) external returns (uint256);
function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received, address _receiver) external returns (uint256);
function stop_ramp_A() external;
function symbol() external view returns (string memory);
function totalSupply() external view returns (uint256);
function transfer(address _to, uint256 _value) external returns (bool);
function transferFrom(address _from, address _to, uint256 _value) external returns (bool);
function withdraw_admin_fees() external;
}
…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "A",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "A_precise",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "add_liquidity",
"inputs": [
{
"name": "_amounts",
"type": "uint256[2]"
},
{
"name": "_min_mint_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "add_liquidity",
"inputs": [
{
"name": "_amounts",
"type": "uint256[2]"
},
{
"name": "_min_mint_amount",
"type": "uint256"
},
{
"name": "_receiver",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "admin",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "admin_balances",
"inputs": [
{
"name": "i",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "admin_fee",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "allowance",
"inputs": [
{
"name": "arg0",
"type": "address"
},
{
"name": "arg1",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "approve",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "balanceOf",
"inputs": [
{
"name": "arg0",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "balances",
"inputs": [
{
"name": "arg0",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "block_timestamp_last",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "calc_token_amount",
"inputs": [
{
"name": "_amounts",
"type": "uint256[2]"
},
{
"name": "_is_deposit",
"type": "bool"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "calc_token_amount",
"inputs": [
{
"name": "_amounts",
"type": "uint256[2]"
},
{
"name": "_is_deposit",
"type": "bool"
},
{
"name": "_previous",
"type": "bool"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "calc_withdraw_one_coin",
"inputs": [
{
"name": "_burn_amount",
"type": "uint256"
},
{
"name": "i",
"type": "int128"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "calc_withdraw_one_coin",
"inputs": [
{
"name": "_burn_amount",
"type": "uint256"
},
{
"name": "i",
"type": "int128"
},
{
"name": "_previous",
"type": "bool"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "coins",
"inputs": [
{
"name": "arg0",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "decimals",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "exchange",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "dx",
"type": "uint256"
},
{
"name": "min_dy",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "exchange",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "dx",
"type": "uint256"
},
{
"name": "min_dy",
"type": "uint256"
},
{
"name": "_receiver",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "exchange_underlying",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "_dx",
"type": "uint256"
},
{
"name": "min_dy",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "exchange_underlying",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "_dx",
"type": "uint256"
},
{
"name": "min_dy",
"type": "uint256"
},
{
"name": "_receiver",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "fee",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "future_A",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "future_A_time",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_balances",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[2]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_dy",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "dx",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_dy",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "dx",
"type": "uint256"
},
{
"name": "_balances",
"type": "uint256[2]"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_dy_underlying",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "dx",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_dy_underlying",
"inputs": [
{
"name": "i",
"type": "int128"
},
{
"name": "j",
"type": "int128"
},
{
"name": "dx",
"type": "uint256"
},
{
"name": "_balances",
"type": "uint256[2]"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_previous_balances",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[2]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_price_cumulative_last",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[2]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_twap_balances",
"inputs": [
{
"name": "_first_balances",
"type": "uint256[2]"
},
{
"name": "_last_balances",
"type": "uint256[2]"
},
{
"name": "_time_elapsed",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256[2]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "get_virtual_price",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "initial_A",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "initial_A_time",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "initialize",
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_symbol",
"type": "string"
},
{
"name": "_coin",
"type": "address"
},
{
"name": "_decimals",
"type": "uint256"
},
{
"name": "_A",
"type": "uint256"
},
{
"name": "_fee",
"type": "uint256"
},
{
"name": "_admin",
"type": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "name",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "ramp_A",
"inputs": [
{
"name": "_future_A",
"type": "uint256"
},
{
"name": "_future_time",
"type": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "remove_liquidity",
"inputs": [
{
"name": "_burn_amount",
"type": "uint256"
},
{
"name": "_min_amounts",
"type": "uint256[2]"
}
],
"outputs": [
{
"name": "",
"type": "uint256[2]"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "remove_liquidity",
"inputs": [
{
"name": "_burn_amount",
"type": "uint256"
},
{
"name": "_min_amounts",
"type": "uint256[2]"
},
{
"name": "_receiver",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256[2]"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "remove_liquidity_imbalance",
"inputs": [
{
"name": "_amounts",
"type": "uint256[2]"
},
{
"name": "_max_burn_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "remove_liquidity_imbalance",
"inputs": [
{
"name": "_amounts",
"type": "uint256[2]"
},
{
"name": "_max_burn_amount",
"type": "uint256"
},
{
"name": "_receiver",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "remove_liquidity_one_coin",
"inputs": [
{
"name": "_burn_amount",
"type": "uint256"
},
{
"name": "i",
"type": "int128"
},
{
"name": "_min_received",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "remove_liquidity_one_coin",
"inputs": [
{
"name": "_burn_amount",
"type": "uint256"
},
{
"name": "i",
"type": "int128"
},
{
"name": "_min_received",
"type": "uint256"
},
{
"name": "_receiver",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "stop_ramp_A",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "symbol",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "totalSupply",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "transfer",
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferFrom",
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "withdraw_admin_fees",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "AddLiquidity",
"inputs": [
{
"name": "provider",
"type": "address",
"indexed": true
},
{
"name": "token_amounts",
"type": "uint256[2]",
"indexed": false
},
{
"name": "fees",
"type": "uint256[2]",
"indexed": false
},
{
"name": "invariant",
"type": "uint256",
"indexed": false
},
{
"name": "token_supply",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "Approval",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true
},
{
"name": "spender",
"type": "address",
"indexed": true
},
{
"name": "value",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "CommitNewAdmin",
"inputs": [
{
"name": "deadline",
"type": "uint256",
"indexed": true
},
{
"name": "admin",
"type": "address",
"indexed": true
}
],
"anonymous": false
},
{
"type": "event",
"name": "CommitNewFee",
"inputs": [
{
"name": "deadline",
"type": "uint256",
"indexed": true
},
{
"name": "fee",
"type": "uint256",
"indexed": false
},
{
"name": "admin_fee",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "NewAdmin",
"inputs": [
{
"name": "admin",
"type": "address",
"indexed": true
}
],
"anonymous": false
},
{
"type": "event",
"name": "NewFee",
"inputs": [
{
"name": "fee",
"type": "uint256",
"indexed": false
},
{
"name": "admin_fee",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "RampA",
"inputs": [
{
"name": "old_A",
"type": "uint256",
"indexed": false
},
{
"name": "new_A",
"type": "uint256",
"indexed": false
},
{
"name": "initial_time",
"type": "uint256",
"indexed": false
},
{
"name": "future_time",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "RemoveLiquidity",
"inputs": [
{
"name": "provider",
"type": "address",
"indexed": true
},
{
"name": "token_amounts",
"type": "uint256[2]",
"indexed": false
},
{
"name": "fees",
"type": "uint256[2]",
"indexed": false
},
{
"name": "token_supply",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "RemoveLiquidityImbalance",
"inputs": [
{
"name": "provider",
"type": "address",
"indexed": true
},
{
"name": "token_amounts",
"type": "uint256[2]",
"indexed": false
},
{
"name": "fees",
"type": "uint256[2]",
"indexed": false
},
{
"name": "invariant",
"type": "uint256",
"indexed": false
},
{
"name": "token_supply",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "RemoveLiquidityOne",
"inputs": [
{
"name": "provider",
"type": "address",
"indexed": true
},
{
"name": "token_amount",
"type": "uint256",
"indexed": false
},
{
"name": "coin_amount",
"type": "uint256",
"indexed": false
},
{
"name": "token_supply",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "StopRampA",
"inputs": [
{
"name": "A",
"type": "uint256",
"indexed": false
},
{
"name": "t",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "TokenExchange",
"inputs": [
{
"name": "buyer",
"type": "address",
"indexed": true
},
{
"name": "sold_id",
"type": "int128",
"indexed": false
},
{
"name": "tokens_sold",
"type": "uint256",
"indexed": false
},
{
"name": "bought_id",
"type": "int128",
"indexed": false
},
{
"name": "tokens_bought",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "TokenExchangeUnderlying",
"inputs": [
{
"name": "buyer",
"type": "address",
"indexed": true
},
{
"name": "sold_id",
"type": "int128",
"indexed": false
},
{
"name": "tokens_sold",
"type": "uint256",
"indexed": false
},
{
"name": "bought_id",
"type": "int128",
"indexed": false
},
{
"name": "tokens_bought",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"type": "event",
"name": "Transfer",
"inputs": [
{
"name": "sender",
"type": "address",
"indexed": true
},
{
"name": "receiver",
"type": "address",
"indexed": true
},
{
"name": "value",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
}
]
Structs§
- Function with signature
A()and selector0xf446c1d0. - Container type for the return parameters of the
A()function. - Function with signature
A_precise()and selector0x76a2f0f0. - Container type for the return parameters of the
A_precise()function. - Event with signature
AddLiquidity(address,uint256[2],uint256[2],uint256,uint256)and selector0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768. - Event with signature
Approval(address,address,uint256)and selector0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925. - Event with signature
CommitNewAdmin(uint256,address)and selector0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935. - Event with signature
CommitNewFee(uint256,uint256,uint256)and selector0x351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe0. - Event with signature
NewAdmin(address)and selector0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c. - Event with signature
NewFee(uint256,uint256)and selector0xbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d1. - Event with signature
RampA(uint256,uint256,uint256,uint256)and selector0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254. - Event with signature
RemoveLiquidity(address,uint256[2],uint256[2],uint256)and selector0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c. - Event with signature
RemoveLiquidityImbalance(address,uint256[2],uint256[2],uint256,uint256)and selector0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e. - Event with signature
RemoveLiquidityOne(address,uint256,uint256,uint256)and selector0x5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0. - Event with signature
StopRampA(uint256,uint256)and selector0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938. - Event with signature
TokenExchange(address,int128,uint256,int128,uint256)and selector0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140. - Event with signature
TokenExchangeUnderlying(address,int128,uint256,int128,uint256)and selector0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b. - Event with signature
Transfer(address,address,uint256)and selector0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef. - 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
add_liquidity(uint256[2],uint256,address)and selector0x0c3e4b54. - Container type for the return parameters of the
add_liquidity(uint256[2],uint256,address)function. - Function with signature
admin()and selector0xf851a440. - Container type for the return parameters of the
admin()function. - Function with signature
admin_balances(uint256)and selector0xe2e7d264. - Container type for the return parameters of the
admin_balances(uint256)function. - Function with signature
admin_fee()and selector0xfee3f7f9. - Container type for the return parameters of the
admin_fee()function. - Function with signature
allowance(address,address)and selector0xdd62ed3e. - Container type for the return parameters of the
allowance(address,address)function. - Function with signature
approve(address,uint256)and selector0x095ea7b3. - Container type for the return parameters of the
approve(address,uint256)function. - Function with signature
balanceOf(address)and selector0x70a08231. - Container type for the return parameters of the
balanceOf(address)function. - Function with signature
balances(uint256)and selector0x4903b0d1. - Container type for the return parameters of the
balances(uint256)function. - Function with signature
block_timestamp_last()and selector0x63543f06. - Container type for the return parameters of the
block_timestamp_last()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_token_amount(uint256[2],bool,bool)and selector0xe47e6b9e. - Container type for the return parameters of the
calc_token_amount(uint256[2],bool,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
calc_withdraw_one_coin(uint256,int128,bool)and selector0xc532a774. - Container type for the return parameters of the
calc_withdraw_one_coin(uint256,int128,bool)function. - Function with signature
coins(uint256)and selector0xc6610657. - Container type for the return parameters of the
coins(uint256)function. - Constructor`.
- Function with signature
decimals()and selector0x313ce567. - Container type for the return parameters of the
decimals()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
exchange(int128,int128,uint256,uint256,address)and selector0xddc1f59d. - Container type for the return parameters of the
exchange(int128,int128,uint256,uint256,address)function. - Function with signature
exchange_underlying(int128,int128,uint256,uint256)and selector0xa6417ed6. - Container type for the return parameters of the
exchange_underlying(int128,int128,uint256,uint256)function. - Function with signature
exchange_underlying(int128,int128,uint256,uint256,address)and selector0x44ee1986. - Container type for the return parameters of the
exchange_underlying(int128,int128,uint256,uint256,address)function. - Function with signature
fee()and selector0xddca3f43. - Container type for the return parameters of the
fee()function. - Function with signature
future_A()and selector0xb4b577ad. - Container type for the return parameters of the
future_A()function. - Function with signature
future_A_time()and selector0x14052288. - Container type for the return parameters of the
future_A_time()function. - Function with signature
get_balances()and selector0x14f05979. - Container type for the return parameters of the
get_balances()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
get_dy(int128,int128,uint256,uint256[2])and selector0x7e42fc0c. - Container type for the return parameters of the
get_dy(int128,int128,uint256,uint256[2])function. - Function with signature
get_dy_underlying(int128,int128,uint256)and selector0x07211ef7. - Container type for the return parameters of the
get_dy_underlying(int128,int128,uint256)function. - Function with signature
get_dy_underlying(int128,int128,uint256,uint256[2])and selector0xe36fd501. - Container type for the return parameters of the
get_dy_underlying(int128,int128,uint256,uint256[2])function. - Function with signature
get_previous_balances()and selector0xd96c7fce. - Container type for the return parameters of the
get_previous_balances()function. - Function with signature
get_price_cumulative_last()and selector0x4469e30e. - Container type for the return parameters of the
get_price_cumulative_last()function. - Function with signature
get_twap_balances(uint256[2],uint256[2],uint256)and selector0x0f6ba8e3. - Container type for the return parameters of the
get_twap_balances(uint256[2],uint256[2],uint256)function. - Function with signature
get_virtual_price()and selector0xbb7b8b80. - Container type for the return parameters of the
get_virtual_price()function. - Function with signature
initial_A()and selector0x5409491a. - Container type for the return parameters of the
initial_A()function. - Function with signature
initial_A_time()and selector0x2081066c. - Container type for the return parameters of the
initial_A_time()function. - Function with signature
initialize(string,string,address,uint256,uint256,uint256,address)and selector0xd178231c. - Container type for the return parameters of the
initialize(string,string,address,uint256,uint256,uint256,address)function. - Function with signature
name()and selector0x06fdde03. - Container type for the return parameters of the
name()function. - Function with signature
ramp_A(uint256,uint256)and selector0x3c157e64. - Container type for the return parameters of the
ramp_A(uint256,uint256)function. - Function with signature
remove_liquidity(uint256,uint256[2])and selector0x5b36389c. - Container type for the return parameters of the
remove_liquidity(uint256,uint256[2])function. - Function with signature
remove_liquidity(uint256,uint256[2],address)and selector0x3eb1719f. - Container type for the return parameters of the
remove_liquidity(uint256,uint256[2],address)function. - Function with signature
remove_liquidity_imbalance(uint256[2],uint256)and selector0xe3103273. - Container type for the return parameters of the
remove_liquidity_imbalance(uint256[2],uint256)function. - Function with signature
remove_liquidity_imbalance(uint256[2],uint256,address)and selector0x52d2cfdd. - Container type for the return parameters of the
remove_liquidity_imbalance(uint256[2],uint256,address)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. - Function with signature
remove_liquidity_one_coin(uint256,int128,uint256,address)and selector0x081579a5. - Container type for the return parameters of the
remove_liquidity_one_coin(uint256,int128,uint256,address)function. - Function with signature
stop_ramp_A()and selector0x551a6588. - Container type for the return parameters of the
stop_ramp_A()function. - Function with signature
symbol()and selector0x95d89b41. - Container type for the return parameters of the
symbol()function. - Function with signature
totalSupply()and selector0x18160ddd. - Container type for the return parameters of the
totalSupply()function. - Function with signature
transfer(address,uint256)and selector0xa9059cbb. - Function with signature
transferFrom(address,address,uint256)and selector0x23b872dd. - Container type for the return parameters of the
transferFrom(address,address,uint256)function. - Container type for the return parameters of the
transfer(address,uint256)function. - Function with signature
withdraw_admin_fees()and selector0x30c54085. - Container type for the return parameters of the
withdraw_admin_fees()function.
Enums§
- Container for all the
CurveV1MetapoolImplfunction calls. - Container for all the
CurveV1MetapoolImplevents.