Documentation ¶
Index ¶
- Variables
- type Curvefimeta
- type CurvefimetaBasePoolAdded
- type CurvefimetaBasePoolAddedIterator
- type CurvefimetaCaller
- func (_Curvefimeta *CurvefimetaCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) BasePoolAssets(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Curvefimeta *CurvefimetaCaller) BasePoolCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) BasePoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GaugeImplementation(opts *bind.CallOpts) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GetA(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetBasePool(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, ...) (*big.Int, *big.Int, bool, error)
- func (_Curvefimeta *CurvefimetaCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([4]common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetFeeReceiver(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GetFees(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetGauge(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GetImplementationAddress(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GetMetaNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetMetapoolRates(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetPoolAssetType(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetUnderlyingBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) GetUnderlyingCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) GetUnderlyingDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) IsMeta(opts *bind.CallOpts, _pool common.Address) (bool, error)
- func (_Curvefimeta *CurvefimetaCaller) Manager(opts *bind.CallOpts) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) MetapoolImplementations(opts *bind.CallOpts, _base_pool common.Address) ([10]common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) PlainImplementations(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- type CurvefimetaCallerRaw
- type CurvefimetaCallerSession
- func (_Curvefimeta *CurvefimetaCallerSession) Admin() (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) BasePoolAssets(arg0 common.Address) (bool, error)
- func (_Curvefimeta *CurvefimetaCallerSession) BasePoolCount() (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) BasePoolList(arg0 *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) FutureAdmin() (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GaugeImplementation() (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetA(_pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetBalances(_pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetBasePool(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetCoins(_pool common.Address) ([4]common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetDecimals(_pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetFeeReceiver(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetGauge(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetImplementationAddress(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetNCoins(_pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) IsMeta(_pool common.Address) (bool, error)
- func (_Curvefimeta *CurvefimetaCallerSession) Manager() (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaCallerSession) PoolCount() (*big.Int, error)
- func (_Curvefimeta *CurvefimetaCallerSession) PoolList(arg0 *big.Int) (common.Address, error)
- type CurvefimetaFilterer
- func (_Curvefimeta *CurvefimetaFilterer) FilterBasePoolAdded(opts *bind.FilterOpts) (*CurvefimetaBasePoolAddedIterator, error)
- func (_Curvefimeta *CurvefimetaFilterer) FilterLiquidityGaugeDeployed(opts *bind.FilterOpts) (*CurvefimetaLiquidityGaugeDeployedIterator, error)
- func (_Curvefimeta *CurvefimetaFilterer) FilterMetaPoolDeployed(opts *bind.FilterOpts) (*CurvefimetaMetaPoolDeployedIterator, error)
- func (_Curvefimeta *CurvefimetaFilterer) FilterPlainPoolDeployed(opts *bind.FilterOpts) (*CurvefimetaPlainPoolDeployedIterator, error)
- func (_Curvefimeta *CurvefimetaFilterer) ParseBasePoolAdded(log types.Log) (*CurvefimetaBasePoolAdded, error)
- func (_Curvefimeta *CurvefimetaFilterer) ParseLiquidityGaugeDeployed(log types.Log) (*CurvefimetaLiquidityGaugeDeployed, error)
- func (_Curvefimeta *CurvefimetaFilterer) ParseMetaPoolDeployed(log types.Log) (*CurvefimetaMetaPoolDeployed, error)
- func (_Curvefimeta *CurvefimetaFilterer) ParsePlainPoolDeployed(log types.Log) (*CurvefimetaPlainPoolDeployed, error)
- func (_Curvefimeta *CurvefimetaFilterer) WatchBasePoolAdded(opts *bind.WatchOpts, sink chan<- *CurvefimetaBasePoolAdded) (event.Subscription, error)
- func (_Curvefimeta *CurvefimetaFilterer) WatchLiquidityGaugeDeployed(opts *bind.WatchOpts, sink chan<- *CurvefimetaLiquidityGaugeDeployed) (event.Subscription, error)
- func (_Curvefimeta *CurvefimetaFilterer) WatchMetaPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurvefimetaMetaPoolDeployed) (event.Subscription, error)
- func (_Curvefimeta *CurvefimetaFilterer) WatchPlainPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurvefimetaPlainPoolDeployed) (event.Subscription, error)
- type CurvefimetaLiquidityGaugeDeployed
- type CurvefimetaLiquidityGaugeDeployedIterator
- type CurvefimetaMetaPoolDeployed
- type CurvefimetaMetaPoolDeployedIterator
- type CurvefimetaPlainPoolDeployed
- type CurvefimetaPlainPoolDeployedIterator
- type CurvefimetaRaw
- func (_Curvefimeta *CurvefimetaRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Curvefimeta *CurvefimetaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CurvefimetaSession
- func (_Curvefimeta *CurvefimetaSession) AcceptTransferOwnership() (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) Admin() (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) BasePoolAssets(arg0 common.Address) (bool, error)
- func (_Curvefimeta *CurvefimetaSession) BasePoolCount() (*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) BasePoolList(arg0 *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) ConvertMetapoolFees() (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) DeployGauge(_pool common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) FutureAdmin() (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GaugeImplementation() (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GetA(_pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetBalances(_pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetBasePool(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)
- func (_Curvefimeta *CurvefimetaSession) GetCoins(_pool common.Address) ([4]common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GetDecimals(_pool common.Address) ([4]*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetFeeReceiver(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetGauge(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GetImplementationAddress(_pool common.Address) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetNCoins(_pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) IsMeta(_pool common.Address) (bool, error)
- func (_Curvefimeta *CurvefimetaSession) Manager() (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) PoolCount() (*big.Int, error)
- func (_Curvefimeta *CurvefimetaSession) PoolList(arg0 *big.Int) (common.Address, error)
- func (_Curvefimeta *CurvefimetaSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) SetManager(_manager common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
- type CurvefimetaTransactor
- func (_Curvefimeta *CurvefimetaTransactor) AcceptTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) AddBasePool(opts *bind.TransactOpts, _base_pool common.Address, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) AddExistingMetapools(opts *bind.TransactOpts, _pools [10]common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) BatchSetPoolAssetType(opts *bind.TransactOpts, _pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) ConvertMetapoolFees(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) DeployGauge(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) DeployMetapool(opts *bind.TransactOpts, _base_pool common.Address, _name string, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) DeployMetapool0(opts *bind.TransactOpts, _base_pool common.Address, _name string, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) DeployPlainPool(opts *bind.TransactOpts, _name string, _symbol string, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) DeployPlainPool0(opts *bind.TransactOpts, _name string, _symbol string, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) DeployPlainPool1(opts *bind.TransactOpts, _name string, _symbol string, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) SetFeeReceiver(opts *bind.TransactOpts, _base_pool common.Address, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) SetGaugeImplementation(opts *bind.TransactOpts, _gauge_implementation common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) SetManager(opts *bind.TransactOpts, _manager common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) SetMetapoolImplementations(opts *bind.TransactOpts, _base_pool common.Address, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactor) SetPlainImplementations(opts *bind.TransactOpts, _n_coins *big.Int, ...) (*types.Transaction, error)
- type CurvefimetaTransactorRaw
- type CurvefimetaTransactorSession
- func (_Curvefimeta *CurvefimetaTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) ConvertMetapoolFees() (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) DeployGauge(_pool common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, ...) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) SetManager(_manager common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)
- func (_Curvefimeta *CurvefimetaTransactorSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var CurvefimetaABI = CurvefimetaMetaData.ABI
CurvefimetaABI is the input ABI used to generate the binding from. Deprecated: Use CurvefimetaMetaData.ABI instead.
var CurvefimetaMetaData = &bind.MetaData{
ABI: "[{\"name\":\"BasePoolAdded\",\"inputs\":[{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"PlainPoolDeployed\",\"inputs\":[{\"name\":\"coins\",\"type\":\"address[4]\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"MetaPoolDeployed\",\"inputs\":[{\"name\":\"coin\",\"type\":\"address\",\"indexed\":false},{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"LiquidityGaugeDeployed\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"gauge\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[10]\"}],\"gas\":21716},{\"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_base_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2663},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2699},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_meta_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5201},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[4]\"}],\"gas\":9164},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":21345},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20185},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":19730},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_metapool_rates\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":5281},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20435},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":39733},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_A\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3135},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fees\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5821},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_admin_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":13535},{\"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\":33407},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3089},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_implementation_address\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3119},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"is_meta\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3152},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5450},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fee_receiver\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":5480},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":93079},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_base_pool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":1206132},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":382072},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_plain_implementations\",\"inputs\":[{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":379687},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_gauge_implementation\",\"inputs\":[{\"name\":\"_gauge_implementation\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38355},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"batch_set_pool_asset_type\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[32]\"},{\"name\":\"_asset_types\",\"type\":\"uint256[32]\"}],\"outputs\":[],\"gas\":1139545},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"commit_transfer_ownership\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38415},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"accept_transfer_ownership\",\"inputs\":[],\"outputs\":[],\"gas\":58366},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_manager\",\"inputs\":[{\"name\":\"_manager\",\"type\":\"address\"}],\"outputs\":[],\"gas\":40996},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_fee_receiver\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38770},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"convert_metapool_fees\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":12880},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_existing_metapools\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[10]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":8610792},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3438},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3468},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"manager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3498},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3573},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3558},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3633},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3618},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_assets\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3863},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"plain_implementations\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"},{\"name\":\"arg1\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3838},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gauge_implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3708}]",
}
CurvefimetaMetaData contains all meta data concerning the Curvefimeta contract.
Functions ¶
This section is empty.
Types ¶
type Curvefimeta ¶
type Curvefimeta struct { CurvefimetaCaller // Read-only binding to the contract CurvefimetaTransactor // Write-only binding to the contract CurvefimetaFilterer // Log filterer for contract events }
Curvefimeta is an auto generated Go binding around an Ethereum contract.
func NewCurvefimeta ¶
func NewCurvefimeta(address common.Address, backend bind.ContractBackend) (*Curvefimeta, error)
NewCurvefimeta creates a new instance of Curvefimeta, bound to a specific deployed contract.
type CurvefimetaBasePoolAdded ¶
type CurvefimetaBasePoolAdded struct { BasePool common.Address Raw types.Log // Blockchain specific contextual infos }
CurvefimetaBasePoolAdded represents a BasePoolAdded event raised by the Curvefimeta contract.
type CurvefimetaBasePoolAddedIterator ¶
type CurvefimetaBasePoolAddedIterator struct { Event *CurvefimetaBasePoolAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurvefimetaBasePoolAddedIterator is returned from FilterBasePoolAdded and is used to iterate over the raw logs and unpacked data for BasePoolAdded events raised by the Curvefimeta contract.
func (*CurvefimetaBasePoolAddedIterator) Close ¶
func (it *CurvefimetaBasePoolAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurvefimetaBasePoolAddedIterator) Error ¶
func (it *CurvefimetaBasePoolAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurvefimetaBasePoolAddedIterator) Next ¶
func (it *CurvefimetaBasePoolAddedIterator) 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 CurvefimetaCaller ¶
type CurvefimetaCaller struct {
// contains filtered or unexported fields
}
CurvefimetaCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCurvefimetaCaller ¶
func NewCurvefimetaCaller(address common.Address, caller bind.ContractCaller) (*CurvefimetaCaller, error)
NewCurvefimetaCaller creates a new read-only instance of Curvefimeta, bound to a specific deployed contract.
func (*CurvefimetaCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*CurvefimetaCaller) BasePoolAssets ¶
func (_Curvefimeta *CurvefimetaCaller) BasePoolAssets(opts *bind.CallOpts, arg0 common.Address) (bool, error)
BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.
Solidity: function base_pool_assets(address arg0) view returns(bool)
func (*CurvefimetaCaller) BasePoolCount ¶
BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.
Solidity: function base_pool_count() view returns(uint256)
func (*CurvefimetaCaller) BasePoolList ¶
func (_Curvefimeta *CurvefimetaCaller) BasePoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.
Solidity: function base_pool_list(uint256 arg0) view returns(address)
func (*CurvefimetaCaller) FindPoolForCoins ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) FindPoolForCoins0 ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) FutureAdmin ¶
FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.
Solidity: function future_admin() view returns(address)
func (*CurvefimetaCaller) GaugeImplementation ¶
func (_Curvefimeta *CurvefimetaCaller) GaugeImplementation(opts *bind.CallOpts) (common.Address, error)
GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.
Solidity: function gauge_implementation() view returns(address)
func (*CurvefimetaCaller) GetA ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) GetAdminBalances ¶
func (_Curvefimeta *CurvefimetaCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([4]*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[4])
func (*CurvefimetaCaller) GetBalances ¶
func (_Curvefimeta *CurvefimetaCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)
GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.
Solidity: function get_balances(address _pool) view returns(uint256[4])
func (*CurvefimetaCaller) GetBasePool ¶
func (_Curvefimeta *CurvefimetaCaller) GetBasePool(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.
Solidity: function get_base_pool(address _pool) view returns(address)
func (*CurvefimetaCaller) GetCoinIndices ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) GetCoins ¶
func (_Curvefimeta *CurvefimetaCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([4]common.Address, error)
GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.
Solidity: function get_coins(address _pool) view returns(address[4])
func (*CurvefimetaCaller) GetDecimals ¶
func (_Curvefimeta *CurvefimetaCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)
GetDecimals is a free data retrieval call binding the contract method 0x52b51555.
Solidity: function get_decimals(address _pool) view returns(uint256[4])
func (*CurvefimetaCaller) GetFeeReceiver ¶
func (_Curvefimeta *CurvefimetaCaller) GetFeeReceiver(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.
Solidity: function get_fee_receiver(address _pool) view returns(address)
func (*CurvefimetaCaller) GetFees ¶
func (_Curvefimeta *CurvefimetaCaller) GetFees(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)
GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.
Solidity: function get_fees(address _pool) view returns(uint256, uint256)
func (*CurvefimetaCaller) GetGauge ¶
func (_Curvefimeta *CurvefimetaCaller) GetGauge(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.
Solidity: function get_gauge(address _pool) view returns(address)
func (*CurvefimetaCaller) GetImplementationAddress ¶
func (_Curvefimeta *CurvefimetaCaller) GetImplementationAddress(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.
Solidity: function get_implementation_address(address _pool) view returns(address)
func (*CurvefimetaCaller) GetMetaNCoins ¶
func (_Curvefimeta *CurvefimetaCaller) GetMetaNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)
GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.
Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)
func (*CurvefimetaCaller) GetMetapoolRates ¶
func (_Curvefimeta *CurvefimetaCaller) GetMetapoolRates(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)
GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.
Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])
func (*CurvefimetaCaller) GetNCoins ¶
func (_Curvefimeta *CurvefimetaCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) (*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)
func (*CurvefimetaCaller) GetPoolAssetType ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) GetUnderlyingBalances ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) GetUnderlyingCoins ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) GetUnderlyingDecimals ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) IsMeta ¶
func (_Curvefimeta *CurvefimetaCaller) 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 (*CurvefimetaCaller) Manager ¶
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*CurvefimetaCaller) MetapoolImplementations ¶
func (_Curvefimeta *CurvefimetaCaller) MetapoolImplementations(opts *bind.CallOpts, _base_pool common.Address) ([10]common.Address, error)
MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.
Solidity: function metapool_implementations(address _base_pool) view returns(address[10])
func (*CurvefimetaCaller) PlainImplementations ¶
func (_Curvefimeta *CurvefimetaCaller) PlainImplementations(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)
PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.
Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)
type CurvefimetaCallerRaw ¶
type CurvefimetaCallerRaw struct {
Contract *CurvefimetaCaller // Generic read-only contract binding to access the raw methods on
}
CurvefimetaCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CurvefimetaCallerRaw) Call ¶
func (_Curvefimeta *CurvefimetaCallerRaw) 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 CurvefimetaCallerSession ¶
type CurvefimetaCallerSession struct { Contract *CurvefimetaCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CurvefimetaCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CurvefimetaCallerSession) Admin ¶
func (_Curvefimeta *CurvefimetaCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*CurvefimetaCallerSession) BasePoolAssets ¶
func (_Curvefimeta *CurvefimetaCallerSession) BasePoolAssets(arg0 common.Address) (bool, error)
BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.
Solidity: function base_pool_assets(address arg0) view returns(bool)
func (*CurvefimetaCallerSession) BasePoolCount ¶
func (_Curvefimeta *CurvefimetaCallerSession) BasePoolCount() (*big.Int, error)
BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.
Solidity: function base_pool_count() view returns(uint256)
func (*CurvefimetaCallerSession) BasePoolList ¶
BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.
Solidity: function base_pool_list(uint256 arg0) view returns(address)
func (*CurvefimetaCallerSession) FindPoolForCoins ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) FindPoolForCoins0 ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) FutureAdmin ¶
func (_Curvefimeta *CurvefimetaCallerSession) FutureAdmin() (common.Address, error)
FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.
Solidity: function future_admin() view returns(address)
func (*CurvefimetaCallerSession) GaugeImplementation ¶
func (_Curvefimeta *CurvefimetaCallerSession) GaugeImplementation() (common.Address, error)
GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.
Solidity: function gauge_implementation() view returns(address)
func (*CurvefimetaCallerSession) GetA ¶
GetA is a free data retrieval call binding the contract method 0x55b30b19.
Solidity: function get_A(address _pool) view returns(uint256)
func (*CurvefimetaCallerSession) GetAdminBalances ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetAdminBalances(_pool common.Address) ([4]*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[4])
func (*CurvefimetaCallerSession) GetBalances ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetBalances(_pool common.Address) ([4]*big.Int, error)
GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.
Solidity: function get_balances(address _pool) view returns(uint256[4])
func (*CurvefimetaCallerSession) GetBasePool ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetBasePool(_pool common.Address) (common.Address, error)
GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.
Solidity: function get_base_pool(address _pool) view returns(address)
func (*CurvefimetaCallerSession) GetCoinIndices ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) GetCoins ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetCoins(_pool common.Address) ([4]common.Address, error)
GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.
Solidity: function get_coins(address _pool) view returns(address[4])
func (*CurvefimetaCallerSession) GetDecimals ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetDecimals(_pool common.Address) ([4]*big.Int, error)
GetDecimals is a free data retrieval call binding the contract method 0x52b51555.
Solidity: function get_decimals(address _pool) view returns(uint256[4])
func (*CurvefimetaCallerSession) GetFeeReceiver ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetFeeReceiver(_pool common.Address) (common.Address, error)
GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.
Solidity: function get_fee_receiver(address _pool) view returns(address)
func (*CurvefimetaCallerSession) GetFees ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)
GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.
Solidity: function get_fees(address _pool) view returns(uint256, uint256)
func (*CurvefimetaCallerSession) GetGauge ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetGauge(_pool common.Address) (common.Address, error)
GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.
Solidity: function get_gauge(address _pool) view returns(address)
func (*CurvefimetaCallerSession) GetImplementationAddress ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetImplementationAddress(_pool common.Address) (common.Address, error)
GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.
Solidity: function get_implementation_address(address _pool) view returns(address)
func (*CurvefimetaCallerSession) GetMetaNCoins ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)
GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.
Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)
func (*CurvefimetaCallerSession) GetMetapoolRates ¶
func (_Curvefimeta *CurvefimetaCallerSession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)
GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.
Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])
func (*CurvefimetaCallerSession) GetNCoins ¶
GetNCoins is a free data retrieval call binding the contract method 0x940494f1.
Solidity: function get_n_coins(address _pool) view returns(uint256)
func (*CurvefimetaCallerSession) GetPoolAssetType ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) GetUnderlyingBalances ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) GetUnderlyingCoins ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) GetUnderlyingDecimals ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) IsMeta ¶
func (_Curvefimeta *CurvefimetaCallerSession) 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 (*CurvefimetaCallerSession) Manager ¶
func (_Curvefimeta *CurvefimetaCallerSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*CurvefimetaCallerSession) MetapoolImplementations ¶
func (_Curvefimeta *CurvefimetaCallerSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)
MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.
Solidity: function metapool_implementations(address _base_pool) view returns(address[10])
func (*CurvefimetaCallerSession) PlainImplementations ¶
func (_Curvefimeta *CurvefimetaCallerSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.
Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)
type CurvefimetaFilterer ¶
type CurvefimetaFilterer struct {
// contains filtered or unexported fields
}
CurvefimetaFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCurvefimetaFilterer ¶
func NewCurvefimetaFilterer(address common.Address, filterer bind.ContractFilterer) (*CurvefimetaFilterer, error)
NewCurvefimetaFilterer creates a new log filterer instance of Curvefimeta, bound to a specific deployed contract.
func (*CurvefimetaFilterer) FilterBasePoolAdded ¶
func (_Curvefimeta *CurvefimetaFilterer) FilterBasePoolAdded(opts *bind.FilterOpts) (*CurvefimetaBasePoolAddedIterator, error)
FilterBasePoolAdded is a free log retrieval operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.
Solidity: event BasePoolAdded(address base_pool)
func (*CurvefimetaFilterer) FilterLiquidityGaugeDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) FilterLiquidityGaugeDeployed(opts *bind.FilterOpts) (*CurvefimetaLiquidityGaugeDeployedIterator, error)
FilterLiquidityGaugeDeployed is a free log retrieval operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.
Solidity: event LiquidityGaugeDeployed(address pool, address gauge)
func (*CurvefimetaFilterer) FilterMetaPoolDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) FilterMetaPoolDeployed(opts *bind.FilterOpts) (*CurvefimetaMetaPoolDeployedIterator, error)
FilterMetaPoolDeployed is a free log retrieval operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.
Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)
func (*CurvefimetaFilterer) FilterPlainPoolDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) FilterPlainPoolDeployed(opts *bind.FilterOpts) (*CurvefimetaPlainPoolDeployedIterator, error)
FilterPlainPoolDeployed is a free log retrieval operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.
Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)
func (*CurvefimetaFilterer) ParseBasePoolAdded ¶
func (_Curvefimeta *CurvefimetaFilterer) ParseBasePoolAdded(log types.Log) (*CurvefimetaBasePoolAdded, error)
ParseBasePoolAdded is a log parse operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.
Solidity: event BasePoolAdded(address base_pool)
func (*CurvefimetaFilterer) ParseLiquidityGaugeDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) ParseLiquidityGaugeDeployed(log types.Log) (*CurvefimetaLiquidityGaugeDeployed, error)
ParseLiquidityGaugeDeployed is a log parse operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.
Solidity: event LiquidityGaugeDeployed(address pool, address gauge)
func (*CurvefimetaFilterer) ParseMetaPoolDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) ParseMetaPoolDeployed(log types.Log) (*CurvefimetaMetaPoolDeployed, error)
ParseMetaPoolDeployed is a log parse operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.
Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)
func (*CurvefimetaFilterer) ParsePlainPoolDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) ParsePlainPoolDeployed(log types.Log) (*CurvefimetaPlainPoolDeployed, error)
ParsePlainPoolDeployed is a log parse operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.
Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)
func (*CurvefimetaFilterer) WatchBasePoolAdded ¶
func (_Curvefimeta *CurvefimetaFilterer) WatchBasePoolAdded(opts *bind.WatchOpts, sink chan<- *CurvefimetaBasePoolAdded) (event.Subscription, error)
WatchBasePoolAdded is a free log subscription operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.
Solidity: event BasePoolAdded(address base_pool)
func (*CurvefimetaFilterer) WatchLiquidityGaugeDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) WatchLiquidityGaugeDeployed(opts *bind.WatchOpts, sink chan<- *CurvefimetaLiquidityGaugeDeployed) (event.Subscription, error)
WatchLiquidityGaugeDeployed is a free log subscription operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.
Solidity: event LiquidityGaugeDeployed(address pool, address gauge)
func (*CurvefimetaFilterer) WatchMetaPoolDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) WatchMetaPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurvefimetaMetaPoolDeployed) (event.Subscription, error)
WatchMetaPoolDeployed is a free log subscription operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.
Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)
func (*CurvefimetaFilterer) WatchPlainPoolDeployed ¶
func (_Curvefimeta *CurvefimetaFilterer) WatchPlainPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurvefimetaPlainPoolDeployed) (event.Subscription, error)
WatchPlainPoolDeployed is a free log subscription operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.
Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)
type CurvefimetaLiquidityGaugeDeployed ¶
type CurvefimetaLiquidityGaugeDeployed struct { Pool common.Address Gauge common.Address Raw types.Log // Blockchain specific contextual infos }
CurvefimetaLiquidityGaugeDeployed represents a LiquidityGaugeDeployed event raised by the Curvefimeta contract.
type CurvefimetaLiquidityGaugeDeployedIterator ¶
type CurvefimetaLiquidityGaugeDeployedIterator struct { Event *CurvefimetaLiquidityGaugeDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurvefimetaLiquidityGaugeDeployedIterator is returned from FilterLiquidityGaugeDeployed and is used to iterate over the raw logs and unpacked data for LiquidityGaugeDeployed events raised by the Curvefimeta contract.
func (*CurvefimetaLiquidityGaugeDeployedIterator) Close ¶
func (it *CurvefimetaLiquidityGaugeDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurvefimetaLiquidityGaugeDeployedIterator) Error ¶
func (it *CurvefimetaLiquidityGaugeDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurvefimetaLiquidityGaugeDeployedIterator) Next ¶
func (it *CurvefimetaLiquidityGaugeDeployedIterator) 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 CurvefimetaMetaPoolDeployed ¶
type CurvefimetaMetaPoolDeployed struct { Coin common.Address BasePool common.Address A *big.Int Fee *big.Int Deployer common.Address Raw types.Log // Blockchain specific contextual infos }
CurvefimetaMetaPoolDeployed represents a MetaPoolDeployed event raised by the Curvefimeta contract.
type CurvefimetaMetaPoolDeployedIterator ¶
type CurvefimetaMetaPoolDeployedIterator struct { Event *CurvefimetaMetaPoolDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurvefimetaMetaPoolDeployedIterator is returned from FilterMetaPoolDeployed and is used to iterate over the raw logs and unpacked data for MetaPoolDeployed events raised by the Curvefimeta contract.
func (*CurvefimetaMetaPoolDeployedIterator) Close ¶
func (it *CurvefimetaMetaPoolDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurvefimetaMetaPoolDeployedIterator) Error ¶
func (it *CurvefimetaMetaPoolDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurvefimetaMetaPoolDeployedIterator) Next ¶
func (it *CurvefimetaMetaPoolDeployedIterator) 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 CurvefimetaPlainPoolDeployed ¶
type CurvefimetaPlainPoolDeployed struct { Coins [4]common.Address A *big.Int Fee *big.Int Deployer common.Address Raw types.Log // Blockchain specific contextual infos }
CurvefimetaPlainPoolDeployed represents a PlainPoolDeployed event raised by the Curvefimeta contract.
type CurvefimetaPlainPoolDeployedIterator ¶
type CurvefimetaPlainPoolDeployedIterator struct { Event *CurvefimetaPlainPoolDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CurvefimetaPlainPoolDeployedIterator is returned from FilterPlainPoolDeployed and is used to iterate over the raw logs and unpacked data for PlainPoolDeployed events raised by the Curvefimeta contract.
func (*CurvefimetaPlainPoolDeployedIterator) Close ¶
func (it *CurvefimetaPlainPoolDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CurvefimetaPlainPoolDeployedIterator) Error ¶
func (it *CurvefimetaPlainPoolDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CurvefimetaPlainPoolDeployedIterator) Next ¶
func (it *CurvefimetaPlainPoolDeployedIterator) 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 CurvefimetaRaw ¶
type CurvefimetaRaw struct {
Contract *Curvefimeta // Generic contract binding to access the raw methods on
}
CurvefimetaRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CurvefimetaRaw) Call ¶
func (_Curvefimeta *CurvefimetaRaw) 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 (*CurvefimetaRaw) Transact ¶
func (_Curvefimeta *CurvefimetaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurvefimetaRaw) Transfer ¶
func (_Curvefimeta *CurvefimetaRaw) 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 CurvefimetaSession ¶
type CurvefimetaSession struct { Contract *Curvefimeta // 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 }
CurvefimetaSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CurvefimetaSession) AcceptTransferOwnership ¶
func (_Curvefimeta *CurvefimetaSession) AcceptTransferOwnership() (*types.Transaction, error)
AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.
Solidity: function accept_transfer_ownership() returns()
func (*CurvefimetaSession) AddBasePool ¶
func (_Curvefimeta *CurvefimetaSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.
Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()
func (*CurvefimetaSession) AddExistingMetapools ¶
func (_Curvefimeta *CurvefimetaSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)
AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.
Solidity: function add_existing_metapools(address[10] _pools) returns(bool)
func (*CurvefimetaSession) Admin ¶
func (_Curvefimeta *CurvefimetaSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*CurvefimetaSession) BasePoolAssets ¶
func (_Curvefimeta *CurvefimetaSession) BasePoolAssets(arg0 common.Address) (bool, error)
BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.
Solidity: function base_pool_assets(address arg0) view returns(bool)
func (*CurvefimetaSession) BasePoolCount ¶
func (_Curvefimeta *CurvefimetaSession) BasePoolCount() (*big.Int, error)
BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.
Solidity: function base_pool_count() view returns(uint256)
func (*CurvefimetaSession) BasePoolList ¶
BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.
Solidity: function base_pool_list(uint256 arg0) view returns(address)
func (*CurvefimetaSession) BatchSetPoolAssetType ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) CommitTransferOwnership ¶
func (_Curvefimeta *CurvefimetaSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _addr) returns()
func (*CurvefimetaSession) ConvertMetapoolFees ¶
func (_Curvefimeta *CurvefimetaSession) ConvertMetapoolFees() (*types.Transaction, error)
ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.
Solidity: function convert_metapool_fees() returns(bool)
func (*CurvefimetaSession) DeployGauge ¶
func (_Curvefimeta *CurvefimetaSession) DeployGauge(_pool common.Address) (*types.Transaction, error)
DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.
Solidity: function deploy_gauge(address _pool) returns(address)
func (*CurvefimetaSession) DeployMetapool ¶
func (_Curvefimeta *CurvefimetaSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)
DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.
Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)
func (*CurvefimetaSession) DeployMetapool0 ¶
func (_Curvefimeta *CurvefimetaSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)
DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.
Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)
func (*CurvefimetaSession) DeployPlainPool ¶
func (_Curvefimeta *CurvefimetaSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)
DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)
func (*CurvefimetaSession) DeployPlainPool0 ¶
func (_Curvefimeta *CurvefimetaSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)
DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)
func (*CurvefimetaSession) DeployPlainPool1 ¶
func (_Curvefimeta *CurvefimetaSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)
DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)
func (*CurvefimetaSession) FindPoolForCoins ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) FindPoolForCoins0 ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) FutureAdmin ¶
func (_Curvefimeta *CurvefimetaSession) FutureAdmin() (common.Address, error)
FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.
Solidity: function future_admin() view returns(address)
func (*CurvefimetaSession) GaugeImplementation ¶
func (_Curvefimeta *CurvefimetaSession) GaugeImplementation() (common.Address, error)
GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.
Solidity: function gauge_implementation() view returns(address)
func (*CurvefimetaSession) GetA ¶
GetA is a free data retrieval call binding the contract method 0x55b30b19.
Solidity: function get_A(address _pool) view returns(uint256)
func (*CurvefimetaSession) GetAdminBalances ¶
GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.
Solidity: function get_admin_balances(address _pool) view returns(uint256[4])
func (*CurvefimetaSession) GetBalances ¶
GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.
Solidity: function get_balances(address _pool) view returns(uint256[4])
func (*CurvefimetaSession) GetBasePool ¶
GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.
Solidity: function get_base_pool(address _pool) view returns(address)
func (*CurvefimetaSession) GetCoinIndices ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) GetCoins ¶
GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.
Solidity: function get_coins(address _pool) view returns(address[4])
func (*CurvefimetaSession) GetDecimals ¶
GetDecimals is a free data retrieval call binding the contract method 0x52b51555.
Solidity: function get_decimals(address _pool) view returns(uint256[4])
func (*CurvefimetaSession) GetFeeReceiver ¶
func (_Curvefimeta *CurvefimetaSession) GetFeeReceiver(_pool common.Address) (common.Address, error)
GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.
Solidity: function get_fee_receiver(address _pool) view returns(address)
func (*CurvefimetaSession) GetFees ¶
GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.
Solidity: function get_fees(address _pool) view returns(uint256, uint256)
func (*CurvefimetaSession) GetGauge ¶
GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.
Solidity: function get_gauge(address _pool) view returns(address)
func (*CurvefimetaSession) GetImplementationAddress ¶
func (_Curvefimeta *CurvefimetaSession) GetImplementationAddress(_pool common.Address) (common.Address, error)
GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.
Solidity: function get_implementation_address(address _pool) view returns(address)
func (*CurvefimetaSession) GetMetaNCoins ¶
func (_Curvefimeta *CurvefimetaSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)
GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.
Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)
func (*CurvefimetaSession) GetMetapoolRates ¶
GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.
Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])
func (*CurvefimetaSession) GetNCoins ¶
GetNCoins is a free data retrieval call binding the contract method 0x940494f1.
Solidity: function get_n_coins(address _pool) view returns(uint256)
func (*CurvefimetaSession) GetPoolAssetType ¶
GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.
Solidity: function get_pool_asset_type(address _pool) view returns(uint256)
func (*CurvefimetaSession) GetUnderlyingBalances ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) GetUnderlyingCoins ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) GetUnderlyingDecimals ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) IsMeta ¶
func (_Curvefimeta *CurvefimetaSession) 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 (*CurvefimetaSession) Manager ¶
func (_Curvefimeta *CurvefimetaSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*CurvefimetaSession) MetapoolImplementations ¶
func (_Curvefimeta *CurvefimetaSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)
MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.
Solidity: function metapool_implementations(address _base_pool) view returns(address[10])
func (*CurvefimetaSession) PlainImplementations ¶
func (_Curvefimeta *CurvefimetaSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.
Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)
func (*CurvefimetaSession) PoolCount ¶
func (_Curvefimeta *CurvefimetaSession) PoolCount() (*big.Int, error)
PoolCount is a free data retrieval call binding the contract method 0x956aae3a.
Solidity: function pool_count() view returns(uint256)
func (*CurvefimetaSession) PoolList ¶
PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.
Solidity: function pool_list(uint256 arg0) view returns(address)
func (*CurvefimetaSession) SetFeeReceiver ¶
func (_Curvefimeta *CurvefimetaSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)
SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.
Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()
func (*CurvefimetaSession) SetGaugeImplementation ¶
func (_Curvefimeta *CurvefimetaSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)
SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.
Solidity: function set_gauge_implementation(address _gauge_implementation) returns()
func (*CurvefimetaSession) SetManager ¶
func (_Curvefimeta *CurvefimetaSession) SetManager(_manager common.Address) (*types.Transaction, error)
SetManager is a paid mutator transaction binding the contract method 0x9aece83e.
Solidity: function set_manager(address _manager) returns()
func (*CurvefimetaSession) SetMetapoolImplementations ¶
func (_Curvefimeta *CurvefimetaSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)
SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.
Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()
func (*CurvefimetaSession) SetPlainImplementations ¶
func (_Curvefimeta *CurvefimetaSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.
Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()
type CurvefimetaTransactor ¶
type CurvefimetaTransactor struct {
// contains filtered or unexported fields
}
CurvefimetaTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCurvefimetaTransactor ¶
func NewCurvefimetaTransactor(address common.Address, transactor bind.ContractTransactor) (*CurvefimetaTransactor, error)
NewCurvefimetaTransactor creates a new write-only instance of Curvefimeta, bound to a specific deployed contract.
func (*CurvefimetaTransactor) AcceptTransferOwnership ¶
func (_Curvefimeta *CurvefimetaTransactor) AcceptTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.
Solidity: function accept_transfer_ownership() returns()
func (*CurvefimetaTransactor) AddBasePool ¶
func (_Curvefimeta *CurvefimetaTransactor) AddBasePool(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.
Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()
func (*CurvefimetaTransactor) AddExistingMetapools ¶
func (_Curvefimeta *CurvefimetaTransactor) AddExistingMetapools(opts *bind.TransactOpts, _pools [10]common.Address) (*types.Transaction, error)
AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.
Solidity: function add_existing_metapools(address[10] _pools) returns(bool)
func (*CurvefimetaTransactor) BatchSetPoolAssetType ¶
func (_Curvefimeta *CurvefimetaTransactor) 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 (*CurvefimetaTransactor) CommitTransferOwnership ¶
func (_Curvefimeta *CurvefimetaTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _addr) returns()
func (*CurvefimetaTransactor) ConvertMetapoolFees ¶
func (_Curvefimeta *CurvefimetaTransactor) ConvertMetapoolFees(opts *bind.TransactOpts) (*types.Transaction, error)
ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.
Solidity: function convert_metapool_fees() returns(bool)
func (*CurvefimetaTransactor) DeployGauge ¶
func (_Curvefimeta *CurvefimetaTransactor) DeployGauge(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)
DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.
Solidity: function deploy_gauge(address _pool) returns(address)
func (*CurvefimetaTransactor) DeployMetapool ¶
func (_Curvefimeta *CurvefimetaTransactor) DeployMetapool(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)
DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.
Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)
func (*CurvefimetaTransactor) DeployMetapool0 ¶
func (_Curvefimeta *CurvefimetaTransactor) DeployMetapool0(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)
DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.
Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)
func (*CurvefimetaTransactor) DeployPlainPool ¶
func (_Curvefimeta *CurvefimetaTransactor) DeployPlainPool(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)
DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)
func (*CurvefimetaTransactor) DeployPlainPool0 ¶
func (_Curvefimeta *CurvefimetaTransactor) DeployPlainPool0(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)
DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)
func (*CurvefimetaTransactor) DeployPlainPool1 ¶
func (_Curvefimeta *CurvefimetaTransactor) DeployPlainPool1(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)
DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)
func (*CurvefimetaTransactor) SetFeeReceiver ¶
func (_Curvefimeta *CurvefimetaTransactor) SetFeeReceiver(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)
SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.
Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()
func (*CurvefimetaTransactor) SetGaugeImplementation ¶
func (_Curvefimeta *CurvefimetaTransactor) SetGaugeImplementation(opts *bind.TransactOpts, _gauge_implementation common.Address) (*types.Transaction, error)
SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.
Solidity: function set_gauge_implementation(address _gauge_implementation) returns()
func (*CurvefimetaTransactor) SetManager ¶
func (_Curvefimeta *CurvefimetaTransactor) SetManager(opts *bind.TransactOpts, _manager common.Address) (*types.Transaction, error)
SetManager is a paid mutator transaction binding the contract method 0x9aece83e.
Solidity: function set_manager(address _manager) returns()
func (*CurvefimetaTransactor) SetMetapoolImplementations ¶
func (_Curvefimeta *CurvefimetaTransactor) SetMetapoolImplementations(opts *bind.TransactOpts, _base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)
SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.
Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()
func (*CurvefimetaTransactor) SetPlainImplementations ¶
func (_Curvefimeta *CurvefimetaTransactor) SetPlainImplementations(opts *bind.TransactOpts, _n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.
Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()
type CurvefimetaTransactorRaw ¶
type CurvefimetaTransactorRaw struct {
Contract *CurvefimetaTransactor // Generic write-only contract binding to access the raw methods on
}
CurvefimetaTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CurvefimetaTransactorRaw) Transact ¶
func (_Curvefimeta *CurvefimetaTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurvefimetaTransactorRaw) Transfer ¶
func (_Curvefimeta *CurvefimetaTransactorRaw) 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 CurvefimetaTransactorSession ¶
type CurvefimetaTransactorSession struct { Contract *CurvefimetaTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CurvefimetaTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CurvefimetaTransactorSession) AcceptTransferOwnership ¶
func (_Curvefimeta *CurvefimetaTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)
AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.
Solidity: function accept_transfer_ownership() returns()
func (*CurvefimetaTransactorSession) AddBasePool ¶
func (_Curvefimeta *CurvefimetaTransactorSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.
Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()
func (*CurvefimetaTransactorSession) AddExistingMetapools ¶
func (_Curvefimeta *CurvefimetaTransactorSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)
AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.
Solidity: function add_existing_metapools(address[10] _pools) returns(bool)
func (*CurvefimetaTransactorSession) BatchSetPoolAssetType ¶
func (_Curvefimeta *CurvefimetaTransactorSession) 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 (*CurvefimetaTransactorSession) CommitTransferOwnership ¶
func (_Curvefimeta *CurvefimetaTransactorSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _addr) returns()
func (*CurvefimetaTransactorSession) ConvertMetapoolFees ¶
func (_Curvefimeta *CurvefimetaTransactorSession) ConvertMetapoolFees() (*types.Transaction, error)
ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.
Solidity: function convert_metapool_fees() returns(bool)
func (*CurvefimetaTransactorSession) DeployGauge ¶
func (_Curvefimeta *CurvefimetaTransactorSession) DeployGauge(_pool common.Address) (*types.Transaction, error)
DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.
Solidity: function deploy_gauge(address _pool) returns(address)
func (*CurvefimetaTransactorSession) DeployMetapool ¶
func (_Curvefimeta *CurvefimetaTransactorSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)
DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.
Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)
func (*CurvefimetaTransactorSession) DeployMetapool0 ¶
func (_Curvefimeta *CurvefimetaTransactorSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)
DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.
Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)
func (*CurvefimetaTransactorSession) DeployPlainPool ¶
func (_Curvefimeta *CurvefimetaTransactorSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)
DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)
func (*CurvefimetaTransactorSession) DeployPlainPool0 ¶
func (_Curvefimeta *CurvefimetaTransactorSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)
DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)
func (*CurvefimetaTransactorSession) DeployPlainPool1 ¶
func (_Curvefimeta *CurvefimetaTransactorSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)
DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.
Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)
func (*CurvefimetaTransactorSession) SetFeeReceiver ¶
func (_Curvefimeta *CurvefimetaTransactorSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)
SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.
Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()
func (*CurvefimetaTransactorSession) SetGaugeImplementation ¶
func (_Curvefimeta *CurvefimetaTransactorSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)
SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.
Solidity: function set_gauge_implementation(address _gauge_implementation) returns()
func (*CurvefimetaTransactorSession) SetManager ¶
func (_Curvefimeta *CurvefimetaTransactorSession) SetManager(_manager common.Address) (*types.Transaction, error)
SetManager is a paid mutator transaction binding the contract method 0x9aece83e.
Solidity: function set_manager(address _manager) returns()
func (*CurvefimetaTransactorSession) SetMetapoolImplementations ¶
func (_Curvefimeta *CurvefimetaTransactorSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)
SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.
Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()
func (*CurvefimetaTransactorSession) SetPlainImplementations ¶
func (_Curvefimeta *CurvefimetaTransactorSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)
SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.
Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()