ConverterTypeZero

package
v0.0.0-...-3beb7e2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ConverterTypeZeroABI = "" /* 16736-byte string literal not displayed */

ConverterTypeZeroABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConverterTypeZero

type ConverterTypeZero struct {
	ConverterTypeZeroCaller     // Read-only binding to the contract
	ConverterTypeZeroTransactor // Write-only binding to the contract
	ConverterTypeZeroFilterer   // Log filterer for contract events
}

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

func NewConverterTypeZero

func NewConverterTypeZero(address common.Address, backend bind.ContractBackend) (*ConverterTypeZero, error)

NewConverterTypeZero creates a new instance of ConverterTypeZero, bound to a specific deployed contract.

type ConverterTypeZeroCaller

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

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

func NewConverterTypeZeroCaller

func NewConverterTypeZeroCaller(address common.Address, caller bind.ContractCaller) (*ConverterTypeZeroCaller, error)

NewConverterTypeZeroCaller creates a new read-only instance of ConverterTypeZero, bound to a specific deployed contract.

func (*ConverterTypeZeroCaller) BancorX

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) CONVERTERCONVERSIONWHITELIST

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) ConnectorTokenCount

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) ConnectorTokens

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) Connectors

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) ConversionFee

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) ConversionWhitelist

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) ConversionsEnabled

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetConnectorBalance

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetCrossConnectorReturn

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetCrossReserveReturn

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetFinalAmount

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetPurchaseReturn

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetReserveBalance

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetReserveRatio

func (_ConverterTypeZero *ConverterTypeZeroCaller) GetReserveRatio(opts *bind.CallOpts, _reserveToken common.Address) (*big.Int, error)

GetReserveRatio is a free data retrieval call binding the contract method 0x2c12b446.

Solidity: function getReserveRatio(address _reserveToken) view returns(uint256)

func (*ConverterTypeZeroCaller) GetReturn

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) GetSaleReturn

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) MaxConversionFee

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) NewOwner

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) OnlyOwnerCanUpdateRegistry

func (_ConverterTypeZero *ConverterTypeZeroCaller) OnlyOwnerCanUpdateRegistry(opts *bind.CallOpts) (bool, error)

OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*ConverterTypeZeroCaller) Owner

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) PrevRegistry

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) Registry

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) ReserveTokenCount

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) ReserveTokens

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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 (*ConverterTypeZeroCaller) Reserves

func (_ConverterTypeZero *ConverterTypeZeroCaller) 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)

func (*ConverterTypeZeroCaller) Token

func (_ConverterTypeZero *ConverterTypeZeroCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*ConverterTypeZeroCaller) TotalReserveRatio

func (_ConverterTypeZero *ConverterTypeZeroCaller) TotalReserveRatio(opts *bind.CallOpts) (uint32, error)

TotalReserveRatio is a free data retrieval call binding the contract method 0x6520d6fb.

Solidity: function totalReserveRatio() view returns(uint32)

func (*ConverterTypeZeroCaller) Version

func (_ConverterTypeZero *ConverterTypeZeroCaller) Version(opts *bind.CallOpts) (uint16, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint16)

type ConverterTypeZeroCallerRaw

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

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

func (*ConverterTypeZeroCallerRaw) Call

func (_ConverterTypeZero *ConverterTypeZeroCallerRaw) 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 ConverterTypeZeroCallerSession

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

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

func (*ConverterTypeZeroCallerSession) BancorX

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) BancorX() (common.Address, error)

BancorX is a free data retrieval call binding the contract method 0x1120a776.

Solidity: function bancorX() view returns(address)

func (*ConverterTypeZeroCallerSession) CONVERTERCONVERSIONWHITELIST

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) ConnectorTokenCount

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) ConnectorTokenCount() (uint16, error)

ConnectorTokenCount is a free data retrieval call binding the contract method 0x71f52bf3.

Solidity: function connectorTokenCount() view returns(uint16)

func (*ConverterTypeZeroCallerSession) ConnectorTokens

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) Connectors

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) ConversionFee

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) ConversionFee() (uint32, error)

ConversionFee is a free data retrieval call binding the contract method 0x579cd3ca.

Solidity: function conversionFee() view returns(uint32)

func (*ConverterTypeZeroCallerSession) ConversionWhitelist

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) ConversionWhitelist() (common.Address, error)

ConversionWhitelist is a free data retrieval call binding the contract method 0xc45d3d92.

Solidity: function conversionWhitelist() view returns(address)

func (*ConverterTypeZeroCallerSession) ConversionsEnabled

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) ConversionsEnabled() (bool, error)

ConversionsEnabled is a free data retrieval call binding the contract method 0xbf754558.

Solidity: function conversionsEnabled() view returns(bool)

func (*ConverterTypeZeroCallerSession) GetConnectorBalance

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) GetCrossConnectorReturn

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) GetCrossReserveReturn

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) GetFinalAmount

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) GetPurchaseReturn

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) GetReserveBalance

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) GetReserveRatio

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) GetReserveRatio(_reserveToken common.Address) (*big.Int, error)

GetReserveRatio is a free data retrieval call binding the contract method 0x2c12b446.

Solidity: function getReserveRatio(address _reserveToken) view returns(uint256)

func (*ConverterTypeZeroCallerSession) GetReturn

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) GetSaleReturn

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) MaxConversionFee

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) MaxConversionFee() (uint32, error)

MaxConversionFee is a free data retrieval call binding the contract method 0x94c275ad.

Solidity: function maxConversionFee() view returns(uint32)

func (*ConverterTypeZeroCallerSession) NewOwner

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ConverterTypeZeroCallerSession) OnlyOwnerCanUpdateRegistry

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) OnlyOwnerCanUpdateRegistry() (bool, error)

OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*ConverterTypeZeroCallerSession) Owner

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ConverterTypeZeroCallerSession) PrevRegistry

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) PrevRegistry() (common.Address, error)

PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.

Solidity: function prevRegistry() view returns(address)

func (*ConverterTypeZeroCallerSession) Registry

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*ConverterTypeZeroCallerSession) ReserveTokenCount

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) ReserveTokenCount() (uint16, error)

ReserveTokenCount is a free data retrieval call binding the contract method 0x9b99a8e2.

Solidity: function reserveTokenCount() view returns(uint16)

func (*ConverterTypeZeroCallerSession) ReserveTokens

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) Reserves

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) 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 (*ConverterTypeZeroCallerSession) Token

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*ConverterTypeZeroCallerSession) TotalReserveRatio

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) TotalReserveRatio() (uint32, error)

TotalReserveRatio is a free data retrieval call binding the contract method 0x6520d6fb.

Solidity: function totalReserveRatio() view returns(uint32)

func (*ConverterTypeZeroCallerSession) Version

func (_ConverterTypeZero *ConverterTypeZeroCallerSession) Version() (uint16, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint16)

type ConverterTypeZeroConversion

type ConverterTypeZeroConversion 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
}

ConverterTypeZeroConversion represents a Conversion event raised by the ConverterTypeZero contract.

type ConverterTypeZeroConversionFeeUpdate

type ConverterTypeZeroConversionFeeUpdate struct {
	PrevFee uint32
	NewFee  uint32
	Raw     types.Log // Blockchain specific contextual infos
}

ConverterTypeZeroConversionFeeUpdate represents a ConversionFeeUpdate event raised by the ConverterTypeZero contract.

type ConverterTypeZeroConversionFeeUpdateIterator

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

ConverterTypeZeroConversionFeeUpdateIterator is returned from FilterConversionFeeUpdate and is used to iterate over the raw logs and unpacked data for ConversionFeeUpdate events raised by the ConverterTypeZero contract.

func (*ConverterTypeZeroConversionFeeUpdateIterator) Close

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

func (*ConverterTypeZeroConversionFeeUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConverterTypeZeroConversionFeeUpdateIterator) Next

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 ConverterTypeZeroConversionIterator

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

ConverterTypeZeroConversionIterator is returned from FilterConversion and is used to iterate over the raw logs and unpacked data for Conversion events raised by the ConverterTypeZero contract.

func (*ConverterTypeZeroConversionIterator) Close

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

func (*ConverterTypeZeroConversionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConverterTypeZeroConversionIterator) Next

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 ConverterTypeZeroFilterer

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

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

func NewConverterTypeZeroFilterer

func NewConverterTypeZeroFilterer(address common.Address, filterer bind.ContractFilterer) (*ConverterTypeZeroFilterer, error)

NewConverterTypeZeroFilterer creates a new log filterer instance of ConverterTypeZero, bound to a specific deployed contract.

func (*ConverterTypeZeroFilterer) FilterConversion

func (_ConverterTypeZero *ConverterTypeZeroFilterer) FilterConversion(opts *bind.FilterOpts, _fromToken []common.Address, _toToken []common.Address, _trader []common.Address) (*ConverterTypeZeroConversionIterator, 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 (*ConverterTypeZeroFilterer) FilterConversionFeeUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) FilterConversionFeeUpdate(opts *bind.FilterOpts) (*ConverterTypeZeroConversionFeeUpdateIterator, error)

FilterConversionFeeUpdate is a free log retrieval operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.

Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)

func (*ConverterTypeZeroFilterer) FilterOwnerUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, _prevOwner []common.Address, _newOwner []common.Address) (*ConverterTypeZeroOwnerUpdateIterator, error)

FilterOwnerUpdate is a free log retrieval operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)

func (*ConverterTypeZeroFilterer) FilterPriceDataUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) FilterPriceDataUpdate(opts *bind.FilterOpts, _connectorToken []common.Address) (*ConverterTypeZeroPriceDataUpdateIterator, 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 (*ConverterTypeZeroFilterer) ParseConversion

func (_ConverterTypeZero *ConverterTypeZeroFilterer) ParseConversion(log types.Log) (*ConverterTypeZeroConversion, 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 (*ConverterTypeZeroFilterer) ParseConversionFeeUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) ParseConversionFeeUpdate(log types.Log) (*ConverterTypeZeroConversionFeeUpdate, error)

ParseConversionFeeUpdate is a log parse operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.

Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)

func (*ConverterTypeZeroFilterer) ParseOwnerUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) ParseOwnerUpdate(log types.Log) (*ConverterTypeZeroOwnerUpdate, error)

ParseOwnerUpdate is a log parse operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)

func (*ConverterTypeZeroFilterer) ParsePriceDataUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) ParsePriceDataUpdate(log types.Log) (*ConverterTypeZeroPriceDataUpdate, 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 (*ConverterTypeZeroFilterer) WatchConversion

func (_ConverterTypeZero *ConverterTypeZeroFilterer) WatchConversion(opts *bind.WatchOpts, sink chan<- *ConverterTypeZeroConversion, _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 (*ConverterTypeZeroFilterer) WatchConversionFeeUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) WatchConversionFeeUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeZeroConversionFeeUpdate) (event.Subscription, error)

WatchConversionFeeUpdate is a free log subscription operation binding the contract event 0x81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee600.

Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)

func (*ConverterTypeZeroFilterer) WatchOwnerUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeZeroOwnerUpdate, _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 (*ConverterTypeZeroFilterer) WatchPriceDataUpdate

func (_ConverterTypeZero *ConverterTypeZeroFilterer) WatchPriceDataUpdate(opts *bind.WatchOpts, sink chan<- *ConverterTypeZeroPriceDataUpdate, _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)

type ConverterTypeZeroOwnerUpdate

type ConverterTypeZeroOwnerUpdate struct {
	PrevOwner common.Address
	NewOwner  common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ConverterTypeZeroOwnerUpdate represents a OwnerUpdate event raised by the ConverterTypeZero contract.

type ConverterTypeZeroOwnerUpdateIterator

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

ConverterTypeZeroOwnerUpdateIterator is returned from FilterOwnerUpdate and is used to iterate over the raw logs and unpacked data for OwnerUpdate events raised by the ConverterTypeZero contract.

func (*ConverterTypeZeroOwnerUpdateIterator) Close

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

func (*ConverterTypeZeroOwnerUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConverterTypeZeroOwnerUpdateIterator) Next

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 ConverterTypeZeroPriceDataUpdate

type ConverterTypeZeroPriceDataUpdate struct {
	ConnectorToken   common.Address
	TokenSupply      *big.Int
	ConnectorBalance *big.Int
	ConnectorWeight  uint32
	Raw              types.Log // Blockchain specific contextual infos
}

ConverterTypeZeroPriceDataUpdate represents a PriceDataUpdate event raised by the ConverterTypeZero contract.

type ConverterTypeZeroPriceDataUpdateIterator

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

ConverterTypeZeroPriceDataUpdateIterator is returned from FilterPriceDataUpdate and is used to iterate over the raw logs and unpacked data for PriceDataUpdate events raised by the ConverterTypeZero contract.

func (*ConverterTypeZeroPriceDataUpdateIterator) Close

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

func (*ConverterTypeZeroPriceDataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConverterTypeZeroPriceDataUpdateIterator) Next

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 ConverterTypeZeroRaw

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

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

func (*ConverterTypeZeroRaw) Call

func (_ConverterTypeZero *ConverterTypeZeroRaw) 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 (*ConverterTypeZeroRaw) Transact

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

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

func (*ConverterTypeZeroRaw) Transfer

func (_ConverterTypeZero *ConverterTypeZeroRaw) 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 ConverterTypeZeroSession

type ConverterTypeZeroSession struct {
	Contract     *ConverterTypeZero // 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
}

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

func (*ConverterTypeZeroSession) AcceptOwnership

func (_ConverterTypeZero *ConverterTypeZeroSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*ConverterTypeZeroSession) AcceptTokenOwnership

func (_ConverterTypeZero *ConverterTypeZeroSession) AcceptTokenOwnership() (*types.Transaction, error)

AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.

Solidity: function acceptTokenOwnership() returns()

func (*ConverterTypeZeroSession) AddConnector

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) AddReserve

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) BancorX

func (_ConverterTypeZero *ConverterTypeZeroSession) BancorX() (common.Address, error)

BancorX is a free data retrieval call binding the contract method 0x1120a776.

Solidity: function bancorX() view returns(address)

func (*ConverterTypeZeroSession) CONVERTERCONVERSIONWHITELIST

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Change

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) ClaimTokens

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) CompleteXConversion

func (_ConverterTypeZero *ConverterTypeZeroSession) CompleteXConversion(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [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 , uint8 , bytes32 , bytes32 ) returns(uint256)

func (*ConverterTypeZeroSession) CompleteXConversion2

func (_ConverterTypeZero *ConverterTypeZeroSession) CompleteXConversion2(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int) (*types.Transaction, error)

CompleteXConversion2 is a paid mutator transaction binding the contract method 0xebf94700.

Solidity: function completeXConversion2(address[] _path, uint256 _minReturn, uint256 _conversionId) returns(uint256)

func (*ConverterTypeZeroSession) ConnectorTokenCount

func (_ConverterTypeZero *ConverterTypeZeroSession) ConnectorTokenCount() (uint16, error)

ConnectorTokenCount is a free data retrieval call binding the contract method 0x71f52bf3.

Solidity: function connectorTokenCount() view returns(uint16)

func (*ConverterTypeZeroSession) ConnectorTokens

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Connectors

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) ConversionFee

func (_ConverterTypeZero *ConverterTypeZeroSession) ConversionFee() (uint32, error)

ConversionFee is a free data retrieval call binding the contract method 0x579cd3ca.

Solidity: function conversionFee() view returns(uint32)

func (*ConverterTypeZeroSession) ConversionWhitelist

func (_ConverterTypeZero *ConverterTypeZeroSession) ConversionWhitelist() (common.Address, error)

ConversionWhitelist is a free data retrieval call binding the contract method 0xc45d3d92.

Solidity: function conversionWhitelist() view returns(address)

func (*ConverterTypeZeroSession) ConversionsEnabled

func (_ConverterTypeZero *ConverterTypeZeroSession) ConversionsEnabled() (bool, error)

ConversionsEnabled is a free data retrieval call binding the contract method 0xbf754558.

Solidity: function conversionsEnabled() view returns(bool)

func (*ConverterTypeZeroSession) Convert

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Convert2

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) ConvertInternal

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Fund

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetConnectorBalance

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetCrossConnectorReturn

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetCrossReserveReturn

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetFinalAmount

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetPurchaseReturn

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetReserveBalance

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetReserveRatio

func (_ConverterTypeZero *ConverterTypeZeroSession) GetReserveRatio(_reserveToken common.Address) (*big.Int, error)

GetReserveRatio is a free data retrieval call binding the contract method 0x2c12b446.

Solidity: function getReserveRatio(address _reserveToken) view returns(uint256)

func (*ConverterTypeZeroSession) GetReturn

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) GetSaleReturn

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Liquidate

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) MaxConversionFee

func (_ConverterTypeZero *ConverterTypeZeroSession) MaxConversionFee() (uint32, error)

MaxConversionFee is a free data retrieval call binding the contract method 0x94c275ad.

Solidity: function maxConversionFee() view returns(uint32)

func (*ConverterTypeZeroSession) NewOwner

func (_ConverterTypeZero *ConverterTypeZeroSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ConverterTypeZeroSession) OnlyOwnerCanUpdateRegistry

func (_ConverterTypeZero *ConverterTypeZeroSession) OnlyOwnerCanUpdateRegistry() (bool, error)

OnlyOwnerCanUpdateRegistry is a free data retrieval call binding the contract method 0x2fe8a6ad.

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*ConverterTypeZeroSession) Owner

func (_ConverterTypeZero *ConverterTypeZeroSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ConverterTypeZeroSession) PrevRegistry

func (_ConverterTypeZero *ConverterTypeZeroSession) PrevRegistry() (common.Address, error)

PrevRegistry is a free data retrieval call binding the contract method 0x61cd756e.

Solidity: function prevRegistry() view returns(address)

func (*ConverterTypeZeroSession) QuickConvert

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) QuickConvert2

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) QuickConvertPrioritized

func (_ConverterTypeZero *ConverterTypeZeroSession) QuickConvertPrioritized(_path []common.Address, _amount *big.Int, _minReturn *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [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 , uint8 , bytes32 , bytes32 ) payable returns(uint256)

func (*ConverterTypeZeroSession) QuickConvertPrioritized2

func (_ConverterTypeZero *ConverterTypeZeroSession) QuickConvertPrioritized2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, arg3 []*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[] , address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*ConverterTypeZeroSession) Registry

func (_ConverterTypeZero *ConverterTypeZeroSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*ConverterTypeZeroSession) ReserveTokenCount

func (_ConverterTypeZero *ConverterTypeZeroSession) ReserveTokenCount() (uint16, error)

ReserveTokenCount is a free data retrieval call binding the contract method 0x9b99a8e2.

Solidity: function reserveTokenCount() view returns(uint16)

func (*ConverterTypeZeroSession) ReserveTokens

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Reserves

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) RestoreRegistry

func (_ConverterTypeZero *ConverterTypeZeroSession) RestoreRegistry() (*types.Transaction, error)

RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.

Solidity: function restoreRegistry() returns()

func (*ConverterTypeZeroSession) RestrictRegistryUpdate

func (_ConverterTypeZero *ConverterTypeZeroSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*ConverterTypeZeroSession) SetBancorX

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) SetConversionFee

func (_ConverterTypeZero *ConverterTypeZeroSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)

SetConversionFee is a paid mutator transaction binding the contract method 0xecbca55d.

Solidity: function setConversionFee(uint32 _conversionFee) returns()

func (*ConverterTypeZeroSession) SetConversionWhitelist

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Token

func (_ConverterTypeZero *ConverterTypeZeroSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*ConverterTypeZeroSession) TotalReserveRatio

func (_ConverterTypeZero *ConverterTypeZeroSession) TotalReserveRatio() (uint32, error)

TotalReserveRatio is a free data retrieval call binding the contract method 0x6520d6fb.

Solidity: function totalReserveRatio() view returns(uint32)

func (*ConverterTypeZeroSession) TransferOwnership

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) TransferTokenOwnership

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) UpdateConnector

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) UpdateRegistry

func (_ConverterTypeZero *ConverterTypeZeroSession) UpdateRegistry() (*types.Transaction, error)

UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.

Solidity: function updateRegistry() returns()

func (*ConverterTypeZeroSession) UpdateReserveVirtualBalance

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) Upgrade

func (_ConverterTypeZero *ConverterTypeZeroSession) Upgrade() (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.

Solidity: function upgrade() returns()

func (*ConverterTypeZeroSession) Version

func (_ConverterTypeZero *ConverterTypeZeroSession) Version() (uint16, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint16)

func (*ConverterTypeZeroSession) WithdrawFromToken

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 (*ConverterTypeZeroSession) WithdrawTokens

func (_ConverterTypeZero *ConverterTypeZeroSession) 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 ConverterTypeZeroTransactor

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

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

func NewConverterTypeZeroTransactor

func NewConverterTypeZeroTransactor(address common.Address, transactor bind.ContractTransactor) (*ConverterTypeZeroTransactor, error)

NewConverterTypeZeroTransactor creates a new write-only instance of ConverterTypeZero, bound to a specific deployed contract.

func (*ConverterTypeZeroTransactor) AcceptOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*ConverterTypeZeroTransactor) AcceptTokenOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactor) AcceptTokenOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.

Solidity: function acceptTokenOwnership() returns()

func (*ConverterTypeZeroTransactor) AddConnector

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) AddReserve

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) Change

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) ClaimTokens

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) CompleteXConversion

func (_ConverterTypeZero *ConverterTypeZeroTransactor) CompleteXConversion(opts *bind.TransactOpts, _path []common.Address, _minReturn *big.Int, _conversionId *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [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 , uint8 , bytes32 , bytes32 ) returns(uint256)

func (*ConverterTypeZeroTransactor) CompleteXConversion2

func (_ConverterTypeZero *ConverterTypeZeroTransactor) CompleteXConversion2(opts *bind.TransactOpts, _path []common.Address, _minReturn *big.Int, _conversionId *big.Int) (*types.Transaction, error)

CompleteXConversion2 is a paid mutator transaction binding the contract method 0xebf94700.

Solidity: function completeXConversion2(address[] _path, uint256 _minReturn, uint256 _conversionId) returns(uint256)

func (*ConverterTypeZeroTransactor) Convert

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) Convert2

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) ConvertInternal

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) Fund

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) Liquidate

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) QuickConvert

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) QuickConvert2

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) QuickConvertPrioritized

func (_ConverterTypeZero *ConverterTypeZeroTransactor) QuickConvertPrioritized(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [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 , uint8 , bytes32 , bytes32 ) payable returns(uint256)

func (*ConverterTypeZeroTransactor) QuickConvertPrioritized2

func (_ConverterTypeZero *ConverterTypeZeroTransactor) QuickConvertPrioritized2(opts *bind.TransactOpts, _path []common.Address, _amount *big.Int, _minReturn *big.Int, arg3 []*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[] , address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*ConverterTypeZeroTransactor) RestoreRegistry

func (_ConverterTypeZero *ConverterTypeZeroTransactor) RestoreRegistry(opts *bind.TransactOpts) (*types.Transaction, error)

RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.

Solidity: function restoreRegistry() returns()

func (*ConverterTypeZeroTransactor) RestrictRegistryUpdate

func (_ConverterTypeZero *ConverterTypeZeroTransactor) RestrictRegistryUpdate(opts *bind.TransactOpts, _onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*ConverterTypeZeroTransactor) SetBancorX

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) SetConversionFee

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) SetConversionWhitelist

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) TransferOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) TransferTokenOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) UpdateConnector

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) UpdateRegistry

func (_ConverterTypeZero *ConverterTypeZeroTransactor) UpdateRegistry(opts *bind.TransactOpts) (*types.Transaction, error)

UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.

Solidity: function updateRegistry() returns()

func (*ConverterTypeZeroTransactor) UpdateReserveVirtualBalance

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) Upgrade

func (_ConverterTypeZero *ConverterTypeZeroTransactor) Upgrade(opts *bind.TransactOpts) (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.

Solidity: function upgrade() returns()

func (*ConverterTypeZeroTransactor) WithdrawFromToken

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 (*ConverterTypeZeroTransactor) WithdrawTokens

func (_ConverterTypeZero *ConverterTypeZeroTransactor) 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 ConverterTypeZeroTransactorRaw

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

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

func (*ConverterTypeZeroTransactorRaw) Transact

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

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

func (*ConverterTypeZeroTransactorRaw) Transfer

func (_ConverterTypeZero *ConverterTypeZeroTransactorRaw) 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 ConverterTypeZeroTransactorSession

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

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

func (*ConverterTypeZeroTransactorSession) AcceptOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*ConverterTypeZeroTransactorSession) AcceptTokenOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) AcceptTokenOwnership() (*types.Transaction, error)

AcceptTokenOwnership is a paid mutator transaction binding the contract method 0x38a5e016.

Solidity: function acceptTokenOwnership() returns()

func (*ConverterTypeZeroTransactorSession) AddConnector

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) AddReserve

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) Change

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) ClaimTokens

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) CompleteXConversion

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) CompleteXConversion(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [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 , uint8 , bytes32 , bytes32 ) returns(uint256)

func (*ConverterTypeZeroTransactorSession) CompleteXConversion2

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) CompleteXConversion2(_path []common.Address, _minReturn *big.Int, _conversionId *big.Int) (*types.Transaction, error)

CompleteXConversion2 is a paid mutator transaction binding the contract method 0xebf94700.

Solidity: function completeXConversion2(address[] _path, uint256 _minReturn, uint256 _conversionId) returns(uint256)

func (*ConverterTypeZeroTransactorSession) Convert

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) Convert2

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) ConvertInternal

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) Fund

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) Liquidate

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) QuickConvert

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) QuickConvert2

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) QuickConvertPrioritized

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) QuickConvertPrioritized(_path []common.Address, _amount *big.Int, _minReturn *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [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 , uint8 , bytes32 , bytes32 ) payable returns(uint256)

func (*ConverterTypeZeroTransactorSession) QuickConvertPrioritized2

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) QuickConvertPrioritized2(_path []common.Address, _amount *big.Int, _minReturn *big.Int, arg3 []*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[] , address _affiliateAccount, uint256 _affiliateFee) payable returns(uint256)

func (*ConverterTypeZeroTransactorSession) RestoreRegistry

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) RestoreRegistry() (*types.Transaction, error)

RestoreRegistry is a paid mutator transaction binding the contract method 0xb4a176d3.

Solidity: function restoreRegistry() returns()

func (*ConverterTypeZeroTransactorSession) RestrictRegistryUpdate

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

RestrictRegistryUpdate is a paid mutator transaction binding the contract method 0x024c7ec7.

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*ConverterTypeZeroTransactorSession) SetBancorX

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) SetConversionFee

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)

SetConversionFee is a paid mutator transaction binding the contract method 0xecbca55d.

Solidity: function setConversionFee(uint32 _conversionFee) returns()

func (*ConverterTypeZeroTransactorSession) SetConversionWhitelist

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) TransferOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) TransferTokenOwnership

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) UpdateConnector

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) UpdateRegistry

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) UpdateRegistry() (*types.Transaction, error)

UpdateRegistry is a paid mutator transaction binding the contract method 0x49d10b64.

Solidity: function updateRegistry() returns()

func (*ConverterTypeZeroTransactorSession) UpdateReserveVirtualBalance

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) Upgrade

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) Upgrade() (*types.Transaction, error)

Upgrade is a paid mutator transaction binding the contract method 0xd55ec697.

Solidity: function upgrade() returns()

func (*ConverterTypeZeroTransactorSession) WithdrawFromToken

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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 (*ConverterTypeZeroTransactorSession) WithdrawTokens

func (_ConverterTypeZero *ConverterTypeZeroTransactorSession) 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()

Jump to

Keyboard shortcuts

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