kyber

package
v1.2.1-rc-27 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const KyberABI = "" /* 11487-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Kyber

type Kyber struct {
	KyberCaller     // Read-only binding to the contract
	KyberTransactor // Write-only binding to the contract
	KyberFilterer   // Log filterer for contract events
}

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

func NewKyber

func NewKyber(address common.Address, backend bind.ContractBackend) (*Kyber, error)

NewKyber creates a new instance of Kyber, bound to a specific deployed contract.

type KyberAdminClaimed

type KyberAdminClaimed struct {
	NewAdmin      common.Address
	PreviousAdmin common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

KyberAdminClaimed represents a AdminClaimed event raised by the Kyber contract.

type KyberAdminClaimedIterator

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

KyberAdminClaimedIterator is returned from FilterAdminClaimed and is used to iterate over the raw logs and unpacked data for AdminClaimed events raised by the Kyber contract.

func (*KyberAdminClaimedIterator) Close

func (it *KyberAdminClaimedIterator) Close() error

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

func (*KyberAdminClaimedIterator) Error

func (it *KyberAdminClaimedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberAdminClaimedIterator) Next

func (it *KyberAdminClaimedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberAlerterAdded

type KyberAlerterAdded struct {
	NewAlerter common.Address
	IsAdd      bool
	Raw        types.Log // Blockchain specific contextual infos
}

KyberAlerterAdded represents a AlerterAdded event raised by the Kyber contract.

type KyberAlerterAddedIterator

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

KyberAlerterAddedIterator is returned from FilterAlerterAdded and is used to iterate over the raw logs and unpacked data for AlerterAdded events raised by the Kyber contract.

func (*KyberAlerterAddedIterator) Close

func (it *KyberAlerterAddedIterator) Close() error

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

func (*KyberAlerterAddedIterator) Error

func (it *KyberAlerterAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberAlerterAddedIterator) Next

func (it *KyberAlerterAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberCaller

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

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

func NewKyberCaller

func NewKyberCaller(address common.Address, caller bind.ContractCaller) (*KyberCaller, error)

NewKyberCaller creates a new read-only instance of Kyber, bound to a specific deployed contract.

func (*KyberCaller) Admin

func (_Kyber *KyberCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*KyberCaller) Enabled

func (_Kyber *KyberCaller) Enabled(opts *bind.CallOpts) (bool, error)

Enabled is a free data retrieval call binding the contract method 0x238dafe0.

Solidity: function enabled() view returns(bool)

func (*KyberCaller) GetAlerters

func (_Kyber *KyberCaller) GetAlerters(opts *bind.CallOpts) ([]common.Address, error)

GetAlerters is a free data retrieval call binding the contract method 0x7c423f54.

Solidity: function getAlerters() view returns(address[])

func (*KyberCaller) GetExpectedRate

func (_Kyber *KyberCaller) GetExpectedRate(opts *bind.CallOpts, src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	WorstRate    *big.Int
}, error)

GetExpectedRate is a free data retrieval call binding the contract method 0x809a9e55.

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) view returns(uint256 expectedRate, uint256 worstRate)

func (*KyberCaller) GetExpectedRateAfterFee

func (_Kyber *KyberCaller) GetExpectedRateAfterFee(opts *bind.CallOpts, src common.Address, dest common.Address, srcQty *big.Int, platformFeeBps *big.Int, hint []byte) (*big.Int, error)

GetExpectedRateAfterFee is a free data retrieval call binding the contract method 0x418436bc.

Solidity: function getExpectedRateAfterFee(address src, address dest, uint256 srcQty, uint256 platformFeeBps, bytes hint) view returns(uint256 expectedRate)

func (*KyberCaller) GetOperators

func (_Kyber *KyberCaller) GetOperators(opts *bind.CallOpts) ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*KyberCaller) KyberHintHandler

func (_Kyber *KyberCaller) KyberHintHandler(opts *bind.CallOpts) (common.Address, error)

KyberHintHandler is a free data retrieval call binding the contract method 0x13c213b7.

Solidity: function kyberHintHandler() view returns(address)

func (*KyberCaller) KyberNetwork

func (_Kyber *KyberCaller) KyberNetwork(opts *bind.CallOpts) (common.Address, error)

KyberNetwork is a free data retrieval call binding the contract method 0xb78b842d.

Solidity: function kyberNetwork() view returns(address)

func (*KyberCaller) MaxGasPrice

func (_Kyber *KyberCaller) MaxGasPrice(opts *bind.CallOpts) (*big.Int, error)

MaxGasPrice is a free data retrieval call binding the contract method 0x3de39c11.

Solidity: function maxGasPrice() view returns(uint256)

func (*KyberCaller) PendingAdmin

func (_Kyber *KyberCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

type KyberCallerRaw

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

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

func (*KyberCallerRaw) Call

func (_Kyber *KyberCallerRaw) 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 KyberCallerSession

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

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

func (*KyberCallerSession) Admin

func (_Kyber *KyberCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*KyberCallerSession) Enabled

func (_Kyber *KyberCallerSession) Enabled() (bool, error)

Enabled is a free data retrieval call binding the contract method 0x238dafe0.

Solidity: function enabled() view returns(bool)

func (*KyberCallerSession) GetAlerters

func (_Kyber *KyberCallerSession) GetAlerters() ([]common.Address, error)

GetAlerters is a free data retrieval call binding the contract method 0x7c423f54.

Solidity: function getAlerters() view returns(address[])

func (*KyberCallerSession) GetExpectedRate

func (_Kyber *KyberCallerSession) GetExpectedRate(src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	WorstRate    *big.Int
}, error)

GetExpectedRate is a free data retrieval call binding the contract method 0x809a9e55.

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) view returns(uint256 expectedRate, uint256 worstRate)

func (*KyberCallerSession) GetExpectedRateAfterFee

func (_Kyber *KyberCallerSession) GetExpectedRateAfterFee(src common.Address, dest common.Address, srcQty *big.Int, platformFeeBps *big.Int, hint []byte) (*big.Int, error)

GetExpectedRateAfterFee is a free data retrieval call binding the contract method 0x418436bc.

Solidity: function getExpectedRateAfterFee(address src, address dest, uint256 srcQty, uint256 platformFeeBps, bytes hint) view returns(uint256 expectedRate)

func (*KyberCallerSession) GetOperators

func (_Kyber *KyberCallerSession) GetOperators() ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*KyberCallerSession) KyberHintHandler

func (_Kyber *KyberCallerSession) KyberHintHandler() (common.Address, error)

KyberHintHandler is a free data retrieval call binding the contract method 0x13c213b7.

Solidity: function kyberHintHandler() view returns(address)

func (*KyberCallerSession) KyberNetwork

func (_Kyber *KyberCallerSession) KyberNetwork() (common.Address, error)

KyberNetwork is a free data retrieval call binding the contract method 0xb78b842d.

Solidity: function kyberNetwork() view returns(address)

func (*KyberCallerSession) MaxGasPrice

func (_Kyber *KyberCallerSession) MaxGasPrice() (*big.Int, error)

MaxGasPrice is a free data retrieval call binding the contract method 0x3de39c11.

Solidity: function maxGasPrice() view returns(uint256)

func (*KyberCallerSession) PendingAdmin

func (_Kyber *KyberCallerSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

type KyberEtherWithdraw

type KyberEtherWithdraw struct {
	Amount *big.Int
	SendTo common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

KyberEtherWithdraw represents a EtherWithdraw event raised by the Kyber contract.

type KyberEtherWithdrawIterator

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

KyberEtherWithdrawIterator is returned from FilterEtherWithdraw and is used to iterate over the raw logs and unpacked data for EtherWithdraw events raised by the Kyber contract.

func (*KyberEtherWithdrawIterator) Close

func (it *KyberEtherWithdrawIterator) Close() error

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

func (*KyberEtherWithdrawIterator) Error

func (it *KyberEtherWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberEtherWithdrawIterator) Next

func (it *KyberEtherWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberExecuteTrade

type KyberExecuteTrade struct {
	Trader           common.Address
	Src              common.Address
	Dest             common.Address
	DestAddress      common.Address
	ActualSrcAmount  *big.Int
	ActualDestAmount *big.Int
	PlatformWallet   common.Address
	PlatformFeeBps   *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

KyberExecuteTrade represents a ExecuteTrade event raised by the Kyber contract.

type KyberExecuteTradeIterator

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

KyberExecuteTradeIterator is returned from FilterExecuteTrade and is used to iterate over the raw logs and unpacked data for ExecuteTrade events raised by the Kyber contract.

func (*KyberExecuteTradeIterator) Close

func (it *KyberExecuteTradeIterator) Close() error

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

func (*KyberExecuteTradeIterator) Error

func (it *KyberExecuteTradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberExecuteTradeIterator) Next

func (it *KyberExecuteTradeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberFilterer

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

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

func NewKyberFilterer

func NewKyberFilterer(address common.Address, filterer bind.ContractFilterer) (*KyberFilterer, error)

NewKyberFilterer creates a new log filterer instance of Kyber, bound to a specific deployed contract.

func (*KyberFilterer) FilterAdminClaimed

func (_Kyber *KyberFilterer) FilterAdminClaimed(opts *bind.FilterOpts) (*KyberAdminClaimedIterator, error)

FilterAdminClaimed is a free log retrieval operation binding the contract event 0x65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed.

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberFilterer) FilterAlerterAdded

func (_Kyber *KyberFilterer) FilterAlerterAdded(opts *bind.FilterOpts) (*KyberAlerterAddedIterator, error)

FilterAlerterAdded is a free log retrieval operation binding the contract event 0x5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762.

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberFilterer) FilterEtherWithdraw

func (_Kyber *KyberFilterer) FilterEtherWithdraw(opts *bind.FilterOpts) (*KyberEtherWithdrawIterator, error)

FilterEtherWithdraw is a free log retrieval operation binding the contract event 0xec47e7ed86c86774d1a72c19f35c639911393fe7c1a34031fdbd260890da90de.

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberFilterer) FilterExecuteTrade

func (_Kyber *KyberFilterer) FilterExecuteTrade(opts *bind.FilterOpts, trader []common.Address) (*KyberExecuteTradeIterator, error)

FilterExecuteTrade is a free log retrieval operation binding the contract event 0xf724b4df6617473612b53d7f88ecc6ea983074b30960a049fcd0657ffe808083.

Solidity: event ExecuteTrade(address indexed trader, address src, address dest, address destAddress, uint256 actualSrcAmount, uint256 actualDestAmount, address platformWallet, uint256 platformFeeBps)

func (*KyberFilterer) FilterKyberHintHandlerSet

func (_Kyber *KyberFilterer) FilterKyberHintHandlerSet(opts *bind.FilterOpts) (*KyberKyberHintHandlerSetIterator, error)

FilterKyberHintHandlerSet is a free log retrieval operation binding the contract event 0x6deb3a98fd141d661e9c0fb2d847541cc0c629cfb100c61011a76f57cb3b3a9b.

Solidity: event KyberHintHandlerSet(address kyberHintHandler)

func (*KyberFilterer) FilterKyberNetworkSet

func (_Kyber *KyberFilterer) FilterKyberNetworkSet(opts *bind.FilterOpts) (*KyberKyberNetworkSetIterator, error)

FilterKyberNetworkSet is a free log retrieval operation binding the contract event 0x8936e1f096bf0a8c9df862b3d1d5b82774cad78116200175f00b5b7ba3010b02.

Solidity: event KyberNetworkSet(address newKyberNetwork, address previousKyberNetwork)

func (*KyberFilterer) FilterOperatorAdded

func (_Kyber *KyberFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*KyberOperatorAddedIterator, error)

FilterOperatorAdded is a free log retrieval operation binding the contract event 0x091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b.

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberFilterer) FilterTokenWithdraw

func (_Kyber *KyberFilterer) FilterTokenWithdraw(opts *bind.FilterOpts) (*KyberTokenWithdrawIterator, error)

FilterTokenWithdraw is a free log retrieval operation binding the contract event 0x72cb8a894ddb372ceec3d2a7648d86f17d5a15caae0e986c53109b8a9a9385e6.

Solidity: event TokenWithdraw(address token, uint256 amount, address sendTo)

func (*KyberFilterer) FilterTransferAdminPending

func (_Kyber *KyberFilterer) FilterTransferAdminPending(opts *bind.FilterOpts) (*KyberTransferAdminPendingIterator, error)

FilterTransferAdminPending is a free log retrieval operation binding the contract event 0x3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc40.

Solidity: event TransferAdminPending(address pendingAdmin)

func (*KyberFilterer) ParseAdminClaimed

func (_Kyber *KyberFilterer) ParseAdminClaimed(log types.Log) (*KyberAdminClaimed, error)

ParseAdminClaimed is a log parse operation binding the contract event 0x65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed.

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberFilterer) ParseAlerterAdded

func (_Kyber *KyberFilterer) ParseAlerterAdded(log types.Log) (*KyberAlerterAdded, error)

ParseAlerterAdded is a log parse operation binding the contract event 0x5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762.

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberFilterer) ParseEtherWithdraw

func (_Kyber *KyberFilterer) ParseEtherWithdraw(log types.Log) (*KyberEtherWithdraw, error)

ParseEtherWithdraw is a log parse operation binding the contract event 0xec47e7ed86c86774d1a72c19f35c639911393fe7c1a34031fdbd260890da90de.

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberFilterer) ParseExecuteTrade

func (_Kyber *KyberFilterer) ParseExecuteTrade(log types.Log) (*KyberExecuteTrade, error)

ParseExecuteTrade is a log parse operation binding the contract event 0xf724b4df6617473612b53d7f88ecc6ea983074b30960a049fcd0657ffe808083.

Solidity: event ExecuteTrade(address indexed trader, address src, address dest, address destAddress, uint256 actualSrcAmount, uint256 actualDestAmount, address platformWallet, uint256 platformFeeBps)

func (*KyberFilterer) ParseKyberHintHandlerSet

func (_Kyber *KyberFilterer) ParseKyberHintHandlerSet(log types.Log) (*KyberKyberHintHandlerSet, error)

ParseKyberHintHandlerSet is a log parse operation binding the contract event 0x6deb3a98fd141d661e9c0fb2d847541cc0c629cfb100c61011a76f57cb3b3a9b.

Solidity: event KyberHintHandlerSet(address kyberHintHandler)

func (*KyberFilterer) ParseKyberNetworkSet

func (_Kyber *KyberFilterer) ParseKyberNetworkSet(log types.Log) (*KyberKyberNetworkSet, error)

ParseKyberNetworkSet is a log parse operation binding the contract event 0x8936e1f096bf0a8c9df862b3d1d5b82774cad78116200175f00b5b7ba3010b02.

Solidity: event KyberNetworkSet(address newKyberNetwork, address previousKyberNetwork)

func (*KyberFilterer) ParseOperatorAdded

func (_Kyber *KyberFilterer) ParseOperatorAdded(log types.Log) (*KyberOperatorAdded, error)

ParseOperatorAdded is a log parse operation binding the contract event 0x091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b.

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberFilterer) ParseTokenWithdraw

func (_Kyber *KyberFilterer) ParseTokenWithdraw(log types.Log) (*KyberTokenWithdraw, error)

ParseTokenWithdraw is a log parse operation binding the contract event 0x72cb8a894ddb372ceec3d2a7648d86f17d5a15caae0e986c53109b8a9a9385e6.

Solidity: event TokenWithdraw(address token, uint256 amount, address sendTo)

func (*KyberFilterer) ParseTransferAdminPending

func (_Kyber *KyberFilterer) ParseTransferAdminPending(log types.Log) (*KyberTransferAdminPending, error)

ParseTransferAdminPending is a log parse operation binding the contract event 0x3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc40.

Solidity: event TransferAdminPending(address pendingAdmin)

func (*KyberFilterer) WatchAdminClaimed

func (_Kyber *KyberFilterer) WatchAdminClaimed(opts *bind.WatchOpts, sink chan<- *KyberAdminClaimed) (event.Subscription, error)

WatchAdminClaimed is a free log subscription operation binding the contract event 0x65da1cfc2c2e81576ad96afb24a581f8e109b7a403b35cbd3243a1c99efdb9ed.

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberFilterer) WatchAlerterAdded

func (_Kyber *KyberFilterer) WatchAlerterAdded(opts *bind.WatchOpts, sink chan<- *KyberAlerterAdded) (event.Subscription, error)

WatchAlerterAdded is a free log subscription operation binding the contract event 0x5611bf3e417d124f97bf2c788843ea8bb502b66079fbee02158ef30b172cb762.

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberFilterer) WatchEtherWithdraw

func (_Kyber *KyberFilterer) WatchEtherWithdraw(opts *bind.WatchOpts, sink chan<- *KyberEtherWithdraw) (event.Subscription, error)

WatchEtherWithdraw is a free log subscription operation binding the contract event 0xec47e7ed86c86774d1a72c19f35c639911393fe7c1a34031fdbd260890da90de.

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberFilterer) WatchExecuteTrade

func (_Kyber *KyberFilterer) WatchExecuteTrade(opts *bind.WatchOpts, sink chan<- *KyberExecuteTrade, trader []common.Address) (event.Subscription, error)

WatchExecuteTrade is a free log subscription operation binding the contract event 0xf724b4df6617473612b53d7f88ecc6ea983074b30960a049fcd0657ffe808083.

Solidity: event ExecuteTrade(address indexed trader, address src, address dest, address destAddress, uint256 actualSrcAmount, uint256 actualDestAmount, address platformWallet, uint256 platformFeeBps)

func (*KyberFilterer) WatchKyberHintHandlerSet

func (_Kyber *KyberFilterer) WatchKyberHintHandlerSet(opts *bind.WatchOpts, sink chan<- *KyberKyberHintHandlerSet) (event.Subscription, error)

WatchKyberHintHandlerSet is a free log subscription operation binding the contract event 0x6deb3a98fd141d661e9c0fb2d847541cc0c629cfb100c61011a76f57cb3b3a9b.

Solidity: event KyberHintHandlerSet(address kyberHintHandler)

func (*KyberFilterer) WatchKyberNetworkSet

func (_Kyber *KyberFilterer) WatchKyberNetworkSet(opts *bind.WatchOpts, sink chan<- *KyberKyberNetworkSet) (event.Subscription, error)

WatchKyberNetworkSet is a free log subscription operation binding the contract event 0x8936e1f096bf0a8c9df862b3d1d5b82774cad78116200175f00b5b7ba3010b02.

Solidity: event KyberNetworkSet(address newKyberNetwork, address previousKyberNetwork)

func (*KyberFilterer) WatchOperatorAdded

func (_Kyber *KyberFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *KyberOperatorAdded) (event.Subscription, error)

WatchOperatorAdded is a free log subscription operation binding the contract event 0x091a7a4b85135fdd7e8dbc18b12fabe5cc191ea867aa3c2e1a24a102af61d58b.

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberFilterer) WatchTokenWithdraw

func (_Kyber *KyberFilterer) WatchTokenWithdraw(opts *bind.WatchOpts, sink chan<- *KyberTokenWithdraw) (event.Subscription, error)

WatchTokenWithdraw is a free log subscription operation binding the contract event 0x72cb8a894ddb372ceec3d2a7648d86f17d5a15caae0e986c53109b8a9a9385e6.

Solidity: event TokenWithdraw(address token, uint256 amount, address sendTo)

func (*KyberFilterer) WatchTransferAdminPending

func (_Kyber *KyberFilterer) WatchTransferAdminPending(opts *bind.WatchOpts, sink chan<- *KyberTransferAdminPending) (event.Subscription, error)

WatchTransferAdminPending is a free log subscription operation binding the contract event 0x3b81caf78fa51ecbc8acb482fd7012a277b428d9b80f9d156e8a54107496cc40.

Solidity: event TransferAdminPending(address pendingAdmin)

type KyberKyberHintHandlerSet

type KyberKyberHintHandlerSet struct {
	KyberHintHandler common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

KyberKyberHintHandlerSet represents a KyberHintHandlerSet event raised by the Kyber contract.

type KyberKyberHintHandlerSetIterator

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

KyberKyberHintHandlerSetIterator is returned from FilterKyberHintHandlerSet and is used to iterate over the raw logs and unpacked data for KyberHintHandlerSet events raised by the Kyber contract.

func (*KyberKyberHintHandlerSetIterator) Close

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

func (*KyberKyberHintHandlerSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberKyberHintHandlerSetIterator) 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 KyberKyberNetworkSet

type KyberKyberNetworkSet struct {
	NewKyberNetwork      common.Address
	PreviousKyberNetwork common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

KyberKyberNetworkSet represents a KyberNetworkSet event raised by the Kyber contract.

type KyberKyberNetworkSetIterator

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

KyberKyberNetworkSetIterator is returned from FilterKyberNetworkSet and is used to iterate over the raw logs and unpacked data for KyberNetworkSet events raised by the Kyber contract.

func (*KyberKyberNetworkSetIterator) Close

func (it *KyberKyberNetworkSetIterator) Close() error

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

func (*KyberKyberNetworkSetIterator) Error

func (it *KyberKyberNetworkSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberKyberNetworkSetIterator) 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 KyberOperatorAdded

type KyberOperatorAdded struct {
	NewOperator common.Address
	IsAdd       bool
	Raw         types.Log // Blockchain specific contextual infos
}

KyberOperatorAdded represents a OperatorAdded event raised by the Kyber contract.

type KyberOperatorAddedIterator

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

KyberOperatorAddedIterator is returned from FilterOperatorAdded and is used to iterate over the raw logs and unpacked data for OperatorAdded events raised by the Kyber contract.

func (*KyberOperatorAddedIterator) Close

func (it *KyberOperatorAddedIterator) Close() error

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

func (*KyberOperatorAddedIterator) Error

func (it *KyberOperatorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberOperatorAddedIterator) Next

func (it *KyberOperatorAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberRaw

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

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

func (*KyberRaw) Call

func (_Kyber *KyberRaw) 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 (*KyberRaw) Transact

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

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

func (*KyberRaw) Transfer

func (_Kyber *KyberRaw) 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 KyberSession

type KyberSession struct {
	Contract     *Kyber            // 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
}

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

func (*KyberSession) AddAlerter

func (_Kyber *KyberSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

AddAlerter is a paid mutator transaction binding the contract method 0x408ee7fe.

Solidity: function addAlerter(address newAlerter) returns()

func (*KyberSession) AddOperator

func (_Kyber *KyberSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address newOperator) returns()

func (*KyberSession) Admin

func (_Kyber *KyberSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*KyberSession) ClaimAdmin

func (_Kyber *KyberSession) ClaimAdmin() (*types.Transaction, error)

ClaimAdmin is a paid mutator transaction binding the contract method 0x77f50f97.

Solidity: function claimAdmin() returns()

func (*KyberSession) Enabled

func (_Kyber *KyberSession) Enabled() (bool, error)

Enabled is a free data retrieval call binding the contract method 0x238dafe0.

Solidity: function enabled() view returns(bool)

func (*KyberSession) GetAlerters

func (_Kyber *KyberSession) GetAlerters() ([]common.Address, error)

GetAlerters is a free data retrieval call binding the contract method 0x7c423f54.

Solidity: function getAlerters() view returns(address[])

func (*KyberSession) GetExpectedRate

func (_Kyber *KyberSession) GetExpectedRate(src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	WorstRate    *big.Int
}, error)

GetExpectedRate is a free data retrieval call binding the contract method 0x809a9e55.

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) view returns(uint256 expectedRate, uint256 worstRate)

func (*KyberSession) GetExpectedRateAfterFee

func (_Kyber *KyberSession) GetExpectedRateAfterFee(src common.Address, dest common.Address, srcQty *big.Int, platformFeeBps *big.Int, hint []byte) (*big.Int, error)

GetExpectedRateAfterFee is a free data retrieval call binding the contract method 0x418436bc.

Solidity: function getExpectedRateAfterFee(address src, address dest, uint256 srcQty, uint256 platformFeeBps, bytes hint) view returns(uint256 expectedRate)

func (*KyberSession) GetOperators

func (_Kyber *KyberSession) GetOperators() ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*KyberSession) KyberHintHandler

func (_Kyber *KyberSession) KyberHintHandler() (common.Address, error)

KyberHintHandler is a free data retrieval call binding the contract method 0x13c213b7.

Solidity: function kyberHintHandler() view returns(address)

func (*KyberSession) KyberNetwork

func (_Kyber *KyberSession) KyberNetwork() (common.Address, error)

KyberNetwork is a free data retrieval call binding the contract method 0xb78b842d.

Solidity: function kyberNetwork() view returns(address)

func (*KyberSession) MaxGasPrice

func (_Kyber *KyberSession) MaxGasPrice() (*big.Int, error)

MaxGasPrice is a free data retrieval call binding the contract method 0x3de39c11.

Solidity: function maxGasPrice() view returns(uint256)

func (*KyberSession) PendingAdmin

func (_Kyber *KyberSession) PendingAdmin() (common.Address, error)

PendingAdmin is a free data retrieval call binding the contract method 0x26782247.

Solidity: function pendingAdmin() view returns(address)

func (*KyberSession) RemoveAlerter

func (_Kyber *KyberSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

RemoveAlerter is a paid mutator transaction binding the contract method 0x01a12fd3.

Solidity: function removeAlerter(address alerter) returns()

func (*KyberSession) RemoveOperator

func (_Kyber *KyberSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) returns()

func (*KyberSession) SetHintHandler

func (_Kyber *KyberSession) SetHintHandler(_kyberHintHandler common.Address) (*types.Transaction, error)

SetHintHandler is a paid mutator transaction binding the contract method 0xb85d950f.

Solidity: function setHintHandler(address _kyberHintHandler) returns()

func (*KyberSession) SetKyberNetwork

func (_Kyber *KyberSession) SetKyberNetwork(_kyberNetwork common.Address) (*types.Transaction, error)

SetKyberNetwork is a paid mutator transaction binding the contract method 0x54a325a6.

Solidity: function setKyberNetwork(address _kyberNetwork) returns()

func (*KyberSession) SwapEtherToToken

func (_Kyber *KyberSession) SwapEtherToToken(token common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapEtherToToken is a paid mutator transaction binding the contract method 0x7a2a0456.

Solidity: function swapEtherToToken(address token, uint256 minConversionRate) payable returns(uint256)

func (*KyberSession) SwapTokenToEther

func (_Kyber *KyberSession) SwapTokenToEther(token common.Address, srcAmount *big.Int, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToEther is a paid mutator transaction binding the contract method 0x3bba21dc.

Solidity: function swapTokenToEther(address token, uint256 srcAmount, uint256 minConversionRate) returns(uint256)

func (*KyberSession) SwapTokenToToken

func (_Kyber *KyberSession) SwapTokenToToken(src common.Address, srcAmount *big.Int, dest common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToToken is a paid mutator transaction binding the contract method 0x7409e2eb.

Solidity: function swapTokenToToken(address src, uint256 srcAmount, address dest, uint256 minConversionRate) returns(uint256)

func (*KyberSession) Trade

func (_Kyber *KyberSession) Trade(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, platformWallet common.Address) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0xcb3c28c7.

Solidity: function trade(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address platformWallet) payable returns(uint256)

func (*KyberSession) TradeWithHint

func (_Kyber *KyberSession) TradeWithHint(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address, hint []byte) (*types.Transaction, error)

TradeWithHint is a paid mutator transaction binding the contract method 0x29589f61.

Solidity: function tradeWithHint(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId, bytes hint) payable returns(uint256)

func (*KyberSession) TradeWithHintAndFee

func (_Kyber *KyberSession) TradeWithHintAndFee(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, platformWallet common.Address, platformFeeBps *big.Int, hint []byte) (*types.Transaction, error)

TradeWithHintAndFee is a paid mutator transaction binding the contract method 0xae591d54.

Solidity: function tradeWithHintAndFee(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address platformWallet, uint256 platformFeeBps, bytes hint) payable returns(uint256 destAmount)

func (*KyberSession) TransferAdmin

func (_Kyber *KyberSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.

Solidity: function transferAdmin(address newAdmin) returns()

func (*KyberSession) TransferAdminQuickly

func (_Kyber *KyberSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

TransferAdminQuickly is a paid mutator transaction binding the contract method 0x7acc8678.

Solidity: function transferAdminQuickly(address newAdmin) returns()

func (*KyberSession) WithdrawEther

func (_Kyber *KyberSession) WithdrawEther(amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0xce56c454.

Solidity: function withdrawEther(uint256 amount, address sendTo) returns()

func (*KyberSession) WithdrawToken

func (_Kyber *KyberSession) WithdrawToken(token common.Address, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x3ccdbb28.

Solidity: function withdrawToken(address token, uint256 amount, address sendTo) returns()

type KyberTokenWithdraw

type KyberTokenWithdraw struct {
	Token  common.Address
	Amount *big.Int
	SendTo common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

KyberTokenWithdraw represents a TokenWithdraw event raised by the Kyber contract.

type KyberTokenWithdrawIterator

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

KyberTokenWithdrawIterator is returned from FilterTokenWithdraw and is used to iterate over the raw logs and unpacked data for TokenWithdraw events raised by the Kyber contract.

func (*KyberTokenWithdrawIterator) Close

func (it *KyberTokenWithdrawIterator) Close() error

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

func (*KyberTokenWithdrawIterator) Error

func (it *KyberTokenWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberTokenWithdrawIterator) Next

func (it *KyberTokenWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type KyberTransactor

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

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

func NewKyberTransactor

func NewKyberTransactor(address common.Address, transactor bind.ContractTransactor) (*KyberTransactor, error)

NewKyberTransactor creates a new write-only instance of Kyber, bound to a specific deployed contract.

func (*KyberTransactor) AddAlerter

func (_Kyber *KyberTransactor) AddAlerter(opts *bind.TransactOpts, newAlerter common.Address) (*types.Transaction, error)

AddAlerter is a paid mutator transaction binding the contract method 0x408ee7fe.

Solidity: function addAlerter(address newAlerter) returns()

func (*KyberTransactor) AddOperator

func (_Kyber *KyberTransactor) AddOperator(opts *bind.TransactOpts, newOperator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address newOperator) returns()

func (*KyberTransactor) ClaimAdmin

func (_Kyber *KyberTransactor) ClaimAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimAdmin is a paid mutator transaction binding the contract method 0x77f50f97.

Solidity: function claimAdmin() returns()

func (*KyberTransactor) RemoveAlerter

func (_Kyber *KyberTransactor) RemoveAlerter(opts *bind.TransactOpts, alerter common.Address) (*types.Transaction, error)

RemoveAlerter is a paid mutator transaction binding the contract method 0x01a12fd3.

Solidity: function removeAlerter(address alerter) returns()

func (*KyberTransactor) RemoveOperator

func (_Kyber *KyberTransactor) RemoveOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) returns()

func (*KyberTransactor) SetHintHandler

func (_Kyber *KyberTransactor) SetHintHandler(opts *bind.TransactOpts, _kyberHintHandler common.Address) (*types.Transaction, error)

SetHintHandler is a paid mutator transaction binding the contract method 0xb85d950f.

Solidity: function setHintHandler(address _kyberHintHandler) returns()

func (*KyberTransactor) SetKyberNetwork

func (_Kyber *KyberTransactor) SetKyberNetwork(opts *bind.TransactOpts, _kyberNetwork common.Address) (*types.Transaction, error)

SetKyberNetwork is a paid mutator transaction binding the contract method 0x54a325a6.

Solidity: function setKyberNetwork(address _kyberNetwork) returns()

func (*KyberTransactor) SwapEtherToToken

func (_Kyber *KyberTransactor) SwapEtherToToken(opts *bind.TransactOpts, token common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapEtherToToken is a paid mutator transaction binding the contract method 0x7a2a0456.

Solidity: function swapEtherToToken(address token, uint256 minConversionRate) payable returns(uint256)

func (*KyberTransactor) SwapTokenToEther

func (_Kyber *KyberTransactor) SwapTokenToEther(opts *bind.TransactOpts, token common.Address, srcAmount *big.Int, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToEther is a paid mutator transaction binding the contract method 0x3bba21dc.

Solidity: function swapTokenToEther(address token, uint256 srcAmount, uint256 minConversionRate) returns(uint256)

func (*KyberTransactor) SwapTokenToToken

func (_Kyber *KyberTransactor) SwapTokenToToken(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToToken is a paid mutator transaction binding the contract method 0x7409e2eb.

Solidity: function swapTokenToToken(address src, uint256 srcAmount, address dest, uint256 minConversionRate) returns(uint256)

func (*KyberTransactor) Trade

func (_Kyber *KyberTransactor) Trade(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, platformWallet common.Address) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0xcb3c28c7.

Solidity: function trade(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address platformWallet) payable returns(uint256)

func (*KyberTransactor) TradeWithHint

func (_Kyber *KyberTransactor) TradeWithHint(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address, hint []byte) (*types.Transaction, error)

TradeWithHint is a paid mutator transaction binding the contract method 0x29589f61.

Solidity: function tradeWithHint(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId, bytes hint) payable returns(uint256)

func (*KyberTransactor) TradeWithHintAndFee

func (_Kyber *KyberTransactor) TradeWithHintAndFee(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, platformWallet common.Address, platformFeeBps *big.Int, hint []byte) (*types.Transaction, error)

TradeWithHintAndFee is a paid mutator transaction binding the contract method 0xae591d54.

Solidity: function tradeWithHintAndFee(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address platformWallet, uint256 platformFeeBps, bytes hint) payable returns(uint256 destAmount)

func (*KyberTransactor) TransferAdmin

func (_Kyber *KyberTransactor) TransferAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.

Solidity: function transferAdmin(address newAdmin) returns()

func (*KyberTransactor) TransferAdminQuickly

func (_Kyber *KyberTransactor) TransferAdminQuickly(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

TransferAdminQuickly is a paid mutator transaction binding the contract method 0x7acc8678.

Solidity: function transferAdminQuickly(address newAdmin) returns()

func (*KyberTransactor) WithdrawEther

func (_Kyber *KyberTransactor) WithdrawEther(opts *bind.TransactOpts, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0xce56c454.

Solidity: function withdrawEther(uint256 amount, address sendTo) returns()

func (*KyberTransactor) WithdrawToken

func (_Kyber *KyberTransactor) WithdrawToken(opts *bind.TransactOpts, token common.Address, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x3ccdbb28.

Solidity: function withdrawToken(address token, uint256 amount, address sendTo) returns()

type KyberTransactorRaw

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

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

func (*KyberTransactorRaw) Transact

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

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

func (*KyberTransactorRaw) Transfer

func (_Kyber *KyberTransactorRaw) 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 KyberTransactorSession

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

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

func (*KyberTransactorSession) AddAlerter

func (_Kyber *KyberTransactorSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

AddAlerter is a paid mutator transaction binding the contract method 0x408ee7fe.

Solidity: function addAlerter(address newAlerter) returns()

func (*KyberTransactorSession) AddOperator

func (_Kyber *KyberTransactorSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address newOperator) returns()

func (*KyberTransactorSession) ClaimAdmin

func (_Kyber *KyberTransactorSession) ClaimAdmin() (*types.Transaction, error)

ClaimAdmin is a paid mutator transaction binding the contract method 0x77f50f97.

Solidity: function claimAdmin() returns()

func (*KyberTransactorSession) RemoveAlerter

func (_Kyber *KyberTransactorSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

RemoveAlerter is a paid mutator transaction binding the contract method 0x01a12fd3.

Solidity: function removeAlerter(address alerter) returns()

func (*KyberTransactorSession) RemoveOperator

func (_Kyber *KyberTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address operator) returns()

func (*KyberTransactorSession) SetHintHandler

func (_Kyber *KyberTransactorSession) SetHintHandler(_kyberHintHandler common.Address) (*types.Transaction, error)

SetHintHandler is a paid mutator transaction binding the contract method 0xb85d950f.

Solidity: function setHintHandler(address _kyberHintHandler) returns()

func (*KyberTransactorSession) SetKyberNetwork

func (_Kyber *KyberTransactorSession) SetKyberNetwork(_kyberNetwork common.Address) (*types.Transaction, error)

SetKyberNetwork is a paid mutator transaction binding the contract method 0x54a325a6.

Solidity: function setKyberNetwork(address _kyberNetwork) returns()

func (*KyberTransactorSession) SwapEtherToToken

func (_Kyber *KyberTransactorSession) SwapEtherToToken(token common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapEtherToToken is a paid mutator transaction binding the contract method 0x7a2a0456.

Solidity: function swapEtherToToken(address token, uint256 minConversionRate) payable returns(uint256)

func (*KyberTransactorSession) SwapTokenToEther

func (_Kyber *KyberTransactorSession) SwapTokenToEther(token common.Address, srcAmount *big.Int, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToEther is a paid mutator transaction binding the contract method 0x3bba21dc.

Solidity: function swapTokenToEther(address token, uint256 srcAmount, uint256 minConversionRate) returns(uint256)

func (*KyberTransactorSession) SwapTokenToToken

func (_Kyber *KyberTransactorSession) SwapTokenToToken(src common.Address, srcAmount *big.Int, dest common.Address, minConversionRate *big.Int) (*types.Transaction, error)

SwapTokenToToken is a paid mutator transaction binding the contract method 0x7409e2eb.

Solidity: function swapTokenToToken(address src, uint256 srcAmount, address dest, uint256 minConversionRate) returns(uint256)

func (*KyberTransactorSession) Trade

func (_Kyber *KyberTransactorSession) Trade(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, platformWallet common.Address) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0xcb3c28c7.

Solidity: function trade(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address platformWallet) payable returns(uint256)

func (*KyberTransactorSession) TradeWithHint

func (_Kyber *KyberTransactorSession) TradeWithHint(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId common.Address, hint []byte) (*types.Transaction, error)

TradeWithHint is a paid mutator transaction binding the contract method 0x29589f61.

Solidity: function tradeWithHint(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address walletId, bytes hint) payable returns(uint256)

func (*KyberTransactorSession) TradeWithHintAndFee

func (_Kyber *KyberTransactorSession) TradeWithHintAndFee(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, platformWallet common.Address, platformFeeBps *big.Int, hint []byte) (*types.Transaction, error)

TradeWithHintAndFee is a paid mutator transaction binding the contract method 0xae591d54.

Solidity: function tradeWithHintAndFee(address src, uint256 srcAmount, address dest, address destAddress, uint256 maxDestAmount, uint256 minConversionRate, address platformWallet, uint256 platformFeeBps, bytes hint) payable returns(uint256 destAmount)

func (*KyberTransactorSession) TransferAdmin

func (_Kyber *KyberTransactorSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.

Solidity: function transferAdmin(address newAdmin) returns()

func (*KyberTransactorSession) TransferAdminQuickly

func (_Kyber *KyberTransactorSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

TransferAdminQuickly is a paid mutator transaction binding the contract method 0x7acc8678.

Solidity: function transferAdminQuickly(address newAdmin) returns()

func (*KyberTransactorSession) WithdrawEther

func (_Kyber *KyberTransactorSession) WithdrawEther(amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0xce56c454.

Solidity: function withdrawEther(uint256 amount, address sendTo) returns()

func (*KyberTransactorSession) WithdrawToken

func (_Kyber *KyberTransactorSession) WithdrawToken(token common.Address, amount *big.Int, sendTo common.Address) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x3ccdbb28.

Solidity: function withdrawToken(address token, uint256 amount, address sendTo) returns()

type KyberTransferAdminPending

type KyberTransferAdminPending struct {
	PendingAdmin common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

KyberTransferAdminPending represents a TransferAdminPending event raised by the Kyber contract.

type KyberTransferAdminPendingIterator

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

KyberTransferAdminPendingIterator is returned from FilterTransferAdminPending and is used to iterate over the raw logs and unpacked data for TransferAdminPending events raised by the Kyber contract.

func (*KyberTransferAdminPendingIterator) Close

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

func (*KyberTransferAdminPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberTransferAdminPendingIterator) 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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