curvefi

package
v1.4.317-rc-2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurvefiABI = CurvefiMetaData.ABI

CurvefiABI is the input ABI used to generate the binding from. Deprecated: Use CurvefiMetaData.ABI instead.

View Source
var CurvefiMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"PoolAdded\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":true},{\"name\":\"rate_method_id\",\"type\":\"bytes\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"PoolRemoved\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_address_provider\",\"type\":\"address\"},{\"name\":\"_gauge_controller\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":1521},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":12102},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":12194},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":7874},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":7966},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_rates\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":36992},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauges\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[10]\"},{\"name\":\"\",\"type\":\"int128[10]\"}],\"gas\":20157},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":16583},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":162842},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_virtual_price_from_lp_token\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":1927},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_A\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":1045},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_parameters\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"A\",\"type\":\"uint256\"},{\"name\":\"future_A\",\"type\":\"uint256\"},{\"name\":\"fee\",\"type\":\"uint256\"},{\"name\":\"admin_fee\",\"type\":\"uint256\"},{\"name\":\"future_fee\",\"type\":\"uint256\"},{\"name\":\"future_admin_fee\",\"type\":\"uint256\"},{\"name\":\"future_owner\",\"type\":\"address\"},{\"name\":\"initial_A\",\"type\":\"uint256\"},{\"name\":\"initial_A_time\",\"type\":\"uint256\"},{\"name\":\"future_A_time\",\"type\":\"uint256\"}],\"gas\":6305},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fees\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":1450},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_admin_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":36454},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_indices\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"bool\"}],\"gas\":27131},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"estimate_gas_used\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":32004},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"is_meta\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":1900},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_name\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"gas\":8323},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_swap_count\",\"inputs\":[{\"name\":\"_coin\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":1951},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_swap_complement\",\"inputs\":[{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_index\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2090},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2011},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_rate_info\",\"type\":\"bytes32\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_underlying_decimals\",\"type\":\"uint256\"},{\"name\":\"_has_initial_A\",\"type\":\"bool\"},{\"name\":\"_is_v1\",\"type\":\"bool\"},{\"name\":\"_name\",\"type\":\"string\"}],\"outputs\":[],\"gas\":61485845},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_pool_without_underlying\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_rate_info\",\"type\":\"bytes32\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_use_rates\",\"type\":\"uint256\"},{\"name\":\"_has_initial_A\",\"type\":\"bool\"},{\"name\":\"_is_v1\",\"type\":\"bool\"},{\"name\":\"_name\",\"type\":\"string\"}],\"outputs\":[],\"gas\":31306062},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_metapool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_metapool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_base_pool\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[],\"gas\":779731418758},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_pool_gas_estimates\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address[5]\"},{\"name\":\"_amount\",\"type\":\"uint256[2][5]\"}],\"outputs\":[],\"gas\":390460},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_coin_gas_estimates\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address[10]\"},{\"name\":\"_amount\",\"type\":\"uint256[10]\"}],\"outputs\":[],\"gas\":392047},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_gas_estimate_contract\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_estimator\",\"type\":\"address\"}],\"outputs\":[],\"gas\":72629},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_liquidity_gauges\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_liquidity_gauges\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":400675},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"}],\"outputs\":[],\"gas\":72667},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"batch_set_pool_asset_type\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[32]\"},{\"name\":\"_asset_types\",\"type\":\"uint256[32]\"}],\"outputs\":[],\"gas\":1173447},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"address_provider\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2048},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gauge_controller\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2078},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2217},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2138},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"coin_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2168},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2307},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_from_lp_token\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2443},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_lp_token\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2473},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"last_updated\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2288}]",
}

CurvefiMetaData contains all meta data concerning the Curvefi contract.

Functions

This section is empty.

Types

type Curvefi

type Curvefi struct {
	CurvefiCaller     // Read-only binding to the contract
	CurvefiTransactor // Write-only binding to the contract
	CurvefiFilterer   // Log filterer for contract events
}

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

func NewCurvefi

func NewCurvefi(address common.Address, backend bind.ContractBackend) (*Curvefi, error)

NewCurvefi creates a new instance of Curvefi, bound to a specific deployed contract.

type CurvefiCaller

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

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

func NewCurvefiCaller

func NewCurvefiCaller(address common.Address, caller bind.ContractCaller) (*CurvefiCaller, error)

NewCurvefiCaller creates a new read-only instance of Curvefi, bound to a specific deployed contract.

func (*CurvefiCaller) AddressProvider added in v1.4.2

func (_Curvefi *CurvefiCaller) AddressProvider(opts *bind.CallOpts) (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurvefiCaller) CoinCount added in v1.4.2

func (_Curvefi *CurvefiCaller) CoinCount(opts *bind.CallOpts) (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurvefiCaller) EstimateGasUsed

func (_Curvefi *CurvefiCaller) EstimateGasUsed(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) view returns(uint256)

func (*CurvefiCaller) FindPoolForCoins

func (_Curvefi *CurvefiCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurvefiCaller) FindPoolForCoins0

func (_Curvefi *CurvefiCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurvefiCaller) GaugeController added in v1.4.2

func (_Curvefi *CurvefiCaller) GaugeController(opts *bind.CallOpts) (common.Address, error)

GaugeController is a free data retrieval call binding the contract method 0xd8b9a018.

Solidity: function gauge_controller() view returns(address)

func (*CurvefiCaller) GetA added in v1.4.2

func (_Curvefi *CurvefiCaller) GetA(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurvefiCaller) GetAdminBalances added in v1.4.2

func (_Curvefi *CurvefiCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurvefiCaller) GetBalances added in v1.4.2

func (_Curvefi *CurvefiCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurvefiCaller) GetCoin added in v1.4.2

func (_Curvefi *CurvefiCaller) GetCoin(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

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

func (*CurvefiCaller) GetCoinIndices added in v1.4.2

func (_Curvefi *CurvefiCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurvefiCaller) GetCoinSwapComplement added in v1.4.2

func (_Curvefi *CurvefiCaller) GetCoinSwapComplement(opts *bind.CallOpts, _coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurvefiCaller) GetCoinSwapCount added in v1.4.2

func (_Curvefi *CurvefiCaller) GetCoinSwapCount(opts *bind.CallOpts, _coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurvefiCaller) GetCoins added in v1.4.2

func (_Curvefi *CurvefiCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurvefiCaller) GetDecimals added in v1.4.2

func (_Curvefi *CurvefiCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurvefiCaller) GetFees added in v1.4.2

func (_Curvefi *CurvefiCaller) GetFees(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[2])

func (*CurvefiCaller) GetGauges added in v1.4.2

func (_Curvefi *CurvefiCaller) GetGauges(opts *bind.CallOpts, _pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurvefiCaller) GetLpToken added in v1.4.2

func (_Curvefi *CurvefiCaller) GetLpToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurvefiCaller) GetNCoins added in v1.4.2

func (_Curvefi *CurvefiCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256[2])

func (*CurvefiCaller) GetParameters added in v1.4.2

func (_Curvefi *CurvefiCaller) GetParameters(opts *bind.CallOpts, _pool common.Address) (struct {
	A              *big.Int
	FutureA        *big.Int
	Fee            *big.Int
	AdminFee       *big.Int
	FutureFee      *big.Int
	FutureAdminFee *big.Int
	FutureOwner    common.Address
	InitialA       *big.Int
	InitialATime   *big.Int
	FutureATime    *big.Int
}, error)

GetParameters is a free data retrieval call binding the contract method 0x1f80a957.

Solidity: function get_parameters(address _pool) view returns(uint256 A, uint256 future_A, uint256 fee, uint256 admin_fee, uint256 future_fee, uint256 future_admin_fee, address future_owner, uint256 initial_A, uint256 initial_A_time, uint256 future_A_time)

func (*CurvefiCaller) GetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiCaller) GetPoolAssetType(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurvefiCaller) GetPoolFromLpToken added in v1.4.2

func (_Curvefi *CurvefiCaller) GetPoolFromLpToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurvefiCaller) GetPoolName added in v1.4.2

func (_Curvefi *CurvefiCaller) GetPoolName(opts *bind.CallOpts, _pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurvefiCaller) GetRates added in v1.4.2

func (_Curvefi *CurvefiCaller) GetRates(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetRates is a free data retrieval call binding the contract method 0xce99e45a.

Solidity: function get_rates(address _pool) view returns(uint256[8])

func (*CurvefiCaller) GetUnderlyingBalances added in v1.4.2

func (_Curvefi *CurvefiCaller) GetUnderlyingBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurvefiCaller) GetUnderlyingCoins added in v1.4.2

func (_Curvefi *CurvefiCaller) GetUnderlyingCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurvefiCaller) GetUnderlyingDecimals added in v1.4.2

func (_Curvefi *CurvefiCaller) GetUnderlyingDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurvefiCaller) GetVirtualPriceFromLpToken added in v1.4.2

func (_Curvefi *CurvefiCaller) GetVirtualPriceFromLpToken(opts *bind.CallOpts, _token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurvefiCaller) IsMeta added in v1.4.2

func (_Curvefi *CurvefiCaller) IsMeta(opts *bind.CallOpts, _pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurvefiCaller) LastUpdated added in v1.4.2

func (_Curvefi *CurvefiCaller) LastUpdated(opts *bind.CallOpts) (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurvefiCaller) PoolCount

func (_Curvefi *CurvefiCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurvefiCaller) PoolList

func (_Curvefi *CurvefiCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

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

type CurvefiCallerRaw

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

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

func (*CurvefiCallerRaw) Call

func (_Curvefi *CurvefiCallerRaw) 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 CurvefiCallerSession

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

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

func (*CurvefiCallerSession) AddressProvider added in v1.4.2

func (_Curvefi *CurvefiCallerSession) AddressProvider() (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurvefiCallerSession) CoinCount added in v1.4.2

func (_Curvefi *CurvefiCallerSession) CoinCount() (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurvefiCallerSession) EstimateGasUsed

func (_Curvefi *CurvefiCallerSession) EstimateGasUsed(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) view returns(uint256)

func (*CurvefiCallerSession) FindPoolForCoins

func (_Curvefi *CurvefiCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurvefiCallerSession) FindPoolForCoins0

func (_Curvefi *CurvefiCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurvefiCallerSession) GaugeController added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GaugeController() (common.Address, error)

GaugeController is a free data retrieval call binding the contract method 0xd8b9a018.

Solidity: function gauge_controller() view returns(address)

func (*CurvefiCallerSession) GetA added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurvefiCallerSession) GetAdminBalances added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetAdminBalances(_pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurvefiCallerSession) GetBalances added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetBalances(_pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurvefiCallerSession) GetCoin added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetCoin(arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

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

func (*CurvefiCallerSession) GetCoinIndices added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurvefiCallerSession) GetCoinSwapComplement added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetCoinSwapComplement(_coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurvefiCallerSession) GetCoinSwapCount added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetCoinSwapCount(_coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurvefiCallerSession) GetCoins added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetCoins(_pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurvefiCallerSession) GetDecimals added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetDecimals(_pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurvefiCallerSession) GetFees added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetFees(_pool common.Address) ([2]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[2])

func (*CurvefiCallerSession) GetGauges added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetGauges(_pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurvefiCallerSession) GetLpToken added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetLpToken(arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurvefiCallerSession) GetNCoins added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetNCoins(_pool common.Address) ([2]*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256[2])

func (*CurvefiCallerSession) GetParameters added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetParameters(_pool common.Address) (struct {
	A              *big.Int
	FutureA        *big.Int
	Fee            *big.Int
	AdminFee       *big.Int
	FutureFee      *big.Int
	FutureAdminFee *big.Int
	FutureOwner    common.Address
	InitialA       *big.Int
	InitialATime   *big.Int
	FutureATime    *big.Int
}, error)

GetParameters is a free data retrieval call binding the contract method 0x1f80a957.

Solidity: function get_parameters(address _pool) view returns(uint256 A, uint256 future_A, uint256 fee, uint256 admin_fee, uint256 future_fee, uint256 future_admin_fee, address future_owner, uint256 initial_A, uint256 initial_A_time, uint256 future_A_time)

func (*CurvefiCallerSession) GetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurvefiCallerSession) GetPoolFromLpToken added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetPoolFromLpToken(arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurvefiCallerSession) GetPoolName added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetPoolName(_pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurvefiCallerSession) GetRates added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetRates(_pool common.Address) ([8]*big.Int, error)

GetRates is a free data retrieval call binding the contract method 0xce99e45a.

Solidity: function get_rates(address _pool) view returns(uint256[8])

func (*CurvefiCallerSession) GetUnderlyingBalances added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurvefiCallerSession) GetUnderlyingCoins added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurvefiCallerSession) GetUnderlyingDecimals added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurvefiCallerSession) GetVirtualPriceFromLpToken added in v1.4.2

func (_Curvefi *CurvefiCallerSession) GetVirtualPriceFromLpToken(_token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurvefiCallerSession) IsMeta added in v1.4.2

func (_Curvefi *CurvefiCallerSession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurvefiCallerSession) LastUpdated added in v1.4.2

func (_Curvefi *CurvefiCallerSession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurvefiCallerSession) PoolCount

func (_Curvefi *CurvefiCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurvefiCallerSession) PoolList

func (_Curvefi *CurvefiCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

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

type CurvefiFilterer

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

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

func NewCurvefiFilterer

func NewCurvefiFilterer(address common.Address, filterer bind.ContractFilterer) (*CurvefiFilterer, error)

NewCurvefiFilterer creates a new log filterer instance of Curvefi, bound to a specific deployed contract.

func (*CurvefiFilterer) FilterPoolAdded

func (_Curvefi *CurvefiFilterer) FilterPoolAdded(opts *bind.FilterOpts, pool []common.Address) (*CurvefiPoolAddedIterator, error)

FilterPoolAdded is a free log retrieval operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurvefiFilterer) FilterPoolRemoved

func (_Curvefi *CurvefiFilterer) FilterPoolRemoved(opts *bind.FilterOpts, pool []common.Address) (*CurvefiPoolRemovedIterator, error)

FilterPoolRemoved is a free log retrieval operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurvefiFilterer) ParsePoolAdded

func (_Curvefi *CurvefiFilterer) ParsePoolAdded(log types.Log) (*CurvefiPoolAdded, error)

ParsePoolAdded is a log parse operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurvefiFilterer) ParsePoolRemoved

func (_Curvefi *CurvefiFilterer) ParsePoolRemoved(log types.Log) (*CurvefiPoolRemoved, error)

ParsePoolRemoved is a log parse operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurvefiFilterer) WatchPoolAdded

func (_Curvefi *CurvefiFilterer) WatchPoolAdded(opts *bind.WatchOpts, sink chan<- *CurvefiPoolAdded, pool []common.Address) (event.Subscription, error)

WatchPoolAdded is a free log subscription operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurvefiFilterer) WatchPoolRemoved

func (_Curvefi *CurvefiFilterer) WatchPoolRemoved(opts *bind.WatchOpts, sink chan<- *CurvefiPoolRemoved, pool []common.Address) (event.Subscription, error)

WatchPoolRemoved is a free log subscription operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

type CurvefiPoolAdded

type CurvefiPoolAdded struct {
	Pool         common.Address
	RateMethodId []byte
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefiPoolAdded represents a PoolAdded event raised by the Curvefi contract.

type CurvefiPoolAddedIterator

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

CurvefiPoolAddedIterator is returned from FilterPoolAdded and is used to iterate over the raw logs and unpacked data for PoolAdded events raised by the Curvefi contract.

func (*CurvefiPoolAddedIterator) Close

func (it *CurvefiPoolAddedIterator) Close() error

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

func (*CurvefiPoolAddedIterator) Error

func (it *CurvefiPoolAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefiPoolAddedIterator) Next

func (it *CurvefiPoolAddedIterator) Next() bool

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 CurvefiPoolRemoved

type CurvefiPoolRemoved struct {
	Pool common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

CurvefiPoolRemoved represents a PoolRemoved event raised by the Curvefi contract.

type CurvefiPoolRemovedIterator

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

CurvefiPoolRemovedIterator is returned from FilterPoolRemoved and is used to iterate over the raw logs and unpacked data for PoolRemoved events raised by the Curvefi contract.

func (*CurvefiPoolRemovedIterator) Close

func (it *CurvefiPoolRemovedIterator) Close() error

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

func (*CurvefiPoolRemovedIterator) Error

func (it *CurvefiPoolRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefiPoolRemovedIterator) Next

func (it *CurvefiPoolRemovedIterator) Next() bool

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 CurvefiRaw

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

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

func (*CurvefiRaw) Call

func (_Curvefi *CurvefiRaw) 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 (*CurvefiRaw) Transact

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

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

func (*CurvefiRaw) Transfer

func (_Curvefi *CurvefiRaw) 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 CurvefiSession

type CurvefiSession struct {
	Contract     *Curvefi          // 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
}

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

func (*CurvefiSession) AddMetapool added in v1.4.2

func (_Curvefi *CurvefiSession) AddMetapool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddMetapool is a paid mutator transaction binding the contract method 0xce6f94e1.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name) returns()

func (*CurvefiSession) AddMetapool0 added in v1.4.2

func (_Curvefi *CurvefiSession) AddMetapool0(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string, _base_pool common.Address) (*types.Transaction, error)

AddMetapool0 is a paid mutator transaction binding the contract method 0xd2a06baf.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name, address _base_pool) returns()

func (*CurvefiSession) AddPool

func (_Curvefi *CurvefiSession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _underlying_decimals *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x99209aa1.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _underlying_decimals, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurvefiSession) AddPoolWithoutUnderlying

func (_Curvefi *CurvefiSession) AddPoolWithoutUnderlying(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _use_rates *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0xdcee86a3.

Solidity: function add_pool_without_underlying(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _use_rates, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurvefiSession) AddressProvider added in v1.4.2

func (_Curvefi *CurvefiSession) AddressProvider() (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurvefiSession) BatchSetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurvefiSession) CoinCount added in v1.4.2

func (_Curvefi *CurvefiSession) CoinCount() (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurvefiSession) EstimateGasUsed

func (_Curvefi *CurvefiSession) EstimateGasUsed(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) view returns(uint256)

func (*CurvefiSession) FindPoolForCoins

func (_Curvefi *CurvefiSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurvefiSession) FindPoolForCoins0

func (_Curvefi *CurvefiSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurvefiSession) GaugeController added in v1.4.2

func (_Curvefi *CurvefiSession) GaugeController() (common.Address, error)

GaugeController is a free data retrieval call binding the contract method 0xd8b9a018.

Solidity: function gauge_controller() view returns(address)

func (*CurvefiSession) GetA added in v1.4.2

func (_Curvefi *CurvefiSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurvefiSession) GetAdminBalances added in v1.4.2

func (_Curvefi *CurvefiSession) GetAdminBalances(_pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurvefiSession) GetBalances added in v1.4.2

func (_Curvefi *CurvefiSession) GetBalances(_pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurvefiSession) GetCoin added in v1.4.2

func (_Curvefi *CurvefiSession) GetCoin(arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

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

func (*CurvefiSession) GetCoinIndices added in v1.4.2

func (_Curvefi *CurvefiSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurvefiSession) GetCoinSwapComplement added in v1.4.2

func (_Curvefi *CurvefiSession) GetCoinSwapComplement(_coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurvefiSession) GetCoinSwapCount added in v1.4.2

func (_Curvefi *CurvefiSession) GetCoinSwapCount(_coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurvefiSession) GetCoins added in v1.4.2

func (_Curvefi *CurvefiSession) GetCoins(_pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurvefiSession) GetDecimals added in v1.4.2

func (_Curvefi *CurvefiSession) GetDecimals(_pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurvefiSession) GetFees added in v1.4.2

func (_Curvefi *CurvefiSession) GetFees(_pool common.Address) ([2]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[2])

func (*CurvefiSession) GetGauges added in v1.4.2

func (_Curvefi *CurvefiSession) GetGauges(_pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurvefiSession) GetLpToken added in v1.4.2

func (_Curvefi *CurvefiSession) GetLpToken(arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurvefiSession) GetNCoins added in v1.4.2

func (_Curvefi *CurvefiSession) GetNCoins(_pool common.Address) ([2]*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256[2])

func (*CurvefiSession) GetParameters added in v1.4.2

func (_Curvefi *CurvefiSession) GetParameters(_pool common.Address) (struct {
	A              *big.Int
	FutureA        *big.Int
	Fee            *big.Int
	AdminFee       *big.Int
	FutureFee      *big.Int
	FutureAdminFee *big.Int
	FutureOwner    common.Address
	InitialA       *big.Int
	InitialATime   *big.Int
	FutureATime    *big.Int
}, error)

GetParameters is a free data retrieval call binding the contract method 0x1f80a957.

Solidity: function get_parameters(address _pool) view returns(uint256 A, uint256 future_A, uint256 fee, uint256 admin_fee, uint256 future_fee, uint256 future_admin_fee, address future_owner, uint256 initial_A, uint256 initial_A_time, uint256 future_A_time)

func (*CurvefiSession) GetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurvefiSession) GetPoolFromLpToken added in v1.4.2

func (_Curvefi *CurvefiSession) GetPoolFromLpToken(arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurvefiSession) GetPoolName added in v1.4.2

func (_Curvefi *CurvefiSession) GetPoolName(_pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurvefiSession) GetRates added in v1.4.2

func (_Curvefi *CurvefiSession) GetRates(_pool common.Address) ([8]*big.Int, error)

GetRates is a free data retrieval call binding the contract method 0xce99e45a.

Solidity: function get_rates(address _pool) view returns(uint256[8])

func (*CurvefiSession) GetUnderlyingBalances added in v1.4.2

func (_Curvefi *CurvefiSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurvefiSession) GetUnderlyingCoins added in v1.4.2

func (_Curvefi *CurvefiSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurvefiSession) GetUnderlyingDecimals added in v1.4.2

func (_Curvefi *CurvefiSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurvefiSession) GetVirtualPriceFromLpToken added in v1.4.2

func (_Curvefi *CurvefiSession) GetVirtualPriceFromLpToken(_token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurvefiSession) IsMeta added in v1.4.2

func (_Curvefi *CurvefiSession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurvefiSession) LastUpdated added in v1.4.2

func (_Curvefi *CurvefiSession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurvefiSession) PoolCount

func (_Curvefi *CurvefiSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurvefiSession) PoolList

func (_Curvefi *CurvefiSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

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

func (*CurvefiSession) RemovePool

func (_Curvefi *CurvefiSession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurvefiSession) SetCoinGasEstimates

func (_Curvefi *CurvefiSession) SetCoinGasEstimates(_addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurvefiSession) SetGasEstimateContract

func (_Curvefi *CurvefiSession) SetGasEstimateContract(_pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurvefiSession) SetLiquidityGauges added in v1.4.2

func (_Curvefi *CurvefiSession) SetLiquidityGauges(_pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

func (*CurvefiSession) SetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiSession) SetPoolAssetType(_pool common.Address, _asset_type *big.Int) (*types.Transaction, error)

SetPoolAssetType is a paid mutator transaction binding the contract method 0x09e76774.

Solidity: function set_pool_asset_type(address _pool, uint256 _asset_type) returns()

func (*CurvefiSession) SetPoolGasEstimates

func (_Curvefi *CurvefiSession) SetPoolGasEstimates(_addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

type CurvefiTransactor

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

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

func NewCurvefiTransactor

func NewCurvefiTransactor(address common.Address, transactor bind.ContractTransactor) (*CurvefiTransactor, error)

NewCurvefiTransactor creates a new write-only instance of Curvefi, bound to a specific deployed contract.

func (*CurvefiTransactor) AddMetapool added in v1.4.2

func (_Curvefi *CurvefiTransactor) AddMetapool(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddMetapool is a paid mutator transaction binding the contract method 0xce6f94e1.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name) returns()

func (*CurvefiTransactor) AddMetapool0 added in v1.4.2

func (_Curvefi *CurvefiTransactor) AddMetapool0(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string, _base_pool common.Address) (*types.Transaction, error)

AddMetapool0 is a paid mutator transaction binding the contract method 0xd2a06baf.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name, address _base_pool) returns()

func (*CurvefiTransactor) AddPool

func (_Curvefi *CurvefiTransactor) AddPool(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _underlying_decimals *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x99209aa1.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _underlying_decimals, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurvefiTransactor) AddPoolWithoutUnderlying

func (_Curvefi *CurvefiTransactor) AddPoolWithoutUnderlying(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _use_rates *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0xdcee86a3.

Solidity: function add_pool_without_underlying(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _use_rates, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurvefiTransactor) BatchSetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiTransactor) BatchSetPoolAssetType(opts *bind.TransactOpts, _pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurvefiTransactor) RemovePool

func (_Curvefi *CurvefiTransactor) RemovePool(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurvefiTransactor) SetCoinGasEstimates

func (_Curvefi *CurvefiTransactor) SetCoinGasEstimates(opts *bind.TransactOpts, _addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurvefiTransactor) SetGasEstimateContract

func (_Curvefi *CurvefiTransactor) SetGasEstimateContract(opts *bind.TransactOpts, _pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurvefiTransactor) SetLiquidityGauges added in v1.4.2

func (_Curvefi *CurvefiTransactor) SetLiquidityGauges(opts *bind.TransactOpts, _pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

func (*CurvefiTransactor) SetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiTransactor) SetPoolAssetType(opts *bind.TransactOpts, _pool common.Address, _asset_type *big.Int) (*types.Transaction, error)

SetPoolAssetType is a paid mutator transaction binding the contract method 0x09e76774.

Solidity: function set_pool_asset_type(address _pool, uint256 _asset_type) returns()

func (*CurvefiTransactor) SetPoolGasEstimates

func (_Curvefi *CurvefiTransactor) SetPoolGasEstimates(opts *bind.TransactOpts, _addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

type CurvefiTransactorRaw

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

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

func (*CurvefiTransactorRaw) Transact

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

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

func (*CurvefiTransactorRaw) Transfer

func (_Curvefi *CurvefiTransactorRaw) 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 CurvefiTransactorSession

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

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

func (*CurvefiTransactorSession) AddMetapool added in v1.4.2

func (_Curvefi *CurvefiTransactorSession) AddMetapool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddMetapool is a paid mutator transaction binding the contract method 0xce6f94e1.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name) returns()

func (*CurvefiTransactorSession) AddMetapool0 added in v1.4.2

func (_Curvefi *CurvefiTransactorSession) AddMetapool0(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string, _base_pool common.Address) (*types.Transaction, error)

AddMetapool0 is a paid mutator transaction binding the contract method 0xd2a06baf.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name, address _base_pool) returns()

func (*CurvefiTransactorSession) AddPool

func (_Curvefi *CurvefiTransactorSession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _underlying_decimals *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x99209aa1.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _underlying_decimals, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurvefiTransactorSession) AddPoolWithoutUnderlying

func (_Curvefi *CurvefiTransactorSession) AddPoolWithoutUnderlying(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _use_rates *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0xdcee86a3.

Solidity: function add_pool_without_underlying(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _use_rates, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurvefiTransactorSession) BatchSetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiTransactorSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurvefiTransactorSession) RemovePool

func (_Curvefi *CurvefiTransactorSession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurvefiTransactorSession) SetCoinGasEstimates

func (_Curvefi *CurvefiTransactorSession) SetCoinGasEstimates(_addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurvefiTransactorSession) SetGasEstimateContract

func (_Curvefi *CurvefiTransactorSession) SetGasEstimateContract(_pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurvefiTransactorSession) SetLiquidityGauges added in v1.4.2

func (_Curvefi *CurvefiTransactorSession) SetLiquidityGauges(_pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

func (*CurvefiTransactorSession) SetPoolAssetType added in v1.4.2

func (_Curvefi *CurvefiTransactorSession) SetPoolAssetType(_pool common.Address, _asset_type *big.Int) (*types.Transaction, error)

SetPoolAssetType is a paid mutator transaction binding the contract method 0x09e76774.

Solidity: function set_pool_asset_type(address _pool, uint256 _asset_type) returns()

func (*CurvefiTransactorSession) SetPoolGasEstimates

func (_Curvefi *CurvefiTransactorSession) SetPoolGasEstimates(_addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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