KyberNetwork

package
v0.3.2-0...-6117ab2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const KyberNetworkABI = "" /* 8687-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type KyberNetwork

type KyberNetwork struct {
	KyberNetworkCaller     // Read-only binding to the contract
	KyberNetworkTransactor // Write-only binding to the contract
	KyberNetworkFilterer   // Log filterer for contract events
}

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

func NewKyberNetwork

func NewKyberNetwork(address common.Address, backend bind.ContractBackend) (*KyberNetwork, error)

NewKyberNetwork creates a new instance of KyberNetwork, bound to a specific deployed contract.

type KyberNetworkAdminClaimed

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

KyberNetworkAdminClaimed represents a AdminClaimed event raised by the KyberNetwork contract.

type KyberNetworkAdminClaimedIterator

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

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

func (*KyberNetworkAdminClaimedIterator) Close

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

func (*KyberNetworkAdminClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberNetworkAdminClaimedIterator) 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 KyberNetworkAlerterAdded

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

KyberNetworkAlerterAdded represents a AlerterAdded event raised by the KyberNetwork contract.

type KyberNetworkAlerterAddedIterator

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

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

func (*KyberNetworkAlerterAddedIterator) Close

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

func (*KyberNetworkAlerterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberNetworkAlerterAddedIterator) 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 KyberNetworkCaller

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

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

func NewKyberNetworkCaller

func NewKyberNetworkCaller(address common.Address, caller bind.ContractCaller) (*KyberNetworkCaller, error)

NewKyberNetworkCaller creates a new read-only instance of KyberNetwork, bound to a specific deployed contract.

func (*KyberNetworkCaller) Admin

func (_KyberNetwork *KyberNetworkCaller) Admin(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*KyberNetworkCaller) Enabled

func (_KyberNetwork *KyberNetworkCaller) Enabled(opts *bind.CallOpts) (bool, error)

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

Solidity: function enabled() constant returns(bool)

func (*KyberNetworkCaller) GetAlerters

func (_KyberNetwork *KyberNetworkCaller) GetAlerters(opts *bind.CallOpts) ([]common.Address, error)

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

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

func (*KyberNetworkCaller) GetBalance

func (_KyberNetwork *KyberNetworkCaller) GetBalance(opts *bind.CallOpts, token common.Address, user common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address token, address user) constant returns(uint256)

func (*KyberNetworkCaller) GetExpectedRate

func (_KyberNetwork *KyberNetworkCaller) GetExpectedRate(opts *bind.CallOpts, src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	SlippageRate *big.Int
}, error)

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

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) constant returns(uint256 expectedRate, uint256 slippageRate)

func (*KyberNetworkCaller) GetOperators

func (_KyberNetwork *KyberNetworkCaller) GetOperators(opts *bind.CallOpts) ([]common.Address, error)

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

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

func (*KyberNetworkCaller) GetUserCapInTokenWei

func (_KyberNetwork *KyberNetworkCaller) GetUserCapInTokenWei(opts *bind.CallOpts, user common.Address, token common.Address) (*big.Int, error)

GetUserCapInTokenWei is a free data retrieval call binding the contract method 0x8eaaeecf.

Solidity: function getUserCapInTokenWei(address user, address token) constant returns(uint256)

func (*KyberNetworkCaller) GetUserCapInWei

func (_KyberNetwork *KyberNetworkCaller) GetUserCapInWei(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetUserCapInWei is a free data retrieval call binding the contract method 0x6432679f.

Solidity: function getUserCapInWei(address user) constant returns(uint256)

func (*KyberNetworkCaller) Info

func (_KyberNetwork *KyberNetworkCaller) Info(opts *bind.CallOpts, field [32]byte) (*big.Int, error)

Info is a free data retrieval call binding the contract method 0xb64a097e.

Solidity: function info(bytes32 field) constant returns(uint256)

func (*KyberNetworkCaller) KyberNetworkContract

func (_KyberNetwork *KyberNetworkCaller) KyberNetworkContract(opts *bind.CallOpts) (common.Address, error)

KyberNetworkContract is a free data retrieval call binding the contract method 0x4f61ff8b.

Solidity: function kyberNetworkContract() constant returns(address)

func (*KyberNetworkCaller) MaxGasPrice

func (_KyberNetwork *KyberNetworkCaller) MaxGasPrice(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function maxGasPrice() constant returns(uint256)

func (*KyberNetworkCaller) PendingAdmin

func (_KyberNetwork *KyberNetworkCaller) PendingAdmin(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

type KyberNetworkCallerRaw

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

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

func (*KyberNetworkCallerRaw) Call

func (_KyberNetwork *KyberNetworkCallerRaw) 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 KyberNetworkCallerSession

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

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

func (*KyberNetworkCallerSession) Admin

func (_KyberNetwork *KyberNetworkCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*KyberNetworkCallerSession) Enabled

func (_KyberNetwork *KyberNetworkCallerSession) Enabled() (bool, error)

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

Solidity: function enabled() constant returns(bool)

func (*KyberNetworkCallerSession) GetAlerters

func (_KyberNetwork *KyberNetworkCallerSession) GetAlerters() ([]common.Address, error)

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

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

func (*KyberNetworkCallerSession) GetBalance

func (_KyberNetwork *KyberNetworkCallerSession) GetBalance(token common.Address, user common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address token, address user) constant returns(uint256)

func (*KyberNetworkCallerSession) GetExpectedRate

func (_KyberNetwork *KyberNetworkCallerSession) GetExpectedRate(src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	SlippageRate *big.Int
}, error)

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

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) constant returns(uint256 expectedRate, uint256 slippageRate)

func (*KyberNetworkCallerSession) GetOperators

func (_KyberNetwork *KyberNetworkCallerSession) GetOperators() ([]common.Address, error)

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

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

func (*KyberNetworkCallerSession) GetUserCapInTokenWei

func (_KyberNetwork *KyberNetworkCallerSession) GetUserCapInTokenWei(user common.Address, token common.Address) (*big.Int, error)

GetUserCapInTokenWei is a free data retrieval call binding the contract method 0x8eaaeecf.

Solidity: function getUserCapInTokenWei(address user, address token) constant returns(uint256)

func (*KyberNetworkCallerSession) GetUserCapInWei

func (_KyberNetwork *KyberNetworkCallerSession) GetUserCapInWei(user common.Address) (*big.Int, error)

GetUserCapInWei is a free data retrieval call binding the contract method 0x6432679f.

Solidity: function getUserCapInWei(address user) constant returns(uint256)

func (*KyberNetworkCallerSession) Info

func (_KyberNetwork *KyberNetworkCallerSession) Info(field [32]byte) (*big.Int, error)

Info is a free data retrieval call binding the contract method 0xb64a097e.

Solidity: function info(bytes32 field) constant returns(uint256)

func (*KyberNetworkCallerSession) KyberNetworkContract

func (_KyberNetwork *KyberNetworkCallerSession) KyberNetworkContract() (common.Address, error)

KyberNetworkContract is a free data retrieval call binding the contract method 0x4f61ff8b.

Solidity: function kyberNetworkContract() constant returns(address)

func (*KyberNetworkCallerSession) MaxGasPrice

func (_KyberNetwork *KyberNetworkCallerSession) MaxGasPrice() (*big.Int, error)

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

Solidity: function maxGasPrice() constant returns(uint256)

func (*KyberNetworkCallerSession) PendingAdmin

func (_KyberNetwork *KyberNetworkCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

type KyberNetworkEtherWithdraw

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

KyberNetworkEtherWithdraw represents a EtherWithdraw event raised by the KyberNetwork contract.

type KyberNetworkEtherWithdrawIterator

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

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

func (*KyberNetworkEtherWithdrawIterator) Close

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

func (*KyberNetworkEtherWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberNetworkEtherWithdrawIterator) 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 KyberNetworkExecuteTrade

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

KyberNetworkExecuteTrade represents a ExecuteTrade event raised by the KyberNetwork contract.

type KyberNetworkExecuteTradeIterator

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

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

func (*KyberNetworkExecuteTradeIterator) Close

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

func (*KyberNetworkExecuteTradeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberNetworkExecuteTradeIterator) 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 KyberNetworkFilterer

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

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

func NewKyberNetworkFilterer

func NewKyberNetworkFilterer(address common.Address, filterer bind.ContractFilterer) (*KyberNetworkFilterer, error)

NewKyberNetworkFilterer creates a new log filterer instance of KyberNetwork, bound to a specific deployed contract.

func (*KyberNetworkFilterer) FilterAdminClaimed

func (_KyberNetwork *KyberNetworkFilterer) FilterAdminClaimed(opts *bind.FilterOpts) (*KyberNetworkAdminClaimedIterator, error)

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

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberNetworkFilterer) FilterAlerterAdded

func (_KyberNetwork *KyberNetworkFilterer) FilterAlerterAdded(opts *bind.FilterOpts) (*KyberNetworkAlerterAddedIterator, error)

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

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberNetworkFilterer) FilterEtherWithdraw

func (_KyberNetwork *KyberNetworkFilterer) FilterEtherWithdraw(opts *bind.FilterOpts) (*KyberNetworkEtherWithdrawIterator, error)

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

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberNetworkFilterer) FilterExecuteTrade

func (_KyberNetwork *KyberNetworkFilterer) FilterExecuteTrade(opts *bind.FilterOpts, trader []common.Address) (*KyberNetworkExecuteTradeIterator, error)

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

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

func (*KyberNetworkFilterer) FilterKyberNetworkSet

func (_KyberNetwork *KyberNetworkFilterer) FilterKyberNetworkSet(opts *bind.FilterOpts) (*KyberNetworkKyberNetworkSetIterator, error)

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

Solidity: event KyberNetworkSet(address newNetworkContract, address oldNetworkContract)

func (*KyberNetworkFilterer) FilterOperatorAdded

func (_KyberNetwork *KyberNetworkFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*KyberNetworkOperatorAddedIterator, error)

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

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberNetworkFilterer) FilterTokenWithdraw

func (_KyberNetwork *KyberNetworkFilterer) FilterTokenWithdraw(opts *bind.FilterOpts) (*KyberNetworkTokenWithdrawIterator, error)

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

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

func (*KyberNetworkFilterer) FilterTransferAdminPending

func (_KyberNetwork *KyberNetworkFilterer) FilterTransferAdminPending(opts *bind.FilterOpts) (*KyberNetworkTransferAdminPendingIterator, error)

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

Solidity: event TransferAdminPending(address pendingAdmin)

func (*KyberNetworkFilterer) ParseAdminClaimed

func (_KyberNetwork *KyberNetworkFilterer) ParseAdminClaimed(log types.Log) (*KyberNetworkAdminClaimed, error)

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

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberNetworkFilterer) ParseAlerterAdded

func (_KyberNetwork *KyberNetworkFilterer) ParseAlerterAdded(log types.Log) (*KyberNetworkAlerterAdded, error)

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

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberNetworkFilterer) ParseEtherWithdraw

func (_KyberNetwork *KyberNetworkFilterer) ParseEtherWithdraw(log types.Log) (*KyberNetworkEtherWithdraw, error)

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

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberNetworkFilterer) ParseExecuteTrade

func (_KyberNetwork *KyberNetworkFilterer) ParseExecuteTrade(log types.Log) (*KyberNetworkExecuteTrade, error)

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

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

func (*KyberNetworkFilterer) ParseKyberNetworkSet

func (_KyberNetwork *KyberNetworkFilterer) ParseKyberNetworkSet(log types.Log) (*KyberNetworkKyberNetworkSet, error)

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

Solidity: event KyberNetworkSet(address newNetworkContract, address oldNetworkContract)

func (*KyberNetworkFilterer) ParseOperatorAdded

func (_KyberNetwork *KyberNetworkFilterer) ParseOperatorAdded(log types.Log) (*KyberNetworkOperatorAdded, error)

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

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberNetworkFilterer) ParseTokenWithdraw

func (_KyberNetwork *KyberNetworkFilterer) ParseTokenWithdraw(log types.Log) (*KyberNetworkTokenWithdraw, error)

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

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

func (*KyberNetworkFilterer) ParseTransferAdminPending

func (_KyberNetwork *KyberNetworkFilterer) ParseTransferAdminPending(log types.Log) (*KyberNetworkTransferAdminPending, error)

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

Solidity: event TransferAdminPending(address pendingAdmin)

func (*KyberNetworkFilterer) WatchAdminClaimed

func (_KyberNetwork *KyberNetworkFilterer) WatchAdminClaimed(opts *bind.WatchOpts, sink chan<- *KyberNetworkAdminClaimed) (event.Subscription, error)

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

Solidity: event AdminClaimed(address newAdmin, address previousAdmin)

func (*KyberNetworkFilterer) WatchAlerterAdded

func (_KyberNetwork *KyberNetworkFilterer) WatchAlerterAdded(opts *bind.WatchOpts, sink chan<- *KyberNetworkAlerterAdded) (event.Subscription, error)

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

Solidity: event AlerterAdded(address newAlerter, bool isAdd)

func (*KyberNetworkFilterer) WatchEtherWithdraw

func (_KyberNetwork *KyberNetworkFilterer) WatchEtherWithdraw(opts *bind.WatchOpts, sink chan<- *KyberNetworkEtherWithdraw) (event.Subscription, error)

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

Solidity: event EtherWithdraw(uint256 amount, address sendTo)

func (*KyberNetworkFilterer) WatchExecuteTrade

func (_KyberNetwork *KyberNetworkFilterer) WatchExecuteTrade(opts *bind.WatchOpts, sink chan<- *KyberNetworkExecuteTrade, trader []common.Address) (event.Subscription, error)

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

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

func (*KyberNetworkFilterer) WatchKyberNetworkSet

func (_KyberNetwork *KyberNetworkFilterer) WatchKyberNetworkSet(opts *bind.WatchOpts, sink chan<- *KyberNetworkKyberNetworkSet) (event.Subscription, error)

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

Solidity: event KyberNetworkSet(address newNetworkContract, address oldNetworkContract)

func (*KyberNetworkFilterer) WatchOperatorAdded

func (_KyberNetwork *KyberNetworkFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *KyberNetworkOperatorAdded) (event.Subscription, error)

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

Solidity: event OperatorAdded(address newOperator, bool isAdd)

func (*KyberNetworkFilterer) WatchTokenWithdraw

func (_KyberNetwork *KyberNetworkFilterer) WatchTokenWithdraw(opts *bind.WatchOpts, sink chan<- *KyberNetworkTokenWithdraw) (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 (*KyberNetworkFilterer) WatchTransferAdminPending

func (_KyberNetwork *KyberNetworkFilterer) WatchTransferAdminPending(opts *bind.WatchOpts, sink chan<- *KyberNetworkTransferAdminPending) (event.Subscription, error)

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

Solidity: event TransferAdminPending(address pendingAdmin)

type KyberNetworkKyberNetworkSet

type KyberNetworkKyberNetworkSet struct {
	NewNetworkContract common.Address
	OldNetworkContract common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

KyberNetworkKyberNetworkSet represents a KyberNetworkSet event raised by the KyberNetwork contract.

type KyberNetworkKyberNetworkSetIterator

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

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

func (*KyberNetworkKyberNetworkSetIterator) Close

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

func (*KyberNetworkKyberNetworkSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberNetworkKyberNetworkSetIterator) 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 KyberNetworkOperatorAdded

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

KyberNetworkOperatorAdded represents a OperatorAdded event raised by the KyberNetwork contract.

type KyberNetworkOperatorAddedIterator

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

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

func (*KyberNetworkOperatorAddedIterator) Close

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

func (*KyberNetworkOperatorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberNetworkOperatorAddedIterator) 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 KyberNetworkRaw

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

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

func (*KyberNetworkRaw) Call

func (_KyberNetwork *KyberNetworkRaw) 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 (*KyberNetworkRaw) Transact

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

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

func (*KyberNetworkRaw) Transfer

func (_KyberNetwork *KyberNetworkRaw) 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 KyberNetworkSession

type KyberNetworkSession struct {
	Contract     *KyberNetwork     // 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
}

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

func (*KyberNetworkSession) AddAlerter

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) AddOperator

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) Admin

func (_KyberNetwork *KyberNetworkSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*KyberNetworkSession) ClaimAdmin

func (_KyberNetwork *KyberNetworkSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*KyberNetworkSession) Enabled

func (_KyberNetwork *KyberNetworkSession) Enabled() (bool, error)

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

Solidity: function enabled() constant returns(bool)

func (*KyberNetworkSession) GetAlerters

func (_KyberNetwork *KyberNetworkSession) GetAlerters() ([]common.Address, error)

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

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

func (*KyberNetworkSession) GetBalance

func (_KyberNetwork *KyberNetworkSession) GetBalance(token common.Address, user common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address token, address user) constant returns(uint256)

func (*KyberNetworkSession) GetExpectedRate

func (_KyberNetwork *KyberNetworkSession) GetExpectedRate(src common.Address, dest common.Address, srcQty *big.Int) (struct {
	ExpectedRate *big.Int
	SlippageRate *big.Int
}, error)

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

Solidity: function getExpectedRate(address src, address dest, uint256 srcQty) constant returns(uint256 expectedRate, uint256 slippageRate)

func (*KyberNetworkSession) GetOperators

func (_KyberNetwork *KyberNetworkSession) GetOperators() ([]common.Address, error)

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

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

func (*KyberNetworkSession) GetUserCapInTokenWei

func (_KyberNetwork *KyberNetworkSession) GetUserCapInTokenWei(user common.Address, token common.Address) (*big.Int, error)

GetUserCapInTokenWei is a free data retrieval call binding the contract method 0x8eaaeecf.

Solidity: function getUserCapInTokenWei(address user, address token) constant returns(uint256)

func (*KyberNetworkSession) GetUserCapInWei

func (_KyberNetwork *KyberNetworkSession) GetUserCapInWei(user common.Address) (*big.Int, error)

GetUserCapInWei is a free data retrieval call binding the contract method 0x6432679f.

Solidity: function getUserCapInWei(address user) constant returns(uint256)

func (*KyberNetworkSession) Info

func (_KyberNetwork *KyberNetworkSession) Info(field [32]byte) (*big.Int, error)

Info is a free data retrieval call binding the contract method 0xb64a097e.

Solidity: function info(bytes32 field) constant returns(uint256)

func (*KyberNetworkSession) KyberNetworkContract

func (_KyberNetwork *KyberNetworkSession) KyberNetworkContract() (common.Address, error)

KyberNetworkContract is a free data retrieval call binding the contract method 0x4f61ff8b.

Solidity: function kyberNetworkContract() constant returns(address)

func (*KyberNetworkSession) MaxGasPrice

func (_KyberNetwork *KyberNetworkSession) MaxGasPrice() (*big.Int, error)

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

Solidity: function maxGasPrice() constant returns(uint256)

func (*KyberNetworkSession) PendingAdmin

func (_KyberNetwork *KyberNetworkSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*KyberNetworkSession) RemoveAlerter

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) RemoveOperator

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) SetKyberNetworkContract

func (_KyberNetwork *KyberNetworkSession) SetKyberNetworkContract(_kyberNetworkContract common.Address) (*types.Transaction, error)

SetKyberNetworkContract is a paid mutator transaction binding the contract method 0xabd188a8.

Solidity: function setKyberNetworkContract(address _kyberNetworkContract) returns()

func (*KyberNetworkSession) SwapEtherToToken

func (_KyberNetwork *KyberNetworkSession) 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) returns(uint256)

func (*KyberNetworkSession) SwapTokenToEther

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) SwapTokenToToken

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) Trade

func (_KyberNetwork *KyberNetworkSession) Trade(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId 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 walletId) returns(uint256)

func (*KyberNetworkSession) TradeWithHint

func (_KyberNetwork *KyberNetworkSession) 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) returns(uint256)

func (*KyberNetworkSession) TransferAdmin

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) TransferAdminQuickly

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) WithdrawEther

func (_KyberNetwork *KyberNetworkSession) 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 (*KyberNetworkSession) WithdrawToken

func (_KyberNetwork *KyberNetworkSession) 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 KyberNetworkTokenWithdraw

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

KyberNetworkTokenWithdraw represents a TokenWithdraw event raised by the KyberNetwork contract.

type KyberNetworkTokenWithdrawIterator

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

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

func (*KyberNetworkTokenWithdrawIterator) Close

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

func (*KyberNetworkTokenWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*KyberNetworkTokenWithdrawIterator) 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 KyberNetworkTransactor

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

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

func NewKyberNetworkTransactor

func NewKyberNetworkTransactor(address common.Address, transactor bind.ContractTransactor) (*KyberNetworkTransactor, error)

NewKyberNetworkTransactor creates a new write-only instance of KyberNetwork, bound to a specific deployed contract.

func (*KyberNetworkTransactor) AddAlerter

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) AddOperator

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) ClaimAdmin

func (_KyberNetwork *KyberNetworkTransactor) ClaimAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*KyberNetworkTransactor) RemoveAlerter

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) RemoveOperator

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) SetKyberNetworkContract

func (_KyberNetwork *KyberNetworkTransactor) SetKyberNetworkContract(opts *bind.TransactOpts, _kyberNetworkContract common.Address) (*types.Transaction, error)

SetKyberNetworkContract is a paid mutator transaction binding the contract method 0xabd188a8.

Solidity: function setKyberNetworkContract(address _kyberNetworkContract) returns()

func (*KyberNetworkTransactor) SwapEtherToToken

func (_KyberNetwork *KyberNetworkTransactor) 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) returns(uint256)

func (*KyberNetworkTransactor) SwapTokenToEther

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) SwapTokenToToken

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) Trade

func (_KyberNetwork *KyberNetworkTransactor) Trade(opts *bind.TransactOpts, src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId 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 walletId) returns(uint256)

func (*KyberNetworkTransactor) TradeWithHint

func (_KyberNetwork *KyberNetworkTransactor) 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) returns(uint256)

func (*KyberNetworkTransactor) TransferAdmin

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) TransferAdminQuickly

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) WithdrawEther

func (_KyberNetwork *KyberNetworkTransactor) 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 (*KyberNetworkTransactor) WithdrawToken

func (_KyberNetwork *KyberNetworkTransactor) 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 KyberNetworkTransactorRaw

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

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

func (*KyberNetworkTransactorRaw) Transact

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

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

func (*KyberNetworkTransactorRaw) Transfer

func (_KyberNetwork *KyberNetworkTransactorRaw) 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 KyberNetworkTransactorSession

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

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

func (*KyberNetworkTransactorSession) AddAlerter

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) AddOperator

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) ClaimAdmin

func (_KyberNetwork *KyberNetworkTransactorSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*KyberNetworkTransactorSession) RemoveAlerter

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) RemoveOperator

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) SetKyberNetworkContract

func (_KyberNetwork *KyberNetworkTransactorSession) SetKyberNetworkContract(_kyberNetworkContract common.Address) (*types.Transaction, error)

SetKyberNetworkContract is a paid mutator transaction binding the contract method 0xabd188a8.

Solidity: function setKyberNetworkContract(address _kyberNetworkContract) returns()

func (*KyberNetworkTransactorSession) SwapEtherToToken

func (_KyberNetwork *KyberNetworkTransactorSession) 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) returns(uint256)

func (*KyberNetworkTransactorSession) SwapTokenToEther

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) SwapTokenToToken

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) Trade

func (_KyberNetwork *KyberNetworkTransactorSession) Trade(src common.Address, srcAmount *big.Int, dest common.Address, destAddress common.Address, maxDestAmount *big.Int, minConversionRate *big.Int, walletId 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 walletId) returns(uint256)

func (*KyberNetworkTransactorSession) TradeWithHint

func (_KyberNetwork *KyberNetworkTransactorSession) 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) returns(uint256)

func (*KyberNetworkTransactorSession) TransferAdmin

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) TransferAdminQuickly

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) WithdrawEther

func (_KyberNetwork *KyberNetworkTransactorSession) 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 (*KyberNetworkTransactorSession) WithdrawToken

func (_KyberNetwork *KyberNetworkTransactorSession) 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 KyberNetworkTransferAdminPending

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

KyberNetworkTransferAdminPending represents a TransferAdminPending event raised by the KyberNetwork contract.

type KyberNetworkTransferAdminPendingIterator

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

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

func (*KyberNetworkTransferAdminPendingIterator) Close

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

func (*KyberNetworkTransferAdminPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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