Documentation ¶
Index ¶
- Constants
- type ConverterTypeFour
- type ConverterTypeFourCaller
- func (_ConverterTypeFour *ConverterTypeFourCaller) AllowRegistryUpdate(opts *bind.CallOpts) (bool, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORCONVERTERFACTORY(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORCONVERTERUPGRADER(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORFORMULA(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORGASPRICELIMIT(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORNETWORK(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORX(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORXUPGRADER(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BNTTOKEN(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) BancorX(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) CONTRACTFEATURES(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) CONTRACTREGISTRY(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) CONVERTERCONVERSIONWHITELIST(opts *bind.CallOpts) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ConnectorTokenCount(opts *bind.CallOpts) (uint16, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ConnectorTokens(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) Connectors(opts *bind.CallOpts, _address common.Address) (*big.Int, uint32, bool, bool, bool, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ConversionFee(opts *bind.CallOpts) (uint32, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ConversionWhitelist(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ConversionsEnabled(opts *bind.CallOpts) (bool, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ConverterType(opts *bind.CallOpts) (string, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetConnectorBalance(opts *bind.CallOpts, _connectorToken common.Address) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetCrossConnectorReturn(opts *bind.CallOpts, _fromConnectorToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetCrossReserveReturn(opts *bind.CallOpts, _fromReserveToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetFinalAmount(opts *bind.CallOpts, _amount *big.Int, _magnitude uint8) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetPurchaseReturn(opts *bind.CallOpts, _reserveToken common.Address, _depositAmount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetReserveBalance(opts *bind.CallOpts, _reserveToken common.Address) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetReturn(opts *bind.CallOpts, _fromToken common.Address, _toToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) GetSaleReturn(opts *bind.CallOpts, _reserveToken common.Address, _sellAmount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) Manager(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) MaxConversionFee(opts *bind.CallOpts) (uint32, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) NONSTANDARDTOKENREGISTRY(opts *bind.CallOpts) ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) NewManager(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) PrevRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ReserveTokenCount(opts *bind.CallOpts) (uint16, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) ReserveTokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) Reserves(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCaller) Version(opts *bind.CallOpts) (uint16, error)
- type ConverterTypeFourCallerRaw
- type ConverterTypeFourCallerSession
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) AllowRegistryUpdate() (bool, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORCONVERTERFACTORY() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORCONVERTERUPGRADER() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORFORMULA() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORGASPRICELIMIT() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORNETWORK() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORX() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORXUPGRADER() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BNTTOKEN() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) BancorX() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) CONTRACTFEATURES() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) CONTRACTREGISTRY() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) CONVERTERCONVERSIONWHITELIST() (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConnectorTokenCount() (uint16, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConnectorTokens(_index *big.Int) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) Connectors(_address common.Address) (*big.Int, uint32, bool, bool, bool, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConversionFee() (uint32, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConversionWhitelist() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConversionsEnabled() (bool, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConverterType() (string, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetConnectorBalance(_connectorToken common.Address) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetCrossConnectorReturn(_fromConnectorToken common.Address, _toConnectorToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetCrossReserveReturn(_fromReserveToken common.Address, _toReserveToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetFinalAmount(_amount *big.Int, _magnitude uint8) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetPurchaseReturn(_reserveToken common.Address, _depositAmount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetReserveBalance(_reserveToken common.Address) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetReturn(_fromToken common.Address, _toToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetSaleReturn(_reserveToken common.Address, _sellAmount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) Manager() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) MaxConversionFee() (uint32, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) NONSTANDARDTOKENREGISTRY() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) NewManager() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) NewOwner() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) Owner() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) PrevRegistry() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) Registry() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ReserveTokenCount() (uint16, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) ReserveTokens(arg0 *big.Int) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) Reserves(arg0 common.Address) (struct{ ... }, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) Token() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourCallerSession) Version() (uint16, error)
- type ConverterTypeFourConversion
- type ConverterTypeFourConversionFeeUpdate
- type ConverterTypeFourConversionFeeUpdateIterator
- type ConverterTypeFourConversionIterator
- type ConverterTypeFourConversionsEnable
- type ConverterTypeFourConversionsEnableIterator
- type ConverterTypeFourFilterer
- func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterConversion(opts *bind.FilterOpts, _fromToken []common.Address, _toToken []common.Address, ...) (*ConverterTypeFourConversionIterator, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterConversionFeeUpdate(opts *bind.FilterOpts) (*ConverterTypeFourConversionFeeUpdateIterator, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterConversionsEnable(opts *bind.FilterOpts) (*ConverterTypeFourConversionsEnableIterator, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterManagerUpdate(opts *bind.FilterOpts, _prevManager []common.Address, ...) (*ConverterTypeFourManagerUpdateIterator, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, _prevOwner []common.Address, _newOwner []common.Address) (*ConverterTypeFourOwnerUpdateIterator, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterPriceDataUpdate(opts *bind.FilterOpts, _connectorToken []common.Address) (*ConverterTypeFourPriceDataUpdateIterator, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterVirtualBalancesEnable(opts *bind.FilterOpts) (*ConverterTypeFourVirtualBalancesEnableIterator, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseConversion(log types.Log) (*ConverterTypeFourConversion, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseConversionFeeUpdate(log types.Log) (*ConverterTypeFourConversionFeeUpdate, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseConversionsEnable(log types.Log) (*ConverterTypeFourConversionsEnable, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseManagerUpdate(log types.Log) (*ConverterTypeFourManagerUpdate, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseOwnerUpdate(log types.Log) (*ConverterTypeFourOwnerUpdate, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) ParsePriceDataUpdate(log types.Log) (*ConverterTypeFourPriceDataUpdate, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseVirtualBalancesEnable(log types.Log) (*ConverterTypeFourVirtualBalancesEnable, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchConversion(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourConversion, ...) (event.Subscription, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchConversionFeeUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourConversionFeeUpdate) (event.Subscription, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchConversionsEnable(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourConversionsEnable) (event.Subscription, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchManagerUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourManagerUpdate, ...) (event.Subscription, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourOwnerUpdate, ...) (event.Subscription, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchPriceDataUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourPriceDataUpdate, ...) (event.Subscription, error)
- func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchVirtualBalancesEnable(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourVirtualBalancesEnable) (event.Subscription, error)
- type ConverterTypeFourManagerUpdate
- type ConverterTypeFourManagerUpdateIterator
- type ConverterTypeFourOwnerUpdate
- type ConverterTypeFourOwnerUpdateIterator
- type ConverterTypeFourPriceDataUpdate
- type ConverterTypeFourPriceDataUpdateIterator
- type ConverterTypeFourRaw
- func (_ConverterTypeFour *ConverterTypeFourRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ConverterTypeFour *ConverterTypeFourRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ConverterTypeFourSession
- func (_ConverterTypeFour *ConverterTypeFourSession) AcceptManagement() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) AcceptOwnership() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) AcceptTokenOwnership() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) AddConnector(_token common.Address, _weight uint32, arg2 bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) AddReserve(_token common.Address, _ratio uint32) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) AllowRegistryUpdate() (bool, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BANCORCONVERTERFACTORY() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BANCORCONVERTERUPGRADER() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BANCORFORMULA() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BANCORGASPRICELIMIT() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BANCORNETWORK() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BANCORX() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BANCORXUPGRADER() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BNTTOKEN() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) BancorX() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) CONTRACTFEATURES() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) CONTRACTREGISTRY() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) CONVERTERCONVERSIONWHITELIST() (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Change(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ClaimTokens(_from common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) CompleteXConversion(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) CompleteXConversion2(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ConnectorTokenCount() (uint16, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ConnectorTokens(_index *big.Int) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Connectors(_address common.Address) (*big.Int, uint32, bool, bool, bool, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ConversionFee() (uint32, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ConversionWhitelist() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ConversionsEnabled() (bool, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Convert(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Convert2(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ConvertInternal(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ConverterType() (string, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) DisableConnectorSale(_connectorToken common.Address, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) DisableConversions(_disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) DisableRegistryUpdate(_disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) DisableReserveSale(_reserveToken common.Address, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) EnableVirtualBalances(_scaleFactor uint16) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Fund(_amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetConnectorBalance(_connectorToken common.Address) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetCrossConnectorReturn(_fromConnectorToken common.Address, _toConnectorToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetCrossReserveReturn(_fromReserveToken common.Address, _toReserveToken common.Address, ...) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetFinalAmount(_amount *big.Int, _magnitude uint8) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetPurchaseReturn(_reserveToken common.Address, _depositAmount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetReserveBalance(_reserveToken common.Address) (*big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetReturn(_fromToken common.Address, _toToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) GetSaleReturn(_reserveToken common.Address, _sellAmount *big.Int) (*big.Int, *big.Int, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Liquidate(_amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Manager() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) MaxConversionFee() (uint32, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) NONSTANDARDTOKENREGISTRY() ([32]byte, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) NewManager() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) NewOwner() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Owner() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) PrevRegistry() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvertPrioritized(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _block *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvertPrioritized2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Registry() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ReserveTokenCount() (uint16, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) ReserveTokens(arg0 *big.Int) (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Reserves(arg0 common.Address) (struct{ ... }, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) RestoreRegistry() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) SetBancorX(_bancorX common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) SetConversionWhitelist(_whitelist common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Token() (common.Address, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) TransferManagement(_newManager common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) TransferTokenOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) UpdateConnector(_connectorToken common.Address, arg1 uint32, arg2 bool, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) UpdateRegistry() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) UpdateReserveVirtualBalance(_reserveToken common.Address, _virtualBalance *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Upgrade() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) Version() (uint16, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) WithdrawFromToken(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- type ConverterTypeFourTransactor
- func (_ConverterTypeFour *ConverterTypeFourTransactor) AcceptManagement(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) AcceptTokenOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) AddConnector(opts *bind.TransactOpts, _token common.Address, _weight uint32, arg2 bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) AddReserve(opts *bind.TransactOpts, _token common.Address, _ratio uint32) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) Change(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) ClaimTokens(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) CompleteXConversion(opts *bind.TransactOpts, _path []common.Address, _minReturn *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) CompleteXConversion2(opts *bind.TransactOpts, _path []common.Address, _minReturn *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) Convert(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) Convert2(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) ConvertInternal(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableConnectorSale(opts *bind.TransactOpts, _connectorToken common.Address, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableConversions(opts *bind.TransactOpts, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableRegistryUpdate(opts *bind.TransactOpts, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableReserveSale(opts *bind.TransactOpts, _reserveToken common.Address, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) EnableVirtualBalances(opts *bind.TransactOpts, _scaleFactor uint16) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) Fund(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) Liquidate(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvert(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvert2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvertPrioritized(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvertPrioritized2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) RestoreRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) SetBancorX(opts *bind.TransactOpts, _bancorX common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) SetConversionFee(opts *bind.TransactOpts, _conversionFee uint32) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) SetConversionWhitelist(opts *bind.TransactOpts, _whitelist common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) TransferManagement(opts *bind.TransactOpts, _newManager common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) TransferTokenOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) UpdateConnector(opts *bind.TransactOpts, _connectorToken common.Address, arg1 uint32, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) UpdateRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) UpdateReserveVirtualBalance(opts *bind.TransactOpts, _reserveToken common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) Upgrade(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) WithdrawFromToken(opts *bind.TransactOpts, _token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactor) WithdrawTokens(opts *bind.TransactOpts, _token common.Address, _to common.Address, ...) (*types.Transaction, error)
- type ConverterTypeFourTransactorRaw
- type ConverterTypeFourTransactorSession
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AcceptManagement() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AcceptTokenOwnership() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AddConnector(_token common.Address, _weight uint32, arg2 bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AddReserve(_token common.Address, _ratio uint32) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Change(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) ClaimTokens(_from common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) CompleteXConversion(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) CompleteXConversion2(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Convert(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Convert2(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) ConvertInternal(_fromToken common.Address, _toToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableConnectorSale(_connectorToken common.Address, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableConversions(_disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableRegistryUpdate(_disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableReserveSale(_reserveToken common.Address, _disable bool) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) EnableVirtualBalances(_scaleFactor uint16) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Fund(_amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Liquidate(_amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvertPrioritized(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _block *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvertPrioritized2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) RestoreRegistry() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) SetBancorX(_bancorX common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) SetConversionWhitelist(_whitelist common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) TransferManagement(_newManager common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) TransferTokenOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) UpdateConnector(_connectorToken common.Address, arg1 uint32, arg2 bool, ...) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) UpdateRegistry() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) UpdateReserveVirtualBalance(_reserveToken common.Address, _virtualBalance *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Upgrade() (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) WithdrawFromToken(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_ConverterTypeFour *ConverterTypeFourTransactorSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- type ConverterTypeFourVirtualBalancesEnable
- type ConverterTypeFourVirtualBalancesEnableIterator
Constants ¶
const ConverterTypeFourABI = "" /* 20732-byte string literal not displayed */
ConverterTypeFourABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConverterTypeFour ¶
type ConverterTypeFour struct { ConverterTypeFourCaller // Read-only binding to the contract ConverterTypeFourTransactor // Write-only binding to the contract ConverterTypeFourFilterer // Log filterer for contract events }
ConverterTypeFour is an auto generated Go binding around an Ethereum contract.
func NewConverterTypeFour ¶
func NewConverterTypeFour(address common.Address, backend bind.ContractBackend) (*ConverterTypeFour, error)
NewConverterTypeFour creates a new instance of ConverterTypeFour, bound to a specific deployed contract.
type ConverterTypeFourCaller ¶
type ConverterTypeFourCaller struct {
// contains filtered or unexported fields
}
ConverterTypeFourCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewConverterTypeFourCaller ¶
func NewConverterTypeFourCaller(address common.Address, caller bind.ContractCaller) (*ConverterTypeFourCaller, error)
NewConverterTypeFourCaller creates a new read-only instance of ConverterTypeFour, bound to a specific deployed contract.
func (*ConverterTypeFourCaller) AllowRegistryUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) AllowRegistryUpdate(opts *bind.CallOpts) (bool, error)
AllowRegistryUpdate is a free data retrieval call binding the contract method 0x20d7d367.
Solidity: function allowRegistryUpdate() view returns(bool)
func (*ConverterTypeFourCaller) BANCORCONVERTERFACTORY ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORCONVERTERFACTORY(opts *bind.CallOpts) ([32]byte, error)
BANCORCONVERTERFACTORY is a free data retrieval call binding the contract method 0x5a46f06c.
Solidity: function BANCOR_CONVERTER_FACTORY() view returns(bytes32)
func (*ConverterTypeFourCaller) BANCORCONVERTERUPGRADER ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORCONVERTERUPGRADER(opts *bind.CallOpts) ([32]byte, error)
BANCORCONVERTERUPGRADER is a free data retrieval call binding the contract method 0x0c87355e.
Solidity: function BANCOR_CONVERTER_UPGRADER() view returns(bytes32)
func (*ConverterTypeFourCaller) BANCORFORMULA ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORFORMULA(opts *bind.CallOpts) ([32]byte, error)
BANCORFORMULA is a free data retrieval call binding the contract method 0x6d7bd3fc.
Solidity: function BANCOR_FORMULA() view returns(bytes32)
func (*ConverterTypeFourCaller) BANCORGASPRICELIMIT ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORGASPRICELIMIT(opts *bind.CallOpts) ([32]byte, error)
BANCORGASPRICELIMIT is a free data retrieval call binding the contract method 0x9249993a.
Solidity: function BANCOR_GAS_PRICE_LIMIT() view returns(bytes32)
func (*ConverterTypeFourCaller) BANCORNETWORK ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORNETWORK(opts *bind.CallOpts) ([32]byte, error)
BANCORNETWORK is a free data retrieval call binding the contract method 0x9232494e.
Solidity: function BANCOR_NETWORK() view returns(bytes32)
func (*ConverterTypeFourCaller) BANCORX ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORX(opts *bind.CallOpts) ([32]byte, error)
BANCORX is a free data retrieval call binding the contract method 0xc4a8598e.
Solidity: function BANCOR_X() view returns(bytes32)
func (*ConverterTypeFourCaller) BANCORXUPGRADER ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BANCORXUPGRADER(opts *bind.CallOpts) ([32]byte, error)
BANCORXUPGRADER is a free data retrieval call binding the contract method 0xcc97b38f.
Solidity: function BANCOR_X_UPGRADER() view returns(bytes32)
func (*ConverterTypeFourCaller) BNTTOKEN ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BNTTOKEN(opts *bind.CallOpts) ([32]byte, error)
BNTTOKEN is a free data retrieval call binding the contract method 0x1d000b61.
Solidity: function BNT_TOKEN() view returns(bytes32)
func (*ConverterTypeFourCaller) BancorX ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) BancorX(opts *bind.CallOpts) (common.Address, error)
BancorX is a free data retrieval call binding the contract method 0x1120a776.
Solidity: function bancorX() view returns(address)
func (*ConverterTypeFourCaller) CONTRACTFEATURES ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) CONTRACTFEATURES(opts *bind.CallOpts) ([32]byte, error)
CONTRACTFEATURES is a free data retrieval call binding the contract method 0x83315b6e.
Solidity: function CONTRACT_FEATURES() view returns(bytes32)
func (*ConverterTypeFourCaller) CONTRACTREGISTRY ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) CONTRACTREGISTRY(opts *bind.CallOpts) ([32]byte, error)
CONTRACTREGISTRY is a free data retrieval call binding the contract method 0x25f9bfef.
Solidity: function CONTRACT_REGISTRY() view returns(bytes32)
func (*ConverterTypeFourCaller) CONVERTERCONVERSIONWHITELIST ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) CONVERTERCONVERSIONWHITELIST(opts *bind.CallOpts) (*big.Int, error)
CONVERTERCONVERSIONWHITELIST is a free data retrieval call binding the contract method 0x92d1abb7.
Solidity: function CONVERTER_CONVERSION_WHITELIST() view returns(uint256)
func (*ConverterTypeFourCaller) ConnectorTokenCount ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) ConnectorTokens ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) Connectors ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) ConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) ConversionWhitelist ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) ConversionWhitelist(opts *bind.CallOpts) (common.Address, error)
ConversionWhitelist is a free data retrieval call binding the contract method 0xc45d3d92.
Solidity: function conversionWhitelist() view returns(address)
func (*ConverterTypeFourCaller) ConversionsEnabled ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) ConversionsEnabled(opts *bind.CallOpts) (bool, error)
ConversionsEnabled is a free data retrieval call binding the contract method 0xbf754558.
Solidity: function conversionsEnabled() view returns(bool)
func (*ConverterTypeFourCaller) ConverterType ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) ConverterType(opts *bind.CallOpts) (string, error)
ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.
Solidity: function converterType() view returns(string)
func (*ConverterTypeFourCaller) GetConnectorBalance ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) GetCrossConnectorReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) GetCrossConnectorReturn(opts *bind.CallOpts, _fromConnectorToken common.Address, _toConnectorToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetCrossConnectorReturn is a free data retrieval call binding the contract method 0x8e3047e0.
Solidity: function getCrossConnectorReturn(address _fromConnectorToken, address _toConnectorToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourCaller) GetCrossReserveReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) GetCrossReserveReturn(opts *bind.CallOpts, _fromReserveToken common.Address, _toReserveToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetCrossReserveReturn is a free data retrieval call binding the contract method 0xcf73266a.
Solidity: function getCrossReserveReturn(address _fromReserveToken, address _toReserveToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourCaller) GetFinalAmount ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) GetFinalAmount(opts *bind.CallOpts, _amount *big.Int, _magnitude uint8) (*big.Int, error)
GetFinalAmount is a free data retrieval call binding the contract method 0x3aa0145a.
Solidity: function getFinalAmount(uint256 _amount, uint8 _magnitude) view returns(uint256)
func (*ConverterTypeFourCaller) GetPurchaseReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) GetPurchaseReturn(opts *bind.CallOpts, _reserveToken common.Address, _depositAmount *big.Int) (*big.Int, *big.Int, error)
GetPurchaseReturn is a free data retrieval call binding the contract method 0xa2c4c336.
Solidity: function getPurchaseReturn(address _reserveToken, uint256 _depositAmount) view returns(uint256, uint256)
func (*ConverterTypeFourCaller) GetReserveBalance ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) GetReserveBalance(opts *bind.CallOpts, _reserveToken common.Address) (*big.Int, error)
GetReserveBalance is a free data retrieval call binding the contract method 0x15226b54.
Solidity: function getReserveBalance(address _reserveToken) view returns(uint256)
func (*ConverterTypeFourCaller) GetReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) GetReturn(opts *bind.CallOpts, _fromToken common.Address, _toToken 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 _fromToken, address _toToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourCaller) GetSaleReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) GetSaleReturn(opts *bind.CallOpts, _reserveToken common.Address, _sellAmount *big.Int) (*big.Int, *big.Int, error)
GetSaleReturn is a free data retrieval call binding the contract method 0x72b44b2c.
Solidity: function getSaleReturn(address _reserveToken, uint256 _sellAmount) view returns(uint256, uint256)
func (*ConverterTypeFourCaller) Manager ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) Manager(opts *bind.CallOpts) (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*ConverterTypeFourCaller) MaxConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) NONSTANDARDTOKENREGISTRY ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) NONSTANDARDTOKENREGISTRY(opts *bind.CallOpts) ([32]byte, error)
NONSTANDARDTOKENREGISTRY is a free data retrieval call binding the contract method 0xf5286b9c.
Solidity: function NON_STANDARD_TOKEN_REGISTRY() view returns(bytes32)
func (*ConverterTypeFourCaller) NewManager ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) NewManager(opts *bind.CallOpts) (common.Address, error)
NewManager is a free data retrieval call binding the contract method 0x42906029.
Solidity: function newManager() view returns(address)
func (*ConverterTypeFourCaller) NewOwner ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) Owner ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) PrevRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) Registry ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) ReserveTokenCount ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) 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 (*ConverterTypeFourCaller) ReserveTokens ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) ReserveTokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
ReserveTokens is a free data retrieval call binding the contract method 0xd031370b.
Solidity: function reserveTokens(uint256 ) view returns(address)
func (*ConverterTypeFourCaller) Reserves ¶
func (_ConverterTypeFour *ConverterTypeFourCaller) Reserves(opts *bind.CallOpts, arg0 common.Address) (struct { VirtualBalance *big.Int Ratio uint32 IsVirtualBalanceEnabled bool IsSaleEnabled bool IsSet bool }, error)
Reserves is a free data retrieval call binding the contract method 0xd66bd524.
Solidity: function reserves(address ) view returns(uint256 virtualBalance, uint32 ratio, bool isVirtualBalanceEnabled, bool isSaleEnabled, bool isSet)
type ConverterTypeFourCallerRaw ¶
type ConverterTypeFourCallerRaw struct {
Contract *ConverterTypeFourCaller // Generic read-only contract binding to access the raw methods on
}
ConverterTypeFourCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ConverterTypeFourCallerRaw) Call ¶
func (_ConverterTypeFour *ConverterTypeFourCallerRaw) 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 ConverterTypeFourCallerSession ¶
type ConverterTypeFourCallerSession struct { Contract *ConverterTypeFourCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ConverterTypeFourCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ConverterTypeFourCallerSession) AllowRegistryUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) AllowRegistryUpdate() (bool, error)
AllowRegistryUpdate is a free data retrieval call binding the contract method 0x20d7d367.
Solidity: function allowRegistryUpdate() view returns(bool)
func (*ConverterTypeFourCallerSession) BANCORCONVERTERFACTORY ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORCONVERTERFACTORY() ([32]byte, error)
BANCORCONVERTERFACTORY is a free data retrieval call binding the contract method 0x5a46f06c.
Solidity: function BANCOR_CONVERTER_FACTORY() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BANCORCONVERTERUPGRADER ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORCONVERTERUPGRADER() ([32]byte, error)
BANCORCONVERTERUPGRADER is a free data retrieval call binding the contract method 0x0c87355e.
Solidity: function BANCOR_CONVERTER_UPGRADER() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BANCORFORMULA ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORFORMULA() ([32]byte, error)
BANCORFORMULA is a free data retrieval call binding the contract method 0x6d7bd3fc.
Solidity: function BANCOR_FORMULA() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BANCORGASPRICELIMIT ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORGASPRICELIMIT() ([32]byte, error)
BANCORGASPRICELIMIT is a free data retrieval call binding the contract method 0x9249993a.
Solidity: function BANCOR_GAS_PRICE_LIMIT() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BANCORNETWORK ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORNETWORK() ([32]byte, error)
BANCORNETWORK is a free data retrieval call binding the contract method 0x9232494e.
Solidity: function BANCOR_NETWORK() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BANCORX ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORX() ([32]byte, error)
BANCORX is a free data retrieval call binding the contract method 0xc4a8598e.
Solidity: function BANCOR_X() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BANCORXUPGRADER ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BANCORXUPGRADER() ([32]byte, error)
BANCORXUPGRADER is a free data retrieval call binding the contract method 0xcc97b38f.
Solidity: function BANCOR_X_UPGRADER() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BNTTOKEN ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BNTTOKEN() ([32]byte, error)
BNTTOKEN is a free data retrieval call binding the contract method 0x1d000b61.
Solidity: function BNT_TOKEN() view returns(bytes32)
func (*ConverterTypeFourCallerSession) BancorX ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) BancorX() (common.Address, error)
BancorX is a free data retrieval call binding the contract method 0x1120a776.
Solidity: function bancorX() view returns(address)
func (*ConverterTypeFourCallerSession) CONTRACTFEATURES ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) CONTRACTFEATURES() ([32]byte, error)
CONTRACTFEATURES is a free data retrieval call binding the contract method 0x83315b6e.
Solidity: function CONTRACT_FEATURES() view returns(bytes32)
func (*ConverterTypeFourCallerSession) CONTRACTREGISTRY ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) CONTRACTREGISTRY() ([32]byte, error)
CONTRACTREGISTRY is a free data retrieval call binding the contract method 0x25f9bfef.
Solidity: function CONTRACT_REGISTRY() view returns(bytes32)
func (*ConverterTypeFourCallerSession) CONVERTERCONVERSIONWHITELIST ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) CONVERTERCONVERSIONWHITELIST() (*big.Int, error)
CONVERTERCONVERSIONWHITELIST is a free data retrieval call binding the contract method 0x92d1abb7.
Solidity: function CONVERTER_CONVERSION_WHITELIST() view returns(uint256)
func (*ConverterTypeFourCallerSession) ConnectorTokenCount ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConnectorTokenCount() (uint16, error)
ConnectorTokenCount is a free data retrieval call binding the contract method 0x71f52bf3.
Solidity: function connectorTokenCount() view returns(uint16)
func (*ConverterTypeFourCallerSession) ConnectorTokens ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) 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 (*ConverterTypeFourCallerSession) Connectors ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) 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 (*ConverterTypeFourCallerSession) ConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConversionFee() (uint32, error)
ConversionFee is a free data retrieval call binding the contract method 0x579cd3ca.
Solidity: function conversionFee() view returns(uint32)
func (*ConverterTypeFourCallerSession) ConversionWhitelist ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConversionWhitelist() (common.Address, error)
ConversionWhitelist is a free data retrieval call binding the contract method 0xc45d3d92.
Solidity: function conversionWhitelist() view returns(address)
func (*ConverterTypeFourCallerSession) ConversionsEnabled ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConversionsEnabled() (bool, error)
ConversionsEnabled is a free data retrieval call binding the contract method 0xbf754558.
Solidity: function conversionsEnabled() view returns(bool)
func (*ConverterTypeFourCallerSession) ConverterType ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) ConverterType() (string, error)
ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.
Solidity: function converterType() view returns(string)
func (*ConverterTypeFourCallerSession) GetConnectorBalance ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) 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 (*ConverterTypeFourCallerSession) GetCrossConnectorReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetCrossConnectorReturn(_fromConnectorToken common.Address, _toConnectorToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetCrossConnectorReturn is a free data retrieval call binding the contract method 0x8e3047e0.
Solidity: function getCrossConnectorReturn(address _fromConnectorToken, address _toConnectorToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourCallerSession) GetCrossReserveReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetCrossReserveReturn(_fromReserveToken common.Address, _toReserveToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetCrossReserveReturn is a free data retrieval call binding the contract method 0xcf73266a.
Solidity: function getCrossReserveReturn(address _fromReserveToken, address _toReserveToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourCallerSession) GetFinalAmount ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetFinalAmount(_amount *big.Int, _magnitude uint8) (*big.Int, error)
GetFinalAmount is a free data retrieval call binding the contract method 0x3aa0145a.
Solidity: function getFinalAmount(uint256 _amount, uint8 _magnitude) view returns(uint256)
func (*ConverterTypeFourCallerSession) GetPurchaseReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetPurchaseReturn(_reserveToken common.Address, _depositAmount *big.Int) (*big.Int, *big.Int, error)
GetPurchaseReturn is a free data retrieval call binding the contract method 0xa2c4c336.
Solidity: function getPurchaseReturn(address _reserveToken, uint256 _depositAmount) view returns(uint256, uint256)
func (*ConverterTypeFourCallerSession) GetReserveBalance ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetReserveBalance(_reserveToken common.Address) (*big.Int, error)
GetReserveBalance is a free data retrieval call binding the contract method 0x15226b54.
Solidity: function getReserveBalance(address _reserveToken) view returns(uint256)
func (*ConverterTypeFourCallerSession) GetReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetReturn(_fromToken common.Address, _toToken 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 _fromToken, address _toToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourCallerSession) GetSaleReturn ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) GetSaleReturn(_reserveToken common.Address, _sellAmount *big.Int) (*big.Int, *big.Int, error)
GetSaleReturn is a free data retrieval call binding the contract method 0x72b44b2c.
Solidity: function getSaleReturn(address _reserveToken, uint256 _sellAmount) view returns(uint256, uint256)
func (*ConverterTypeFourCallerSession) Manager ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*ConverterTypeFourCallerSession) MaxConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) MaxConversionFee() (uint32, error)
MaxConversionFee is a free data retrieval call binding the contract method 0x94c275ad.
Solidity: function maxConversionFee() view returns(uint32)
func (*ConverterTypeFourCallerSession) NONSTANDARDTOKENREGISTRY ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) NONSTANDARDTOKENREGISTRY() ([32]byte, error)
NONSTANDARDTOKENREGISTRY is a free data retrieval call binding the contract method 0xf5286b9c.
Solidity: function NON_STANDARD_TOKEN_REGISTRY() view returns(bytes32)
func (*ConverterTypeFourCallerSession) NewManager ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) NewManager() (common.Address, error)
NewManager is a free data retrieval call binding the contract method 0x42906029.
Solidity: function newManager() view returns(address)
func (*ConverterTypeFourCallerSession) NewOwner ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) NewOwner() (common.Address, error)
NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.
Solidity: function newOwner() view returns(address)
func (*ConverterTypeFourCallerSession) Owner ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ConverterTypeFourCallerSession) PrevRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) PrevRegistry() (common.Address, error)
PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.
Solidity: function prevRegistry() view returns(address)
func (*ConverterTypeFourCallerSession) Registry ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*ConverterTypeFourCallerSession) ReserveTokenCount ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) ReserveTokenCount() (uint16, error)
ReserveTokenCount is a free data retrieval call binding the contract method 0x9b99a8e2.
Solidity: function reserveTokenCount() view returns(uint16)
func (*ConverterTypeFourCallerSession) ReserveTokens ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) ReserveTokens(arg0 *big.Int) (common.Address, error)
ReserveTokens is a free data retrieval call binding the contract method 0xd031370b.
Solidity: function reserveTokens(uint256 ) view returns(address)
func (*ConverterTypeFourCallerSession) Reserves ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) Reserves(arg0 common.Address) (struct { VirtualBalance *big.Int Ratio uint32 IsVirtualBalanceEnabled bool IsSaleEnabled bool IsSet bool }, error)
Reserves is a free data retrieval call binding the contract method 0xd66bd524.
Solidity: function reserves(address ) view returns(uint256 virtualBalance, uint32 ratio, bool isVirtualBalanceEnabled, bool isSaleEnabled, bool isSet)
func (*ConverterTypeFourCallerSession) Token ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ConverterTypeFourCallerSession) Version ¶
func (_ConverterTypeFour *ConverterTypeFourCallerSession) Version() (uint16, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint16)
type ConverterTypeFourConversion ¶
type ConverterTypeFourConversion 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 }
ConverterTypeFourConversion represents a Conversion event raised by the ConverterTypeFour contract.
type ConverterTypeFourConversionFeeUpdate ¶
type ConverterTypeFourConversionFeeUpdate struct { PrevFee uint32 NewFee uint32 Raw types.Log // Blockchain specific contextual infos }
ConverterTypeFourConversionFeeUpdate represents a ConversionFeeUpdate event raised by the ConverterTypeFour contract.
type ConverterTypeFourConversionFeeUpdateIterator ¶
type ConverterTypeFourConversionFeeUpdateIterator struct { Event *ConverterTypeFourConversionFeeUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeFourConversionFeeUpdateIterator is returned from FilterConversionFeeUpdate and is used to iterate over the raw logs and unpacked data for ConversionFeeUpdate events raised by the ConverterTypeFour contract.
func (*ConverterTypeFourConversionFeeUpdateIterator) Close ¶
func (it *ConverterTypeFourConversionFeeUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeFourConversionFeeUpdateIterator) Error ¶
func (it *ConverterTypeFourConversionFeeUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeFourConversionFeeUpdateIterator) Next ¶
func (it *ConverterTypeFourConversionFeeUpdateIterator) 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 ConverterTypeFourConversionIterator ¶
type ConverterTypeFourConversionIterator struct { Event *ConverterTypeFourConversion // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeFourConversionIterator is returned from FilterConversion and is used to iterate over the raw logs and unpacked data for Conversion events raised by the ConverterTypeFour contract.
func (*ConverterTypeFourConversionIterator) Close ¶
func (it *ConverterTypeFourConversionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeFourConversionIterator) Error ¶
func (it *ConverterTypeFourConversionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeFourConversionIterator) Next ¶
func (it *ConverterTypeFourConversionIterator) 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 ConverterTypeFourConversionsEnable ¶
type ConverterTypeFourConversionsEnable struct { ConversionsEnabled bool Raw types.Log // Blockchain specific contextual infos }
ConverterTypeFourConversionsEnable represents a ConversionsEnable event raised by the ConverterTypeFour contract.
type ConverterTypeFourConversionsEnableIterator ¶
type ConverterTypeFourConversionsEnableIterator struct { Event *ConverterTypeFourConversionsEnable // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeFourConversionsEnableIterator is returned from FilterConversionsEnable and is used to iterate over the raw logs and unpacked data for ConversionsEnable events raised by the ConverterTypeFour contract.
func (*ConverterTypeFourConversionsEnableIterator) Close ¶
func (it *ConverterTypeFourConversionsEnableIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeFourConversionsEnableIterator) Error ¶
func (it *ConverterTypeFourConversionsEnableIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeFourConversionsEnableIterator) Next ¶
func (it *ConverterTypeFourConversionsEnableIterator) 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 ConverterTypeFourFilterer ¶
type ConverterTypeFourFilterer struct {
// contains filtered or unexported fields
}
ConverterTypeFourFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewConverterTypeFourFilterer ¶
func NewConverterTypeFourFilterer(address common.Address, filterer bind.ContractFilterer) (*ConverterTypeFourFilterer, error)
NewConverterTypeFourFilterer creates a new log filterer instance of ConverterTypeFour, bound to a specific deployed contract.
func (*ConverterTypeFourFilterer) FilterConversion ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterConversion(opts *bind.FilterOpts, _fromToken []common.Address, _toToken []common.Address, _trader []common.Address) (*ConverterTypeFourConversionIterator, 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 (*ConverterTypeFourFilterer) FilterConversionFeeUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterConversionFeeUpdate(opts *bind.FilterOpts) (*ConverterTypeFourConversionFeeUpdateIterator, error)
FilterConversionFeeUpdate is a free log retrieval operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.
Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)
func (*ConverterTypeFourFilterer) FilterConversionsEnable ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterConversionsEnable(opts *bind.FilterOpts) (*ConverterTypeFourConversionsEnableIterator, error)
FilterConversionsEnable is a free log retrieval operation binding the contract event 0xb8e670608a57255ce4f35952b324cba70211a4200a91ce81d26e06d488c1f66b.
Solidity: event ConversionsEnable(bool _conversionsEnabled)
func (*ConverterTypeFourFilterer) FilterManagerUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterManagerUpdate(opts *bind.FilterOpts, _prevManager []common.Address, _newManager []common.Address) (*ConverterTypeFourManagerUpdateIterator, error)
FilterManagerUpdate is a free log retrieval operation binding the contract event 0xbe4cc281795971a471c980e842627a7f1ea3892ddfce8c5b6357cd2611c19732.
Solidity: event ManagerUpdate(address indexed _prevManager, address indexed _newManager)
func (*ConverterTypeFourFilterer) FilterOwnerUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, _prevOwner []common.Address, _newOwner []common.Address) (*ConverterTypeFourOwnerUpdateIterator, error)
FilterOwnerUpdate is a free log retrieval operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.
Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)
func (*ConverterTypeFourFilterer) FilterPriceDataUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterPriceDataUpdate(opts *bind.FilterOpts, _connectorToken []common.Address) (*ConverterTypeFourPriceDataUpdateIterator, error)
FilterPriceDataUpdate is a free log retrieval operation binding the contract event 0x8a6a7f53b3c8fa1dc4b83e3f1be668c1b251ff8d44cdcb83eb3acec3fec6a788.
Solidity: event PriceDataUpdate(address indexed _connectorToken, uint256 _tokenSupply, uint256 _connectorBalance, uint32 _connectorWeight)
func (*ConverterTypeFourFilterer) FilterVirtualBalancesEnable ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) FilterVirtualBalancesEnable(opts *bind.FilterOpts) (*ConverterTypeFourVirtualBalancesEnableIterator, error)
FilterVirtualBalancesEnable is a free log retrieval operation binding the contract event 0x64622fbd54039f76d87a876ecaea9bdb6b9b493d7a35ca38ae82b53dcddbe2e4.
Solidity: event VirtualBalancesEnable(bool _enabled)
func (*ConverterTypeFourFilterer) ParseConversion ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseConversion(log types.Log) (*ConverterTypeFourConversion, 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 (*ConverterTypeFourFilterer) ParseConversionFeeUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseConversionFeeUpdate(log types.Log) (*ConverterTypeFourConversionFeeUpdate, error)
ParseConversionFeeUpdate is a log parse operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.
Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)
func (*ConverterTypeFourFilterer) ParseConversionsEnable ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseConversionsEnable(log types.Log) (*ConverterTypeFourConversionsEnable, error)
ParseConversionsEnable is a log parse operation binding the contract event 0xb8e670608a57255ce4f35952b324cba70211a4200a91ce81d26e06d488c1f66b.
Solidity: event ConversionsEnable(bool _conversionsEnabled)
func (*ConverterTypeFourFilterer) ParseManagerUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseManagerUpdate(log types.Log) (*ConverterTypeFourManagerUpdate, error)
ParseManagerUpdate is a log parse operation binding the contract event 0xbe4cc281795971a471c980e842627a7f1ea3892ddfce8c5b6357cd2611c19732.
Solidity: event ManagerUpdate(address indexed _prevManager, address indexed _newManager)
func (*ConverterTypeFourFilterer) ParseOwnerUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseOwnerUpdate(log types.Log) (*ConverterTypeFourOwnerUpdate, error)
ParseOwnerUpdate is a log parse operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.
Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)
func (*ConverterTypeFourFilterer) ParsePriceDataUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) ParsePriceDataUpdate(log types.Log) (*ConverterTypeFourPriceDataUpdate, error)
ParsePriceDataUpdate is a log parse operation binding the contract event 0x8a6a7f53b3c8fa1dc4b83e3f1be668c1b251ff8d44cdcb83eb3acec3fec6a788.
Solidity: event PriceDataUpdate(address indexed _connectorToken, uint256 _tokenSupply, uint256 _connectorBalance, uint32 _connectorWeight)
func (*ConverterTypeFourFilterer) ParseVirtualBalancesEnable ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) ParseVirtualBalancesEnable(log types.Log) (*ConverterTypeFourVirtualBalancesEnable, error)
ParseVirtualBalancesEnable is a log parse operation binding the contract event 0x64622fbd54039f76d87a876ecaea9bdb6b9b493d7a35ca38ae82b53dcddbe2e4.
Solidity: event VirtualBalancesEnable(bool _enabled)
func (*ConverterTypeFourFilterer) WatchConversion ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchConversion(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourConversion, _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 (*ConverterTypeFourFilterer) WatchConversionFeeUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchConversionFeeUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourConversionFeeUpdate) (event.Subscription, error)
WatchConversionFeeUpdate is a free log subscription operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.
Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)
func (*ConverterTypeFourFilterer) WatchConversionsEnable ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchConversionsEnable(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourConversionsEnable) (event.Subscription, error)
WatchConversionsEnable is a free log subscription operation binding the contract event 0xb8e670608a57255ce4f35952b324cba70211a4200a91ce81d26e06d488c1f66b.
Solidity: event ConversionsEnable(bool _conversionsEnabled)
func (*ConverterTypeFourFilterer) WatchManagerUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchManagerUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourManagerUpdate, _prevManager []common.Address, _newManager []common.Address) (event.Subscription, error)
WatchManagerUpdate is a free log subscription operation binding the contract event 0xbe4cc281795971a471c980e842627a7f1ea3892ddfce8c5b6357cd2611c19732.
Solidity: event ManagerUpdate(address indexed _prevManager, address indexed _newManager)
func (*ConverterTypeFourFilterer) WatchOwnerUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourOwnerUpdate, _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 (*ConverterTypeFourFilterer) WatchPriceDataUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchPriceDataUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourPriceDataUpdate, _connectorToken []common.Address) (event.Subscription, error)
WatchPriceDataUpdate is a free log subscription operation binding the contract event 0x8a6a7f53b3c8fa1dc4b83e3f1be668c1b251ff8d44cdcb83eb3acec3fec6a788.
Solidity: event PriceDataUpdate(address indexed _connectorToken, uint256 _tokenSupply, uint256 _connectorBalance, uint32 _connectorWeight)
func (*ConverterTypeFourFilterer) WatchVirtualBalancesEnable ¶
func (_ConverterTypeFour *ConverterTypeFourFilterer) WatchVirtualBalancesEnable(opts *bind.WatchOpts, sink chan<- *ConverterTypeFourVirtualBalancesEnable) (event.Subscription, error)
WatchVirtualBalancesEnable is a free log subscription operation binding the contract event 0x64622fbd54039f76d87a876ecaea9bdb6b9b493d7a35ca38ae82b53dcddbe2e4.
Solidity: event VirtualBalancesEnable(bool _enabled)
type ConverterTypeFourManagerUpdate ¶
type ConverterTypeFourManagerUpdate struct { PrevManager common.Address NewManager common.Address Raw types.Log // Blockchain specific contextual infos }
ConverterTypeFourManagerUpdate represents a ManagerUpdate event raised by the ConverterTypeFour contract.
type ConverterTypeFourManagerUpdateIterator ¶
type ConverterTypeFourManagerUpdateIterator struct { Event *ConverterTypeFourManagerUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeFourManagerUpdateIterator is returned from FilterManagerUpdate and is used to iterate over the raw logs and unpacked data for ManagerUpdate events raised by the ConverterTypeFour contract.
func (*ConverterTypeFourManagerUpdateIterator) Close ¶
func (it *ConverterTypeFourManagerUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeFourManagerUpdateIterator) Error ¶
func (it *ConverterTypeFourManagerUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeFourManagerUpdateIterator) Next ¶
func (it *ConverterTypeFourManagerUpdateIterator) 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 ConverterTypeFourOwnerUpdate ¶
type ConverterTypeFourOwnerUpdate struct { PrevOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ConverterTypeFourOwnerUpdate represents a OwnerUpdate event raised by the ConverterTypeFour contract.
type ConverterTypeFourOwnerUpdateIterator ¶
type ConverterTypeFourOwnerUpdateIterator struct { Event *ConverterTypeFourOwnerUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeFourOwnerUpdateIterator is returned from FilterOwnerUpdate and is used to iterate over the raw logs and unpacked data for OwnerUpdate events raised by the ConverterTypeFour contract.
func (*ConverterTypeFourOwnerUpdateIterator) Close ¶
func (it *ConverterTypeFourOwnerUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeFourOwnerUpdateIterator) Error ¶
func (it *ConverterTypeFourOwnerUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeFourOwnerUpdateIterator) Next ¶
func (it *ConverterTypeFourOwnerUpdateIterator) 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 ConverterTypeFourPriceDataUpdate ¶
type ConverterTypeFourPriceDataUpdate struct { ConnectorToken common.Address TokenSupply *big.Int ConnectorBalance *big.Int ConnectorWeight uint32 Raw types.Log // Blockchain specific contextual infos }
ConverterTypeFourPriceDataUpdate represents a PriceDataUpdate event raised by the ConverterTypeFour contract.
type ConverterTypeFourPriceDataUpdateIterator ¶
type ConverterTypeFourPriceDataUpdateIterator struct { Event *ConverterTypeFourPriceDataUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeFourPriceDataUpdateIterator is returned from FilterPriceDataUpdate and is used to iterate over the raw logs and unpacked data for PriceDataUpdate events raised by the ConverterTypeFour contract.
func (*ConverterTypeFourPriceDataUpdateIterator) Close ¶
func (it *ConverterTypeFourPriceDataUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeFourPriceDataUpdateIterator) Error ¶
func (it *ConverterTypeFourPriceDataUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeFourPriceDataUpdateIterator) Next ¶
func (it *ConverterTypeFourPriceDataUpdateIterator) 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 ConverterTypeFourRaw ¶
type ConverterTypeFourRaw struct {
Contract *ConverterTypeFour // Generic contract binding to access the raw methods on
}
ConverterTypeFourRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ConverterTypeFourRaw) Call ¶
func (_ConverterTypeFour *ConverterTypeFourRaw) 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 (*ConverterTypeFourRaw) Transact ¶
func (_ConverterTypeFour *ConverterTypeFourRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConverterTypeFourRaw) Transfer ¶
func (_ConverterTypeFour *ConverterTypeFourRaw) 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 ConverterTypeFourSession ¶
type ConverterTypeFourSession struct { Contract *ConverterTypeFour // 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 }
ConverterTypeFourSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ConverterTypeFourSession) AcceptManagement ¶
func (_ConverterTypeFour *ConverterTypeFourSession) AcceptManagement() (*types.Transaction, error)
AcceptManagement is a paid mutator transaction binding the contract method 0xc8c2fe6c.
Solidity: function acceptManagement() returns()
func (*ConverterTypeFourSession) AcceptOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ConverterTypeFourSession) AcceptTokenOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourSession) AcceptTokenOwnership() (*types.Transaction, error)
AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.
Solidity: function acceptTokenOwnership() returns()
func (*ConverterTypeFourSession) AddConnector ¶
func (_ConverterTypeFour *ConverterTypeFourSession) AddConnector(_token common.Address, _weight uint32, arg2 bool) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0x3f4d2fc2.
Solidity: function addConnector(address _token, uint32 _weight, bool ) returns()
func (*ConverterTypeFourSession) AddReserve ¶
func (_ConverterTypeFour *ConverterTypeFourSession) AddReserve(_token common.Address, _ratio uint32) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.
Solidity: function addReserve(address _token, uint32 _ratio) returns()
func (*ConverterTypeFourSession) AllowRegistryUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourSession) AllowRegistryUpdate() (bool, error)
AllowRegistryUpdate is a free data retrieval call binding the contract method 0x20d7d367.
Solidity: function allowRegistryUpdate() view returns(bool)
func (*ConverterTypeFourSession) BANCORCONVERTERFACTORY ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BANCORCONVERTERFACTORY() ([32]byte, error)
BANCORCONVERTERFACTORY is a free data retrieval call binding the contract method 0x5a46f06c.
Solidity: function BANCOR_CONVERTER_FACTORY() view returns(bytes32)
func (*ConverterTypeFourSession) BANCORCONVERTERUPGRADER ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BANCORCONVERTERUPGRADER() ([32]byte, error)
BANCORCONVERTERUPGRADER is a free data retrieval call binding the contract method 0x0c87355e.
Solidity: function BANCOR_CONVERTER_UPGRADER() view returns(bytes32)
func (*ConverterTypeFourSession) BANCORFORMULA ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BANCORFORMULA() ([32]byte, error)
BANCORFORMULA is a free data retrieval call binding the contract method 0x6d7bd3fc.
Solidity: function BANCOR_FORMULA() view returns(bytes32)
func (*ConverterTypeFourSession) BANCORGASPRICELIMIT ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BANCORGASPRICELIMIT() ([32]byte, error)
BANCORGASPRICELIMIT is a free data retrieval call binding the contract method 0x9249993a.
Solidity: function BANCOR_GAS_PRICE_LIMIT() view returns(bytes32)
func (*ConverterTypeFourSession) BANCORNETWORK ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BANCORNETWORK() ([32]byte, error)
BANCORNETWORK is a free data retrieval call binding the contract method 0x9232494e.
Solidity: function BANCOR_NETWORK() view returns(bytes32)
func (*ConverterTypeFourSession) BANCORX ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BANCORX() ([32]byte, error)
BANCORX is a free data retrieval call binding the contract method 0xc4a8598e.
Solidity: function BANCOR_X() view returns(bytes32)
func (*ConverterTypeFourSession) BANCORXUPGRADER ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BANCORXUPGRADER() ([32]byte, error)
BANCORXUPGRADER is a free data retrieval call binding the contract method 0xcc97b38f.
Solidity: function BANCOR_X_UPGRADER() view returns(bytes32)
func (*ConverterTypeFourSession) BNTTOKEN ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BNTTOKEN() ([32]byte, error)
BNTTOKEN is a free data retrieval call binding the contract method 0x1d000b61.
Solidity: function BNT_TOKEN() view returns(bytes32)
func (*ConverterTypeFourSession) BancorX ¶
func (_ConverterTypeFour *ConverterTypeFourSession) BancorX() (common.Address, error)
BancorX is a free data retrieval call binding the contract method 0x1120a776.
Solidity: function bancorX() view returns(address)
func (*ConverterTypeFourSession) CONTRACTFEATURES ¶
func (_ConverterTypeFour *ConverterTypeFourSession) CONTRACTFEATURES() ([32]byte, error)
CONTRACTFEATURES is a free data retrieval call binding the contract method 0x83315b6e.
Solidity: function CONTRACT_FEATURES() view returns(bytes32)
func (*ConverterTypeFourSession) CONTRACTREGISTRY ¶
func (_ConverterTypeFour *ConverterTypeFourSession) CONTRACTREGISTRY() ([32]byte, error)
CONTRACTREGISTRY is a free data retrieval call binding the contract method 0x25f9bfef.
Solidity: function CONTRACT_REGISTRY() view returns(bytes32)
func (*ConverterTypeFourSession) CONVERTERCONVERSIONWHITELIST ¶
func (_ConverterTypeFour *ConverterTypeFourSession) CONVERTERCONVERSIONWHITELIST() (*big.Int, error)
CONVERTERCONVERSIONWHITELIST is a free data retrieval call binding the contract method 0x92d1abb7.
Solidity: function CONVERTER_CONVERSION_WHITELIST() view returns(uint256)
func (*ConverterTypeFourSession) Change ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Change(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
Change is a paid mutator transaction binding the contract method 0x5e5144eb.
Solidity: function change(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourSession) ClaimTokens ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ClaimTokens(_from common.Address, _amount *big.Int) (*types.Transaction, error)
ClaimTokens is a paid mutator transaction binding the contract method 0xfe417fa5.
Solidity: function claimTokens(address _from, uint256 _amount) returns()
func (*ConverterTypeFourSession) CompleteXConversion ¶
func (_ConverterTypeFour *ConverterTypeFourSession) CompleteXConversion(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, _block *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)
CompleteXConversion is a paid mutator transaction binding the contract method 0x50057351.
Solidity: function completeXConversion(address[] _path, uint256 _minReturn, uint256 _conversionId, uint256 _block, uint8 _v, bytes32 _r, bytes32 _s) returns(uint256)
func (*ConverterTypeFourSession) CompleteXConversion2 ¶
func (_ConverterTypeFour *ConverterTypeFourSession) CompleteXConversion2(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, _signature []*big.Int) (*types.Transaction, error)
CompleteXConversion2 is a paid mutator transaction binding the contract method 0x2cc1cd65.
Solidity: function completeXConversion2(address[] _path, uint256 _minReturn, uint256 _conversionId, uint256[] _signature) returns(uint256)
func (*ConverterTypeFourSession) ConnectorTokenCount ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ConnectorTokenCount() (uint16, error)
ConnectorTokenCount is a free data retrieval call binding the contract method 0x71f52bf3.
Solidity: function connectorTokenCount() view returns(uint16)
func (*ConverterTypeFourSession) ConnectorTokens ¶
func (_ConverterTypeFour *ConverterTypeFourSession) 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 (*ConverterTypeFourSession) Connectors ¶
func (_ConverterTypeFour *ConverterTypeFourSession) 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 (*ConverterTypeFourSession) ConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ConversionFee() (uint32, error)
ConversionFee is a free data retrieval call binding the contract method 0x579cd3ca.
Solidity: function conversionFee() view returns(uint32)
func (*ConverterTypeFourSession) ConversionWhitelist ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ConversionWhitelist() (common.Address, error)
ConversionWhitelist is a free data retrieval call binding the contract method 0xc45d3d92.
Solidity: function conversionWhitelist() view returns(address)
func (*ConverterTypeFourSession) ConversionsEnabled ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ConversionsEnabled() (bool, error)
ConversionsEnabled is a free data retrieval call binding the contract method 0xbf754558.
Solidity: function conversionsEnabled() view returns(bool)
func (*ConverterTypeFourSession) Convert ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Convert(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
Convert is a paid mutator transaction binding the contract method 0x75892cf1.
Solidity: function convert(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourSession) Convert2 ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Convert2(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
Convert2 is a paid mutator transaction binding the contract method 0x6ebf36c0.
Solidity: function convert2(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)
func (*ConverterTypeFourSession) ConvertInternal ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ConvertInternal(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
ConvertInternal is a paid mutator transaction binding the contract method 0x2a2e2f0c.
Solidity: function convertInternal(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourSession) ConverterType ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ConverterType() (string, error)
ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.
Solidity: function converterType() view returns(string)
func (*ConverterTypeFourSession) DisableConnectorSale ¶
func (_ConverterTypeFour *ConverterTypeFourSession) DisableConnectorSale(_connectorToken common.Address, _disable bool) (*types.Transaction, error)
DisableConnectorSale is a paid mutator transaction binding the contract method 0x9e568553.
Solidity: function disableConnectorSale(address _connectorToken, bool _disable) returns()
func (*ConverterTypeFourSession) DisableConversions ¶
func (_ConverterTypeFour *ConverterTypeFourSession) DisableConversions(_disable bool) (*types.Transaction, error)
DisableConversions is a paid mutator transaction binding the contract method 0x228d2820.
Solidity: function disableConversions(bool _disable) returns()
func (*ConverterTypeFourSession) DisableRegistryUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourSession) DisableRegistryUpdate(_disable bool) (*types.Transaction, error)
DisableRegistryUpdate is a paid mutator transaction binding the contract method 0xfa1c594e.
Solidity: function disableRegistryUpdate(bool _disable) returns()
func (*ConverterTypeFourSession) DisableReserveSale ¶
func (_ConverterTypeFour *ConverterTypeFourSession) DisableReserveSale(_reserveToken common.Address, _disable bool) (*types.Transaction, error)
DisableReserveSale is a paid mutator transaction binding the contract method 0xa6a11c71.
Solidity: function disableReserveSale(address _reserveToken, bool _disable) returns()
func (*ConverterTypeFourSession) EnableVirtualBalances ¶
func (_ConverterTypeFour *ConverterTypeFourSession) EnableVirtualBalances(_scaleFactor uint16) (*types.Transaction, error)
EnableVirtualBalances is a paid mutator transaction binding the contract method 0x677c0812.
Solidity: function enableVirtualBalances(uint16 _scaleFactor) returns()
func (*ConverterTypeFourSession) Fund ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Fund(_amount *big.Int) (*types.Transaction, error)
Fund is a paid mutator transaction binding the contract method 0xca1d209d.
Solidity: function fund(uint256 _amount) returns()
func (*ConverterTypeFourSession) GetConnectorBalance ¶
func (_ConverterTypeFour *ConverterTypeFourSession) 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 (*ConverterTypeFourSession) GetCrossConnectorReturn ¶
func (_ConverterTypeFour *ConverterTypeFourSession) GetCrossConnectorReturn(_fromConnectorToken common.Address, _toConnectorToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetCrossConnectorReturn is a free data retrieval call binding the contract method 0x8e3047e0.
Solidity: function getCrossConnectorReturn(address _fromConnectorToken, address _toConnectorToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourSession) GetCrossReserveReturn ¶
func (_ConverterTypeFour *ConverterTypeFourSession) GetCrossReserveReturn(_fromReserveToken common.Address, _toReserveToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)
GetCrossReserveReturn is a free data retrieval call binding the contract method 0xcf73266a.
Solidity: function getCrossReserveReturn(address _fromReserveToken, address _toReserveToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourSession) GetFinalAmount ¶
func (_ConverterTypeFour *ConverterTypeFourSession) GetFinalAmount(_amount *big.Int, _magnitude uint8) (*big.Int, error)
GetFinalAmount is a free data retrieval call binding the contract method 0x3aa0145a.
Solidity: function getFinalAmount(uint256 _amount, uint8 _magnitude) view returns(uint256)
func (*ConverterTypeFourSession) GetPurchaseReturn ¶
func (_ConverterTypeFour *ConverterTypeFourSession) GetPurchaseReturn(_reserveToken common.Address, _depositAmount *big.Int) (*big.Int, *big.Int, error)
GetPurchaseReturn is a free data retrieval call binding the contract method 0xa2c4c336.
Solidity: function getPurchaseReturn(address _reserveToken, uint256 _depositAmount) view returns(uint256, uint256)
func (*ConverterTypeFourSession) GetReserveBalance ¶
func (_ConverterTypeFour *ConverterTypeFourSession) GetReserveBalance(_reserveToken common.Address) (*big.Int, error)
GetReserveBalance is a free data retrieval call binding the contract method 0x15226b54.
Solidity: function getReserveBalance(address _reserveToken) view returns(uint256)
func (*ConverterTypeFourSession) GetReturn ¶
func (_ConverterTypeFour *ConverterTypeFourSession) GetReturn(_fromToken common.Address, _toToken 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 _fromToken, address _toToken, uint256 _amount) view returns(uint256, uint256)
func (*ConverterTypeFourSession) GetSaleReturn ¶
func (_ConverterTypeFour *ConverterTypeFourSession) GetSaleReturn(_reserveToken common.Address, _sellAmount *big.Int) (*big.Int, *big.Int, error)
GetSaleReturn is a free data retrieval call binding the contract method 0x72b44b2c.
Solidity: function getSaleReturn(address _reserveToken, uint256 _sellAmount) view returns(uint256, uint256)
func (*ConverterTypeFourSession) Liquidate ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Liquidate(_amount *big.Int) (*types.Transaction, error)
Liquidate is a paid mutator transaction binding the contract method 0x415f1240.
Solidity: function liquidate(uint256 _amount) returns()
func (*ConverterTypeFourSession) Manager ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*ConverterTypeFourSession) MaxConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourSession) MaxConversionFee() (uint32, error)
MaxConversionFee is a free data retrieval call binding the contract method 0x94c275ad.
Solidity: function maxConversionFee() view returns(uint32)
func (*ConverterTypeFourSession) NONSTANDARDTOKENREGISTRY ¶
func (_ConverterTypeFour *ConverterTypeFourSession) NONSTANDARDTOKENREGISTRY() ([32]byte, error)
NONSTANDARDTOKENREGISTRY is a free data retrieval call binding the contract method 0xf5286b9c.
Solidity: function NON_STANDARD_TOKEN_REGISTRY() view returns(bytes32)
func (*ConverterTypeFourSession) NewManager ¶
func (_ConverterTypeFour *ConverterTypeFourSession) NewManager() (common.Address, error)
NewManager is a free data retrieval call binding the contract method 0x42906029.
Solidity: function newManager() view returns(address)
func (*ConverterTypeFourSession) NewOwner ¶
func (_ConverterTypeFour *ConverterTypeFourSession) NewOwner() (common.Address, error)
NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.
Solidity: function newOwner() view returns(address)
func (*ConverterTypeFourSession) Owner ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ConverterTypeFourSession) PrevRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourSession) PrevRegistry() (common.Address, error)
PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.
Solidity: function prevRegistry() view returns(address)
func (*ConverterTypeFourSession) QuickConvert ¶
func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
QuickConvert is a paid mutator transaction binding the contract method 0xf0843ba9.
Solidity: function quickConvert(address[] _path, uint256 _amount, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeFourSession) QuickConvert2 ¶
func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
QuickConvert2 is a paid mutator transaction binding the contract method 0xe4dd22f6.
Solidity: function quickConvert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)
func (*ConverterTypeFourSession) QuickConvertPrioritized ¶
func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvertPrioritized(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _block *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)
QuickConvertPrioritized is a paid mutator transaction binding the contract method 0x22742564.
Solidity: function quickConvertPrioritized(address[] _path, uint256 _amount, uint256 _minReturn, uint256 _block, uint8 _v, bytes32 _r, bytes32 _s) payable returns(uint256)
func (*ConverterTypeFourSession) QuickConvertPrioritized2 ¶
func (_ConverterTypeFour *ConverterTypeFourSession) QuickConvertPrioritized2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _signature []*big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
QuickConvertPrioritized2 is a paid mutator transaction binding the contract method 0xb3a426d5.
Solidity: function quickConvertPrioritized2(address[] _path, uint256 _amount, uint256 _minReturn, uint256[] _signature, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)
func (*ConverterTypeFourSession) Registry ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*ConverterTypeFourSession) ReserveTokenCount ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ReserveTokenCount() (uint16, error)
ReserveTokenCount is a free data retrieval call binding the contract method 0x9b99a8e2.
Solidity: function reserveTokenCount() view returns(uint16)
func (*ConverterTypeFourSession) ReserveTokens ¶
func (_ConverterTypeFour *ConverterTypeFourSession) ReserveTokens(arg0 *big.Int) (common.Address, error)
ReserveTokens is a free data retrieval call binding the contract method 0xd031370b.
Solidity: function reserveTokens(uint256 ) view returns(address)
func (*ConverterTypeFourSession) Reserves ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Reserves(arg0 common.Address) (struct { VirtualBalance *big.Int Ratio uint32 IsVirtualBalanceEnabled bool IsSaleEnabled bool IsSet bool }, error)
Reserves is a free data retrieval call binding the contract method 0xd66bd524.
Solidity: function reserves(address ) view returns(uint256 virtualBalance, uint32 ratio, bool isVirtualBalanceEnabled, bool isSaleEnabled, bool isSet)
func (*ConverterTypeFourSession) RestoreRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourSession) RestoreRegistry() (*types.Transaction, error)
RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.
Solidity: function restoreRegistry() returns()
func (*ConverterTypeFourSession) SetBancorX ¶
func (_ConverterTypeFour *ConverterTypeFourSession) SetBancorX(_bancorX common.Address) (*types.Transaction, error)
SetBancorX is a paid mutator transaction binding the contract method 0xd924f0c3.
Solidity: function setBancorX(address _bancorX) returns()
func (*ConverterTypeFourSession) SetConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
SetConversionFee is a paid mutator transaction binding the contract method 0xecbca55d.
Solidity: function setConversionFee(uint32 _conversionFee) returns()
func (*ConverterTypeFourSession) SetConversionWhitelist ¶
func (_ConverterTypeFour *ConverterTypeFourSession) SetConversionWhitelist(_whitelist common.Address) (*types.Transaction, error)
SetConversionWhitelist is a paid mutator transaction binding the contract method 0x4af80f0e.
Solidity: function setConversionWhitelist(address _whitelist) returns()
func (*ConverterTypeFourSession) Token ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*ConverterTypeFourSession) TransferManagement ¶
func (_ConverterTypeFour *ConverterTypeFourSession) TransferManagement(_newManager common.Address) (*types.Transaction, error)
TransferManagement is a paid mutator transaction binding the contract method 0xe4edf852.
Solidity: function transferManagement(address _newManager) returns()
func (*ConverterTypeFourSession) TransferOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourSession) 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 (*ConverterTypeFourSession) TransferTokenOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourSession) 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 (*ConverterTypeFourSession) UpdateConnector ¶
func (_ConverterTypeFour *ConverterTypeFourSession) UpdateConnector(_connectorToken common.Address, arg1 uint32, arg2 bool, _virtualBalance *big.Int) (*types.Transaction, error)
UpdateConnector is a paid mutator transaction binding the contract method 0x0ca78923.
Solidity: function updateConnector(address _connectorToken, uint32 , bool , uint256 _virtualBalance) returns()
func (*ConverterTypeFourSession) UpdateRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourSession) UpdateRegistry() (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.
Solidity: function updateRegistry() returns()
func (*ConverterTypeFourSession) UpdateReserveVirtualBalance ¶
func (_ConverterTypeFour *ConverterTypeFourSession) UpdateReserveVirtualBalance(_reserveToken common.Address, _virtualBalance *big.Int) (*types.Transaction, error)
UpdateReserveVirtualBalance is a paid mutator transaction binding the contract method 0x935e2ae1.
Solidity: function updateReserveVirtualBalance(address _reserveToken, uint256 _virtualBalance) returns()
func (*ConverterTypeFourSession) Upgrade ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Upgrade() (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.
Solidity: function upgrade() returns()
func (*ConverterTypeFourSession) Version ¶
func (_ConverterTypeFour *ConverterTypeFourSession) Version() (uint16, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint16)
func (*ConverterTypeFourSession) WithdrawFromToken ¶
func (_ConverterTypeFour *ConverterTypeFourSession) WithdrawFromToken(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawFromToken is a paid mutator transaction binding the contract method 0x41a5b33d.
Solidity: function withdrawFromToken(address _token, address _to, uint256 _amount) returns()
func (*ConverterTypeFourSession) WithdrawTokens ¶
func (_ConverterTypeFour *ConverterTypeFourSession) 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 ConverterTypeFourTransactor ¶
type ConverterTypeFourTransactor struct {
// contains filtered or unexported fields
}
ConverterTypeFourTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewConverterTypeFourTransactor ¶
func NewConverterTypeFourTransactor(address common.Address, transactor bind.ContractTransactor) (*ConverterTypeFourTransactor, error)
NewConverterTypeFourTransactor creates a new write-only instance of ConverterTypeFour, bound to a specific deployed contract.
func (*ConverterTypeFourTransactor) AcceptManagement ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) AcceptManagement(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptManagement is a paid mutator transaction binding the contract method 0xc8c2fe6c.
Solidity: function acceptManagement() returns()
func (*ConverterTypeFourTransactor) AcceptOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ConverterTypeFourTransactor) AcceptTokenOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) AcceptTokenOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.
Solidity: function acceptTokenOwnership() returns()
func (*ConverterTypeFourTransactor) AddConnector ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) AddConnector(opts *bind.TransactOpts, _token common.Address, _weight uint32, arg2 bool) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0x3f4d2fc2.
Solidity: function addConnector(address _token, uint32 _weight, bool ) returns()
func (*ConverterTypeFourTransactor) AddReserve ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) AddReserve(opts *bind.TransactOpts, _token common.Address, _ratio uint32) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.
Solidity: function addReserve(address _token, uint32 _ratio) returns()
func (*ConverterTypeFourTransactor) Change ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) Change(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
Change is a paid mutator transaction binding the contract method 0x5e5144eb.
Solidity: function change(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourTransactor) ClaimTokens ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) ClaimTokens(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)
ClaimTokens is a paid mutator transaction binding the contract method 0xfe417fa5.
Solidity: function claimTokens(address _from, uint256 _amount) returns()
func (*ConverterTypeFourTransactor) CompleteXConversion ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) CompleteXConversion(opts *bind.TransactOpts, _path []common.Address, _minReturn *big.Int, _conversionId *big.Int, _block *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)
CompleteXConversion is a paid mutator transaction binding the contract method 0x50057351.
Solidity: function completeXConversion(address[] _path, uint256 _minReturn, uint256 _conversionId, uint256 _block, uint8 _v, bytes32 _r, bytes32 _s) returns(uint256)
func (*ConverterTypeFourTransactor) CompleteXConversion2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) CompleteXConversion2(opts *bind.TransactOpts, _path []common.Address, _minReturn *big.Int, _conversionId *big.Int, _signature []*big.Int) (*types.Transaction, error)
CompleteXConversion2 is a paid mutator transaction binding the contract method 0x2cc1cd65.
Solidity: function completeXConversion2(address[] _path, uint256 _minReturn, uint256 _conversionId, uint256[] _signature) returns(uint256)
func (*ConverterTypeFourTransactor) Convert ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) Convert(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
Convert is a paid mutator transaction binding the contract method 0x75892cf1.
Solidity: function convert(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourTransactor) Convert2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) Convert2(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
Convert2 is a paid mutator transaction binding the contract method 0x6ebf36c0.
Solidity: function convert2(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)
func (*ConverterTypeFourTransactor) ConvertInternal ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) ConvertInternal(opts *bind.TransactOpts, _fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
ConvertInternal is a paid mutator transaction binding the contract method 0x2a2e2f0c.
Solidity: function convertInternal(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourTransactor) DisableConnectorSale ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableConnectorSale(opts *bind.TransactOpts, _connectorToken common.Address, _disable bool) (*types.Transaction, error)
DisableConnectorSale is a paid mutator transaction binding the contract method 0x9e568553.
Solidity: function disableConnectorSale(address _connectorToken, bool _disable) returns()
func (*ConverterTypeFourTransactor) DisableConversions ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableConversions(opts *bind.TransactOpts, _disable bool) (*types.Transaction, error)
DisableConversions is a paid mutator transaction binding the contract method 0x228d2820.
Solidity: function disableConversions(bool _disable) returns()
func (*ConverterTypeFourTransactor) DisableRegistryUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableRegistryUpdate(opts *bind.TransactOpts, _disable bool) (*types.Transaction, error)
DisableRegistryUpdate is a paid mutator transaction binding the contract method 0xfa1c594e.
Solidity: function disableRegistryUpdate(bool _disable) returns()
func (*ConverterTypeFourTransactor) DisableReserveSale ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) DisableReserveSale(opts *bind.TransactOpts, _reserveToken common.Address, _disable bool) (*types.Transaction, error)
DisableReserveSale is a paid mutator transaction binding the contract method 0xa6a11c71.
Solidity: function disableReserveSale(address _reserveToken, bool _disable) returns()
func (*ConverterTypeFourTransactor) EnableVirtualBalances ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) EnableVirtualBalances(opts *bind.TransactOpts, _scaleFactor uint16) (*types.Transaction, error)
EnableVirtualBalances is a paid mutator transaction binding the contract method 0x677c0812.
Solidity: function enableVirtualBalances(uint16 _scaleFactor) returns()
func (*ConverterTypeFourTransactor) Fund ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) Fund(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Fund is a paid mutator transaction binding the contract method 0xca1d209d.
Solidity: function fund(uint256 _amount) returns()
func (*ConverterTypeFourTransactor) Liquidate ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) Liquidate(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Liquidate is a paid mutator transaction binding the contract method 0x415f1240.
Solidity: function liquidate(uint256 _amount) returns()
func (*ConverterTypeFourTransactor) QuickConvert ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvert(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
QuickConvert is a paid mutator transaction binding the contract method 0xf0843ba9.
Solidity: function quickConvert(address[] _path, uint256 _amount, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeFourTransactor) QuickConvert2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvert2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
QuickConvert2 is a paid mutator transaction binding the contract method 0xe4dd22f6.
Solidity: function quickConvert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)
func (*ConverterTypeFourTransactor) QuickConvertPrioritized ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvertPrioritized(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _block *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)
QuickConvertPrioritized is a paid mutator transaction binding the contract method 0x22742564.
Solidity: function quickConvertPrioritized(address[] _path, uint256 _amount, uint256 _minReturn, uint256 _block, uint8 _v, bytes32 _r, bytes32 _s) payable returns(uint256)
func (*ConverterTypeFourTransactor) QuickConvertPrioritized2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) QuickConvertPrioritized2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, _signature []*big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
QuickConvertPrioritized2 is a paid mutator transaction binding the contract method 0xb3a426d5.
Solidity: function quickConvertPrioritized2(address[] _path, uint256 _amount, uint256 _minReturn, uint256[] _signature, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)
func (*ConverterTypeFourTransactor) RestoreRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) RestoreRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.
Solidity: function restoreRegistry() returns()
func (*ConverterTypeFourTransactor) SetBancorX ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) SetBancorX(opts *bind.TransactOpts, _bancorX common.Address) (*types.Transaction, error)
SetBancorX is a paid mutator transaction binding the contract method 0xd924f0c3.
Solidity: function setBancorX(address _bancorX) returns()
func (*ConverterTypeFourTransactor) SetConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) 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 (*ConverterTypeFourTransactor) SetConversionWhitelist ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) SetConversionWhitelist(opts *bind.TransactOpts, _whitelist common.Address) (*types.Transaction, error)
SetConversionWhitelist is a paid mutator transaction binding the contract method 0x4af80f0e.
Solidity: function setConversionWhitelist(address _whitelist) returns()
func (*ConverterTypeFourTransactor) TransferManagement ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) TransferManagement(opts *bind.TransactOpts, _newManager common.Address) (*types.Transaction, error)
TransferManagement is a paid mutator transaction binding the contract method 0xe4edf852.
Solidity: function transferManagement(address _newManager) returns()
func (*ConverterTypeFourTransactor) TransferOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) 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 (*ConverterTypeFourTransactor) TransferTokenOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) 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 (*ConverterTypeFourTransactor) UpdateConnector ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) UpdateConnector(opts *bind.TransactOpts, _connectorToken common.Address, arg1 uint32, arg2 bool, _virtualBalance *big.Int) (*types.Transaction, error)
UpdateConnector is a paid mutator transaction binding the contract method 0x0ca78923.
Solidity: function updateConnector(address _connectorToken, uint32 , bool , uint256 _virtualBalance) returns()
func (*ConverterTypeFourTransactor) UpdateRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) UpdateRegistry(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.
Solidity: function updateRegistry() returns()
func (*ConverterTypeFourTransactor) UpdateReserveVirtualBalance ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) UpdateReserveVirtualBalance(opts *bind.TransactOpts, _reserveToken common.Address, _virtualBalance *big.Int) (*types.Transaction, error)
UpdateReserveVirtualBalance is a paid mutator transaction binding the contract method 0x935e2ae1.
Solidity: function updateReserveVirtualBalance(address _reserveToken, uint256 _virtualBalance) returns()
func (*ConverterTypeFourTransactor) Upgrade ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) Upgrade(opts *bind.TransactOpts) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.
Solidity: function upgrade() returns()
func (*ConverterTypeFourTransactor) WithdrawFromToken ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) WithdrawFromToken(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawFromToken is a paid mutator transaction binding the contract method 0x41a5b33d.
Solidity: function withdrawFromToken(address _token, address _to, uint256 _amount) returns()
func (*ConverterTypeFourTransactor) WithdrawTokens ¶
func (_ConverterTypeFour *ConverterTypeFourTransactor) 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 ConverterTypeFourTransactorRaw ¶
type ConverterTypeFourTransactorRaw struct {
Contract *ConverterTypeFourTransactor // Generic write-only contract binding to access the raw methods on
}
ConverterTypeFourTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ConverterTypeFourTransactorRaw) Transact ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConverterTypeFourTransactorRaw) Transfer ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorRaw) 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 ConverterTypeFourTransactorSession ¶
type ConverterTypeFourTransactorSession struct { Contract *ConverterTypeFourTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ConverterTypeFourTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ConverterTypeFourTransactorSession) AcceptManagement ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AcceptManagement() (*types.Transaction, error)
AcceptManagement is a paid mutator transaction binding the contract method 0xc8c2fe6c.
Solidity: function acceptManagement() returns()
func (*ConverterTypeFourTransactorSession) AcceptOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ConverterTypeFourTransactorSession) AcceptTokenOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AcceptTokenOwnership() (*types.Transaction, error)
AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.
Solidity: function acceptTokenOwnership() returns()
func (*ConverterTypeFourTransactorSession) AddConnector ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AddConnector(_token common.Address, _weight uint32, arg2 bool) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0x3f4d2fc2.
Solidity: function addConnector(address _token, uint32 _weight, bool ) returns()
func (*ConverterTypeFourTransactorSession) AddReserve ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) AddReserve(_token common.Address, _ratio uint32) (*types.Transaction, error)
AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.
Solidity: function addReserve(address _token, uint32 _ratio) returns()
func (*ConverterTypeFourTransactorSession) Change ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Change(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
Change is a paid mutator transaction binding the contract method 0x5e5144eb.
Solidity: function change(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourTransactorSession) ClaimTokens ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) ClaimTokens(_from common.Address, _amount *big.Int) (*types.Transaction, error)
ClaimTokens is a paid mutator transaction binding the contract method 0xfe417fa5.
Solidity: function claimTokens(address _from, uint256 _amount) returns()
func (*ConverterTypeFourTransactorSession) CompleteXConversion ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) CompleteXConversion(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, _block *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)
CompleteXConversion is a paid mutator transaction binding the contract method 0x50057351.
Solidity: function completeXConversion(address[] _path, uint256 _minReturn, uint256 _conversionId, uint256 _block, uint8 _v, bytes32 _r, bytes32 _s) returns(uint256)
func (*ConverterTypeFourTransactorSession) CompleteXConversion2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) CompleteXConversion2(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, _signature []*big.Int) (*types.Transaction, error)
CompleteXConversion2 is a paid mutator transaction binding the contract method 0x2cc1cd65.
Solidity: function completeXConversion2(address[] _path, uint256 _minReturn, uint256 _conversionId, uint256[] _signature) returns(uint256)
func (*ConverterTypeFourTransactorSession) Convert ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Convert(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
Convert is a paid mutator transaction binding the contract method 0x75892cf1.
Solidity: function convert(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourTransactorSession) Convert2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Convert2(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
Convert2 is a paid mutator transaction binding the contract method 0x6ebf36c0.
Solidity: function convert2(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) returns(uint256)
func (*ConverterTypeFourTransactorSession) ConvertInternal ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) ConvertInternal(_fromToken common.Address, _toToken common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
ConvertInternal is a paid mutator transaction binding the contract method 0x2a2e2f0c.
Solidity: function convertInternal(address _fromToken, address _toToken, uint256 _amount, uint256 _minReturn) returns(uint256)
func (*ConverterTypeFourTransactorSession) DisableConnectorSale ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableConnectorSale(_connectorToken common.Address, _disable bool) (*types.Transaction, error)
DisableConnectorSale is a paid mutator transaction binding the contract method 0x9e568553.
Solidity: function disableConnectorSale(address _connectorToken, bool _disable) returns()
func (*ConverterTypeFourTransactorSession) DisableConversions ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableConversions(_disable bool) (*types.Transaction, error)
DisableConversions is a paid mutator transaction binding the contract method 0x228d2820.
Solidity: function disableConversions(bool _disable) returns()
func (*ConverterTypeFourTransactorSession) DisableRegistryUpdate ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableRegistryUpdate(_disable bool) (*types.Transaction, error)
DisableRegistryUpdate is a paid mutator transaction binding the contract method 0xfa1c594e.
Solidity: function disableRegistryUpdate(bool _disable) returns()
func (*ConverterTypeFourTransactorSession) DisableReserveSale ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) DisableReserveSale(_reserveToken common.Address, _disable bool) (*types.Transaction, error)
DisableReserveSale is a paid mutator transaction binding the contract method 0xa6a11c71.
Solidity: function disableReserveSale(address _reserveToken, bool _disable) returns()
func (*ConverterTypeFourTransactorSession) EnableVirtualBalances ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) EnableVirtualBalances(_scaleFactor uint16) (*types.Transaction, error)
EnableVirtualBalances is a paid mutator transaction binding the contract method 0x677c0812.
Solidity: function enableVirtualBalances(uint16 _scaleFactor) returns()
func (*ConverterTypeFourTransactorSession) Fund ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Fund(_amount *big.Int) (*types.Transaction, error)
Fund is a paid mutator transaction binding the contract method 0xca1d209d.
Solidity: function fund(uint256 _amount) returns()
func (*ConverterTypeFourTransactorSession) Liquidate ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Liquidate(_amount *big.Int) (*types.Transaction, error)
Liquidate is a paid mutator transaction binding the contract method 0x415f1240.
Solidity: function liquidate(uint256 _amount) returns()
func (*ConverterTypeFourTransactorSession) QuickConvert ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvert(_path []common.Address, _amount *big.Int, _minReturn *big.Int) (*types.Transaction, error)
QuickConvert is a paid mutator transaction binding the contract method 0xf0843ba9.
Solidity: function quickConvert(address[] _path, uint256 _amount, uint256 _minReturn) payable returns(uint256)
func (*ConverterTypeFourTransactorSession) QuickConvert2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvert2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
QuickConvert2 is a paid mutator transaction binding the contract method 0xe4dd22f6.
Solidity: function quickConvert2(address[] _path, uint256 _amount, uint256 _minReturn, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)
func (*ConverterTypeFourTransactorSession) QuickConvertPrioritized ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvertPrioritized(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _block *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)
QuickConvertPrioritized is a paid mutator transaction binding the contract method 0x22742564.
Solidity: function quickConvertPrioritized(address[] _path, uint256 _amount, uint256 _minReturn, uint256 _block, uint8 _v, bytes32 _r, bytes32 _s) payable returns(uint256)
func (*ConverterTypeFourTransactorSession) QuickConvertPrioritized2 ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) QuickConvertPrioritized2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, _signature []*big.Int, _affiliateAccount common.Address, _affiliateFee *big.Int) (*types.Transaction, error)
QuickConvertPrioritized2 is a paid mutator transaction binding the contract method 0xb3a426d5.
Solidity: function quickConvertPrioritized2(address[] _path, uint256 _amount, uint256 _minReturn, uint256[] _signature, address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)
func (*ConverterTypeFourTransactorSession) RestoreRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) RestoreRegistry() (*types.Transaction, error)
RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.
Solidity: function restoreRegistry() returns()
func (*ConverterTypeFourTransactorSession) SetBancorX ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) SetBancorX(_bancorX common.Address) (*types.Transaction, error)
SetBancorX is a paid mutator transaction binding the contract method 0xd924f0c3.
Solidity: function setBancorX(address _bancorX) returns()
func (*ConverterTypeFourTransactorSession) SetConversionFee ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)
SetConversionFee is a paid mutator transaction binding the contract method 0xecbca55d.
Solidity: function setConversionFee(uint32 _conversionFee) returns()
func (*ConverterTypeFourTransactorSession) SetConversionWhitelist ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) SetConversionWhitelist(_whitelist common.Address) (*types.Transaction, error)
SetConversionWhitelist is a paid mutator transaction binding the contract method 0x4af80f0e.
Solidity: function setConversionWhitelist(address _whitelist) returns()
func (*ConverterTypeFourTransactorSession) TransferManagement ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) TransferManagement(_newManager common.Address) (*types.Transaction, error)
TransferManagement is a paid mutator transaction binding the contract method 0xe4edf852.
Solidity: function transferManagement(address _newManager) returns()
func (*ConverterTypeFourTransactorSession) TransferOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) 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 (*ConverterTypeFourTransactorSession) TransferTokenOwnership ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) 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 (*ConverterTypeFourTransactorSession) UpdateConnector ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) UpdateConnector(_connectorToken common.Address, arg1 uint32, arg2 bool, _virtualBalance *big.Int) (*types.Transaction, error)
UpdateConnector is a paid mutator transaction binding the contract method 0x0ca78923.
Solidity: function updateConnector(address _connectorToken, uint32 , bool , uint256 _virtualBalance) returns()
func (*ConverterTypeFourTransactorSession) UpdateRegistry ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) UpdateRegistry() (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.
Solidity: function updateRegistry() returns()
func (*ConverterTypeFourTransactorSession) UpdateReserveVirtualBalance ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) UpdateReserveVirtualBalance(_reserveToken common.Address, _virtualBalance *big.Int) (*types.Transaction, error)
UpdateReserveVirtualBalance is a paid mutator transaction binding the contract method 0x935e2ae1.
Solidity: function updateReserveVirtualBalance(address _reserveToken, uint256 _virtualBalance) returns()
func (*ConverterTypeFourTransactorSession) Upgrade ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) Upgrade() (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.
Solidity: function upgrade() returns()
func (*ConverterTypeFourTransactorSession) WithdrawFromToken ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) WithdrawFromToken(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawFromToken is a paid mutator transaction binding the contract method 0x41a5b33d.
Solidity: function withdrawFromToken(address _token, address _to, uint256 _amount) returns()
func (*ConverterTypeFourTransactorSession) WithdrawTokens ¶
func (_ConverterTypeFour *ConverterTypeFourTransactorSession) 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 ConverterTypeFourVirtualBalancesEnable ¶
type ConverterTypeFourVirtualBalancesEnable struct { Enabled bool Raw types.Log // Blockchain specific contextual infos }
ConverterTypeFourVirtualBalancesEnable represents a VirtualBalancesEnable event raised by the ConverterTypeFour contract.
type ConverterTypeFourVirtualBalancesEnableIterator ¶
type ConverterTypeFourVirtualBalancesEnableIterator struct { Event *ConverterTypeFourVirtualBalancesEnable // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ConverterTypeFourVirtualBalancesEnableIterator is returned from FilterVirtualBalancesEnable and is used to iterate over the raw logs and unpacked data for VirtualBalancesEnable events raised by the ConverterTypeFour contract.
func (*ConverterTypeFourVirtualBalancesEnableIterator) Close ¶
func (it *ConverterTypeFourVirtualBalancesEnableIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ConverterTypeFourVirtualBalancesEnableIterator) Error ¶
func (it *ConverterTypeFourVirtualBalancesEnableIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ConverterTypeFourVirtualBalancesEnableIterator) Next ¶
func (it *ConverterTypeFourVirtualBalancesEnableIterator) 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.