ConvertertypeOne

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 ConvertertypeOneABI = "" /* 14210-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertertypeOne

type ConvertertypeOne struct {
	ConvertertypeOneCaller     // Read-only binding to the contract
	ConvertertypeOneTransactor // Write-only binding to the contract
	ConvertertypeOneFilterer   // Log filterer for contract events
}

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

func NewConvertertypeOne

func NewConvertertypeOne(address common.Address, backend bind.ContractBackend) (*ConvertertypeOne, error)

NewConvertertypeOne creates a new instance of ConvertertypeOne, bound to a specific deployed contract.

type ConvertertypeOneActivation

type ConvertertypeOneActivation struct {
	Type      uint16
	Anchor    common.Address
	Activated bool
	Raw       types.Log // Blockchain specific contextual infos
}

ConvertertypeOneActivation represents a Activation event raised by the ConvertertypeOne contract.

type ConvertertypeOneActivationIterator

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

ConvertertypeOneActivationIterator is returned from FilterActivation and is used to iterate over the raw logs and unpacked data for Activation events raised by the ConvertertypeOne contract.

func (*ConvertertypeOneActivationIterator) Close

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

func (*ConvertertypeOneActivationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOneActivationIterator) 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 ConvertertypeOneCaller

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

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

func NewConvertertypeOneCaller

func NewConvertertypeOneCaller(address common.Address, caller bind.ContractCaller) (*ConvertertypeOneCaller, error)

NewConvertertypeOneCaller creates a new read-only instance of ConvertertypeOne, bound to a specific deployed contract.

func (*ConvertertypeOneCaller) Anchor

func (_ConvertertypeOne *ConvertertypeOneCaller) Anchor(opts *bind.CallOpts) (common.Address, error)

Anchor is a free data retrieval call binding the contract method 0xd3fb73b4.

Solidity: function anchor() view returns(address)

func (*ConvertertypeOneCaller) ConnectorTokenCount

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ConnectorTokens

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) Connectors

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ConversionFee

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ConversionWhitelist

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ConversionsEnabled

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ConverterType

func (_ConvertertypeOne *ConvertertypeOneCaller) ConverterType(opts *bind.CallOpts) (uint16, error)

ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.

Solidity: function converterType() pure returns(uint16)

func (*ConvertertypeOneCaller) DecimalLength

func (_ConvertertypeOne *ConvertertypeOneCaller) DecimalLength(opts *bind.CallOpts, _x *big.Int) (*big.Int, error)

DecimalLength is a free data retrieval call binding the contract method 0x6aa5332c.

Solidity: function decimalLength(uint256 _x) pure returns(uint256)

func (*ConvertertypeOneCaller) GeometricMean

func (_ConvertertypeOne *ConvertertypeOneCaller) GeometricMean(opts *bind.CallOpts, _values []*big.Int) (*big.Int, error)

GeometricMean is a free data retrieval call binding the contract method 0xa60e7724.

Solidity: function geometricMean(uint256[] _values) pure returns(uint256)

func (*ConvertertypeOneCaller) GetConnectorBalance

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) GetReturn

func (_ConvertertypeOne *ConvertertypeOneCaller) GetReturn(opts *bind.CallOpts, _sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.

Solidity: function getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)

func (*ConvertertypeOneCaller) HasETHReserve

func (_ConvertertypeOne *ConvertertypeOneCaller) HasETHReserve(opts *bind.CallOpts) (bool, error)

HasETHReserve is a free data retrieval call binding the contract method 0x12c2aca4.

Solidity: function hasETHReserve() view returns(bool)

func (*ConvertertypeOneCaller) IsActive

func (_ConvertertypeOne *ConvertertypeOneCaller) IsActive(opts *bind.CallOpts) (bool, error)

IsActive is a free data retrieval call binding the contract method 0x22f3e2d4.

Solidity: function isActive() view returns(bool)

func (*ConvertertypeOneCaller) IsV28OrHigher

func (_ConvertertypeOne *ConvertertypeOneCaller) IsV28OrHigher(opts *bind.CallOpts) (bool, error)

IsV28OrHigher is a free data retrieval call binding the contract method 0xd260529c.

Solidity: function isV28OrHigher() pure returns(bool)

func (*ConvertertypeOneCaller) MaxConversionFee

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) NewOwner

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) OnlyOwnerCanUpdateRegistry

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) Owner

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) PrevRegistry

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) Registry

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ReserveBalance

func (_ConvertertypeOne *ConvertertypeOneCaller) ReserveBalance(opts *bind.CallOpts, _reserveToken common.Address) (*big.Int, error)

ReserveBalance is a free data retrieval call binding the contract method 0xdc8de379.

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

func (*ConvertertypeOneCaller) ReserveRatio

func (_ConvertertypeOne *ConvertertypeOneCaller) ReserveRatio(opts *bind.CallOpts) (uint32, error)

ReserveRatio is a free data retrieval call binding the contract method 0x0c7d5cd8.

Solidity: function reserveRatio() view returns(uint32)

func (*ConvertertypeOneCaller) ReserveTokenCount

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ReserveTokens

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) ReserveWeight

func (_ConvertertypeOne *ConvertertypeOneCaller) ReserveWeight(opts *bind.CallOpts, _reserveToken common.Address) (uint32, error)

ReserveWeight is a free data retrieval call binding the contract method 0x1cfab290.

Solidity: function reserveWeight(address _reserveToken) view returns(uint32)

func (*ConvertertypeOneCaller) Reserves

func (_ConvertertypeOne *ConvertertypeOneCaller) Reserves(opts *bind.CallOpts, arg0 common.Address) (struct {
	Balance     *big.Int
	Weight      uint32
	Deprecated1 bool
	Deprecated2 bool
	IsSet       bool
}, error)

Reserves is a free data retrieval call binding the contract method 0xd66bd524.

Solidity: function reserves(address ) view returns(uint256 balance, uint32 weight, bool deprecated1, bool deprecated2, bool isSet)

func (*ConvertertypeOneCaller) RoundDiv

func (_ConvertertypeOne *ConvertertypeOneCaller) RoundDiv(opts *bind.CallOpts, _n *big.Int, _d *big.Int) (*big.Int, error)

RoundDiv is a free data retrieval call binding the contract method 0xbbb7e5d8.

Solidity: function roundDiv(uint256 _n, uint256 _d) pure returns(uint256)

func (*ConvertertypeOneCaller) TargetAmountAndFee

func (_ConvertertypeOne *ConvertertypeOneCaller) TargetAmountAndFee(opts *bind.CallOpts, _sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

TargetAmountAndFee is a free data retrieval call binding the contract method 0xaf94b8d8.

Solidity: function targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)

func (*ConvertertypeOneCaller) Token

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 (*ConvertertypeOneCaller) Version

func (_ConvertertypeOne *ConvertertypeOneCaller) 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 ConvertertypeOneCallerRaw

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

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

func (*ConvertertypeOneCallerRaw) Call

func (_ConvertertypeOne *ConvertertypeOneCallerRaw) 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 ConvertertypeOneCallerSession

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

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

func (*ConvertertypeOneCallerSession) Anchor

func (_ConvertertypeOne *ConvertertypeOneCallerSession) Anchor() (common.Address, error)

Anchor is a free data retrieval call binding the contract method 0xd3fb73b4.

Solidity: function anchor() view returns(address)

func (*ConvertertypeOneCallerSession) ConnectorTokenCount

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ConnectorTokenCount() (uint16, error)

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

Solidity: function connectorTokenCount() view returns(uint16)

func (*ConvertertypeOneCallerSession) ConnectorTokens

func (_ConvertertypeOne *ConvertertypeOneCallerSession) 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 (*ConvertertypeOneCallerSession) Connectors

func (_ConvertertypeOne *ConvertertypeOneCallerSession) 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 (*ConvertertypeOneCallerSession) ConversionFee

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ConversionFee() (uint32, error)

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

Solidity: function conversionFee() view returns(uint32)

func (*ConvertertypeOneCallerSession) ConversionWhitelist

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ConversionWhitelist() (common.Address, error)

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

Solidity: function conversionWhitelist() view returns(address)

func (*ConvertertypeOneCallerSession) ConversionsEnabled

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ConversionsEnabled() (bool, error)

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

Solidity: function conversionsEnabled() view returns(bool)

func (*ConvertertypeOneCallerSession) ConverterType

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ConverterType() (uint16, error)

ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.

Solidity: function converterType() pure returns(uint16)

func (*ConvertertypeOneCallerSession) DecimalLength

func (_ConvertertypeOne *ConvertertypeOneCallerSession) DecimalLength(_x *big.Int) (*big.Int, error)

DecimalLength is a free data retrieval call binding the contract method 0x6aa5332c.

Solidity: function decimalLength(uint256 _x) pure returns(uint256)

func (*ConvertertypeOneCallerSession) GeometricMean

func (_ConvertertypeOne *ConvertertypeOneCallerSession) GeometricMean(_values []*big.Int) (*big.Int, error)

GeometricMean is a free data retrieval call binding the contract method 0xa60e7724.

Solidity: function geometricMean(uint256[] _values) pure returns(uint256)

func (*ConvertertypeOneCallerSession) GetConnectorBalance

func (_ConvertertypeOne *ConvertertypeOneCallerSession) 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 (*ConvertertypeOneCallerSession) GetReturn

func (_ConvertertypeOne *ConvertertypeOneCallerSession) GetReturn(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.

Solidity: function getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)

func (*ConvertertypeOneCallerSession) HasETHReserve

func (_ConvertertypeOne *ConvertertypeOneCallerSession) HasETHReserve() (bool, error)

HasETHReserve is a free data retrieval call binding the contract method 0x12c2aca4.

Solidity: function hasETHReserve() view returns(bool)

func (*ConvertertypeOneCallerSession) IsActive

func (_ConvertertypeOne *ConvertertypeOneCallerSession) IsActive() (bool, error)

IsActive is a free data retrieval call binding the contract method 0x22f3e2d4.

Solidity: function isActive() view returns(bool)

func (*ConvertertypeOneCallerSession) IsV28OrHigher

func (_ConvertertypeOne *ConvertertypeOneCallerSession) IsV28OrHigher() (bool, error)

IsV28OrHigher is a free data retrieval call binding the contract method 0xd260529c.

Solidity: function isV28OrHigher() pure returns(bool)

func (*ConvertertypeOneCallerSession) MaxConversionFee

func (_ConvertertypeOne *ConvertertypeOneCallerSession) MaxConversionFee() (uint32, error)

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

Solidity: function maxConversionFee() view returns(uint32)

func (*ConvertertypeOneCallerSession) NewOwner

func (_ConvertertypeOne *ConvertertypeOneCallerSession) NewOwner() (common.Address, error)

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

Solidity: function newOwner() view returns(address)

func (*ConvertertypeOneCallerSession) OnlyOwnerCanUpdateRegistry

func (_ConvertertypeOne *ConvertertypeOneCallerSession) OnlyOwnerCanUpdateRegistry() (bool, error)

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

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*ConvertertypeOneCallerSession) Owner

func (_ConvertertypeOne *ConvertertypeOneCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ConvertertypeOneCallerSession) PrevRegistry

func (_ConvertertypeOne *ConvertertypeOneCallerSession) PrevRegistry() (common.Address, error)

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

Solidity: function prevRegistry() view returns(address)

func (*ConvertertypeOneCallerSession) Registry

func (_ConvertertypeOne *ConvertertypeOneCallerSession) Registry() (common.Address, error)

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

Solidity: function registry() view returns(address)

func (*ConvertertypeOneCallerSession) ReserveBalance

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ReserveBalance(_reserveToken common.Address) (*big.Int, error)

ReserveBalance is a free data retrieval call binding the contract method 0xdc8de379.

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

func (*ConvertertypeOneCallerSession) ReserveRatio

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ReserveRatio() (uint32, error)

ReserveRatio is a free data retrieval call binding the contract method 0x0c7d5cd8.

Solidity: function reserveRatio() view returns(uint32)

func (*ConvertertypeOneCallerSession) ReserveTokenCount

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ReserveTokenCount() (uint16, error)

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

Solidity: function reserveTokenCount() view returns(uint16)

func (*ConvertertypeOneCallerSession) ReserveTokens

func (_ConvertertypeOne *ConvertertypeOneCallerSession) 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 (*ConvertertypeOneCallerSession) ReserveWeight

func (_ConvertertypeOne *ConvertertypeOneCallerSession) ReserveWeight(_reserveToken common.Address) (uint32, error)

ReserveWeight is a free data retrieval call binding the contract method 0x1cfab290.

Solidity: function reserveWeight(address _reserveToken) view returns(uint32)

func (*ConvertertypeOneCallerSession) Reserves

func (_ConvertertypeOne *ConvertertypeOneCallerSession) Reserves(arg0 common.Address) (struct {
	Balance     *big.Int
	Weight      uint32
	Deprecated1 bool
	Deprecated2 bool
	IsSet       bool
}, error)

Reserves is a free data retrieval call binding the contract method 0xd66bd524.

Solidity: function reserves(address ) view returns(uint256 balance, uint32 weight, bool deprecated1, bool deprecated2, bool isSet)

func (*ConvertertypeOneCallerSession) RoundDiv

func (_ConvertertypeOne *ConvertertypeOneCallerSession) RoundDiv(_n *big.Int, _d *big.Int) (*big.Int, error)

RoundDiv is a free data retrieval call binding the contract method 0xbbb7e5d8.

Solidity: function roundDiv(uint256 _n, uint256 _d) pure returns(uint256)

func (*ConvertertypeOneCallerSession) TargetAmountAndFee

func (_ConvertertypeOne *ConvertertypeOneCallerSession) TargetAmountAndFee(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

TargetAmountAndFee is a free data retrieval call binding the contract method 0xaf94b8d8.

Solidity: function targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)

func (*ConvertertypeOneCallerSession) Token

func (_ConvertertypeOne *ConvertertypeOneCallerSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*ConvertertypeOneCallerSession) Version

func (_ConvertertypeOne *ConvertertypeOneCallerSession) Version() (uint16, error)

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

Solidity: function version() view returns(uint16)

type ConvertertypeOneConversion

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

ConvertertypeOneConversion represents a Conversion event raised by the ConvertertypeOne contract.

type ConvertertypeOneConversionFeeUpdate

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

ConvertertypeOneConversionFeeUpdate represents a ConversionFeeUpdate event raised by the ConvertertypeOne contract.

type ConvertertypeOneConversionFeeUpdateIterator

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

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

func (*ConvertertypeOneConversionFeeUpdateIterator) Close

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

func (*ConvertertypeOneConversionFeeUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOneConversionFeeUpdateIterator) 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 ConvertertypeOneConversionIterator

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

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

func (*ConvertertypeOneConversionIterator) Close

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

func (*ConvertertypeOneConversionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOneConversionIterator) 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 ConvertertypeOneFilterer

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

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

func NewConvertertypeOneFilterer

func NewConvertertypeOneFilterer(address common.Address, filterer bind.ContractFilterer) (*ConvertertypeOneFilterer, error)

NewConvertertypeOneFilterer creates a new log filterer instance of ConvertertypeOne, bound to a specific deployed contract.

func (*ConvertertypeOneFilterer) FilterActivation

func (_ConvertertypeOne *ConvertertypeOneFilterer) FilterActivation(opts *bind.FilterOpts, _type []uint16, _anchor []common.Address, _activated []bool) (*ConvertertypeOneActivationIterator, error)

FilterActivation is a free log retrieval operation binding the contract event 0x6b08c2e2c9969e55a647a764db9b554d64dc42f1a704da11a6d5b129ad163f2c.

Solidity: event Activation(uint16 indexed _type, address indexed _anchor, bool indexed _activated)

func (*ConvertertypeOneFilterer) FilterConversion

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

func (_ConvertertypeOne *ConvertertypeOneFilterer) FilterConversionFeeUpdate(opts *bind.FilterOpts) (*ConvertertypeOneConversionFeeUpdateIterator, error)

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

Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)

func (*ConvertertypeOneFilterer) FilterLiquidityAdded

func (_ConvertertypeOne *ConvertertypeOneFilterer) FilterLiquidityAdded(opts *bind.FilterOpts, _provider []common.Address, _reserveToken []common.Address) (*ConvertertypeOneLiquidityAddedIterator, error)

FilterLiquidityAdded is a free log retrieval operation binding the contract event 0x4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7.

Solidity: event LiquidityAdded(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)

func (*ConvertertypeOneFilterer) FilterLiquidityRemoved

func (_ConvertertypeOne *ConvertertypeOneFilterer) FilterLiquidityRemoved(opts *bind.FilterOpts, _provider []common.Address, _reserveToken []common.Address) (*ConvertertypeOneLiquidityRemovedIterator, error)

FilterLiquidityRemoved is a free log retrieval operation binding the contract event 0xbc7d19d505c7ec4db83f3b51f19fb98c4c8a99922e7839d1ee608dfbee29501b.

Solidity: event LiquidityRemoved(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)

func (*ConvertertypeOneFilterer) FilterOwnerUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) FilterOwnerUpdate(opts *bind.FilterOpts, _prevOwner []common.Address, _newOwner []common.Address) (*ConvertertypeOneOwnerUpdateIterator, error)

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

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

func (*ConvertertypeOneFilterer) FilterPriceDataUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) FilterPriceDataUpdate(opts *bind.FilterOpts, _connectorToken []common.Address) (*ConvertertypeOnePriceDataUpdateIterator, 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 (*ConvertertypeOneFilterer) FilterTokenRateUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) FilterTokenRateUpdate(opts *bind.FilterOpts, _token1 []common.Address, _token2 []common.Address) (*ConvertertypeOneTokenRateUpdateIterator, error)

FilterTokenRateUpdate is a free log retrieval operation binding the contract event 0x77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c24.

Solidity: event TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)

func (*ConvertertypeOneFilterer) ParseActivation

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParseActivation(log types.Log) (*ConvertertypeOneActivation, error)

ParseActivation is a log parse operation binding the contract event 0x6b08c2e2c9969e55a647a764db9b554d64dc42f1a704da11a6d5b129ad163f2c.

Solidity: event Activation(uint16 indexed _type, address indexed _anchor, bool indexed _activated)

func (*ConvertertypeOneFilterer) ParseConversion

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParseConversion(log types.Log) (*ConvertertypeOneConversion, 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 (*ConvertertypeOneFilterer) ParseConversionFeeUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParseConversionFeeUpdate(log types.Log) (*ConvertertypeOneConversionFeeUpdate, error)

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

Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)

func (*ConvertertypeOneFilterer) ParseLiquidityAdded

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParseLiquidityAdded(log types.Log) (*ConvertertypeOneLiquidityAdded, error)

ParseLiquidityAdded is a log parse operation binding the contract event 0x4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7.

Solidity: event LiquidityAdded(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)

func (*ConvertertypeOneFilterer) ParseLiquidityRemoved

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParseLiquidityRemoved(log types.Log) (*ConvertertypeOneLiquidityRemoved, error)

ParseLiquidityRemoved is a log parse operation binding the contract event 0xbc7d19d505c7ec4db83f3b51f19fb98c4c8a99922e7839d1ee608dfbee29501b.

Solidity: event LiquidityRemoved(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)

func (*ConvertertypeOneFilterer) ParseOwnerUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParseOwnerUpdate(log types.Log) (*ConvertertypeOneOwnerUpdate, error)

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

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

func (*ConvertertypeOneFilterer) ParsePriceDataUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParsePriceDataUpdate(log types.Log) (*ConvertertypeOnePriceDataUpdate, 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 (*ConvertertypeOneFilterer) ParseTokenRateUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) ParseTokenRateUpdate(log types.Log) (*ConvertertypeOneTokenRateUpdate, error)

ParseTokenRateUpdate is a log parse operation binding the contract event 0x77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c24.

Solidity: event TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)

func (*ConvertertypeOneFilterer) WatchActivation

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchActivation(opts *bind.WatchOpts, sink chan<- *ConvertertypeOneActivation, _type []uint16, _anchor []common.Address, _activated []bool) (event.Subscription, error)

WatchActivation is a free log subscription operation binding the contract event 0x6b08c2e2c9969e55a647a764db9b554d64dc42f1a704da11a6d5b129ad163f2c.

Solidity: event Activation(uint16 indexed _type, address indexed _anchor, bool indexed _activated)

func (*ConvertertypeOneFilterer) WatchConversion

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchConversion(opts *bind.WatchOpts, sink chan<- *ConvertertypeOneConversion, _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 (*ConvertertypeOneFilterer) WatchConversionFeeUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchConversionFeeUpdate(opts *bind.WatchOpts, sink chan<- *ConvertertypeOneConversionFeeUpdate) (event.Subscription, error)

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

Solidity: event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)

func (*ConvertertypeOneFilterer) WatchLiquidityAdded

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *ConvertertypeOneLiquidityAdded, _provider []common.Address, _reserveToken []common.Address) (event.Subscription, error)

WatchLiquidityAdded is a free log subscription operation binding the contract event 0x4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7.

Solidity: event LiquidityAdded(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)

func (*ConvertertypeOneFilterer) WatchLiquidityRemoved

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchLiquidityRemoved(opts *bind.WatchOpts, sink chan<- *ConvertertypeOneLiquidityRemoved, _provider []common.Address, _reserveToken []common.Address) (event.Subscription, error)

WatchLiquidityRemoved is a free log subscription operation binding the contract event 0xbc7d19d505c7ec4db83f3b51f19fb98c4c8a99922e7839d1ee608dfbee29501b.

Solidity: event LiquidityRemoved(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)

func (*ConvertertypeOneFilterer) WatchOwnerUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *ConvertertypeOneOwnerUpdate, _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 (*ConvertertypeOneFilterer) WatchPriceDataUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchPriceDataUpdate(opts *bind.WatchOpts, sink chan<- *ConvertertypeOnePriceDataUpdate, _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 (*ConvertertypeOneFilterer) WatchTokenRateUpdate

func (_ConvertertypeOne *ConvertertypeOneFilterer) WatchTokenRateUpdate(opts *bind.WatchOpts, sink chan<- *ConvertertypeOneTokenRateUpdate, _token1 []common.Address, _token2 []common.Address) (event.Subscription, error)

WatchTokenRateUpdate is a free log subscription operation binding the contract event 0x77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c24.

Solidity: event TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)

type ConvertertypeOneLiquidityAdded

type ConvertertypeOneLiquidityAdded struct {
	Provider     common.Address
	ReserveToken common.Address
	Amount       *big.Int
	NewBalance   *big.Int
	NewSupply    *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ConvertertypeOneLiquidityAdded represents a LiquidityAdded event raised by the ConvertertypeOne contract.

type ConvertertypeOneLiquidityAddedIterator

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

ConvertertypeOneLiquidityAddedIterator is returned from FilterLiquidityAdded and is used to iterate over the raw logs and unpacked data for LiquidityAdded events raised by the ConvertertypeOne contract.

func (*ConvertertypeOneLiquidityAddedIterator) Close

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

func (*ConvertertypeOneLiquidityAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOneLiquidityAddedIterator) 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 ConvertertypeOneLiquidityRemoved

type ConvertertypeOneLiquidityRemoved struct {
	Provider     common.Address
	ReserveToken common.Address
	Amount       *big.Int
	NewBalance   *big.Int
	NewSupply    *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ConvertertypeOneLiquidityRemoved represents a LiquidityRemoved event raised by the ConvertertypeOne contract.

type ConvertertypeOneLiquidityRemovedIterator

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

ConvertertypeOneLiquidityRemovedIterator is returned from FilterLiquidityRemoved and is used to iterate over the raw logs and unpacked data for LiquidityRemoved events raised by the ConvertertypeOne contract.

func (*ConvertertypeOneLiquidityRemovedIterator) Close

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

func (*ConvertertypeOneLiquidityRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOneLiquidityRemovedIterator) 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 ConvertertypeOneOwnerUpdate

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

ConvertertypeOneOwnerUpdate represents a OwnerUpdate event raised by the ConvertertypeOne contract.

type ConvertertypeOneOwnerUpdateIterator

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

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

func (*ConvertertypeOneOwnerUpdateIterator) Close

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

func (*ConvertertypeOneOwnerUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOneOwnerUpdateIterator) 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 ConvertertypeOnePriceDataUpdate

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

ConvertertypeOnePriceDataUpdate represents a PriceDataUpdate event raised by the ConvertertypeOne contract.

type ConvertertypeOnePriceDataUpdateIterator

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

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

func (*ConvertertypeOnePriceDataUpdateIterator) Close

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

func (*ConvertertypeOnePriceDataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOnePriceDataUpdateIterator) 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 ConvertertypeOneRaw

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

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

func (*ConvertertypeOneRaw) Call

func (_ConvertertypeOne *ConvertertypeOneRaw) 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 (*ConvertertypeOneRaw) Transact

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

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

func (*ConvertertypeOneRaw) Transfer

func (_ConvertertypeOne *ConvertertypeOneRaw) 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 ConvertertypeOneSession

type ConvertertypeOneSession struct {
	Contract     *ConvertertypeOne // 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
}

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

func (*ConvertertypeOneSession) AcceptAnchorOwnership

func (_ConvertertypeOne *ConvertertypeOneSession) AcceptAnchorOwnership() (*types.Transaction, error)

AcceptAnchorOwnership is a paid mutator transaction binding the contract method 0xcdc91c69.

Solidity: function acceptAnchorOwnership() returns()

func (*ConvertertypeOneSession) AcceptOwnership

func (_ConvertertypeOne *ConvertertypeOneSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ConvertertypeOneSession) AcceptTokenOwnership

func (_ConvertertypeOne *ConvertertypeOneSession) AcceptTokenOwnership() (*types.Transaction, error)

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

Solidity: function acceptTokenOwnership() returns()

func (*ConvertertypeOneSession) AddLiquidity

func (_ConvertertypeOne *ConvertertypeOneSession) AddLiquidity(_reserveTokens []common.Address, _reserveAmounts []*big.Int, _minReturn *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x7d8916bd.

Solidity: function addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns()

func (*ConvertertypeOneSession) AddReserve

func (_ConvertertypeOne *ConvertertypeOneSession) AddReserve(_token common.Address, _weight uint32) (*types.Transaction, error)

AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.

Solidity: function addReserve(address _token, uint32 _weight) returns()

func (*ConvertertypeOneSession) Anchor

func (_ConvertertypeOne *ConvertertypeOneSession) Anchor() (common.Address, error)

Anchor is a free data retrieval call binding the contract method 0xd3fb73b4.

Solidity: function anchor() view returns(address)

func (*ConvertertypeOneSession) ConnectorTokenCount

func (_ConvertertypeOne *ConvertertypeOneSession) ConnectorTokenCount() (uint16, error)

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

Solidity: function connectorTokenCount() view returns(uint16)

func (*ConvertertypeOneSession) ConnectorTokens

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) Connectors

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) ConversionFee

func (_ConvertertypeOne *ConvertertypeOneSession) ConversionFee() (uint32, error)

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

Solidity: function conversionFee() view returns(uint32)

func (*ConvertertypeOneSession) ConversionWhitelist

func (_ConvertertypeOne *ConvertertypeOneSession) ConversionWhitelist() (common.Address, error)

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

Solidity: function conversionWhitelist() view returns(address)

func (*ConvertertypeOneSession) ConversionsEnabled

func (_ConvertertypeOne *ConvertertypeOneSession) ConversionsEnabled() (bool, error)

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

Solidity: function conversionsEnabled() view returns(bool)

func (*ConvertertypeOneSession) Convert

func (_ConvertertypeOne *ConvertertypeOneSession) Convert(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int, _trader common.Address, _beneficiary common.Address) (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0xe8dc12ff.

Solidity: function convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns(uint256)

func (*ConvertertypeOneSession) ConverterType

func (_ConvertertypeOne *ConvertertypeOneSession) ConverterType() (uint16, error)

ConverterType is a free data retrieval call binding the contract method 0x3e8ff43f.

Solidity: function converterType() pure returns(uint16)

func (*ConvertertypeOneSession) DecimalLength

func (_ConvertertypeOne *ConvertertypeOneSession) DecimalLength(_x *big.Int) (*big.Int, error)

DecimalLength is a free data retrieval call binding the contract method 0x6aa5332c.

Solidity: function decimalLength(uint256 _x) pure returns(uint256)

func (*ConvertertypeOneSession) Fallback

func (_ConvertertypeOne *ConvertertypeOneSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ConvertertypeOneSession) Fund

func (_ConvertertypeOne *ConvertertypeOneSession) Fund(_amount *big.Int) (*types.Transaction, error)

Fund is a paid mutator transaction binding the contract method 0xca1d209d.

Solidity: function fund(uint256 _amount) payable returns()

func (*ConvertertypeOneSession) GeometricMean

func (_ConvertertypeOne *ConvertertypeOneSession) GeometricMean(_values []*big.Int) (*big.Int, error)

GeometricMean is a free data retrieval call binding the contract method 0xa60e7724.

Solidity: function geometricMean(uint256[] _values) pure returns(uint256)

func (*ConvertertypeOneSession) GetConnectorBalance

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) GetReturn

func (_ConvertertypeOne *ConvertertypeOneSession) GetReturn(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

GetReturn is a free data retrieval call binding the contract method 0x1e1401f8.

Solidity: function getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)

func (*ConvertertypeOneSession) HasETHReserve

func (_ConvertertypeOne *ConvertertypeOneSession) HasETHReserve() (bool, error)

HasETHReserve is a free data retrieval call binding the contract method 0x12c2aca4.

Solidity: function hasETHReserve() view returns(bool)

func (*ConvertertypeOneSession) IsActive

func (_ConvertertypeOne *ConvertertypeOneSession) IsActive() (bool, error)

IsActive is a free data retrieval call binding the contract method 0x22f3e2d4.

Solidity: function isActive() view returns(bool)

func (*ConvertertypeOneSession) IsV28OrHigher

func (_ConvertertypeOne *ConvertertypeOneSession) IsV28OrHigher() (bool, error)

IsV28OrHigher is a free data retrieval call binding the contract method 0xd260529c.

Solidity: function isV28OrHigher() pure returns(bool)

func (*ConvertertypeOneSession) Liquidate

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) MaxConversionFee

func (_ConvertertypeOne *ConvertertypeOneSession) MaxConversionFee() (uint32, error)

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

Solidity: function maxConversionFee() view returns(uint32)

func (*ConvertertypeOneSession) NewOwner

func (_ConvertertypeOne *ConvertertypeOneSession) NewOwner() (common.Address, error)

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

Solidity: function newOwner() view returns(address)

func (*ConvertertypeOneSession) OnlyOwnerCanUpdateRegistry

func (_ConvertertypeOne *ConvertertypeOneSession) OnlyOwnerCanUpdateRegistry() (bool, error)

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

Solidity: function onlyOwnerCanUpdateRegistry() view returns(bool)

func (*ConvertertypeOneSession) Owner

func (_ConvertertypeOne *ConvertertypeOneSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ConvertertypeOneSession) PrevRegistry

func (_ConvertertypeOne *ConvertertypeOneSession) PrevRegistry() (common.Address, error)

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

Solidity: function prevRegistry() view returns(address)

func (*ConvertertypeOneSession) Registry

func (_ConvertertypeOne *ConvertertypeOneSession) Registry() (common.Address, error)

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

Solidity: function registry() view returns(address)

func (*ConvertertypeOneSession) RemoveLiquidity

func (_ConvertertypeOne *ConvertertypeOneSession) RemoveLiquidity(_amount *big.Int, _reserveTokens []common.Address, _reserveMinReturnAmounts []*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xb127c0a5.

Solidity: function removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns()

func (*ConvertertypeOneSession) ReserveBalance

func (_ConvertertypeOne *ConvertertypeOneSession) ReserveBalance(_reserveToken common.Address) (*big.Int, error)

ReserveBalance is a free data retrieval call binding the contract method 0xdc8de379.

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

func (*ConvertertypeOneSession) ReserveRatio

func (_ConvertertypeOne *ConvertertypeOneSession) ReserveRatio() (uint32, error)

ReserveRatio is a free data retrieval call binding the contract method 0x0c7d5cd8.

Solidity: function reserveRatio() view returns(uint32)

func (*ConvertertypeOneSession) ReserveTokenCount

func (_ConvertertypeOne *ConvertertypeOneSession) ReserveTokenCount() (uint16, error)

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

Solidity: function reserveTokenCount() view returns(uint16)

func (*ConvertertypeOneSession) ReserveTokens

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) ReserveWeight

func (_ConvertertypeOne *ConvertertypeOneSession) ReserveWeight(_reserveToken common.Address) (uint32, error)

ReserveWeight is a free data retrieval call binding the contract method 0x1cfab290.

Solidity: function reserveWeight(address _reserveToken) view returns(uint32)

func (*ConvertertypeOneSession) Reserves

func (_ConvertertypeOne *ConvertertypeOneSession) Reserves(arg0 common.Address) (struct {
	Balance     *big.Int
	Weight      uint32
	Deprecated1 bool
	Deprecated2 bool
	IsSet       bool
}, error)

Reserves is a free data retrieval call binding the contract method 0xd66bd524.

Solidity: function reserves(address ) view returns(uint256 balance, uint32 weight, bool deprecated1, bool deprecated2, bool isSet)

func (*ConvertertypeOneSession) RestoreRegistry

func (_ConvertertypeOne *ConvertertypeOneSession) RestoreRegistry() (*types.Transaction, error)

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

Solidity: function restoreRegistry() returns()

func (*ConvertertypeOneSession) RestrictRegistryUpdate

func (_ConvertertypeOne *ConvertertypeOneSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

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

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*ConvertertypeOneSession) RoundDiv

func (_ConvertertypeOne *ConvertertypeOneSession) RoundDiv(_n *big.Int, _d *big.Int) (*big.Int, error)

RoundDiv is a free data retrieval call binding the contract method 0xbbb7e5d8.

Solidity: function roundDiv(uint256 _n, uint256 _d) pure returns(uint256)

func (*ConvertertypeOneSession) SetConversionFee

func (_ConvertertypeOne *ConvertertypeOneSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)

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

Solidity: function setConversionFee(uint32 _conversionFee) returns()

func (*ConvertertypeOneSession) SetConversionWhitelist

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) TargetAmountAndFee

func (_ConvertertypeOne *ConvertertypeOneSession) TargetAmountAndFee(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int) (*big.Int, *big.Int, error)

TargetAmountAndFee is a free data retrieval call binding the contract method 0xaf94b8d8.

Solidity: function targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns(uint256, uint256)

func (*ConvertertypeOneSession) Token

func (_ConvertertypeOne *ConvertertypeOneSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*ConvertertypeOneSession) TransferAnchorOwnership

func (_ConvertertypeOne *ConvertertypeOneSession) TransferAnchorOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferAnchorOwnership is a paid mutator transaction binding the contract method 0x67b6d57c.

Solidity: function transferAnchorOwnership(address _newOwner) returns()

func (*ConvertertypeOneSession) TransferOwnership

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) TransferTokenOwnership

func (_ConvertertypeOne *ConvertertypeOneSession) 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 (*ConvertertypeOneSession) UpdateRegistry

func (_ConvertertypeOne *ConvertertypeOneSession) UpdateRegistry() (*types.Transaction, error)

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

Solidity: function updateRegistry() returns()

func (*ConvertertypeOneSession) Upgrade

func (_ConvertertypeOne *ConvertertypeOneSession) Upgrade() (*types.Transaction, error)

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

Solidity: function upgrade() returns()

func (*ConvertertypeOneSession) Version

func (_ConvertertypeOne *ConvertertypeOneSession) Version() (uint16, error)

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

Solidity: function version() view returns(uint16)

func (*ConvertertypeOneSession) WithdrawETH

func (_ConvertertypeOne *ConvertertypeOneSession) WithdrawETH(_to common.Address) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x690d8320.

Solidity: function withdrawETH(address _to) returns()

func (*ConvertertypeOneSession) WithdrawFromAnchor

func (_ConvertertypeOne *ConvertertypeOneSession) WithdrawFromAnchor(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFromAnchor is a paid mutator transaction binding the contract method 0x395900d4.

Solidity: function withdrawFromAnchor(address _token, address _to, uint256 _amount) returns()

func (*ConvertertypeOneSession) WithdrawTokens

func (_ConvertertypeOne *ConvertertypeOneSession) 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 ConvertertypeOneTokenRateUpdate

type ConvertertypeOneTokenRateUpdate struct {
	Token1 common.Address
	Token2 common.Address
	RateN  *big.Int
	RateD  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ConvertertypeOneTokenRateUpdate represents a TokenRateUpdate event raised by the ConvertertypeOne contract.

type ConvertertypeOneTokenRateUpdateIterator

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

ConvertertypeOneTokenRateUpdateIterator is returned from FilterTokenRateUpdate and is used to iterate over the raw logs and unpacked data for TokenRateUpdate events raised by the ConvertertypeOne contract.

func (*ConvertertypeOneTokenRateUpdateIterator) Close

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

func (*ConvertertypeOneTokenRateUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConvertertypeOneTokenRateUpdateIterator) 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 ConvertertypeOneTransactor

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

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

func NewConvertertypeOneTransactor

func NewConvertertypeOneTransactor(address common.Address, transactor bind.ContractTransactor) (*ConvertertypeOneTransactor, error)

NewConvertertypeOneTransactor creates a new write-only instance of ConvertertypeOne, bound to a specific deployed contract.

func (*ConvertertypeOneTransactor) AcceptAnchorOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactor) AcceptAnchorOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptAnchorOwnership is a paid mutator transaction binding the contract method 0xcdc91c69.

Solidity: function acceptAnchorOwnership() returns()

func (*ConvertertypeOneTransactor) AcceptOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ConvertertypeOneTransactor) AcceptTokenOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactor) AcceptTokenOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptTokenOwnership() returns()

func (*ConvertertypeOneTransactor) AddLiquidity

func (_ConvertertypeOne *ConvertertypeOneTransactor) AddLiquidity(opts *bind.TransactOpts, _reserveTokens []common.Address, _reserveAmounts []*big.Int, _minReturn *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x7d8916bd.

Solidity: function addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns()

func (*ConvertertypeOneTransactor) AddReserve

func (_ConvertertypeOne *ConvertertypeOneTransactor) AddReserve(opts *bind.TransactOpts, _token common.Address, _weight uint32) (*types.Transaction, error)

AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.

Solidity: function addReserve(address _token, uint32 _weight) returns()

func (*ConvertertypeOneTransactor) Convert

func (_ConvertertypeOne *ConvertertypeOneTransactor) Convert(opts *bind.TransactOpts, _sourceToken common.Address, _targetToken common.Address, _amount *big.Int, _trader common.Address, _beneficiary common.Address) (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0xe8dc12ff.

Solidity: function convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns(uint256)

func (*ConvertertypeOneTransactor) Fallback

func (_ConvertertypeOne *ConvertertypeOneTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ConvertertypeOneTransactor) Fund

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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) payable returns()

func (*ConvertertypeOneTransactor) Liquidate

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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 (*ConvertertypeOneTransactor) RemoveLiquidity

func (_ConvertertypeOne *ConvertertypeOneTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _reserveTokens []common.Address, _reserveMinReturnAmounts []*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xb127c0a5.

Solidity: function removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns()

func (*ConvertertypeOneTransactor) RestoreRegistry

func (_ConvertertypeOne *ConvertertypeOneTransactor) RestoreRegistry(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function restoreRegistry() returns()

func (*ConvertertypeOneTransactor) RestrictRegistryUpdate

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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 (*ConvertertypeOneTransactor) SetConversionFee

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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 (*ConvertertypeOneTransactor) SetConversionWhitelist

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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 (*ConvertertypeOneTransactor) TransferAnchorOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactor) TransferAnchorOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

TransferAnchorOwnership is a paid mutator transaction binding the contract method 0x67b6d57c.

Solidity: function transferAnchorOwnership(address _newOwner) returns()

func (*ConvertertypeOneTransactor) TransferOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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 (*ConvertertypeOneTransactor) TransferTokenOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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 (*ConvertertypeOneTransactor) UpdateRegistry

func (_ConvertertypeOne *ConvertertypeOneTransactor) UpdateRegistry(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function updateRegistry() returns()

func (*ConvertertypeOneTransactor) Upgrade

func (_ConvertertypeOne *ConvertertypeOneTransactor) Upgrade(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function upgrade() returns()

func (*ConvertertypeOneTransactor) WithdrawETH

func (_ConvertertypeOne *ConvertertypeOneTransactor) WithdrawETH(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x690d8320.

Solidity: function withdrawETH(address _to) returns()

func (*ConvertertypeOneTransactor) WithdrawFromAnchor

func (_ConvertertypeOne *ConvertertypeOneTransactor) WithdrawFromAnchor(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFromAnchor is a paid mutator transaction binding the contract method 0x395900d4.

Solidity: function withdrawFromAnchor(address _token, address _to, uint256 _amount) returns()

func (*ConvertertypeOneTransactor) WithdrawTokens

func (_ConvertertypeOne *ConvertertypeOneTransactor) 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 ConvertertypeOneTransactorRaw

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

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

func (*ConvertertypeOneTransactorRaw) Transact

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

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

func (*ConvertertypeOneTransactorRaw) Transfer

func (_ConvertertypeOne *ConvertertypeOneTransactorRaw) 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 ConvertertypeOneTransactorSession

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

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

func (*ConvertertypeOneTransactorSession) AcceptAnchorOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) AcceptAnchorOwnership() (*types.Transaction, error)

AcceptAnchorOwnership is a paid mutator transaction binding the contract method 0xcdc91c69.

Solidity: function acceptAnchorOwnership() returns()

func (*ConvertertypeOneTransactorSession) AcceptOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ConvertertypeOneTransactorSession) AcceptTokenOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) AcceptTokenOwnership() (*types.Transaction, error)

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

Solidity: function acceptTokenOwnership() returns()

func (*ConvertertypeOneTransactorSession) AddLiquidity

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) AddLiquidity(_reserveTokens []common.Address, _reserveAmounts []*big.Int, _minReturn *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x7d8916bd.

Solidity: function addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns()

func (*ConvertertypeOneTransactorSession) AddReserve

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) AddReserve(_token common.Address, _weight uint32) (*types.Transaction, error)

AddReserve is a paid mutator transaction binding the contract method 0x6a49d2c4.

Solidity: function addReserve(address _token, uint32 _weight) returns()

func (*ConvertertypeOneTransactorSession) Convert

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) Convert(_sourceToken common.Address, _targetToken common.Address, _amount *big.Int, _trader common.Address, _beneficiary common.Address) (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0xe8dc12ff.

Solidity: function convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns(uint256)

func (*ConvertertypeOneTransactorSession) Fallback

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*ConvertertypeOneTransactorSession) Fund

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) Fund(_amount *big.Int) (*types.Transaction, error)

Fund is a paid mutator transaction binding the contract method 0xca1d209d.

Solidity: function fund(uint256 _amount) payable returns()

func (*ConvertertypeOneTransactorSession) Liquidate

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) 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 (*ConvertertypeOneTransactorSession) RemoveLiquidity

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) RemoveLiquidity(_amount *big.Int, _reserveTokens []common.Address, _reserveMinReturnAmounts []*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xb127c0a5.

Solidity: function removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns()

func (*ConvertertypeOneTransactorSession) RestoreRegistry

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) RestoreRegistry() (*types.Transaction, error)

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

Solidity: function restoreRegistry() returns()

func (*ConvertertypeOneTransactorSession) RestrictRegistryUpdate

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) RestrictRegistryUpdate(_onlyOwnerCanUpdateRegistry bool) (*types.Transaction, error)

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

Solidity: function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) returns()

func (*ConvertertypeOneTransactorSession) SetConversionFee

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) SetConversionFee(_conversionFee uint32) (*types.Transaction, error)

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

Solidity: function setConversionFee(uint32 _conversionFee) returns()

func (*ConvertertypeOneTransactorSession) SetConversionWhitelist

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) 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 (*ConvertertypeOneTransactorSession) TransferAnchorOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) TransferAnchorOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferAnchorOwnership is a paid mutator transaction binding the contract method 0x67b6d57c.

Solidity: function transferAnchorOwnership(address _newOwner) returns()

func (*ConvertertypeOneTransactorSession) TransferOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) 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 (*ConvertertypeOneTransactorSession) TransferTokenOwnership

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) 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 (*ConvertertypeOneTransactorSession) UpdateRegistry

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) UpdateRegistry() (*types.Transaction, error)

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

Solidity: function updateRegistry() returns()

func (*ConvertertypeOneTransactorSession) Upgrade

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) Upgrade() (*types.Transaction, error)

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

Solidity: function upgrade() returns()

func (*ConvertertypeOneTransactorSession) WithdrawETH

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) WithdrawETH(_to common.Address) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x690d8320.

Solidity: function withdrawETH(address _to) returns()

func (*ConvertertypeOneTransactorSession) WithdrawFromAnchor

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) WithdrawFromAnchor(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFromAnchor is a paid mutator transaction binding the contract method 0x395900d4.

Solidity: function withdrawFromAnchor(address _token, address _to, uint256 _amount) returns()

func (*ConvertertypeOneTransactorSession) WithdrawTokens

func (_ConvertertypeOne *ConvertertypeOneTransactorSession) 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