curvefifactorypool

package
v1.4.401 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurvefifactorypoolABI = CurvefifactorypoolMetaData.ABI

CurvefifactorypoolABI is the input ABI used to generate the binding from. Deprecated: Use CurvefifactorypoolMetaData.ABI instead.

View Source
var CurvefifactorypoolMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"TokenExchange\",\"inputs\":[{\"name\":\"buyer\",\"type\":\"address\",\"indexed\":true},{\"name\":\"sold_id\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"tokens_sold\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"bought_id\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"tokens_bought\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"AddLiquidity\",\"inputs\":[{\"name\":\"provider\",\"type\":\"address\",\"indexed\":true},{\"name\":\"token_amounts\",\"type\":\"uint256[2]\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"token_supply\",\"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\":\"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_index\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"coin_amount\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"CommitNewParameters\",\"inputs\":[{\"name\":\"deadline\",\"type\":\"uint256\",\"indexed\":true},{\"name\":\"admin_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"mid_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"out_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee_gamma\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"allowed_extra_profit\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"adjustment_step\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"ma_half_time\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"NewParameters\",\"inputs\":[{\"name\":\"admin_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"mid_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"out_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee_gamma\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"allowed_extra_profit\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"adjustment_step\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"ma_half_time\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RampAgamma\",\"inputs\":[{\"name\":\"initial_A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"future_A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"initial_gamma\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"future_gamma\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"initial_time\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"future_time\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"StopRampA\",\"inputs\":[{\"name\":\"current_A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"current_gamma\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"time\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ClaimAdminFee\",\"inputs\":[{\"name\":\"admin\",\"type\":\"address\",\"indexed\":true},{\"name\":\"tokens\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_weth\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"j\",\"type\":\"uint256\"},{\"name\":\"dx\",\"type\":\"uint256\"},{\"name\":\"min_dy\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"j\",\"type\":\"uint256\"},{\"name\":\"dx\",\"type\":\"uint256\"},{\"name\":\"min_dy\",\"type\":\"uint256\"},{\"name\":\"use_eth\",\"type\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"j\",\"type\":\"uint256\"},{\"name\":\"dx\",\"type\":\"uint256\"},{\"name\":\"min_dy\",\"type\":\"uint256\"},{\"name\":\"use_eth\",\"type\":\"bool\"},{\"name\":\"receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_underlying\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"j\",\"type\":\"uint256\"},{\"name\":\"dx\",\"type\":\"uint256\"},{\"name\":\"min_dy\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_underlying\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"j\",\"type\":\"uint256\"},{\"name\":\"dx\",\"type\":\"uint256\"},{\"name\":\"min_dy\",\"type\":\"uint256\"},{\"name\":\"receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_extended\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"j\",\"type\":\"uint256\"},{\"name\":\"dx\",\"type\":\"uint256\"},{\"name\":\"min_dy\",\"type\":\"uint256\"},{\"name\":\"use_eth\",\"type\":\"bool\"},{\"name\":\"sender\",\"type\":\"address\"},{\"name\":\"receiver\",\"type\":\"address\"},{\"name\":\"cb\",\"type\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"add_liquidity\",\"inputs\":[{\"name\":\"amounts\",\"type\":\"uint256[2]\"},{\"name\":\"min_mint_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"add_liquidity\",\"inputs\":[{\"name\":\"amounts\",\"type\":\"uint256[2]\"},{\"name\":\"min_mint_amount\",\"type\":\"uint256\"},{\"name\":\"use_eth\",\"type\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"add_liquidity\",\"inputs\":[{\"name\":\"amounts\",\"type\":\"uint256[2]\"},{\"name\":\"min_mint_amount\",\"type\":\"uint256\"},{\"name\":\"use_eth\",\"type\":\"bool\"},{\"name\":\"receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"min_amounts\",\"type\":\"uint256[2]\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"min_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"use_eth\",\"type\":\"bool\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"min_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"use_eth\",\"type\":\"bool\"},{\"name\":\"receiver\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity_one_coin\",\"inputs\":[{\"name\":\"token_amount\",\"type\":\"uint256\"},{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"min_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity_one_coin\",\"inputs\":[{\"name\":\"token_amount\",\"type\":\"uint256\"},{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"min_amount\",\"type\":\"uint256\"},{\"name\":\"use_eth\",\"type\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity_one_coin\",\"inputs\":[{\"name\":\"token_amount\",\"type\":\"uint256\"},{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"min_amount\",\"type\":\"uint256\"},{\"name\":\"use_eth\",\"type\":\"bool\"},{\"name\":\"receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"claim_admin_fees\",\"inputs\":[],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"ramp_A_gamma\",\"inputs\":[{\"name\":\"future_A\",\"type\":\"uint256\"},{\"name\":\"future_gamma\",\"type\":\"uint256\"},{\"name\":\"future_time\",\"type\":\"uint256\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"stop_ramp_A_gamma\",\"inputs\":[],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"commit_new_parameters\",\"inputs\":[{\"name\":\"_new_mid_fee\",\"type\":\"uint256\"},{\"name\":\"_new_out_fee\",\"type\":\"uint256\"},{\"name\":\"_new_admin_fee\",\"type\":\"uint256\"},{\"name\":\"_new_fee_gamma\",\"type\":\"uint256\"},{\"name\":\"_new_allowed_extra_profit\",\"type\":\"uint256\"},{\"name\":\"_new_adjustment_step\",\"type\":\"uint256\"},{\"name\":\"_new_ma_half_time\",\"type\":\"uint256\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"apply_new_parameters\",\"inputs\":[],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"revert_new_parameters\",\"inputs\":[],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_dy\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"},{\"name\":\"j\",\"type\":\"uint256\"},{\"name\":\"dx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"calc_token_amount\",\"inputs\":[{\"name\":\"amounts\",\"type\":\"uint256[2]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"calc_withdraw_one_coin\",\"inputs\":[{\"name\":\"token_amount\",\"type\":\"uint256\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"lp_price\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"A\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gamma\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_virtual_price\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"price_oracle\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"A\",\"type\":\"uint256\"},{\"name\":\"gamma\",\"type\":\"uint256\"},{\"name\":\"mid_fee\",\"type\":\"uint256\"},{\"name\":\"out_fee\",\"type\":\"uint256\"},{\"name\":\"allowed_extra_profit\",\"type\":\"uint256\"},{\"name\":\"fee_gamma\",\"type\":\"uint256\"},{\"name\":\"adjustment_step\",\"type\":\"uint256\"},{\"name\":\"admin_fee\",\"type\":\"uint256\"},{\"name\":\"ma_half_time\",\"type\":\"uint256\"},{\"name\":\"initial_price\",\"type\":\"uint256\"},{\"name\":\"_token\",\"type\":\"address\"},{\"name\":\"_coins\",\"type\":\"address[2]\"},{\"name\":\"_precisions\",\"type\":\"uint256\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"token\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"coins\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"price_scale\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"last_prices\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"last_prices_timestamp\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"initial_A_gamma\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_A_gamma\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"initial_A_gamma_time\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_A_gamma_time\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"allowed_extra_profit\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_allowed_extra_profit\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"fee_gamma\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_fee_gamma\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"adjustment_step\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_adjustment_step\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"ma_half_time\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_ma_half_time\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"mid_fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"out_fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin_fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_mid_fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_out_fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_admin_fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"balances\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"D\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"factory\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"xcp_profit\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"xcp_profit_a\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"virtual_price\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin_actions_deadline\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]}]",
}

CurvefifactorypoolMetaData contains all meta data concerning the Curvefifactorypool contract.

Functions

This section is empty.

Types

type Curvefifactorypool

type Curvefifactorypool struct {
	CurvefifactorypoolCaller     // Read-only binding to the contract
	CurvefifactorypoolTransactor // Write-only binding to the contract
	CurvefifactorypoolFilterer   // Log filterer for contract events
}

Curvefifactorypool is an auto generated Go binding around an Ethereum contract.

func NewCurvefifactorypool

func NewCurvefifactorypool(address common.Address, backend bind.ContractBackend) (*Curvefifactorypool, error)

NewCurvefifactorypool creates a new instance of Curvefifactorypool, bound to a specific deployed contract.

type CurvefifactorypoolAddLiquidity

type CurvefifactorypoolAddLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fee          *big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolAddLiquidity represents a AddLiquidity event raised by the Curvefifactorypool contract.

type CurvefifactorypoolAddLiquidityIterator

type CurvefifactorypoolAddLiquidityIterator struct {
	Event *CurvefifactorypoolAddLiquidity // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolAddLiquidityIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolAddLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolAddLiquidityIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolCaller

type CurvefifactorypoolCaller struct {
	// contains filtered or unexported fields
}

CurvefifactorypoolCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCurvefifactorypoolCaller

func NewCurvefifactorypoolCaller(address common.Address, caller bind.ContractCaller) (*CurvefifactorypoolCaller, error)

NewCurvefifactorypoolCaller creates a new read-only instance of Curvefifactorypool, bound to a specific deployed contract.

func (*CurvefifactorypoolCaller) A

func (_Curvefifactorypool *CurvefifactorypoolCaller) A(opts *bind.CallOpts) (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*CurvefifactorypoolCaller) AdjustmentStep

func (_Curvefifactorypool *CurvefifactorypoolCaller) AdjustmentStep(opts *bind.CallOpts) (*big.Int, error)

AdjustmentStep is a free data retrieval call binding the contract method 0x083812e5.

Solidity: function adjustment_step() view returns(uint256)

func (*CurvefifactorypoolCaller) AdminActionsDeadline

func (_Curvefifactorypool *CurvefifactorypoolCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() view returns(uint256)

func (*CurvefifactorypoolCaller) AdminFee

func (_Curvefifactorypool *CurvefifactorypoolCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*CurvefifactorypoolCaller) AllowedExtraProfit

func (_Curvefifactorypool *CurvefifactorypoolCaller) AllowedExtraProfit(opts *bind.CallOpts) (*big.Int, error)

AllowedExtraProfit is a free data retrieval call binding the contract method 0x49fe9e77.

Solidity: function allowed_extra_profit() view returns(uint256)

func (*CurvefifactorypoolCaller) Balances

func (_Curvefifactorypool *CurvefifactorypoolCaller) Balances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 arg0) view returns(uint256)

func (*CurvefifactorypoolCaller) CalcTokenAmount

func (_Curvefifactorypool *CurvefifactorypoolCaller) CalcTokenAmount(opts *bind.CallOpts, amounts [2]*big.Int) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0x8d8ea727.

Solidity: function calc_token_amount(uint256[2] amounts) view returns(uint256)

func (*CurvefifactorypoolCaller) CalcWithdrawOneCoin

func (_Curvefifactorypool *CurvefifactorypoolCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0x4fb08c5e.

Solidity: function calc_withdraw_one_coin(uint256 token_amount, uint256 i) view returns(uint256)

func (*CurvefifactorypoolCaller) Coins

func (_Curvefifactorypool *CurvefifactorypoolCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 arg0) view returns(address)

func (*CurvefifactorypoolCaller) D

func (_Curvefifactorypool *CurvefifactorypoolCaller) D(opts *bind.CallOpts) (*big.Int, error)

D is a free data retrieval call binding the contract method 0x0f529ba2.

Solidity: function D() view returns(uint256)

func (*CurvefifactorypoolCaller) Factory

func (_Curvefifactorypool *CurvefifactorypoolCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*CurvefifactorypoolCaller) Fee

func (_Curvefifactorypool *CurvefifactorypoolCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*CurvefifactorypoolCaller) FeeGamma

func (_Curvefifactorypool *CurvefifactorypoolCaller) FeeGamma(opts *bind.CallOpts) (*big.Int, error)

FeeGamma is a free data retrieval call binding the contract method 0x72d4f0e2.

Solidity: function fee_gamma() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureAGamma

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureAGamma(opts *bind.CallOpts) (*big.Int, error)

FutureAGamma is a free data retrieval call binding the contract method 0xf30cfad5.

Solidity: function future_A_gamma() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureAGammaTime

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureAGammaTime(opts *bind.CallOpts) (*big.Int, error)

FutureAGammaTime is a free data retrieval call binding the contract method 0xf9ed9597.

Solidity: function future_A_gamma_time() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureAdjustmentStep

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureAdjustmentStep(opts *bind.CallOpts) (*big.Int, error)

FutureAdjustmentStep is a free data retrieval call binding the contract method 0x4ea12c7d.

Solidity: function future_adjustment_step() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureAdminFee

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureAllowedExtraProfit

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureAllowedExtraProfit(opts *bind.CallOpts) (*big.Int, error)

FutureAllowedExtraProfit is a free data retrieval call binding the contract method 0x727ced57.

Solidity: function future_allowed_extra_profit() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureFeeGamma

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureFeeGamma(opts *bind.CallOpts) (*big.Int, error)

FutureFeeGamma is a free data retrieval call binding the contract method 0xd7c3dcbe.

Solidity: function future_fee_gamma() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureMaHalfTime

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureMaHalfTime(opts *bind.CallOpts) (*big.Int, error)

FutureMaHalfTime is a free data retrieval call binding the contract method 0x0c5e23d4.

Solidity: function future_ma_half_time() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureMidFee

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureMidFee(opts *bind.CallOpts) (*big.Int, error)

FutureMidFee is a free data retrieval call binding the contract method 0x7cf9aedc.

Solidity: function future_mid_fee() view returns(uint256)

func (*CurvefifactorypoolCaller) FutureOutFee

func (_Curvefifactorypool *CurvefifactorypoolCaller) FutureOutFee(opts *bind.CallOpts) (*big.Int, error)

FutureOutFee is a free data retrieval call binding the contract method 0x7d1b060c.

Solidity: function future_out_fee() view returns(uint256)

func (*CurvefifactorypoolCaller) Gamma

func (_Curvefifactorypool *CurvefifactorypoolCaller) Gamma(opts *bind.CallOpts) (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() view returns(uint256)

func (*CurvefifactorypoolCaller) GetDy

func (_Curvefifactorypool *CurvefifactorypoolCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x556d6e9f.

Solidity: function get_dy(uint256 i, uint256 j, uint256 dx) view returns(uint256)

func (*CurvefifactorypoolCaller) GetVirtualPrice

func (_Curvefifactorypool *CurvefifactorypoolCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() view returns(uint256)

func (*CurvefifactorypoolCaller) InitialAGamma

func (_Curvefifactorypool *CurvefifactorypoolCaller) InitialAGamma(opts *bind.CallOpts) (*big.Int, error)

InitialAGamma is a free data retrieval call binding the contract method 0x204fe3d5.

Solidity: function initial_A_gamma() view returns(uint256)

func (*CurvefifactorypoolCaller) InitialAGammaTime

func (_Curvefifactorypool *CurvefifactorypoolCaller) InitialAGammaTime(opts *bind.CallOpts) (*big.Int, error)

InitialAGammaTime is a free data retrieval call binding the contract method 0xe89876ff.

Solidity: function initial_A_gamma_time() view returns(uint256)

func (*CurvefifactorypoolCaller) LastPrices

func (_Curvefifactorypool *CurvefifactorypoolCaller) LastPrices(opts *bind.CallOpts) (*big.Int, error)

LastPrices is a free data retrieval call binding the contract method 0xc146bf94.

Solidity: function last_prices() view returns(uint256)

func (*CurvefifactorypoolCaller) LastPricesTimestamp

func (_Curvefifactorypool *CurvefifactorypoolCaller) LastPricesTimestamp(opts *bind.CallOpts) (*big.Int, error)

LastPricesTimestamp is a free data retrieval call binding the contract method 0x6112c747.

Solidity: function last_prices_timestamp() view returns(uint256)

func (*CurvefifactorypoolCaller) LpPrice

func (_Curvefifactorypool *CurvefifactorypoolCaller) LpPrice(opts *bind.CallOpts) (*big.Int, error)

LpPrice is a free data retrieval call binding the contract method 0x54f0f7d5.

Solidity: function lp_price() view returns(uint256)

func (*CurvefifactorypoolCaller) MaHalfTime

func (_Curvefifactorypool *CurvefifactorypoolCaller) MaHalfTime(opts *bind.CallOpts) (*big.Int, error)

MaHalfTime is a free data retrieval call binding the contract method 0x662b6274.

Solidity: function ma_half_time() view returns(uint256)

func (*CurvefifactorypoolCaller) MidFee

func (_Curvefifactorypool *CurvefifactorypoolCaller) MidFee(opts *bind.CallOpts) (*big.Int, error)

MidFee is a free data retrieval call binding the contract method 0x92526c0c.

Solidity: function mid_fee() view returns(uint256)

func (*CurvefifactorypoolCaller) OutFee

func (_Curvefifactorypool *CurvefifactorypoolCaller) OutFee(opts *bind.CallOpts) (*big.Int, error)

OutFee is a free data retrieval call binding the contract method 0xee8de675.

Solidity: function out_fee() view returns(uint256)

func (*CurvefifactorypoolCaller) PriceOracle

func (_Curvefifactorypool *CurvefifactorypoolCaller) PriceOracle(opts *bind.CallOpts) (*big.Int, error)

PriceOracle is a free data retrieval call binding the contract method 0x86fc88d3.

Solidity: function price_oracle() view returns(uint256)

func (*CurvefifactorypoolCaller) PriceScale

func (_Curvefifactorypool *CurvefifactorypoolCaller) PriceScale(opts *bind.CallOpts) (*big.Int, error)

PriceScale is a free data retrieval call binding the contract method 0xb9e8c9fd.

Solidity: function price_scale() view returns(uint256)

func (*CurvefifactorypoolCaller) Token

func (_Curvefifactorypool *CurvefifactorypoolCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CurvefifactorypoolCaller) VirtualPrice

func (_Curvefifactorypool *CurvefifactorypoolCaller) VirtualPrice(opts *bind.CallOpts) (*big.Int, error)

VirtualPrice is a free data retrieval call binding the contract method 0x0c46b72a.

Solidity: function virtual_price() view returns(uint256)

func (*CurvefifactorypoolCaller) XcpProfit

func (_Curvefifactorypool *CurvefifactorypoolCaller) XcpProfit(opts *bind.CallOpts) (*big.Int, error)

XcpProfit is a free data retrieval call binding the contract method 0x7ba1a74d.

Solidity: function xcp_profit() view returns(uint256)

func (*CurvefifactorypoolCaller) XcpProfitA

func (_Curvefifactorypool *CurvefifactorypoolCaller) XcpProfitA(opts *bind.CallOpts) (*big.Int, error)

XcpProfitA is a free data retrieval call binding the contract method 0x0b7b594b.

Solidity: function xcp_profit_a() view returns(uint256)

type CurvefifactorypoolCallerRaw

type CurvefifactorypoolCallerRaw struct {
	Contract *CurvefifactorypoolCaller // Generic read-only contract binding to access the raw methods on
}

CurvefifactorypoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CurvefifactorypoolCallerRaw) Call

func (_Curvefifactorypool *CurvefifactorypoolCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type CurvefifactorypoolCallerSession

type CurvefifactorypoolCallerSession struct {
	Contract *CurvefifactorypoolCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts             // Call options to use throughout this session
}

CurvefifactorypoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CurvefifactorypoolCallerSession) A

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*CurvefifactorypoolCallerSession) AdjustmentStep

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) AdjustmentStep() (*big.Int, error)

AdjustmentStep is a free data retrieval call binding the contract method 0x083812e5.

Solidity: function adjustment_step() view returns(uint256)

func (*CurvefifactorypoolCallerSession) AdminActionsDeadline

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) AdminActionsDeadline() (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() view returns(uint256)

func (*CurvefifactorypoolCallerSession) AdminFee

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*CurvefifactorypoolCallerSession) AllowedExtraProfit

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) AllowedExtraProfit() (*big.Int, error)

AllowedExtraProfit is a free data retrieval call binding the contract method 0x49fe9e77.

Solidity: function allowed_extra_profit() view returns(uint256)

func (*CurvefifactorypoolCallerSession) Balances

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 arg0) view returns(uint256)

func (*CurvefifactorypoolCallerSession) CalcTokenAmount

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) CalcTokenAmount(amounts [2]*big.Int) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0x8d8ea727.

Solidity: function calc_token_amount(uint256[2] amounts) view returns(uint256)

func (*CurvefifactorypoolCallerSession) CalcWithdrawOneCoin

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) CalcWithdrawOneCoin(token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0x4fb08c5e.

Solidity: function calc_withdraw_one_coin(uint256 token_amount, uint256 i) view returns(uint256)

func (*CurvefifactorypoolCallerSession) Coins

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) Coins(arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 arg0) view returns(address)

func (*CurvefifactorypoolCallerSession) D

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) D() (*big.Int, error)

D is a free data retrieval call binding the contract method 0x0f529ba2.

Solidity: function D() view returns(uint256)

func (*CurvefifactorypoolCallerSession) Factory

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*CurvefifactorypoolCallerSession) Fee

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FeeGamma

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FeeGamma() (*big.Int, error)

FeeGamma is a free data retrieval call binding the contract method 0x72d4f0e2.

Solidity: function fee_gamma() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureAGamma

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureAGamma() (*big.Int, error)

FutureAGamma is a free data retrieval call binding the contract method 0xf30cfad5.

Solidity: function future_A_gamma() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureAGammaTime

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureAGammaTime() (*big.Int, error)

FutureAGammaTime is a free data retrieval call binding the contract method 0xf9ed9597.

Solidity: function future_A_gamma_time() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureAdjustmentStep

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureAdjustmentStep() (*big.Int, error)

FutureAdjustmentStep is a free data retrieval call binding the contract method 0x4ea12c7d.

Solidity: function future_adjustment_step() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureAdminFee

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureAdminFee() (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureAllowedExtraProfit

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureAllowedExtraProfit() (*big.Int, error)

FutureAllowedExtraProfit is a free data retrieval call binding the contract method 0x727ced57.

Solidity: function future_allowed_extra_profit() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureFeeGamma

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureFeeGamma() (*big.Int, error)

FutureFeeGamma is a free data retrieval call binding the contract method 0xd7c3dcbe.

Solidity: function future_fee_gamma() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureMaHalfTime

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureMaHalfTime() (*big.Int, error)

FutureMaHalfTime is a free data retrieval call binding the contract method 0x0c5e23d4.

Solidity: function future_ma_half_time() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureMidFee

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureMidFee() (*big.Int, error)

FutureMidFee is a free data retrieval call binding the contract method 0x7cf9aedc.

Solidity: function future_mid_fee() view returns(uint256)

func (*CurvefifactorypoolCallerSession) FutureOutFee

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) FutureOutFee() (*big.Int, error)

FutureOutFee is a free data retrieval call binding the contract method 0x7d1b060c.

Solidity: function future_out_fee() view returns(uint256)

func (*CurvefifactorypoolCallerSession) Gamma

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) Gamma() (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() view returns(uint256)

func (*CurvefifactorypoolCallerSession) GetDy

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x556d6e9f.

Solidity: function get_dy(uint256 i, uint256 j, uint256 dx) view returns(uint256)

func (*CurvefifactorypoolCallerSession) GetVirtualPrice

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) GetVirtualPrice() (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() view returns(uint256)

func (*CurvefifactorypoolCallerSession) InitialAGamma

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) InitialAGamma() (*big.Int, error)

InitialAGamma is a free data retrieval call binding the contract method 0x204fe3d5.

Solidity: function initial_A_gamma() view returns(uint256)

func (*CurvefifactorypoolCallerSession) InitialAGammaTime

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) InitialAGammaTime() (*big.Int, error)

InitialAGammaTime is a free data retrieval call binding the contract method 0xe89876ff.

Solidity: function initial_A_gamma_time() view returns(uint256)

func (*CurvefifactorypoolCallerSession) LastPrices

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) LastPrices() (*big.Int, error)

LastPrices is a free data retrieval call binding the contract method 0xc146bf94.

Solidity: function last_prices() view returns(uint256)

func (*CurvefifactorypoolCallerSession) LastPricesTimestamp

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) LastPricesTimestamp() (*big.Int, error)

LastPricesTimestamp is a free data retrieval call binding the contract method 0x6112c747.

Solidity: function last_prices_timestamp() view returns(uint256)

func (*CurvefifactorypoolCallerSession) LpPrice

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) LpPrice() (*big.Int, error)

LpPrice is a free data retrieval call binding the contract method 0x54f0f7d5.

Solidity: function lp_price() view returns(uint256)

func (*CurvefifactorypoolCallerSession) MaHalfTime

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) MaHalfTime() (*big.Int, error)

MaHalfTime is a free data retrieval call binding the contract method 0x662b6274.

Solidity: function ma_half_time() view returns(uint256)

func (*CurvefifactorypoolCallerSession) MidFee

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) MidFee() (*big.Int, error)

MidFee is a free data retrieval call binding the contract method 0x92526c0c.

Solidity: function mid_fee() view returns(uint256)

func (*CurvefifactorypoolCallerSession) OutFee

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) OutFee() (*big.Int, error)

OutFee is a free data retrieval call binding the contract method 0xee8de675.

Solidity: function out_fee() view returns(uint256)

func (*CurvefifactorypoolCallerSession) PriceOracle

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) PriceOracle() (*big.Int, error)

PriceOracle is a free data retrieval call binding the contract method 0x86fc88d3.

Solidity: function price_oracle() view returns(uint256)

func (*CurvefifactorypoolCallerSession) PriceScale

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) PriceScale() (*big.Int, error)

PriceScale is a free data retrieval call binding the contract method 0xb9e8c9fd.

Solidity: function price_scale() view returns(uint256)

func (*CurvefifactorypoolCallerSession) Token

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CurvefifactorypoolCallerSession) VirtualPrice

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) VirtualPrice() (*big.Int, error)

VirtualPrice is a free data retrieval call binding the contract method 0x0c46b72a.

Solidity: function virtual_price() view returns(uint256)

func (*CurvefifactorypoolCallerSession) XcpProfit

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) XcpProfit() (*big.Int, error)

XcpProfit is a free data retrieval call binding the contract method 0x7ba1a74d.

Solidity: function xcp_profit() view returns(uint256)

func (*CurvefifactorypoolCallerSession) XcpProfitA

func (_Curvefifactorypool *CurvefifactorypoolCallerSession) XcpProfitA() (*big.Int, error)

XcpProfitA is a free data retrieval call binding the contract method 0x0b7b594b.

Solidity: function xcp_profit_a() view returns(uint256)

type CurvefifactorypoolClaimAdminFee

type CurvefifactorypoolClaimAdminFee struct {
	Admin  common.Address
	Tokens *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolClaimAdminFee represents a ClaimAdminFee event raised by the Curvefifactorypool contract.

type CurvefifactorypoolClaimAdminFeeIterator

type CurvefifactorypoolClaimAdminFeeIterator struct {
	Event *CurvefifactorypoolClaimAdminFee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolClaimAdminFeeIterator is returned from FilterClaimAdminFee and is used to iterate over the raw logs and unpacked data for ClaimAdminFee events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolClaimAdminFeeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolClaimAdminFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolClaimAdminFeeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolCommitNewParameters

type CurvefifactorypoolCommitNewParameters struct {
	Deadline           *big.Int
	AdminFee           *big.Int
	MidFee             *big.Int
	OutFee             *big.Int
	FeeGamma           *big.Int
	AllowedExtraProfit *big.Int
	AdjustmentStep     *big.Int
	MaHalfTime         *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolCommitNewParameters represents a CommitNewParameters event raised by the Curvefifactorypool contract.

type CurvefifactorypoolCommitNewParametersIterator

type CurvefifactorypoolCommitNewParametersIterator struct {
	Event *CurvefifactorypoolCommitNewParameters // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolCommitNewParametersIterator is returned from FilterCommitNewParameters and is used to iterate over the raw logs and unpacked data for CommitNewParameters events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolCommitNewParametersIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolCommitNewParametersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolCommitNewParametersIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolFilterer

type CurvefifactorypoolFilterer struct {
	// contains filtered or unexported fields
}

CurvefifactorypoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCurvefifactorypoolFilterer

func NewCurvefifactorypoolFilterer(address common.Address, filterer bind.ContractFilterer) (*CurvefifactorypoolFilterer, error)

NewCurvefifactorypoolFilterer creates a new log filterer instance of Curvefifactorypool, bound to a specific deployed contract.

func (*CurvefifactorypoolFilterer) FilterAddLiquidity

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurvefifactorypoolAddLiquidityIterator, error)

FilterAddLiquidity is a free log retrieval operation binding the contract event 0x540ab385f9b5d450a27404172caade516b3ba3f4be88239ac56a2ad1de2a1f5a.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256 fee, uint256 token_supply)

func (*CurvefifactorypoolFilterer) FilterClaimAdminFee

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterClaimAdminFee(opts *bind.FilterOpts, admin []common.Address) (*CurvefifactorypoolClaimAdminFeeIterator, error)

FilterClaimAdminFee is a free log retrieval operation binding the contract event 0x6059a38198b1dc42b3791087d1ff0fbd72b3179553c25f678cd246f52ffaaf59.

Solidity: event ClaimAdminFee(address indexed admin, uint256 tokens)

func (*CurvefifactorypoolFilterer) FilterCommitNewParameters

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterCommitNewParameters(opts *bind.FilterOpts, deadline []*big.Int) (*CurvefifactorypoolCommitNewParametersIterator, error)

FilterCommitNewParameters is a free log retrieval operation binding the contract event 0x913fde9a37e1f8ab67876a4d0ce80790d764fcfc5692f4529526df9c6bdde553.

Solidity: event CommitNewParameters(uint256 indexed deadline, uint256 admin_fee, uint256 mid_fee, uint256 out_fee, uint256 fee_gamma, uint256 allowed_extra_profit, uint256 adjustment_step, uint256 ma_half_time)

func (*CurvefifactorypoolFilterer) FilterNewParameters

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterNewParameters(opts *bind.FilterOpts) (*CurvefifactorypoolNewParametersIterator, error)

FilterNewParameters is a free log retrieval operation binding the contract event 0x1c65bbdc939f346e5d6f0bde1f072819947438d4fc7b182cc59c2f6dc5504087.

Solidity: event NewParameters(uint256 admin_fee, uint256 mid_fee, uint256 out_fee, uint256 fee_gamma, uint256 allowed_extra_profit, uint256 adjustment_step, uint256 ma_half_time)

func (*CurvefifactorypoolFilterer) FilterRampAgamma

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterRampAgamma(opts *bind.FilterOpts) (*CurvefifactorypoolRampAgammaIterator, error)

FilterRampAgamma is a free log retrieval operation binding the contract event 0xe35f0559b0642164e286b30df2077ec3a05426617a25db7578fd20ba39a6cd05.

Solidity: event RampAgamma(uint256 initial_A, uint256 future_A, uint256 initial_gamma, uint256 future_gamma, uint256 initial_time, uint256 future_time)

func (*CurvefifactorypoolFilterer) FilterRemoveLiquidity

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurvefifactorypoolRemoveLiquidityIterator, error)

FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0xdd3c0336a16f1b64f172b7bb0dad5b2b3c7c76f91e8c4aafd6aae60dce800153.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256 token_supply)

func (*CurvefifactorypoolFilterer) FilterRemoveLiquidityOne

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*CurvefifactorypoolRemoveLiquidityOneIterator, error)

FilterRemoveLiquidityOne is a free log retrieval operation binding the contract event 0x5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_index, uint256 coin_amount)

func (*CurvefifactorypoolFilterer) FilterStopRampA

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterStopRampA(opts *bind.FilterOpts) (*CurvefifactorypoolStopRampAIterator, error)

FilterStopRampA is a free log retrieval operation binding the contract event 0x5f0e7fba3d100c9e19446e1c92fe436f0a9a22fe99669360e4fdd6d3de2fc284.

Solidity: event StopRampA(uint256 current_A, uint256 current_gamma, uint256 time)

func (*CurvefifactorypoolFilterer) FilterTokenExchange

func (_Curvefifactorypool *CurvefifactorypoolFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*CurvefifactorypoolTokenExchangeIterator, error)

FilterTokenExchange is a free log retrieval operation binding the contract event 0xb2e76ae99761dc136e598d4a629bb347eccb9532a5f8bbd72e18467c3c34cc98.

Solidity: event TokenExchange(address indexed buyer, uint256 sold_id, uint256 tokens_sold, uint256 bought_id, uint256 tokens_bought)

func (*CurvefifactorypoolFilterer) ParseAddLiquidity

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseAddLiquidity(log types.Log) (*CurvefifactorypoolAddLiquidity, error)

ParseAddLiquidity is a log parse operation binding the contract event 0x540ab385f9b5d450a27404172caade516b3ba3f4be88239ac56a2ad1de2a1f5a.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256 fee, uint256 token_supply)

func (*CurvefifactorypoolFilterer) ParseClaimAdminFee

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseClaimAdminFee(log types.Log) (*CurvefifactorypoolClaimAdminFee, error)

ParseClaimAdminFee is a log parse operation binding the contract event 0x6059a38198b1dc42b3791087d1ff0fbd72b3179553c25f678cd246f52ffaaf59.

Solidity: event ClaimAdminFee(address indexed admin, uint256 tokens)

func (*CurvefifactorypoolFilterer) ParseCommitNewParameters

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseCommitNewParameters(log types.Log) (*CurvefifactorypoolCommitNewParameters, error)

ParseCommitNewParameters is a log parse operation binding the contract event 0x913fde9a37e1f8ab67876a4d0ce80790d764fcfc5692f4529526df9c6bdde553.

Solidity: event CommitNewParameters(uint256 indexed deadline, uint256 admin_fee, uint256 mid_fee, uint256 out_fee, uint256 fee_gamma, uint256 allowed_extra_profit, uint256 adjustment_step, uint256 ma_half_time)

func (*CurvefifactorypoolFilterer) ParseNewParameters

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseNewParameters(log types.Log) (*CurvefifactorypoolNewParameters, error)

ParseNewParameters is a log parse operation binding the contract event 0x1c65bbdc939f346e5d6f0bde1f072819947438d4fc7b182cc59c2f6dc5504087.

Solidity: event NewParameters(uint256 admin_fee, uint256 mid_fee, uint256 out_fee, uint256 fee_gamma, uint256 allowed_extra_profit, uint256 adjustment_step, uint256 ma_half_time)

func (*CurvefifactorypoolFilterer) ParseRampAgamma

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseRampAgamma(log types.Log) (*CurvefifactorypoolRampAgamma, error)

ParseRampAgamma is a log parse operation binding the contract event 0xe35f0559b0642164e286b30df2077ec3a05426617a25db7578fd20ba39a6cd05.

Solidity: event RampAgamma(uint256 initial_A, uint256 future_A, uint256 initial_gamma, uint256 future_gamma, uint256 initial_time, uint256 future_time)

func (*CurvefifactorypoolFilterer) ParseRemoveLiquidity

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseRemoveLiquidity(log types.Log) (*CurvefifactorypoolRemoveLiquidity, error)

ParseRemoveLiquidity is a log parse operation binding the contract event 0xdd3c0336a16f1b64f172b7bb0dad5b2b3c7c76f91e8c4aafd6aae60dce800153.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256 token_supply)

func (*CurvefifactorypoolFilterer) ParseRemoveLiquidityOne

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseRemoveLiquidityOne(log types.Log) (*CurvefifactorypoolRemoveLiquidityOne, error)

ParseRemoveLiquidityOne is a log parse operation binding the contract event 0x5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_index, uint256 coin_amount)

func (*CurvefifactorypoolFilterer) ParseStopRampA

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseStopRampA(log types.Log) (*CurvefifactorypoolStopRampA, error)

ParseStopRampA is a log parse operation binding the contract event 0x5f0e7fba3d100c9e19446e1c92fe436f0a9a22fe99669360e4fdd6d3de2fc284.

Solidity: event StopRampA(uint256 current_A, uint256 current_gamma, uint256 time)

func (*CurvefifactorypoolFilterer) ParseTokenExchange

func (_Curvefifactorypool *CurvefifactorypoolFilterer) ParseTokenExchange(log types.Log) (*CurvefifactorypoolTokenExchange, error)

ParseTokenExchange is a log parse operation binding the contract event 0xb2e76ae99761dc136e598d4a629bb347eccb9532a5f8bbd72e18467c3c34cc98.

Solidity: event TokenExchange(address indexed buyer, uint256 sold_id, uint256 tokens_sold, uint256 bought_id, uint256 tokens_bought)

func (*CurvefifactorypoolFilterer) WatchAddLiquidity

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolAddLiquidity, provider []common.Address) (event.Subscription, error)

WatchAddLiquidity is a free log subscription operation binding the contract event 0x540ab385f9b5d450a27404172caade516b3ba3f4be88239ac56a2ad1de2a1f5a.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256 fee, uint256 token_supply)

func (*CurvefifactorypoolFilterer) WatchClaimAdminFee

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchClaimAdminFee(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolClaimAdminFee, admin []common.Address) (event.Subscription, error)

WatchClaimAdminFee is a free log subscription operation binding the contract event 0x6059a38198b1dc42b3791087d1ff0fbd72b3179553c25f678cd246f52ffaaf59.

Solidity: event ClaimAdminFee(address indexed admin, uint256 tokens)

func (*CurvefifactorypoolFilterer) WatchCommitNewParameters

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchCommitNewParameters(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolCommitNewParameters, deadline []*big.Int) (event.Subscription, error)

WatchCommitNewParameters is a free log subscription operation binding the contract event 0x913fde9a37e1f8ab67876a4d0ce80790d764fcfc5692f4529526df9c6bdde553.

Solidity: event CommitNewParameters(uint256 indexed deadline, uint256 admin_fee, uint256 mid_fee, uint256 out_fee, uint256 fee_gamma, uint256 allowed_extra_profit, uint256 adjustment_step, uint256 ma_half_time)

func (*CurvefifactorypoolFilterer) WatchNewParameters

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchNewParameters(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolNewParameters) (event.Subscription, error)

WatchNewParameters is a free log subscription operation binding the contract event 0x1c65bbdc939f346e5d6f0bde1f072819947438d4fc7b182cc59c2f6dc5504087.

Solidity: event NewParameters(uint256 admin_fee, uint256 mid_fee, uint256 out_fee, uint256 fee_gamma, uint256 allowed_extra_profit, uint256 adjustment_step, uint256 ma_half_time)

func (*CurvefifactorypoolFilterer) WatchRampAgamma

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchRampAgamma(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolRampAgamma) (event.Subscription, error)

WatchRampAgamma is a free log subscription operation binding the contract event 0xe35f0559b0642164e286b30df2077ec3a05426617a25db7578fd20ba39a6cd05.

Solidity: event RampAgamma(uint256 initial_A, uint256 future_A, uint256 initial_gamma, uint256 future_gamma, uint256 initial_time, uint256 future_time)

func (*CurvefifactorypoolFilterer) WatchRemoveLiquidity

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolRemoveLiquidity, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidity is a free log subscription operation binding the contract event 0xdd3c0336a16f1b64f172b7bb0dad5b2b3c7c76f91e8c4aafd6aae60dce800153.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256 token_supply)

func (*CurvefifactorypoolFilterer) WatchRemoveLiquidityOne

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolRemoveLiquidityOne, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidityOne is a free log subscription operation binding the contract event 0x5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_index, uint256 coin_amount)

func (*CurvefifactorypoolFilterer) WatchStopRampA

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolStopRampA) (event.Subscription, error)

WatchStopRampA is a free log subscription operation binding the contract event 0x5f0e7fba3d100c9e19446e1c92fe436f0a9a22fe99669360e4fdd6d3de2fc284.

Solidity: event StopRampA(uint256 current_A, uint256 current_gamma, uint256 time)

func (*CurvefifactorypoolFilterer) WatchTokenExchange

func (_Curvefifactorypool *CurvefifactorypoolFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *CurvefifactorypoolTokenExchange, buyer []common.Address) (event.Subscription, error)

WatchTokenExchange is a free log subscription operation binding the contract event 0xb2e76ae99761dc136e598d4a629bb347eccb9532a5f8bbd72e18467c3c34cc98.

Solidity: event TokenExchange(address indexed buyer, uint256 sold_id, uint256 tokens_sold, uint256 bought_id, uint256 tokens_bought)

type CurvefifactorypoolNewParameters

type CurvefifactorypoolNewParameters struct {
	AdminFee           *big.Int
	MidFee             *big.Int
	OutFee             *big.Int
	FeeGamma           *big.Int
	AllowedExtraProfit *big.Int
	AdjustmentStep     *big.Int
	MaHalfTime         *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolNewParameters represents a NewParameters event raised by the Curvefifactorypool contract.

type CurvefifactorypoolNewParametersIterator

type CurvefifactorypoolNewParametersIterator struct {
	Event *CurvefifactorypoolNewParameters // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolNewParametersIterator is returned from FilterNewParameters and is used to iterate over the raw logs and unpacked data for NewParameters events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolNewParametersIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolNewParametersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolNewParametersIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolRampAgamma

type CurvefifactorypoolRampAgamma struct {
	InitialA     *big.Int
	FutureA      *big.Int
	InitialGamma *big.Int
	FutureGamma  *big.Int
	InitialTime  *big.Int
	FutureTime   *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolRampAgamma represents a RampAgamma event raised by the Curvefifactorypool contract.

type CurvefifactorypoolRampAgammaIterator

type CurvefifactorypoolRampAgammaIterator struct {
	Event *CurvefifactorypoolRampAgamma // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolRampAgammaIterator is returned from FilterRampAgamma and is used to iterate over the raw logs and unpacked data for RampAgamma events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolRampAgammaIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolRampAgammaIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolRampAgammaIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolRaw

type CurvefifactorypoolRaw struct {
	Contract *Curvefifactorypool // Generic contract binding to access the raw methods on
}

CurvefifactorypoolRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CurvefifactorypoolRaw) Call

func (_Curvefifactorypool *CurvefifactorypoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*CurvefifactorypoolRaw) Transact

func (_Curvefifactorypool *CurvefifactorypoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CurvefifactorypoolRaw) Transfer

func (_Curvefifactorypool *CurvefifactorypoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CurvefifactorypoolRemoveLiquidity

type CurvefifactorypoolRemoveLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolRemoveLiquidity represents a RemoveLiquidity event raised by the Curvefifactorypool contract.

type CurvefifactorypoolRemoveLiquidityIterator

type CurvefifactorypoolRemoveLiquidityIterator struct {
	Event *CurvefifactorypoolRemoveLiquidity // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolRemoveLiquidityIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolRemoveLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolRemoveLiquidityIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolRemoveLiquidityOne

type CurvefifactorypoolRemoveLiquidityOne struct {
	Provider    common.Address
	TokenAmount *big.Int
	CoinIndex   *big.Int
	CoinAmount  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the Curvefifactorypool contract.

type CurvefifactorypoolRemoveLiquidityOneIterator

type CurvefifactorypoolRemoveLiquidityOneIterator struct {
	Event *CurvefifactorypoolRemoveLiquidityOne // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolRemoveLiquidityOneIterator is returned from FilterRemoveLiquidityOne and is used to iterate over the raw logs and unpacked data for RemoveLiquidityOne events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolRemoveLiquidityOneIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolRemoveLiquidityOneIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolRemoveLiquidityOneIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolSession

type CurvefifactorypoolSession struct {
	Contract     *Curvefifactorypool // Generic contract binding to set the session for
	CallOpts     bind.CallOpts       // Call options to use throughout this session
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

CurvefifactorypoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CurvefifactorypoolSession) A

func (_Curvefifactorypool *CurvefifactorypoolSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*CurvefifactorypoolSession) AddLiquidity

func (_Curvefifactorypool *CurvefifactorypoolSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) payable returns(uint256)

func (*CurvefifactorypoolSession) AddLiquidity0

func (_Curvefifactorypool *CurvefifactorypoolSession) AddLiquidity0(amounts [2]*big.Int, min_mint_amount *big.Int, use_eth bool) (*types.Transaction, error)

AddLiquidity0 is a paid mutator transaction binding the contract method 0xee22be23.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount, bool use_eth) payable returns(uint256)

func (*CurvefifactorypoolSession) AddLiquidity1

func (_Curvefifactorypool *CurvefifactorypoolSession) AddLiquidity1(amounts [2]*big.Int, min_mint_amount *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

AddLiquidity1 is a paid mutator transaction binding the contract method 0x7328333b.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount, bool use_eth, address receiver) payable returns(uint256)

func (*CurvefifactorypoolSession) AdjustmentStep

func (_Curvefifactorypool *CurvefifactorypoolSession) AdjustmentStep() (*big.Int, error)

AdjustmentStep is a free data retrieval call binding the contract method 0x083812e5.

Solidity: function adjustment_step() view returns(uint256)

func (*CurvefifactorypoolSession) AdminActionsDeadline

func (_Curvefifactorypool *CurvefifactorypoolSession) AdminActionsDeadline() (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() view returns(uint256)

func (*CurvefifactorypoolSession) AdminFee

func (_Curvefifactorypool *CurvefifactorypoolSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*CurvefifactorypoolSession) AllowedExtraProfit

func (_Curvefifactorypool *CurvefifactorypoolSession) AllowedExtraProfit() (*big.Int, error)

AllowedExtraProfit is a free data retrieval call binding the contract method 0x49fe9e77.

Solidity: function allowed_extra_profit() view returns(uint256)

func (*CurvefifactorypoolSession) ApplyNewParameters

func (_Curvefifactorypool *CurvefifactorypoolSession) ApplyNewParameters() (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurvefifactorypoolSession) Balances

func (_Curvefifactorypool *CurvefifactorypoolSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 arg0) view returns(uint256)

func (*CurvefifactorypoolSession) CalcTokenAmount

func (_Curvefifactorypool *CurvefifactorypoolSession) CalcTokenAmount(amounts [2]*big.Int) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0x8d8ea727.

Solidity: function calc_token_amount(uint256[2] amounts) view returns(uint256)

func (*CurvefifactorypoolSession) CalcWithdrawOneCoin

func (_Curvefifactorypool *CurvefifactorypoolSession) CalcWithdrawOneCoin(token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0x4fb08c5e.

Solidity: function calc_withdraw_one_coin(uint256 token_amount, uint256 i) view returns(uint256)

func (*CurvefifactorypoolSession) ClaimAdminFees

func (_Curvefifactorypool *CurvefifactorypoolSession) ClaimAdminFees() (*types.Transaction, error)

ClaimAdminFees is a paid mutator transaction binding the contract method 0xc93f49e8.

Solidity: function claim_admin_fees() returns()

func (*CurvefifactorypoolSession) Coins

func (_Curvefifactorypool *CurvefifactorypoolSession) Coins(arg0 *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 arg0) view returns(address)

func (*CurvefifactorypoolSession) CommitNewParameters

func (_Curvefifactorypool *CurvefifactorypoolSession) CommitNewParameters(_new_mid_fee *big.Int, _new_out_fee *big.Int, _new_admin_fee *big.Int, _new_fee_gamma *big.Int, _new_allowed_extra_profit *big.Int, _new_adjustment_step *big.Int, _new_ma_half_time *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xa43c3351.

Solidity: function commit_new_parameters(uint256 _new_mid_fee, uint256 _new_out_fee, uint256 _new_admin_fee, uint256 _new_fee_gamma, uint256 _new_allowed_extra_profit, uint256 _new_adjustment_step, uint256 _new_ma_half_time) returns()

func (*CurvefifactorypoolSession) D

func (_Curvefifactorypool *CurvefifactorypoolSession) D() (*big.Int, error)

D is a free data retrieval call binding the contract method 0x0f529ba2.

Solidity: function D() view returns(uint256)

func (*CurvefifactorypoolSession) Exchange

func (_Curvefifactorypool *CurvefifactorypoolSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x5b41b908.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy) payable returns(uint256)

func (*CurvefifactorypoolSession) Exchange0

func (_Curvefifactorypool *CurvefifactorypoolSession) Exchange0(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool) (*types.Transaction, error)

Exchange0 is a paid mutator transaction binding the contract method 0x394747c5.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth) payable returns(uint256)

func (*CurvefifactorypoolSession) Exchange1

func (_Curvefifactorypool *CurvefifactorypoolSession) Exchange1(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

Exchange1 is a paid mutator transaction binding the contract method 0xce7d6503.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth, address receiver) payable returns(uint256)

func (*CurvefifactorypoolSession) ExchangeExtended

func (_Curvefifactorypool *CurvefifactorypoolSession) ExchangeExtended(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool, sender common.Address, receiver common.Address, cb [32]byte) (*types.Transaction, error)

ExchangeExtended is a paid mutator transaction binding the contract method 0xdd96994f.

Solidity: function exchange_extended(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth, address sender, address receiver, bytes32 cb) payable returns(uint256)

func (*CurvefifactorypoolSession) ExchangeUnderlying

func (_Curvefifactorypool *CurvefifactorypoolSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

ExchangeUnderlying is a paid mutator transaction binding the contract method 0x65b2489b.

Solidity: function exchange_underlying(uint256 i, uint256 j, uint256 dx, uint256 min_dy) payable returns(uint256)

func (*CurvefifactorypoolSession) ExchangeUnderlying0

func (_Curvefifactorypool *CurvefifactorypoolSession) ExchangeUnderlying0(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, receiver common.Address) (*types.Transaction, error)

ExchangeUnderlying0 is a paid mutator transaction binding the contract method 0xe2ad025a.

Solidity: function exchange_underlying(uint256 i, uint256 j, uint256 dx, uint256 min_dy, address receiver) payable returns(uint256)

func (*CurvefifactorypoolSession) Factory

func (_Curvefifactorypool *CurvefifactorypoolSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*CurvefifactorypoolSession) Fallback

func (_Curvefifactorypool *CurvefifactorypoolSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*CurvefifactorypoolSession) Fee

func (_Curvefifactorypool *CurvefifactorypoolSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*CurvefifactorypoolSession) FeeGamma

func (_Curvefifactorypool *CurvefifactorypoolSession) FeeGamma() (*big.Int, error)

FeeGamma is a free data retrieval call binding the contract method 0x72d4f0e2.

Solidity: function fee_gamma() view returns(uint256)

func (*CurvefifactorypoolSession) FutureAGamma

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureAGamma() (*big.Int, error)

FutureAGamma is a free data retrieval call binding the contract method 0xf30cfad5.

Solidity: function future_A_gamma() view returns(uint256)

func (*CurvefifactorypoolSession) FutureAGammaTime

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureAGammaTime() (*big.Int, error)

FutureAGammaTime is a free data retrieval call binding the contract method 0xf9ed9597.

Solidity: function future_A_gamma_time() view returns(uint256)

func (*CurvefifactorypoolSession) FutureAdjustmentStep

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureAdjustmentStep() (*big.Int, error)

FutureAdjustmentStep is a free data retrieval call binding the contract method 0x4ea12c7d.

Solidity: function future_adjustment_step() view returns(uint256)

func (*CurvefifactorypoolSession) FutureAdminFee

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureAdminFee() (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() view returns(uint256)

func (*CurvefifactorypoolSession) FutureAllowedExtraProfit

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureAllowedExtraProfit() (*big.Int, error)

FutureAllowedExtraProfit is a free data retrieval call binding the contract method 0x727ced57.

Solidity: function future_allowed_extra_profit() view returns(uint256)

func (*CurvefifactorypoolSession) FutureFeeGamma

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureFeeGamma() (*big.Int, error)

FutureFeeGamma is a free data retrieval call binding the contract method 0xd7c3dcbe.

Solidity: function future_fee_gamma() view returns(uint256)

func (*CurvefifactorypoolSession) FutureMaHalfTime

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureMaHalfTime() (*big.Int, error)

FutureMaHalfTime is a free data retrieval call binding the contract method 0x0c5e23d4.

Solidity: function future_ma_half_time() view returns(uint256)

func (*CurvefifactorypoolSession) FutureMidFee

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureMidFee() (*big.Int, error)

FutureMidFee is a free data retrieval call binding the contract method 0x7cf9aedc.

Solidity: function future_mid_fee() view returns(uint256)

func (*CurvefifactorypoolSession) FutureOutFee

func (_Curvefifactorypool *CurvefifactorypoolSession) FutureOutFee() (*big.Int, error)

FutureOutFee is a free data retrieval call binding the contract method 0x7d1b060c.

Solidity: function future_out_fee() view returns(uint256)

func (*CurvefifactorypoolSession) Gamma

func (_Curvefifactorypool *CurvefifactorypoolSession) Gamma() (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() view returns(uint256)

func (*CurvefifactorypoolSession) GetDy

func (_Curvefifactorypool *CurvefifactorypoolSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x556d6e9f.

Solidity: function get_dy(uint256 i, uint256 j, uint256 dx) view returns(uint256)

func (*CurvefifactorypoolSession) GetVirtualPrice

func (_Curvefifactorypool *CurvefifactorypoolSession) GetVirtualPrice() (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() view returns(uint256)

func (*CurvefifactorypoolSession) InitialAGamma

func (_Curvefifactorypool *CurvefifactorypoolSession) InitialAGamma() (*big.Int, error)

InitialAGamma is a free data retrieval call binding the contract method 0x204fe3d5.

Solidity: function initial_A_gamma() view returns(uint256)

func (*CurvefifactorypoolSession) InitialAGammaTime

func (_Curvefifactorypool *CurvefifactorypoolSession) InitialAGammaTime() (*big.Int, error)

InitialAGammaTime is a free data retrieval call binding the contract method 0xe89876ff.

Solidity: function initial_A_gamma_time() view returns(uint256)

func (*CurvefifactorypoolSession) Initialize

func (_Curvefifactorypool *CurvefifactorypoolSession) Initialize(A *big.Int, gamma *big.Int, mid_fee *big.Int, out_fee *big.Int, allowed_extra_profit *big.Int, fee_gamma *big.Int, adjustment_step *big.Int, admin_fee *big.Int, ma_half_time *big.Int, initial_price *big.Int, _token common.Address, _coins [2]common.Address, _precisions *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa39e95c5.

Solidity: function initialize(uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price, address _token, address[2] _coins, uint256 _precisions) returns()

func (*CurvefifactorypoolSession) LastPrices

func (_Curvefifactorypool *CurvefifactorypoolSession) LastPrices() (*big.Int, error)

LastPrices is a free data retrieval call binding the contract method 0xc146bf94.

Solidity: function last_prices() view returns(uint256)

func (*CurvefifactorypoolSession) LastPricesTimestamp

func (_Curvefifactorypool *CurvefifactorypoolSession) LastPricesTimestamp() (*big.Int, error)

LastPricesTimestamp is a free data retrieval call binding the contract method 0x6112c747.

Solidity: function last_prices_timestamp() view returns(uint256)

func (*CurvefifactorypoolSession) LpPrice

func (_Curvefifactorypool *CurvefifactorypoolSession) LpPrice() (*big.Int, error)

LpPrice is a free data retrieval call binding the contract method 0x54f0f7d5.

Solidity: function lp_price() view returns(uint256)

func (*CurvefifactorypoolSession) MaHalfTime

func (_Curvefifactorypool *CurvefifactorypoolSession) MaHalfTime() (*big.Int, error)

MaHalfTime is a free data retrieval call binding the contract method 0x662b6274.

Solidity: function ma_half_time() view returns(uint256)

func (*CurvefifactorypoolSession) MidFee

func (_Curvefifactorypool *CurvefifactorypoolSession) MidFee() (*big.Int, error)

MidFee is a free data retrieval call binding the contract method 0x92526c0c.

Solidity: function mid_fee() view returns(uint256)

func (*CurvefifactorypoolSession) OutFee

func (_Curvefifactorypool *CurvefifactorypoolSession) OutFee() (*big.Int, error)

OutFee is a free data retrieval call binding the contract method 0xee8de675.

Solidity: function out_fee() view returns(uint256)

func (*CurvefifactorypoolSession) PriceOracle

func (_Curvefifactorypool *CurvefifactorypoolSession) PriceOracle() (*big.Int, error)

PriceOracle is a free data retrieval call binding the contract method 0x86fc88d3.

Solidity: function price_oracle() view returns(uint256)

func (*CurvefifactorypoolSession) PriceScale

func (_Curvefifactorypool *CurvefifactorypoolSession) PriceScale() (*big.Int, error)

PriceScale is a free data retrieval call binding the contract method 0xb9e8c9fd.

Solidity: function price_scale() view returns(uint256)

func (*CurvefifactorypoolSession) RampAGamma

func (_Curvefifactorypool *CurvefifactorypoolSession) RampAGamma(future_A *big.Int, future_gamma *big.Int, future_time *big.Int) (*types.Transaction, error)

RampAGamma is a paid mutator transaction binding the contract method 0x5e248072.

Solidity: function ramp_A_gamma(uint256 future_A, uint256 future_gamma, uint256 future_time) returns()

func (*CurvefifactorypoolSession) RemoveLiquidity

func (_Curvefifactorypool *CurvefifactorypoolSession) RemoveLiquidity(_amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*CurvefifactorypoolSession) RemoveLiquidity0

func (_Curvefifactorypool *CurvefifactorypoolSession) RemoveLiquidity0(_amount *big.Int, min_amounts [2]*big.Int, use_eth bool) (*types.Transaction, error)

RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x269b5581.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts, bool use_eth) returns()

func (*CurvefifactorypoolSession) RemoveLiquidity1

func (_Curvefifactorypool *CurvefifactorypoolSession) RemoveLiquidity1(_amount *big.Int, min_amounts [2]*big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

RemoveLiquidity1 is a paid mutator transaction binding the contract method 0x1808e84a.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts, bool use_eth, address receiver) returns()

func (*CurvefifactorypoolSession) RemoveLiquidityOneCoin

func (_Curvefifactorypool *CurvefifactorypoolSession) RemoveLiquidityOneCoin(token_amount *big.Int, i *big.Int, min_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0xf1dc3cc9.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount) returns(uint256)

func (*CurvefifactorypoolSession) RemoveLiquidityOneCoin0

func (_Curvefifactorypool *CurvefifactorypoolSession) RemoveLiquidityOneCoin0(token_amount *big.Int, i *big.Int, min_amount *big.Int, use_eth bool) (*types.Transaction, error)

RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x8f15b6b5.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount, bool use_eth) returns(uint256)

func (*CurvefifactorypoolSession) RemoveLiquidityOneCoin1

func (_Curvefifactorypool *CurvefifactorypoolSession) RemoveLiquidityOneCoin1(token_amount *big.Int, i *big.Int, min_amount *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

RemoveLiquidityOneCoin1 is a paid mutator transaction binding the contract method 0x07329bcd.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount, bool use_eth, address receiver) returns(uint256)

func (*CurvefifactorypoolSession) RevertNewParameters

func (_Curvefifactorypool *CurvefifactorypoolSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurvefifactorypoolSession) StopRampAGamma

func (_Curvefifactorypool *CurvefifactorypoolSession) StopRampAGamma() (*types.Transaction, error)

StopRampAGamma is a paid mutator transaction binding the contract method 0x244c7c2e.

Solidity: function stop_ramp_A_gamma() returns()

func (*CurvefifactorypoolSession) Token

func (_Curvefifactorypool *CurvefifactorypoolSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CurvefifactorypoolSession) VirtualPrice

func (_Curvefifactorypool *CurvefifactorypoolSession) VirtualPrice() (*big.Int, error)

VirtualPrice is a free data retrieval call binding the contract method 0x0c46b72a.

Solidity: function virtual_price() view returns(uint256)

func (*CurvefifactorypoolSession) XcpProfit

func (_Curvefifactorypool *CurvefifactorypoolSession) XcpProfit() (*big.Int, error)

XcpProfit is a free data retrieval call binding the contract method 0x7ba1a74d.

Solidity: function xcp_profit() view returns(uint256)

func (*CurvefifactorypoolSession) XcpProfitA

func (_Curvefifactorypool *CurvefifactorypoolSession) XcpProfitA() (*big.Int, error)

XcpProfitA is a free data retrieval call binding the contract method 0x0b7b594b.

Solidity: function xcp_profit_a() view returns(uint256)

type CurvefifactorypoolStopRampA

type CurvefifactorypoolStopRampA struct {
	CurrentA     *big.Int
	CurrentGamma *big.Int
	Time         *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolStopRampA represents a StopRampA event raised by the Curvefifactorypool contract.

type CurvefifactorypoolStopRampAIterator

type CurvefifactorypoolStopRampAIterator struct {
	Event *CurvefifactorypoolStopRampA // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolStopRampAIterator is returned from FilterStopRampA and is used to iterate over the raw logs and unpacked data for StopRampA events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolStopRampAIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolStopRampAIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolStopRampAIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolTokenExchange

type CurvefifactorypoolTokenExchange struct {
	Buyer        common.Address
	SoldId       *big.Int
	TokensSold   *big.Int
	BoughtId     *big.Int
	TokensBought *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefifactorypoolTokenExchange represents a TokenExchange event raised by the Curvefifactorypool contract.

type CurvefifactorypoolTokenExchangeIterator

type CurvefifactorypoolTokenExchangeIterator struct {
	Event *CurvefifactorypoolTokenExchange // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvefifactorypoolTokenExchangeIterator is returned from FilterTokenExchange and is used to iterate over the raw logs and unpacked data for TokenExchange events raised by the Curvefifactorypool contract.

func (*CurvefifactorypoolTokenExchangeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvefifactorypoolTokenExchangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactorypoolTokenExchangeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvefifactorypoolTransactor

type CurvefifactorypoolTransactor struct {
	// contains filtered or unexported fields
}

CurvefifactorypoolTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCurvefifactorypoolTransactor

func NewCurvefifactorypoolTransactor(address common.Address, transactor bind.ContractTransactor) (*CurvefifactorypoolTransactor, error)

NewCurvefifactorypoolTransactor creates a new write-only instance of Curvefifactorypool, bound to a specific deployed contract.

func (*CurvefifactorypoolTransactor) AddLiquidity

func (_Curvefifactorypool *CurvefifactorypoolTransactor) AddLiquidity(opts *bind.TransactOpts, amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) payable returns(uint256)

func (*CurvefifactorypoolTransactor) AddLiquidity0

func (_Curvefifactorypool *CurvefifactorypoolTransactor) AddLiquidity0(opts *bind.TransactOpts, amounts [2]*big.Int, min_mint_amount *big.Int, use_eth bool) (*types.Transaction, error)

AddLiquidity0 is a paid mutator transaction binding the contract method 0xee22be23.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount, bool use_eth) payable returns(uint256)

func (*CurvefifactorypoolTransactor) AddLiquidity1

func (_Curvefifactorypool *CurvefifactorypoolTransactor) AddLiquidity1(opts *bind.TransactOpts, amounts [2]*big.Int, min_mint_amount *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

AddLiquidity1 is a paid mutator transaction binding the contract method 0x7328333b.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount, bool use_eth, address receiver) payable returns(uint256)

func (*CurvefifactorypoolTransactor) ApplyNewParameters

func (_Curvefifactorypool *CurvefifactorypoolTransactor) ApplyNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurvefifactorypoolTransactor) ClaimAdminFees

func (_Curvefifactorypool *CurvefifactorypoolTransactor) ClaimAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimAdminFees is a paid mutator transaction binding the contract method 0xc93f49e8.

Solidity: function claim_admin_fees() returns()

func (*CurvefifactorypoolTransactor) CommitNewParameters

func (_Curvefifactorypool *CurvefifactorypoolTransactor) CommitNewParameters(opts *bind.TransactOpts, _new_mid_fee *big.Int, _new_out_fee *big.Int, _new_admin_fee *big.Int, _new_fee_gamma *big.Int, _new_allowed_extra_profit *big.Int, _new_adjustment_step *big.Int, _new_ma_half_time *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xa43c3351.

Solidity: function commit_new_parameters(uint256 _new_mid_fee, uint256 _new_out_fee, uint256 _new_admin_fee, uint256 _new_fee_gamma, uint256 _new_allowed_extra_profit, uint256 _new_adjustment_step, uint256 _new_ma_half_time) returns()

func (*CurvefifactorypoolTransactor) Exchange

func (_Curvefifactorypool *CurvefifactorypoolTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x5b41b908.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy) payable returns(uint256)

func (*CurvefifactorypoolTransactor) Exchange0

func (_Curvefifactorypool *CurvefifactorypoolTransactor) Exchange0(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool) (*types.Transaction, error)

Exchange0 is a paid mutator transaction binding the contract method 0x394747c5.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth) payable returns(uint256)

func (*CurvefifactorypoolTransactor) Exchange1

func (_Curvefifactorypool *CurvefifactorypoolTransactor) Exchange1(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

Exchange1 is a paid mutator transaction binding the contract method 0xce7d6503.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth, address receiver) payable returns(uint256)

func (*CurvefifactorypoolTransactor) ExchangeExtended

func (_Curvefifactorypool *CurvefifactorypoolTransactor) ExchangeExtended(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool, sender common.Address, receiver common.Address, cb [32]byte) (*types.Transaction, error)

ExchangeExtended is a paid mutator transaction binding the contract method 0xdd96994f.

Solidity: function exchange_extended(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth, address sender, address receiver, bytes32 cb) payable returns(uint256)

func (*CurvefifactorypoolTransactor) ExchangeUnderlying

func (_Curvefifactorypool *CurvefifactorypoolTransactor) ExchangeUnderlying(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

ExchangeUnderlying is a paid mutator transaction binding the contract method 0x65b2489b.

Solidity: function exchange_underlying(uint256 i, uint256 j, uint256 dx, uint256 min_dy) payable returns(uint256)

func (*CurvefifactorypoolTransactor) ExchangeUnderlying0

func (_Curvefifactorypool *CurvefifactorypoolTransactor) ExchangeUnderlying0(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, receiver common.Address) (*types.Transaction, error)

ExchangeUnderlying0 is a paid mutator transaction binding the contract method 0xe2ad025a.

Solidity: function exchange_underlying(uint256 i, uint256 j, uint256 dx, uint256 min_dy, address receiver) payable returns(uint256)

func (*CurvefifactorypoolTransactor) Fallback

func (_Curvefifactorypool *CurvefifactorypoolTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*CurvefifactorypoolTransactor) Initialize

func (_Curvefifactorypool *CurvefifactorypoolTransactor) Initialize(opts *bind.TransactOpts, A *big.Int, gamma *big.Int, mid_fee *big.Int, out_fee *big.Int, allowed_extra_profit *big.Int, fee_gamma *big.Int, adjustment_step *big.Int, admin_fee *big.Int, ma_half_time *big.Int, initial_price *big.Int, _token common.Address, _coins [2]common.Address, _precisions *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa39e95c5.

Solidity: function initialize(uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price, address _token, address[2] _coins, uint256 _precisions) returns()

func (*CurvefifactorypoolTransactor) RampAGamma

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RampAGamma(opts *bind.TransactOpts, future_A *big.Int, future_gamma *big.Int, future_time *big.Int) (*types.Transaction, error)

RampAGamma is a paid mutator transaction binding the contract method 0x5e248072.

Solidity: function ramp_A_gamma(uint256 future_A, uint256 future_gamma, uint256 future_time) returns()

func (*CurvefifactorypoolTransactor) RemoveLiquidity

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*CurvefifactorypoolTransactor) RemoveLiquidity0

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _amount *big.Int, min_amounts [2]*big.Int, use_eth bool) (*types.Transaction, error)

RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x269b5581.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts, bool use_eth) returns()

func (*CurvefifactorypoolTransactor) RemoveLiquidity1

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RemoveLiquidity1(opts *bind.TransactOpts, _amount *big.Int, min_amounts [2]*big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

RemoveLiquidity1 is a paid mutator transaction binding the contract method 0x1808e84a.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts, bool use_eth, address receiver) returns()

func (*CurvefifactorypoolTransactor) RemoveLiquidityOneCoin

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, token_amount *big.Int, i *big.Int, min_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0xf1dc3cc9.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount) returns(uint256)

func (*CurvefifactorypoolTransactor) RemoveLiquidityOneCoin0

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RemoveLiquidityOneCoin0(opts *bind.TransactOpts, token_amount *big.Int, i *big.Int, min_amount *big.Int, use_eth bool) (*types.Transaction, error)

RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x8f15b6b5.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount, bool use_eth) returns(uint256)

func (*CurvefifactorypoolTransactor) RemoveLiquidityOneCoin1

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RemoveLiquidityOneCoin1(opts *bind.TransactOpts, token_amount *big.Int, i *big.Int, min_amount *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

RemoveLiquidityOneCoin1 is a paid mutator transaction binding the contract method 0x07329bcd.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount, bool use_eth, address receiver) returns(uint256)

func (*CurvefifactorypoolTransactor) RevertNewParameters

func (_Curvefifactorypool *CurvefifactorypoolTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurvefifactorypoolTransactor) StopRampAGamma

func (_Curvefifactorypool *CurvefifactorypoolTransactor) StopRampAGamma(opts *bind.TransactOpts) (*types.Transaction, error)

StopRampAGamma is a paid mutator transaction binding the contract method 0x244c7c2e.

Solidity: function stop_ramp_A_gamma() returns()

type CurvefifactorypoolTransactorRaw

type CurvefifactorypoolTransactorRaw struct {
	Contract *CurvefifactorypoolTransactor // Generic write-only contract binding to access the raw methods on
}

CurvefifactorypoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CurvefifactorypoolTransactorRaw) Transact

func (_Curvefifactorypool *CurvefifactorypoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CurvefifactorypoolTransactorRaw) Transfer

func (_Curvefifactorypool *CurvefifactorypoolTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CurvefifactorypoolTransactorSession

type CurvefifactorypoolTransactorSession struct {
	Contract     *CurvefifactorypoolTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts             // Transaction auth options to use throughout this session
}

CurvefifactorypoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CurvefifactorypoolTransactorSession) AddLiquidity

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) AddLiquidity0

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) AddLiquidity0(amounts [2]*big.Int, min_mint_amount *big.Int, use_eth bool) (*types.Transaction, error)

AddLiquidity0 is a paid mutator transaction binding the contract method 0xee22be23.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount, bool use_eth) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) AddLiquidity1

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) AddLiquidity1(amounts [2]*big.Int, min_mint_amount *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

AddLiquidity1 is a paid mutator transaction binding the contract method 0x7328333b.

Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount, bool use_eth, address receiver) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) ApplyNewParameters

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) ApplyNewParameters() (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurvefifactorypoolTransactorSession) ClaimAdminFees

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) ClaimAdminFees() (*types.Transaction, error)

ClaimAdminFees is a paid mutator transaction binding the contract method 0xc93f49e8.

Solidity: function claim_admin_fees() returns()

func (*CurvefifactorypoolTransactorSession) CommitNewParameters

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) CommitNewParameters(_new_mid_fee *big.Int, _new_out_fee *big.Int, _new_admin_fee *big.Int, _new_fee_gamma *big.Int, _new_allowed_extra_profit *big.Int, _new_adjustment_step *big.Int, _new_ma_half_time *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xa43c3351.

Solidity: function commit_new_parameters(uint256 _new_mid_fee, uint256 _new_out_fee, uint256 _new_admin_fee, uint256 _new_fee_gamma, uint256 _new_allowed_extra_profit, uint256 _new_adjustment_step, uint256 _new_ma_half_time) returns()

func (*CurvefifactorypoolTransactorSession) Exchange

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x5b41b908.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) Exchange0

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) Exchange0(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool) (*types.Transaction, error)

Exchange0 is a paid mutator transaction binding the contract method 0x394747c5.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) Exchange1

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) Exchange1(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

Exchange1 is a paid mutator transaction binding the contract method 0xce7d6503.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth, address receiver) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) ExchangeExtended

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) ExchangeExtended(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, use_eth bool, sender common.Address, receiver common.Address, cb [32]byte) (*types.Transaction, error)

ExchangeExtended is a paid mutator transaction binding the contract method 0xdd96994f.

Solidity: function exchange_extended(uint256 i, uint256 j, uint256 dx, uint256 min_dy, bool use_eth, address sender, address receiver, bytes32 cb) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) ExchangeUnderlying

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)

ExchangeUnderlying is a paid mutator transaction binding the contract method 0x65b2489b.

Solidity: function exchange_underlying(uint256 i, uint256 j, uint256 dx, uint256 min_dy) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) ExchangeUnderlying0

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) ExchangeUnderlying0(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int, receiver common.Address) (*types.Transaction, error)

ExchangeUnderlying0 is a paid mutator transaction binding the contract method 0xe2ad025a.

Solidity: function exchange_underlying(uint256 i, uint256 j, uint256 dx, uint256 min_dy, address receiver) payable returns(uint256)

func (*CurvefifactorypoolTransactorSession) Fallback

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*CurvefifactorypoolTransactorSession) Initialize

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) Initialize(A *big.Int, gamma *big.Int, mid_fee *big.Int, out_fee *big.Int, allowed_extra_profit *big.Int, fee_gamma *big.Int, adjustment_step *big.Int, admin_fee *big.Int, ma_half_time *big.Int, initial_price *big.Int, _token common.Address, _coins [2]common.Address, _precisions *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa39e95c5.

Solidity: function initialize(uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price, address _token, address[2] _coins, uint256 _precisions) returns()

func (*CurvefifactorypoolTransactorSession) RampAGamma

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RampAGamma(future_A *big.Int, future_gamma *big.Int, future_time *big.Int) (*types.Transaction, error)

RampAGamma is a paid mutator transaction binding the contract method 0x5e248072.

Solidity: function ramp_A_gamma(uint256 future_A, uint256 future_gamma, uint256 future_time) returns()

func (*CurvefifactorypoolTransactorSession) RemoveLiquidity

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RemoveLiquidity(_amount *big.Int, min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts) returns()

func (*CurvefifactorypoolTransactorSession) RemoveLiquidity0

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RemoveLiquidity0(_amount *big.Int, min_amounts [2]*big.Int, use_eth bool) (*types.Transaction, error)

RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x269b5581.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts, bool use_eth) returns()

func (*CurvefifactorypoolTransactorSession) RemoveLiquidity1

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RemoveLiquidity1(_amount *big.Int, min_amounts [2]*big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

RemoveLiquidity1 is a paid mutator transaction binding the contract method 0x1808e84a.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] min_amounts, bool use_eth, address receiver) returns()

func (*CurvefifactorypoolTransactorSession) RemoveLiquidityOneCoin

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RemoveLiquidityOneCoin(token_amount *big.Int, i *big.Int, min_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0xf1dc3cc9.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount) returns(uint256)

func (*CurvefifactorypoolTransactorSession) RemoveLiquidityOneCoin0

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RemoveLiquidityOneCoin0(token_amount *big.Int, i *big.Int, min_amount *big.Int, use_eth bool) (*types.Transaction, error)

RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x8f15b6b5.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount, bool use_eth) returns(uint256)

func (*CurvefifactorypoolTransactorSession) RemoveLiquidityOneCoin1

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RemoveLiquidityOneCoin1(token_amount *big.Int, i *big.Int, min_amount *big.Int, use_eth bool, receiver common.Address) (*types.Transaction, error)

RemoveLiquidityOneCoin1 is a paid mutator transaction binding the contract method 0x07329bcd.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount, bool use_eth, address receiver) returns(uint256)

func (*CurvefifactorypoolTransactorSession) RevertNewParameters

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurvefifactorypoolTransactorSession) StopRampAGamma

func (_Curvefifactorypool *CurvefifactorypoolTransactorSession) StopRampAGamma() (*types.Transaction, error)

StopRampAGamma is a paid mutator transaction binding the contract method 0x244c7c2e.

Solidity: function stop_ramp_A_gamma() returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL