Documentation ¶
Index ¶
- Constants
- type ConverterTypeThree
- type ConverterTypeThreeActivation
- type ConverterTypeThreeActivationIterator
- type ConverterTypeThreeCaller
- func (_ConverterTypeThree *ConverterTypeThreeCaller) AddLiquidityCost(opts *bind.CallOpts, _reserveTokens []common.Address, ...) ([]*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) AddLiquidityReturn(opts *bind.CallOpts, _reserveToken common.Address, _reserveAmount *big.Int) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) Anchor(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) AverageRateInfo(opts *bind.CallOpts) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ConnectorTokenCount(opts *bind.CallOpts) (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ConnectorTokens(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) Connectors(opts *bind.CallOpts, _address common.Address) (*big.Int, uint32, bool, bool, bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ConversionFee(opts *bind.CallOpts) (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ConverterType(opts *bind.CallOpts) (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) GetConnectorBalance(opts *bind.CallOpts, _connectorToken common.Address) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) GetReturn(opts *bind.CallOpts, _sourceToken common.Address, _targetToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) IsActive(opts *bind.CallOpts) (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) IsV28OrHigher(opts *bind.CallOpts) (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) MaxConversionFee(opts *bind.CallOpts) (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) OnlyOwnerCanUpdateRegistry(opts *bind.CallOpts) (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) PrevRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) RecentAverageRate(opts *bind.CallOpts, _token common.Address) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) RemoveLiquidityReturn(opts *bind.CallOpts, _amount *big.Int, _reserveTokens []common.Address) ([]*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveBalance(opts *bind.CallOpts, _reserveToken common.Address) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveBalances(opts *bind.CallOpts) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveTokenCount(opts *bind.CallOpts) (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveTokens(opts *bind.CallOpts) ([]common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveWeight(opts *bind.CallOpts, _reserveToken common.Address) (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) TargetAmountAndFee(opts *bind.CallOpts, _sourceToken common.Address, _targetToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCaller) Version(opts *bind.CallOpts) (uint16, error)
- type ConverterTypeThreeCallerRaw
- type ConverterTypeThreeCallerSession
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) AddLiquidityCost(_reserveTokens []common.Address, _reserveTokenIndex *big.Int, ...) ([]*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) AddLiquidityReturn(_reserveToken common.Address, _reserveAmount *big.Int) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Anchor() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) AverageRateInfo() (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConnectorTokenCount() (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConnectorTokens(_index *big.Int) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Connectors(_address common.Address) (*big.Int, uint32, bool, bool, bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConversionFee() (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConverterType() (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) GetConnectorBalance(_connectorToken common.Address) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) GetReturn(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) IsActive() (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) IsV28OrHigher() (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) MaxConversionFee() (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) NewOwner() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) OnlyOwnerCanUpdateRegistry() (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Owner() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) PrevRegistry() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) RecentAverageRate(_token common.Address) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Registry() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) RemoveLiquidityReturn(_amount *big.Int, _reserveTokens []common.Address) ([]*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveBalance(_reserveToken common.Address) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveBalances() (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveTokenCount() (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveTokens() ([]common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveWeight(_reserveToken common.Address) (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) TargetAmountAndFee(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Token() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Version() (uint16, error)
- type ConverterTypeThreeConversion
- type ConverterTypeThreeConversionFeeUpdate
- type ConverterTypeThreeConversionFeeUpdateIterator
- type ConverterTypeThreeConversionIterator
- type ConverterTypeThreeFilterer
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterActivation(opts *bind.FilterOpts, _type []uint16, _anchor []common.Address, ...) (*ConverterTypeThreeActivationIterator, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterConversion(opts *bind.FilterOpts, _fromToken []common.Address, _toToken []common.Address, ...) (*ConverterTypeThreeConversionIterator, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterConversionFeeUpdate(opts *bind.FilterOpts) (*ConverterTypeThreeConversionFeeUpdateIterator, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterLiquidityAdded(opts *bind.FilterOpts, _provider []common.Address, ...) (*ConverterTypeThreeLiquidityAddedIterator, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterLiquidityRemoved(opts *bind.FilterOpts, _provider []common.Address, ...) (*ConverterTypeThreeLiquidityRemovedIterator, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, _prevOwner []common.Address, _newOwner []common.Address) (*ConverterTypeThreeOwnerUpdateIterator, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterTokenRateUpdate(opts *bind.FilterOpts, _token1 []common.Address, _token2 []common.Address) (*ConverterTypeThreeTokenRateUpdateIterator, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseActivation(log types.Log) (*ConverterTypeThreeActivation, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseConversion(log types.Log) (*ConverterTypeThreeConversion, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseConversionFeeUpdate(log types.Log) (*ConverterTypeThreeConversionFeeUpdate, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseLiquidityAdded(log types.Log) (*ConverterTypeThreeLiquidityAdded, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseLiquidityRemoved(log types.Log) (*ConverterTypeThreeLiquidityRemoved, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseOwnerUpdate(log types.Log) (*ConverterTypeThreeOwnerUpdate, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseTokenRateUpdate(log types.Log) (*ConverterTypeThreeTokenRateUpdate, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchActivation(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeActivation, ...) (event.Subscription, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchConversion(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeConversion, ...) (event.Subscription, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchConversionFeeUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeConversionFeeUpdate) (event.Subscription, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeLiquidityAdded, ...) (event.Subscription, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeLiquidityRemoved, ...) (event.Subscription, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeOwnerUpdate, ...) (event.Subscription, error)
- func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchTokenRateUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeTokenRateUpdate, ...) (event.Subscription, error)
- type ConverterTypeThreeLiquidityAdded
- type ConverterTypeThreeLiquidityAddedIterator
- type ConverterTypeThreeLiquidityRemoved
- type ConverterTypeThreeLiquidityRemovedIterator
- type ConverterTypeThreeOwnerUpdate
- type ConverterTypeThreeOwnerUpdateIterator
- type ConverterTypeThreeRaw
- func (_ConverterTypeThree *ConverterTypeThreeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ConverterTypeThree *ConverterTypeThreeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ConverterTypeThreeSession
- func (_ConverterTypeThree *ConverterTypeThreeSession) AcceptAnchorOwnership() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AcceptOwnership() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AcceptTokenOwnership() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidity(_reserve1Amount *big.Int, _reserve2Amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidity0(_reserveTokens []common.Address, _reserveAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidityCost(_reserveTokens []common.Address, _reserveTokenIndex *big.Int, ...) ([]*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidityReturn(_reserveToken common.Address, _reserveAmount *big.Int) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AddReserve(_token common.Address, _weight uint32) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Anchor() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) AverageRateInfo() (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ConnectorTokenCount() (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ConnectorTokens(_index *big.Int) (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Connectors(_address common.Address) (*big.Int, uint32, bool, bool, bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ConversionFee() (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Convert(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ConverterType() (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) GetConnectorBalance(_connectorToken common.Address) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) GetReturn(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) IsActive() (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) IsV28OrHigher() (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) MaxConversionFee() (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) NewOwner() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) OnlyOwnerCanUpdateRegistry() (bool, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Owner() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) PrevRegistry() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Receive() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) RecentAverageRate(_token common.Address) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Registry() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) RemoveLiquidity(_amount *big.Int, _reserve1MinReturn *big.Int, _reserve2MinReturn *big.Int) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) RemoveLiquidity0(_amount *big.Int, _reserveTokens []common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) RemoveLiquidityReturn(_amount *big.Int, _reserveTokens []common.Address) ([]*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveBalance(_reserveToken common.Address) (*big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveBalances() (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveTokenCount() (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveTokens() ([]common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveWeight(_reserveToken common.Address) (uint32, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) RestoreRegistry() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) TargetAmountAndFee(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Token() (common.Address, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) TransferAnchorOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) TransferTokenOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) UpdateRegistry() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Upgrade() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) Version() (uint16, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) WithdrawETH(_to common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- type ConverterTypeThreeTokenRateUpdate
- type ConverterTypeThreeTokenRateUpdateIterator
- type ConverterTypeThreeTransactor
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) AcceptAnchorOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) AcceptTokenOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) AddLiquidity(opts *bind.TransactOpts, _reserve1Amount *big.Int, _reserve2Amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) AddLiquidity0(opts *bind.TransactOpts, _reserveTokens []common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) AddReserve(opts *bind.TransactOpts, _token common.Address, _weight uint32) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) Convert(opts *bind.TransactOpts, _sourceToken common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _reserve1MinReturn *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _amount *big.Int, _reserveTokens []common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) RestoreRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) RestrictRegistryUpdate(opts *bind.TransactOpts, _onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) SetConversionFee(opts *bind.TransactOpts, _conversionFee uint32) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) TransferAnchorOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) TransferTokenOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) UpdateRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) Upgrade(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) WithdrawETH(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactor) WithdrawTokens(opts *bind.TransactOpts, _token common.Address, _to common.Address, ...) (*types.Transaction, error)
- type ConverterTypeThreeTransactorRaw
- type ConverterTypeThreeTransactorSession
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AcceptAnchorOwnership() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AcceptTokenOwnership() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AddLiquidity(_reserve1Amount *big.Int, _reserve2Amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AddLiquidity0(_reserveTokens []common.Address, _reserveAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AddReserve(_token common.Address, _weight uint32) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) Convert(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) Receive() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RemoveLiquidity(_amount *big.Int, _reserve1MinReturn *big.Int, _reserve2MinReturn *big.Int) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RemoveLiquidity0(_amount *big.Int, _reserveTokens []common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RestoreRegistry() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) TransferAnchorOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) TransferTokenOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) UpdateRegistry() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) Upgrade() (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) WithdrawETH(_to common.Address) (*types.Transaction, error)
- func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Constants ¶
const ConverterTypeThreeABI = "" /* 15638-byte string literal not displayed */
ConverterTypeThreeABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConverterTypeThree ¶
type ConverterTypeThree struct { ConverterTypeThreeCaller // Read-only binding to the contract ConverterTypeThreeTransactor // Write-only binding to the contract ConverterTypeThreeFilterer // Log filterer for contract events }
ConverterTypeThree is an auto generated Go binding around an Ethereum contract.
func NewConverterTypeThree ¶
func NewConverterTypeThree(address common.Address, backend bind.ContractBackend) (*ConverterTypeThree, error)
NewConverterTypeThree creates a new instance of ConverterTypeThree, bound to a specific deployed contract.
type ConverterTypeThreeActivation ¶
type ConverterTypeThreeActivation struct { Type uint16 Anchor common.Address Activated bool Raw types.Log // Blockchain specific contextual infos }
ConverterTypeThreeActivation represents a Activation event raised by the ConverterTypeThree contract.
type ConverterTypeThreeActivationIterator ¶
type ConverterTypeThreeActivationIterator struct { Event *ConverterTypeThreeActivation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeThreeActivationIterator is returned from FilterActivation and is used to iterate over the raw logs and unpacked data for Activation events raised by the ConverterTypeThree contract.
func (*ConverterTypeThreeActivationIterator) Close ¶
func (it *ConverterTypeThreeActivationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeThreeActivationIterator) Error ¶
func (it *ConverterTypeThreeActivationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeThreeActivationIterator) Next ¶
func (it *ConverterTypeThreeActivationIterator) 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 ConverterTypeThreeCaller ¶
type ConverterTypeThreeCaller struct {
// contains filtered or unexported fields
}
ConverterTypeThreeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewConverterTypeThreeCaller ¶
func NewConverterTypeThreeCaller(address common.Address, caller bind.ContractCaller) (*ConverterTypeThreeCaller, error)
NewConverterTypeThreeCaller creates a new read-only instance of ConverterTypeThree, bound to a specific deployed contract.
func (*ConverterTypeThreeCaller) AddLiquidityCost ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) AddLiquidityCost(opts *bind.CallOpts, _reserveTokens []common.Address, _reserveTokenIndex *big.Int, _reserveAmount *big.Int) ([]*big.Int, error)
AddLiquidityCost is a free data retrieval call binding the contract method 0x80d9416d.
Solidity: function addLiquidityCost(address[] _reserveTokens, uint256 _reserveTokenIndex, uint256 _reserveAmount) view returns(uint256[])
func (*ConverterTypeThreeCaller) AddLiquidityReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) AddLiquidityReturn(opts *bind.CallOpts, _reserveToken common.Address, _reserveAmount *big.Int) (*big.Int, error)
AddLiquidityReturn is a free data retrieval call binding the contract method 0x4e40c260.
Solidity: function addLiquidityReturn(address _reserveToken, uint256 _reserveAmount) view returns(uint256)
func (*ConverterTypeThreeCaller) Anchor ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) Anchor(opts *bind.CallOpts) (common.Address, error)
Anchor is a free data retrieval call binding the contract method 0xd3fb73b4.
Solidity: function anchor() view returns(address)
func (*ConverterTypeThreeCaller) AverageRateInfo ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) AverageRateInfo(opts *bind.CallOpts) (*big.Int, error)
AverageRateInfo is a free data retrieval call binding the contract method 0xf0413a1f.
Solidity: function averageRateInfo() view returns(uint256)
func (*ConverterTypeThreeCaller) ConnectorTokenCount ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ConnectorTokenCount(opts *bind.CallOpts) (uint16, error)
ConnectorTokenCount is a free data retrieval call binding the contract method 0x71f52bf3.
Solidity: function connectorTokenCount() view returns(uint16)
func (*ConverterTypeThreeCaller) ConnectorTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ConnectorTokens(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
ConnectorTokens is a free data retrieval call binding the contract method 0x19b64015.
Solidity: function connectorTokens(uint256 _index) view returns(address)
func (*ConverterTypeThreeCaller) Connectors ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) Connectors(opts *bind.CallOpts, _address common.Address) (*big.Int, uint32, bool, bool, bool, error)
Connectors is a free data retrieval call binding the contract method 0x0e53aae9.
Solidity: function connectors(address _address) view returns(uint256, uint32, bool, bool, bool)
func (*ConverterTypeThreeCaller) ConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ConversionFee(opts *bind.CallOpts) (uint32, error)
ConversionFee is a free data retrieval call binding the contract method 0x579cd3ca.
Solidity: function conversionFee() view returns(uint32)
func (*ConverterTypeThreeCaller) ConverterType ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ConverterType(opts *bind.CallOpts) (uint16, error)
ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.
Solidity: function converterType() pure returns(uint16)
func (*ConverterTypeThreeCaller) GetConnectorBalance ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) GetConnectorBalance(opts *bind.CallOpts, _connectorToken common.Address) (*big.Int, error)
GetConnectorBalance is a free data retrieval call binding the contract method 0xd8959512.
Solidity: function getConnectorBalance(address _connectorToken) view returns(uint256)
func (*ConverterTypeThreeCaller) GetReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) GetReturn(opts *bind.CallOpts, _sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.
Solidity: function getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeThreeCaller) IsActive ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) IsActive(opts *bind.CallOpts) (bool, error)
IsActive is a free data retrieval call binding the contract method 0x22f3e2d4.
Solidity: function isActive() view returns(bool)
func (*ConverterTypeThreeCaller) IsV28OrHigher ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) IsV28OrHigher(opts *bind.CallOpts) (bool, error)
IsV28OrHigher is a free data retrieval call binding the contract method 0xd260529c.
Solidity: function isV28OrHigher() pure returns(bool)
func (*ConverterTypeThreeCaller) MaxConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) MaxConversionFee(opts *bind.CallOpts) (uint32, error)
MaxConversionFee is a free data retrieval call binding the contract method 0x94c275ad.
Solidity: function maxConversionFee() view returns(uint32)
func (*ConverterTypeThreeCaller) NewOwner ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)
NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.
Solidity: function newOwner() view returns(address)
func (*ConverterTypeThreeCaller) OnlyOwnerCanUpdateRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) OnlyOwnerCanUpdateRegistry(opts *bind.CallOpts) (bool, error)
OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.
Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)
func (*ConverterTypeThreeCaller) Owner ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ConverterTypeThreeCaller) PrevRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) PrevRegistry(opts *bind.CallOpts) (common.Address, error)
PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.
Solidity: function prevRegistry() view returns(address)
func (*ConverterTypeThreeCaller) RecentAverageRate ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) RecentAverageRate(opts *bind.CallOpts, _token common.Address) (*big.Int, *big.Int, error)
RecentAverageRate is a free data retrieval call binding the contract method 0x1f0181bc.
Solidity: function recentAverageRate(address _token) view returns(uint256, uint256)
func (*ConverterTypeThreeCaller) Registry ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) Registry(opts *bind.CallOpts) (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*ConverterTypeThreeCaller) RemoveLiquidityReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) RemoveLiquidityReturn(opts *bind.CallOpts, _amount *big.Int, _reserveTokens []common.Address) ([]*big.Int, error)
RemoveLiquidityReturn is a free data retrieval call binding the contract method 0x15458837.
Solidity: function removeLiquidityReturn(uint256 _amount, address[] _reserveTokens) view returns(uint256[])
func (*ConverterTypeThreeCaller) ReserveBalance ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveBalance(opts *bind.CallOpts, _reserveToken common.Address) (*big.Int, error)
ReserveBalance is a free data retrieval call binding the contract method 0xdc8de379.
Solidity: function reserveBalance(address _reserveToken) view returns(uint256)
func (*ConverterTypeThreeCaller) ReserveBalances ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveBalances(opts *bind.CallOpts) (*big.Int, *big.Int, error)
ReserveBalances is a free data retrieval call binding the contract method 0x613e53a7.
Solidity: function reserveBalances() view returns(uint256, uint256)
func (*ConverterTypeThreeCaller) ReserveTokenCount ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveTokenCount(opts *bind.CallOpts) (uint16, error)
ReserveTokenCount is a free data retrieval call binding the contract method 0x9b99a8e2.
Solidity: function reserveTokenCount() view returns(uint16)
func (*ConverterTypeThreeCaller) ReserveTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveTokens(opts *bind.CallOpts) ([]common.Address, error)
ReserveTokens is a free data retrieval call binding the contract method 0x27ac36c4.
Solidity: function reserveTokens() view returns(address[])
func (*ConverterTypeThreeCaller) ReserveWeight ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) ReserveWeight(opts *bind.CallOpts, _reserveToken common.Address) (uint32, error)
ReserveWeight is a free data retrieval call binding the contract method 0x1cfab290.
Solidity: function reserveWeight(address _reserveToken) view returns(uint32)
func (*ConverterTypeThreeCaller) TargetAmountAndFee ¶
func (_ConverterTypeThree *ConverterTypeThreeCaller) TargetAmountAndFee(opts *bind.CallOpts, _sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
TargetAmountAndFee is a free data retrieval call binding the contract method 0xaf94b8d8.
Solidity: function targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)
type ConverterTypeThreeCallerRaw ¶
type ConverterTypeThreeCallerRaw struct {
Contract *ConverterTypeThreeCaller // Generic read-only contract binding to access the raw methods on
}
ConverterTypeThreeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ConverterTypeThreeCallerRaw) Call ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerRaw) 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 ConverterTypeThreeCallerSession ¶
type ConverterTypeThreeCallerSession struct { Contract *ConverterTypeThreeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ConverterTypeThreeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ConverterTypeThreeCallerSession) AddLiquidityCost ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) AddLiquidityCost(_reserveTokens []common.Address, _reserveTokenIndex *big.Int, _reserveAmount *big.Int) ([]*big.Int, error)
AddLiquidityCost is a free data retrieval call binding the contract method 0x80d9416d.
Solidity: function addLiquidityCost(address[] _reserveTokens, uint256 _reserveTokenIndex, uint256 _reserveAmount) view returns(uint256[])
func (*ConverterTypeThreeCallerSession) AddLiquidityReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) AddLiquidityReturn(_reserveToken common.Address, _reserveAmount *big.Int) (*big.Int, error)
AddLiquidityReturn is a free data retrieval call binding the contract method 0x4e40c260.
Solidity: function addLiquidityReturn(address _reserveToken, uint256 _reserveAmount) view returns(uint256)
func (*ConverterTypeThreeCallerSession) Anchor ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Anchor() (common.Address, error)
Anchor is a free data retrieval call binding the contract method 0xd3fb73b4.
Solidity: function anchor() view returns(address)
func (*ConverterTypeThreeCallerSession) AverageRateInfo ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) AverageRateInfo() (*big.Int, error)
AverageRateInfo is a free data retrieval call binding the contract method 0xf0413a1f.
Solidity: function averageRateInfo() view returns(uint256)
func (*ConverterTypeThreeCallerSession) ConnectorTokenCount ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConnectorTokenCount() (uint16, error)
ConnectorTokenCount is a free data retrieval call binding the contract method 0x71f52bf3.
Solidity: function connectorTokenCount() view returns(uint16)
func (*ConverterTypeThreeCallerSession) ConnectorTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConnectorTokens(_index *big.Int) (common.Address, error)
ConnectorTokens is a free data retrieval call binding the contract method 0x19b64015.
Solidity: function connectorTokens(uint256 _index) view returns(address)
func (*ConverterTypeThreeCallerSession) Connectors ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Connectors(_address common.Address) (*big.Int, uint32, bool, bool, bool, error)
Connectors is a free data retrieval call binding the contract method 0x0e53aae9.
Solidity: function connectors(address _address) view returns(uint256, uint32, bool, bool, bool)
func (*ConverterTypeThreeCallerSession) ConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConversionFee() (uint32, error)
ConversionFee is a free data retrieval call binding the contract method 0x579cd3ca.
Solidity: function conversionFee() view returns(uint32)
func (*ConverterTypeThreeCallerSession) ConverterType ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ConverterType() (uint16, error)
ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.
Solidity: function converterType() pure returns(uint16)
func (*ConverterTypeThreeCallerSession) GetConnectorBalance ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) GetConnectorBalance(_connectorToken common.Address) (*big.Int, error)
GetConnectorBalance is a free data retrieval call binding the contract method 0xd8959512.
Solidity: function getConnectorBalance(address _connectorToken) view returns(uint256)
func (*ConverterTypeThreeCallerSession) GetReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) GetReturn(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.
Solidity: function getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeThreeCallerSession) IsActive ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) IsActive() (bool, error)
IsActive is a free data retrieval call binding the contract method 0x22f3e2d4.
Solidity: function isActive() view returns(bool)
func (*ConverterTypeThreeCallerSession) IsV28OrHigher ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) IsV28OrHigher() (bool, error)
IsV28OrHigher is a free data retrieval call binding the contract method 0xd260529c.
Solidity: function isV28OrHigher() pure returns(bool)
func (*ConverterTypeThreeCallerSession) MaxConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) MaxConversionFee() (uint32, error)
MaxConversionFee is a free data retrieval call binding the contract method 0x94c275ad.
Solidity: function maxConversionFee() view returns(uint32)
func (*ConverterTypeThreeCallerSession) NewOwner ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) NewOwner() (common.Address, error)
NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.
Solidity: function newOwner() view returns(address)
func (*ConverterTypeThreeCallerSession) OnlyOwnerCanUpdateRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) OnlyOwnerCanUpdateRegistry() (bool, error)
OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.
Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)
func (*ConverterTypeThreeCallerSession) Owner ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ConverterTypeThreeCallerSession) PrevRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) PrevRegistry() (common.Address, error)
PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.
Solidity: function prevRegistry() view returns(address)
func (*ConverterTypeThreeCallerSession) RecentAverageRate ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) RecentAverageRate(_token common.Address) (*big.Int, *big.Int, error)
RecentAverageRate is a free data retrieval call binding the contract method 0x1f0181bc.
Solidity: function recentAverageRate(address _token) view returns(uint256, uint256)
func (*ConverterTypeThreeCallerSession) Registry ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*ConverterTypeThreeCallerSession) RemoveLiquidityReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) RemoveLiquidityReturn(_amount *big.Int, _reserveTokens []common.Address) ([]*big.Int, error)
RemoveLiquidityReturn is a free data retrieval call binding the contract method 0x15458837.
Solidity: function removeLiquidityReturn(uint256 _amount, address[] _reserveTokens) view returns(uint256[])
func (*ConverterTypeThreeCallerSession) ReserveBalance ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveBalance(_reserveToken common.Address) (*big.Int, error)
ReserveBalance is a free data retrieval call binding the contract method 0xdc8de379.
Solidity: function reserveBalance(address _reserveToken) view returns(uint256)
func (*ConverterTypeThreeCallerSession) ReserveBalances ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveBalances() (*big.Int, *big.Int, error)
ReserveBalances is a free data retrieval call binding the contract method 0x613e53a7.
Solidity: function reserveBalances() view returns(uint256, uint256)
func (*ConverterTypeThreeCallerSession) ReserveTokenCount ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveTokenCount() (uint16, error)
ReserveTokenCount is a free data retrieval call binding the contract method 0x9b99a8e2.
Solidity: function reserveTokenCount() view returns(uint16)
func (*ConverterTypeThreeCallerSession) ReserveTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveTokens() ([]common.Address, error)
ReserveTokens is a free data retrieval call binding the contract method 0x27ac36c4.
Solidity: function reserveTokens() view returns(address[])
func (*ConverterTypeThreeCallerSession) ReserveWeight ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) ReserveWeight(_reserveToken common.Address) (uint32, error)
ReserveWeight is a free data retrieval call binding the contract method 0x1cfab290.
Solidity: function reserveWeight(address _reserveToken) view returns(uint32)
func (*ConverterTypeThreeCallerSession) TargetAmountAndFee ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) TargetAmountAndFee(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
TargetAmountAndFee is a free data retrieval call binding the contract method 0xaf94b8d8.
Solidity: function targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeThreeCallerSession) Token ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ConverterTypeThreeCallerSession) Version ¶
func (_ConverterTypeThree *ConverterTypeThreeCallerSession) Version() (uint16, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint16)
type ConverterTypeThreeConversion ¶
type ConverterTypeThreeConversion struct { FromToken common.Address ToToken common.Address Trader common.Address Amount *big.Int Return *big.Int ConversionFee *big.Int Raw types.Log // Blockchain specific contextual infos }
ConverterTypeThreeConversion represents a Conversion event raised by the ConverterTypeThree contract.
type ConverterTypeThreeConversionFeeUpdate ¶
type ConverterTypeThreeConversionFeeUpdate struct { PrevFee uint32 NewFee uint32 Raw types.Log // Blockchain specific contextual infos }
ConverterTypeThreeConversionFeeUpdate represents a ConversionFeeUpdate event raised by the ConverterTypeThree contract.
type ConverterTypeThreeConversionFeeUpdateIterator ¶
type ConverterTypeThreeConversionFeeUpdateIterator struct { Event *ConverterTypeThreeConversionFeeUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeThreeConversionFeeUpdateIterator is returned from FilterConversionFeeUpdate and is used to iterate over the raw logs and unpacked data for ConversionFeeUpdate events raised by the ConverterTypeThree contract.
func (*ConverterTypeThreeConversionFeeUpdateIterator) Close ¶
func (it *ConverterTypeThreeConversionFeeUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeThreeConversionFeeUpdateIterator) Error ¶
func (it *ConverterTypeThreeConversionFeeUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeThreeConversionFeeUpdateIterator) Next ¶
func (it *ConverterTypeThreeConversionFeeUpdateIterator) 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 ConverterTypeThreeConversionIterator ¶
type ConverterTypeThreeConversionIterator struct { Event *ConverterTypeThreeConversion // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeThreeConversionIterator is returned from FilterConversion and is used to iterate over the raw logs and unpacked data for Conversion events raised by the ConverterTypeThree contract.
func (*ConverterTypeThreeConversionIterator) Close ¶
func (it *ConverterTypeThreeConversionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeThreeConversionIterator) Error ¶
func (it *ConverterTypeThreeConversionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeThreeConversionIterator) Next ¶
func (it *ConverterTypeThreeConversionIterator) 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 ConverterTypeThreeFilterer ¶
type ConverterTypeThreeFilterer struct {
// contains filtered or unexported fields
}
ConverterTypeThreeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewConverterTypeThreeFilterer ¶
func NewConverterTypeThreeFilterer(address common.Address, filterer bind.ContractFilterer) (*ConverterTypeThreeFilterer, error)
NewConverterTypeThreeFilterer creates a new log filterer instance of ConverterTypeThree, bound to a specific deployed contract.
func (*ConverterTypeThreeFilterer) FilterActivation ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterActivation(opts *bind.FilterOpts, _type []uint16, _anchor []common.Address, _activated []bool) (*ConverterTypeThreeActivationIterator, error)
FilterActivation is a free log retrieval operation binding the contract event 0x6b08c2e2c9969e55a647a764db9b554d64dc42f1a704da11a6d5b129ad163f2c.
Solidity: event Activation(uint16 indexed _type, address indexed _anchor, bool indexed _activated)
func (*ConverterTypeThreeFilterer) FilterConversion ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterConversion(opts *bind.FilterOpts, _fromToken []common.Address, _toToken []common.Address, _trader []common.Address) (*ConverterTypeThreeConversionIterator, error)
FilterConversion is a free log retrieval operation binding the contract event 0x276856b36cbc45526a0ba64f44611557a2a8b68662c5388e9fe6d72e86e1c8cb.
Solidity: event Conversion(address indexed _fromToken, address indexed _toToken, address indexed _trader, uint256 _amount, uint256 _return, int256 _conversionFee)
func (*ConverterTypeThreeFilterer) FilterConversionFeeUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterConversionFeeUpdate(opts *bind.FilterOpts) (*ConverterTypeThreeConversionFeeUpdateIterator, error)
FilterConversionFeeUpdate is a free log retrieval operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.
Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)
func (*ConverterTypeThreeFilterer) FilterLiquidityAdded ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterLiquidityAdded(opts *bind.FilterOpts, _provider []common.Address, _reserveToken []common.Address) (*ConverterTypeThreeLiquidityAddedIterator, error)
FilterLiquidityAdded is a free log retrieval operation binding the contract event 0x4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7.
Solidity: event LiquidityAdded(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
func (*ConverterTypeThreeFilterer) FilterLiquidityRemoved ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterLiquidityRemoved(opts *bind.FilterOpts, _provider []common.Address, _reserveToken []common.Address) (*ConverterTypeThreeLiquidityRemovedIterator, error)
FilterLiquidityRemoved is a free log retrieval operation binding the contract event 0xbc7d19d505c7ec4db83f3b51f19fb98c4c8a99922e7839d1ee608dfbee29501b.
Solidity: event LiquidityRemoved(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
func (*ConverterTypeThreeFilterer) FilterOwnerUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, _prevOwner []common.Address, _newOwner []common.Address) (*ConverterTypeThreeOwnerUpdateIterator, error)
FilterOwnerUpdate is a free log retrieval operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.
Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)
func (*ConverterTypeThreeFilterer) FilterTokenRateUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) FilterTokenRateUpdate(opts *bind.FilterOpts, _token1 []common.Address, _token2 []common.Address) (*ConverterTypeThreeTokenRateUpdateIterator, error)
FilterTokenRateUpdate is a free log retrieval operation binding the contract event 0x77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c24.
Solidity: event TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)
func (*ConverterTypeThreeFilterer) ParseActivation ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseActivation(log types.Log) (*ConverterTypeThreeActivation, error)
ParseActivation is a log parse operation binding the contract event 0x6b08c2e2c9969e55a647a764db9b554d64dc42f1a704da11a6d5b129ad163f2c.
Solidity: event Activation(uint16 indexed _type, address indexed _anchor, bool indexed _activated)
func (*ConverterTypeThreeFilterer) ParseConversion ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseConversion(log types.Log) (*ConverterTypeThreeConversion, error)
ParseConversion is a log parse operation binding the contract event 0x276856b36cbc45526a0ba64f44611557a2a8b68662c5388e9fe6d72e86e1c8cb.
Solidity: event Conversion(address indexed _fromToken, address indexed _toToken, address indexed _trader, uint256 _amount, uint256 _return, int256 _conversionFee)
func (*ConverterTypeThreeFilterer) ParseConversionFeeUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseConversionFeeUpdate(log types.Log) (*ConverterTypeThreeConversionFeeUpdate, error)
ParseConversionFeeUpdate is a log parse operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.
Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)
func (*ConverterTypeThreeFilterer) ParseLiquidityAdded ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseLiquidityAdded(log types.Log) (*ConverterTypeThreeLiquidityAdded, error)
ParseLiquidityAdded is a log parse operation binding the contract event 0x4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7.
Solidity: event LiquidityAdded(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
func (*ConverterTypeThreeFilterer) ParseLiquidityRemoved ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseLiquidityRemoved(log types.Log) (*ConverterTypeThreeLiquidityRemoved, error)
ParseLiquidityRemoved is a log parse operation binding the contract event 0xbc7d19d505c7ec4db83f3b51f19fb98c4c8a99922e7839d1ee608dfbee29501b.
Solidity: event LiquidityRemoved(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
func (*ConverterTypeThreeFilterer) ParseOwnerUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseOwnerUpdate(log types.Log) (*ConverterTypeThreeOwnerUpdate, error)
ParseOwnerUpdate is a log parse operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.
Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)
func (*ConverterTypeThreeFilterer) ParseTokenRateUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) ParseTokenRateUpdate(log types.Log) (*ConverterTypeThreeTokenRateUpdate, error)
ParseTokenRateUpdate is a log parse operation binding the contract event 0x77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c24.
Solidity: event TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)
func (*ConverterTypeThreeFilterer) WatchActivation ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchActivation(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeActivation, _type []uint16, _anchor []common.Address, _activated []bool) (event.Subscription, error)
WatchActivation is a free log subscription operation binding the contract event 0x6b08c2e2c9969e55a647a764db9b554d64dc42f1a704da11a6d5b129ad163f2c.
Solidity: event Activation(uint16 indexed _type, address indexed _anchor, bool indexed _activated)
func (*ConverterTypeThreeFilterer) WatchConversion ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchConversion(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeConversion, _fromToken []common.Address, _toToken []common.Address, _trader []common.Address) (event.Subscription, error)
WatchConversion is a free log subscription operation binding the contract event 0x276856b36cbc45526a0ba64f44611557a2a8b68662c5388e9fe6d72e86e1c8cb.
Solidity: event Conversion(address indexed _fromToken, address indexed _toToken, address indexed _trader, uint256 _amount, uint256 _return, int256 _conversionFee)
func (*ConverterTypeThreeFilterer) WatchConversionFeeUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchConversionFeeUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeConversionFeeUpdate) (event.Subscription, error)
WatchConversionFeeUpdate is a free log subscription operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.
Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)
func (*ConverterTypeThreeFilterer) WatchLiquidityAdded ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeLiquidityAdded, _provider []common.Address, _reserveToken []common.Address) (event.Subscription, error)
WatchLiquidityAdded is a free log subscription operation binding the contract event 0x4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7.
Solidity: event LiquidityAdded(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
func (*ConverterTypeThreeFilterer) WatchLiquidityRemoved ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeLiquidityRemoved, _provider []common.Address, _reserveToken []common.Address) (event.Subscription, error)
WatchLiquidityRemoved is a free log subscription operation binding the contract event 0xbc7d19d505c7ec4db83f3b51f19fb98c4c8a99922e7839d1ee608dfbee29501b.
Solidity: event LiquidityRemoved(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
func (*ConverterTypeThreeFilterer) WatchOwnerUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeOwnerUpdate, _prevOwner []common.Address, _newOwner []common.Address) (event.Subscription, error)
WatchOwnerUpdate is a free log subscription operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.
Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)
func (*ConverterTypeThreeFilterer) WatchTokenRateUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeFilterer) WatchTokenRateUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeThreeTokenRateUpdate, _token1 []common.Address, _token2 []common.Address) (event.Subscription, error)
WatchTokenRateUpdate is a free log subscription operation binding the contract event 0x77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c24.
Solidity: event TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)
type ConverterTypeThreeLiquidityAdded ¶
type ConverterTypeThreeLiquidityAdded struct { Provider common.Address ReserveToken common.Address Amount *big.Int NewBalance *big.Int NewSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
ConverterTypeThreeLiquidityAdded represents a LiquidityAdded event raised by the ConverterTypeThree contract.
type ConverterTypeThreeLiquidityAddedIterator ¶
type ConverterTypeThreeLiquidityAddedIterator struct { Event *ConverterTypeThreeLiquidityAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeThreeLiquidityAddedIterator is returned from FilterLiquidityAdded and is used to iterate over the raw logs and unpacked data for LiquidityAdded events raised by the ConverterTypeThree contract.
func (*ConverterTypeThreeLiquidityAddedIterator) Close ¶
func (it *ConverterTypeThreeLiquidityAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeThreeLiquidityAddedIterator) Error ¶
func (it *ConverterTypeThreeLiquidityAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeThreeLiquidityAddedIterator) Next ¶
func (it *ConverterTypeThreeLiquidityAddedIterator) 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 ConverterTypeThreeLiquidityRemoved ¶
type ConverterTypeThreeLiquidityRemoved struct { Provider common.Address ReserveToken common.Address Amount *big.Int NewBalance *big.Int NewSupply *big.Int Raw types.Log // Blockchain specific contextual infos }
ConverterTypeThreeLiquidityRemoved represents a LiquidityRemoved event raised by the ConverterTypeThree contract.
type ConverterTypeThreeLiquidityRemovedIterator ¶
type ConverterTypeThreeLiquidityRemovedIterator struct { Event *ConverterTypeThreeLiquidityRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeThreeLiquidityRemovedIterator is returned from FilterLiquidityRemoved and is used to iterate over the raw logs and unpacked data for LiquidityRemoved events raised by the ConverterTypeThree contract.
func (*ConverterTypeThreeLiquidityRemovedIterator) Close ¶
func (it *ConverterTypeThreeLiquidityRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeThreeLiquidityRemovedIterator) Error ¶
func (it *ConverterTypeThreeLiquidityRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeThreeLiquidityRemovedIterator) Next ¶
func (it *ConverterTypeThreeLiquidityRemovedIterator) 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 ConverterTypeThreeOwnerUpdate ¶
type ConverterTypeThreeOwnerUpdate struct { PrevOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ConverterTypeThreeOwnerUpdate represents a OwnerUpdate event raised by the ConverterTypeThree contract.
type ConverterTypeThreeOwnerUpdateIterator ¶
type ConverterTypeThreeOwnerUpdateIterator struct { Event *ConverterTypeThreeOwnerUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeThreeOwnerUpdateIterator is returned from FilterOwnerUpdate and is used to iterate over the raw logs and unpacked data for OwnerUpdate events raised by the ConverterTypeThree contract.
func (*ConverterTypeThreeOwnerUpdateIterator) Close ¶
func (it *ConverterTypeThreeOwnerUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeThreeOwnerUpdateIterator) Error ¶
func (it *ConverterTypeThreeOwnerUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeThreeOwnerUpdateIterator) Next ¶
func (it *ConverterTypeThreeOwnerUpdateIterator) 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 ConverterTypeThreeRaw ¶
type ConverterTypeThreeRaw struct {
Contract *ConverterTypeThree // Generic contract binding to access the raw methods on
}
ConverterTypeThreeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ConverterTypeThreeRaw) Call ¶
func (_ConverterTypeThree *ConverterTypeThreeRaw) 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 (*ConverterTypeThreeRaw) Transact ¶
func (_ConverterTypeThree *ConverterTypeThreeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConverterTypeThreeRaw) Transfer ¶
func (_ConverterTypeThree *ConverterTypeThreeRaw) 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 ConverterTypeThreeSession ¶
type ConverterTypeThreeSession struct { Contract *ConverterTypeThree // 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 }
ConverterTypeThreeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ConverterTypeThreeSession) AcceptAnchorOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AcceptAnchorOwnership() (*types.Transaction, error)
AcceptAnchorOwnership is a paid mutator transaction binding the contract method 0xcdc91c69.
Solidity: function acceptAnchorOwnership() returns()
func (*ConverterTypeThreeSession) AcceptOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ConverterTypeThreeSession) AcceptTokenOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AcceptTokenOwnership() (*types.Transaction, error)
AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.
Solidity: function acceptTokenOwnership() returns()
func (*ConverterTypeThreeSession) AddLiquidity ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidity(_reserve1Amount *big.Int, _reserve2Amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x422f1043.
Solidity: function addLiquidity(uint256 _reserve1Amount, uint256 _reserve2Amount, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeThreeSession) AddLiquidity0 ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidity0(_reserveTokens []common.Address, _reserveAmounts []*big.Int, _minReturn *big.Int) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0x7d8916bd.
Solidity: function addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeThreeSession) AddLiquidityCost ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidityCost(_reserveTokens []common.Address, _reserveTokenIndex *big.Int, _reserveAmount *big.Int) ([]*big.Int, error)
AddLiquidityCost is a free data retrieval call binding the contract method 0x80d9416d.
Solidity: function addLiquidityCost(address[] _reserveTokens, uint256 _reserveTokenIndex, uint256 _reserveAmount) view returns(uint256[])
func (*ConverterTypeThreeSession) AddLiquidityReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AddLiquidityReturn(_reserveToken common.Address, _reserveAmount *big.Int) (*big.Int, error)
AddLiquidityReturn is a free data retrieval call binding the contract method 0x4e40c260.
Solidity: function addLiquidityReturn(address _reserveToken, uint256 _reserveAmount) view returns(uint256)
func (*ConverterTypeThreeSession) AddReserve ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AddReserve(_token common.Address, _weight uint32) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.
Solidity: function addReserve(address _token, uint32 _weight) returns()
func (*ConverterTypeThreeSession) Anchor ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Anchor() (common.Address, error)
Anchor is a free data retrieval call binding the contract method 0xd3fb73b4.
Solidity: function anchor() view returns(address)
func (*ConverterTypeThreeSession) AverageRateInfo ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) AverageRateInfo() (*big.Int, error)
AverageRateInfo is a free data retrieval call binding the contract method 0xf0413a1f.
Solidity: function averageRateInfo() view returns(uint256)
func (*ConverterTypeThreeSession) ConnectorTokenCount ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ConnectorTokenCount() (uint16, error)
ConnectorTokenCount is a free data retrieval call binding the contract method 0x71f52bf3.
Solidity: function connectorTokenCount() view returns(uint16)
func (*ConverterTypeThreeSession) ConnectorTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ConnectorTokens(_index *big.Int) (common.Address, error)
ConnectorTokens is a free data retrieval call binding the contract method 0x19b64015.
Solidity: function connectorTokens(uint256 _index) view returns(address)
func (*ConverterTypeThreeSession) Connectors ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Connectors(_address common.Address) (*big.Int, uint32, bool, bool, bool, error)
Connectors is a free data retrieval call binding the contract method 0x0e53aae9.
Solidity: function connectors(address _address) view returns(uint256, uint32, bool, bool, bool)
func (*ConverterTypeThreeSession) ConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ConversionFee() (uint32, error)
ConversionFee is a free data retrieval call binding the contract method 0x579cd3ca.
Solidity: function conversionFee() view returns(uint32)
func (*ConverterTypeThreeSession) Convert ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Convert(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int, _trader common.Address, _beneficiary common.Address) (*types.Transaction, error)
Convert is a paid mutator transaction binding the contract method 0xe8dc12ff.
Solidity: function convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns(uint256)
func (*ConverterTypeThreeSession) ConverterType ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ConverterType() (uint16, error)
ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.
Solidity: function converterType() pure returns(uint16)
func (*ConverterTypeThreeSession) GetConnectorBalance ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) GetConnectorBalance(_connectorToken common.Address) (*big.Int, error)
GetConnectorBalance is a free data retrieval call binding the contract method 0xd8959512.
Solidity: function getConnectorBalance(address _connectorToken) view returns(uint256)
func (*ConverterTypeThreeSession) GetReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) GetReturn(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.
Solidity: function getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeThreeSession) IsActive ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) IsActive() (bool, error)
IsActive is a free data retrieval call binding the contract method 0x22f3e2d4.
Solidity: function isActive() view returns(bool)
func (*ConverterTypeThreeSession) IsV28OrHigher ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) IsV28OrHigher() (bool, error)
IsV28OrHigher is a free data retrieval call binding the contract method 0xd260529c.
Solidity: function isV28OrHigher() pure returns(bool)
func (*ConverterTypeThreeSession) MaxConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) MaxConversionFee() (uint32, error)
MaxConversionFee is a free data retrieval call binding the contract method 0x94c275ad.
Solidity: function maxConversionFee() view returns(uint32)
func (*ConverterTypeThreeSession) NewOwner ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) NewOwner() (common.Address, error)
NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.
Solidity: function newOwner() view returns(address)
func (*ConverterTypeThreeSession) OnlyOwnerCanUpdateRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) OnlyOwnerCanUpdateRegistry() (bool, error)
OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.
Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)
func (*ConverterTypeThreeSession) Owner ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ConverterTypeThreeSession) PrevRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) PrevRegistry() (common.Address, error)
PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.
Solidity: function prevRegistry() view returns(address)
func (*ConverterTypeThreeSession) Receive ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ConverterTypeThreeSession) RecentAverageRate ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) RecentAverageRate(_token common.Address) (*big.Int, *big.Int, error)
RecentAverageRate is a free data retrieval call binding the contract method 0x1f0181bc.
Solidity: function recentAverageRate(address _token) view returns(uint256, uint256)
func (*ConverterTypeThreeSession) Registry ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*ConverterTypeThreeSession) RemoveLiquidity ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) RemoveLiquidity(_amount *big.Int, _reserve1MinReturn *big.Int, _reserve2MinReturn *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x857620e1.
Solidity: function removeLiquidity(uint256 _amount, uint256 _reserve1MinReturn, uint256 _reserve2MinReturn) returns(uint256, uint256)
func (*ConverterTypeThreeSession) RemoveLiquidity0 ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) RemoveLiquidity0(_amount *big.Int, _reserveTokens []common.Address, _reserveMinReturnAmounts []*big.Int) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0xb127c0a5.
Solidity: function removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns(uint256[])
func (*ConverterTypeThreeSession) RemoveLiquidityReturn ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) RemoveLiquidityReturn(_amount *big.Int, _reserveTokens []common.Address) ([]*big.Int, error)
RemoveLiquidityReturn is a free data retrieval call binding the contract method 0x15458837.
Solidity: function removeLiquidityReturn(uint256 _amount, address[] _reserveTokens) view returns(uint256[])
func (*ConverterTypeThreeSession) ReserveBalance ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveBalance(_reserveToken common.Address) (*big.Int, error)
ReserveBalance is a free data retrieval call binding the contract method 0xdc8de379.
Solidity: function reserveBalance(address _reserveToken) view returns(uint256)
func (*ConverterTypeThreeSession) ReserveBalances ¶
ReserveBalances is a free data retrieval call binding the contract method 0x613e53a7.
Solidity: function reserveBalances() view returns(uint256, uint256)
func (*ConverterTypeThreeSession) ReserveTokenCount ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveTokenCount() (uint16, error)
ReserveTokenCount is a free data retrieval call binding the contract method 0x9b99a8e2.
Solidity: function reserveTokenCount() view returns(uint16)
func (*ConverterTypeThreeSession) ReserveTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveTokens() ([]common.Address, error)
ReserveTokens is a free data retrieval call binding the contract method 0x27ac36c4.
Solidity: function reserveTokens() view returns(address[])
func (*ConverterTypeThreeSession) ReserveWeight ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) ReserveWeight(_reserveToken common.Address) (uint32, error)
ReserveWeight is a free data retrieval call binding the contract method 0x1cfab290.
Solidity: function reserveWeight(address _reserveToken) view returns(uint32)
func (*ConverterTypeThreeSession) RestoreRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) RestoreRegistry() (*types.Transaction, error)
RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.
Solidity: function restoreRegistry() returns()
func (*ConverterTypeThreeSession) RestrictRegistryUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)
RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.
Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()
func (*ConverterTypeThreeSession) SetConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
SetConversionFee is a paid mutator transaction binding the contract method 0xecbca55d.
Solidity: function setConversionFee(uint32 _conversionFee) returns()
func (*ConverterTypeThreeSession) TargetAmountAndFee ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) TargetAmountAndFee(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
TargetAmountAndFee is a free data retrieval call binding the contract method 0xaf94b8d8.
Solidity: function targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeThreeSession) Token ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ConverterTypeThreeSession) TransferAnchorOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) TransferAnchorOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferAnchorOwnership is a paid mutator transaction binding the contract method 0x67b6d57c.
Solidity: function transferAnchorOwnership(address _newOwner) returns()
func (*ConverterTypeThreeSession) TransferOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns()
func (*ConverterTypeThreeSession) TransferTokenOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) TransferTokenOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferTokenOwnership is a paid mutator transaction binding the contract method 0x21e6b53d.
Solidity: function transferTokenOwnership(address _newOwner) returns()
func (*ConverterTypeThreeSession) UpdateRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) UpdateRegistry() (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.
Solidity: function updateRegistry() returns()
func (*ConverterTypeThreeSession) Upgrade ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Upgrade() (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.
Solidity: function upgrade() returns()
func (*ConverterTypeThreeSession) Version ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) Version() (uint16, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint16)
func (*ConverterTypeThreeSession) WithdrawETH ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) WithdrawETH(_to common.Address) (*types.Transaction, error)
WithdrawETH is a paid mutator transaction binding the contract method 0x690d8320.
Solidity: function withdrawETH(address _to) returns()
func (*ConverterTypeThreeSession) WithdrawTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.
Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()
type ConverterTypeThreeTokenRateUpdate ¶
type ConverterTypeThreeTokenRateUpdate struct { Token1 common.Address Token2 common.Address RateN *big.Int RateD *big.Int Raw types.Log // Blockchain specific contextual infos }
ConverterTypeThreeTokenRateUpdate represents a TokenRateUpdate event raised by the ConverterTypeThree contract.
type ConverterTypeThreeTokenRateUpdateIterator ¶
type ConverterTypeThreeTokenRateUpdateIterator struct { Event *ConverterTypeThreeTokenRateUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeThreeTokenRateUpdateIterator is returned from FilterTokenRateUpdate and is used to iterate over the raw logs and unpacked data for TokenRateUpdate events raised by the ConverterTypeThree contract.
func (*ConverterTypeThreeTokenRateUpdateIterator) Close ¶
func (it *ConverterTypeThreeTokenRateUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeThreeTokenRateUpdateIterator) Error ¶
func (it *ConverterTypeThreeTokenRateUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeThreeTokenRateUpdateIterator) Next ¶
func (it *ConverterTypeThreeTokenRateUpdateIterator) 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 ConverterTypeThreeTransactor ¶
type ConverterTypeThreeTransactor struct {
// contains filtered or unexported fields
}
ConverterTypeThreeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewConverterTypeThreeTransactor ¶
func NewConverterTypeThreeTransactor(address common.Address, transactor bind.ContractTransactor) (*ConverterTypeThreeTransactor, error)
NewConverterTypeThreeTransactor creates a new write-only instance of ConverterTypeThree, bound to a specific deployed contract.
func (*ConverterTypeThreeTransactor) AcceptAnchorOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) AcceptAnchorOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptAnchorOwnership is a paid mutator transaction binding the contract method 0xcdc91c69.
Solidity: function acceptAnchorOwnership() returns()
func (*ConverterTypeThreeTransactor) AcceptOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ConverterTypeThreeTransactor) AcceptTokenOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) AcceptTokenOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.
Solidity: function acceptTokenOwnership() returns()
func (*ConverterTypeThreeTransactor) AddLiquidity ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) AddLiquidity(opts *bind.TransactOpts, _reserve1Amount *big.Int, _reserve2Amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x422f1043.
Solidity: function addLiquidity(uint256 _reserve1Amount, uint256 _reserve2Amount, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeThreeTransactor) AddLiquidity0 ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) AddLiquidity0(opts *bind.TransactOpts, _reserveTokens []common.Address, _reserveAmounts []*big.Int, _minReturn *big.Int) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0x7d8916bd.
Solidity: function addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeThreeTransactor) AddReserve ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) AddReserve(opts *bind.TransactOpts, _token common.Address, _weight uint32) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.
Solidity: function addReserve(address _token, uint32 _weight) returns()
func (*ConverterTypeThreeTransactor) Convert ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) Convert(opts *bind.TransactOpts, _sourceToken common.Address, _targetToken common.Address, _amount *big.Int, _trader common.Address, _beneficiary common.Address) (*types.Transaction, error)
Convert is a paid mutator transaction binding the contract method 0xe8dc12ff.
Solidity: function convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns(uint256)
func (*ConverterTypeThreeTransactor) Receive ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ConverterTypeThreeTransactor) RemoveLiquidity ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _reserve1MinReturn *big.Int, _reserve2MinReturn *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x857620e1.
Solidity: function removeLiquidity(uint256 _amount, uint256 _reserve1MinReturn, uint256 _reserve2MinReturn) returns(uint256, uint256)
func (*ConverterTypeThreeTransactor) RemoveLiquidity0 ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _amount *big.Int, _reserveTokens []common.Address, _reserveMinReturnAmounts []*big.Int) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0xb127c0a5.
Solidity: function removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns(uint256[])
func (*ConverterTypeThreeTransactor) RestoreRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) RestoreRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.
Solidity: function restoreRegistry() returns()
func (*ConverterTypeThreeTransactor) RestrictRegistryUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) RestrictRegistryUpdate(opts *bind.TransactOpts, _onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)
RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.
Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()
func (*ConverterTypeThreeTransactor) SetConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) SetConversionFee(opts *bind.TransactOpts, _conversionFee uint32) (*types.Transaction, error)
SetConversionFee is a paid mutator transaction binding the contract method 0xecbca55d.
Solidity: function setConversionFee(uint32 _conversionFee) returns()
func (*ConverterTypeThreeTransactor) TransferAnchorOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) TransferAnchorOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
TransferAnchorOwnership is a paid mutator transaction binding the contract method 0x67b6d57c.
Solidity: function transferAnchorOwnership(address _newOwner) returns()
func (*ConverterTypeThreeTransactor) TransferOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns()
func (*ConverterTypeThreeTransactor) TransferTokenOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) TransferTokenOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
TransferTokenOwnership is a paid mutator transaction binding the contract method 0x21e6b53d.
Solidity: function transferTokenOwnership(address _newOwner) returns()
func (*ConverterTypeThreeTransactor) UpdateRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) UpdateRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.
Solidity: function updateRegistry() returns()
func (*ConverterTypeThreeTransactor) Upgrade ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) Upgrade(opts *bind.TransactOpts) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.
Solidity: function upgrade() returns()
func (*ConverterTypeThreeTransactor) WithdrawETH ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) WithdrawETH(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
WithdrawETH is a paid mutator transaction binding the contract method 0x690d8320.
Solidity: function withdrawETH(address _to) returns()
func (*ConverterTypeThreeTransactor) WithdrawTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactor) WithdrawTokens(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.
Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()
type ConverterTypeThreeTransactorRaw ¶
type ConverterTypeThreeTransactorRaw struct {
Contract *ConverterTypeThreeTransactor // Generic write-only contract binding to access the raw methods on
}
ConverterTypeThreeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ConverterTypeThreeTransactorRaw) Transact ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConverterTypeThreeTransactorRaw) Transfer ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorRaw) 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 ConverterTypeThreeTransactorSession ¶
type ConverterTypeThreeTransactorSession struct { Contract *ConverterTypeThreeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ConverterTypeThreeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ConverterTypeThreeTransactorSession) AcceptAnchorOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AcceptAnchorOwnership() (*types.Transaction, error)
AcceptAnchorOwnership is a paid mutator transaction binding the contract method 0xcdc91c69.
Solidity: function acceptAnchorOwnership() returns()
func (*ConverterTypeThreeTransactorSession) AcceptOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ConverterTypeThreeTransactorSession) AcceptTokenOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AcceptTokenOwnership() (*types.Transaction, error)
AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.
Solidity: function acceptTokenOwnership() returns()
func (*ConverterTypeThreeTransactorSession) AddLiquidity ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AddLiquidity(_reserve1Amount *big.Int, _reserve2Amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x422f1043.
Solidity: function addLiquidity(uint256 _reserve1Amount, uint256 _reserve2Amount, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeThreeTransactorSession) AddLiquidity0 ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AddLiquidity0(_reserveTokens []common.Address, _reserveAmounts []*big.Int, _minReturn *big.Int) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0x7d8916bd.
Solidity: function addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeThreeTransactorSession) AddReserve ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) AddReserve(_token common.Address, _weight uint32) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.
Solidity: function addReserve(address _token, uint32 _weight) returns()
func (*ConverterTypeThreeTransactorSession) Convert ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) Convert(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int, _trader common.Address, _beneficiary common.Address) (*types.Transaction, error)
Convert is a paid mutator transaction binding the contract method 0xe8dc12ff.
Solidity: function convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns(uint256)
func (*ConverterTypeThreeTransactorSession) Receive ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ConverterTypeThreeTransactorSession) RemoveLiquidity ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RemoveLiquidity(_amount *big.Int, _reserve1MinReturn *big.Int, _reserve2MinReturn *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x857620e1.
Solidity: function removeLiquidity(uint256 _amount, uint256 _reserve1MinReturn, uint256 _reserve2MinReturn) returns(uint256, uint256)
func (*ConverterTypeThreeTransactorSession) RemoveLiquidity0 ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RemoveLiquidity0(_amount *big.Int, _reserveTokens []common.Address, _reserveMinReturnAmounts []*big.Int) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0xb127c0a5.
Solidity: function removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns(uint256[])
func (*ConverterTypeThreeTransactorSession) RestoreRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RestoreRegistry() (*types.Transaction, error)
RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.
Solidity: function restoreRegistry() returns()
func (*ConverterTypeThreeTransactorSession) RestrictRegistryUpdate ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)
RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.
Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()
func (*ConverterTypeThreeTransactorSession) SetConversionFee ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
SetConversionFee is a paid mutator transaction binding the contract method 0xecbca55d.
Solidity: function setConversionFee(uint32 _conversionFee) returns()
func (*ConverterTypeThreeTransactorSession) TransferAnchorOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) TransferAnchorOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferAnchorOwnership is a paid mutator transaction binding the contract method 0x67b6d57c.
Solidity: function transferAnchorOwnership(address _newOwner) returns()
func (*ConverterTypeThreeTransactorSession) TransferOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns()
func (*ConverterTypeThreeTransactorSession) TransferTokenOwnership ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) TransferTokenOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferTokenOwnership is a paid mutator transaction binding the contract method 0x21e6b53d.
Solidity: function transferTokenOwnership(address _newOwner) returns()
func (*ConverterTypeThreeTransactorSession) UpdateRegistry ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) UpdateRegistry() (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.
Solidity: function updateRegistry() returns()
func (*ConverterTypeThreeTransactorSession) Upgrade ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) Upgrade() (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.
Solidity: function upgrade() returns()
func (*ConverterTypeThreeTransactorSession) WithdrawETH ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) WithdrawETH(_to common.Address) (*types.Transaction, error)
WithdrawETH is a paid mutator transaction binding the contract method 0x690d8320.
Solidity: function withdrawETH(address _to) returns()
func (*ConverterTypeThreeTransactorSession) WithdrawTokens ¶
func (_ConverterTypeThree *ConverterTypeThreeTransactorSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.
Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()