curvefifactory

package
v1.4.221 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurvefifactoryABI = CurvefifactoryMetaData.ABI

CurvefifactoryABI is the input ABI used to generate the binding from. Deprecated: Use CurvefifactoryMetaData.ABI instead.

View Source
var CurvefifactoryMetaData = &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\"}]}]",
}

CurvefifactoryMetaData contains all meta data concerning the Curvefifactory contract.

Functions

This section is empty.

Types

type Curvefifactory

type Curvefifactory struct {
	CurvefifactoryCaller     // Read-only binding to the contract
	CurvefifactoryTransactor // Write-only binding to the contract
	CurvefifactoryFilterer   // Log filterer for contract events
}

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

func NewCurvefifactory

func NewCurvefifactory(address common.Address, backend bind.ContractBackend) (*Curvefifactory, error)

NewCurvefifactory creates a new instance of Curvefifactory, bound to a specific deployed contract.

type CurvefifactoryAddLiquidity

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

CurvefifactoryAddLiquidity represents a AddLiquidity event raised by the Curvefifactory contract.

type CurvefifactoryAddLiquidityIterator

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

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

func (*CurvefifactoryAddLiquidityIterator) Close

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

func (*CurvefifactoryAddLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryAddLiquidityIterator) 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 CurvefifactoryCaller

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

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

func NewCurvefifactoryCaller

func NewCurvefifactoryCaller(address common.Address, caller bind.ContractCaller) (*CurvefifactoryCaller, error)

NewCurvefifactoryCaller creates a new read-only instance of Curvefifactory, bound to a specific deployed contract.

func (*CurvefifactoryCaller) A

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) AdjustmentStep

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) AdminActionsDeadline

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) AdminFee

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) AllowedExtraProfit

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) Balances

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) CalcTokenAmount

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) CalcWithdrawOneCoin

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) Coins

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) D

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) Factory

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) Fee

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FeeGamma

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureAGamma

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureAGammaTime

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureAdjustmentStep

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureAdminFee

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureAllowedExtraProfit

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureFeeGamma

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureMaHalfTime

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureMidFee

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) FutureOutFee

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) Gamma

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) GetDy

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) GetVirtualPrice

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) InitialAGamma

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) InitialAGammaTime

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) LastPrices

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) LastPricesTimestamp

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) LpPrice

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) MaHalfTime

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) MidFee

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) OutFee

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) PriceOracle

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) PriceScale

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) Token

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) VirtualPrice

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) XcpProfit

func (_Curvefifactory *CurvefifactoryCaller) 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 (*CurvefifactoryCaller) XcpProfitA

func (_Curvefifactory *CurvefifactoryCaller) 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 CurvefifactoryCallerRaw

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

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

func (*CurvefifactoryCallerRaw) Call

func (_Curvefifactory *CurvefifactoryCallerRaw) 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 CurvefifactoryCallerSession

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

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

func (*CurvefifactoryCallerSession) A

func (_Curvefifactory *CurvefifactoryCallerSession) A() (*big.Int, error)

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

Solidity: function A() view returns(uint256)

func (*CurvefifactoryCallerSession) AdjustmentStep

func (_Curvefifactory *CurvefifactoryCallerSession) AdjustmentStep() (*big.Int, error)

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

Solidity: function adjustment_step() view returns(uint256)

func (*CurvefifactoryCallerSession) AdminActionsDeadline

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) AdminFee

func (_Curvefifactory *CurvefifactoryCallerSession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() view returns(uint256)

func (*CurvefifactoryCallerSession) AllowedExtraProfit

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) Balances

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) CalcTokenAmount

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) CalcWithdrawOneCoin

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) Coins

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) D

func (_Curvefifactory *CurvefifactoryCallerSession) D() (*big.Int, error)

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

Solidity: function D() view returns(uint256)

func (*CurvefifactoryCallerSession) Factory

func (_Curvefifactory *CurvefifactoryCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*CurvefifactoryCallerSession) Fee

func (_Curvefifactory *CurvefifactoryCallerSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint256)

func (*CurvefifactoryCallerSession) FeeGamma

func (_Curvefifactory *CurvefifactoryCallerSession) FeeGamma() (*big.Int, error)

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

Solidity: function fee_gamma() view returns(uint256)

func (*CurvefifactoryCallerSession) FutureAGamma

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureAGammaTime

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureAdjustmentStep

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureAdminFee

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureAllowedExtraProfit

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureFeeGamma

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureMaHalfTime

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureMidFee

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) FutureOutFee

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) Gamma

func (_Curvefifactory *CurvefifactoryCallerSession) Gamma() (*big.Int, error)

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

Solidity: function gamma() view returns(uint256)

func (*CurvefifactoryCallerSession) GetDy

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) GetVirtualPrice

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) InitialAGamma

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) InitialAGammaTime

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) LastPrices

func (_Curvefifactory *CurvefifactoryCallerSession) LastPrices() (*big.Int, error)

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

Solidity: function last_prices() view returns(uint256)

func (*CurvefifactoryCallerSession) LastPricesTimestamp

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) LpPrice

func (_Curvefifactory *CurvefifactoryCallerSession) LpPrice() (*big.Int, error)

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

Solidity: function lp_price() view returns(uint256)

func (*CurvefifactoryCallerSession) MaHalfTime

func (_Curvefifactory *CurvefifactoryCallerSession) 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 (*CurvefifactoryCallerSession) MidFee

func (_Curvefifactory *CurvefifactoryCallerSession) MidFee() (*big.Int, error)

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

Solidity: function mid_fee() view returns(uint256)

func (*CurvefifactoryCallerSession) OutFee

func (_Curvefifactory *CurvefifactoryCallerSession) OutFee() (*big.Int, error)

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

Solidity: function out_fee() view returns(uint256)

func (*CurvefifactoryCallerSession) PriceOracle

func (_Curvefifactory *CurvefifactoryCallerSession) PriceOracle() (*big.Int, error)

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

Solidity: function price_oracle() view returns(uint256)

func (*CurvefifactoryCallerSession) PriceScale

func (_Curvefifactory *CurvefifactoryCallerSession) PriceScale() (*big.Int, error)

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

Solidity: function price_scale() view returns(uint256)

func (*CurvefifactoryCallerSession) Token

func (_Curvefifactory *CurvefifactoryCallerSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CurvefifactoryCallerSession) VirtualPrice

func (_Curvefifactory *CurvefifactoryCallerSession) VirtualPrice() (*big.Int, error)

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

Solidity: function virtual_price() view returns(uint256)

func (*CurvefifactoryCallerSession) XcpProfit

func (_Curvefifactory *CurvefifactoryCallerSession) XcpProfit() (*big.Int, error)

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

Solidity: function xcp_profit() view returns(uint256)

func (*CurvefifactoryCallerSession) XcpProfitA

func (_Curvefifactory *CurvefifactoryCallerSession) 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 CurvefifactoryClaimAdminFee

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

CurvefifactoryClaimAdminFee represents a ClaimAdminFee event raised by the Curvefifactory contract.

type CurvefifactoryClaimAdminFeeIterator

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

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

func (*CurvefifactoryClaimAdminFeeIterator) Close

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

func (*CurvefifactoryClaimAdminFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryClaimAdminFeeIterator) 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 CurvefifactoryCommitNewParameters

type CurvefifactoryCommitNewParameters 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
}

CurvefifactoryCommitNewParameters represents a CommitNewParameters event raised by the Curvefifactory contract.

type CurvefifactoryCommitNewParametersIterator

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

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

func (*CurvefifactoryCommitNewParametersIterator) Close

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

func (*CurvefifactoryCommitNewParametersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryCommitNewParametersIterator) 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 CurvefifactoryFilterer

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

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

func NewCurvefifactoryFilterer

func NewCurvefifactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*CurvefifactoryFilterer, error)

NewCurvefifactoryFilterer creates a new log filterer instance of Curvefifactory, bound to a specific deployed contract.

func (*CurvefifactoryFilterer) FilterAddLiquidity

func (_Curvefifactory *CurvefifactoryFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurvefifactoryAddLiquidityIterator, 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 (*CurvefifactoryFilterer) FilterClaimAdminFee

func (_Curvefifactory *CurvefifactoryFilterer) FilterClaimAdminFee(opts *bind.FilterOpts, admin []common.Address) (*CurvefifactoryClaimAdminFeeIterator, error)

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

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

func (*CurvefifactoryFilterer) FilterCommitNewParameters

func (_Curvefifactory *CurvefifactoryFilterer) FilterCommitNewParameters(opts *bind.FilterOpts, deadline []*big.Int) (*CurvefifactoryCommitNewParametersIterator, 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 (*CurvefifactoryFilterer) FilterNewParameters

func (_Curvefifactory *CurvefifactoryFilterer) FilterNewParameters(opts *bind.FilterOpts) (*CurvefifactoryNewParametersIterator, 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 (*CurvefifactoryFilterer) FilterRampAgamma

func (_Curvefifactory *CurvefifactoryFilterer) FilterRampAgamma(opts *bind.FilterOpts) (*CurvefifactoryRampAgammaIterator, 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 (*CurvefifactoryFilterer) FilterRemoveLiquidity

func (_Curvefifactory *CurvefifactoryFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurvefifactoryRemoveLiquidityIterator, 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 (*CurvefifactoryFilterer) FilterRemoveLiquidityOne

func (_Curvefifactory *CurvefifactoryFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*CurvefifactoryRemoveLiquidityOneIterator, 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 (*CurvefifactoryFilterer) FilterStopRampA

func (_Curvefifactory *CurvefifactoryFilterer) FilterStopRampA(opts *bind.FilterOpts) (*CurvefifactoryStopRampAIterator, 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 (*CurvefifactoryFilterer) FilterTokenExchange

func (_Curvefifactory *CurvefifactoryFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*CurvefifactoryTokenExchangeIterator, 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 (*CurvefifactoryFilterer) ParseAddLiquidity

func (_Curvefifactory *CurvefifactoryFilterer) ParseAddLiquidity(log types.Log) (*CurvefifactoryAddLiquidity, 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 (*CurvefifactoryFilterer) ParseClaimAdminFee

func (_Curvefifactory *CurvefifactoryFilterer) ParseClaimAdminFee(log types.Log) (*CurvefifactoryClaimAdminFee, error)

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

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

func (*CurvefifactoryFilterer) ParseCommitNewParameters

func (_Curvefifactory *CurvefifactoryFilterer) ParseCommitNewParameters(log types.Log) (*CurvefifactoryCommitNewParameters, 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 (*CurvefifactoryFilterer) ParseNewParameters

func (_Curvefifactory *CurvefifactoryFilterer) ParseNewParameters(log types.Log) (*CurvefifactoryNewParameters, 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 (*CurvefifactoryFilterer) ParseRampAgamma

func (_Curvefifactory *CurvefifactoryFilterer) ParseRampAgamma(log types.Log) (*CurvefifactoryRampAgamma, 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 (*CurvefifactoryFilterer) ParseRemoveLiquidity

func (_Curvefifactory *CurvefifactoryFilterer) ParseRemoveLiquidity(log types.Log) (*CurvefifactoryRemoveLiquidity, 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 (*CurvefifactoryFilterer) ParseRemoveLiquidityOne

func (_Curvefifactory *CurvefifactoryFilterer) ParseRemoveLiquidityOne(log types.Log) (*CurvefifactoryRemoveLiquidityOne, 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 (*CurvefifactoryFilterer) ParseStopRampA

func (_Curvefifactory *CurvefifactoryFilterer) ParseStopRampA(log types.Log) (*CurvefifactoryStopRampA, error)

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

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

func (*CurvefifactoryFilterer) ParseTokenExchange

func (_Curvefifactory *CurvefifactoryFilterer) ParseTokenExchange(log types.Log) (*CurvefifactoryTokenExchange, 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 (*CurvefifactoryFilterer) WatchAddLiquidity

func (_Curvefifactory *CurvefifactoryFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *CurvefifactoryAddLiquidity, 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 (*CurvefifactoryFilterer) WatchClaimAdminFee

func (_Curvefifactory *CurvefifactoryFilterer) WatchClaimAdminFee(opts *bind.WatchOpts, sink chan<- *CurvefifactoryClaimAdminFee, 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 (*CurvefifactoryFilterer) WatchCommitNewParameters

func (_Curvefifactory *CurvefifactoryFilterer) WatchCommitNewParameters(opts *bind.WatchOpts, sink chan<- *CurvefifactoryCommitNewParameters, 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 (*CurvefifactoryFilterer) WatchNewParameters

func (_Curvefifactory *CurvefifactoryFilterer) WatchNewParameters(opts *bind.WatchOpts, sink chan<- *CurvefifactoryNewParameters) (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 (*CurvefifactoryFilterer) WatchRampAgamma

func (_Curvefifactory *CurvefifactoryFilterer) WatchRampAgamma(opts *bind.WatchOpts, sink chan<- *CurvefifactoryRampAgamma) (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 (*CurvefifactoryFilterer) WatchRemoveLiquidity

func (_Curvefifactory *CurvefifactoryFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *CurvefifactoryRemoveLiquidity, 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 (*CurvefifactoryFilterer) WatchRemoveLiquidityOne

func (_Curvefifactory *CurvefifactoryFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *CurvefifactoryRemoveLiquidityOne, 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 (*CurvefifactoryFilterer) WatchStopRampA

func (_Curvefifactory *CurvefifactoryFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *CurvefifactoryStopRampA) (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 (*CurvefifactoryFilterer) WatchTokenExchange

func (_Curvefifactory *CurvefifactoryFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *CurvefifactoryTokenExchange, 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 CurvefifactoryNewParameters

type CurvefifactoryNewParameters 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
}

CurvefifactoryNewParameters represents a NewParameters event raised by the Curvefifactory contract.

type CurvefifactoryNewParametersIterator

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

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

func (*CurvefifactoryNewParametersIterator) Close

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

func (*CurvefifactoryNewParametersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryNewParametersIterator) 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 CurvefifactoryRampAgamma

type CurvefifactoryRampAgamma 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
}

CurvefifactoryRampAgamma represents a RampAgamma event raised by the Curvefifactory contract.

type CurvefifactoryRampAgammaIterator

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

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

func (*CurvefifactoryRampAgammaIterator) Close

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

func (*CurvefifactoryRampAgammaIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryRampAgammaIterator) 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 CurvefifactoryRaw

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

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

func (*CurvefifactoryRaw) Call

func (_Curvefifactory *CurvefifactoryRaw) 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 (*CurvefifactoryRaw) Transact

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

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

func (*CurvefifactoryRaw) Transfer

func (_Curvefifactory *CurvefifactoryRaw) 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 CurvefifactoryRemoveLiquidity

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

CurvefifactoryRemoveLiquidity represents a RemoveLiquidity event raised by the Curvefifactory contract.

type CurvefifactoryRemoveLiquidityIterator

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

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

func (*CurvefifactoryRemoveLiquidityIterator) Close

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

func (*CurvefifactoryRemoveLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryRemoveLiquidityIterator) 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 CurvefifactoryRemoveLiquidityOne

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

CurvefifactoryRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the Curvefifactory contract.

type CurvefifactoryRemoveLiquidityOneIterator

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

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

func (*CurvefifactoryRemoveLiquidityOneIterator) Close

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

func (*CurvefifactoryRemoveLiquidityOneIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryRemoveLiquidityOneIterator) 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 CurvefifactorySession

type CurvefifactorySession struct {
	Contract     *Curvefifactory   // 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
}

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

func (*CurvefifactorySession) A

func (_Curvefifactory *CurvefifactorySession) A() (*big.Int, error)

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

Solidity: function A() view returns(uint256)

func (*CurvefifactorySession) AddLiquidity

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) AddLiquidity0

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) AddLiquidity1

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) AdjustmentStep

func (_Curvefifactory *CurvefifactorySession) AdjustmentStep() (*big.Int, error)

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

Solidity: function adjustment_step() view returns(uint256)

func (*CurvefifactorySession) AdminActionsDeadline

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) AdminFee

func (_Curvefifactory *CurvefifactorySession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() view returns(uint256)

func (*CurvefifactorySession) AllowedExtraProfit

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) ApplyNewParameters

func (_Curvefifactory *CurvefifactorySession) ApplyNewParameters() (*types.Transaction, error)

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

Solidity: function apply_new_parameters() returns()

func (*CurvefifactorySession) Balances

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) CalcTokenAmount

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) CalcWithdrawOneCoin

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) ClaimAdminFees

func (_Curvefifactory *CurvefifactorySession) ClaimAdminFees() (*types.Transaction, error)

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

Solidity: function claim_admin_fees() returns()

func (*CurvefifactorySession) Coins

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) CommitNewParameters

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) D

func (_Curvefifactory *CurvefifactorySession) D() (*big.Int, error)

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

Solidity: function D() view returns(uint256)

func (*CurvefifactorySession) Exchange

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) Exchange0

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) Exchange1

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) ExchangeExtended

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) ExchangeUnderlying

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) ExchangeUnderlying0

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) Factory

func (_Curvefifactory *CurvefifactorySession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*CurvefifactorySession) Fallback

func (_Curvefifactory *CurvefifactorySession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*CurvefifactorySession) Fee

func (_Curvefifactory *CurvefifactorySession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint256)

func (*CurvefifactorySession) FeeGamma

func (_Curvefifactory *CurvefifactorySession) FeeGamma() (*big.Int, error)

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

Solidity: function fee_gamma() view returns(uint256)

func (*CurvefifactorySession) FutureAGamma

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureAGammaTime

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureAdjustmentStep

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureAdminFee

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureAllowedExtraProfit

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureFeeGamma

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureMaHalfTime

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureMidFee

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) FutureOutFee

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) Gamma

func (_Curvefifactory *CurvefifactorySession) Gamma() (*big.Int, error)

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

Solidity: function gamma() view returns(uint256)

func (*CurvefifactorySession) GetDy

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) GetVirtualPrice

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) InitialAGamma

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) InitialAGammaTime

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) Initialize

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) LastPrices

func (_Curvefifactory *CurvefifactorySession) LastPrices() (*big.Int, error)

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

Solidity: function last_prices() view returns(uint256)

func (*CurvefifactorySession) LastPricesTimestamp

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) LpPrice

func (_Curvefifactory *CurvefifactorySession) LpPrice() (*big.Int, error)

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

Solidity: function lp_price() view returns(uint256)

func (*CurvefifactorySession) MaHalfTime

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) MidFee

func (_Curvefifactory *CurvefifactorySession) MidFee() (*big.Int, error)

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

Solidity: function mid_fee() view returns(uint256)

func (*CurvefifactorySession) OutFee

func (_Curvefifactory *CurvefifactorySession) OutFee() (*big.Int, error)

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

Solidity: function out_fee() view returns(uint256)

func (*CurvefifactorySession) PriceOracle

func (_Curvefifactory *CurvefifactorySession) PriceOracle() (*big.Int, error)

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

Solidity: function price_oracle() view returns(uint256)

func (*CurvefifactorySession) PriceScale

func (_Curvefifactory *CurvefifactorySession) PriceScale() (*big.Int, error)

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

Solidity: function price_scale() view returns(uint256)

func (*CurvefifactorySession) RampAGamma

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) RemoveLiquidity

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) RemoveLiquidity0

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) RemoveLiquidity1

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) RemoveLiquidityOneCoin

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) RemoveLiquidityOneCoin0

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) RemoveLiquidityOneCoin1

func (_Curvefifactory *CurvefifactorySession) 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 (*CurvefifactorySession) RevertNewParameters

func (_Curvefifactory *CurvefifactorySession) RevertNewParameters() (*types.Transaction, error)

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

Solidity: function revert_new_parameters() returns()

func (*CurvefifactorySession) StopRampAGamma

func (_Curvefifactory *CurvefifactorySession) StopRampAGamma() (*types.Transaction, error)

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

Solidity: function stop_ramp_A_gamma() returns()

func (*CurvefifactorySession) Token

func (_Curvefifactory *CurvefifactorySession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CurvefifactorySession) VirtualPrice

func (_Curvefifactory *CurvefifactorySession) VirtualPrice() (*big.Int, error)

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

Solidity: function virtual_price() view returns(uint256)

func (*CurvefifactorySession) XcpProfit

func (_Curvefifactory *CurvefifactorySession) XcpProfit() (*big.Int, error)

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

Solidity: function xcp_profit() view returns(uint256)

func (*CurvefifactorySession) XcpProfitA

func (_Curvefifactory *CurvefifactorySession) 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 CurvefifactoryStopRampA

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

CurvefifactoryStopRampA represents a StopRampA event raised by the Curvefifactory contract.

type CurvefifactoryStopRampAIterator

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

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

func (*CurvefifactoryStopRampAIterator) Close

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

func (*CurvefifactoryStopRampAIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryStopRampAIterator) 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 CurvefifactoryTokenExchange

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

CurvefifactoryTokenExchange represents a TokenExchange event raised by the Curvefifactory contract.

type CurvefifactoryTokenExchangeIterator

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

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

func (*CurvefifactoryTokenExchangeIterator) Close

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

func (*CurvefifactoryTokenExchangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefifactoryTokenExchangeIterator) 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 CurvefifactoryTransactor

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

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

func NewCurvefifactoryTransactor

func NewCurvefifactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*CurvefifactoryTransactor, error)

NewCurvefifactoryTransactor creates a new write-only instance of Curvefifactory, bound to a specific deployed contract.

func (*CurvefifactoryTransactor) AddLiquidity

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) AddLiquidity0

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) AddLiquidity1

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) ApplyNewParameters

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) ClaimAdminFees

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) CommitNewParameters

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) Exchange

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) Exchange0

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) Exchange1

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) ExchangeExtended

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) ExchangeUnderlying

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) ExchangeUnderlying0

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) Fallback

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) Initialize

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RampAGamma

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RemoveLiquidity

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RemoveLiquidity0

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RemoveLiquidity1

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RemoveLiquidityOneCoin

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RemoveLiquidityOneCoin0

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RemoveLiquidityOneCoin1

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) RevertNewParameters

func (_Curvefifactory *CurvefifactoryTransactor) 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 (*CurvefifactoryTransactor) StopRampAGamma

func (_Curvefifactory *CurvefifactoryTransactor) 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 CurvefifactoryTransactorRaw

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

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

func (*CurvefifactoryTransactorRaw) Transact

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

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

func (*CurvefifactoryTransactorRaw) Transfer

func (_Curvefifactory *CurvefifactoryTransactorRaw) 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 CurvefifactoryTransactorSession

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

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

func (*CurvefifactoryTransactorSession) AddLiquidity

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) AddLiquidity0

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) AddLiquidity1

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) ApplyNewParameters

func (_Curvefifactory *CurvefifactoryTransactorSession) ApplyNewParameters() (*types.Transaction, error)

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

Solidity: function apply_new_parameters() returns()

func (*CurvefifactoryTransactorSession) ClaimAdminFees

func (_Curvefifactory *CurvefifactoryTransactorSession) ClaimAdminFees() (*types.Transaction, error)

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

Solidity: function claim_admin_fees() returns()

func (*CurvefifactoryTransactorSession) CommitNewParameters

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) Exchange

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) Exchange0

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) Exchange1

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) ExchangeExtended

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) ExchangeUnderlying

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) ExchangeUnderlying0

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) Fallback

func (_Curvefifactory *CurvefifactoryTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*CurvefifactoryTransactorSession) Initialize

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RampAGamma

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RemoveLiquidity

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RemoveLiquidity0

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RemoveLiquidity1

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RemoveLiquidityOneCoin

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RemoveLiquidityOneCoin0

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RemoveLiquidityOneCoin1

func (_Curvefifactory *CurvefifactoryTransactorSession) 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 (*CurvefifactoryTransactorSession) RevertNewParameters

func (_Curvefifactory *CurvefifactoryTransactorSession) RevertNewParameters() (*types.Transaction, error)

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

Solidity: function revert_new_parameters() returns()

func (*CurvefifactoryTransactorSession) StopRampAGamma

func (_Curvefifactory *CurvefifactoryTransactorSession) 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