Documentation ¶
Index ¶
- Variables
- type LiquidityGauge
- type LiquidityGaugeCaller
- func (_LiquidityGauge *LiquidityGaugeCaller) ApprovedToDeposit(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) CrvToken(opts *bind.CallOpts) (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) FutureEpochTime(opts *bind.CallOpts) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) InflationRate(opts *bind.CallOpts) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateCheckpoint(opts *bind.CallOpts) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateCheckpointOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateFraction(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateInvSupply(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateInvSupplyOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) LpToken(opts *bind.CallOpts) (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) Minter(opts *bind.CallOpts) (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) Period(opts *bind.CallOpts) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) PeriodTimestamp(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) VotingEscrow(opts *bind.CallOpts) (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) WorkingBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCaller) WorkingSupply(opts *bind.CallOpts) (*big.Int, error)
- type LiquidityGaugeCallerRaw
- type LiquidityGaugeCallerSession
- func (_LiquidityGauge *LiquidityGaugeCallerSession) ApprovedToDeposit(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) Controller() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) CrvToken() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) FutureEpochTime() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) InflationRate() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateCheckpoint() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateCheckpointOf(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateFraction(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateInvSupply(arg0 *big.Int) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateInvSupplyOf(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) LpToken() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) Minter() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) Period() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) PeriodTimestamp(arg0 *big.Int) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) TotalSupply() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) VotingEscrow() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) WorkingBalances(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeCallerSession) WorkingSupply() (*big.Int, error)
- type LiquidityGaugeDeposit
- type LiquidityGaugeDepositIterator
- type LiquidityGaugeFilterer
- func (_LiquidityGauge *LiquidityGaugeFilterer) FilterDeposit(opts *bind.FilterOpts, provider []common.Address) (*LiquidityGaugeDepositIterator, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) FilterUpdateLiquidityLimit(opts *bind.FilterOpts) (*LiquidityGaugeUpdateLiquidityLimitIterator, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) FilterWithdraw(opts *bind.FilterOpts, provider []common.Address) (*LiquidityGaugeWithdrawIterator, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) ParseDeposit(log types.Log) (*LiquidityGaugeDeposit, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) ParseUpdateLiquidityLimit(log types.Log) (*LiquidityGaugeUpdateLiquidityLimit, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) ParseWithdraw(log types.Log) (*LiquidityGaugeWithdraw, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *LiquidityGaugeDeposit, ...) (event.Subscription, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) WatchUpdateLiquidityLimit(opts *bind.WatchOpts, sink chan<- *LiquidityGaugeUpdateLiquidityLimit) (event.Subscription, error)
- func (_LiquidityGauge *LiquidityGaugeFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *LiquidityGaugeWithdraw, ...) (event.Subscription, error)
- type LiquidityGaugeRaw
- func (_LiquidityGauge *LiquidityGaugeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LiquidityGauge *LiquidityGaugeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LiquidityGaugeSession
- func (_LiquidityGauge *LiquidityGaugeSession) ApprovedToDeposit(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_LiquidityGauge *LiquidityGaugeSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) ClaimableTokens(addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeSession) Controller() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeSession) CrvToken() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeSession) Deposit(_value *big.Int) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeSession) Deposit0(_value *big.Int, addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeSession) FutureEpochTime() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) InflationRate() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) IntegrateCheckpoint() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) IntegrateCheckpointOf(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) IntegrateFraction(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) IntegrateInvSupply(arg0 *big.Int) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) IntegrateInvSupplyOf(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) Kick(addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeSession) LpToken() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeSession) Minter() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeSession) Period() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) PeriodTimestamp(arg0 *big.Int) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) SetApproveDeposit(addr common.Address, can_deposit bool) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeSession) TotalSupply() (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) UserCheckpoint(addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeSession) VotingEscrow() (common.Address, error)
- func (_LiquidityGauge *LiquidityGaugeSession) Withdraw(_value *big.Int) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeSession) WorkingBalances(arg0 common.Address) (*big.Int, error)
- func (_LiquidityGauge *LiquidityGaugeSession) WorkingSupply() (*big.Int, error)
- type LiquidityGaugeTransactor
- func (_LiquidityGauge *LiquidityGaugeTransactor) ClaimableTokens(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactor) Deposit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactor) Deposit0(opts *bind.TransactOpts, _value *big.Int, addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactor) Kick(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactor) SetApproveDeposit(opts *bind.TransactOpts, addr common.Address, can_deposit bool) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactor) UserCheckpoint(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactor) Withdraw(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- type LiquidityGaugeTransactorRaw
- type LiquidityGaugeTransactorSession
- func (_LiquidityGauge *LiquidityGaugeTransactorSession) ClaimableTokens(addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactorSession) Deposit(_value *big.Int) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactorSession) Deposit0(_value *big.Int, addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactorSession) Kick(addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactorSession) SetApproveDeposit(addr common.Address, can_deposit bool) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactorSession) UserCheckpoint(addr common.Address) (*types.Transaction, error)
- func (_LiquidityGauge *LiquidityGaugeTransactorSession) Withdraw(_value *big.Int) (*types.Transaction, error)
- type LiquidityGaugeUpdateLiquidityLimit
- type LiquidityGaugeUpdateLiquidityLimitIterator
- type LiquidityGaugeWithdraw
- type LiquidityGaugeWithdrawIterator
- type RegistryExchange
- type RegistryExchangeCaller
- func (_RegistryExchange *RegistryExchangeCaller) CryptoRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCaller) DefaultCalculator(opts *bind.CallOpts) (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCaller) FactoryRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetBestRate(opts *bind.CallOpts, _from common.Address, _to common.Address, ...) (common.Address, *big.Int, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetBestRate0(opts *bind.CallOpts, _from common.Address, _to common.Address, ...) (common.Address, *big.Int, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetCalculator(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetExchangeAmount(opts *bind.CallOpts, _pool common.Address, _from common.Address, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetExchangeAmounts(opts *bind.CallOpts, _pool common.Address, _from common.Address, ...) ([100]*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetExchangeMultipleAmount(opts *bind.CallOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetExchangeMultipleAmount0(opts *bind.CallOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCaller) GetInputAmount(opts *bind.CallOpts, _pool common.Address, _from common.Address, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCaller) IsKilled(opts *bind.CallOpts) (bool, error)
- func (_RegistryExchange *RegistryExchangeCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- type RegistryExchangeCallerRaw
- type RegistryExchangeCallerSession
- func (_RegistryExchange *RegistryExchangeCallerSession) CryptoRegistry() (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) DefaultCalculator() (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) FactoryRegistry() (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetBestRate(_from common.Address, _to common.Address, _amount *big.Int) (common.Address, *big.Int, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetBestRate0(_from common.Address, _to common.Address, _amount *big.Int, ...) (common.Address, *big.Int, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetCalculator(_pool common.Address) (common.Address, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeAmount(_pool common.Address, _from common.Address, _to common.Address, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeAmounts(_pool common.Address, _from common.Address, _to common.Address, ...) ([100]*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeMultipleAmount(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeMultipleAmount0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) GetInputAmount(_pool common.Address, _from common.Address, _to common.Address, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) IsKilled() (bool, error)
- func (_RegistryExchange *RegistryExchangeCallerSession) Registry() (common.Address, error)
- type RegistryExchangeExchangeMultiple
- type RegistryExchangeExchangeMultipleIterator
- type RegistryExchangeFilterer
- func (_RegistryExchange *RegistryExchangeFilterer) FilterExchangeMultiple(opts *bind.FilterOpts, buyer []common.Address, receiver []common.Address) (*RegistryExchangeExchangeMultipleIterator, error)
- func (_RegistryExchange *RegistryExchangeFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address, receiver []common.Address, ...) (*RegistryExchangeTokenExchangeIterator, error)
- func (_RegistryExchange *RegistryExchangeFilterer) ParseExchangeMultiple(log types.Log) (*RegistryExchangeExchangeMultiple, error)
- func (_RegistryExchange *RegistryExchangeFilterer) ParseTokenExchange(log types.Log) (*RegistryExchangeTokenExchange, error)
- func (_RegistryExchange *RegistryExchangeFilterer) WatchExchangeMultiple(opts *bind.WatchOpts, sink chan<- *RegistryExchangeExchangeMultiple, ...) (event.Subscription, error)
- func (_RegistryExchange *RegistryExchangeFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *RegistryExchangeTokenExchange, ...) (event.Subscription, error)
- type RegistryExchangeRaw
- func (_RegistryExchange *RegistryExchangeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RegistryExchange *RegistryExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RegistryExchangeSession
- func (_RegistryExchange *RegistryExchangeSession) ClaimBalance(_token common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) CryptoRegistry() (common.Address, error)
- func (_RegistryExchange *RegistryExchangeSession) DefaultCalculator() (common.Address, error)
- func (_RegistryExchange *RegistryExchangeSession) Exchange(_pool common.Address, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) Exchange0(_pool common.Address, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) ExchangeMultiple(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) ExchangeMultiple0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) ExchangeMultiple1(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) ExchangeWithBestRate(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) ExchangeWithBestRate0(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) FactoryRegistry() (common.Address, error)
- func (_RegistryExchange *RegistryExchangeSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) GetBestRate(_from common.Address, _to common.Address, _amount *big.Int) (common.Address, *big.Int, error)
- func (_RegistryExchange *RegistryExchangeSession) GetBestRate0(_from common.Address, _to common.Address, _amount *big.Int, ...) (common.Address, *big.Int, error)
- func (_RegistryExchange *RegistryExchangeSession) GetCalculator(_pool common.Address) (common.Address, error)
- func (_RegistryExchange *RegistryExchangeSession) GetExchangeAmount(_pool common.Address, _from common.Address, _to common.Address, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeSession) GetExchangeAmounts(_pool common.Address, _from common.Address, _to common.Address, ...) ([100]*big.Int, error)
- func (_RegistryExchange *RegistryExchangeSession) GetExchangeMultipleAmount(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeSession) GetExchangeMultipleAmount0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeSession) GetInputAmount(_pool common.Address, _from common.Address, _to common.Address, ...) (*big.Int, error)
- func (_RegistryExchange *RegistryExchangeSession) IsKilled() (bool, error)
- func (_RegistryExchange *RegistryExchangeSession) Registry() (common.Address, error)
- func (_RegistryExchange *RegistryExchangeSession) SetCalculator(_pool common.Address, _calculator common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) SetDefaultCalculator(_calculator common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) SetKilled(_is_killed bool) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeSession) UpdateRegistryAddress() (*types.Transaction, error)
- type RegistryExchangeTokenExchange
- type RegistryExchangeTokenExchangeIterator
- type RegistryExchangeTransactor
- func (_RegistryExchange *RegistryExchangeTransactor) ClaimBalance(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) Exchange(opts *bind.TransactOpts, _pool common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) Exchange0(opts *bind.TransactOpts, _pool common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) ExchangeMultiple(opts *bind.TransactOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) ExchangeMultiple0(opts *bind.TransactOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) ExchangeMultiple1(opts *bind.TransactOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) ExchangeWithBestRate(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) ExchangeWithBestRate0(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) SetCalculator(opts *bind.TransactOpts, _pool common.Address, _calculator common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) SetDefaultCalculator(opts *bind.TransactOpts, _calculator common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) SetKilled(opts *bind.TransactOpts, _is_killed bool) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactor) UpdateRegistryAddress(opts *bind.TransactOpts) (*types.Transaction, error)
- type RegistryExchangeTransactorRaw
- type RegistryExchangeTransactorSession
- func (_RegistryExchange *RegistryExchangeTransactorSession) ClaimBalance(_token common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) Exchange(_pool common.Address, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) Exchange0(_pool common.Address, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeMultiple(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeMultiple0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeMultiple1(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeWithBestRate(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeWithBestRate0(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, ...) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) SetCalculator(_pool common.Address, _calculator common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) SetDefaultCalculator(_calculator common.Address) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) SetKilled(_is_killed bool) (*types.Transaction, error)
- func (_RegistryExchange *RegistryExchangeTransactorSession) UpdateRegistryAddress() (*types.Transaction, error)
- type StableSwap
- type StableSwapAddLiquidity
- type StableSwapAddLiquidityIterator
- type StableSwapCaller
- func (_StableSwap *StableSwapCaller) A(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) APrecise(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) AdminBalances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) Balances(opts *bind.CallOpts, i *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) CalcTokenAmount(opts *bind.CallOpts, amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, _token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_StableSwap *StableSwapCaller) Fee(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) FutureA(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) FutureATime(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) FutureFee(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)
- func (_StableSwap *StableSwapCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) InitialA(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) InitialATime(opts *bind.CallOpts) (*big.Int, error)
- func (_StableSwap *StableSwapCaller) LpToken(opts *bind.CallOpts) (common.Address, error)
- func (_StableSwap *StableSwapCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_StableSwap *StableSwapCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)
- type StableSwapCallerRaw
- type StableSwapCallerSession
- func (_StableSwap *StableSwapCallerSession) A() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) APrecise() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) AdminActionsDeadline() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) AdminBalances(arg0 *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) AdminFee() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) Balances(i *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) CalcTokenAmount(amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) Coins(arg0 *big.Int) (common.Address, error)
- func (_StableSwap *StableSwapCallerSession) Fee() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) FutureA() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) FutureATime() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) FutureAdminFee() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) FutureFee() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) FutureOwner() (common.Address, error)
- func (_StableSwap *StableSwapCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) GetVirtualPrice() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) InitialA() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) InitialATime() (*big.Int, error)
- func (_StableSwap *StableSwapCallerSession) LpToken() (common.Address, error)
- func (_StableSwap *StableSwapCallerSession) Owner() (common.Address, error)
- func (_StableSwap *StableSwapCallerSession) TransferOwnershipDeadline() (*big.Int, error)
- type StableSwapCommitNewAdmin
- type StableSwapCommitNewAdminIterator
- type StableSwapCommitNewFee
- type StableSwapCommitNewFeeIterator
- type StableSwapFilterer
- func (_StableSwap *StableSwapFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapAddLiquidityIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterCommitNewAdmin(opts *bind.FilterOpts, deadline []*big.Int, admin []common.Address) (*StableSwapCommitNewAdminIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterCommitNewFee(opts *bind.FilterOpts, deadline []*big.Int) (*StableSwapCommitNewFeeIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterNewAdmin(opts *bind.FilterOpts, admin []common.Address) (*StableSwapNewAdminIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterNewFee(opts *bind.FilterOpts) (*StableSwapNewFeeIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterRampA(opts *bind.FilterOpts) (*StableSwapRampAIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapRemoveLiquidityIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*StableSwapRemoveLiquidityImbalanceIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*StableSwapRemoveLiquidityOneIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterStopRampA(opts *bind.FilterOpts) (*StableSwapStopRampAIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*StableSwapTokenExchangeIterator, error)
- func (_StableSwap *StableSwapFilterer) FilterTokenExchangeUnderlying(opts *bind.FilterOpts, buyer []common.Address) (*StableSwapTokenExchangeUnderlyingIterator, error)
- func (_StableSwap *StableSwapFilterer) ParseAddLiquidity(log types.Log) (*StableSwapAddLiquidity, error)
- func (_StableSwap *StableSwapFilterer) ParseCommitNewAdmin(log types.Log) (*StableSwapCommitNewAdmin, error)
- func (_StableSwap *StableSwapFilterer) ParseCommitNewFee(log types.Log) (*StableSwapCommitNewFee, error)
- func (_StableSwap *StableSwapFilterer) ParseNewAdmin(log types.Log) (*StableSwapNewAdmin, error)
- func (_StableSwap *StableSwapFilterer) ParseNewFee(log types.Log) (*StableSwapNewFee, error)
- func (_StableSwap *StableSwapFilterer) ParseRampA(log types.Log) (*StableSwapRampA, error)
- func (_StableSwap *StableSwapFilterer) ParseRemoveLiquidity(log types.Log) (*StableSwapRemoveLiquidity, error)
- func (_StableSwap *StableSwapFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*StableSwapRemoveLiquidityImbalance, error)
- func (_StableSwap *StableSwapFilterer) ParseRemoveLiquidityOne(log types.Log) (*StableSwapRemoveLiquidityOne, error)
- func (_StableSwap *StableSwapFilterer) ParseStopRampA(log types.Log) (*StableSwapStopRampA, error)
- func (_StableSwap *StableSwapFilterer) ParseTokenExchange(log types.Log) (*StableSwapTokenExchange, error)
- func (_StableSwap *StableSwapFilterer) ParseTokenExchangeUnderlying(log types.Log) (*StableSwapTokenExchangeUnderlying, error)
- func (_StableSwap *StableSwapFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapAddLiquidity, ...) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchCommitNewAdmin(opts *bind.WatchOpts, sink chan<- *StableSwapCommitNewAdmin, ...) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchCommitNewFee(opts *bind.WatchOpts, sink chan<- *StableSwapCommitNewFee, deadline []*big.Int) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *StableSwapNewAdmin, admin []common.Address) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchNewFee(opts *bind.WatchOpts, sink chan<- *StableSwapNewFee) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *StableSwapRampA) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapRemoveLiquidity, ...) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *StableSwapRemoveLiquidityImbalance, ...) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *StableSwapRemoveLiquidityOne, ...) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *StableSwapStopRampA) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *StableSwapTokenExchange, ...) (event.Subscription, error)
- func (_StableSwap *StableSwapFilterer) WatchTokenExchangeUnderlying(opts *bind.WatchOpts, sink chan<- *StableSwapTokenExchangeUnderlying, ...) (event.Subscription, error)
- type StableSwapNCoins
- type StableSwapNCoinsAddLiquidity
- type StableSwapNCoinsAddLiquidity0
- type StableSwapNCoinsAddLiquidity0Iterator
- type StableSwapNCoinsAddLiquidity1
- type StableSwapNCoinsAddLiquidity1Iterator
- type StableSwapNCoinsAddLiquidityIterator
- type StableSwapNCoinsCaller
- type StableSwapNCoinsCallerRaw
- type StableSwapNCoinsCallerSession
- type StableSwapNCoinsFilterer
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsAddLiquidityIterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterAddLiquidity0(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsAddLiquidity0Iterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterAddLiquidity1(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsAddLiquidity1Iterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityIterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidity0(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidity0Iterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidity1(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidity1Iterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityImbalanceIterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance0(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityImbalance0Iterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance1(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityImbalance1Iterator, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseAddLiquidity(log types.Log) (*StableSwapNCoinsAddLiquidity, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseAddLiquidity0(log types.Log) (*StableSwapNCoinsAddLiquidity0, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseAddLiquidity1(log types.Log) (*StableSwapNCoinsAddLiquidity1, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidity(log types.Log) (*StableSwapNCoinsRemoveLiquidity, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidity0(log types.Log) (*StableSwapNCoinsRemoveLiquidity0, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidity1(log types.Log) (*StableSwapNCoinsRemoveLiquidity1, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*StableSwapNCoinsRemoveLiquidityImbalance, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance0(log types.Log) (*StableSwapNCoinsRemoveLiquidityImbalance0, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance1(log types.Log) (*StableSwapNCoinsRemoveLiquidityImbalance1, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsAddLiquidity, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchAddLiquidity0(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsAddLiquidity0, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchAddLiquidity1(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsAddLiquidity1, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidity, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidity0(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidity0, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidity1(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidity1, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidityImbalance, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance0(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidityImbalance0, ...) (event.Subscription, error)
- func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance1(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidityImbalance1, ...) (event.Subscription, error)
- type StableSwapNCoinsRaw
- func (_StableSwapNCoins *StableSwapNCoinsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StableSwapNCoins *StableSwapNCoinsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StableSwapNCoins *StableSwapNCoinsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StableSwapNCoinsRemoveLiquidity
- type StableSwapNCoinsRemoveLiquidity0
- type StableSwapNCoinsRemoveLiquidity0Iterator
- type StableSwapNCoinsRemoveLiquidity1
- type StableSwapNCoinsRemoveLiquidity1Iterator
- type StableSwapNCoinsRemoveLiquidityImbalance
- type StableSwapNCoinsRemoveLiquidityImbalance0
- type StableSwapNCoinsRemoveLiquidityImbalance0Iterator
- type StableSwapNCoinsRemoveLiquidityImbalance1
- type StableSwapNCoinsRemoveLiquidityImbalance1Iterator
- type StableSwapNCoinsRemoveLiquidityImbalanceIterator
- type StableSwapNCoinsRemoveLiquidityIterator
- type StableSwapNCoinsSession
- type StableSwapNCoinsTransactor
- type StableSwapNCoinsTransactorRaw
- type StableSwapNCoinsTransactorSession
- type StableSwapNewAdmin
- type StableSwapNewAdminIterator
- type StableSwapNewFee
- type StableSwapNewFeeIterator
- type StableSwapRampA
- type StableSwapRampAIterator
- type StableSwapRaw
- func (_StableSwap *StableSwapRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StableSwap *StableSwapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StableSwap *StableSwapRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StableSwapRemoveLiquidity
- type StableSwapRemoveLiquidityImbalance
- type StableSwapRemoveLiquidityImbalanceIterator
- type StableSwapRemoveLiquidityIterator
- type StableSwapRemoveLiquidityOne
- type StableSwapRemoveLiquidityOneIterator
- type StableSwapSession
- func (_StableSwap *StableSwapSession) A() (*big.Int, error)
- func (_StableSwap *StableSwapSession) APrecise() (*big.Int, error)
- func (_StableSwap *StableSwapSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) AdminActionsDeadline() (*big.Int, error)
- func (_StableSwap *StableSwapSession) AdminBalances(arg0 *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapSession) AdminFee() (*big.Int, error)
- func (_StableSwap *StableSwapSession) ApplyNewFee() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) ApplyTransferOwnership() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) Balances(i *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapSession) CalcTokenAmount(amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
- func (_StableSwap *StableSwapSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapSession) Coins(arg0 *big.Int) (common.Address, error)
- func (_StableSwap *StableSwapSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) DonateAdminFees() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) Fee() (*big.Int, error)
- func (_StableSwap *StableSwapSession) FutureA() (*big.Int, error)
- func (_StableSwap *StableSwapSession) FutureATime() (*big.Int, error)
- func (_StableSwap *StableSwapSession) FutureAdminFee() (*big.Int, error)
- func (_StableSwap *StableSwapSession) FutureFee() (*big.Int, error)
- func (_StableSwap *StableSwapSession) FutureOwner() (common.Address, error)
- func (_StableSwap *StableSwapSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_StableSwap *StableSwapSession) GetVirtualPrice() (*big.Int, error)
- func (_StableSwap *StableSwapSession) InitialA() (*big.Int, error)
- func (_StableSwap *StableSwapSession) InitialATime() (*big.Int, error)
- func (_StableSwap *StableSwapSession) KillMe() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) LpToken() (common.Address, error)
- func (_StableSwap *StableSwapSession) Owner() (common.Address, error)
- func (_StableSwap *StableSwapSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) RevertNewParameters() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) RevertTransferOwnership() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) StopRampA() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) TransferOwnershipDeadline() (*big.Int, error)
- func (_StableSwap *StableSwapSession) UnkillMe() (*types.Transaction, error)
- func (_StableSwap *StableSwapSession) WithdrawAdminFees() (*types.Transaction, error)
- type StableSwapStopRampA
- type StableSwapStopRampAIterator
- type StableSwapTokenExchange
- type StableSwapTokenExchangeIterator
- type StableSwapTokenExchangeUnderlying
- type StableSwapTokenExchangeUnderlyingIterator
- type StableSwapTransactor
- func (_StableSwap *StableSwapTransactor) AddLiquidity(opts *bind.TransactOpts, amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) ApplyNewFee(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) CommitNewFee(opts *bind.TransactOpts, new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) DonateAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) RampA(opts *bind.TransactOpts, _future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, ...) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- type StableSwapTransactorRaw
- type StableSwapTransactorSession
- func (_StableSwap *StableSwapTransactorSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) ApplyNewFee() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) DonateAdminFees() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) KillMe() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) RevertNewParameters() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) RevertTransferOwnership() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) StopRampA() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) UnkillMe() (*types.Transaction, error)
- func (_StableSwap *StableSwapTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ( AddressETH = common.HexToAddress("0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE") AddressRegistryExchangeEthereum = common.HexToAddress("0x99a58482BD75cbab83b27EC03CA68fF489b5788f") AddressRegistryExchangeArbitrum = common.HexToAddress("0x4c2Af2Df2a7E567B5155879720619EA06C5BB15D") AddressRegistryExchangeAvalanche = common.HexToAddress("0xBff334F8D5912AC5c4f2c590A2396d1C5d990123") AddressRegistryExchangeGnosis = common.HexToAddress("0xE6358f6a45B502477e83CC1CDa759f540E4459ee") AddressRegistryExchangeOptimism = common.HexToAddress("0x22D710931F01c1681Ca1570Ff016eD42EB7b7c2a") AddressRegistryExchangePolygon = common.HexToAddress("0x2a426b3Bb4fa87488387545f15D01d81352732F9") EventHashRegistryExchangeExchangeMultiple = contract.EventHash("ExchangeMultiple(address,address,address[9],uint256[3][4],address[4],uint256,uint256)") EventHashStableSwapTokenExchange = contract.EventHash("TokenExchange(address,int128,uint256,int128,uint256)") EventHashStableSwapAddLiquidity2Coins = contract.EventHash("AddLiquidity(address,uint256[2],uint256[2],uint256,uint256)") EventHashStableSwapAddLiquidity3Coins = contract.EventHash("AddLiquidity(address,uint256[3],uint256[3],uint256,uint256)") EventHashStableSwapAddLiquidity4Coins = contract.EventHash("AddLiquidity(address,uint256[4],uint256[4],uint256,uint256)") EventHashStableSwapRemoveLiquidity2Coins = contract.EventHash("RemoveLiquidity(address,uint256[2],uint256[2],uint256)") EventHashStableSwapRemoveLiquidity3Coins = contract.EventHash("RemoveLiquidity(address,uint256[3],uint256[3],uint256)") EventHashStableSwapRemoveLiquidity4Coins = contract.EventHash("RemoveLiquidity(address,uint256[4],uint256[4],uint256)") EventHashStableSwapRemoveLiquidityOne = contract.EventHash("RemoveLiquidityOne(address,uint256,uint256)") EventHashStableSwapRemoveLiquidityOneFactory = contract.EventHash("RemoveLiquidityOne(address,uint256,uint256,uint256)") EventHashStableSwapRemoveLiquidityImbalance2Coins = contract.EventHash("RemoveLiquidityImbalance(address,uint256[2],uint256[2],uint256,uint256)") EventHashStableSwapRemoveLiquidityImbalance3Coins = contract.EventHash("RemoveLiquidityImbalance(address,uint256[3],uint256[3],uint256,uint256)") EventHashStableSwapRemoveLiquidityImbalance4Coins = contract.EventHash("RemoveLiquidityImbalance(address,uint256[4],uint256[4],uint256,uint256)") EventHashLiquidityGaugeDeposit = contract.EventHash("Deposit(address,uint256)") EventHashLiquidityGaugeWithdraw = contract.EventHash("Withdraw(address,uint256)") MethodIDStableSwapAddLiquidity2Coins = contract.MethodID("add_liquidity(uint256[2],uint256)") MethodIDStableSwapAddLiquidity3Coins = contract.MethodID("add_liquidity(uint256[3],uint256)") MethodIDStableSwapAddLiquidity4Coins = contract.MethodID("add_liquidity(uint256[4],uint256)") MethodIDStableSwapRemoveLiquidity2Coins = contract.MethodID("remove_liquidity(uint256,uint256[2])") MethodIDStableSwapRemoveLiquidity3Coins = contract.MethodID("remove_liquidity(uint256,uint256[3])") MethodIDStableSwapRemoveLiquidity4Coins = contract.MethodID("remove_liquidity(uint256,uint256[4])") MethodIDStableSwapRemoveLiquidityOne = contract.MethodID("remove_liquidity_one_coin(uint256,int128,uint256)") MethodIDStableSwapRemoveLiquidityImbalance2Coins = contract.MethodID("remove_liquidity_imbalance(uint256[2],uint256)") MethodIDStableSwapRemoveLiquidityImbalance3Coins = contract.MethodID("remove_liquidity_imbalance(uint256[3],uint256)") MethodIDStableSwapRemoveLiquidityImbalance4Coins = contract.MethodID("remove_liquidity_imbalance(uint256[4],uint256)") )
var LiquidityGaugeABI = LiquidityGaugeMetaData.ABI
LiquidityGaugeABI is the input ABI used to generate the binding from. Deprecated: Use LiquidityGaugeMetaData.ABI instead.
var LiquidityGaugeMetaData = &bind.MetaData{
ABI: "[{\"name\":\"Deposit\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Withdraw\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"UpdateLiquidityLimit\",\"inputs\":[{\"type\":\"address\",\"name\":\"user\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"original_balance\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"original_supply\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"working_balance\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"working_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"lp_addr\"},{\"type\":\"address\",\"name\":\"_minter\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"name\":\"user_checkpoint\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":2079152},{\"name\":\"claimable_tokens\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":1998318},{\"name\":\"kick\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":2084532},{\"name\":\"set_approve_deposit\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"},{\"type\":\"bool\",\"name\":\"can_deposit\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":35766},{\"name\":\"deposit\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"deposit\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"},{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"withdraw\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":2208318},{\"name\":\"integrate_checkpoint\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2297},{\"name\":\"minter\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1421},{\"name\":\"crv_token\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1451},{\"name\":\"lp_token\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1481},{\"name\":\"controller\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1511},{\"name\":\"voting_escrow\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1541},{\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1725},{\"name\":\"totalSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1601},{\"name\":\"future_epoch_time\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1631},{\"name\":\"approved_to_deposit\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"},{\"type\":\"address\",\"name\":\"arg1\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1969},{\"name\":\"working_balances\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1845},{\"name\":\"working_supply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1721},{\"name\":\"period\",\"outputs\":[{\"type\":\"int128\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1751},{\"name\":\"period_timestamp\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1890},{\"name\":\"integrate_inv_supply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1920},{\"name\":\"integrate_inv_supply_of\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1995},{\"name\":\"integrate_checkpoint_of\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2025},{\"name\":\"integrate_fraction\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2055},{\"name\":\"inflation_rate\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1931}]",
}
LiquidityGaugeMetaData contains all meta data concerning the LiquidityGauge contract.
var RegistryExchangeABI = RegistryExchangeMetaData.ABI
RegistryExchangeABI is the input ABI used to generate the binding from. Deprecated: Use RegistryExchangeMetaData.ABI instead.
var RegistryExchangeMetaData = &bind.MetaData{
ABI: "[{\"name\":\"TokenExchange\",\"inputs\":[{\"name\":\"buyer\",\"type\":\"address\",\"indexed\":true},{\"name\":\"receiver\",\"type\":\"address\",\"indexed\":true},{\"name\":\"pool\",\"type\":\"address\",\"indexed\":true},{\"name\":\"token_sold\",\"type\":\"address\",\"indexed\":false},{\"name\":\"token_bought\",\"type\":\"address\",\"indexed\":false},{\"name\":\"amount_sold\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"amount_bought\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ExchangeMultiple\",\"inputs\":[{\"name\":\"buyer\",\"type\":\"address\",\"indexed\":true},{\"name\":\"receiver\",\"type\":\"address\",\"indexed\":true},{\"name\":\"route\",\"type\":\"address[9]\",\"indexed\":false},{\"name\":\"swap_params\",\"type\":\"uint256[3][4]\",\"indexed\":false},{\"name\":\"pools\",\"type\":\"address[4]\",\"indexed\":false},{\"name\":\"amount_sold\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"amount_bought\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_address_provider\",\"type\":\"address\"},{\"name\":\"_calculator\",\"type\":\"address\"},{\"name\":\"_weth\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_with_best_rate\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_expected\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_with_best_rate\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_expected\",\"type\":\"uint256\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_expected\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_expected\",\"type\":\"uint256\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_multiple\",\"inputs\":[{\"name\":\"_route\",\"type\":\"address[9]\"},{\"name\":\"_swap_params\",\"type\":\"uint256[3][4]\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_expected\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_multiple\",\"inputs\":[{\"name\":\"_route\",\"type\":\"address[9]\"},{\"name\":\"_swap_params\",\"type\":\"uint256[3][4]\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_expected\",\"type\":\"uint256\"},{\"name\":\"_pools\",\"type\":\"address[4]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"payable\",\"type\":\"function\",\"name\":\"exchange_multiple\",\"inputs\":[{\"name\":\"_route\",\"type\":\"address[9]\"},{\"name\":\"_swap_params\",\"type\":\"uint256[3][4]\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_expected\",\"type\":\"uint256\"},{\"name\":\"_pools\",\"type\":\"address[4]\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_best_rate\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_best_rate\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_exclude_pools\",\"type\":\"address[8]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_exchange_amount\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_input_amount\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_exchange_amounts\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amounts\",\"type\":\"uint256[100]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[100]\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_exchange_multiple_amount\",\"inputs\":[{\"name\":\"_route\",\"type\":\"address[9]\"},{\"name\":\"_swap_params\",\"type\":\"uint256[3][4]\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_exchange_multiple_amount\",\"inputs\":[{\"name\":\"_route\",\"type\":\"address[9]\"},{\"name\":\"_swap_params\",\"type\":\"uint256[3][4]\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_pools\",\"type\":\"address[4]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_calculator\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"update_registry_address\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_calculator\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_calculator\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_default_calculator\",\"inputs\":[{\"name\":\"_calculator\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"claim_balance\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_killed\",\"inputs\":[{\"name\":\"_is_killed\",\"type\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"registry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"factory_registry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"crypto_registry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"default_calculator\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"is_killed\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}]}]",
}
RegistryExchangeMetaData contains all meta data concerning the RegistryExchange contract.
var StableSwapABI = StableSwapMetaData.ABI
StableSwapABI is the input ABI used to generate the binding from. Deprecated: Use StableSwapMetaData.ABI instead.
var StableSwapMetaData = &bind.MetaData{
ABI: "[{\"name\":\"TokenExchange\",\"inputs\":[{\"type\":\"address\",\"name\":\"buyer\",\"indexed\":true},{\"type\":\"int128\",\"name\":\"sold_id\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"tokens_sold\",\"indexed\":false},{\"type\":\"int128\",\"name\":\"bought_id\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"tokens_bought\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"TokenExchangeUnderlying\",\"inputs\":[{\"type\":\"address\",\"name\":\"buyer\",\"indexed\":true},{\"type\":\"int128\",\"name\":\"sold_id\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"tokens_sold\",\"indexed\":false},{\"type\":\"int128\",\"name\":\"bought_id\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"tokens_bought\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"AddLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[2]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[2]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[2]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[2]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidityOne\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"token_amount\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"coin_amount\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidityImbalance\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[2]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[2]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"CommitNewAdmin\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"deadline\",\"indexed\":true},{\"type\":\"address\",\"name\":\"admin\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"NewAdmin\",\"inputs\":[{\"type\":\"address\",\"name\":\"admin\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"CommitNewFee\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"deadline\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"fee\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"admin_fee\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"NewFee\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"fee\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"admin_fee\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RampA\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"old_A\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"new_A\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"initial_time\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"future_time\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"StopRampA\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"A\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"t\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\"},{\"type\":\"address[2]\",\"name\":\"_coins\"},{\"type\":\"address\",\"name\":\"_pool_token\"},{\"type\":\"uint256\",\"name\":\"_A\"},{\"type\":\"uint256\",\"name\":\"_fee\"},{\"type\":\"uint256\",\"name\":\"_admin_fee\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"name\":\"A\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":5289},{\"name\":\"A_precise\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":5251},{\"name\":\"balances\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"i\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":5076},{\"name\":\"get_virtual_price\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1114301},{\"name\":\"calc_token_amount\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256[2]\",\"name\":\"amounts\"},{\"type\":\"bool\",\"name\":\"is_deposit\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2218181},{\"name\":\"add_liquidity\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256[2]\",\"name\":\"amounts\"},{\"type\":\"uint256\",\"name\":\"min_mint_amount\"}],\"stateMutability\":\"payable\",\"type\":\"function\",\"gas\":3484118},{\"name\":\"get_dy\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"int128\",\"name\":\"i\"},{\"type\":\"int128\",\"name\":\"j\"},{\"type\":\"uint256\",\"name\":\"dx\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2654541},{\"name\":\"exchange\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"int128\",\"name\":\"i\"},{\"type\":\"int128\",\"name\":\"j\"},{\"type\":\"uint256\",\"name\":\"dx\"},{\"type\":\"uint256\",\"name\":\"min_dy\"}],\"stateMutability\":\"payable\",\"type\":\"function\",\"gas\":2810134},{\"name\":\"remove_liquidity\",\"outputs\":[{\"type\":\"uint256[2]\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_amount\"},{\"type\":\"uint256[2]\",\"name\":\"_min_amounts\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":160545},{\"name\":\"remove_liquidity_imbalance\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256[2]\",\"name\":\"_amounts\"},{\"type\":\"uint256\",\"name\":\"_max_burn_amount\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":3519382},{\"name\":\"calc_withdraw_one_coin\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_token_amount\"},{\"type\":\"int128\",\"name\":\"i\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1435},{\"name\":\"remove_liquidity_one_coin\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_token_amount\"},{\"type\":\"int128\",\"name\":\"i\"},{\"type\":\"uint256\",\"name\":\"_min_amount\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":4113806},{\"name\":\"ramp_A\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_future_A\"},{\"type\":\"uint256\",\"name\":\"_future_time\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":151834},{\"name\":\"stop_ramp_A\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":148595},{\"name\":\"commit_new_fee\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"new_fee\"},{\"type\":\"uint256\",\"name\":\"new_admin_fee\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":110431},{\"name\":\"apply_new_fee\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":153115},{\"name\":\"revert_new_parameters\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":21865},{\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":74603},{\"name\":\"apply_transfer_ownership\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":116583},{\"name\":\"revert_transfer_ownership\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":21955},{\"name\":\"withdraw_admin_fees\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":137597},{\"name\":\"donate_admin_fees\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":42144},{\"name\":\"kill_me\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":37938},{\"name\":\"unkill_me\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":22075},{\"name\":\"coins\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2160},{\"name\":\"admin_balances\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2190},{\"name\":\"fee\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2111},{\"name\":\"admin_fee\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2141},{\"name\":\"owner\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2171},{\"name\":\"lp_token\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2201},{\"name\":\"initial_A\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2231},{\"name\":\"future_A\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2261},{\"name\":\"initial_A_time\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2291},{\"name\":\"future_A_time\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2321},{\"name\":\"admin_actions_deadline\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2351},{\"name\":\"transfer_ownership_deadline\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2381},{\"name\":\"future_fee\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2411},{\"name\":\"future_admin_fee\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2441},{\"name\":\"future_owner\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2471}]",
}
StableSwapMetaData contains all meta data concerning the StableSwap contract.
var StableSwapNCoinsABI = StableSwapNCoinsMetaData.ABI
StableSwapNCoinsABI is the input ABI used to generate the binding from. Deprecated: Use StableSwapNCoinsMetaData.ABI instead.
var StableSwapNCoinsMetaData = &bind.MetaData{
ABI: "[{\"name\":\"AddLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[2]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[2]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"AddLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[3]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[3]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"AddLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[4]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[4]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[2]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[2]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[3]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[3]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[4]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[4]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidityImbalance\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[2]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[2]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidityImbalance\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[3]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[3]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidityImbalance\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256[4]\",\"name\":\"token_amounts\",\"indexed\":false},{\"type\":\"uint256[4]\",\"name\":\"fees\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"invariant\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"token_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"}]",
}
StableSwapNCoinsMetaData contains all meta data concerning the StableSwapNCoins contract.
Functions ¶
This section is empty.
Types ¶
type LiquidityGauge ¶
type LiquidityGauge struct { LiquidityGaugeCaller // Read-only binding to the contract LiquidityGaugeTransactor // Write-only binding to the contract LiquidityGaugeFilterer // Log filterer for contract events }
LiquidityGauge is an auto generated Go binding around an Ethereum contract.
func NewLiquidityGauge ¶
func NewLiquidityGauge(address common.Address, backend bind.ContractBackend) (*LiquidityGauge, error)
NewLiquidityGauge creates a new instance of LiquidityGauge, bound to a specific deployed contract.
type LiquidityGaugeCaller ¶
type LiquidityGaugeCaller struct {
// contains filtered or unexported fields
}
LiquidityGaugeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLiquidityGaugeCaller ¶
func NewLiquidityGaugeCaller(address common.Address, caller bind.ContractCaller) (*LiquidityGaugeCaller, error)
NewLiquidityGaugeCaller creates a new read-only instance of LiquidityGauge, bound to a specific deployed contract.
func (*LiquidityGaugeCaller) ApprovedToDeposit ¶
func (_LiquidityGauge *LiquidityGaugeCaller) ApprovedToDeposit(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)
ApprovedToDeposit is a free data retrieval call binding the contract method 0xe1522536.
Solidity: function approved_to_deposit(address arg0, address arg1) view returns(bool)
func (*LiquidityGaugeCaller) BalanceOf ¶
func (_LiquidityGauge *LiquidityGaugeCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address arg0) view returns(uint256)
func (*LiquidityGaugeCaller) Controller ¶
func (_LiquidityGauge *LiquidityGaugeCaller) Controller(opts *bind.CallOpts) (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
func (*LiquidityGaugeCaller) CrvToken ¶
CrvToken is a free data retrieval call binding the contract method 0x76d8b117.
Solidity: function crv_token() view returns(address)
func (*LiquidityGaugeCaller) FutureEpochTime ¶
FutureEpochTime is a free data retrieval call binding the contract method 0xbe5d1be9.
Solidity: function future_epoch_time() view returns(uint256)
func (*LiquidityGaugeCaller) InflationRate ¶
InflationRate is a free data retrieval call binding the contract method 0x180692d0.
Solidity: function inflation_rate() view returns(uint256)
func (*LiquidityGaugeCaller) IntegrateCheckpoint ¶
func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateCheckpoint(opts *bind.CallOpts) (*big.Int, error)
IntegrateCheckpoint is a free data retrieval call binding the contract method 0xd31f3f6d.
Solidity: function integrate_checkpoint() view returns(uint256)
func (*LiquidityGaugeCaller) IntegrateCheckpointOf ¶
func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateCheckpointOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
IntegrateCheckpointOf is a free data retrieval call binding the contract method 0x9bd324f2.
Solidity: function integrate_checkpoint_of(address arg0) view returns(uint256)
func (*LiquidityGaugeCaller) IntegrateFraction ¶
func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateFraction(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
IntegrateFraction is a free data retrieval call binding the contract method 0x09400707.
Solidity: function integrate_fraction(address arg0) view returns(uint256)
func (*LiquidityGaugeCaller) IntegrateInvSupply ¶
func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateInvSupply(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
IntegrateInvSupply is a free data retrieval call binding the contract method 0xfec8ee0c.
Solidity: function integrate_inv_supply(uint256 arg0) view returns(uint256)
func (*LiquidityGaugeCaller) IntegrateInvSupplyOf ¶
func (_LiquidityGauge *LiquidityGaugeCaller) IntegrateInvSupplyOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
IntegrateInvSupplyOf is a free data retrieval call binding the contract method 0xde263bfa.
Solidity: function integrate_inv_supply_of(address arg0) view returns(uint256)
func (*LiquidityGaugeCaller) LpToken ¶
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*LiquidityGaugeCaller) Minter ¶
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*LiquidityGaugeCaller) Period ¶
Period is a free data retrieval call binding the contract method 0xef78d4fd.
Solidity: function period() view returns(int128)
func (*LiquidityGaugeCaller) PeriodTimestamp ¶
func (_LiquidityGauge *LiquidityGaugeCaller) PeriodTimestamp(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
PeriodTimestamp is a free data retrieval call binding the contract method 0x7598108c.
Solidity: function period_timestamp(uint256 arg0) view returns(uint256)
func (*LiquidityGaugeCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LiquidityGaugeCaller) VotingEscrow ¶
func (_LiquidityGauge *LiquidityGaugeCaller) VotingEscrow(opts *bind.CallOpts) (common.Address, error)
VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.
Solidity: function voting_escrow() view returns(address)
func (*LiquidityGaugeCaller) WorkingBalances ¶
func (_LiquidityGauge *LiquidityGaugeCaller) WorkingBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
WorkingBalances is a free data retrieval call binding the contract method 0x13ecb1ca.
Solidity: function working_balances(address arg0) view returns(uint256)
func (*LiquidityGaugeCaller) WorkingSupply ¶
WorkingSupply is a free data retrieval call binding the contract method 0x17e28089.
Solidity: function working_supply() view returns(uint256)
type LiquidityGaugeCallerRaw ¶
type LiquidityGaugeCallerRaw struct {
Contract *LiquidityGaugeCaller // Generic read-only contract binding to access the raw methods on
}
LiquidityGaugeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LiquidityGaugeCallerRaw) Call ¶
func (_LiquidityGauge *LiquidityGaugeCallerRaw) 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 LiquidityGaugeCallerSession ¶
type LiquidityGaugeCallerSession struct { Contract *LiquidityGaugeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LiquidityGaugeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LiquidityGaugeCallerSession) ApprovedToDeposit ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) ApprovedToDeposit(arg0 common.Address, arg1 common.Address) (bool, error)
ApprovedToDeposit is a free data retrieval call binding the contract method 0xe1522536.
Solidity: function approved_to_deposit(address arg0, address arg1) view returns(bool)
func (*LiquidityGaugeCallerSession) BalanceOf ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address arg0) view returns(uint256)
func (*LiquidityGaugeCallerSession) Controller ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
func (*LiquidityGaugeCallerSession) CrvToken ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) CrvToken() (common.Address, error)
CrvToken is a free data retrieval call binding the contract method 0x76d8b117.
Solidity: function crv_token() view returns(address)
func (*LiquidityGaugeCallerSession) FutureEpochTime ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) FutureEpochTime() (*big.Int, error)
FutureEpochTime is a free data retrieval call binding the contract method 0xbe5d1be9.
Solidity: function future_epoch_time() view returns(uint256)
func (*LiquidityGaugeCallerSession) InflationRate ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) InflationRate() (*big.Int, error)
InflationRate is a free data retrieval call binding the contract method 0x180692d0.
Solidity: function inflation_rate() view returns(uint256)
func (*LiquidityGaugeCallerSession) IntegrateCheckpoint ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateCheckpoint() (*big.Int, error)
IntegrateCheckpoint is a free data retrieval call binding the contract method 0xd31f3f6d.
Solidity: function integrate_checkpoint() view returns(uint256)
func (*LiquidityGaugeCallerSession) IntegrateCheckpointOf ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateCheckpointOf(arg0 common.Address) (*big.Int, error)
IntegrateCheckpointOf is a free data retrieval call binding the contract method 0x9bd324f2.
Solidity: function integrate_checkpoint_of(address arg0) view returns(uint256)
func (*LiquidityGaugeCallerSession) IntegrateFraction ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateFraction(arg0 common.Address) (*big.Int, error)
IntegrateFraction is a free data retrieval call binding the contract method 0x09400707.
Solidity: function integrate_fraction(address arg0) view returns(uint256)
func (*LiquidityGaugeCallerSession) IntegrateInvSupply ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateInvSupply(arg0 *big.Int) (*big.Int, error)
IntegrateInvSupply is a free data retrieval call binding the contract method 0xfec8ee0c.
Solidity: function integrate_inv_supply(uint256 arg0) view returns(uint256)
func (*LiquidityGaugeCallerSession) IntegrateInvSupplyOf ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) IntegrateInvSupplyOf(arg0 common.Address) (*big.Int, error)
IntegrateInvSupplyOf is a free data retrieval call binding the contract method 0xde263bfa.
Solidity: function integrate_inv_supply_of(address arg0) view returns(uint256)
func (*LiquidityGaugeCallerSession) LpToken ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*LiquidityGaugeCallerSession) Minter ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*LiquidityGaugeCallerSession) Period ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) Period() (*big.Int, error)
Period is a free data retrieval call binding the contract method 0xef78d4fd.
Solidity: function period() view returns(int128)
func (*LiquidityGaugeCallerSession) PeriodTimestamp ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) PeriodTimestamp(arg0 *big.Int) (*big.Int, error)
PeriodTimestamp is a free data retrieval call binding the contract method 0x7598108c.
Solidity: function period_timestamp(uint256 arg0) view returns(uint256)
func (*LiquidityGaugeCallerSession) TotalSupply ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LiquidityGaugeCallerSession) VotingEscrow ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) VotingEscrow() (common.Address, error)
VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.
Solidity: function voting_escrow() view returns(address)
func (*LiquidityGaugeCallerSession) WorkingBalances ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) WorkingBalances(arg0 common.Address) (*big.Int, error)
WorkingBalances is a free data retrieval call binding the contract method 0x13ecb1ca.
Solidity: function working_balances(address arg0) view returns(uint256)
func (*LiquidityGaugeCallerSession) WorkingSupply ¶
func (_LiquidityGauge *LiquidityGaugeCallerSession) WorkingSupply() (*big.Int, error)
WorkingSupply is a free data retrieval call binding the contract method 0x17e28089.
Solidity: function working_supply() view returns(uint256)
type LiquidityGaugeDeposit ¶
type LiquidityGaugeDeposit struct { Provider common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LiquidityGaugeDeposit represents a Deposit event raised by the LiquidityGauge contract.
type LiquidityGaugeDepositIterator ¶
type LiquidityGaugeDepositIterator struct { Event *LiquidityGaugeDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LiquidityGaugeDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the LiquidityGauge contract.
func (*LiquidityGaugeDepositIterator) Close ¶
func (it *LiquidityGaugeDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LiquidityGaugeDepositIterator) Error ¶
func (it *LiquidityGaugeDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LiquidityGaugeDepositIterator) Next ¶
func (it *LiquidityGaugeDepositIterator) 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 LiquidityGaugeFilterer ¶
type LiquidityGaugeFilterer struct {
// contains filtered or unexported fields
}
LiquidityGaugeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLiquidityGaugeFilterer ¶
func NewLiquidityGaugeFilterer(address common.Address, filterer bind.ContractFilterer) (*LiquidityGaugeFilterer, error)
NewLiquidityGaugeFilterer creates a new log filterer instance of LiquidityGauge, bound to a specific deployed contract.
func (*LiquidityGaugeFilterer) FilterDeposit ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) FilterDeposit(opts *bind.FilterOpts, provider []common.Address) (*LiquidityGaugeDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed provider, uint256 value)
func (*LiquidityGaugeFilterer) FilterUpdateLiquidityLimit ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) FilterUpdateLiquidityLimit(opts *bind.FilterOpts) (*LiquidityGaugeUpdateLiquidityLimitIterator, error)
FilterUpdateLiquidityLimit is a free log retrieval operation binding the contract event 0x7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3.
Solidity: event UpdateLiquidityLimit(address user, uint256 original_balance, uint256 original_supply, uint256 working_balance, uint256 working_supply)
func (*LiquidityGaugeFilterer) FilterWithdraw ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) FilterWithdraw(opts *bind.FilterOpts, provider []common.Address) (*LiquidityGaugeWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address indexed provider, uint256 value)
func (*LiquidityGaugeFilterer) ParseDeposit ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) ParseDeposit(log types.Log) (*LiquidityGaugeDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed provider, uint256 value)
func (*LiquidityGaugeFilterer) ParseUpdateLiquidityLimit ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) ParseUpdateLiquidityLimit(log types.Log) (*LiquidityGaugeUpdateLiquidityLimit, error)
ParseUpdateLiquidityLimit is a log parse operation binding the contract event 0x7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3.
Solidity: event UpdateLiquidityLimit(address user, uint256 original_balance, uint256 original_supply, uint256 working_balance, uint256 working_supply)
func (*LiquidityGaugeFilterer) ParseWithdraw ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) ParseWithdraw(log types.Log) (*LiquidityGaugeWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address indexed provider, uint256 value)
func (*LiquidityGaugeFilterer) WatchDeposit ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *LiquidityGaugeDeposit, provider []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed provider, uint256 value)
func (*LiquidityGaugeFilterer) WatchUpdateLiquidityLimit ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) WatchUpdateLiquidityLimit(opts *bind.WatchOpts, sink chan<- *LiquidityGaugeUpdateLiquidityLimit) (event.Subscription, error)
WatchUpdateLiquidityLimit is a free log subscription operation binding the contract event 0x7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3.
Solidity: event UpdateLiquidityLimit(address user, uint256 original_balance, uint256 original_supply, uint256 working_balance, uint256 working_supply)
func (*LiquidityGaugeFilterer) WatchWithdraw ¶
func (_LiquidityGauge *LiquidityGaugeFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *LiquidityGaugeWithdraw, provider []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address indexed provider, uint256 value)
type LiquidityGaugeRaw ¶
type LiquidityGaugeRaw struct {
Contract *LiquidityGauge // Generic contract binding to access the raw methods on
}
LiquidityGaugeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LiquidityGaugeRaw) Call ¶
func (_LiquidityGauge *LiquidityGaugeRaw) 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 (*LiquidityGaugeRaw) Transact ¶
func (_LiquidityGauge *LiquidityGaugeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LiquidityGaugeRaw) Transfer ¶
func (_LiquidityGauge *LiquidityGaugeRaw) 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 LiquidityGaugeSession ¶
type LiquidityGaugeSession struct { Contract *LiquidityGauge // 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 }
LiquidityGaugeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LiquidityGaugeSession) ApprovedToDeposit ¶
func (_LiquidityGauge *LiquidityGaugeSession) ApprovedToDeposit(arg0 common.Address, arg1 common.Address) (bool, error)
ApprovedToDeposit is a free data retrieval call binding the contract method 0xe1522536.
Solidity: function approved_to_deposit(address arg0, address arg1) view returns(bool)
func (*LiquidityGaugeSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address arg0) view returns(uint256)
func (*LiquidityGaugeSession) ClaimableTokens ¶
func (_LiquidityGauge *LiquidityGaugeSession) ClaimableTokens(addr common.Address) (*types.Transaction, error)
ClaimableTokens is a paid mutator transaction binding the contract method 0x33134583.
Solidity: function claimable_tokens(address addr) returns(uint256)
func (*LiquidityGaugeSession) Controller ¶
func (_LiquidityGauge *LiquidityGaugeSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
func (*LiquidityGaugeSession) CrvToken ¶
func (_LiquidityGauge *LiquidityGaugeSession) CrvToken() (common.Address, error)
CrvToken is a free data retrieval call binding the contract method 0x76d8b117.
Solidity: function crv_token() view returns(address)
func (*LiquidityGaugeSession) Deposit ¶
func (_LiquidityGauge *LiquidityGaugeSession) Deposit(_value *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _value) returns()
func (*LiquidityGaugeSession) Deposit0 ¶
func (_LiquidityGauge *LiquidityGaugeSession) Deposit0(_value *big.Int, addr common.Address) (*types.Transaction, error)
Deposit0 is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 _value, address addr) returns()
func (*LiquidityGaugeSession) FutureEpochTime ¶
func (_LiquidityGauge *LiquidityGaugeSession) FutureEpochTime() (*big.Int, error)
FutureEpochTime is a free data retrieval call binding the contract method 0xbe5d1be9.
Solidity: function future_epoch_time() view returns(uint256)
func (*LiquidityGaugeSession) InflationRate ¶
func (_LiquidityGauge *LiquidityGaugeSession) InflationRate() (*big.Int, error)
InflationRate is a free data retrieval call binding the contract method 0x180692d0.
Solidity: function inflation_rate() view returns(uint256)
func (*LiquidityGaugeSession) IntegrateCheckpoint ¶
func (_LiquidityGauge *LiquidityGaugeSession) IntegrateCheckpoint() (*big.Int, error)
IntegrateCheckpoint is a free data retrieval call binding the contract method 0xd31f3f6d.
Solidity: function integrate_checkpoint() view returns(uint256)
func (*LiquidityGaugeSession) IntegrateCheckpointOf ¶
func (_LiquidityGauge *LiquidityGaugeSession) IntegrateCheckpointOf(arg0 common.Address) (*big.Int, error)
IntegrateCheckpointOf is a free data retrieval call binding the contract method 0x9bd324f2.
Solidity: function integrate_checkpoint_of(address arg0) view returns(uint256)
func (*LiquidityGaugeSession) IntegrateFraction ¶
func (_LiquidityGauge *LiquidityGaugeSession) IntegrateFraction(arg0 common.Address) (*big.Int, error)
IntegrateFraction is a free data retrieval call binding the contract method 0x09400707.
Solidity: function integrate_fraction(address arg0) view returns(uint256)
func (*LiquidityGaugeSession) IntegrateInvSupply ¶
IntegrateInvSupply is a free data retrieval call binding the contract method 0xfec8ee0c.
Solidity: function integrate_inv_supply(uint256 arg0) view returns(uint256)
func (*LiquidityGaugeSession) IntegrateInvSupplyOf ¶
func (_LiquidityGauge *LiquidityGaugeSession) IntegrateInvSupplyOf(arg0 common.Address) (*big.Int, error)
IntegrateInvSupplyOf is a free data retrieval call binding the contract method 0xde263bfa.
Solidity: function integrate_inv_supply_of(address arg0) view returns(uint256)
func (*LiquidityGaugeSession) Kick ¶
func (_LiquidityGauge *LiquidityGaugeSession) Kick(addr common.Address) (*types.Transaction, error)
Kick is a paid mutator transaction binding the contract method 0x96c55175.
Solidity: function kick(address addr) returns()
func (*LiquidityGaugeSession) LpToken ¶
func (_LiquidityGauge *LiquidityGaugeSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*LiquidityGaugeSession) Minter ¶
func (_LiquidityGauge *LiquidityGaugeSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*LiquidityGaugeSession) Period ¶
func (_LiquidityGauge *LiquidityGaugeSession) Period() (*big.Int, error)
Period is a free data retrieval call binding the contract method 0xef78d4fd.
Solidity: function period() view returns(int128)
func (*LiquidityGaugeSession) PeriodTimestamp ¶
PeriodTimestamp is a free data retrieval call binding the contract method 0x7598108c.
Solidity: function period_timestamp(uint256 arg0) view returns(uint256)
func (*LiquidityGaugeSession) SetApproveDeposit ¶
func (_LiquidityGauge *LiquidityGaugeSession) SetApproveDeposit(addr common.Address, can_deposit bool) (*types.Transaction, error)
SetApproveDeposit is a paid mutator transaction binding the contract method 0x1d2747d4.
Solidity: function set_approve_deposit(address addr, bool can_deposit) returns()
func (*LiquidityGaugeSession) TotalSupply ¶
func (_LiquidityGauge *LiquidityGaugeSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LiquidityGaugeSession) UserCheckpoint ¶
func (_LiquidityGauge *LiquidityGaugeSession) UserCheckpoint(addr common.Address) (*types.Transaction, error)
UserCheckpoint is a paid mutator transaction binding the contract method 0x4b820093.
Solidity: function user_checkpoint(address addr) returns(bool)
func (*LiquidityGaugeSession) VotingEscrow ¶
func (_LiquidityGauge *LiquidityGaugeSession) VotingEscrow() (common.Address, error)
VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.
Solidity: function voting_escrow() view returns(address)
func (*LiquidityGaugeSession) Withdraw ¶
func (_LiquidityGauge *LiquidityGaugeSession) Withdraw(_value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _value) returns()
func (*LiquidityGaugeSession) WorkingBalances ¶
func (_LiquidityGauge *LiquidityGaugeSession) WorkingBalances(arg0 common.Address) (*big.Int, error)
WorkingBalances is a free data retrieval call binding the contract method 0x13ecb1ca.
Solidity: function working_balances(address arg0) view returns(uint256)
func (*LiquidityGaugeSession) WorkingSupply ¶
func (_LiquidityGauge *LiquidityGaugeSession) WorkingSupply() (*big.Int, error)
WorkingSupply is a free data retrieval call binding the contract method 0x17e28089.
Solidity: function working_supply() view returns(uint256)
type LiquidityGaugeTransactor ¶
type LiquidityGaugeTransactor struct {
// contains filtered or unexported fields
}
LiquidityGaugeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLiquidityGaugeTransactor ¶
func NewLiquidityGaugeTransactor(address common.Address, transactor bind.ContractTransactor) (*LiquidityGaugeTransactor, error)
NewLiquidityGaugeTransactor creates a new write-only instance of LiquidityGauge, bound to a specific deployed contract.
func (*LiquidityGaugeTransactor) ClaimableTokens ¶
func (_LiquidityGauge *LiquidityGaugeTransactor) ClaimableTokens(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
ClaimableTokens is a paid mutator transaction binding the contract method 0x33134583.
Solidity: function claimable_tokens(address addr) returns(uint256)
func (*LiquidityGaugeTransactor) Deposit ¶
func (_LiquidityGauge *LiquidityGaugeTransactor) Deposit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _value) returns()
func (*LiquidityGaugeTransactor) Deposit0 ¶
func (_LiquidityGauge *LiquidityGaugeTransactor) Deposit0(opts *bind.TransactOpts, _value *big.Int, addr common.Address) (*types.Transaction, error)
Deposit0 is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 _value, address addr) returns()
func (*LiquidityGaugeTransactor) Kick ¶
func (_LiquidityGauge *LiquidityGaugeTransactor) Kick(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
Kick is a paid mutator transaction binding the contract method 0x96c55175.
Solidity: function kick(address addr) returns()
func (*LiquidityGaugeTransactor) SetApproveDeposit ¶
func (_LiquidityGauge *LiquidityGaugeTransactor) SetApproveDeposit(opts *bind.TransactOpts, addr common.Address, can_deposit bool) (*types.Transaction, error)
SetApproveDeposit is a paid mutator transaction binding the contract method 0x1d2747d4.
Solidity: function set_approve_deposit(address addr, bool can_deposit) returns()
func (*LiquidityGaugeTransactor) UserCheckpoint ¶
func (_LiquidityGauge *LiquidityGaugeTransactor) UserCheckpoint(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
UserCheckpoint is a paid mutator transaction binding the contract method 0x4b820093.
Solidity: function user_checkpoint(address addr) returns(bool)
func (*LiquidityGaugeTransactor) Withdraw ¶
func (_LiquidityGauge *LiquidityGaugeTransactor) Withdraw(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _value) returns()
type LiquidityGaugeTransactorRaw ¶
type LiquidityGaugeTransactorRaw struct {
Contract *LiquidityGaugeTransactor // Generic write-only contract binding to access the raw methods on
}
LiquidityGaugeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LiquidityGaugeTransactorRaw) Transact ¶
func (_LiquidityGauge *LiquidityGaugeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LiquidityGaugeTransactorRaw) Transfer ¶
func (_LiquidityGauge *LiquidityGaugeTransactorRaw) 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 LiquidityGaugeTransactorSession ¶
type LiquidityGaugeTransactorSession struct { Contract *LiquidityGaugeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LiquidityGaugeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LiquidityGaugeTransactorSession) ClaimableTokens ¶
func (_LiquidityGauge *LiquidityGaugeTransactorSession) ClaimableTokens(addr common.Address) (*types.Transaction, error)
ClaimableTokens is a paid mutator transaction binding the contract method 0x33134583.
Solidity: function claimable_tokens(address addr) returns(uint256)
func (*LiquidityGaugeTransactorSession) Deposit ¶
func (_LiquidityGauge *LiquidityGaugeTransactorSession) Deposit(_value *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _value) returns()
func (*LiquidityGaugeTransactorSession) Deposit0 ¶
func (_LiquidityGauge *LiquidityGaugeTransactorSession) Deposit0(_value *big.Int, addr common.Address) (*types.Transaction, error)
Deposit0 is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 _value, address addr) returns()
func (*LiquidityGaugeTransactorSession) Kick ¶
func (_LiquidityGauge *LiquidityGaugeTransactorSession) Kick(addr common.Address) (*types.Transaction, error)
Kick is a paid mutator transaction binding the contract method 0x96c55175.
Solidity: function kick(address addr) returns()
func (*LiquidityGaugeTransactorSession) SetApproveDeposit ¶
func (_LiquidityGauge *LiquidityGaugeTransactorSession) SetApproveDeposit(addr common.Address, can_deposit bool) (*types.Transaction, error)
SetApproveDeposit is a paid mutator transaction binding the contract method 0x1d2747d4.
Solidity: function set_approve_deposit(address addr, bool can_deposit) returns()
func (*LiquidityGaugeTransactorSession) UserCheckpoint ¶
func (_LiquidityGauge *LiquidityGaugeTransactorSession) UserCheckpoint(addr common.Address) (*types.Transaction, error)
UserCheckpoint is a paid mutator transaction binding the contract method 0x4b820093.
Solidity: function user_checkpoint(address addr) returns(bool)
func (*LiquidityGaugeTransactorSession) Withdraw ¶
func (_LiquidityGauge *LiquidityGaugeTransactorSession) Withdraw(_value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _value) returns()
type LiquidityGaugeUpdateLiquidityLimit ¶
type LiquidityGaugeUpdateLiquidityLimit struct { User common.Address OriginalBalance *big.Int OriginalSupply *big.Int WorkingBalance *big.Int WorkingSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
LiquidityGaugeUpdateLiquidityLimit represents a UpdateLiquidityLimit event raised by the LiquidityGauge contract.
type LiquidityGaugeUpdateLiquidityLimitIterator ¶
type LiquidityGaugeUpdateLiquidityLimitIterator struct { Event *LiquidityGaugeUpdateLiquidityLimit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LiquidityGaugeUpdateLiquidityLimitIterator is returned from FilterUpdateLiquidityLimit and is used to iterate over the raw logs and unpacked data for UpdateLiquidityLimit events raised by the LiquidityGauge contract.
func (*LiquidityGaugeUpdateLiquidityLimitIterator) Close ¶
func (it *LiquidityGaugeUpdateLiquidityLimitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LiquidityGaugeUpdateLiquidityLimitIterator) Error ¶
func (it *LiquidityGaugeUpdateLiquidityLimitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LiquidityGaugeUpdateLiquidityLimitIterator) Next ¶
func (it *LiquidityGaugeUpdateLiquidityLimitIterator) 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 LiquidityGaugeWithdraw ¶
type LiquidityGaugeWithdraw struct { Provider common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LiquidityGaugeWithdraw represents a Withdraw event raised by the LiquidityGauge contract.
type LiquidityGaugeWithdrawIterator ¶
type LiquidityGaugeWithdrawIterator struct { Event *LiquidityGaugeWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LiquidityGaugeWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the LiquidityGauge contract.
func (*LiquidityGaugeWithdrawIterator) Close ¶
func (it *LiquidityGaugeWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LiquidityGaugeWithdrawIterator) Error ¶
func (it *LiquidityGaugeWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LiquidityGaugeWithdrawIterator) Next ¶
func (it *LiquidityGaugeWithdrawIterator) 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 RegistryExchange ¶
type RegistryExchange struct { RegistryExchangeCaller // Read-only binding to the contract RegistryExchangeTransactor // Write-only binding to the contract RegistryExchangeFilterer // Log filterer for contract events }
RegistryExchange is an auto generated Go binding around an Ethereum contract.
func NewRegistryExchange ¶
func NewRegistryExchange(address common.Address, backend bind.ContractBackend) (*RegistryExchange, error)
NewRegistryExchange creates a new instance of RegistryExchange, bound to a specific deployed contract.
type RegistryExchangeCaller ¶
type RegistryExchangeCaller struct {
// contains filtered or unexported fields
}
RegistryExchangeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRegistryExchangeCaller ¶
func NewRegistryExchangeCaller(address common.Address, caller bind.ContractCaller) (*RegistryExchangeCaller, error)
NewRegistryExchangeCaller creates a new read-only instance of RegistryExchange, bound to a specific deployed contract.
func (*RegistryExchangeCaller) CryptoRegistry ¶
func (_RegistryExchange *RegistryExchangeCaller) CryptoRegistry(opts *bind.CallOpts) (common.Address, error)
CryptoRegistry is a free data retrieval call binding the contract method 0xf3b8f829.
Solidity: function crypto_registry() view returns(address)
func (*RegistryExchangeCaller) DefaultCalculator ¶
func (_RegistryExchange *RegistryExchangeCaller) DefaultCalculator(opts *bind.CallOpts) (common.Address, error)
DefaultCalculator is a free data retrieval call binding the contract method 0x3b359fc8.
Solidity: function default_calculator() view returns(address)
func (*RegistryExchangeCaller) FactoryRegistry ¶
func (_RegistryExchange *RegistryExchangeCaller) FactoryRegistry(opts *bind.CallOpts) (common.Address, error)
FactoryRegistry is a free data retrieval call binding the contract method 0xf7cbf4c6.
Solidity: function factory_registry() view returns(address)
func (*RegistryExchangeCaller) GetBestRate ¶
func (_RegistryExchange *RegistryExchangeCaller) GetBestRate(opts *bind.CallOpts, _from common.Address, _to common.Address, _amount *big.Int) (common.Address, *big.Int, error)
GetBestRate is a free data retrieval call binding the contract method 0x4e21df75.
Solidity: function get_best_rate(address _from, address _to, uint256 _amount) view returns(address, uint256)
func (*RegistryExchangeCaller) GetBestRate0 ¶
func (_RegistryExchange *RegistryExchangeCaller) GetBestRate0(opts *bind.CallOpts, _from common.Address, _to common.Address, _amount *big.Int, _exclude_pools [8]common.Address) (common.Address, *big.Int, error)
GetBestRate0 is a free data retrieval call binding the contract method 0x488de9af.
Solidity: function get_best_rate(address _from, address _to, uint256 _amount, address[8] _exclude_pools) view returns(address, uint256)
func (*RegistryExchangeCaller) GetCalculator ¶
func (_RegistryExchange *RegistryExchangeCaller) GetCalculator(opts *bind.CallOpts, _pool common.Address) (common.Address, error)
GetCalculator is a free data retrieval call binding the contract method 0x5d7dc825.
Solidity: function get_calculator(address _pool) view returns(address)
func (*RegistryExchangeCaller) GetExchangeAmount ¶
func (_RegistryExchange *RegistryExchangeCaller) GetExchangeAmount(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)
GetExchangeAmount is a free data retrieval call binding the contract method 0x3973e834.
Solidity: function get_exchange_amount(address _pool, address _from, address _to, uint256 _amount) view returns(uint256)
func (*RegistryExchangeCaller) GetExchangeAmounts ¶
func (_RegistryExchange *RegistryExchangeCaller) GetExchangeAmounts(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address, _amounts [100]*big.Int) ([100]*big.Int, error)
GetExchangeAmounts is a free data retrieval call binding the contract method 0x4be9ae42.
Solidity: function get_exchange_amounts(address _pool, address _from, address _to, uint256[100] _amounts) view returns(uint256[100])
func (*RegistryExchangeCaller) GetExchangeMultipleAmount ¶
func (_RegistryExchange *RegistryExchangeCaller) GetExchangeMultipleAmount(opts *bind.CallOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int) (*big.Int, error)
GetExchangeMultipleAmount is a free data retrieval call binding the contract method 0x7b3d22cf.
Solidity: function get_exchange_multiple_amount(address[9] _route, uint256[3][4] _swap_params, uint256 _amount) view returns(uint256)
func (*RegistryExchangeCaller) GetExchangeMultipleAmount0 ¶
func (_RegistryExchange *RegistryExchangeCaller) GetExchangeMultipleAmount0(opts *bind.CallOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _pools [4]common.Address) (*big.Int, error)
GetExchangeMultipleAmount0 is a free data retrieval call binding the contract method 0xe6eabf23.
Solidity: function get_exchange_multiple_amount(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, address[4] _pools) view returns(uint256)
func (*RegistryExchangeCaller) GetInputAmount ¶
func (_RegistryExchange *RegistryExchangeCaller) GetInputAmount(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)
GetInputAmount is a free data retrieval call binding the contract method 0x7fa5a654.
Solidity: function get_input_amount(address _pool, address _from, address _to, uint256 _amount) view returns(uint256)
type RegistryExchangeCallerRaw ¶
type RegistryExchangeCallerRaw struct {
Contract *RegistryExchangeCaller // Generic read-only contract binding to access the raw methods on
}
RegistryExchangeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RegistryExchangeCallerRaw) Call ¶
func (_RegistryExchange *RegistryExchangeCallerRaw) 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 RegistryExchangeCallerSession ¶
type RegistryExchangeCallerSession struct { Contract *RegistryExchangeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RegistryExchangeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RegistryExchangeCallerSession) CryptoRegistry ¶
func (_RegistryExchange *RegistryExchangeCallerSession) CryptoRegistry() (common.Address, error)
CryptoRegistry is a free data retrieval call binding the contract method 0xf3b8f829.
Solidity: function crypto_registry() view returns(address)
func (*RegistryExchangeCallerSession) DefaultCalculator ¶
func (_RegistryExchange *RegistryExchangeCallerSession) DefaultCalculator() (common.Address, error)
DefaultCalculator is a free data retrieval call binding the contract method 0x3b359fc8.
Solidity: function default_calculator() view returns(address)
func (*RegistryExchangeCallerSession) FactoryRegistry ¶
func (_RegistryExchange *RegistryExchangeCallerSession) FactoryRegistry() (common.Address, error)
FactoryRegistry is a free data retrieval call binding the contract method 0xf7cbf4c6.
Solidity: function factory_registry() view returns(address)
func (*RegistryExchangeCallerSession) GetBestRate ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetBestRate(_from common.Address, _to common.Address, _amount *big.Int) (common.Address, *big.Int, error)
GetBestRate is a free data retrieval call binding the contract method 0x4e21df75.
Solidity: function get_best_rate(address _from, address _to, uint256 _amount) view returns(address, uint256)
func (*RegistryExchangeCallerSession) GetBestRate0 ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetBestRate0(_from common.Address, _to common.Address, _amount *big.Int, _exclude_pools [8]common.Address) (common.Address, *big.Int, error)
GetBestRate0 is a free data retrieval call binding the contract method 0x488de9af.
Solidity: function get_best_rate(address _from, address _to, uint256 _amount, address[8] _exclude_pools) view returns(address, uint256)
func (*RegistryExchangeCallerSession) GetCalculator ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetCalculator(_pool common.Address) (common.Address, error)
GetCalculator is a free data retrieval call binding the contract method 0x5d7dc825.
Solidity: function get_calculator(address _pool) view returns(address)
func (*RegistryExchangeCallerSession) GetExchangeAmount ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)
GetExchangeAmount is a free data retrieval call binding the contract method 0x3973e834.
Solidity: function get_exchange_amount(address _pool, address _from, address _to, uint256 _amount) view returns(uint256)
func (*RegistryExchangeCallerSession) GetExchangeAmounts ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeAmounts(_pool common.Address, _from common.Address, _to common.Address, _amounts [100]*big.Int) ([100]*big.Int, error)
GetExchangeAmounts is a free data retrieval call binding the contract method 0x4be9ae42.
Solidity: function get_exchange_amounts(address _pool, address _from, address _to, uint256[100] _amounts) view returns(uint256[100])
func (*RegistryExchangeCallerSession) GetExchangeMultipleAmount ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeMultipleAmount(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int) (*big.Int, error)
GetExchangeMultipleAmount is a free data retrieval call binding the contract method 0x7b3d22cf.
Solidity: function get_exchange_multiple_amount(address[9] _route, uint256[3][4] _swap_params, uint256 _amount) view returns(uint256)
func (*RegistryExchangeCallerSession) GetExchangeMultipleAmount0 ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetExchangeMultipleAmount0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _pools [4]common.Address) (*big.Int, error)
GetExchangeMultipleAmount0 is a free data retrieval call binding the contract method 0xe6eabf23.
Solidity: function get_exchange_multiple_amount(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, address[4] _pools) view returns(uint256)
func (*RegistryExchangeCallerSession) GetInputAmount ¶
func (_RegistryExchange *RegistryExchangeCallerSession) GetInputAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)
GetInputAmount is a free data retrieval call binding the contract method 0x7fa5a654.
Solidity: function get_input_amount(address _pool, address _from, address _to, uint256 _amount) view returns(uint256)
func (*RegistryExchangeCallerSession) IsKilled ¶
func (_RegistryExchange *RegistryExchangeCallerSession) IsKilled() (bool, error)
IsKilled is a free data retrieval call binding the contract method 0x9c868ac0.
Solidity: function is_killed() view returns(bool)
type RegistryExchangeExchangeMultiple ¶
type RegistryExchangeExchangeMultiple struct { Buyer common.Address Receiver common.Address Route [9]common.Address SwapParams [4][3]*big.Int Pools [4]common.Address AmountSold *big.Int AmountBought *big.Int Raw types.Log // Blockchain specific contextual infos }
RegistryExchangeExchangeMultiple represents a ExchangeMultiple event raised by the RegistryExchange contract.
type RegistryExchangeExchangeMultipleIterator ¶
type RegistryExchangeExchangeMultipleIterator struct { Event *RegistryExchangeExchangeMultiple // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RegistryExchangeExchangeMultipleIterator is returned from FilterExchangeMultiple and is used to iterate over the raw logs and unpacked data for ExchangeMultiple events raised by the RegistryExchange contract.
func (*RegistryExchangeExchangeMultipleIterator) Close ¶
func (it *RegistryExchangeExchangeMultipleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RegistryExchangeExchangeMultipleIterator) Error ¶
func (it *RegistryExchangeExchangeMultipleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RegistryExchangeExchangeMultipleIterator) Next ¶
func (it *RegistryExchangeExchangeMultipleIterator) 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 RegistryExchangeFilterer ¶
type RegistryExchangeFilterer struct {
// contains filtered or unexported fields
}
RegistryExchangeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRegistryExchangeFilterer ¶
func NewRegistryExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistryExchangeFilterer, error)
NewRegistryExchangeFilterer creates a new log filterer instance of RegistryExchange, bound to a specific deployed contract.
func (*RegistryExchangeFilterer) FilterExchangeMultiple ¶
func (_RegistryExchange *RegistryExchangeFilterer) FilterExchangeMultiple(opts *bind.FilterOpts, buyer []common.Address, receiver []common.Address) (*RegistryExchangeExchangeMultipleIterator, error)
FilterExchangeMultiple is a free log retrieval operation binding the contract event 0x14b561178ae0f368f40fafd0485c4f7129ea71cdc00b4ce1e5940f9bc659c8b2.
Solidity: event ExchangeMultiple(address indexed buyer, address indexed receiver, address[9] route, uint256[3][4] swap_params, address[4] pools, uint256 amount_sold, uint256 amount_bought)
func (*RegistryExchangeFilterer) FilterTokenExchange ¶
func (_RegistryExchange *RegistryExchangeFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address, receiver []common.Address, pool []common.Address) (*RegistryExchangeTokenExchangeIterator, error)
FilterTokenExchange is a free log retrieval operation binding the contract event 0xbd3eb7bcfdd1721a4eb4f00d0df3ed91bd6f17222f82b2d7bce519d8cab3fe46.
Solidity: event TokenExchange(address indexed buyer, address indexed receiver, address indexed pool, address token_sold, address token_bought, uint256 amount_sold, uint256 amount_bought)
func (*RegistryExchangeFilterer) ParseExchangeMultiple ¶
func (_RegistryExchange *RegistryExchangeFilterer) ParseExchangeMultiple(log types.Log) (*RegistryExchangeExchangeMultiple, error)
ParseExchangeMultiple is a log parse operation binding the contract event 0x14b561178ae0f368f40fafd0485c4f7129ea71cdc00b4ce1e5940f9bc659c8b2.
Solidity: event ExchangeMultiple(address indexed buyer, address indexed receiver, address[9] route, uint256[3][4] swap_params, address[4] pools, uint256 amount_sold, uint256 amount_bought)
func (*RegistryExchangeFilterer) ParseTokenExchange ¶
func (_RegistryExchange *RegistryExchangeFilterer) ParseTokenExchange(log types.Log) (*RegistryExchangeTokenExchange, error)
ParseTokenExchange is a log parse operation binding the contract event 0xbd3eb7bcfdd1721a4eb4f00d0df3ed91bd6f17222f82b2d7bce519d8cab3fe46.
Solidity: event TokenExchange(address indexed buyer, address indexed receiver, address indexed pool, address token_sold, address token_bought, uint256 amount_sold, uint256 amount_bought)
func (*RegistryExchangeFilterer) WatchExchangeMultiple ¶
func (_RegistryExchange *RegistryExchangeFilterer) WatchExchangeMultiple(opts *bind.WatchOpts, sink chan<- *RegistryExchangeExchangeMultiple, buyer []common.Address, receiver []common.Address) (event.Subscription, error)
WatchExchangeMultiple is a free log subscription operation binding the contract event 0x14b561178ae0f368f40fafd0485c4f7129ea71cdc00b4ce1e5940f9bc659c8b2.
Solidity: event ExchangeMultiple(address indexed buyer, address indexed receiver, address[9] route, uint256[3][4] swap_params, address[4] pools, uint256 amount_sold, uint256 amount_bought)
func (*RegistryExchangeFilterer) WatchTokenExchange ¶
func (_RegistryExchange *RegistryExchangeFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *RegistryExchangeTokenExchange, buyer []common.Address, receiver []common.Address, pool []common.Address) (event.Subscription, error)
WatchTokenExchange is a free log subscription operation binding the contract event 0xbd3eb7bcfdd1721a4eb4f00d0df3ed91bd6f17222f82b2d7bce519d8cab3fe46.
Solidity: event TokenExchange(address indexed buyer, address indexed receiver, address indexed pool, address token_sold, address token_bought, uint256 amount_sold, uint256 amount_bought)
type RegistryExchangeRaw ¶
type RegistryExchangeRaw struct {
Contract *RegistryExchange // Generic contract binding to access the raw methods on
}
RegistryExchangeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RegistryExchangeRaw) Call ¶
func (_RegistryExchange *RegistryExchangeRaw) 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 (*RegistryExchangeRaw) Transact ¶
func (_RegistryExchange *RegistryExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistryExchangeRaw) Transfer ¶
func (_RegistryExchange *RegistryExchangeRaw) 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 RegistryExchangeSession ¶
type RegistryExchangeSession struct { Contract *RegistryExchange // 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 }
RegistryExchangeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RegistryExchangeSession) ClaimBalance ¶
func (_RegistryExchange *RegistryExchangeSession) ClaimBalance(_token common.Address) (*types.Transaction, error)
ClaimBalance is a paid mutator transaction binding the contract method 0x752d53c6.
Solidity: function claim_balance(address _token) returns(bool)
func (*RegistryExchangeSession) CryptoRegistry ¶
func (_RegistryExchange *RegistryExchangeSession) CryptoRegistry() (common.Address, error)
CryptoRegistry is a free data retrieval call binding the contract method 0xf3b8f829.
Solidity: function crypto_registry() view returns(address)
func (*RegistryExchangeSession) DefaultCalculator ¶
func (_RegistryExchange *RegistryExchangeSession) DefaultCalculator() (common.Address, error)
DefaultCalculator is a free data retrieval call binding the contract method 0x3b359fc8.
Solidity: function default_calculator() view returns(address)
func (*RegistryExchangeSession) Exchange ¶
func (_RegistryExchange *RegistryExchangeSession) Exchange(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x4798ce5b.
Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeSession) Exchange0 ¶
func (_RegistryExchange *RegistryExchangeSession) Exchange0(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, _receiver common.Address) (*types.Transaction, error)
Exchange0 is a paid mutator transaction binding the contract method 0x1a4c1ca3.
Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected, address _receiver) payable returns(uint256)
func (*RegistryExchangeSession) ExchangeMultiple ¶
func (_RegistryExchange *RegistryExchangeSession) ExchangeMultiple(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
ExchangeMultiple is a paid mutator transaction binding the contract method 0x353ca424.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeSession) ExchangeMultiple0 ¶
func (_RegistryExchange *RegistryExchangeSession) ExchangeMultiple0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int, _pools [4]common.Address) (*types.Transaction, error)
ExchangeMultiple0 is a paid mutator transaction binding the contract method 0x9db4f7aa.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected, address[4] _pools) payable returns(uint256)
func (*RegistryExchangeSession) ExchangeMultiple1 ¶
func (_RegistryExchange *RegistryExchangeSession) ExchangeMultiple1(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int, _pools [4]common.Address, _receiver common.Address) (*types.Transaction, error)
ExchangeMultiple1 is a paid mutator transaction binding the contract method 0x0651cb35.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected, address[4] _pools, address _receiver) payable returns(uint256)
func (*RegistryExchangeSession) ExchangeWithBestRate ¶
func (_RegistryExchange *RegistryExchangeSession) ExchangeWithBestRate(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
ExchangeWithBestRate is a paid mutator transaction binding the contract method 0x10e5e303.
Solidity: function exchange_with_best_rate(address _from, address _to, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeSession) ExchangeWithBestRate0 ¶
func (_RegistryExchange *RegistryExchangeSession) ExchangeWithBestRate0(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, _receiver common.Address) (*types.Transaction, error)
ExchangeWithBestRate0 is a paid mutator transaction binding the contract method 0x9f69a6a6.
Solidity: function exchange_with_best_rate(address _from, address _to, uint256 _amount, uint256 _expected, address _receiver) payable returns(uint256)
func (*RegistryExchangeSession) FactoryRegistry ¶
func (_RegistryExchange *RegistryExchangeSession) FactoryRegistry() (common.Address, error)
FactoryRegistry is a free data retrieval call binding the contract method 0xf7cbf4c6.
Solidity: function factory_registry() view returns(address)
func (*RegistryExchangeSession) Fallback ¶
func (_RegistryExchange *RegistryExchangeSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*RegistryExchangeSession) GetBestRate ¶
func (_RegistryExchange *RegistryExchangeSession) GetBestRate(_from common.Address, _to common.Address, _amount *big.Int) (common.Address, *big.Int, error)
GetBestRate is a free data retrieval call binding the contract method 0x4e21df75.
Solidity: function get_best_rate(address _from, address _to, uint256 _amount) view returns(address, uint256)
func (*RegistryExchangeSession) GetBestRate0 ¶
func (_RegistryExchange *RegistryExchangeSession) GetBestRate0(_from common.Address, _to common.Address, _amount *big.Int, _exclude_pools [8]common.Address) (common.Address, *big.Int, error)
GetBestRate0 is a free data retrieval call binding the contract method 0x488de9af.
Solidity: function get_best_rate(address _from, address _to, uint256 _amount, address[8] _exclude_pools) view returns(address, uint256)
func (*RegistryExchangeSession) GetCalculator ¶
func (_RegistryExchange *RegistryExchangeSession) GetCalculator(_pool common.Address) (common.Address, error)
GetCalculator is a free data retrieval call binding the contract method 0x5d7dc825.
Solidity: function get_calculator(address _pool) view returns(address)
func (*RegistryExchangeSession) GetExchangeAmount ¶
func (_RegistryExchange *RegistryExchangeSession) GetExchangeAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)
GetExchangeAmount is a free data retrieval call binding the contract method 0x3973e834.
Solidity: function get_exchange_amount(address _pool, address _from, address _to, uint256 _amount) view returns(uint256)
func (*RegistryExchangeSession) GetExchangeAmounts ¶
func (_RegistryExchange *RegistryExchangeSession) GetExchangeAmounts(_pool common.Address, _from common.Address, _to common.Address, _amounts [100]*big.Int) ([100]*big.Int, error)
GetExchangeAmounts is a free data retrieval call binding the contract method 0x4be9ae42.
Solidity: function get_exchange_amounts(address _pool, address _from, address _to, uint256[100] _amounts) view returns(uint256[100])
func (*RegistryExchangeSession) GetExchangeMultipleAmount ¶
func (_RegistryExchange *RegistryExchangeSession) GetExchangeMultipleAmount(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int) (*big.Int, error)
GetExchangeMultipleAmount is a free data retrieval call binding the contract method 0x7b3d22cf.
Solidity: function get_exchange_multiple_amount(address[9] _route, uint256[3][4] _swap_params, uint256 _amount) view returns(uint256)
func (*RegistryExchangeSession) GetExchangeMultipleAmount0 ¶
func (_RegistryExchange *RegistryExchangeSession) GetExchangeMultipleAmount0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _pools [4]common.Address) (*big.Int, error)
GetExchangeMultipleAmount0 is a free data retrieval call binding the contract method 0xe6eabf23.
Solidity: function get_exchange_multiple_amount(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, address[4] _pools) view returns(uint256)
func (*RegistryExchangeSession) GetInputAmount ¶
func (_RegistryExchange *RegistryExchangeSession) GetInputAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)
GetInputAmount is a free data retrieval call binding the contract method 0x7fa5a654.
Solidity: function get_input_amount(address _pool, address _from, address _to, uint256 _amount) view returns(uint256)
func (*RegistryExchangeSession) IsKilled ¶
func (_RegistryExchange *RegistryExchangeSession) IsKilled() (bool, error)
IsKilled is a free data retrieval call binding the contract method 0x9c868ac0.
Solidity: function is_killed() view returns(bool)
func (*RegistryExchangeSession) Registry ¶
func (_RegistryExchange *RegistryExchangeSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*RegistryExchangeSession) SetCalculator ¶
func (_RegistryExchange *RegistryExchangeSession) SetCalculator(_pool common.Address, _calculator common.Address) (*types.Transaction, error)
SetCalculator is a paid mutator transaction binding the contract method 0x188c7ee5.
Solidity: function set_calculator(address _pool, address _calculator) returns(bool)
func (*RegistryExchangeSession) SetDefaultCalculator ¶
func (_RegistryExchange *RegistryExchangeSession) SetDefaultCalculator(_calculator common.Address) (*types.Transaction, error)
SetDefaultCalculator is a paid mutator transaction binding the contract method 0xda3fb2ab.
Solidity: function set_default_calculator(address _calculator) returns(bool)
func (*RegistryExchangeSession) SetKilled ¶
func (_RegistryExchange *RegistryExchangeSession) SetKilled(_is_killed bool) (*types.Transaction, error)
SetKilled is a paid mutator transaction binding the contract method 0x90b22997.
Solidity: function set_killed(bool _is_killed) returns(bool)
func (*RegistryExchangeSession) UpdateRegistryAddress ¶
func (_RegistryExchange *RegistryExchangeSession) UpdateRegistryAddress() (*types.Transaction, error)
UpdateRegistryAddress is a paid mutator transaction binding the contract method 0x4bbc5b1f.
Solidity: function update_registry_address() returns(bool)
type RegistryExchangeTokenExchange ¶
type RegistryExchangeTokenExchange struct { Buyer common.Address Receiver common.Address Pool common.Address TokenSold common.Address TokenBought common.Address AmountSold *big.Int AmountBought *big.Int Raw types.Log // Blockchain specific contextual infos }
RegistryExchangeTokenExchange represents a TokenExchange event raised by the RegistryExchange contract.
type RegistryExchangeTokenExchangeIterator ¶
type RegistryExchangeTokenExchangeIterator struct { Event *RegistryExchangeTokenExchange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RegistryExchangeTokenExchangeIterator is returned from FilterTokenExchange and is used to iterate over the raw logs and unpacked data for TokenExchange events raised by the RegistryExchange contract.
func (*RegistryExchangeTokenExchangeIterator) Close ¶
func (it *RegistryExchangeTokenExchangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RegistryExchangeTokenExchangeIterator) Error ¶
func (it *RegistryExchangeTokenExchangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RegistryExchangeTokenExchangeIterator) Next ¶
func (it *RegistryExchangeTokenExchangeIterator) 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 RegistryExchangeTransactor ¶
type RegistryExchangeTransactor struct {
// contains filtered or unexported fields
}
RegistryExchangeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRegistryExchangeTransactor ¶
func NewRegistryExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistryExchangeTransactor, error)
NewRegistryExchangeTransactor creates a new write-only instance of RegistryExchange, bound to a specific deployed contract.
func (*RegistryExchangeTransactor) ClaimBalance ¶
func (_RegistryExchange *RegistryExchangeTransactor) ClaimBalance(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
ClaimBalance is a paid mutator transaction binding the contract method 0x752d53c6.
Solidity: function claim_balance(address _token) returns(bool)
func (*RegistryExchangeTransactor) Exchange ¶
func (_RegistryExchange *RegistryExchangeTransactor) Exchange(opts *bind.TransactOpts, _pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x4798ce5b.
Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeTransactor) Exchange0 ¶
func (_RegistryExchange *RegistryExchangeTransactor) Exchange0(opts *bind.TransactOpts, _pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, _receiver common.Address) (*types.Transaction, error)
Exchange0 is a paid mutator transaction binding the contract method 0x1a4c1ca3.
Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected, address _receiver) payable returns(uint256)
func (*RegistryExchangeTransactor) ExchangeMultiple ¶
func (_RegistryExchange *RegistryExchangeTransactor) ExchangeMultiple(opts *bind.TransactOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
ExchangeMultiple is a paid mutator transaction binding the contract method 0x353ca424.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeTransactor) ExchangeMultiple0 ¶
func (_RegistryExchange *RegistryExchangeTransactor) ExchangeMultiple0(opts *bind.TransactOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int, _pools [4]common.Address) (*types.Transaction, error)
ExchangeMultiple0 is a paid mutator transaction binding the contract method 0x9db4f7aa.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected, address[4] _pools) payable returns(uint256)
func (*RegistryExchangeTransactor) ExchangeMultiple1 ¶
func (_RegistryExchange *RegistryExchangeTransactor) ExchangeMultiple1(opts *bind.TransactOpts, _route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int, _pools [4]common.Address, _receiver common.Address) (*types.Transaction, error)
ExchangeMultiple1 is a paid mutator transaction binding the contract method 0x0651cb35.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected, address[4] _pools, address _receiver) payable returns(uint256)
func (*RegistryExchangeTransactor) ExchangeWithBestRate ¶
func (_RegistryExchange *RegistryExchangeTransactor) ExchangeWithBestRate(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
ExchangeWithBestRate is a paid mutator transaction binding the contract method 0x10e5e303.
Solidity: function exchange_with_best_rate(address _from, address _to, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeTransactor) ExchangeWithBestRate0 ¶
func (_RegistryExchange *RegistryExchangeTransactor) ExchangeWithBestRate0(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, _receiver common.Address) (*types.Transaction, error)
ExchangeWithBestRate0 is a paid mutator transaction binding the contract method 0x9f69a6a6.
Solidity: function exchange_with_best_rate(address _from, address _to, uint256 _amount, uint256 _expected, address _receiver) payable returns(uint256)
func (*RegistryExchangeTransactor) Fallback ¶
func (_RegistryExchange *RegistryExchangeTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*RegistryExchangeTransactor) SetCalculator ¶
func (_RegistryExchange *RegistryExchangeTransactor) SetCalculator(opts *bind.TransactOpts, _pool common.Address, _calculator common.Address) (*types.Transaction, error)
SetCalculator is a paid mutator transaction binding the contract method 0x188c7ee5.
Solidity: function set_calculator(address _pool, address _calculator) returns(bool)
func (*RegistryExchangeTransactor) SetDefaultCalculator ¶
func (_RegistryExchange *RegistryExchangeTransactor) SetDefaultCalculator(opts *bind.TransactOpts, _calculator common.Address) (*types.Transaction, error)
SetDefaultCalculator is a paid mutator transaction binding the contract method 0xda3fb2ab.
Solidity: function set_default_calculator(address _calculator) returns(bool)
func (*RegistryExchangeTransactor) SetKilled ¶
func (_RegistryExchange *RegistryExchangeTransactor) SetKilled(opts *bind.TransactOpts, _is_killed bool) (*types.Transaction, error)
SetKilled is a paid mutator transaction binding the contract method 0x90b22997.
Solidity: function set_killed(bool _is_killed) returns(bool)
func (*RegistryExchangeTransactor) UpdateRegistryAddress ¶
func (_RegistryExchange *RegistryExchangeTransactor) UpdateRegistryAddress(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateRegistryAddress is a paid mutator transaction binding the contract method 0x4bbc5b1f.
Solidity: function update_registry_address() returns(bool)
type RegistryExchangeTransactorRaw ¶
type RegistryExchangeTransactorRaw struct {
Contract *RegistryExchangeTransactor // Generic write-only contract binding to access the raw methods on
}
RegistryExchangeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RegistryExchangeTransactorRaw) Transact ¶
func (_RegistryExchange *RegistryExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistryExchangeTransactorRaw) Transfer ¶
func (_RegistryExchange *RegistryExchangeTransactorRaw) 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 RegistryExchangeTransactorSession ¶
type RegistryExchangeTransactorSession struct { Contract *RegistryExchangeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RegistryExchangeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RegistryExchangeTransactorSession) ClaimBalance ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) ClaimBalance(_token common.Address) (*types.Transaction, error)
ClaimBalance is a paid mutator transaction binding the contract method 0x752d53c6.
Solidity: function claim_balance(address _token) returns(bool)
func (*RegistryExchangeTransactorSession) Exchange ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) Exchange(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x4798ce5b.
Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeTransactorSession) Exchange0 ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) Exchange0(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, _receiver common.Address) (*types.Transaction, error)
Exchange0 is a paid mutator transaction binding the contract method 0x1a4c1ca3.
Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected, address _receiver) payable returns(uint256)
func (*RegistryExchangeTransactorSession) ExchangeMultiple ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeMultiple(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
ExchangeMultiple is a paid mutator transaction binding the contract method 0x353ca424.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeTransactorSession) ExchangeMultiple0 ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeMultiple0(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int, _pools [4]common.Address) (*types.Transaction, error)
ExchangeMultiple0 is a paid mutator transaction binding the contract method 0x9db4f7aa.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected, address[4] _pools) payable returns(uint256)
func (*RegistryExchangeTransactorSession) ExchangeMultiple1 ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeMultiple1(_route [9]common.Address, _swap_params [4][3]*big.Int, _amount *big.Int, _expected *big.Int, _pools [4]common.Address, _receiver common.Address) (*types.Transaction, error)
ExchangeMultiple1 is a paid mutator transaction binding the contract method 0x0651cb35.
Solidity: function exchange_multiple(address[9] _route, uint256[3][4] _swap_params, uint256 _amount, uint256 _expected, address[4] _pools, address _receiver) payable returns(uint256)
func (*RegistryExchangeTransactorSession) ExchangeWithBestRate ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeWithBestRate(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)
ExchangeWithBestRate is a paid mutator transaction binding the contract method 0x10e5e303.
Solidity: function exchange_with_best_rate(address _from, address _to, uint256 _amount, uint256 _expected) payable returns(uint256)
func (*RegistryExchangeTransactorSession) ExchangeWithBestRate0 ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) ExchangeWithBestRate0(_from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int, _receiver common.Address) (*types.Transaction, error)
ExchangeWithBestRate0 is a paid mutator transaction binding the contract method 0x9f69a6a6.
Solidity: function exchange_with_best_rate(address _from, address _to, uint256 _amount, uint256 _expected, address _receiver) payable returns(uint256)
func (*RegistryExchangeTransactorSession) Fallback ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*RegistryExchangeTransactorSession) SetCalculator ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) SetCalculator(_pool common.Address, _calculator common.Address) (*types.Transaction, error)
SetCalculator is a paid mutator transaction binding the contract method 0x188c7ee5.
Solidity: function set_calculator(address _pool, address _calculator) returns(bool)
func (*RegistryExchangeTransactorSession) SetDefaultCalculator ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) SetDefaultCalculator(_calculator common.Address) (*types.Transaction, error)
SetDefaultCalculator is a paid mutator transaction binding the contract method 0xda3fb2ab.
Solidity: function set_default_calculator(address _calculator) returns(bool)
func (*RegistryExchangeTransactorSession) SetKilled ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) SetKilled(_is_killed bool) (*types.Transaction, error)
SetKilled is a paid mutator transaction binding the contract method 0x90b22997.
Solidity: function set_killed(bool _is_killed) returns(bool)
func (*RegistryExchangeTransactorSession) UpdateRegistryAddress ¶
func (_RegistryExchange *RegistryExchangeTransactorSession) UpdateRegistryAddress() (*types.Transaction, error)
UpdateRegistryAddress is a paid mutator transaction binding the contract method 0x4bbc5b1f.
Solidity: function update_registry_address() returns(bool)
type StableSwap ¶
type StableSwap struct { StableSwapCaller // Read-only binding to the contract StableSwapTransactor // Write-only binding to the contract StableSwapFilterer // Log filterer for contract events }
StableSwap is an auto generated Go binding around an Ethereum contract.
func NewStableSwap ¶
func NewStableSwap(address common.Address, backend bind.ContractBackend) (*StableSwap, error)
NewStableSwap creates a new instance of StableSwap, bound to a specific deployed contract.
type StableSwapAddLiquidity ¶
type StableSwapAddLiquidity struct { Provider common.Address TokenAmounts [2]*big.Int Fees [2]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapAddLiquidity represents a AddLiquidity event raised by the StableSwap contract.
type StableSwapAddLiquidityIterator ¶
type StableSwapAddLiquidityIterator struct { Event *StableSwapAddLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the StableSwap contract.
func (*StableSwapAddLiquidityIterator) Close ¶
func (it *StableSwapAddLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapAddLiquidityIterator) Error ¶
func (it *StableSwapAddLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapAddLiquidityIterator) Next ¶
func (it *StableSwapAddLiquidityIterator) 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 StableSwapCaller ¶
type StableSwapCaller struct {
// contains filtered or unexported fields
}
StableSwapCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStableSwapCaller ¶
func NewStableSwapCaller(address common.Address, caller bind.ContractCaller) (*StableSwapCaller, error)
NewStableSwapCaller creates a new read-only instance of StableSwap, bound to a specific deployed contract.
func (*StableSwapCaller) A ¶
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*StableSwapCaller) APrecise ¶
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*StableSwapCaller) AdminActionsDeadline ¶
AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.
Solidity: function admin_actions_deadline() view returns(uint256)
func (*StableSwapCaller) AdminBalances ¶
func (_StableSwap *StableSwapCaller) AdminBalances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*StableSwapCaller) AdminFee ¶
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*StableSwapCaller) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*StableSwapCaller) CalcTokenAmount ¶
func (_StableSwap *StableSwapCaller) CalcTokenAmount(opts *bind.CallOpts, amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.
Solidity: function calc_token_amount(uint256[2] amounts, bool is_deposit) view returns(uint256)
func (*StableSwapCaller) CalcWithdrawOneCoin ¶
func (_StableSwap *StableSwapCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, _token_amount *big.Int, i *big.Int) (*big.Int, error)
CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.
Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)
func (*StableSwapCaller) Coins ¶
func (_StableSwap *StableSwapCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*StableSwapCaller) Fee ¶
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*StableSwapCaller) FutureA ¶
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*StableSwapCaller) FutureATime ¶
FutureATime is a free data retrieval call binding the contract method 0x14052288.
Solidity: function future_A_time() view returns(uint256)
func (*StableSwapCaller) FutureAdminFee ¶
FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.
Solidity: function future_admin_fee() view returns(uint256)
func (*StableSwapCaller) FutureFee ¶
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*StableSwapCaller) FutureOwner ¶
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*StableSwapCaller) GetDy ¶
func (_StableSwap *StableSwapCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
GetDy is a free data retrieval call binding the contract method 0x5e0d443f.
Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*StableSwapCaller) GetVirtualPrice ¶
GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.
Solidity: function get_virtual_price() view returns(uint256)
func (*StableSwapCaller) InitialA ¶
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*StableSwapCaller) InitialATime ¶
InitialATime is a free data retrieval call binding the contract method 0x2081066c.
Solidity: function initial_A_time() view returns(uint256)
func (*StableSwapCaller) LpToken ¶
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*StableSwapCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StableSwapCaller) TransferOwnershipDeadline ¶
func (_StableSwap *StableSwapCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)
TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.
Solidity: function transfer_ownership_deadline() view returns(uint256)
type StableSwapCallerRaw ¶
type StableSwapCallerRaw struct {
Contract *StableSwapCaller // Generic read-only contract binding to access the raw methods on
}
StableSwapCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StableSwapCallerRaw) Call ¶
func (_StableSwap *StableSwapCallerRaw) 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 StableSwapCallerSession ¶
type StableSwapCallerSession struct { Contract *StableSwapCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StableSwapCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StableSwapCallerSession) A ¶
func (_StableSwap *StableSwapCallerSession) A() (*big.Int, error)
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*StableSwapCallerSession) APrecise ¶
func (_StableSwap *StableSwapCallerSession) APrecise() (*big.Int, error)
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*StableSwapCallerSession) AdminActionsDeadline ¶
func (_StableSwap *StableSwapCallerSession) AdminActionsDeadline() (*big.Int, error)
AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.
Solidity: function admin_actions_deadline() view returns(uint256)
func (*StableSwapCallerSession) AdminBalances ¶
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*StableSwapCallerSession) AdminFee ¶
func (_StableSwap *StableSwapCallerSession) AdminFee() (*big.Int, error)
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*StableSwapCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*StableSwapCallerSession) CalcTokenAmount ¶
func (_StableSwap *StableSwapCallerSession) CalcTokenAmount(amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.
Solidity: function calc_token_amount(uint256[2] amounts, bool is_deposit) view returns(uint256)
func (*StableSwapCallerSession) CalcWithdrawOneCoin ¶
func (_StableSwap *StableSwapCallerSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.
Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)
func (*StableSwapCallerSession) Coins ¶
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*StableSwapCallerSession) Fee ¶
func (_StableSwap *StableSwapCallerSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*StableSwapCallerSession) FutureA ¶
func (_StableSwap *StableSwapCallerSession) FutureA() (*big.Int, error)
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*StableSwapCallerSession) FutureATime ¶
func (_StableSwap *StableSwapCallerSession) FutureATime() (*big.Int, error)
FutureATime is a free data retrieval call binding the contract method 0x14052288.
Solidity: function future_A_time() view returns(uint256)
func (*StableSwapCallerSession) FutureAdminFee ¶
func (_StableSwap *StableSwapCallerSession) FutureAdminFee() (*big.Int, error)
FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.
Solidity: function future_admin_fee() view returns(uint256)
func (*StableSwapCallerSession) FutureFee ¶
func (_StableSwap *StableSwapCallerSession) FutureFee() (*big.Int, error)
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*StableSwapCallerSession) FutureOwner ¶
func (_StableSwap *StableSwapCallerSession) FutureOwner() (common.Address, error)
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*StableSwapCallerSession) GetDy ¶
func (_StableSwap *StableSwapCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
GetDy is a free data retrieval call binding the contract method 0x5e0d443f.
Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*StableSwapCallerSession) GetVirtualPrice ¶
func (_StableSwap *StableSwapCallerSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.
Solidity: function get_virtual_price() view returns(uint256)
func (*StableSwapCallerSession) InitialA ¶
func (_StableSwap *StableSwapCallerSession) InitialA() (*big.Int, error)
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*StableSwapCallerSession) InitialATime ¶
func (_StableSwap *StableSwapCallerSession) InitialATime() (*big.Int, error)
InitialATime is a free data retrieval call binding the contract method 0x2081066c.
Solidity: function initial_A_time() view returns(uint256)
func (*StableSwapCallerSession) LpToken ¶
func (_StableSwap *StableSwapCallerSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*StableSwapCallerSession) Owner ¶
func (_StableSwap *StableSwapCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StableSwapCallerSession) TransferOwnershipDeadline ¶
func (_StableSwap *StableSwapCallerSession) TransferOwnershipDeadline() (*big.Int, error)
TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.
Solidity: function transfer_ownership_deadline() view returns(uint256)
type StableSwapCommitNewAdmin ¶
type StableSwapCommitNewAdmin struct { Deadline *big.Int Admin common.Address Raw types.Log // Blockchain specific contextual infos }
StableSwapCommitNewAdmin represents a CommitNewAdmin event raised by the StableSwap contract.
type StableSwapCommitNewAdminIterator ¶
type StableSwapCommitNewAdminIterator struct { Event *StableSwapCommitNewAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapCommitNewAdminIterator is returned from FilterCommitNewAdmin and is used to iterate over the raw logs and unpacked data for CommitNewAdmin events raised by the StableSwap contract.
func (*StableSwapCommitNewAdminIterator) Close ¶
func (it *StableSwapCommitNewAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapCommitNewAdminIterator) Error ¶
func (it *StableSwapCommitNewAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapCommitNewAdminIterator) Next ¶
func (it *StableSwapCommitNewAdminIterator) 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 StableSwapCommitNewFee ¶
type StableSwapCommitNewFee struct { Deadline *big.Int Fee *big.Int AdminFee *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapCommitNewFee represents a CommitNewFee event raised by the StableSwap contract.
type StableSwapCommitNewFeeIterator ¶
type StableSwapCommitNewFeeIterator struct { Event *StableSwapCommitNewFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapCommitNewFeeIterator is returned from FilterCommitNewFee and is used to iterate over the raw logs and unpacked data for CommitNewFee events raised by the StableSwap contract.
func (*StableSwapCommitNewFeeIterator) Close ¶
func (it *StableSwapCommitNewFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapCommitNewFeeIterator) Error ¶
func (it *StableSwapCommitNewFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapCommitNewFeeIterator) Next ¶
func (it *StableSwapCommitNewFeeIterator) 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 StableSwapFilterer ¶
type StableSwapFilterer struct {
// contains filtered or unexported fields
}
StableSwapFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStableSwapFilterer ¶
func NewStableSwapFilterer(address common.Address, filterer bind.ContractFilterer) (*StableSwapFilterer, error)
NewStableSwapFilterer creates a new log filterer instance of StableSwap, bound to a specific deployed contract.
func (*StableSwapFilterer) FilterAddLiquidity ¶
func (_StableSwap *StableSwapFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapAddLiquidityIterator, error)
FilterAddLiquidity is a free log retrieval operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.
Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapFilterer) FilterCommitNewAdmin ¶
func (_StableSwap *StableSwapFilterer) FilterCommitNewAdmin(opts *bind.FilterOpts, deadline []*big.Int, admin []common.Address) (*StableSwapCommitNewAdminIterator, error)
FilterCommitNewAdmin is a free log retrieval operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.
Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)
func (*StableSwapFilterer) FilterCommitNewFee ¶
func (_StableSwap *StableSwapFilterer) FilterCommitNewFee(opts *bind.FilterOpts, deadline []*big.Int) (*StableSwapCommitNewFeeIterator, error)
FilterCommitNewFee is a free log retrieval operation binding the contract event 0x351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe0.
Solidity: event CommitNewFee(uint256 indexed deadline, uint256 fee, uint256 admin_fee)
func (*StableSwapFilterer) FilterNewAdmin ¶
func (_StableSwap *StableSwapFilterer) FilterNewAdmin(opts *bind.FilterOpts, admin []common.Address) (*StableSwapNewAdminIterator, error)
FilterNewAdmin is a free log retrieval operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.
Solidity: event NewAdmin(address indexed admin)
func (*StableSwapFilterer) FilterNewFee ¶
func (_StableSwap *StableSwapFilterer) FilterNewFee(opts *bind.FilterOpts) (*StableSwapNewFeeIterator, error)
FilterNewFee is a free log retrieval operation binding the contract event 0xbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d1.
Solidity: event NewFee(uint256 fee, uint256 admin_fee)
func (*StableSwapFilterer) FilterRampA ¶
func (_StableSwap *StableSwapFilterer) FilterRampA(opts *bind.FilterOpts) (*StableSwapRampAIterator, error)
FilterRampA is a free log retrieval operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)
func (*StableSwapFilterer) FilterRemoveLiquidity ¶
func (_StableSwap *StableSwapFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapRemoveLiquidityIterator, error)
FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.
Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)
func (*StableSwapFilterer) FilterRemoveLiquidityImbalance ¶
func (_StableSwap *StableSwapFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*StableSwapRemoveLiquidityImbalanceIterator, error)
FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapFilterer) FilterRemoveLiquidityOne ¶
func (_StableSwap *StableSwapFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*StableSwapRemoveLiquidityOneIterator, error)
FilterRemoveLiquidityOne is a free log retrieval operation binding the contract event 0x9e96dd3b997a2a257eec4df9bb6eaf626e206df5f543bd963682d143300be310.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount)
func (*StableSwapFilterer) FilterStopRampA ¶
func (_StableSwap *StableSwapFilterer) FilterStopRampA(opts *bind.FilterOpts) (*StableSwapStopRampAIterator, error)
FilterStopRampA is a free log retrieval operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 A, uint256 t)
func (*StableSwapFilterer) FilterTokenExchange ¶
func (_StableSwap *StableSwapFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*StableSwapTokenExchangeIterator, error)
FilterTokenExchange is a free log retrieval operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.
Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)
func (*StableSwapFilterer) FilterTokenExchangeUnderlying ¶
func (_StableSwap *StableSwapFilterer) FilterTokenExchangeUnderlying(opts *bind.FilterOpts, buyer []common.Address) (*StableSwapTokenExchangeUnderlyingIterator, error)
FilterTokenExchangeUnderlying is a free log retrieval operation binding the contract event 0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b.
Solidity: event TokenExchangeUnderlying(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)
func (*StableSwapFilterer) ParseAddLiquidity ¶
func (_StableSwap *StableSwapFilterer) ParseAddLiquidity(log types.Log) (*StableSwapAddLiquidity, error)
ParseAddLiquidity is a log parse operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.
Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapFilterer) ParseCommitNewAdmin ¶
func (_StableSwap *StableSwapFilterer) ParseCommitNewAdmin(log types.Log) (*StableSwapCommitNewAdmin, error)
ParseCommitNewAdmin is a log parse operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.
Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)
func (*StableSwapFilterer) ParseCommitNewFee ¶
func (_StableSwap *StableSwapFilterer) ParseCommitNewFee(log types.Log) (*StableSwapCommitNewFee, error)
ParseCommitNewFee is a log parse operation binding the contract event 0x351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe0.
Solidity: event CommitNewFee(uint256 indexed deadline, uint256 fee, uint256 admin_fee)
func (*StableSwapFilterer) ParseNewAdmin ¶
func (_StableSwap *StableSwapFilterer) ParseNewAdmin(log types.Log) (*StableSwapNewAdmin, error)
ParseNewAdmin is a log parse operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.
Solidity: event NewAdmin(address indexed admin)
func (*StableSwapFilterer) ParseNewFee ¶
func (_StableSwap *StableSwapFilterer) ParseNewFee(log types.Log) (*StableSwapNewFee, error)
ParseNewFee is a log parse operation binding the contract event 0xbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d1.
Solidity: event NewFee(uint256 fee, uint256 admin_fee)
func (*StableSwapFilterer) ParseRampA ¶
func (_StableSwap *StableSwapFilterer) ParseRampA(log types.Log) (*StableSwapRampA, error)
ParseRampA is a log parse operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)
func (*StableSwapFilterer) ParseRemoveLiquidity ¶
func (_StableSwap *StableSwapFilterer) ParseRemoveLiquidity(log types.Log) (*StableSwapRemoveLiquidity, error)
ParseRemoveLiquidity is a log parse operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.
Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)
func (*StableSwapFilterer) ParseRemoveLiquidityImbalance ¶
func (_StableSwap *StableSwapFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*StableSwapRemoveLiquidityImbalance, error)
ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapFilterer) ParseRemoveLiquidityOne ¶
func (_StableSwap *StableSwapFilterer) ParseRemoveLiquidityOne(log types.Log) (*StableSwapRemoveLiquidityOne, error)
ParseRemoveLiquidityOne is a log parse operation binding the contract event 0x9e96dd3b997a2a257eec4df9bb6eaf626e206df5f543bd963682d143300be310.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount)
func (*StableSwapFilterer) ParseStopRampA ¶
func (_StableSwap *StableSwapFilterer) ParseStopRampA(log types.Log) (*StableSwapStopRampA, error)
ParseStopRampA is a log parse operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 A, uint256 t)
func (*StableSwapFilterer) ParseTokenExchange ¶
func (_StableSwap *StableSwapFilterer) ParseTokenExchange(log types.Log) (*StableSwapTokenExchange, error)
ParseTokenExchange is a log parse operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.
Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)
func (*StableSwapFilterer) ParseTokenExchangeUnderlying ¶
func (_StableSwap *StableSwapFilterer) ParseTokenExchangeUnderlying(log types.Log) (*StableSwapTokenExchangeUnderlying, error)
ParseTokenExchangeUnderlying is a log parse operation binding the contract event 0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b.
Solidity: event TokenExchangeUnderlying(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)
func (*StableSwapFilterer) WatchAddLiquidity ¶
func (_StableSwap *StableSwapFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapAddLiquidity, provider []common.Address) (event.Subscription, error)
WatchAddLiquidity is a free log subscription operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.
Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapFilterer) WatchCommitNewAdmin ¶
func (_StableSwap *StableSwapFilterer) WatchCommitNewAdmin(opts *bind.WatchOpts, sink chan<- *StableSwapCommitNewAdmin, deadline []*big.Int, admin []common.Address) (event.Subscription, error)
WatchCommitNewAdmin is a free log subscription operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.
Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)
func (*StableSwapFilterer) WatchCommitNewFee ¶
func (_StableSwap *StableSwapFilterer) WatchCommitNewFee(opts *bind.WatchOpts, sink chan<- *StableSwapCommitNewFee, deadline []*big.Int) (event.Subscription, error)
WatchCommitNewFee is a free log subscription operation binding the contract event 0x351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe0.
Solidity: event CommitNewFee(uint256 indexed deadline, uint256 fee, uint256 admin_fee)
func (*StableSwapFilterer) WatchNewAdmin ¶
func (_StableSwap *StableSwapFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *StableSwapNewAdmin, admin []common.Address) (event.Subscription, error)
WatchNewAdmin is a free log subscription operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.
Solidity: event NewAdmin(address indexed admin)
func (*StableSwapFilterer) WatchNewFee ¶
func (_StableSwap *StableSwapFilterer) WatchNewFee(opts *bind.WatchOpts, sink chan<- *StableSwapNewFee) (event.Subscription, error)
WatchNewFee is a free log subscription operation binding the contract event 0xbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d1.
Solidity: event NewFee(uint256 fee, uint256 admin_fee)
func (*StableSwapFilterer) WatchRampA ¶
func (_StableSwap *StableSwapFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *StableSwapRampA) (event.Subscription, error)
WatchRampA is a free log subscription operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.
Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)
func (*StableSwapFilterer) WatchRemoveLiquidity ¶
func (_StableSwap *StableSwapFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapRemoveLiquidity, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.
Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)
func (*StableSwapFilterer) WatchRemoveLiquidityImbalance ¶
func (_StableSwap *StableSwapFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *StableSwapRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapFilterer) WatchRemoveLiquidityOne ¶
func (_StableSwap *StableSwapFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *StableSwapRemoveLiquidityOne, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityOne is a free log subscription operation binding the contract event 0x9e96dd3b997a2a257eec4df9bb6eaf626e206df5f543bd963682d143300be310.
Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount)
func (*StableSwapFilterer) WatchStopRampA ¶
func (_StableSwap *StableSwapFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *StableSwapStopRampA) (event.Subscription, error)
WatchStopRampA is a free log subscription operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.
Solidity: event StopRampA(uint256 A, uint256 t)
func (*StableSwapFilterer) WatchTokenExchange ¶
func (_StableSwap *StableSwapFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *StableSwapTokenExchange, buyer []common.Address) (event.Subscription, error)
WatchTokenExchange is a free log subscription operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.
Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)
func (*StableSwapFilterer) WatchTokenExchangeUnderlying ¶
func (_StableSwap *StableSwapFilterer) WatchTokenExchangeUnderlying(opts *bind.WatchOpts, sink chan<- *StableSwapTokenExchangeUnderlying, buyer []common.Address) (event.Subscription, error)
WatchTokenExchangeUnderlying is a free log subscription operation binding the contract event 0xd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b.
Solidity: event TokenExchangeUnderlying(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)
type StableSwapNCoins ¶
type StableSwapNCoins struct { StableSwapNCoinsCaller // Read-only binding to the contract StableSwapNCoinsTransactor // Write-only binding to the contract StableSwapNCoinsFilterer // Log filterer for contract events }
StableSwapNCoins is an auto generated Go binding around an Ethereum contract.
func NewStableSwapNCoins ¶
func NewStableSwapNCoins(address common.Address, backend bind.ContractBackend) (*StableSwapNCoins, error)
NewStableSwapNCoins creates a new instance of StableSwapNCoins, bound to a specific deployed contract.
type StableSwapNCoinsAddLiquidity ¶
type StableSwapNCoinsAddLiquidity struct { Provider common.Address TokenAmounts [2]*big.Int Fees [2]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsAddLiquidity represents a AddLiquidity event raised by the StableSwapNCoins contract.
type StableSwapNCoinsAddLiquidity0 ¶
type StableSwapNCoinsAddLiquidity0 struct { Provider common.Address TokenAmounts [3]*big.Int Fees [3]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsAddLiquidity0 represents a AddLiquidity0 event raised by the StableSwapNCoins contract.
type StableSwapNCoinsAddLiquidity0Iterator ¶
type StableSwapNCoinsAddLiquidity0Iterator struct { Event *StableSwapNCoinsAddLiquidity0 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsAddLiquidity0Iterator is returned from FilterAddLiquidity0 and is used to iterate over the raw logs and unpacked data for AddLiquidity0 events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsAddLiquidity0Iterator) Close ¶
func (it *StableSwapNCoinsAddLiquidity0Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsAddLiquidity0Iterator) Error ¶
func (it *StableSwapNCoinsAddLiquidity0Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsAddLiquidity0Iterator) Next ¶
func (it *StableSwapNCoinsAddLiquidity0Iterator) 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 StableSwapNCoinsAddLiquidity1 ¶
type StableSwapNCoinsAddLiquidity1 struct { Provider common.Address TokenAmounts [4]*big.Int Fees [4]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsAddLiquidity1 represents a AddLiquidity1 event raised by the StableSwapNCoins contract.
type StableSwapNCoinsAddLiquidity1Iterator ¶
type StableSwapNCoinsAddLiquidity1Iterator struct { Event *StableSwapNCoinsAddLiquidity1 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsAddLiquidity1Iterator is returned from FilterAddLiquidity1 and is used to iterate over the raw logs and unpacked data for AddLiquidity1 events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsAddLiquidity1Iterator) Close ¶
func (it *StableSwapNCoinsAddLiquidity1Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsAddLiquidity1Iterator) Error ¶
func (it *StableSwapNCoinsAddLiquidity1Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsAddLiquidity1Iterator) Next ¶
func (it *StableSwapNCoinsAddLiquidity1Iterator) 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 StableSwapNCoinsAddLiquidityIterator ¶
type StableSwapNCoinsAddLiquidityIterator struct { Event *StableSwapNCoinsAddLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsAddLiquidityIterator) Close ¶
func (it *StableSwapNCoinsAddLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsAddLiquidityIterator) Error ¶
func (it *StableSwapNCoinsAddLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsAddLiquidityIterator) Next ¶
func (it *StableSwapNCoinsAddLiquidityIterator) 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 StableSwapNCoinsCaller ¶
type StableSwapNCoinsCaller struct {
// contains filtered or unexported fields
}
StableSwapNCoinsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStableSwapNCoinsCaller ¶
func NewStableSwapNCoinsCaller(address common.Address, caller bind.ContractCaller) (*StableSwapNCoinsCaller, error)
NewStableSwapNCoinsCaller creates a new read-only instance of StableSwapNCoins, bound to a specific deployed contract.
type StableSwapNCoinsCallerRaw ¶
type StableSwapNCoinsCallerRaw struct {
Contract *StableSwapNCoinsCaller // Generic read-only contract binding to access the raw methods on
}
StableSwapNCoinsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StableSwapNCoinsCallerRaw) Call ¶
func (_StableSwapNCoins *StableSwapNCoinsCallerRaw) 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 StableSwapNCoinsCallerSession ¶
type StableSwapNCoinsCallerSession struct { Contract *StableSwapNCoinsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StableSwapNCoinsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type StableSwapNCoinsFilterer ¶
type StableSwapNCoinsFilterer struct {
// contains filtered or unexported fields
}
StableSwapNCoinsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStableSwapNCoinsFilterer ¶
func NewStableSwapNCoinsFilterer(address common.Address, filterer bind.ContractFilterer) (*StableSwapNCoinsFilterer, error)
NewStableSwapNCoinsFilterer creates a new log filterer instance of StableSwapNCoins, bound to a specific deployed contract.
func (*StableSwapNCoinsFilterer) FilterAddLiquidity ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsAddLiquidityIterator, error)
FilterAddLiquidity is a free log retrieval operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.
Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterAddLiquidity0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterAddLiquidity0(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsAddLiquidity0Iterator, error)
FilterAddLiquidity0 is a free log retrieval operation binding the contract event 0x423f6495a08fc652425cf4ed0d1f9e37e571d9b9529b1c1c23cce780b2e7df0d.
Solidity: event AddLiquidity(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterAddLiquidity1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterAddLiquidity1(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsAddLiquidity1Iterator, error)
FilterAddLiquidity1 is a free log retrieval operation binding the contract event 0x3f1915775e0c9a38a57a7bb7f1f9005f486fb904e1f84aa215364d567319a58d.
Solidity: event AddLiquidity(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterRemoveLiquidity ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityIterator, error)
FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.
Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterRemoveLiquidity0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidity0(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidity0Iterator, error)
FilterRemoveLiquidity0 is a free log retrieval operation binding the contract event 0xa49d4cf02656aebf8c771f5a8585638a2a15ee6c97cf7205d4208ed7c1df252d.
Solidity: event RemoveLiquidity(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterRemoveLiquidity1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidity1(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidity1Iterator, error)
FilterRemoveLiquidity1 is a free log retrieval operation binding the contract event 0x9878ca375e106f2a43c3b599fc624568131c4c9a4ba66a14563715763be9d59d.
Solidity: event RemoveLiquidity(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityImbalanceIterator, error)
FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance0(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityImbalance0Iterator, error)
FilterRemoveLiquidityImbalance0 is a free log retrieval operation binding the contract event 0x173599dbf9c6ca6f7c3b590df07ae98a45d74ff54065505141e7de6c46a624c2.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) FilterRemoveLiquidityImbalance1(opts *bind.FilterOpts, provider []common.Address) (*StableSwapNCoinsRemoveLiquidityImbalance1Iterator, error)
FilterRemoveLiquidityImbalance1 is a free log retrieval operation binding the contract event 0xb964b72f73f5ef5bf0fdc559b2fab9a7b12a39e47817a547f1f0aee47febd602.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseAddLiquidity ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseAddLiquidity(log types.Log) (*StableSwapNCoinsAddLiquidity, error)
ParseAddLiquidity is a log parse operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.
Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseAddLiquidity0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseAddLiquidity0(log types.Log) (*StableSwapNCoinsAddLiquidity0, error)
ParseAddLiquidity0 is a log parse operation binding the contract event 0x423f6495a08fc652425cf4ed0d1f9e37e571d9b9529b1c1c23cce780b2e7df0d.
Solidity: event AddLiquidity(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseAddLiquidity1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseAddLiquidity1(log types.Log) (*StableSwapNCoinsAddLiquidity1, error)
ParseAddLiquidity1 is a log parse operation binding the contract event 0x3f1915775e0c9a38a57a7bb7f1f9005f486fb904e1f84aa215364d567319a58d.
Solidity: event AddLiquidity(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseRemoveLiquidity ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidity(log types.Log) (*StableSwapNCoinsRemoveLiquidity, error)
ParseRemoveLiquidity is a log parse operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.
Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseRemoveLiquidity0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidity0(log types.Log) (*StableSwapNCoinsRemoveLiquidity0, error)
ParseRemoveLiquidity0 is a log parse operation binding the contract event 0xa49d4cf02656aebf8c771f5a8585638a2a15ee6c97cf7205d4208ed7c1df252d.
Solidity: event RemoveLiquidity(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseRemoveLiquidity1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidity1(log types.Log) (*StableSwapNCoinsRemoveLiquidity1, error)
ParseRemoveLiquidity1 is a log parse operation binding the contract event 0x9878ca375e106f2a43c3b599fc624568131c4c9a4ba66a14563715763be9d59d.
Solidity: event RemoveLiquidity(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*StableSwapNCoinsRemoveLiquidityImbalance, error)
ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance0(log types.Log) (*StableSwapNCoinsRemoveLiquidityImbalance0, error)
ParseRemoveLiquidityImbalance0 is a log parse operation binding the contract event 0x173599dbf9c6ca6f7c3b590df07ae98a45d74ff54065505141e7de6c46a624c2.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) ParseRemoveLiquidityImbalance1(log types.Log) (*StableSwapNCoinsRemoveLiquidityImbalance1, error)
ParseRemoveLiquidityImbalance1 is a log parse operation binding the contract event 0xb964b72f73f5ef5bf0fdc559b2fab9a7b12a39e47817a547f1f0aee47febd602.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchAddLiquidity ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsAddLiquidity, provider []common.Address) (event.Subscription, error)
WatchAddLiquidity is a free log subscription operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.
Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchAddLiquidity0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchAddLiquidity0(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsAddLiquidity0, provider []common.Address) (event.Subscription, error)
WatchAddLiquidity0 is a free log subscription operation binding the contract event 0x423f6495a08fc652425cf4ed0d1f9e37e571d9b9529b1c1c23cce780b2e7df0d.
Solidity: event AddLiquidity(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchAddLiquidity1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchAddLiquidity1(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsAddLiquidity1, provider []common.Address) (event.Subscription, error)
WatchAddLiquidity1 is a free log subscription operation binding the contract event 0x3f1915775e0c9a38a57a7bb7f1f9005f486fb904e1f84aa215364d567319a58d.
Solidity: event AddLiquidity(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchRemoveLiquidity ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidity, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.
Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchRemoveLiquidity0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidity0(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidity0, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidity0 is a free log subscription operation binding the contract event 0xa49d4cf02656aebf8c771f5a8585638a2a15ee6c97cf7205d4208ed7c1df252d.
Solidity: event RemoveLiquidity(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchRemoveLiquidity1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidity1(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidity1, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidity1 is a free log subscription operation binding the contract event 0x9878ca375e106f2a43c3b599fc624568131c4c9a4ba66a14563715763be9d59d.
Solidity: event RemoveLiquidity(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance0 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance0(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidityImbalance0, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityImbalance0 is a free log subscription operation binding the contract event 0x173599dbf9c6ca6f7c3b590df07ae98a45d74ff54065505141e7de6c46a624c2.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[3] token_amounts, uint256[3] fees, uint256 invariant, uint256 token_supply)
func (*StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance1 ¶
func (_StableSwapNCoins *StableSwapNCoinsFilterer) WatchRemoveLiquidityImbalance1(opts *bind.WatchOpts, sink chan<- *StableSwapNCoinsRemoveLiquidityImbalance1, provider []common.Address) (event.Subscription, error)
WatchRemoveLiquidityImbalance1 is a free log subscription operation binding the contract event 0xb964b72f73f5ef5bf0fdc559b2fab9a7b12a39e47817a547f1f0aee47febd602.
Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[4] token_amounts, uint256[4] fees, uint256 invariant, uint256 token_supply)
type StableSwapNCoinsRaw ¶
type StableSwapNCoinsRaw struct {
Contract *StableSwapNCoins // Generic contract binding to access the raw methods on
}
StableSwapNCoinsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StableSwapNCoinsRaw) Call ¶
func (_StableSwapNCoins *StableSwapNCoinsRaw) 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 (*StableSwapNCoinsRaw) Transact ¶
func (_StableSwapNCoins *StableSwapNCoinsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StableSwapNCoinsRaw) Transfer ¶
func (_StableSwapNCoins *StableSwapNCoinsRaw) 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 StableSwapNCoinsRemoveLiquidity ¶
type StableSwapNCoinsRemoveLiquidity struct { Provider common.Address TokenAmounts [2]*big.Int Fees [2]*big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsRemoveLiquidity represents a RemoveLiquidity event raised by the StableSwapNCoins contract.
type StableSwapNCoinsRemoveLiquidity0 ¶
type StableSwapNCoinsRemoveLiquidity0 struct { Provider common.Address TokenAmounts [3]*big.Int Fees [3]*big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsRemoveLiquidity0 represents a RemoveLiquidity0 event raised by the StableSwapNCoins contract.
type StableSwapNCoinsRemoveLiquidity0Iterator ¶
type StableSwapNCoinsRemoveLiquidity0Iterator struct { Event *StableSwapNCoinsRemoveLiquidity0 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsRemoveLiquidity0Iterator is returned from FilterRemoveLiquidity0 and is used to iterate over the raw logs and unpacked data for RemoveLiquidity0 events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsRemoveLiquidity0Iterator) Close ¶
func (it *StableSwapNCoinsRemoveLiquidity0Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsRemoveLiquidity0Iterator) Error ¶
func (it *StableSwapNCoinsRemoveLiquidity0Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsRemoveLiquidity0Iterator) Next ¶
func (it *StableSwapNCoinsRemoveLiquidity0Iterator) 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 StableSwapNCoinsRemoveLiquidity1 ¶
type StableSwapNCoinsRemoveLiquidity1 struct { Provider common.Address TokenAmounts [4]*big.Int Fees [4]*big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsRemoveLiquidity1 represents a RemoveLiquidity1 event raised by the StableSwapNCoins contract.
type StableSwapNCoinsRemoveLiquidity1Iterator ¶
type StableSwapNCoinsRemoveLiquidity1Iterator struct { Event *StableSwapNCoinsRemoveLiquidity1 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsRemoveLiquidity1Iterator is returned from FilterRemoveLiquidity1 and is used to iterate over the raw logs and unpacked data for RemoveLiquidity1 events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsRemoveLiquidity1Iterator) Close ¶
func (it *StableSwapNCoinsRemoveLiquidity1Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsRemoveLiquidity1Iterator) Error ¶
func (it *StableSwapNCoinsRemoveLiquidity1Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsRemoveLiquidity1Iterator) Next ¶
func (it *StableSwapNCoinsRemoveLiquidity1Iterator) 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 StableSwapNCoinsRemoveLiquidityImbalance ¶
type StableSwapNCoinsRemoveLiquidityImbalance struct { Provider common.Address TokenAmounts [2]*big.Int Fees [2]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the StableSwapNCoins contract.
type StableSwapNCoinsRemoveLiquidityImbalance0 ¶
type StableSwapNCoinsRemoveLiquidityImbalance0 struct { Provider common.Address TokenAmounts [3]*big.Int Fees [3]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsRemoveLiquidityImbalance0 represents a RemoveLiquidityImbalance0 event raised by the StableSwapNCoins contract.
type StableSwapNCoinsRemoveLiquidityImbalance0Iterator ¶
type StableSwapNCoinsRemoveLiquidityImbalance0Iterator struct { Event *StableSwapNCoinsRemoveLiquidityImbalance0 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsRemoveLiquidityImbalance0Iterator is returned from FilterRemoveLiquidityImbalance0 and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance0 events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsRemoveLiquidityImbalance0Iterator) Close ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalance0Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsRemoveLiquidityImbalance0Iterator) Error ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalance0Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsRemoveLiquidityImbalance0Iterator) Next ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalance0Iterator) 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 StableSwapNCoinsRemoveLiquidityImbalance1 ¶
type StableSwapNCoinsRemoveLiquidityImbalance1 struct { Provider common.Address TokenAmounts [4]*big.Int Fees [4]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNCoinsRemoveLiquidityImbalance1 represents a RemoveLiquidityImbalance1 event raised by the StableSwapNCoins contract.
type StableSwapNCoinsRemoveLiquidityImbalance1Iterator ¶
type StableSwapNCoinsRemoveLiquidityImbalance1Iterator struct { Event *StableSwapNCoinsRemoveLiquidityImbalance1 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsRemoveLiquidityImbalance1Iterator is returned from FilterRemoveLiquidityImbalance1 and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance1 events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsRemoveLiquidityImbalance1Iterator) Close ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalance1Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsRemoveLiquidityImbalance1Iterator) Error ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalance1Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsRemoveLiquidityImbalance1Iterator) Next ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalance1Iterator) 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 StableSwapNCoinsRemoveLiquidityImbalanceIterator ¶
type StableSwapNCoinsRemoveLiquidityImbalanceIterator struct { Event *StableSwapNCoinsRemoveLiquidityImbalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsRemoveLiquidityImbalanceIterator) Close ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsRemoveLiquidityImbalanceIterator) Error ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsRemoveLiquidityImbalanceIterator) Next ¶
func (it *StableSwapNCoinsRemoveLiquidityImbalanceIterator) 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 StableSwapNCoinsRemoveLiquidityIterator ¶
type StableSwapNCoinsRemoveLiquidityIterator struct { Event *StableSwapNCoinsRemoveLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNCoinsRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the StableSwapNCoins contract.
func (*StableSwapNCoinsRemoveLiquidityIterator) Close ¶
func (it *StableSwapNCoinsRemoveLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNCoinsRemoveLiquidityIterator) Error ¶
func (it *StableSwapNCoinsRemoveLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNCoinsRemoveLiquidityIterator) Next ¶
func (it *StableSwapNCoinsRemoveLiquidityIterator) 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 StableSwapNCoinsSession ¶
type StableSwapNCoinsSession struct { Contract *StableSwapNCoins // 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 }
StableSwapNCoinsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type StableSwapNCoinsTransactor ¶
type StableSwapNCoinsTransactor struct {
// contains filtered or unexported fields
}
StableSwapNCoinsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStableSwapNCoinsTransactor ¶
func NewStableSwapNCoinsTransactor(address common.Address, transactor bind.ContractTransactor) (*StableSwapNCoinsTransactor, error)
NewStableSwapNCoinsTransactor creates a new write-only instance of StableSwapNCoins, bound to a specific deployed contract.
type StableSwapNCoinsTransactorRaw ¶
type StableSwapNCoinsTransactorRaw struct {
Contract *StableSwapNCoinsTransactor // Generic write-only contract binding to access the raw methods on
}
StableSwapNCoinsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StableSwapNCoinsTransactorRaw) Transact ¶
func (_StableSwapNCoins *StableSwapNCoinsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StableSwapNCoinsTransactorRaw) Transfer ¶
func (_StableSwapNCoins *StableSwapNCoinsTransactorRaw) 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 StableSwapNCoinsTransactorSession ¶
type StableSwapNCoinsTransactorSession struct { Contract *StableSwapNCoinsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StableSwapNCoinsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type StableSwapNewAdmin ¶
type StableSwapNewAdmin struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
StableSwapNewAdmin represents a NewAdmin event raised by the StableSwap contract.
type StableSwapNewAdminIterator ¶
type StableSwapNewAdminIterator struct { Event *StableSwapNewAdmin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the StableSwap contract.
func (*StableSwapNewAdminIterator) Close ¶
func (it *StableSwapNewAdminIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNewAdminIterator) Error ¶
func (it *StableSwapNewAdminIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNewAdminIterator) Next ¶
func (it *StableSwapNewAdminIterator) 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 StableSwapNewFee ¶
type StableSwapNewFee struct { Fee *big.Int AdminFee *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapNewFee represents a NewFee event raised by the StableSwap contract.
type StableSwapNewFeeIterator ¶
type StableSwapNewFeeIterator struct { Event *StableSwapNewFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapNewFeeIterator is returned from FilterNewFee and is used to iterate over the raw logs and unpacked data for NewFee events raised by the StableSwap contract.
func (*StableSwapNewFeeIterator) Close ¶
func (it *StableSwapNewFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapNewFeeIterator) Error ¶
func (it *StableSwapNewFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapNewFeeIterator) Next ¶
func (it *StableSwapNewFeeIterator) 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 StableSwapRampA ¶
type StableSwapRampA struct { OldA *big.Int NewA *big.Int InitialTime *big.Int FutureTime *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapRampA represents a RampA event raised by the StableSwap contract.
type StableSwapRampAIterator ¶
type StableSwapRampAIterator struct { Event *StableSwapRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapRampAIterator is returned from FilterRampA and is used to iterate over the raw logs and unpacked data for RampA events raised by the StableSwap contract.
func (*StableSwapRampAIterator) Close ¶
func (it *StableSwapRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapRampAIterator) Error ¶
func (it *StableSwapRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapRampAIterator) Next ¶
func (it *StableSwapRampAIterator) 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 StableSwapRaw ¶
type StableSwapRaw struct {
Contract *StableSwap // Generic contract binding to access the raw methods on
}
StableSwapRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StableSwapRaw) Call ¶
func (_StableSwap *StableSwapRaw) 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 (*StableSwapRaw) Transact ¶
func (_StableSwap *StableSwapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StableSwapRaw) Transfer ¶
func (_StableSwap *StableSwapRaw) 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 StableSwapRemoveLiquidity ¶
type StableSwapRemoveLiquidity struct { Provider common.Address TokenAmounts [2]*big.Int Fees [2]*big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapRemoveLiquidity represents a RemoveLiquidity event raised by the StableSwap contract.
type StableSwapRemoveLiquidityImbalance ¶
type StableSwapRemoveLiquidityImbalance struct { Provider common.Address TokenAmounts [2]*big.Int Fees [2]*big.Int Invariant *big.Int TokenSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the StableSwap contract.
type StableSwapRemoveLiquidityImbalanceIterator ¶
type StableSwapRemoveLiquidityImbalanceIterator struct { Event *StableSwapRemoveLiquidityImbalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the StableSwap contract.
func (*StableSwapRemoveLiquidityImbalanceIterator) Close ¶
func (it *StableSwapRemoveLiquidityImbalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapRemoveLiquidityImbalanceIterator) Error ¶
func (it *StableSwapRemoveLiquidityImbalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapRemoveLiquidityImbalanceIterator) Next ¶
func (it *StableSwapRemoveLiquidityImbalanceIterator) 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 StableSwapRemoveLiquidityIterator ¶
type StableSwapRemoveLiquidityIterator struct { Event *StableSwapRemoveLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the StableSwap contract.
func (*StableSwapRemoveLiquidityIterator) Close ¶
func (it *StableSwapRemoveLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapRemoveLiquidityIterator) Error ¶
func (it *StableSwapRemoveLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapRemoveLiquidityIterator) Next ¶
func (it *StableSwapRemoveLiquidityIterator) 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 StableSwapRemoveLiquidityOne ¶
type StableSwapRemoveLiquidityOne struct { Provider common.Address TokenAmount *big.Int CoinAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the StableSwap contract.
type StableSwapRemoveLiquidityOneIterator ¶
type StableSwapRemoveLiquidityOneIterator struct { Event *StableSwapRemoveLiquidityOne // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapRemoveLiquidityOneIterator is returned from FilterRemoveLiquidityOne and is used to iterate over the raw logs and unpacked data for RemoveLiquidityOne events raised by the StableSwap contract.
func (*StableSwapRemoveLiquidityOneIterator) Close ¶
func (it *StableSwapRemoveLiquidityOneIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapRemoveLiquidityOneIterator) Error ¶
func (it *StableSwapRemoveLiquidityOneIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapRemoveLiquidityOneIterator) Next ¶
func (it *StableSwapRemoveLiquidityOneIterator) 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 StableSwapSession ¶
type StableSwapSession struct { Contract *StableSwap // 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 }
StableSwapSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StableSwapSession) A ¶
func (_StableSwap *StableSwapSession) A() (*big.Int, error)
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*StableSwapSession) APrecise ¶
func (_StableSwap *StableSwapSession) APrecise() (*big.Int, error)
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*StableSwapSession) AddLiquidity ¶
func (_StableSwap *StableSwapSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.
Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) payable returns(uint256)
func (*StableSwapSession) AdminActionsDeadline ¶
func (_StableSwap *StableSwapSession) AdminActionsDeadline() (*big.Int, error)
AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.
Solidity: function admin_actions_deadline() view returns(uint256)
func (*StableSwapSession) AdminBalances ¶
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*StableSwapSession) AdminFee ¶
func (_StableSwap *StableSwapSession) AdminFee() (*big.Int, error)
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*StableSwapSession) ApplyNewFee ¶
func (_StableSwap *StableSwapSession) ApplyNewFee() (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*StableSwapSession) ApplyTransferOwnership ¶
func (_StableSwap *StableSwapSession) ApplyTransferOwnership() (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*StableSwapSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*StableSwapSession) CalcTokenAmount ¶
func (_StableSwap *StableSwapSession) CalcTokenAmount(amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.
Solidity: function calc_token_amount(uint256[2] amounts, bool is_deposit) view returns(uint256)
func (*StableSwapSession) CalcWithdrawOneCoin ¶
func (_StableSwap *StableSwapSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.
Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)
func (*StableSwapSession) Coins ¶
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*StableSwapSession) CommitNewFee ¶
func (_StableSwap *StableSwapSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)
CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.
Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()
func (*StableSwapSession) CommitTransferOwnership ¶
func (_StableSwap *StableSwapSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _owner) returns()
func (*StableSwapSession) DonateAdminFees ¶
func (_StableSwap *StableSwapSession) DonateAdminFees() (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*StableSwapSession) Exchange ¶
func (_StableSwap *StableSwapSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x3df02124.
Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) payable returns(uint256)
func (*StableSwapSession) Fee ¶
func (_StableSwap *StableSwapSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*StableSwapSession) FutureA ¶
func (_StableSwap *StableSwapSession) FutureA() (*big.Int, error)
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*StableSwapSession) FutureATime ¶
func (_StableSwap *StableSwapSession) FutureATime() (*big.Int, error)
FutureATime is a free data retrieval call binding the contract method 0x14052288.
Solidity: function future_A_time() view returns(uint256)
func (*StableSwapSession) FutureAdminFee ¶
func (_StableSwap *StableSwapSession) FutureAdminFee() (*big.Int, error)
FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.
Solidity: function future_admin_fee() view returns(uint256)
func (*StableSwapSession) FutureFee ¶
func (_StableSwap *StableSwapSession) FutureFee() (*big.Int, error)
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*StableSwapSession) FutureOwner ¶
func (_StableSwap *StableSwapSession) FutureOwner() (common.Address, error)
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*StableSwapSession) GetDy ¶
GetDy is a free data retrieval call binding the contract method 0x5e0d443f.
Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*StableSwapSession) GetVirtualPrice ¶
func (_StableSwap *StableSwapSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.
Solidity: function get_virtual_price() view returns(uint256)
func (*StableSwapSession) InitialA ¶
func (_StableSwap *StableSwapSession) InitialA() (*big.Int, error)
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*StableSwapSession) InitialATime ¶
func (_StableSwap *StableSwapSession) InitialATime() (*big.Int, error)
InitialATime is a free data retrieval call binding the contract method 0x2081066c.
Solidity: function initial_A_time() view returns(uint256)
func (*StableSwapSession) KillMe ¶
func (_StableSwap *StableSwapSession) KillMe() (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*StableSwapSession) LpToken ¶
func (_StableSwap *StableSwapSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*StableSwapSession) Owner ¶
func (_StableSwap *StableSwapSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StableSwapSession) RampA ¶
func (_StableSwap *StableSwapSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x3c157e64.
Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()
func (*StableSwapSession) RemoveLiquidity ¶
func (_StableSwap *StableSwapSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])
func (*StableSwapSession) RemoveLiquidityImbalance ¶
func (_StableSwap *StableSwapSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*StableSwapSession) RemoveLiquidityOneCoin ¶
func (_StableSwap *StableSwapSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount) returns(uint256)
func (*StableSwapSession) RevertNewParameters ¶
func (_StableSwap *StableSwapSession) RevertNewParameters() (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*StableSwapSession) RevertTransferOwnership ¶
func (_StableSwap *StableSwapSession) RevertTransferOwnership() (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*StableSwapSession) StopRampA ¶
func (_StableSwap *StableSwapSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*StableSwapSession) TransferOwnershipDeadline ¶
func (_StableSwap *StableSwapSession) TransferOwnershipDeadline() (*big.Int, error)
TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.
Solidity: function transfer_ownership_deadline() view returns(uint256)
func (*StableSwapSession) UnkillMe ¶
func (_StableSwap *StableSwapSession) UnkillMe() (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*StableSwapSession) WithdrawAdminFees ¶
func (_StableSwap *StableSwapSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()
type StableSwapStopRampA ¶
type StableSwapStopRampA struct { A *big.Int T *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapStopRampA represents a StopRampA event raised by the StableSwap contract.
type StableSwapStopRampAIterator ¶
type StableSwapStopRampAIterator struct { Event *StableSwapStopRampA // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapStopRampAIterator is returned from FilterStopRampA and is used to iterate over the raw logs and unpacked data for StopRampA events raised by the StableSwap contract.
func (*StableSwapStopRampAIterator) Close ¶
func (it *StableSwapStopRampAIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapStopRampAIterator) Error ¶
func (it *StableSwapStopRampAIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapStopRampAIterator) Next ¶
func (it *StableSwapStopRampAIterator) 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 StableSwapTokenExchange ¶
type StableSwapTokenExchange struct { Buyer common.Address SoldId *big.Int TokensSold *big.Int BoughtId *big.Int TokensBought *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapTokenExchange represents a TokenExchange event raised by the StableSwap contract.
type StableSwapTokenExchangeIterator ¶
type StableSwapTokenExchangeIterator struct { Event *StableSwapTokenExchange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapTokenExchangeIterator is returned from FilterTokenExchange and is used to iterate over the raw logs and unpacked data for TokenExchange events raised by the StableSwap contract.
func (*StableSwapTokenExchangeIterator) Close ¶
func (it *StableSwapTokenExchangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapTokenExchangeIterator) Error ¶
func (it *StableSwapTokenExchangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapTokenExchangeIterator) Next ¶
func (it *StableSwapTokenExchangeIterator) 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 StableSwapTokenExchangeUnderlying ¶
type StableSwapTokenExchangeUnderlying struct { Buyer common.Address SoldId *big.Int TokensSold *big.Int BoughtId *big.Int TokensBought *big.Int Raw types.Log // Blockchain specific contextual infos }
StableSwapTokenExchangeUnderlying represents a TokenExchangeUnderlying event raised by the StableSwap contract.
type StableSwapTokenExchangeUnderlyingIterator ¶
type StableSwapTokenExchangeUnderlyingIterator struct { Event *StableSwapTokenExchangeUnderlying // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StableSwapTokenExchangeUnderlyingIterator is returned from FilterTokenExchangeUnderlying and is used to iterate over the raw logs and unpacked data for TokenExchangeUnderlying events raised by the StableSwap contract.
func (*StableSwapTokenExchangeUnderlyingIterator) Close ¶
func (it *StableSwapTokenExchangeUnderlyingIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StableSwapTokenExchangeUnderlyingIterator) Error ¶
func (it *StableSwapTokenExchangeUnderlyingIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StableSwapTokenExchangeUnderlyingIterator) Next ¶
func (it *StableSwapTokenExchangeUnderlyingIterator) 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 StableSwapTransactor ¶
type StableSwapTransactor struct {
// contains filtered or unexported fields
}
StableSwapTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStableSwapTransactor ¶
func NewStableSwapTransactor(address common.Address, transactor bind.ContractTransactor) (*StableSwapTransactor, error)
NewStableSwapTransactor creates a new write-only instance of StableSwap, bound to a specific deployed contract.
func (*StableSwapTransactor) AddLiquidity ¶
func (_StableSwap *StableSwapTransactor) AddLiquidity(opts *bind.TransactOpts, amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.
Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) payable returns(uint256)
func (*StableSwapTransactor) ApplyNewFee ¶
func (_StableSwap *StableSwapTransactor) ApplyNewFee(opts *bind.TransactOpts) (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*StableSwapTransactor) ApplyTransferOwnership ¶
func (_StableSwap *StableSwapTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*StableSwapTransactor) CommitNewFee ¶
func (_StableSwap *StableSwapTransactor) CommitNewFee(opts *bind.TransactOpts, new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)
CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.
Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()
func (*StableSwapTransactor) CommitTransferOwnership ¶
func (_StableSwap *StableSwapTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _owner) returns()
func (*StableSwapTransactor) DonateAdminFees ¶
func (_StableSwap *StableSwapTransactor) DonateAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*StableSwapTransactor) Exchange ¶
func (_StableSwap *StableSwapTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x3df02124.
Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) payable returns(uint256)
func (*StableSwapTransactor) KillMe ¶
func (_StableSwap *StableSwapTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*StableSwapTransactor) RampA ¶
func (_StableSwap *StableSwapTransactor) RampA(opts *bind.TransactOpts, _future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x3c157e64.
Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()
func (*StableSwapTransactor) RemoveLiquidity ¶
func (_StableSwap *StableSwapTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])
func (*StableSwapTransactor) RemoveLiquidityImbalance ¶
func (_StableSwap *StableSwapTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*StableSwapTransactor) RemoveLiquidityOneCoin ¶
func (_StableSwap *StableSwapTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount) returns(uint256)
func (*StableSwapTransactor) RevertNewParameters ¶
func (_StableSwap *StableSwapTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*StableSwapTransactor) RevertTransferOwnership ¶
func (_StableSwap *StableSwapTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*StableSwapTransactor) StopRampA ¶
func (_StableSwap *StableSwapTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*StableSwapTransactor) UnkillMe ¶
func (_StableSwap *StableSwapTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*StableSwapTransactor) WithdrawAdminFees ¶
func (_StableSwap *StableSwapTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()
type StableSwapTransactorRaw ¶
type StableSwapTransactorRaw struct {
Contract *StableSwapTransactor // Generic write-only contract binding to access the raw methods on
}
StableSwapTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StableSwapTransactorRaw) Transact ¶
func (_StableSwap *StableSwapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StableSwapTransactorRaw) Transfer ¶
func (_StableSwap *StableSwapTransactorRaw) 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 StableSwapTransactorSession ¶
type StableSwapTransactorSession struct { Contract *StableSwapTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StableSwapTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StableSwapTransactorSession) AddLiquidity ¶
func (_StableSwap *StableSwapTransactorSession) AddLiquidity(amounts [2]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.
Solidity: function add_liquidity(uint256[2] amounts, uint256 min_mint_amount) payable returns(uint256)
func (*StableSwapTransactorSession) ApplyNewFee ¶
func (_StableSwap *StableSwapTransactorSession) ApplyNewFee() (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*StableSwapTransactorSession) ApplyTransferOwnership ¶
func (_StableSwap *StableSwapTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*StableSwapTransactorSession) CommitNewFee ¶
func (_StableSwap *StableSwapTransactorSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)
CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.
Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()
func (*StableSwapTransactorSession) CommitTransferOwnership ¶
func (_StableSwap *StableSwapTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _owner) returns()
func (*StableSwapTransactorSession) DonateAdminFees ¶
func (_StableSwap *StableSwapTransactorSession) DonateAdminFees() (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*StableSwapTransactorSession) Exchange ¶
func (_StableSwap *StableSwapTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x3df02124.
Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) payable returns(uint256)
func (*StableSwapTransactorSession) KillMe ¶
func (_StableSwap *StableSwapTransactorSession) KillMe() (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*StableSwapTransactorSession) RampA ¶
func (_StableSwap *StableSwapTransactorSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x3c157e64.
Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()
func (*StableSwapTransactorSession) RemoveLiquidity ¶
func (_StableSwap *StableSwapTransactorSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])
func (*StableSwapTransactorSession) RemoveLiquidityImbalance ¶
func (_StableSwap *StableSwapTransactorSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe3103273.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*StableSwapTransactorSession) RemoveLiquidityOneCoin ¶
func (_StableSwap *StableSwapTransactorSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount) returns(uint256)
func (*StableSwapTransactorSession) RevertNewParameters ¶
func (_StableSwap *StableSwapTransactorSession) RevertNewParameters() (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*StableSwapTransactorSession) RevertTransferOwnership ¶
func (_StableSwap *StableSwapTransactorSession) RevertTransferOwnership() (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*StableSwapTransactorSession) StopRampA ¶
func (_StableSwap *StableSwapTransactorSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*StableSwapTransactorSession) UnkillMe ¶
func (_StableSwap *StableSwapTransactorSession) UnkillMe() (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*StableSwapTransactorSession) WithdrawAdminFees ¶
func (_StableSwap *StableSwapTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()