contracts

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//MockBuyRate is int64 form of mock buy rate in wei. This equal to 1 in float64 rate
	MockBuyRate = 1000000000000000000
	//MockSellRate is int64 form of mock sell rate in wei. This equal to 2 in float64 rate
	MockSellRate = 2000000000000000000
	//MockBuySanityRate is int64 form of mock sanity buy rate in wei. This equal to 3 in float64 rate
	MockBuySanityRate = 3000000000000000000
	//MockSellSanityRate is int64 form of mock sanity sell rate in wei. This equal to 4 in float64 rate
	MockSellSanityRate = 4000000000000000000
)
View Source
const ConversionRatesABI = "" /* 10234-byte string literal not displayed */

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

View Source
const ERC20ABI = "" /* 2603-byte string literal not displayed */

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

View Source
const InternalNetworkABI = "" /* 13250-byte string literal not displayed */

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

View Source
const ReserveABI = "" /* 9650-byte string literal not displayed */

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

View Source
const SanityRatesABI = "" /* 5116-byte string literal not displayed */

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

View Source
const WrapperABI = "" /* 2299-byte string literal not displayed */

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

Variables

This section is empty.

Functions

func BurnerContractAddress

func BurnerContractAddress() app.Address

BurnerContractAddress returns the address of burner contract of all deployments.

func InternalNetworkContractAddress

func InternalNetworkContractAddress() app.Address

InternalNetworkContractAddress returns the address of internal network contract of all deployments.

func InternalReserveAddress

func InternalReserveAddress() app.Address

InternalReserveAddress returns the address of reserve contract of all deployments.

func NetworkContractAddress

func NetworkContractAddress() app.Address

NetworkContractAddress returns the address of network contract of all deployments.

func OldBurnerContractAddress

func OldBurnerContractAddress() app.Address

OldBurnerContractAddress returns old burner address of all deployments.

func OldNetworkContractAddress

func OldNetworkContractAddress() app.Address

OldNetworkContractAddress returns old network address of all deployments.

func PricingContractAddress

func PricingContractAddress() app.Address

PricingContractAddress returns the address of pricing contract of all deployments.

Types

type ConversionRates

type ConversionRates struct {
	ConversionRatesCaller     // Read-only binding to the contract
	ConversionRatesTransactor // Write-only binding to the contract
	ConversionRatesFilterer   // Log filterer for contract events
}

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

func NewConversionRates

func NewConversionRates(address common.Address, backend bind.ContractBackend) (*ConversionRates, error)

NewConversionRates creates a new instance of ConversionRates, bound to a specific deployed contract.

type ConversionRatesAdminClaimed

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

ConversionRatesAdminClaimed represents a AdminClaimed event raised by the ConversionRates contract.

type ConversionRatesAdminClaimedIterator

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

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

func (*ConversionRatesAdminClaimedIterator) Close

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

func (*ConversionRatesAdminClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConversionRatesAdminClaimedIterator) 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 ConversionRatesAlerterAdded

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

ConversionRatesAlerterAdded represents a AlerterAdded event raised by the ConversionRates contract.

type ConversionRatesAlerterAddedIterator

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

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

func (*ConversionRatesAlerterAddedIterator) Close

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

func (*ConversionRatesAlerterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConversionRatesAlerterAddedIterator) 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 ConversionRatesCaller

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

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

func NewConversionRatesCaller

func NewConversionRatesCaller(address common.Address, caller bind.ContractCaller) (*ConversionRatesCaller, error)

NewConversionRatesCaller creates a new read-only instance of ConversionRates, bound to a specific deployed contract.

func (*ConversionRatesCaller) Admin

func (_ConversionRates *ConversionRatesCaller) 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 (*ConversionRatesCaller) GetAlerters

func (_ConversionRates *ConversionRatesCaller) 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 (*ConversionRatesCaller) GetBasicRate

func (_ConversionRates *ConversionRatesCaller) GetBasicRate(opts *bind.CallOpts, token common.Address, buy bool) (*big.Int, error)

GetBasicRate is a free data retrieval call binding the contract method 0xcf8fee11.

Solidity: function getBasicRate(token address, buy bool) constant returns(uint256)

func (*ConversionRatesCaller) GetCompactData

func (_ConversionRates *ConversionRatesCaller) GetCompactData(opts *bind.CallOpts, token common.Address) (*big.Int, *big.Int, [1]byte, [1]byte, error)

GetCompactData is a free data retrieval call binding the contract method 0xe4a2ac62.

Solidity: function getCompactData(token address) constant returns(uint256, uint256, bytes1, bytes1)

func (*ConversionRatesCaller) GetListedTokens

func (_ConversionRates *ConversionRatesCaller) GetListedTokens(opts *bind.CallOpts) ([]common.Address, error)

GetListedTokens is a free data retrieval call binding the contract method 0x2ba996a5.

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

func (*ConversionRatesCaller) GetOperators

func (_ConversionRates *ConversionRatesCaller) 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 (*ConversionRatesCaller) GetRate

func (_ConversionRates *ConversionRatesCaller) GetRate(opts *bind.CallOpts, token common.Address, currentBlockNumber *big.Int, buy bool, qty *big.Int) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xb8e9c22e.

Solidity: function getRate(token address, currentBlockNumber uint256, buy bool, qty uint256) constant returns(uint256)

func (*ConversionRatesCaller) GetRateUpdateBlock

func (_ConversionRates *ConversionRatesCaller) GetRateUpdateBlock(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetRateUpdateBlock is a free data retrieval call binding the contract method 0x8036d757.

Solidity: function getRateUpdateBlock(token address) constant returns(uint256)

func (*ConversionRatesCaller) GetStepFunctionData

func (_ConversionRates *ConversionRatesCaller) GetStepFunctionData(opts *bind.CallOpts, token common.Address, command *big.Int, param *big.Int) (*big.Int, error)

GetStepFunctionData is a free data retrieval call binding the contract method 0x62674e93.

Solidity: function getStepFunctionData(token address, command uint256, param uint256) constant returns(int256)

func (*ConversionRatesCaller) GetTokenBasicData

func (_ConversionRates *ConversionRatesCaller) GetTokenBasicData(opts *bind.CallOpts, token common.Address) (bool, bool, error)

GetTokenBasicData is a free data retrieval call binding the contract method 0x721bba59.

Solidity: function getTokenBasicData(token address) constant returns(bool, bool)

func (*ConversionRatesCaller) GetTokenControlInfo

func (_ConversionRates *ConversionRatesCaller) GetTokenControlInfo(opts *bind.CallOpts, token common.Address) (*big.Int, *big.Int, *big.Int, error)

GetTokenControlInfo is a free data retrieval call binding the contract method 0xe7d4fd91.

Solidity: function getTokenControlInfo(token address) constant returns(uint256, uint256, uint256)

func (*ConversionRatesCaller) NumTokensInCurrentCompactData

func (_ConversionRates *ConversionRatesCaller) NumTokensInCurrentCompactData(opts *bind.CallOpts) (*big.Int, error)

NumTokensInCurrentCompactData is a free data retrieval call binding the contract method 0x5085c9f1.

Solidity: function numTokensInCurrentCompactData() constant returns(uint256)

func (*ConversionRatesCaller) PendingAdmin

func (_ConversionRates *ConversionRatesCaller) 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)

func (*ConversionRatesCaller) ReserveContract

func (_ConversionRates *ConversionRatesCaller) ReserveContract(opts *bind.CallOpts) (common.Address, error)

ReserveContract is a free data retrieval call binding the contract method 0xa7f43acd.

Solidity: function reserveContract() constant returns(address)

func (*ConversionRatesCaller) TokenImbalanceData

func (_ConversionRates *ConversionRatesCaller) TokenImbalanceData(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

TokenImbalanceData is a free data retrieval call binding the contract method 0xa80c609e.

Solidity: function tokenImbalanceData( address, uint256) constant returns(uint256)

func (*ConversionRatesCaller) ValidRateDurationInBlocks

func (_ConversionRates *ConversionRatesCaller) ValidRateDurationInBlocks(opts *bind.CallOpts) (*big.Int, error)

ValidRateDurationInBlocks is a free data retrieval call binding the contract method 0x16265694.

Solidity: function validRateDurationInBlocks() constant returns(uint256)

type ConversionRatesCallerRaw

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

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

func (*ConversionRatesCallerRaw) Call

func (_ConversionRates *ConversionRatesCallerRaw) 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 ConversionRatesCallerSession

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

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

func (*ConversionRatesCallerSession) Admin

func (_ConversionRates *ConversionRatesCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*ConversionRatesCallerSession) GetAlerters

func (_ConversionRates *ConversionRatesCallerSession) GetAlerters() ([]common.Address, error)

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

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

func (*ConversionRatesCallerSession) GetBasicRate

func (_ConversionRates *ConversionRatesCallerSession) GetBasicRate(token common.Address, buy bool) (*big.Int, error)

GetBasicRate is a free data retrieval call binding the contract method 0xcf8fee11.

Solidity: function getBasicRate(token address, buy bool) constant returns(uint256)

func (*ConversionRatesCallerSession) GetCompactData

func (_ConversionRates *ConversionRatesCallerSession) GetCompactData(token common.Address) (*big.Int, *big.Int, [1]byte, [1]byte, error)

GetCompactData is a free data retrieval call binding the contract method 0xe4a2ac62.

Solidity: function getCompactData(token address) constant returns(uint256, uint256, bytes1, bytes1)

func (*ConversionRatesCallerSession) GetListedTokens

func (_ConversionRates *ConversionRatesCallerSession) GetListedTokens() ([]common.Address, error)

GetListedTokens is a free data retrieval call binding the contract method 0x2ba996a5.

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

func (*ConversionRatesCallerSession) GetOperators

func (_ConversionRates *ConversionRatesCallerSession) GetOperators() ([]common.Address, error)

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

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

func (*ConversionRatesCallerSession) GetRate

func (_ConversionRates *ConversionRatesCallerSession) GetRate(token common.Address, currentBlockNumber *big.Int, buy bool, qty *big.Int) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xb8e9c22e.

Solidity: function getRate(token address, currentBlockNumber uint256, buy bool, qty uint256) constant returns(uint256)

func (*ConversionRatesCallerSession) GetRateUpdateBlock

func (_ConversionRates *ConversionRatesCallerSession) GetRateUpdateBlock(token common.Address) (*big.Int, error)

GetRateUpdateBlock is a free data retrieval call binding the contract method 0x8036d757.

Solidity: function getRateUpdateBlock(token address) constant returns(uint256)

func (*ConversionRatesCallerSession) GetStepFunctionData

func (_ConversionRates *ConversionRatesCallerSession) GetStepFunctionData(token common.Address, command *big.Int, param *big.Int) (*big.Int, error)

GetStepFunctionData is a free data retrieval call binding the contract method 0x62674e93.

Solidity: function getStepFunctionData(token address, command uint256, param uint256) constant returns(int256)

func (*ConversionRatesCallerSession) GetTokenBasicData

func (_ConversionRates *ConversionRatesCallerSession) GetTokenBasicData(token common.Address) (bool, bool, error)

GetTokenBasicData is a free data retrieval call binding the contract method 0x721bba59.

Solidity: function getTokenBasicData(token address) constant returns(bool, bool)

func (*ConversionRatesCallerSession) GetTokenControlInfo

func (_ConversionRates *ConversionRatesCallerSession) GetTokenControlInfo(token common.Address) (*big.Int, *big.Int, *big.Int, error)

GetTokenControlInfo is a free data retrieval call binding the contract method 0xe7d4fd91.

Solidity: function getTokenControlInfo(token address) constant returns(uint256, uint256, uint256)

func (*ConversionRatesCallerSession) NumTokensInCurrentCompactData

func (_ConversionRates *ConversionRatesCallerSession) NumTokensInCurrentCompactData() (*big.Int, error)

NumTokensInCurrentCompactData is a free data retrieval call binding the contract method 0x5085c9f1.

Solidity: function numTokensInCurrentCompactData() constant returns(uint256)

func (*ConversionRatesCallerSession) PendingAdmin

func (_ConversionRates *ConversionRatesCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*ConversionRatesCallerSession) ReserveContract

func (_ConversionRates *ConversionRatesCallerSession) ReserveContract() (common.Address, error)

ReserveContract is a free data retrieval call binding the contract method 0xa7f43acd.

Solidity: function reserveContract() constant returns(address)

func (*ConversionRatesCallerSession) TokenImbalanceData

func (_ConversionRates *ConversionRatesCallerSession) TokenImbalanceData(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

TokenImbalanceData is a free data retrieval call binding the contract method 0xa80c609e.

Solidity: function tokenImbalanceData( address, uint256) constant returns(uint256)

func (*ConversionRatesCallerSession) ValidRateDurationInBlocks

func (_ConversionRates *ConversionRatesCallerSession) ValidRateDurationInBlocks() (*big.Int, error)

ValidRateDurationInBlocks is a free data retrieval call binding the contract method 0x16265694.

Solidity: function validRateDurationInBlocks() constant returns(uint256)

type ConversionRatesEtherWithdraw

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

ConversionRatesEtherWithdraw represents a EtherWithdraw event raised by the ConversionRates contract.

type ConversionRatesEtherWithdrawIterator

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

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

func (*ConversionRatesEtherWithdrawIterator) Close

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

func (*ConversionRatesEtherWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConversionRatesEtherWithdrawIterator) 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 ConversionRatesFilterer

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

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

func NewConversionRatesFilterer

func NewConversionRatesFilterer(address common.Address, filterer bind.ContractFilterer) (*ConversionRatesFilterer, error)

NewConversionRatesFilterer creates a new log filterer instance of ConversionRates, bound to a specific deployed contract.

func (*ConversionRatesFilterer) FilterAdminClaimed

func (_ConversionRates *ConversionRatesFilterer) FilterAdminClaimed(opts *bind.FilterOpts) (*ConversionRatesAdminClaimedIterator, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*ConversionRatesFilterer) FilterAlerterAdded

func (_ConversionRates *ConversionRatesFilterer) FilterAlerterAdded(opts *bind.FilterOpts) (*ConversionRatesAlerterAddedIterator, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*ConversionRatesFilterer) FilterEtherWithdraw

func (_ConversionRates *ConversionRatesFilterer) FilterEtherWithdraw(opts *bind.FilterOpts) (*ConversionRatesEtherWithdrawIterator, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*ConversionRatesFilterer) FilterOperatorAdded

func (_ConversionRates *ConversionRatesFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*ConversionRatesOperatorAddedIterator, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*ConversionRatesFilterer) FilterTokenWithdraw

func (_ConversionRates *ConversionRatesFilterer) FilterTokenWithdraw(opts *bind.FilterOpts) (*ConversionRatesTokenWithdrawIterator, error)

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

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

func (*ConversionRatesFilterer) FilterTransferAdminPending

func (_ConversionRates *ConversionRatesFilterer) FilterTransferAdminPending(opts *bind.FilterOpts) (*ConversionRatesTransferAdminPendingIterator, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

func (*ConversionRatesFilterer) WatchAdminClaimed

func (_ConversionRates *ConversionRatesFilterer) WatchAdminClaimed(opts *bind.WatchOpts, sink chan<- *ConversionRatesAdminClaimed) (event.Subscription, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*ConversionRatesFilterer) WatchAlerterAdded

func (_ConversionRates *ConversionRatesFilterer) WatchAlerterAdded(opts *bind.WatchOpts, sink chan<- *ConversionRatesAlerterAdded) (event.Subscription, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*ConversionRatesFilterer) WatchEtherWithdraw

func (_ConversionRates *ConversionRatesFilterer) WatchEtherWithdraw(opts *bind.WatchOpts, sink chan<- *ConversionRatesEtherWithdraw) (event.Subscription, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*ConversionRatesFilterer) WatchOperatorAdded

func (_ConversionRates *ConversionRatesFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *ConversionRatesOperatorAdded) (event.Subscription, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*ConversionRatesFilterer) WatchTokenWithdraw

func (_ConversionRates *ConversionRatesFilterer) WatchTokenWithdraw(opts *bind.WatchOpts, sink chan<- *ConversionRatesTokenWithdraw) (event.Subscription, error)

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

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

func (*ConversionRatesFilterer) WatchTransferAdminPending

func (_ConversionRates *ConversionRatesFilterer) WatchTransferAdminPending(opts *bind.WatchOpts, sink chan<- *ConversionRatesTransferAdminPending) (event.Subscription, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

type ConversionRatesOperatorAdded

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

ConversionRatesOperatorAdded represents a OperatorAdded event raised by the ConversionRates contract.

type ConversionRatesOperatorAddedIterator

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

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

func (*ConversionRatesOperatorAddedIterator) Close

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

func (*ConversionRatesOperatorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConversionRatesOperatorAddedIterator) 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 ConversionRatesRaw

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

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

func (*ConversionRatesRaw) Call

func (_ConversionRates *ConversionRatesRaw) 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 (*ConversionRatesRaw) Transact

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

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

func (*ConversionRatesRaw) Transfer

func (_ConversionRates *ConversionRatesRaw) 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 ConversionRatesSession

type ConversionRatesSession struct {
	Contract     *ConversionRates  // 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
}

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

func (*ConversionRatesSession) AddAlerter

func (_ConversionRates *ConversionRatesSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*ConversionRatesSession) AddOperator

func (_ConversionRates *ConversionRatesSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*ConversionRatesSession) AddToken

func (_ConversionRates *ConversionRatesSession) AddToken(token common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.

Solidity: function addToken(token address) returns()

func (*ConversionRatesSession) Admin

func (_ConversionRates *ConversionRatesSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*ConversionRatesSession) ClaimAdmin

func (_ConversionRates *ConversionRatesSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*ConversionRatesSession) DisableTokenTrade

func (_ConversionRates *ConversionRatesSession) DisableTokenTrade(token common.Address) (*types.Transaction, error)

DisableTokenTrade is a paid mutator transaction binding the contract method 0x158859f7.

Solidity: function disableTokenTrade(token address) returns()

func (*ConversionRatesSession) EnableTokenTrade

func (_ConversionRates *ConversionRatesSession) EnableTokenTrade(token common.Address) (*types.Transaction, error)

EnableTokenTrade is a paid mutator transaction binding the contract method 0x1d6a8bda.

Solidity: function enableTokenTrade(token address) returns()

func (*ConversionRatesSession) GetAlerters

func (_ConversionRates *ConversionRatesSession) GetAlerters() ([]common.Address, error)

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

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

func (*ConversionRatesSession) GetBasicRate

func (_ConversionRates *ConversionRatesSession) GetBasicRate(token common.Address, buy bool) (*big.Int, error)

GetBasicRate is a free data retrieval call binding the contract method 0xcf8fee11.

Solidity: function getBasicRate(token address, buy bool) constant returns(uint256)

func (*ConversionRatesSession) GetCompactData

func (_ConversionRates *ConversionRatesSession) GetCompactData(token common.Address) (*big.Int, *big.Int, [1]byte, [1]byte, error)

GetCompactData is a free data retrieval call binding the contract method 0xe4a2ac62.

Solidity: function getCompactData(token address) constant returns(uint256, uint256, bytes1, bytes1)

func (*ConversionRatesSession) GetListedTokens

func (_ConversionRates *ConversionRatesSession) GetListedTokens() ([]common.Address, error)

GetListedTokens is a free data retrieval call binding the contract method 0x2ba996a5.

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

func (*ConversionRatesSession) GetOperators

func (_ConversionRates *ConversionRatesSession) GetOperators() ([]common.Address, error)

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

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

func (*ConversionRatesSession) GetRate

func (_ConversionRates *ConversionRatesSession) GetRate(token common.Address, currentBlockNumber *big.Int, buy bool, qty *big.Int) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0xb8e9c22e.

Solidity: function getRate(token address, currentBlockNumber uint256, buy bool, qty uint256) constant returns(uint256)

func (*ConversionRatesSession) GetRateUpdateBlock

func (_ConversionRates *ConversionRatesSession) GetRateUpdateBlock(token common.Address) (*big.Int, error)

GetRateUpdateBlock is a free data retrieval call binding the contract method 0x8036d757.

Solidity: function getRateUpdateBlock(token address) constant returns(uint256)

func (*ConversionRatesSession) GetStepFunctionData

func (_ConversionRates *ConversionRatesSession) GetStepFunctionData(token common.Address, command *big.Int, param *big.Int) (*big.Int, error)

GetStepFunctionData is a free data retrieval call binding the contract method 0x62674e93.

Solidity: function getStepFunctionData(token address, command uint256, param uint256) constant returns(int256)

func (*ConversionRatesSession) GetTokenBasicData

func (_ConversionRates *ConversionRatesSession) GetTokenBasicData(token common.Address) (bool, bool, error)

GetTokenBasicData is a free data retrieval call binding the contract method 0x721bba59.

Solidity: function getTokenBasicData(token address) constant returns(bool, bool)

func (*ConversionRatesSession) GetTokenControlInfo

func (_ConversionRates *ConversionRatesSession) GetTokenControlInfo(token common.Address) (*big.Int, *big.Int, *big.Int, error)

GetTokenControlInfo is a free data retrieval call binding the contract method 0xe7d4fd91.

Solidity: function getTokenControlInfo(token address) constant returns(uint256, uint256, uint256)

func (*ConversionRatesSession) NumTokensInCurrentCompactData

func (_ConversionRates *ConversionRatesSession) NumTokensInCurrentCompactData() (*big.Int, error)

NumTokensInCurrentCompactData is a free data retrieval call binding the contract method 0x5085c9f1.

Solidity: function numTokensInCurrentCompactData() constant returns(uint256)

func (*ConversionRatesSession) PendingAdmin

func (_ConversionRates *ConversionRatesSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*ConversionRatesSession) RecordImbalance

func (_ConversionRates *ConversionRatesSession) RecordImbalance(token common.Address, buyAmount *big.Int, rateUpdateBlock *big.Int, currentBlock *big.Int) (*types.Transaction, error)

RecordImbalance is a paid mutator transaction binding the contract method 0xc6fd2103.

Solidity: function recordImbalance(token address, buyAmount int256, rateUpdateBlock uint256, currentBlock uint256) returns()

func (*ConversionRatesSession) RemoveAlerter

func (_ConversionRates *ConversionRatesSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*ConversionRatesSession) RemoveOperator

func (_ConversionRates *ConversionRatesSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*ConversionRatesSession) ReserveContract

func (_ConversionRates *ConversionRatesSession) ReserveContract() (common.Address, error)

ReserveContract is a free data retrieval call binding the contract method 0xa7f43acd.

Solidity: function reserveContract() constant returns(address)

func (*ConversionRatesSession) SetBaseRate

func (_ConversionRates *ConversionRatesSession) SetBaseRate(tokens []common.Address, baseBuy []*big.Int, baseSell []*big.Int, buy [][14]byte, sell [][14]byte, blockNumber *big.Int, indices []*big.Int) (*types.Transaction, error)

SetBaseRate is a paid mutator transaction binding the contract method 0x1a4813d7.

Solidity: function setBaseRate(tokens address[], baseBuy uint256[], baseSell uint256[], buy bytes14[], sell bytes14[], blockNumber uint256, indices uint256[]) returns()

func (*ConversionRatesSession) SetCompactData

func (_ConversionRates *ConversionRatesSession) SetCompactData(buy [][14]byte, sell [][14]byte, blockNumber *big.Int, indices []*big.Int) (*types.Transaction, error)

SetCompactData is a paid mutator transaction binding the contract method 0x64887334.

Solidity: function setCompactData(buy bytes14[], sell bytes14[], blockNumber uint256, indices uint256[]) returns()

func (*ConversionRatesSession) SetImbalanceStepFunction

func (_ConversionRates *ConversionRatesSession) SetImbalanceStepFunction(token common.Address, xBuy []*big.Int, yBuy []*big.Int, xSell []*big.Int, ySell []*big.Int) (*types.Transaction, error)

SetImbalanceStepFunction is a paid mutator transaction binding the contract method 0xbc9cbcc8.

Solidity: function setImbalanceStepFunction(token address, xBuy int256[], yBuy int256[], xSell int256[], ySell int256[]) returns()

func (*ConversionRatesSession) SetQtyStepFunction

func (_ConversionRates *ConversionRatesSession) SetQtyStepFunction(token common.Address, xBuy []*big.Int, yBuy []*big.Int, xSell []*big.Int, ySell []*big.Int) (*types.Transaction, error)

SetQtyStepFunction is a paid mutator transaction binding the contract method 0x80d8b380.

Solidity: function setQtyStepFunction(token address, xBuy int256[], yBuy int256[], xSell int256[], ySell int256[]) returns()

func (*ConversionRatesSession) SetReserveAddress

func (_ConversionRates *ConversionRatesSession) SetReserveAddress(reserve common.Address) (*types.Transaction, error)

SetReserveAddress is a paid mutator transaction binding the contract method 0x14673d31.

Solidity: function setReserveAddress(reserve address) returns()

func (*ConversionRatesSession) SetTokenControlInfo

func (_ConversionRates *ConversionRatesSession) SetTokenControlInfo(token common.Address, minimalRecordResolution *big.Int, maxPerBlockImbalance *big.Int, maxTotalImbalance *big.Int) (*types.Transaction, error)

SetTokenControlInfo is a paid mutator transaction binding the contract method 0xbfee3569.

Solidity: function setTokenControlInfo(token address, minimalRecordResolution uint256, maxPerBlockImbalance uint256, maxTotalImbalance uint256) returns()

func (*ConversionRatesSession) SetValidRateDurationInBlocks

func (_ConversionRates *ConversionRatesSession) SetValidRateDurationInBlocks(duration *big.Int) (*types.Transaction, error)

SetValidRateDurationInBlocks is a paid mutator transaction binding the contract method 0x6c6295b8.

Solidity: function setValidRateDurationInBlocks(duration uint256) returns()

func (*ConversionRatesSession) TokenImbalanceData

func (_ConversionRates *ConversionRatesSession) TokenImbalanceData(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

TokenImbalanceData is a free data retrieval call binding the contract method 0xa80c609e.

Solidity: function tokenImbalanceData( address, uint256) constant returns(uint256)

func (*ConversionRatesSession) TransferAdmin

func (_ConversionRates *ConversionRatesSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*ConversionRatesSession) TransferAdminQuickly

func (_ConversionRates *ConversionRatesSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*ConversionRatesSession) ValidRateDurationInBlocks

func (_ConversionRates *ConversionRatesSession) ValidRateDurationInBlocks() (*big.Int, error)

ValidRateDurationInBlocks is a free data retrieval call binding the contract method 0x16265694.

Solidity: function validRateDurationInBlocks() constant returns(uint256)

func (*ConversionRatesSession) WithdrawEther

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

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

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

func (*ConversionRatesSession) WithdrawToken

func (_ConversionRates *ConversionRatesSession) 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(token address, amount uint256, sendTo address) returns()

type ConversionRatesTokenWithdraw

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

ConversionRatesTokenWithdraw represents a TokenWithdraw event raised by the ConversionRates contract.

type ConversionRatesTokenWithdrawIterator

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

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

func (*ConversionRatesTokenWithdrawIterator) Close

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

func (*ConversionRatesTokenWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConversionRatesTokenWithdrawIterator) 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 ConversionRatesTransactor

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

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

func NewConversionRatesTransactor

func NewConversionRatesTransactor(address common.Address, transactor bind.ContractTransactor) (*ConversionRatesTransactor, error)

NewConversionRatesTransactor creates a new write-only instance of ConversionRates, bound to a specific deployed contract.

func (*ConversionRatesTransactor) AddAlerter

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

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

Solidity: function addAlerter(newAlerter address) returns()

func (*ConversionRatesTransactor) AddOperator

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

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

Solidity: function addOperator(newOperator address) returns()

func (*ConversionRatesTransactor) AddToken

func (_ConversionRates *ConversionRatesTransactor) AddToken(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.

Solidity: function addToken(token address) returns()

func (*ConversionRatesTransactor) ClaimAdmin

func (_ConversionRates *ConversionRatesTransactor) ClaimAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*ConversionRatesTransactor) DisableTokenTrade

func (_ConversionRates *ConversionRatesTransactor) DisableTokenTrade(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

DisableTokenTrade is a paid mutator transaction binding the contract method 0x158859f7.

Solidity: function disableTokenTrade(token address) returns()

func (*ConversionRatesTransactor) EnableTokenTrade

func (_ConversionRates *ConversionRatesTransactor) EnableTokenTrade(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

EnableTokenTrade is a paid mutator transaction binding the contract method 0x1d6a8bda.

Solidity: function enableTokenTrade(token address) returns()

func (*ConversionRatesTransactor) RecordImbalance

func (_ConversionRates *ConversionRatesTransactor) RecordImbalance(opts *bind.TransactOpts, token common.Address, buyAmount *big.Int, rateUpdateBlock *big.Int, currentBlock *big.Int) (*types.Transaction, error)

RecordImbalance is a paid mutator transaction binding the contract method 0xc6fd2103.

Solidity: function recordImbalance(token address, buyAmount int256, rateUpdateBlock uint256, currentBlock uint256) returns()

func (*ConversionRatesTransactor) RemoveAlerter

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

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

Solidity: function removeAlerter(alerter address) returns()

func (*ConversionRatesTransactor) RemoveOperator

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

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

Solidity: function removeOperator(operator address) returns()

func (*ConversionRatesTransactor) SetBaseRate

func (_ConversionRates *ConversionRatesTransactor) SetBaseRate(opts *bind.TransactOpts, tokens []common.Address, baseBuy []*big.Int, baseSell []*big.Int, buy [][14]byte, sell [][14]byte, blockNumber *big.Int, indices []*big.Int) (*types.Transaction, error)

SetBaseRate is a paid mutator transaction binding the contract method 0x1a4813d7.

Solidity: function setBaseRate(tokens address[], baseBuy uint256[], baseSell uint256[], buy bytes14[], sell bytes14[], blockNumber uint256, indices uint256[]) returns()

func (*ConversionRatesTransactor) SetCompactData

func (_ConversionRates *ConversionRatesTransactor) SetCompactData(opts *bind.TransactOpts, buy [][14]byte, sell [][14]byte, blockNumber *big.Int, indices []*big.Int) (*types.Transaction, error)

SetCompactData is a paid mutator transaction binding the contract method 0x64887334.

Solidity: function setCompactData(buy bytes14[], sell bytes14[], blockNumber uint256, indices uint256[]) returns()

func (*ConversionRatesTransactor) SetImbalanceStepFunction

func (_ConversionRates *ConversionRatesTransactor) SetImbalanceStepFunction(opts *bind.TransactOpts, token common.Address, xBuy []*big.Int, yBuy []*big.Int, xSell []*big.Int, ySell []*big.Int) (*types.Transaction, error)

SetImbalanceStepFunction is a paid mutator transaction binding the contract method 0xbc9cbcc8.

Solidity: function setImbalanceStepFunction(token address, xBuy int256[], yBuy int256[], xSell int256[], ySell int256[]) returns()

func (*ConversionRatesTransactor) SetQtyStepFunction

func (_ConversionRates *ConversionRatesTransactor) SetQtyStepFunction(opts *bind.TransactOpts, token common.Address, xBuy []*big.Int, yBuy []*big.Int, xSell []*big.Int, ySell []*big.Int) (*types.Transaction, error)

SetQtyStepFunction is a paid mutator transaction binding the contract method 0x80d8b380.

Solidity: function setQtyStepFunction(token address, xBuy int256[], yBuy int256[], xSell int256[], ySell int256[]) returns()

func (*ConversionRatesTransactor) SetReserveAddress

func (_ConversionRates *ConversionRatesTransactor) SetReserveAddress(opts *bind.TransactOpts, reserve common.Address) (*types.Transaction, error)

SetReserveAddress is a paid mutator transaction binding the contract method 0x14673d31.

Solidity: function setReserveAddress(reserve address) returns()

func (*ConversionRatesTransactor) SetTokenControlInfo

func (_ConversionRates *ConversionRatesTransactor) SetTokenControlInfo(opts *bind.TransactOpts, token common.Address, minimalRecordResolution *big.Int, maxPerBlockImbalance *big.Int, maxTotalImbalance *big.Int) (*types.Transaction, error)

SetTokenControlInfo is a paid mutator transaction binding the contract method 0xbfee3569.

Solidity: function setTokenControlInfo(token address, minimalRecordResolution uint256, maxPerBlockImbalance uint256, maxTotalImbalance uint256) returns()

func (*ConversionRatesTransactor) SetValidRateDurationInBlocks

func (_ConversionRates *ConversionRatesTransactor) SetValidRateDurationInBlocks(opts *bind.TransactOpts, duration *big.Int) (*types.Transaction, error)

SetValidRateDurationInBlocks is a paid mutator transaction binding the contract method 0x6c6295b8.

Solidity: function setValidRateDurationInBlocks(duration uint256) returns()

func (*ConversionRatesTransactor) TransferAdmin

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

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*ConversionRatesTransactor) TransferAdminQuickly

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

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*ConversionRatesTransactor) WithdrawEther

func (_ConversionRates *ConversionRatesTransactor) 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(amount uint256, sendTo address) returns()

func (*ConversionRatesTransactor) WithdrawToken

func (_ConversionRates *ConversionRatesTransactor) 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(token address, amount uint256, sendTo address) returns()

type ConversionRatesTransactorRaw

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

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

func (*ConversionRatesTransactorRaw) Transact

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

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

func (*ConversionRatesTransactorRaw) Transfer

func (_ConversionRates *ConversionRatesTransactorRaw) 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 ConversionRatesTransactorSession

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

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

func (*ConversionRatesTransactorSession) AddAlerter

func (_ConversionRates *ConversionRatesTransactorSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*ConversionRatesTransactorSession) AddOperator

func (_ConversionRates *ConversionRatesTransactorSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*ConversionRatesTransactorSession) AddToken

func (_ConversionRates *ConversionRatesTransactorSession) AddToken(token common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.

Solidity: function addToken(token address) returns()

func (*ConversionRatesTransactorSession) ClaimAdmin

func (_ConversionRates *ConversionRatesTransactorSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*ConversionRatesTransactorSession) DisableTokenTrade

func (_ConversionRates *ConversionRatesTransactorSession) DisableTokenTrade(token common.Address) (*types.Transaction, error)

DisableTokenTrade is a paid mutator transaction binding the contract method 0x158859f7.

Solidity: function disableTokenTrade(token address) returns()

func (*ConversionRatesTransactorSession) EnableTokenTrade

func (_ConversionRates *ConversionRatesTransactorSession) EnableTokenTrade(token common.Address) (*types.Transaction, error)

EnableTokenTrade is a paid mutator transaction binding the contract method 0x1d6a8bda.

Solidity: function enableTokenTrade(token address) returns()

func (*ConversionRatesTransactorSession) RecordImbalance

func (_ConversionRates *ConversionRatesTransactorSession) RecordImbalance(token common.Address, buyAmount *big.Int, rateUpdateBlock *big.Int, currentBlock *big.Int) (*types.Transaction, error)

RecordImbalance is a paid mutator transaction binding the contract method 0xc6fd2103.

Solidity: function recordImbalance(token address, buyAmount int256, rateUpdateBlock uint256, currentBlock uint256) returns()

func (*ConversionRatesTransactorSession) RemoveAlerter

func (_ConversionRates *ConversionRatesTransactorSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*ConversionRatesTransactorSession) RemoveOperator

func (_ConversionRates *ConversionRatesTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*ConversionRatesTransactorSession) SetBaseRate

func (_ConversionRates *ConversionRatesTransactorSession) SetBaseRate(tokens []common.Address, baseBuy []*big.Int, baseSell []*big.Int, buy [][14]byte, sell [][14]byte, blockNumber *big.Int, indices []*big.Int) (*types.Transaction, error)

SetBaseRate is a paid mutator transaction binding the contract method 0x1a4813d7.

Solidity: function setBaseRate(tokens address[], baseBuy uint256[], baseSell uint256[], buy bytes14[], sell bytes14[], blockNumber uint256, indices uint256[]) returns()

func (*ConversionRatesTransactorSession) SetCompactData

func (_ConversionRates *ConversionRatesTransactorSession) SetCompactData(buy [][14]byte, sell [][14]byte, blockNumber *big.Int, indices []*big.Int) (*types.Transaction, error)

SetCompactData is a paid mutator transaction binding the contract method 0x64887334.

Solidity: function setCompactData(buy bytes14[], sell bytes14[], blockNumber uint256, indices uint256[]) returns()

func (*ConversionRatesTransactorSession) SetImbalanceStepFunction

func (_ConversionRates *ConversionRatesTransactorSession) SetImbalanceStepFunction(token common.Address, xBuy []*big.Int, yBuy []*big.Int, xSell []*big.Int, ySell []*big.Int) (*types.Transaction, error)

SetImbalanceStepFunction is a paid mutator transaction binding the contract method 0xbc9cbcc8.

Solidity: function setImbalanceStepFunction(token address, xBuy int256[], yBuy int256[], xSell int256[], ySell int256[]) returns()

func (*ConversionRatesTransactorSession) SetQtyStepFunction

func (_ConversionRates *ConversionRatesTransactorSession) SetQtyStepFunction(token common.Address, xBuy []*big.Int, yBuy []*big.Int, xSell []*big.Int, ySell []*big.Int) (*types.Transaction, error)

SetQtyStepFunction is a paid mutator transaction binding the contract method 0x80d8b380.

Solidity: function setQtyStepFunction(token address, xBuy int256[], yBuy int256[], xSell int256[], ySell int256[]) returns()

func (*ConversionRatesTransactorSession) SetReserveAddress

func (_ConversionRates *ConversionRatesTransactorSession) SetReserveAddress(reserve common.Address) (*types.Transaction, error)

SetReserveAddress is a paid mutator transaction binding the contract method 0x14673d31.

Solidity: function setReserveAddress(reserve address) returns()

func (*ConversionRatesTransactorSession) SetTokenControlInfo

func (_ConversionRates *ConversionRatesTransactorSession) SetTokenControlInfo(token common.Address, minimalRecordResolution *big.Int, maxPerBlockImbalance *big.Int, maxTotalImbalance *big.Int) (*types.Transaction, error)

SetTokenControlInfo is a paid mutator transaction binding the contract method 0xbfee3569.

Solidity: function setTokenControlInfo(token address, minimalRecordResolution uint256, maxPerBlockImbalance uint256, maxTotalImbalance uint256) returns()

func (*ConversionRatesTransactorSession) SetValidRateDurationInBlocks

func (_ConversionRates *ConversionRatesTransactorSession) SetValidRateDurationInBlocks(duration *big.Int) (*types.Transaction, error)

SetValidRateDurationInBlocks is a paid mutator transaction binding the contract method 0x6c6295b8.

Solidity: function setValidRateDurationInBlocks(duration uint256) returns()

func (*ConversionRatesTransactorSession) TransferAdmin

func (_ConversionRates *ConversionRatesTransactorSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*ConversionRatesTransactorSession) TransferAdminQuickly

func (_ConversionRates *ConversionRatesTransactorSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*ConversionRatesTransactorSession) WithdrawEther

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

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

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

func (*ConversionRatesTransactorSession) WithdrawToken

func (_ConversionRates *ConversionRatesTransactorSession) 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(token address, amount uint256, sendTo address) returns()

type ConversionRatesTransferAdminPending

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

ConversionRatesTransferAdminPending represents a TransferAdminPending event raised by the ConversionRates contract.

type ConversionRatesTransferAdminPendingIterator

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

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

func (*ConversionRatesTransferAdminPendingIterator) Close

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

func (*ConversionRatesTransferAdminPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ConversionRatesTransferAdminPendingIterator) 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 ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

type ERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

func (it *ERC20ApprovalIterator) 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 ERC20Caller

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

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

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(_owner address, _spender address) constant returns(uint256)

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*ERC20Caller) Decimals

func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*ERC20Caller) Name

func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ERC20Caller) Symbol

func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(_owner address, _spender address) constant returns(uint256)

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*ERC20CallerSession) Decimals

func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*ERC20CallerSession) Name

func (_ERC20 *ERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ERC20CallerSession) Symbol

func (_ERC20 *ERC20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ERC20Filterer

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

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

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: e Approval(owner indexed address, spender indexed address, value uint256)

func (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(from indexed address, to indexed address, value uint256)

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: e Approval(owner indexed address, spender indexed address, value uint256)

func (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(from indexed address, to indexed address, value uint256)

type ERC20Raw

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

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

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) 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 ERC20Session

type ERC20Session struct {
	Contract     *ERC20            // 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
}

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(_owner address, _spender address) constant returns(uint256)

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*ERC20Session) Decimals

func (_ERC20 *ERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*ERC20Session) Name

func (_ERC20 *ERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ERC20Session) Symbol

func (_ERC20 *ERC20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)

type ERC20Transfer

type ERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) 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 InternalNetwork

type InternalNetwork struct {
	InternalNetworkCaller     // Read-only binding to the contract
	InternalNetworkTransactor // Write-only binding to the contract
	InternalNetworkFilterer   // Log filterer for contract events
}

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

func NewInternalNetwork

func NewInternalNetwork(address common.Address, backend bind.ContractBackend) (*InternalNetwork, error)

NewInternalNetwork creates a new instance of InternalNetwork, bound to a specific deployed contract.

type InternalNetworkAddReserveToNetwork

type InternalNetworkAddReserveToNetwork struct {
	Reserve common.Address
	Add     bool
	Raw     types.Log // Blockchain specific contextual infos
}

InternalNetworkAddReserveToNetwork represents a AddReserveToNetwork event raised by the InternalNetwork contract.

type InternalNetworkAddReserveToNetworkIterator

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

InternalNetworkAddReserveToNetworkIterator is returned from FilterAddReserveToNetwork and is used to iterate over the raw logs and unpacked data for AddReserveToNetwork events raised by the InternalNetwork contract.

func (*InternalNetworkAddReserveToNetworkIterator) Close

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

func (*InternalNetworkAddReserveToNetworkIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkAddReserveToNetworkIterator) 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 InternalNetworkAdminClaimed

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

InternalNetworkAdminClaimed represents a AdminClaimed event raised by the InternalNetwork contract.

type InternalNetworkAdminClaimedIterator

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

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

func (*InternalNetworkAdminClaimedIterator) Close

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

func (*InternalNetworkAdminClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkAdminClaimedIterator) 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 InternalNetworkAlerterAdded

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

InternalNetworkAlerterAdded represents a AlerterAdded event raised by the InternalNetwork contract.

type InternalNetworkAlerterAddedIterator

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

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

func (*InternalNetworkAlerterAddedIterator) Close

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

func (*InternalNetworkAlerterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkAlerterAddedIterator) 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 InternalNetworkCaller

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

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

func NewInternalNetworkCaller

func NewInternalNetworkCaller(address common.Address, caller bind.ContractCaller) (*InternalNetworkCaller, error)

NewInternalNetworkCaller creates a new read-only instance of InternalNetwork, bound to a specific deployed contract.

func (*InternalNetworkCaller) Admin

func (_InternalNetwork *InternalNetworkCaller) 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 (*InternalNetworkCaller) Enabled

func (_InternalNetwork *InternalNetworkCaller) 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 (*InternalNetworkCaller) ExpectedRateContract

func (_InternalNetwork *InternalNetworkCaller) ExpectedRateContract(opts *bind.CallOpts) (common.Address, error)

ExpectedRateContract is a free data retrieval call binding the contract method 0x5dada964.

Solidity: function expectedRateContract() constant returns(address)

func (*InternalNetworkCaller) FeeBurnerContract

func (_InternalNetwork *InternalNetworkCaller) FeeBurnerContract(opts *bind.CallOpts) (common.Address, error)

FeeBurnerContract is a free data retrieval call binding the contract method 0x579425b7.

Solidity: function feeBurnerContract() constant returns(address)

func (*InternalNetworkCaller) FindBestRate

func (_InternalNetwork *InternalNetworkCaller) FindBestRate(opts *bind.CallOpts, src common.Address, dest common.Address, srcAmount *big.Int) (struct {
	Obsolete *big.Int
	Rate     *big.Int
}, error)

FindBestRate is a free data retrieval call binding the contract method 0xb8388aca.

Solidity: function findBestRate(src address, dest address, srcAmount uint256) constant returns(obsolete uint256, rate uint256)

func (*InternalNetworkCaller) GetAlerters

func (_InternalNetwork *InternalNetworkCaller) 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 (*InternalNetworkCaller) GetBalance

func (_InternalNetwork *InternalNetworkCaller) 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(token address, user address) constant returns(uint256)

func (*InternalNetworkCaller) GetExpectedRate

func (_InternalNetwork *InternalNetworkCaller) 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(src address, dest address, srcQty uint256) constant returns(expectedRate uint256, slippageRate uint256)

func (*InternalNetworkCaller) GetNumReserves

func (_InternalNetwork *InternalNetworkCaller) GetNumReserves(opts *bind.CallOpts) (*big.Int, error)

GetNumReserves is a free data retrieval call binding the contract method 0xcfff25bb.

Solidity: function getNumReserves() constant returns(uint256)

func (*InternalNetworkCaller) GetOperators

func (_InternalNetwork *InternalNetworkCaller) 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 (*InternalNetworkCaller) GetReserves

func (_InternalNetwork *InternalNetworkCaller) GetReserves(opts *bind.CallOpts) ([]common.Address, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

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

func (*InternalNetworkCaller) GetUserCapInTokenWei

func (_InternalNetwork *InternalNetworkCaller) 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(user address, token address) constant returns(uint256)

func (*InternalNetworkCaller) GetUserCapInWei

func (_InternalNetwork *InternalNetworkCaller) 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(user address) constant returns(uint256)

func (*InternalNetworkCaller) Info

func (_InternalNetwork *InternalNetworkCaller) 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(field bytes32) constant returns(uint256)

func (*InternalNetworkCaller) InfoFields

func (_InternalNetwork *InternalNetworkCaller) InfoFields(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

InfoFields is a free data retrieval call binding the contract method 0x1610b59b.

Solidity: function infoFields( bytes32) constant returns(uint256)

func (*InternalNetworkCaller) IsEnabled

func (_InternalNetwork *InternalNetworkCaller) IsEnabled(opts *bind.CallOpts) (bool, error)

IsEnabled is a free data retrieval call binding the contract method 0x6aa633b6.

Solidity: function isEnabled() constant returns(bool)

func (*InternalNetworkCaller) IsReserve

func (_InternalNetwork *InternalNetworkCaller) IsReserve(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsReserve is a free data retrieval call binding the contract method 0x7a2b0587.

Solidity: function isReserve( address) constant returns(bool)

func (*InternalNetworkCaller) KyberNetworkProxyContract

func (_InternalNetwork *InternalNetworkCaller) KyberNetworkProxyContract(opts *bind.CallOpts) (common.Address, error)

KyberNetworkProxyContract is a free data retrieval call binding the contract method 0x785250da.

Solidity: function kyberNetworkProxyContract() constant returns(address)

func (*InternalNetworkCaller) MaxGasPrice

func (_InternalNetwork *InternalNetworkCaller) 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 (*InternalNetworkCaller) MaxGasPriceValue

func (_InternalNetwork *InternalNetworkCaller) MaxGasPriceValue(opts *bind.CallOpts) (*big.Int, error)

MaxGasPriceValue is a free data retrieval call binding the contract method 0xb2d111f6.

Solidity: function maxGasPriceValue() constant returns(uint256)

func (*InternalNetworkCaller) NegligibleRateDiff

func (_InternalNetwork *InternalNetworkCaller) NegligibleRateDiff(opts *bind.CallOpts) (*big.Int, error)

NegligibleRateDiff is a free data retrieval call binding the contract method 0x4cef5a5c.

Solidity: function negligibleRateDiff() constant returns(uint256)

func (*InternalNetworkCaller) PendingAdmin

func (_InternalNetwork *InternalNetworkCaller) 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)

func (*InternalNetworkCaller) Reserves

func (_InternalNetwork *InternalNetworkCaller) Reserves(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

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

Solidity: function reserves( uint256) constant returns(address)

func (*InternalNetworkCaller) ReservesPerTokenDest

func (_InternalNetwork *InternalNetworkCaller) ReservesPerTokenDest(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

ReservesPerTokenDest is a free data retrieval call binding the contract method 0x937e909b.

Solidity: function reservesPerTokenDest( address, uint256) constant returns(address)

func (*InternalNetworkCaller) ReservesPerTokenSrc

func (_InternalNetwork *InternalNetworkCaller) ReservesPerTokenSrc(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

ReservesPerTokenSrc is a free data retrieval call binding the contract method 0x2ab8fc2d.

Solidity: function reservesPerTokenSrc( address, uint256) constant returns(address)

func (*InternalNetworkCaller) SearchBestRate

func (_InternalNetwork *InternalNetworkCaller) SearchBestRate(opts *bind.CallOpts, src common.Address, dest common.Address, srcAmount *big.Int) (common.Address, *big.Int, error)

SearchBestRate is a free data retrieval call binding the contract method 0xab127a0c.

Solidity: function searchBestRate(src address, dest address, srcAmount uint256) constant returns(address, uint256)

func (*InternalNetworkCaller) WhiteListContract

func (_InternalNetwork *InternalNetworkCaller) WhiteListContract(opts *bind.CallOpts) (common.Address, error)

WhiteListContract is a free data retrieval call binding the contract method 0x5ed5ea28.

Solidity: function whiteListContract() constant returns(address)

type InternalNetworkCallerRaw

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

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

func (*InternalNetworkCallerRaw) Call

func (_InternalNetwork *InternalNetworkCallerRaw) 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 InternalNetworkCallerSession

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

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

func (*InternalNetworkCallerSession) Admin

func (_InternalNetwork *InternalNetworkCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*InternalNetworkCallerSession) Enabled

func (_InternalNetwork *InternalNetworkCallerSession) Enabled() (bool, error)

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

Solidity: function enabled() constant returns(bool)

func (*InternalNetworkCallerSession) ExpectedRateContract

func (_InternalNetwork *InternalNetworkCallerSession) ExpectedRateContract() (common.Address, error)

ExpectedRateContract is a free data retrieval call binding the contract method 0x5dada964.

Solidity: function expectedRateContract() constant returns(address)

func (*InternalNetworkCallerSession) FeeBurnerContract

func (_InternalNetwork *InternalNetworkCallerSession) FeeBurnerContract() (common.Address, error)

FeeBurnerContract is a free data retrieval call binding the contract method 0x579425b7.

Solidity: function feeBurnerContract() constant returns(address)

func (*InternalNetworkCallerSession) FindBestRate

func (_InternalNetwork *InternalNetworkCallerSession) FindBestRate(src common.Address, dest common.Address, srcAmount *big.Int) (struct {
	Obsolete *big.Int
	Rate     *big.Int
}, error)

FindBestRate is a free data retrieval call binding the contract method 0xb8388aca.

Solidity: function findBestRate(src address, dest address, srcAmount uint256) constant returns(obsolete uint256, rate uint256)

func (*InternalNetworkCallerSession) GetAlerters

func (_InternalNetwork *InternalNetworkCallerSession) GetAlerters() ([]common.Address, error)

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

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

func (*InternalNetworkCallerSession) GetBalance

func (_InternalNetwork *InternalNetworkCallerSession) 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(token address, user address) constant returns(uint256)

func (*InternalNetworkCallerSession) GetExpectedRate

func (_InternalNetwork *InternalNetworkCallerSession) 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(src address, dest address, srcQty uint256) constant returns(expectedRate uint256, slippageRate uint256)

func (*InternalNetworkCallerSession) GetNumReserves

func (_InternalNetwork *InternalNetworkCallerSession) GetNumReserves() (*big.Int, error)

GetNumReserves is a free data retrieval call binding the contract method 0xcfff25bb.

Solidity: function getNumReserves() constant returns(uint256)

func (*InternalNetworkCallerSession) GetOperators

func (_InternalNetwork *InternalNetworkCallerSession) GetOperators() ([]common.Address, error)

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

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

func (*InternalNetworkCallerSession) GetReserves

func (_InternalNetwork *InternalNetworkCallerSession) GetReserves() ([]common.Address, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

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

func (*InternalNetworkCallerSession) GetUserCapInTokenWei

func (_InternalNetwork *InternalNetworkCallerSession) 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(user address, token address) constant returns(uint256)

func (*InternalNetworkCallerSession) GetUserCapInWei

func (_InternalNetwork *InternalNetworkCallerSession) GetUserCapInWei(user common.Address) (*big.Int, error)

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

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

func (*InternalNetworkCallerSession) Info

func (_InternalNetwork *InternalNetworkCallerSession) Info(field [32]byte) (*big.Int, error)

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

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

func (*InternalNetworkCallerSession) InfoFields

func (_InternalNetwork *InternalNetworkCallerSession) InfoFields(arg0 [32]byte) (*big.Int, error)

InfoFields is a free data retrieval call binding the contract method 0x1610b59b.

Solidity: function infoFields( bytes32) constant returns(uint256)

func (*InternalNetworkCallerSession) IsEnabled

func (_InternalNetwork *InternalNetworkCallerSession) IsEnabled() (bool, error)

IsEnabled is a free data retrieval call binding the contract method 0x6aa633b6.

Solidity: function isEnabled() constant returns(bool)

func (*InternalNetworkCallerSession) IsReserve

func (_InternalNetwork *InternalNetworkCallerSession) IsReserve(arg0 common.Address) (bool, error)

IsReserve is a free data retrieval call binding the contract method 0x7a2b0587.

Solidity: function isReserve( address) constant returns(bool)

func (*InternalNetworkCallerSession) KyberNetworkProxyContract

func (_InternalNetwork *InternalNetworkCallerSession) KyberNetworkProxyContract() (common.Address, error)

KyberNetworkProxyContract is a free data retrieval call binding the contract method 0x785250da.

Solidity: function kyberNetworkProxyContract() constant returns(address)

func (*InternalNetworkCallerSession) MaxGasPrice

func (_InternalNetwork *InternalNetworkCallerSession) MaxGasPrice() (*big.Int, error)

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

Solidity: function maxGasPrice() constant returns(uint256)

func (*InternalNetworkCallerSession) MaxGasPriceValue

func (_InternalNetwork *InternalNetworkCallerSession) MaxGasPriceValue() (*big.Int, error)

MaxGasPriceValue is a free data retrieval call binding the contract method 0xb2d111f6.

Solidity: function maxGasPriceValue() constant returns(uint256)

func (*InternalNetworkCallerSession) NegligibleRateDiff

func (_InternalNetwork *InternalNetworkCallerSession) NegligibleRateDiff() (*big.Int, error)

NegligibleRateDiff is a free data retrieval call binding the contract method 0x4cef5a5c.

Solidity: function negligibleRateDiff() constant returns(uint256)

func (*InternalNetworkCallerSession) PendingAdmin

func (_InternalNetwork *InternalNetworkCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*InternalNetworkCallerSession) Reserves

func (_InternalNetwork *InternalNetworkCallerSession) Reserves(arg0 *big.Int) (common.Address, error)

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

Solidity: function reserves( uint256) constant returns(address)

func (*InternalNetworkCallerSession) ReservesPerTokenDest

func (_InternalNetwork *InternalNetworkCallerSession) ReservesPerTokenDest(arg0 common.Address, arg1 *big.Int) (common.Address, error)

ReservesPerTokenDest is a free data retrieval call binding the contract method 0x937e909b.

Solidity: function reservesPerTokenDest( address, uint256) constant returns(address)

func (*InternalNetworkCallerSession) ReservesPerTokenSrc

func (_InternalNetwork *InternalNetworkCallerSession) ReservesPerTokenSrc(arg0 common.Address, arg1 *big.Int) (common.Address, error)

ReservesPerTokenSrc is a free data retrieval call binding the contract method 0x2ab8fc2d.

Solidity: function reservesPerTokenSrc( address, uint256) constant returns(address)

func (*InternalNetworkCallerSession) SearchBestRate

func (_InternalNetwork *InternalNetworkCallerSession) SearchBestRate(src common.Address, dest common.Address, srcAmount *big.Int) (common.Address, *big.Int, error)

SearchBestRate is a free data retrieval call binding the contract method 0xab127a0c.

Solidity: function searchBestRate(src address, dest address, srcAmount uint256) constant returns(address, uint256)

func (*InternalNetworkCallerSession) WhiteListContract

func (_InternalNetwork *InternalNetworkCallerSession) WhiteListContract() (common.Address, error)

WhiteListContract is a free data retrieval call binding the contract method 0x5ed5ea28.

Solidity: function whiteListContract() constant returns(address)

type InternalNetworkEtherReceival

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

InternalNetworkEtherReceival represents a EtherReceival event raised by the InternalNetwork contract.

type InternalNetworkEtherReceivalIterator

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

InternalNetworkEtherReceivalIterator is returned from FilterEtherReceival and is used to iterate over the raw logs and unpacked data for EtherReceival events raised by the InternalNetwork contract.

func (*InternalNetworkEtherReceivalIterator) Close

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

func (*InternalNetworkEtherReceivalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkEtherReceivalIterator) 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 InternalNetworkEtherWithdraw

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

InternalNetworkEtherWithdraw represents a EtherWithdraw event raised by the InternalNetwork contract.

type InternalNetworkEtherWithdrawIterator

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

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

func (*InternalNetworkEtherWithdrawIterator) Close

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

func (*InternalNetworkEtherWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkEtherWithdrawIterator) 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 InternalNetworkFilterer

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

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

func NewInternalNetworkFilterer

func NewInternalNetworkFilterer(address common.Address, filterer bind.ContractFilterer) (*InternalNetworkFilterer, error)

NewInternalNetworkFilterer creates a new log filterer instance of InternalNetwork, bound to a specific deployed contract.

func (*InternalNetworkFilterer) FilterAddReserveToNetwork

func (_InternalNetwork *InternalNetworkFilterer) FilterAddReserveToNetwork(opts *bind.FilterOpts) (*InternalNetworkAddReserveToNetworkIterator, error)

FilterAddReserveToNetwork is a free log retrieval operation binding the contract event 0x7752182b29e356eb432239f464340b4481e1b0bfad97f06aa2ff8cdc74611449.

Solidity: e AddReserveToNetwork(reserve address, add bool)

func (*InternalNetworkFilterer) FilterAdminClaimed

func (_InternalNetwork *InternalNetworkFilterer) FilterAdminClaimed(opts *bind.FilterOpts) (*InternalNetworkAdminClaimedIterator, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*InternalNetworkFilterer) FilterAlerterAdded

func (_InternalNetwork *InternalNetworkFilterer) FilterAlerterAdded(opts *bind.FilterOpts) (*InternalNetworkAlerterAddedIterator, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*InternalNetworkFilterer) FilterEtherReceival

func (_InternalNetwork *InternalNetworkFilterer) FilterEtherReceival(opts *bind.FilterOpts, sender []common.Address) (*InternalNetworkEtherReceivalIterator, error)

FilterEtherReceival is a free log retrieval operation binding the contract event 0x75f33ed68675112c77094e7c5b073890598be1d23e27cd7f6907b4a7d98ac619.

Solidity: e EtherReceival(sender indexed address, amount uint256)

func (*InternalNetworkFilterer) FilterEtherWithdraw

func (_InternalNetwork *InternalNetworkFilterer) FilterEtherWithdraw(opts *bind.FilterOpts) (*InternalNetworkEtherWithdrawIterator, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*InternalNetworkFilterer) FilterKyberProxySet

func (_InternalNetwork *InternalNetworkFilterer) FilterKyberProxySet(opts *bind.FilterOpts) (*InternalNetworkKyberProxySetIterator, error)

FilterKyberProxySet is a free log retrieval operation binding the contract event 0xfdd305502f7797ff3390aa08825f7f6aec92c27a94e103bfaf45452b4cf1d4f4.

Solidity: e KyberProxySet(proxy address, sender address)

func (*InternalNetworkFilterer) FilterKyberTrade

func (_InternalNetwork *InternalNetworkFilterer) FilterKyberTrade(opts *bind.FilterOpts) (*InternalNetworkKyberTradeIterator, error)

FilterKyberTrade is a free log retrieval operation binding the contract event 0x1c8399ecc5c956b9cb18c820248b10b634cca4af308755e07cd467655e8ec3c7.

Solidity: e KyberTrade(srcAddress address, srcToken address, srcAmount uint256, destAddress address, destToken address, destAmount uint256)

func (*InternalNetworkFilterer) FilterListReservePairs

func (_InternalNetwork *InternalNetworkFilterer) FilterListReservePairs(opts *bind.FilterOpts) (*InternalNetworkListReservePairsIterator, error)

FilterListReservePairs is a free log retrieval operation binding the contract event 0xadb5a4f14d89b3a5ffb3900ac1ea4574d991f93887f6199fabaf25393644e01c.

Solidity: e ListReservePairs(reserve address, src address, dest address, add bool)

func (*InternalNetworkFilterer) FilterOperatorAdded

func (_InternalNetwork *InternalNetworkFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*InternalNetworkOperatorAddedIterator, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*InternalNetworkFilterer) FilterTokenWithdraw

func (_InternalNetwork *InternalNetworkFilterer) FilterTokenWithdraw(opts *bind.FilterOpts) (*InternalNetworkTokenWithdrawIterator, error)

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

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

func (*InternalNetworkFilterer) FilterTransferAdminPending

func (_InternalNetwork *InternalNetworkFilterer) FilterTransferAdminPending(opts *bind.FilterOpts) (*InternalNetworkTransferAdminPendingIterator, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

func (*InternalNetworkFilterer) WatchAddReserveToNetwork

func (_InternalNetwork *InternalNetworkFilterer) WatchAddReserveToNetwork(opts *bind.WatchOpts, sink chan<- *InternalNetworkAddReserveToNetwork) (event.Subscription, error)

WatchAddReserveToNetwork is a free log subscription operation binding the contract event 0x7752182b29e356eb432239f464340b4481e1b0bfad97f06aa2ff8cdc74611449.

Solidity: e AddReserveToNetwork(reserve address, add bool)

func (*InternalNetworkFilterer) WatchAdminClaimed

func (_InternalNetwork *InternalNetworkFilterer) WatchAdminClaimed(opts *bind.WatchOpts, sink chan<- *InternalNetworkAdminClaimed) (event.Subscription, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*InternalNetworkFilterer) WatchAlerterAdded

func (_InternalNetwork *InternalNetworkFilterer) WatchAlerterAdded(opts *bind.WatchOpts, sink chan<- *InternalNetworkAlerterAdded) (event.Subscription, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*InternalNetworkFilterer) WatchEtherReceival

func (_InternalNetwork *InternalNetworkFilterer) WatchEtherReceival(opts *bind.WatchOpts, sink chan<- *InternalNetworkEtherReceival, sender []common.Address) (event.Subscription, error)

WatchEtherReceival is a free log subscription operation binding the contract event 0x75f33ed68675112c77094e7c5b073890598be1d23e27cd7f6907b4a7d98ac619.

Solidity: e EtherReceival(sender indexed address, amount uint256)

func (*InternalNetworkFilterer) WatchEtherWithdraw

func (_InternalNetwork *InternalNetworkFilterer) WatchEtherWithdraw(opts *bind.WatchOpts, sink chan<- *InternalNetworkEtherWithdraw) (event.Subscription, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*InternalNetworkFilterer) WatchKyberProxySet

func (_InternalNetwork *InternalNetworkFilterer) WatchKyberProxySet(opts *bind.WatchOpts, sink chan<- *InternalNetworkKyberProxySet) (event.Subscription, error)

WatchKyberProxySet is a free log subscription operation binding the contract event 0xfdd305502f7797ff3390aa08825f7f6aec92c27a94e103bfaf45452b4cf1d4f4.

Solidity: e KyberProxySet(proxy address, sender address)

func (*InternalNetworkFilterer) WatchKyberTrade

func (_InternalNetwork *InternalNetworkFilterer) WatchKyberTrade(opts *bind.WatchOpts, sink chan<- *InternalNetworkKyberTrade) (event.Subscription, error)

WatchKyberTrade is a free log subscription operation binding the contract event 0x1c8399ecc5c956b9cb18c820248b10b634cca4af308755e07cd467655e8ec3c7.

Solidity: e KyberTrade(srcAddress address, srcToken address, srcAmount uint256, destAddress address, destToken address, destAmount uint256)

func (*InternalNetworkFilterer) WatchListReservePairs

func (_InternalNetwork *InternalNetworkFilterer) WatchListReservePairs(opts *bind.WatchOpts, sink chan<- *InternalNetworkListReservePairs) (event.Subscription, error)

WatchListReservePairs is a free log subscription operation binding the contract event 0xadb5a4f14d89b3a5ffb3900ac1ea4574d991f93887f6199fabaf25393644e01c.

Solidity: e ListReservePairs(reserve address, src address, dest address, add bool)

func (*InternalNetworkFilterer) WatchOperatorAdded

func (_InternalNetwork *InternalNetworkFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *InternalNetworkOperatorAdded) (event.Subscription, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*InternalNetworkFilterer) WatchTokenWithdraw

func (_InternalNetwork *InternalNetworkFilterer) WatchTokenWithdraw(opts *bind.WatchOpts, sink chan<- *InternalNetworkTokenWithdraw) (event.Subscription, error)

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

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

func (*InternalNetworkFilterer) WatchTransferAdminPending

func (_InternalNetwork *InternalNetworkFilterer) WatchTransferAdminPending(opts *bind.WatchOpts, sink chan<- *InternalNetworkTransferAdminPending) (event.Subscription, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

type InternalNetworkKyberProxySet

type InternalNetworkKyberProxySet struct {
	Proxy  common.Address
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

InternalNetworkKyberProxySet represents a KyberProxySet event raised by the InternalNetwork contract.

type InternalNetworkKyberProxySetIterator

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

InternalNetworkKyberProxySetIterator is returned from FilterKyberProxySet and is used to iterate over the raw logs and unpacked data for KyberProxySet events raised by the InternalNetwork contract.

func (*InternalNetworkKyberProxySetIterator) Close

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

func (*InternalNetworkKyberProxySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkKyberProxySetIterator) 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 InternalNetworkKyberTrade

type InternalNetworkKyberTrade struct {
	SrcAddress  common.Address
	SrcToken    common.Address
	SrcAmount   *big.Int
	DestAddress common.Address
	DestToken   common.Address
	DestAmount  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

InternalNetworkKyberTrade represents a KyberTrade event raised by the InternalNetwork contract.

type InternalNetworkKyberTradeIterator

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

InternalNetworkKyberTradeIterator is returned from FilterKyberTrade and is used to iterate over the raw logs and unpacked data for KyberTrade events raised by the InternalNetwork contract.

func (*InternalNetworkKyberTradeIterator) Close

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

func (*InternalNetworkKyberTradeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkKyberTradeIterator) 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 InternalNetworkListReservePairs

type InternalNetworkListReservePairs struct {
	Reserve common.Address
	Src     common.Address
	Dest    common.Address
	Add     bool
	Raw     types.Log // Blockchain specific contextual infos
}

InternalNetworkListReservePairs represents a ListReservePairs event raised by the InternalNetwork contract.

type InternalNetworkListReservePairsIterator

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

InternalNetworkListReservePairsIterator is returned from FilterListReservePairs and is used to iterate over the raw logs and unpacked data for ListReservePairs events raised by the InternalNetwork contract.

func (*InternalNetworkListReservePairsIterator) Close

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

func (*InternalNetworkListReservePairsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkListReservePairsIterator) 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 InternalNetworkOperatorAdded

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

InternalNetworkOperatorAdded represents a OperatorAdded event raised by the InternalNetwork contract.

type InternalNetworkOperatorAddedIterator

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

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

func (*InternalNetworkOperatorAddedIterator) Close

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

func (*InternalNetworkOperatorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkOperatorAddedIterator) 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 InternalNetworkRaw

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

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

func (*InternalNetworkRaw) Call

func (_InternalNetwork *InternalNetworkRaw) 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 (*InternalNetworkRaw) Transact

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

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

func (*InternalNetworkRaw) Transfer

func (_InternalNetwork *InternalNetworkRaw) 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 InternalNetworkSession

type InternalNetworkSession struct {
	Contract     *InternalNetwork  // 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
}

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

func (*InternalNetworkSession) AddAlerter

func (_InternalNetwork *InternalNetworkSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*InternalNetworkSession) AddOperator

func (_InternalNetwork *InternalNetworkSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*InternalNetworkSession) AddReserve

func (_InternalNetwork *InternalNetworkSession) AddReserve(reserve common.Address, add bool) (*types.Transaction, error)

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

Solidity: function addReserve(reserve address, add bool) returns()

func (*InternalNetworkSession) Admin

func (_InternalNetwork *InternalNetworkSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*InternalNetworkSession) ClaimAdmin

func (_InternalNetwork *InternalNetworkSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*InternalNetworkSession) Enabled

func (_InternalNetwork *InternalNetworkSession) Enabled() (bool, error)

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

Solidity: function enabled() constant returns(bool)

func (*InternalNetworkSession) ExpectedRateContract

func (_InternalNetwork *InternalNetworkSession) ExpectedRateContract() (common.Address, error)

ExpectedRateContract is a free data retrieval call binding the contract method 0x5dada964.

Solidity: function expectedRateContract() constant returns(address)

func (*InternalNetworkSession) FeeBurnerContract

func (_InternalNetwork *InternalNetworkSession) FeeBurnerContract() (common.Address, error)

FeeBurnerContract is a free data retrieval call binding the contract method 0x579425b7.

Solidity: function feeBurnerContract() constant returns(address)

func (*InternalNetworkSession) FindBestRate

func (_InternalNetwork *InternalNetworkSession) FindBestRate(src common.Address, dest common.Address, srcAmount *big.Int) (struct {
	Obsolete *big.Int
	Rate     *big.Int
}, error)

FindBestRate is a free data retrieval call binding the contract method 0xb8388aca.

Solidity: function findBestRate(src address, dest address, srcAmount uint256) constant returns(obsolete uint256, rate uint256)

func (*InternalNetworkSession) GetAlerters

func (_InternalNetwork *InternalNetworkSession) GetAlerters() ([]common.Address, error)

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

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

func (*InternalNetworkSession) GetBalance

func (_InternalNetwork *InternalNetworkSession) 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(token address, user address) constant returns(uint256)

func (*InternalNetworkSession) GetExpectedRate

func (_InternalNetwork *InternalNetworkSession) 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(src address, dest address, srcQty uint256) constant returns(expectedRate uint256, slippageRate uint256)

func (*InternalNetworkSession) GetNumReserves

func (_InternalNetwork *InternalNetworkSession) GetNumReserves() (*big.Int, error)

GetNumReserves is a free data retrieval call binding the contract method 0xcfff25bb.

Solidity: function getNumReserves() constant returns(uint256)

func (*InternalNetworkSession) GetOperators

func (_InternalNetwork *InternalNetworkSession) GetOperators() ([]common.Address, error)

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

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

func (*InternalNetworkSession) GetReserves

func (_InternalNetwork *InternalNetworkSession) GetReserves() ([]common.Address, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

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

func (*InternalNetworkSession) GetUserCapInTokenWei

func (_InternalNetwork *InternalNetworkSession) 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(user address, token address) constant returns(uint256)

func (*InternalNetworkSession) GetUserCapInWei

func (_InternalNetwork *InternalNetworkSession) GetUserCapInWei(user common.Address) (*big.Int, error)

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

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

func (*InternalNetworkSession) Info

func (_InternalNetwork *InternalNetworkSession) Info(field [32]byte) (*big.Int, error)

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

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

func (*InternalNetworkSession) InfoFields

func (_InternalNetwork *InternalNetworkSession) InfoFields(arg0 [32]byte) (*big.Int, error)

InfoFields is a free data retrieval call binding the contract method 0x1610b59b.

Solidity: function infoFields( bytes32) constant returns(uint256)

func (*InternalNetworkSession) IsEnabled

func (_InternalNetwork *InternalNetworkSession) IsEnabled() (bool, error)

IsEnabled is a free data retrieval call binding the contract method 0x6aa633b6.

Solidity: function isEnabled() constant returns(bool)

func (*InternalNetworkSession) IsReserve

func (_InternalNetwork *InternalNetworkSession) IsReserve(arg0 common.Address) (bool, error)

IsReserve is a free data retrieval call binding the contract method 0x7a2b0587.

Solidity: function isReserve( address) constant returns(bool)

func (*InternalNetworkSession) KyberNetworkProxyContract

func (_InternalNetwork *InternalNetworkSession) KyberNetworkProxyContract() (common.Address, error)

KyberNetworkProxyContract is a free data retrieval call binding the contract method 0x785250da.

Solidity: function kyberNetworkProxyContract() constant returns(address)

func (*InternalNetworkSession) ListPairForReserve

func (_InternalNetwork *InternalNetworkSession) ListPairForReserve(reserve common.Address, token common.Address, ethToToken bool, tokenToEth bool, add bool) (*types.Transaction, error)

ListPairForReserve is a paid mutator transaction binding the contract method 0xe02584bf.

Solidity: function listPairForReserve(reserve address, token address, ethToToken bool, tokenToEth bool, add bool) returns()

func (*InternalNetworkSession) MaxGasPrice

func (_InternalNetwork *InternalNetworkSession) MaxGasPrice() (*big.Int, error)

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

Solidity: function maxGasPrice() constant returns(uint256)

func (*InternalNetworkSession) MaxGasPriceValue

func (_InternalNetwork *InternalNetworkSession) MaxGasPriceValue() (*big.Int, error)

MaxGasPriceValue is a free data retrieval call binding the contract method 0xb2d111f6.

Solidity: function maxGasPriceValue() constant returns(uint256)

func (*InternalNetworkSession) NegligibleRateDiff

func (_InternalNetwork *InternalNetworkSession) NegligibleRateDiff() (*big.Int, error)

NegligibleRateDiff is a free data retrieval call binding the contract method 0x4cef5a5c.

Solidity: function negligibleRateDiff() constant returns(uint256)

func (*InternalNetworkSession) PendingAdmin

func (_InternalNetwork *InternalNetworkSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*InternalNetworkSession) RemoveAlerter

func (_InternalNetwork *InternalNetworkSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*InternalNetworkSession) RemoveOperator

func (_InternalNetwork *InternalNetworkSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*InternalNetworkSession) Reserves

func (_InternalNetwork *InternalNetworkSession) Reserves(arg0 *big.Int) (common.Address, error)

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

Solidity: function reserves( uint256) constant returns(address)

func (*InternalNetworkSession) ReservesPerTokenDest

func (_InternalNetwork *InternalNetworkSession) ReservesPerTokenDest(arg0 common.Address, arg1 *big.Int) (common.Address, error)

ReservesPerTokenDest is a free data retrieval call binding the contract method 0x937e909b.

Solidity: function reservesPerTokenDest( address, uint256) constant returns(address)

func (*InternalNetworkSession) ReservesPerTokenSrc

func (_InternalNetwork *InternalNetworkSession) ReservesPerTokenSrc(arg0 common.Address, arg1 *big.Int) (common.Address, error)

ReservesPerTokenSrc is a free data retrieval call binding the contract method 0x2ab8fc2d.

Solidity: function reservesPerTokenSrc( address, uint256) constant returns(address)

func (*InternalNetworkSession) SearchBestRate

func (_InternalNetwork *InternalNetworkSession) SearchBestRate(src common.Address, dest common.Address, srcAmount *big.Int) (common.Address, *big.Int, error)

SearchBestRate is a free data retrieval call binding the contract method 0xab127a0c.

Solidity: function searchBestRate(src address, dest address, srcAmount uint256) constant returns(address, uint256)

func (*InternalNetworkSession) SetEnable

func (_InternalNetwork *InternalNetworkSession) SetEnable(_enable bool) (*types.Transaction, error)

SetEnable is a paid mutator transaction binding the contract method 0x7726bed3.

Solidity: function setEnable(_enable bool) returns()

func (*InternalNetworkSession) SetExpectedRate

func (_InternalNetwork *InternalNetworkSession) SetExpectedRate(expectedRate common.Address) (*types.Transaction, error)

SetExpectedRate is a paid mutator transaction binding the contract method 0x5d270cdc.

Solidity: function setExpectedRate(expectedRate address) returns()

func (*InternalNetworkSession) SetFeeBurner

func (_InternalNetwork *InternalNetworkSession) SetFeeBurner(feeBurner common.Address) (*types.Transaction, error)

SetFeeBurner is a paid mutator transaction binding the contract method 0x1a79464e.

Solidity: function setFeeBurner(feeBurner address) returns()

func (*InternalNetworkSession) SetInfo

func (_InternalNetwork *InternalNetworkSession) SetInfo(field [32]byte, value *big.Int) (*types.Transaction, error)

SetInfo is a paid mutator transaction binding the contract method 0x5f65d703.

Solidity: function setInfo(field bytes32, value uint256) returns()

func (*InternalNetworkSession) SetKyberProxy

func (_InternalNetwork *InternalNetworkSession) SetKyberProxy(networkProxy common.Address) (*types.Transaction, error)

SetKyberProxy is a paid mutator transaction binding the contract method 0xc6c3f3f9.

Solidity: function setKyberProxy(networkProxy address) returns()

func (*InternalNetworkSession) SetParams

func (_InternalNetwork *InternalNetworkSession) SetParams(_maxGasPrice *big.Int, _negligibleRateDiff *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(_maxGasPrice uint256, _negligibleRateDiff uint256) returns()

func (*InternalNetworkSession) SetWhiteList

func (_InternalNetwork *InternalNetworkSession) SetWhiteList(whiteList common.Address) (*types.Transaction, error)

SetWhiteList is a paid mutator transaction binding the contract method 0x39e899ee.

Solidity: function setWhiteList(whiteList address) returns()

func (*InternalNetworkSession) TradeWithHint

func (_InternalNetwork *InternalNetworkSession) TradeWithHint(trader common.Address, 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 0x088322ef.

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

func (*InternalNetworkSession) TransferAdmin

func (_InternalNetwork *InternalNetworkSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*InternalNetworkSession) TransferAdminQuickly

func (_InternalNetwork *InternalNetworkSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*InternalNetworkSession) WhiteListContract

func (_InternalNetwork *InternalNetworkSession) WhiteListContract() (common.Address, error)

WhiteListContract is a free data retrieval call binding the contract method 0x5ed5ea28.

Solidity: function whiteListContract() constant returns(address)

func (*InternalNetworkSession) WithdrawEther

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

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

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

func (*InternalNetworkSession) WithdrawToken

func (_InternalNetwork *InternalNetworkSession) 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(token address, amount uint256, sendTo address) returns()

type InternalNetworkTokenWithdraw

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

InternalNetworkTokenWithdraw represents a TokenWithdraw event raised by the InternalNetwork contract.

type InternalNetworkTokenWithdrawIterator

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

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

func (*InternalNetworkTokenWithdrawIterator) Close

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

func (*InternalNetworkTokenWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkTokenWithdrawIterator) 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 InternalNetworkTransactor

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

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

func NewInternalNetworkTransactor

func NewInternalNetworkTransactor(address common.Address, transactor bind.ContractTransactor) (*InternalNetworkTransactor, error)

NewInternalNetworkTransactor creates a new write-only instance of InternalNetwork, bound to a specific deployed contract.

func (*InternalNetworkTransactor) AddAlerter

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

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

Solidity: function addAlerter(newAlerter address) returns()

func (*InternalNetworkTransactor) AddOperator

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

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

Solidity: function addOperator(newOperator address) returns()

func (*InternalNetworkTransactor) AddReserve

func (_InternalNetwork *InternalNetworkTransactor) AddReserve(opts *bind.TransactOpts, reserve common.Address, add bool) (*types.Transaction, error)

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

Solidity: function addReserve(reserve address, add bool) returns()

func (*InternalNetworkTransactor) ClaimAdmin

func (_InternalNetwork *InternalNetworkTransactor) ClaimAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*InternalNetworkTransactor) ListPairForReserve

func (_InternalNetwork *InternalNetworkTransactor) ListPairForReserve(opts *bind.TransactOpts, reserve common.Address, token common.Address, ethToToken bool, tokenToEth bool, add bool) (*types.Transaction, error)

ListPairForReserve is a paid mutator transaction binding the contract method 0xe02584bf.

Solidity: function listPairForReserve(reserve address, token address, ethToToken bool, tokenToEth bool, add bool) returns()

func (*InternalNetworkTransactor) RemoveAlerter

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

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

Solidity: function removeAlerter(alerter address) returns()

func (*InternalNetworkTransactor) RemoveOperator

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

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

Solidity: function removeOperator(operator address) returns()

func (*InternalNetworkTransactor) SetEnable

func (_InternalNetwork *InternalNetworkTransactor) SetEnable(opts *bind.TransactOpts, _enable bool) (*types.Transaction, error)

SetEnable is a paid mutator transaction binding the contract method 0x7726bed3.

Solidity: function setEnable(_enable bool) returns()

func (*InternalNetworkTransactor) SetExpectedRate

func (_InternalNetwork *InternalNetworkTransactor) SetExpectedRate(opts *bind.TransactOpts, expectedRate common.Address) (*types.Transaction, error)

SetExpectedRate is a paid mutator transaction binding the contract method 0x5d270cdc.

Solidity: function setExpectedRate(expectedRate address) returns()

func (*InternalNetworkTransactor) SetFeeBurner

func (_InternalNetwork *InternalNetworkTransactor) SetFeeBurner(opts *bind.TransactOpts, feeBurner common.Address) (*types.Transaction, error)

SetFeeBurner is a paid mutator transaction binding the contract method 0x1a79464e.

Solidity: function setFeeBurner(feeBurner address) returns()

func (*InternalNetworkTransactor) SetInfo

func (_InternalNetwork *InternalNetworkTransactor) SetInfo(opts *bind.TransactOpts, field [32]byte, value *big.Int) (*types.Transaction, error)

SetInfo is a paid mutator transaction binding the contract method 0x5f65d703.

Solidity: function setInfo(field bytes32, value uint256) returns()

func (*InternalNetworkTransactor) SetKyberProxy

func (_InternalNetwork *InternalNetworkTransactor) SetKyberProxy(opts *bind.TransactOpts, networkProxy common.Address) (*types.Transaction, error)

SetKyberProxy is a paid mutator transaction binding the contract method 0xc6c3f3f9.

Solidity: function setKyberProxy(networkProxy address) returns()

func (*InternalNetworkTransactor) SetParams

func (_InternalNetwork *InternalNetworkTransactor) SetParams(opts *bind.TransactOpts, _maxGasPrice *big.Int, _negligibleRateDiff *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(_maxGasPrice uint256, _negligibleRateDiff uint256) returns()

func (*InternalNetworkTransactor) SetWhiteList

func (_InternalNetwork *InternalNetworkTransactor) SetWhiteList(opts *bind.TransactOpts, whiteList common.Address) (*types.Transaction, error)

SetWhiteList is a paid mutator transaction binding the contract method 0x39e899ee.

Solidity: function setWhiteList(whiteList address) returns()

func (*InternalNetworkTransactor) TradeWithHint

func (_InternalNetwork *InternalNetworkTransactor) TradeWithHint(opts *bind.TransactOpts, trader common.Address, 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 0x088322ef.

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

func (*InternalNetworkTransactor) TransferAdmin

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

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*InternalNetworkTransactor) TransferAdminQuickly

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

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*InternalNetworkTransactor) WithdrawEther

func (_InternalNetwork *InternalNetworkTransactor) 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(amount uint256, sendTo address) returns()

func (*InternalNetworkTransactor) WithdrawToken

func (_InternalNetwork *InternalNetworkTransactor) 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(token address, amount uint256, sendTo address) returns()

type InternalNetworkTransactorRaw

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

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

func (*InternalNetworkTransactorRaw) Transact

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

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

func (*InternalNetworkTransactorRaw) Transfer

func (_InternalNetwork *InternalNetworkTransactorRaw) 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 InternalNetworkTransactorSession

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

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

func (*InternalNetworkTransactorSession) AddAlerter

func (_InternalNetwork *InternalNetworkTransactorSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*InternalNetworkTransactorSession) AddOperator

func (_InternalNetwork *InternalNetworkTransactorSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*InternalNetworkTransactorSession) AddReserve

func (_InternalNetwork *InternalNetworkTransactorSession) AddReserve(reserve common.Address, add bool) (*types.Transaction, error)

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

Solidity: function addReserve(reserve address, add bool) returns()

func (*InternalNetworkTransactorSession) ClaimAdmin

func (_InternalNetwork *InternalNetworkTransactorSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*InternalNetworkTransactorSession) ListPairForReserve

func (_InternalNetwork *InternalNetworkTransactorSession) ListPairForReserve(reserve common.Address, token common.Address, ethToToken bool, tokenToEth bool, add bool) (*types.Transaction, error)

ListPairForReserve is a paid mutator transaction binding the contract method 0xe02584bf.

Solidity: function listPairForReserve(reserve address, token address, ethToToken bool, tokenToEth bool, add bool) returns()

func (*InternalNetworkTransactorSession) RemoveAlerter

func (_InternalNetwork *InternalNetworkTransactorSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*InternalNetworkTransactorSession) RemoveOperator

func (_InternalNetwork *InternalNetworkTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*InternalNetworkTransactorSession) SetEnable

func (_InternalNetwork *InternalNetworkTransactorSession) SetEnable(_enable bool) (*types.Transaction, error)

SetEnable is a paid mutator transaction binding the contract method 0x7726bed3.

Solidity: function setEnable(_enable bool) returns()

func (*InternalNetworkTransactorSession) SetExpectedRate

func (_InternalNetwork *InternalNetworkTransactorSession) SetExpectedRate(expectedRate common.Address) (*types.Transaction, error)

SetExpectedRate is a paid mutator transaction binding the contract method 0x5d270cdc.

Solidity: function setExpectedRate(expectedRate address) returns()

func (*InternalNetworkTransactorSession) SetFeeBurner

func (_InternalNetwork *InternalNetworkTransactorSession) SetFeeBurner(feeBurner common.Address) (*types.Transaction, error)

SetFeeBurner is a paid mutator transaction binding the contract method 0x1a79464e.

Solidity: function setFeeBurner(feeBurner address) returns()

func (*InternalNetworkTransactorSession) SetInfo

func (_InternalNetwork *InternalNetworkTransactorSession) SetInfo(field [32]byte, value *big.Int) (*types.Transaction, error)

SetInfo is a paid mutator transaction binding the contract method 0x5f65d703.

Solidity: function setInfo(field bytes32, value uint256) returns()

func (*InternalNetworkTransactorSession) SetKyberProxy

func (_InternalNetwork *InternalNetworkTransactorSession) SetKyberProxy(networkProxy common.Address) (*types.Transaction, error)

SetKyberProxy is a paid mutator transaction binding the contract method 0xc6c3f3f9.

Solidity: function setKyberProxy(networkProxy address) returns()

func (*InternalNetworkTransactorSession) SetParams

func (_InternalNetwork *InternalNetworkTransactorSession) SetParams(_maxGasPrice *big.Int, _negligibleRateDiff *big.Int) (*types.Transaction, error)

SetParams is a paid mutator transaction binding the contract method 0xc0324c77.

Solidity: function setParams(_maxGasPrice uint256, _negligibleRateDiff uint256) returns()

func (*InternalNetworkTransactorSession) SetWhiteList

func (_InternalNetwork *InternalNetworkTransactorSession) SetWhiteList(whiteList common.Address) (*types.Transaction, error)

SetWhiteList is a paid mutator transaction binding the contract method 0x39e899ee.

Solidity: function setWhiteList(whiteList address) returns()

func (*InternalNetworkTransactorSession) TradeWithHint

func (_InternalNetwork *InternalNetworkTransactorSession) TradeWithHint(trader common.Address, 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 0x088322ef.

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

func (*InternalNetworkTransactorSession) TransferAdmin

func (_InternalNetwork *InternalNetworkTransactorSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*InternalNetworkTransactorSession) TransferAdminQuickly

func (_InternalNetwork *InternalNetworkTransactorSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*InternalNetworkTransactorSession) WithdrawEther

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

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

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

func (*InternalNetworkTransactorSession) WithdrawToken

func (_InternalNetwork *InternalNetworkTransactorSession) 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(token address, amount uint256, sendTo address) returns()

type InternalNetworkTransferAdminPending

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

InternalNetworkTransferAdminPending represents a TransferAdminPending event raised by the InternalNetwork contract.

type InternalNetworkTransferAdminPendingIterator

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

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

func (*InternalNetworkTransferAdminPendingIterator) Close

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

func (*InternalNetworkTransferAdminPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InternalNetworkTransferAdminPendingIterator) 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 MockVersionedWrapper

type MockVersionedWrapper struct {
}

MockVersionedWrapper return mock result for testing purpose It won't make any actual call to blockchain

func (*MockVersionedWrapper) GetReserveRate

func (mvw *MockVersionedWrapper) GetReserveRate(block uint64, rsvAddr ethereum.Address, srcs, dest []ethereum.Address) ([]*big.Int, []*big.Int, error)

GetReserveRate return mock reserveRate and SanityRate from blockchain it returned fixed value as dictated.

type Reserve

type Reserve struct {
	ReserveCaller     // Read-only binding to the contract
	ReserveTransactor // Write-only binding to the contract
	ReserveFilterer   // Log filterer for contract events
}

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

func NewReserve

func NewReserve(address common.Address, backend bind.ContractBackend) (*Reserve, error)

NewReserve creates a new instance of Reserve, bound to a specific deployed contract.

type ReserveAdminClaimed

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

ReserveAdminClaimed represents a AdminClaimed event raised by the Reserve contract.

type ReserveAdminClaimedIterator

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

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

func (*ReserveAdminClaimedIterator) Close

func (it *ReserveAdminClaimedIterator) Close() error

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

func (*ReserveAdminClaimedIterator) Error

func (it *ReserveAdminClaimedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveAdminClaimedIterator) Next

func (it *ReserveAdminClaimedIterator) 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 ReserveAlerterAdded

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

ReserveAlerterAdded represents a AlerterAdded event raised by the Reserve contract.

type ReserveAlerterAddedIterator

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

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

func (*ReserveAlerterAddedIterator) Close

func (it *ReserveAlerterAddedIterator) Close() error

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

func (*ReserveAlerterAddedIterator) Error

func (it *ReserveAlerterAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveAlerterAddedIterator) Next

func (it *ReserveAlerterAddedIterator) 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 ReserveCaller

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

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

func NewReserveCaller

func NewReserveCaller(address common.Address, caller bind.ContractCaller) (*ReserveCaller, error)

NewReserveCaller creates a new read-only instance of Reserve, bound to a specific deployed contract.

func (*ReserveCaller) Admin

func (_Reserve *ReserveCaller) 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 (*ReserveCaller) ApprovedWithdrawAddresses

func (_Reserve *ReserveCaller) ApprovedWithdrawAddresses(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

ApprovedWithdrawAddresses is a free data retrieval call binding the contract method 0xd7b7024d.

Solidity: function approvedWithdrawAddresses( bytes32) constant returns(bool)

func (*ReserveCaller) ConversionRatesContract

func (_Reserve *ReserveCaller) ConversionRatesContract(opts *bind.CallOpts) (common.Address, error)

ConversionRatesContract is a free data retrieval call binding the contract method 0xd5847d33.

Solidity: function conversionRatesContract() constant returns(address)

func (*ReserveCaller) GetAlerters

func (_Reserve *ReserveCaller) 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 (*ReserveCaller) GetBalance

func (_Reserve *ReserveCaller) GetBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)

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

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

func (*ReserveCaller) GetConversionRate

func (_Reserve *ReserveCaller) GetConversionRate(opts *bind.CallOpts, src common.Address, dest common.Address, srcQty *big.Int, blockNumber *big.Int) (*big.Int, error)

GetConversionRate is a free data retrieval call binding the contract method 0x7cd44272.

Solidity: function getConversionRate(src address, dest address, srcQty uint256, blockNumber uint256) constant returns(uint256)

func (*ReserveCaller) GetDestQty

func (_Reserve *ReserveCaller) GetDestQty(opts *bind.CallOpts, src common.Address, dest common.Address, srcQty *big.Int, rate *big.Int) (*big.Int, error)

GetDestQty is a free data retrieval call binding the contract method 0xfa64dffa.

Solidity: function getDestQty(src address, dest address, srcQty uint256, rate uint256) constant returns(uint256)

func (*ReserveCaller) GetOperators

func (_Reserve *ReserveCaller) 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 (*ReserveCaller) GetSrcQty

func (_Reserve *ReserveCaller) GetSrcQty(opts *bind.CallOpts, src common.Address, dest common.Address, dstQty *big.Int, rate *big.Int) (*big.Int, error)

GetSrcQty is a free data retrieval call binding the contract method 0xa7fca953.

Solidity: function getSrcQty(src address, dest address, dstQty uint256, rate uint256) constant returns(uint256)

func (*ReserveCaller) KyberNetwork

func (_Reserve *ReserveCaller) KyberNetwork(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function kyberNetwork() constant returns(address)

func (*ReserveCaller) PendingAdmin

func (_Reserve *ReserveCaller) 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)

func (*ReserveCaller) SanityRatesContract

func (_Reserve *ReserveCaller) SanityRatesContract(opts *bind.CallOpts) (common.Address, error)

SanityRatesContract is a free data retrieval call binding the contract method 0x47e6924f.

Solidity: function sanityRatesContract() constant returns(address)

func (*ReserveCaller) TradeEnabled

func (_Reserve *ReserveCaller) TradeEnabled(opts *bind.CallOpts) (bool, error)

TradeEnabled is a free data retrieval call binding the contract method 0xd621e813.

Solidity: function tradeEnabled() constant returns(bool)

type ReserveCallerRaw

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

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

func (*ReserveCallerRaw) Call

func (_Reserve *ReserveCallerRaw) 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 ReserveCallerSession

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

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

func (*ReserveCallerSession) Admin

func (_Reserve *ReserveCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*ReserveCallerSession) ApprovedWithdrawAddresses

func (_Reserve *ReserveCallerSession) ApprovedWithdrawAddresses(arg0 [32]byte) (bool, error)

ApprovedWithdrawAddresses is a free data retrieval call binding the contract method 0xd7b7024d.

Solidity: function approvedWithdrawAddresses( bytes32) constant returns(bool)

func (*ReserveCallerSession) ConversionRatesContract

func (_Reserve *ReserveCallerSession) ConversionRatesContract() (common.Address, error)

ConversionRatesContract is a free data retrieval call binding the contract method 0xd5847d33.

Solidity: function conversionRatesContract() constant returns(address)

func (*ReserveCallerSession) GetAlerters

func (_Reserve *ReserveCallerSession) GetAlerters() ([]common.Address, error)

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

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

func (*ReserveCallerSession) GetBalance

func (_Reserve *ReserveCallerSession) GetBalance(token common.Address) (*big.Int, error)

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

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

func (*ReserveCallerSession) GetConversionRate

func (_Reserve *ReserveCallerSession) GetConversionRate(src common.Address, dest common.Address, srcQty *big.Int, blockNumber *big.Int) (*big.Int, error)

GetConversionRate is a free data retrieval call binding the contract method 0x7cd44272.

Solidity: function getConversionRate(src address, dest address, srcQty uint256, blockNumber uint256) constant returns(uint256)

func (*ReserveCallerSession) GetDestQty

func (_Reserve *ReserveCallerSession) GetDestQty(src common.Address, dest common.Address, srcQty *big.Int, rate *big.Int) (*big.Int, error)

GetDestQty is a free data retrieval call binding the contract method 0xfa64dffa.

Solidity: function getDestQty(src address, dest address, srcQty uint256, rate uint256) constant returns(uint256)

func (*ReserveCallerSession) GetOperators

func (_Reserve *ReserveCallerSession) GetOperators() ([]common.Address, error)

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

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

func (*ReserveCallerSession) GetSrcQty

func (_Reserve *ReserveCallerSession) GetSrcQty(src common.Address, dest common.Address, dstQty *big.Int, rate *big.Int) (*big.Int, error)

GetSrcQty is a free data retrieval call binding the contract method 0xa7fca953.

Solidity: function getSrcQty(src address, dest address, dstQty uint256, rate uint256) constant returns(uint256)

func (*ReserveCallerSession) KyberNetwork

func (_Reserve *ReserveCallerSession) KyberNetwork() (common.Address, error)

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

Solidity: function kyberNetwork() constant returns(address)

func (*ReserveCallerSession) PendingAdmin

func (_Reserve *ReserveCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*ReserveCallerSession) SanityRatesContract

func (_Reserve *ReserveCallerSession) SanityRatesContract() (common.Address, error)

SanityRatesContract is a free data retrieval call binding the contract method 0x47e6924f.

Solidity: function sanityRatesContract() constant returns(address)

func (*ReserveCallerSession) TradeEnabled

func (_Reserve *ReserveCallerSession) TradeEnabled() (bool, error)

TradeEnabled is a free data retrieval call binding the contract method 0xd621e813.

Solidity: function tradeEnabled() constant returns(bool)

type ReserveDepositToken

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

ReserveDepositToken represents a DepositToken event raised by the Reserve contract.

type ReserveDepositTokenIterator

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

ReserveDepositTokenIterator is returned from FilterDepositToken and is used to iterate over the raw logs and unpacked data for DepositToken events raised by the Reserve contract.

func (*ReserveDepositTokenIterator) Close

func (it *ReserveDepositTokenIterator) Close() error

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

func (*ReserveDepositTokenIterator) Error

func (it *ReserveDepositTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveDepositTokenIterator) Next

func (it *ReserveDepositTokenIterator) 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 ReserveEtherWithdraw

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

ReserveEtherWithdraw represents a EtherWithdraw event raised by the Reserve contract.

type ReserveEtherWithdrawIterator

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

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

func (*ReserveEtherWithdrawIterator) Close

func (it *ReserveEtherWithdrawIterator) Close() error

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

func (*ReserveEtherWithdrawIterator) Error

func (it *ReserveEtherWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveEtherWithdrawIterator) 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 ReserveFilterer

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

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

func NewReserveFilterer

func NewReserveFilterer(address common.Address, filterer bind.ContractFilterer) (*ReserveFilterer, error)

NewReserveFilterer creates a new log filterer instance of Reserve, bound to a specific deployed contract.

func (*ReserveFilterer) FilterAdminClaimed

func (_Reserve *ReserveFilterer) FilterAdminClaimed(opts *bind.FilterOpts) (*ReserveAdminClaimedIterator, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*ReserveFilterer) FilterAlerterAdded

func (_Reserve *ReserveFilterer) FilterAlerterAdded(opts *bind.FilterOpts) (*ReserveAlerterAddedIterator, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*ReserveFilterer) FilterDepositToken

func (_Reserve *ReserveFilterer) FilterDepositToken(opts *bind.FilterOpts) (*ReserveDepositTokenIterator, error)

FilterDepositToken is a free log retrieval operation binding the contract event 0x2d0c0a8842b9944ece1495eb61121621b5e36bd6af3bba0318c695f525aef79f.

Solidity: e DepositToken(token address, amount uint256)

func (*ReserveFilterer) FilterEtherWithdraw

func (_Reserve *ReserveFilterer) FilterEtherWithdraw(opts *bind.FilterOpts) (*ReserveEtherWithdrawIterator, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*ReserveFilterer) FilterOperatorAdded

func (_Reserve *ReserveFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*ReserveOperatorAddedIterator, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*ReserveFilterer) FilterSetContractAddresses

func (_Reserve *ReserveFilterer) FilterSetContractAddresses(opts *bind.FilterOpts) (*ReserveSetContractAddressesIterator, error)

FilterSetContractAddresses is a free log retrieval operation binding the contract event 0x7a85322644a4462d8ff5482d2a841a4d231f8cfb3c9f4a50f66f8b2bd568c31c.

Solidity: e SetContractAddresses(network address, rate address, sanity address)

func (*ReserveFilterer) FilterTokenWithdraw

func (_Reserve *ReserveFilterer) FilterTokenWithdraw(opts *bind.FilterOpts) (*ReserveTokenWithdrawIterator, error)

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

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

func (*ReserveFilterer) FilterTradeEnabled

func (_Reserve *ReserveFilterer) FilterTradeEnabled(opts *bind.FilterOpts) (*ReserveTradeEnabledIterator, error)

FilterTradeEnabled is a free log retrieval operation binding the contract event 0x7d7f00509dd73ac4449f698ae75ccc797895eff5fa9d446d3df387598a26e735.

Solidity: e TradeEnabled(enable bool)

func (*ReserveFilterer) FilterTradeExecute

func (_Reserve *ReserveFilterer) FilterTradeExecute(opts *bind.FilterOpts, origin []common.Address) (*ReserveTradeExecuteIterator, error)

FilterTradeExecute is a free log retrieval operation binding the contract event 0xea9415385bae08fe9f6dc457b02577166790cde83bb18cc340aac6cb81b824de.

Solidity: e TradeExecute(origin indexed address, src address, srcAmount uint256, destToken address, destAmount uint256, destAddress address)

func (*ReserveFilterer) FilterTransferAdminPending

func (_Reserve *ReserveFilterer) FilterTransferAdminPending(opts *bind.FilterOpts) (*ReserveTransferAdminPendingIterator, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

func (*ReserveFilterer) FilterWithdrawAddressApproved

func (_Reserve *ReserveFilterer) FilterWithdrawAddressApproved(opts *bind.FilterOpts) (*ReserveWithdrawAddressApprovedIterator, error)

FilterWithdrawAddressApproved is a free log retrieval operation binding the contract event 0xd5fd5351efae1f4bb760079da9f0ff9589e2c3e216337ca9d39cdff573b245c4.

Solidity: e WithdrawAddressApproved(token address, addr address, approve bool)

func (*ReserveFilterer) FilterWithdrawFunds

func (_Reserve *ReserveFilterer) FilterWithdrawFunds(opts *bind.FilterOpts) (*ReserveWithdrawFundsIterator, error)

FilterWithdrawFunds is a free log retrieval operation binding the contract event 0xb67719fc33c1f17d31bf3a698690d62066b1e0bae28fcd3c56cf2c015c2863d6.

Solidity: e WithdrawFunds(token address, amount uint256, destination address)

func (*ReserveFilterer) WatchAdminClaimed

func (_Reserve *ReserveFilterer) WatchAdminClaimed(opts *bind.WatchOpts, sink chan<- *ReserveAdminClaimed) (event.Subscription, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*ReserveFilterer) WatchAlerterAdded

func (_Reserve *ReserveFilterer) WatchAlerterAdded(opts *bind.WatchOpts, sink chan<- *ReserveAlerterAdded) (event.Subscription, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*ReserveFilterer) WatchDepositToken

func (_Reserve *ReserveFilterer) WatchDepositToken(opts *bind.WatchOpts, sink chan<- *ReserveDepositToken) (event.Subscription, error)

WatchDepositToken is a free log subscription operation binding the contract event 0x2d0c0a8842b9944ece1495eb61121621b5e36bd6af3bba0318c695f525aef79f.

Solidity: e DepositToken(token address, amount uint256)

func (*ReserveFilterer) WatchEtherWithdraw

func (_Reserve *ReserveFilterer) WatchEtherWithdraw(opts *bind.WatchOpts, sink chan<- *ReserveEtherWithdraw) (event.Subscription, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*ReserveFilterer) WatchOperatorAdded

func (_Reserve *ReserveFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *ReserveOperatorAdded) (event.Subscription, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*ReserveFilterer) WatchSetContractAddresses

func (_Reserve *ReserveFilterer) WatchSetContractAddresses(opts *bind.WatchOpts, sink chan<- *ReserveSetContractAddresses) (event.Subscription, error)

WatchSetContractAddresses is a free log subscription operation binding the contract event 0x7a85322644a4462d8ff5482d2a841a4d231f8cfb3c9f4a50f66f8b2bd568c31c.

Solidity: e SetContractAddresses(network address, rate address, sanity address)

func (*ReserveFilterer) WatchTokenWithdraw

func (_Reserve *ReserveFilterer) WatchTokenWithdraw(opts *bind.WatchOpts, sink chan<- *ReserveTokenWithdraw) (event.Subscription, error)

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

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

func (*ReserveFilterer) WatchTradeEnabled

func (_Reserve *ReserveFilterer) WatchTradeEnabled(opts *bind.WatchOpts, sink chan<- *ReserveTradeEnabled) (event.Subscription, error)

WatchTradeEnabled is a free log subscription operation binding the contract event 0x7d7f00509dd73ac4449f698ae75ccc797895eff5fa9d446d3df387598a26e735.

Solidity: e TradeEnabled(enable bool)

func (*ReserveFilterer) WatchTradeExecute

func (_Reserve *ReserveFilterer) WatchTradeExecute(opts *bind.WatchOpts, sink chan<- *ReserveTradeExecute, origin []common.Address) (event.Subscription, error)

WatchTradeExecute is a free log subscription operation binding the contract event 0xea9415385bae08fe9f6dc457b02577166790cde83bb18cc340aac6cb81b824de.

Solidity: e TradeExecute(origin indexed address, src address, srcAmount uint256, destToken address, destAmount uint256, destAddress address)

func (*ReserveFilterer) WatchTransferAdminPending

func (_Reserve *ReserveFilterer) WatchTransferAdminPending(opts *bind.WatchOpts, sink chan<- *ReserveTransferAdminPending) (event.Subscription, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

func (*ReserveFilterer) WatchWithdrawAddressApproved

func (_Reserve *ReserveFilterer) WatchWithdrawAddressApproved(opts *bind.WatchOpts, sink chan<- *ReserveWithdrawAddressApproved) (event.Subscription, error)

WatchWithdrawAddressApproved is a free log subscription operation binding the contract event 0xd5fd5351efae1f4bb760079da9f0ff9589e2c3e216337ca9d39cdff573b245c4.

Solidity: e WithdrawAddressApproved(token address, addr address, approve bool)

func (*ReserveFilterer) WatchWithdrawFunds

func (_Reserve *ReserveFilterer) WatchWithdrawFunds(opts *bind.WatchOpts, sink chan<- *ReserveWithdrawFunds) (event.Subscription, error)

WatchWithdrawFunds is a free log subscription operation binding the contract event 0xb67719fc33c1f17d31bf3a698690d62066b1e0bae28fcd3c56cf2c015c2863d6.

Solidity: e WithdrawFunds(token address, amount uint256, destination address)

type ReserveOperatorAdded

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

ReserveOperatorAdded represents a OperatorAdded event raised by the Reserve contract.

type ReserveOperatorAddedIterator

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

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

func (*ReserveOperatorAddedIterator) Close

func (it *ReserveOperatorAddedIterator) Close() error

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

func (*ReserveOperatorAddedIterator) Error

func (it *ReserveOperatorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveOperatorAddedIterator) 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 ReserveRaw

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

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

func (*ReserveRaw) Call

func (_Reserve *ReserveRaw) 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 (*ReserveRaw) Transact

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

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

func (*ReserveRaw) Transfer

func (_Reserve *ReserveRaw) 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 ReserveSession

type ReserveSession struct {
	Contract     *Reserve          // 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
}

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

func (*ReserveSession) AddAlerter

func (_Reserve *ReserveSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*ReserveSession) AddOperator

func (_Reserve *ReserveSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*ReserveSession) Admin

func (_Reserve *ReserveSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*ReserveSession) ApproveWithdrawAddress

func (_Reserve *ReserveSession) ApproveWithdrawAddress(token common.Address, addr common.Address, approve bool) (*types.Transaction, error)

ApproveWithdrawAddress is a paid mutator transaction binding the contract method 0x546dc71c.

Solidity: function approveWithdrawAddress(token address, addr address, approve bool) returns()

func (*ReserveSession) ApprovedWithdrawAddresses

func (_Reserve *ReserveSession) ApprovedWithdrawAddresses(arg0 [32]byte) (bool, error)

ApprovedWithdrawAddresses is a free data retrieval call binding the contract method 0xd7b7024d.

Solidity: function approvedWithdrawAddresses( bytes32) constant returns(bool)

func (*ReserveSession) ClaimAdmin

func (_Reserve *ReserveSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*ReserveSession) ConversionRatesContract

func (_Reserve *ReserveSession) ConversionRatesContract() (common.Address, error)

ConversionRatesContract is a free data retrieval call binding the contract method 0xd5847d33.

Solidity: function conversionRatesContract() constant returns(address)

func (*ReserveSession) DisableTrade

func (_Reserve *ReserveSession) DisableTrade() (*types.Transaction, error)

DisableTrade is a paid mutator transaction binding the contract method 0x6940030f.

Solidity: function disableTrade() returns(bool)

func (*ReserveSession) EnableTrade

func (_Reserve *ReserveSession) EnableTrade() (*types.Transaction, error)

EnableTrade is a paid mutator transaction binding the contract method 0x0099d386.

Solidity: function enableTrade() returns(bool)

func (*ReserveSession) GetAlerters

func (_Reserve *ReserveSession) GetAlerters() ([]common.Address, error)

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

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

func (*ReserveSession) GetBalance

func (_Reserve *ReserveSession) GetBalance(token common.Address) (*big.Int, error)

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

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

func (*ReserveSession) GetConversionRate

func (_Reserve *ReserveSession) GetConversionRate(src common.Address, dest common.Address, srcQty *big.Int, blockNumber *big.Int) (*big.Int, error)

GetConversionRate is a free data retrieval call binding the contract method 0x7cd44272.

Solidity: function getConversionRate(src address, dest address, srcQty uint256, blockNumber uint256) constant returns(uint256)

func (*ReserveSession) GetDestQty

func (_Reserve *ReserveSession) GetDestQty(src common.Address, dest common.Address, srcQty *big.Int, rate *big.Int) (*big.Int, error)

GetDestQty is a free data retrieval call binding the contract method 0xfa64dffa.

Solidity: function getDestQty(src address, dest address, srcQty uint256, rate uint256) constant returns(uint256)

func (*ReserveSession) GetOperators

func (_Reserve *ReserveSession) GetOperators() ([]common.Address, error)

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

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

func (*ReserveSession) GetSrcQty

func (_Reserve *ReserveSession) GetSrcQty(src common.Address, dest common.Address, dstQty *big.Int, rate *big.Int) (*big.Int, error)

GetSrcQty is a free data retrieval call binding the contract method 0xa7fca953.

Solidity: function getSrcQty(src address, dest address, dstQty uint256, rate uint256) constant returns(uint256)

func (*ReserveSession) KyberNetwork

func (_Reserve *ReserveSession) KyberNetwork() (common.Address, error)

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

Solidity: function kyberNetwork() constant returns(address)

func (*ReserveSession) PendingAdmin

func (_Reserve *ReserveSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*ReserveSession) RemoveAlerter

func (_Reserve *ReserveSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*ReserveSession) RemoveOperator

func (_Reserve *ReserveSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*ReserveSession) SanityRatesContract

func (_Reserve *ReserveSession) SanityRatesContract() (common.Address, error)

SanityRatesContract is a free data retrieval call binding the contract method 0x47e6924f.

Solidity: function sanityRatesContract() constant returns(address)

func (*ReserveSession) SetContracts

func (_Reserve *ReserveSession) SetContracts(_kyberNetwork common.Address, _conversionRates common.Address, _sanityRates common.Address) (*types.Transaction, error)

SetContracts is a paid mutator transaction binding the contract method 0xb3066d49.

Solidity: function setContracts(_kyberNetwork address, _conversionRates address, _sanityRates address) returns()

func (*ReserveSession) Trade

func (_Reserve *ReserveSession) Trade(srcToken common.Address, srcAmount *big.Int, destToken common.Address, destAddress common.Address, conversionRate *big.Int, validate bool) (*types.Transaction, error)

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

Solidity: function trade(srcToken address, srcAmount uint256, destToken address, destAddress address, conversionRate uint256, validate bool) returns(bool)

func (*ReserveSession) TradeEnabled

func (_Reserve *ReserveSession) TradeEnabled() (bool, error)

TradeEnabled is a free data retrieval call binding the contract method 0xd621e813.

Solidity: function tradeEnabled() constant returns(bool)

func (*ReserveSession) TransferAdmin

func (_Reserve *ReserveSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*ReserveSession) TransferAdminQuickly

func (_Reserve *ReserveSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*ReserveSession) Withdraw

func (_Reserve *ReserveSession) Withdraw(token common.Address, amount *big.Int, destination common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(token address, amount uint256, destination address) returns(bool)

func (*ReserveSession) WithdrawEther

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

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

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

func (*ReserveSession) WithdrawToken

func (_Reserve *ReserveSession) 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(token address, amount uint256, sendTo address) returns()

type ReserveSetContractAddresses

type ReserveSetContractAddresses struct {
	Network common.Address
	Rate    common.Address
	Sanity  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ReserveSetContractAddresses represents a SetContractAddresses event raised by the Reserve contract.

type ReserveSetContractAddressesIterator

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

ReserveSetContractAddressesIterator is returned from FilterSetContractAddresses and is used to iterate over the raw logs and unpacked data for SetContractAddresses events raised by the Reserve contract.

func (*ReserveSetContractAddressesIterator) Close

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

func (*ReserveSetContractAddressesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveSetContractAddressesIterator) 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 ReserveTokenWithdraw

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

ReserveTokenWithdraw represents a TokenWithdraw event raised by the Reserve contract.

type ReserveTokenWithdrawIterator

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

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

func (*ReserveTokenWithdrawIterator) Close

func (it *ReserveTokenWithdrawIterator) Close() error

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

func (*ReserveTokenWithdrawIterator) Error

func (it *ReserveTokenWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveTokenWithdrawIterator) 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 ReserveTradeEnabled

type ReserveTradeEnabled struct {
	Enable bool
	Raw    types.Log // Blockchain specific contextual infos
}

ReserveTradeEnabled represents a TradeEnabled event raised by the Reserve contract.

type ReserveTradeEnabledIterator

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

ReserveTradeEnabledIterator is returned from FilterTradeEnabled and is used to iterate over the raw logs and unpacked data for TradeEnabled events raised by the Reserve contract.

func (*ReserveTradeEnabledIterator) Close

func (it *ReserveTradeEnabledIterator) Close() error

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

func (*ReserveTradeEnabledIterator) Error

func (it *ReserveTradeEnabledIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveTradeEnabledIterator) Next

func (it *ReserveTradeEnabledIterator) 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 ReserveTradeExecute

type ReserveTradeExecute struct {
	Origin      common.Address
	Src         common.Address
	SrcAmount   *big.Int
	DestToken   common.Address
	DestAmount  *big.Int
	DestAddress common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

ReserveTradeExecute represents a TradeExecute event raised by the Reserve contract.

type ReserveTradeExecuteIterator

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

ReserveTradeExecuteIterator is returned from FilterTradeExecute and is used to iterate over the raw logs and unpacked data for TradeExecute events raised by the Reserve contract.

func (*ReserveTradeExecuteIterator) Close

func (it *ReserveTradeExecuteIterator) Close() error

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

func (*ReserveTradeExecuteIterator) Error

func (it *ReserveTradeExecuteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveTradeExecuteIterator) Next

func (it *ReserveTradeExecuteIterator) 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 ReserveTransactor

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

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

func NewReserveTransactor

func NewReserveTransactor(address common.Address, transactor bind.ContractTransactor) (*ReserveTransactor, error)

NewReserveTransactor creates a new write-only instance of Reserve, bound to a specific deployed contract.

func (*ReserveTransactor) AddAlerter

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

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

Solidity: function addAlerter(newAlerter address) returns()

func (*ReserveTransactor) AddOperator

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

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

Solidity: function addOperator(newOperator address) returns()

func (*ReserveTransactor) ApproveWithdrawAddress

func (_Reserve *ReserveTransactor) ApproveWithdrawAddress(opts *bind.TransactOpts, token common.Address, addr common.Address, approve bool) (*types.Transaction, error)

ApproveWithdrawAddress is a paid mutator transaction binding the contract method 0x546dc71c.

Solidity: function approveWithdrawAddress(token address, addr address, approve bool) returns()

func (*ReserveTransactor) ClaimAdmin

func (_Reserve *ReserveTransactor) ClaimAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*ReserveTransactor) DisableTrade

func (_Reserve *ReserveTransactor) DisableTrade(opts *bind.TransactOpts) (*types.Transaction, error)

DisableTrade is a paid mutator transaction binding the contract method 0x6940030f.

Solidity: function disableTrade() returns(bool)

func (*ReserveTransactor) EnableTrade

func (_Reserve *ReserveTransactor) EnableTrade(opts *bind.TransactOpts) (*types.Transaction, error)

EnableTrade is a paid mutator transaction binding the contract method 0x0099d386.

Solidity: function enableTrade() returns(bool)

func (*ReserveTransactor) RemoveAlerter

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

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

Solidity: function removeAlerter(alerter address) returns()

func (*ReserveTransactor) RemoveOperator

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

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

Solidity: function removeOperator(operator address) returns()

func (*ReserveTransactor) SetContracts

func (_Reserve *ReserveTransactor) SetContracts(opts *bind.TransactOpts, _kyberNetwork common.Address, _conversionRates common.Address, _sanityRates common.Address) (*types.Transaction, error)

SetContracts is a paid mutator transaction binding the contract method 0xb3066d49.

Solidity: function setContracts(_kyberNetwork address, _conversionRates address, _sanityRates address) returns()

func (*ReserveTransactor) Trade

func (_Reserve *ReserveTransactor) Trade(opts *bind.TransactOpts, srcToken common.Address, srcAmount *big.Int, destToken common.Address, destAddress common.Address, conversionRate *big.Int, validate bool) (*types.Transaction, error)

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

Solidity: function trade(srcToken address, srcAmount uint256, destToken address, destAddress address, conversionRate uint256, validate bool) returns(bool)

func (*ReserveTransactor) TransferAdmin

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

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*ReserveTransactor) TransferAdminQuickly

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

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*ReserveTransactor) Withdraw

func (_Reserve *ReserveTransactor) Withdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int, destination common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(token address, amount uint256, destination address) returns(bool)

func (*ReserveTransactor) WithdrawEther

func (_Reserve *ReserveTransactor) 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(amount uint256, sendTo address) returns()

func (*ReserveTransactor) WithdrawToken

func (_Reserve *ReserveTransactor) 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(token address, amount uint256, sendTo address) returns()

type ReserveTransactorRaw

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

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

func (*ReserveTransactorRaw) Transact

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

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

func (*ReserveTransactorRaw) Transfer

func (_Reserve *ReserveTransactorRaw) 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 ReserveTransactorSession

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

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

func (*ReserveTransactorSession) AddAlerter

func (_Reserve *ReserveTransactorSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*ReserveTransactorSession) AddOperator

func (_Reserve *ReserveTransactorSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*ReserveTransactorSession) ApproveWithdrawAddress

func (_Reserve *ReserveTransactorSession) ApproveWithdrawAddress(token common.Address, addr common.Address, approve bool) (*types.Transaction, error)

ApproveWithdrawAddress is a paid mutator transaction binding the contract method 0x546dc71c.

Solidity: function approveWithdrawAddress(token address, addr address, approve bool) returns()

func (*ReserveTransactorSession) ClaimAdmin

func (_Reserve *ReserveTransactorSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*ReserveTransactorSession) DisableTrade

func (_Reserve *ReserveTransactorSession) DisableTrade() (*types.Transaction, error)

DisableTrade is a paid mutator transaction binding the contract method 0x6940030f.

Solidity: function disableTrade() returns(bool)

func (*ReserveTransactorSession) EnableTrade

func (_Reserve *ReserveTransactorSession) EnableTrade() (*types.Transaction, error)

EnableTrade is a paid mutator transaction binding the contract method 0x0099d386.

Solidity: function enableTrade() returns(bool)

func (*ReserveTransactorSession) RemoveAlerter

func (_Reserve *ReserveTransactorSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*ReserveTransactorSession) RemoveOperator

func (_Reserve *ReserveTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*ReserveTransactorSession) SetContracts

func (_Reserve *ReserveTransactorSession) SetContracts(_kyberNetwork common.Address, _conversionRates common.Address, _sanityRates common.Address) (*types.Transaction, error)

SetContracts is a paid mutator transaction binding the contract method 0xb3066d49.

Solidity: function setContracts(_kyberNetwork address, _conversionRates address, _sanityRates address) returns()

func (*ReserveTransactorSession) Trade

func (_Reserve *ReserveTransactorSession) Trade(srcToken common.Address, srcAmount *big.Int, destToken common.Address, destAddress common.Address, conversionRate *big.Int, validate bool) (*types.Transaction, error)

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

Solidity: function trade(srcToken address, srcAmount uint256, destToken address, destAddress address, conversionRate uint256, validate bool) returns(bool)

func (*ReserveTransactorSession) TransferAdmin

func (_Reserve *ReserveTransactorSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*ReserveTransactorSession) TransferAdminQuickly

func (_Reserve *ReserveTransactorSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*ReserveTransactorSession) Withdraw

func (_Reserve *ReserveTransactorSession) Withdraw(token common.Address, amount *big.Int, destination common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x69328dec.

Solidity: function withdraw(token address, amount uint256, destination address) returns(bool)

func (*ReserveTransactorSession) WithdrawEther

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

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

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

func (*ReserveTransactorSession) WithdrawToken

func (_Reserve *ReserveTransactorSession) 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(token address, amount uint256, sendTo address) returns()

type ReserveTransferAdminPending

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

ReserveTransferAdminPending represents a TransferAdminPending event raised by the Reserve contract.

type ReserveTransferAdminPendingIterator

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

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

func (*ReserveTransferAdminPendingIterator) Close

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

func (*ReserveTransferAdminPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveTransferAdminPendingIterator) 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 ReserveWithdrawAddressApproved

type ReserveWithdrawAddressApproved struct {
	Token   common.Address
	Addr    common.Address
	Approve bool
	Raw     types.Log // Blockchain specific contextual infos
}

ReserveWithdrawAddressApproved represents a WithdrawAddressApproved event raised by the Reserve contract.

type ReserveWithdrawAddressApprovedIterator

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

ReserveWithdrawAddressApprovedIterator is returned from FilterWithdrawAddressApproved and is used to iterate over the raw logs and unpacked data for WithdrawAddressApproved events raised by the Reserve contract.

func (*ReserveWithdrawAddressApprovedIterator) Close

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

func (*ReserveWithdrawAddressApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveWithdrawAddressApprovedIterator) 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 ReserveWithdrawFunds

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

ReserveWithdrawFunds represents a WithdrawFunds event raised by the Reserve contract.

type ReserveWithdrawFundsIterator

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

ReserveWithdrawFundsIterator is returned from FilterWithdrawFunds and is used to iterate over the raw logs and unpacked data for WithdrawFunds events raised by the Reserve contract.

func (*ReserveWithdrawFundsIterator) Close

func (it *ReserveWithdrawFundsIterator) Close() error

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

func (*ReserveWithdrawFundsIterator) Error

func (it *ReserveWithdrawFundsIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ReserveWithdrawFundsIterator) 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 SanityRates

type SanityRates struct {
	SanityRatesCaller     // Read-only binding to the contract
	SanityRatesTransactor // Write-only binding to the contract
	SanityRatesFilterer   // Log filterer for contract events
}

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

func NewSanityRates

func NewSanityRates(address common.Address, backend bind.ContractBackend) (*SanityRates, error)

NewSanityRates creates a new instance of SanityRates, bound to a specific deployed contract.

type SanityRatesAdminClaimed

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

SanityRatesAdminClaimed represents a AdminClaimed event raised by the SanityRates contract.

type SanityRatesAdminClaimedIterator

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

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

func (*SanityRatesAdminClaimedIterator) Close

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

func (*SanityRatesAdminClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SanityRatesAdminClaimedIterator) 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 SanityRatesAlerterAdded

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

SanityRatesAlerterAdded represents a AlerterAdded event raised by the SanityRates contract.

type SanityRatesAlerterAddedIterator

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

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

func (*SanityRatesAlerterAddedIterator) Close

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

func (*SanityRatesAlerterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SanityRatesAlerterAddedIterator) 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 SanityRatesCaller

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

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

func NewSanityRatesCaller

func NewSanityRatesCaller(address common.Address, caller bind.ContractCaller) (*SanityRatesCaller, error)

NewSanityRatesCaller creates a new read-only instance of SanityRates, bound to a specific deployed contract.

func (*SanityRatesCaller) Admin

func (_SanityRates *SanityRatesCaller) 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 (*SanityRatesCaller) GetAlerters

func (_SanityRates *SanityRatesCaller) 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 (*SanityRatesCaller) GetOperators

func (_SanityRates *SanityRatesCaller) 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 (*SanityRatesCaller) GetSanityRate

func (_SanityRates *SanityRatesCaller) GetSanityRate(opts *bind.CallOpts, src common.Address, dest common.Address) (*big.Int, error)

GetSanityRate is a free data retrieval call binding the contract method 0xa58092b7.

Solidity: function getSanityRate(src address, dest address) constant returns(uint256)

func (*SanityRatesCaller) PendingAdmin

func (_SanityRates *SanityRatesCaller) 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)

func (*SanityRatesCaller) ReasonableDiffInBps

func (_SanityRates *SanityRatesCaller) ReasonableDiffInBps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ReasonableDiffInBps is a free data retrieval call binding the contract method 0x5463a2e4.

Solidity: function reasonableDiffInBps( address) constant returns(uint256)

func (*SanityRatesCaller) TokenRate

func (_SanityRates *SanityRatesCaller) TokenRate(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TokenRate is a free data retrieval call binding the contract method 0xc57fbf90.

Solidity: function tokenRate( address) constant returns(uint256)

type SanityRatesCallerRaw

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

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

func (*SanityRatesCallerRaw) Call

func (_SanityRates *SanityRatesCallerRaw) 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 SanityRatesCallerSession

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

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

func (*SanityRatesCallerSession) Admin

func (_SanityRates *SanityRatesCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*SanityRatesCallerSession) GetAlerters

func (_SanityRates *SanityRatesCallerSession) GetAlerters() ([]common.Address, error)

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

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

func (*SanityRatesCallerSession) GetOperators

func (_SanityRates *SanityRatesCallerSession) GetOperators() ([]common.Address, error)

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

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

func (*SanityRatesCallerSession) GetSanityRate

func (_SanityRates *SanityRatesCallerSession) GetSanityRate(src common.Address, dest common.Address) (*big.Int, error)

GetSanityRate is a free data retrieval call binding the contract method 0xa58092b7.

Solidity: function getSanityRate(src address, dest address) constant returns(uint256)

func (*SanityRatesCallerSession) PendingAdmin

func (_SanityRates *SanityRatesCallerSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*SanityRatesCallerSession) ReasonableDiffInBps

func (_SanityRates *SanityRatesCallerSession) ReasonableDiffInBps(arg0 common.Address) (*big.Int, error)

ReasonableDiffInBps is a free data retrieval call binding the contract method 0x5463a2e4.

Solidity: function reasonableDiffInBps( address) constant returns(uint256)

func (*SanityRatesCallerSession) TokenRate

func (_SanityRates *SanityRatesCallerSession) TokenRate(arg0 common.Address) (*big.Int, error)

TokenRate is a free data retrieval call binding the contract method 0xc57fbf90.

Solidity: function tokenRate( address) constant returns(uint256)

type SanityRatesEtherWithdraw

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

SanityRatesEtherWithdraw represents a EtherWithdraw event raised by the SanityRates contract.

type SanityRatesEtherWithdrawIterator

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

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

func (*SanityRatesEtherWithdrawIterator) Close

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

func (*SanityRatesEtherWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SanityRatesEtherWithdrawIterator) 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 SanityRatesFilterer

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

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

func NewSanityRatesFilterer

func NewSanityRatesFilterer(address common.Address, filterer bind.ContractFilterer) (*SanityRatesFilterer, error)

NewSanityRatesFilterer creates a new log filterer instance of SanityRates, bound to a specific deployed contract.

func (*SanityRatesFilterer) FilterAdminClaimed

func (_SanityRates *SanityRatesFilterer) FilterAdminClaimed(opts *bind.FilterOpts) (*SanityRatesAdminClaimedIterator, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*SanityRatesFilterer) FilterAlerterAdded

func (_SanityRates *SanityRatesFilterer) FilterAlerterAdded(opts *bind.FilterOpts) (*SanityRatesAlerterAddedIterator, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*SanityRatesFilterer) FilterEtherWithdraw

func (_SanityRates *SanityRatesFilterer) FilterEtherWithdraw(opts *bind.FilterOpts) (*SanityRatesEtherWithdrawIterator, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*SanityRatesFilterer) FilterOperatorAdded

func (_SanityRates *SanityRatesFilterer) FilterOperatorAdded(opts *bind.FilterOpts) (*SanityRatesOperatorAddedIterator, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*SanityRatesFilterer) FilterTokenWithdraw

func (_SanityRates *SanityRatesFilterer) FilterTokenWithdraw(opts *bind.FilterOpts) (*SanityRatesTokenWithdrawIterator, error)

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

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

func (*SanityRatesFilterer) FilterTransferAdminPending

func (_SanityRates *SanityRatesFilterer) FilterTransferAdminPending(opts *bind.FilterOpts) (*SanityRatesTransferAdminPendingIterator, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

func (*SanityRatesFilterer) WatchAdminClaimed

func (_SanityRates *SanityRatesFilterer) WatchAdminClaimed(opts *bind.WatchOpts, sink chan<- *SanityRatesAdminClaimed) (event.Subscription, error)

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

Solidity: e AdminClaimed(newAdmin address, previousAdmin address)

func (*SanityRatesFilterer) WatchAlerterAdded

func (_SanityRates *SanityRatesFilterer) WatchAlerterAdded(opts *bind.WatchOpts, sink chan<- *SanityRatesAlerterAdded) (event.Subscription, error)

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

Solidity: e AlerterAdded(newAlerter address, isAdd bool)

func (*SanityRatesFilterer) WatchEtherWithdraw

func (_SanityRates *SanityRatesFilterer) WatchEtherWithdraw(opts *bind.WatchOpts, sink chan<- *SanityRatesEtherWithdraw) (event.Subscription, error)

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

Solidity: e EtherWithdraw(amount uint256, sendTo address)

func (*SanityRatesFilterer) WatchOperatorAdded

func (_SanityRates *SanityRatesFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *SanityRatesOperatorAdded) (event.Subscription, error)

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

Solidity: e OperatorAdded(newOperator address, isAdd bool)

func (*SanityRatesFilterer) WatchTokenWithdraw

func (_SanityRates *SanityRatesFilterer) WatchTokenWithdraw(opts *bind.WatchOpts, sink chan<- *SanityRatesTokenWithdraw) (event.Subscription, error)

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

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

func (*SanityRatesFilterer) WatchTransferAdminPending

func (_SanityRates *SanityRatesFilterer) WatchTransferAdminPending(opts *bind.WatchOpts, sink chan<- *SanityRatesTransferAdminPending) (event.Subscription, error)

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

Solidity: e TransferAdminPending(pendingAdmin address)

type SanityRatesOperatorAdded

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

SanityRatesOperatorAdded represents a OperatorAdded event raised by the SanityRates contract.

type SanityRatesOperatorAddedIterator

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

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

func (*SanityRatesOperatorAddedIterator) Close

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

func (*SanityRatesOperatorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SanityRatesOperatorAddedIterator) 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 SanityRatesRaw

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

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

func (*SanityRatesRaw) Call

func (_SanityRates *SanityRatesRaw) 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 (*SanityRatesRaw) Transact

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

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

func (*SanityRatesRaw) Transfer

func (_SanityRates *SanityRatesRaw) 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 SanityRatesSession

type SanityRatesSession struct {
	Contract     *SanityRates      // 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
}

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

func (*SanityRatesSession) AddAlerter

func (_SanityRates *SanityRatesSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*SanityRatesSession) AddOperator

func (_SanityRates *SanityRatesSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*SanityRatesSession) Admin

func (_SanityRates *SanityRatesSession) Admin() (common.Address, error)

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

Solidity: function admin() constant returns(address)

func (*SanityRatesSession) ClaimAdmin

func (_SanityRates *SanityRatesSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*SanityRatesSession) GetAlerters

func (_SanityRates *SanityRatesSession) GetAlerters() ([]common.Address, error)

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

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

func (*SanityRatesSession) GetOperators

func (_SanityRates *SanityRatesSession) GetOperators() ([]common.Address, error)

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

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

func (*SanityRatesSession) GetSanityRate

func (_SanityRates *SanityRatesSession) GetSanityRate(src common.Address, dest common.Address) (*big.Int, error)

GetSanityRate is a free data retrieval call binding the contract method 0xa58092b7.

Solidity: function getSanityRate(src address, dest address) constant returns(uint256)

func (*SanityRatesSession) PendingAdmin

func (_SanityRates *SanityRatesSession) PendingAdmin() (common.Address, error)

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

Solidity: function pendingAdmin() constant returns(address)

func (*SanityRatesSession) ReasonableDiffInBps

func (_SanityRates *SanityRatesSession) ReasonableDiffInBps(arg0 common.Address) (*big.Int, error)

ReasonableDiffInBps is a free data retrieval call binding the contract method 0x5463a2e4.

Solidity: function reasonableDiffInBps( address) constant returns(uint256)

func (*SanityRatesSession) RemoveAlerter

func (_SanityRates *SanityRatesSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*SanityRatesSession) RemoveOperator

func (_SanityRates *SanityRatesSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*SanityRatesSession) SetReasonableDiff

func (_SanityRates *SanityRatesSession) SetReasonableDiff(srcs []common.Address, diff []*big.Int) (*types.Transaction, error)

SetReasonableDiff is a paid mutator transaction binding the contract method 0x5c53ec59.

Solidity: function setReasonableDiff(srcs address[], diff uint256[]) returns()

func (*SanityRatesSession) SetSanityRates

func (_SanityRates *SanityRatesSession) SetSanityRates(srcs []common.Address, rates []*big.Int) (*types.Transaction, error)

SetSanityRates is a paid mutator transaction binding the contract method 0xf5db370f.

Solidity: function setSanityRates(srcs address[], rates uint256[]) returns()

func (*SanityRatesSession) TokenRate

func (_SanityRates *SanityRatesSession) TokenRate(arg0 common.Address) (*big.Int, error)

TokenRate is a free data retrieval call binding the contract method 0xc57fbf90.

Solidity: function tokenRate( address) constant returns(uint256)

func (*SanityRatesSession) TransferAdmin

func (_SanityRates *SanityRatesSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*SanityRatesSession) TransferAdminQuickly

func (_SanityRates *SanityRatesSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*SanityRatesSession) WithdrawEther

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

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

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

func (*SanityRatesSession) WithdrawToken

func (_SanityRates *SanityRatesSession) 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(token address, amount uint256, sendTo address) returns()

type SanityRatesTokenWithdraw

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

SanityRatesTokenWithdraw represents a TokenWithdraw event raised by the SanityRates contract.

type SanityRatesTokenWithdrawIterator

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

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

func (*SanityRatesTokenWithdrawIterator) Close

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

func (*SanityRatesTokenWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SanityRatesTokenWithdrawIterator) 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 SanityRatesTransactor

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

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

func NewSanityRatesTransactor

func NewSanityRatesTransactor(address common.Address, transactor bind.ContractTransactor) (*SanityRatesTransactor, error)

NewSanityRatesTransactor creates a new write-only instance of SanityRates, bound to a specific deployed contract.

func (*SanityRatesTransactor) AddAlerter

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

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

Solidity: function addAlerter(newAlerter address) returns()

func (*SanityRatesTransactor) AddOperator

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

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

Solidity: function addOperator(newOperator address) returns()

func (*SanityRatesTransactor) ClaimAdmin

func (_SanityRates *SanityRatesTransactor) ClaimAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*SanityRatesTransactor) RemoveAlerter

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

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

Solidity: function removeAlerter(alerter address) returns()

func (*SanityRatesTransactor) RemoveOperator

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

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

Solidity: function removeOperator(operator address) returns()

func (*SanityRatesTransactor) SetReasonableDiff

func (_SanityRates *SanityRatesTransactor) SetReasonableDiff(opts *bind.TransactOpts, srcs []common.Address, diff []*big.Int) (*types.Transaction, error)

SetReasonableDiff is a paid mutator transaction binding the contract method 0x5c53ec59.

Solidity: function setReasonableDiff(srcs address[], diff uint256[]) returns()

func (*SanityRatesTransactor) SetSanityRates

func (_SanityRates *SanityRatesTransactor) SetSanityRates(opts *bind.TransactOpts, srcs []common.Address, rates []*big.Int) (*types.Transaction, error)

SetSanityRates is a paid mutator transaction binding the contract method 0xf5db370f.

Solidity: function setSanityRates(srcs address[], rates uint256[]) returns()

func (*SanityRatesTransactor) TransferAdmin

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

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*SanityRatesTransactor) TransferAdminQuickly

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

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*SanityRatesTransactor) WithdrawEther

func (_SanityRates *SanityRatesTransactor) 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(amount uint256, sendTo address) returns()

func (*SanityRatesTransactor) WithdrawToken

func (_SanityRates *SanityRatesTransactor) 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(token address, amount uint256, sendTo address) returns()

type SanityRatesTransactorRaw

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

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

func (*SanityRatesTransactorRaw) Transact

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

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

func (*SanityRatesTransactorRaw) Transfer

func (_SanityRates *SanityRatesTransactorRaw) 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 SanityRatesTransactorSession

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

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

func (*SanityRatesTransactorSession) AddAlerter

func (_SanityRates *SanityRatesTransactorSession) AddAlerter(newAlerter common.Address) (*types.Transaction, error)

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

Solidity: function addAlerter(newAlerter address) returns()

func (*SanityRatesTransactorSession) AddOperator

func (_SanityRates *SanityRatesTransactorSession) AddOperator(newOperator common.Address) (*types.Transaction, error)

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

Solidity: function addOperator(newOperator address) returns()

func (*SanityRatesTransactorSession) ClaimAdmin

func (_SanityRates *SanityRatesTransactorSession) ClaimAdmin() (*types.Transaction, error)

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

Solidity: function claimAdmin() returns()

func (*SanityRatesTransactorSession) RemoveAlerter

func (_SanityRates *SanityRatesTransactorSession) RemoveAlerter(alerter common.Address) (*types.Transaction, error)

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

Solidity: function removeAlerter(alerter address) returns()

func (*SanityRatesTransactorSession) RemoveOperator

func (_SanityRates *SanityRatesTransactorSession) RemoveOperator(operator common.Address) (*types.Transaction, error)

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

Solidity: function removeOperator(operator address) returns()

func (*SanityRatesTransactorSession) SetReasonableDiff

func (_SanityRates *SanityRatesTransactorSession) SetReasonableDiff(srcs []common.Address, diff []*big.Int) (*types.Transaction, error)

SetReasonableDiff is a paid mutator transaction binding the contract method 0x5c53ec59.

Solidity: function setReasonableDiff(srcs address[], diff uint256[]) returns()

func (*SanityRatesTransactorSession) SetSanityRates

func (_SanityRates *SanityRatesTransactorSession) SetSanityRates(srcs []common.Address, rates []*big.Int) (*types.Transaction, error)

SetSanityRates is a paid mutator transaction binding the contract method 0xf5db370f.

Solidity: function setSanityRates(srcs address[], rates uint256[]) returns()

func (*SanityRatesTransactorSession) TransferAdmin

func (_SanityRates *SanityRatesTransactorSession) TransferAdmin(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdmin(newAdmin address) returns()

func (*SanityRatesTransactorSession) TransferAdminQuickly

func (_SanityRates *SanityRatesTransactorSession) TransferAdminQuickly(newAdmin common.Address) (*types.Transaction, error)

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

Solidity: function transferAdminQuickly(newAdmin address) returns()

func (*SanityRatesTransactorSession) WithdrawEther

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

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

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

func (*SanityRatesTransactorSession) WithdrawToken

func (_SanityRates *SanityRatesTransactorSession) 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(token address, amount uint256, sendTo address) returns()

type SanityRatesTransferAdminPending

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

SanityRatesTransferAdminPending represents a TransferAdminPending event raised by the SanityRates contract.

type SanityRatesTransferAdminPendingIterator

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

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

func (*SanityRatesTransferAdminPendingIterator) Close

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

func (*SanityRatesTransferAdminPendingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SanityRatesTransferAdminPendingIterator) 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 VersionedWrapper

type VersionedWrapper struct {
	WrapperContractV1 *Wrapper
	WrapperContractV2 *Wrapper
}

VersionedWrapper is the wrapper for wrapper contract, since there are two version of wrapper deployed on mainnet

func NewVersionedWrapper

func NewVersionedWrapper(client bind.ContractBackend) (*VersionedWrapper, error)

NewVersionedWrapper create wrapper contract with 2 different versions inside

func (*VersionedWrapper) GetReserveRate

func (vw *VersionedWrapper) GetReserveRate(block uint64, rsvAddr ethereum.Address, srcs, dsts []ethereum.Address) ([]*big.Int, []*big.Int, error)

GetReserveRate call to the appropriate contract depends on block number return reserveRate, SanityRate and error if occurs

type VersionedWrapperFallback

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

VersionedWrapperFallback is a wrapper around VersionedWrapper with fallback if getSanityRates throw an exception. For example, at block: 6000744, wrapper will returns an exception for BNB --> ETH, because sanity rate for BNB was not set at this block.

func NewVersionedWrapperFallback

func NewVersionedWrapperFallback(sugar *zap.SugaredLogger, client bind.ContractBackend) (*VersionedWrapperFallback, error)

NewVersionedWrapperFallback creates a new instance of VersionedWrapperFallback.

func (*VersionedWrapperFallback) GetReserveRate

func (vwf *VersionedWrapperFallback) GetReserveRate(block uint64, rsvAddr common.Address, srcs, dsts []common.Address) ([]*big.Int, []*big.Int, error)

GetReserveRate is the same as VersionedWrapper.GetReserveRate but fallback to calling each reserve contract directly in case of an exception happens.

type Wrapper

type Wrapper struct {
	WrapperCaller     // Read-only binding to the contract
	WrapperTransactor // Write-only binding to the contract
	WrapperFilterer   // Log filterer for contract events
}

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

func NewWrapper

func NewWrapper(address common.Address, backend bind.ContractBackend) (*Wrapper, error)

NewWrapper creates a new instance of Wrapper, bound to a specific deployed contract.

type WrapperCaller

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

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

func NewWrapperCaller

func NewWrapperCaller(address common.Address, caller bind.ContractCaller) (*WrapperCaller, error)

NewWrapperCaller creates a new read-only instance of Wrapper, bound to a specific deployed contract.

func (*WrapperCaller) GetBalances

func (_Wrapper *WrapperCaller) GetBalances(opts *bind.CallOpts, reserve common.Address, tokens []common.Address) ([]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x6a385ae9.

Solidity: function getBalances(reserve address, tokens address[]) constant returns(uint256[])

func (*WrapperCaller) GetByteFromBytes14

func (_Wrapper *WrapperCaller) GetByteFromBytes14(opts *bind.CallOpts, x [14]byte, byteInd *big.Int) ([1]byte, error)

GetByteFromBytes14 is a free data retrieval call binding the contract method 0xa609f034.

Solidity: function getByteFromBytes14(x bytes14, byteInd uint256) constant returns(bytes1)

func (*WrapperCaller) GetExpectedRates

func (_Wrapper *WrapperCaller) GetExpectedRates(opts *bind.CallOpts, network common.Address, srcs []common.Address, dests []common.Address, qty []*big.Int) ([]*big.Int, []*big.Int, error)

GetExpectedRates is a free data retrieval call binding the contract method 0xf1838fe4.

Solidity: function getExpectedRates(network address, srcs address[], dests address[], qty uint256[]) constant returns(uint256[], uint256[])

func (*WrapperCaller) GetInt8FromByte

func (_Wrapper *WrapperCaller) GetInt8FromByte(opts *bind.CallOpts, x [14]byte, byteInd *big.Int) (int8, error)

GetInt8FromByte is a free data retrieval call binding the contract method 0x67c33c80.

Solidity: function getInt8FromByte(x bytes14, byteInd uint256) constant returns(int8)

func (*WrapperCaller) GetReserveRate

func (_Wrapper *WrapperCaller) GetReserveRate(opts *bind.CallOpts, reserve common.Address, srcs []common.Address, dests []common.Address) ([]*big.Int, []*big.Int, error)

GetReserveRate is a free data retrieval call binding the contract method 0x91eb1c69.

Solidity: function getReserveRate(reserve address, srcs address[], dests address[]) constant returns(uint256[], uint256[])

func (*WrapperCaller) GetTokenIndicies

func (_Wrapper *WrapperCaller) GetTokenIndicies(opts *bind.CallOpts, ratesContract common.Address, tokenList []common.Address) ([]*big.Int, []*big.Int, error)

GetTokenIndicies is a free data retrieval call binding the contract method 0x7c80feff.

Solidity: function getTokenIndicies(ratesContract address, tokenList address[]) constant returns(uint256[], uint256[])

func (*WrapperCaller) GetTokenRates

func (_Wrapper *WrapperCaller) GetTokenRates(opts *bind.CallOpts, ratesContract common.Address, tokenList []common.Address) ([]*big.Int, []*big.Int, []int8, []int8, []*big.Int, error)

GetTokenRates is a free data retrieval call binding the contract method 0xf37f8345.

Solidity: function getTokenRates(ratesContract address, tokenList address[]) constant returns(uint256[], uint256[], int8[], int8[], uint256[])

type WrapperCallerRaw

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

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

func (*WrapperCallerRaw) Call

func (_Wrapper *WrapperCallerRaw) 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 WrapperCallerSession

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

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

func (*WrapperCallerSession) GetBalances

func (_Wrapper *WrapperCallerSession) GetBalances(reserve common.Address, tokens []common.Address) ([]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x6a385ae9.

Solidity: function getBalances(reserve address, tokens address[]) constant returns(uint256[])

func (*WrapperCallerSession) GetByteFromBytes14

func (_Wrapper *WrapperCallerSession) GetByteFromBytes14(x [14]byte, byteInd *big.Int) ([1]byte, error)

GetByteFromBytes14 is a free data retrieval call binding the contract method 0xa609f034.

Solidity: function getByteFromBytes14(x bytes14, byteInd uint256) constant returns(bytes1)

func (*WrapperCallerSession) GetExpectedRates

func (_Wrapper *WrapperCallerSession) GetExpectedRates(network common.Address, srcs []common.Address, dests []common.Address, qty []*big.Int) ([]*big.Int, []*big.Int, error)

GetExpectedRates is a free data retrieval call binding the contract method 0xf1838fe4.

Solidity: function getExpectedRates(network address, srcs address[], dests address[], qty uint256[]) constant returns(uint256[], uint256[])

func (*WrapperCallerSession) GetInt8FromByte

func (_Wrapper *WrapperCallerSession) GetInt8FromByte(x [14]byte, byteInd *big.Int) (int8, error)

GetInt8FromByte is a free data retrieval call binding the contract method 0x67c33c80.

Solidity: function getInt8FromByte(x bytes14, byteInd uint256) constant returns(int8)

func (*WrapperCallerSession) GetReserveRate

func (_Wrapper *WrapperCallerSession) GetReserveRate(reserve common.Address, srcs []common.Address, dests []common.Address) ([]*big.Int, []*big.Int, error)

GetReserveRate is a free data retrieval call binding the contract method 0x91eb1c69.

Solidity: function getReserveRate(reserve address, srcs address[], dests address[]) constant returns(uint256[], uint256[])

func (*WrapperCallerSession) GetTokenIndicies

func (_Wrapper *WrapperCallerSession) GetTokenIndicies(ratesContract common.Address, tokenList []common.Address) ([]*big.Int, []*big.Int, error)

GetTokenIndicies is a free data retrieval call binding the contract method 0x7c80feff.

Solidity: function getTokenIndicies(ratesContract address, tokenList address[]) constant returns(uint256[], uint256[])

func (*WrapperCallerSession) GetTokenRates

func (_Wrapper *WrapperCallerSession) GetTokenRates(ratesContract common.Address, tokenList []common.Address) ([]*big.Int, []*big.Int, []int8, []int8, []*big.Int, error)

GetTokenRates is a free data retrieval call binding the contract method 0xf37f8345.

Solidity: function getTokenRates(ratesContract address, tokenList address[]) constant returns(uint256[], uint256[], int8[], int8[], uint256[])

type WrapperFilterer

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

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

func NewWrapperFilterer

func NewWrapperFilterer(address common.Address, filterer bind.ContractFilterer) (*WrapperFilterer, error)

NewWrapperFilterer creates a new log filterer instance of Wrapper, bound to a specific deployed contract.

type WrapperRaw

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

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

func (*WrapperRaw) Call

func (_Wrapper *WrapperRaw) 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 (*WrapperRaw) Transact

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

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

func (*WrapperRaw) Transfer

func (_Wrapper *WrapperRaw) 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 WrapperSession

type WrapperSession struct {
	Contract     *Wrapper          // 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
}

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

func (*WrapperSession) GetBalances

func (_Wrapper *WrapperSession) GetBalances(reserve common.Address, tokens []common.Address) ([]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x6a385ae9.

Solidity: function getBalances(reserve address, tokens address[]) constant returns(uint256[])

func (*WrapperSession) GetByteFromBytes14

func (_Wrapper *WrapperSession) GetByteFromBytes14(x [14]byte, byteInd *big.Int) ([1]byte, error)

GetByteFromBytes14 is a free data retrieval call binding the contract method 0xa609f034.

Solidity: function getByteFromBytes14(x bytes14, byteInd uint256) constant returns(bytes1)

func (*WrapperSession) GetExpectedRates

func (_Wrapper *WrapperSession) GetExpectedRates(network common.Address, srcs []common.Address, dests []common.Address, qty []*big.Int) ([]*big.Int, []*big.Int, error)

GetExpectedRates is a free data retrieval call binding the contract method 0xf1838fe4.

Solidity: function getExpectedRates(network address, srcs address[], dests address[], qty uint256[]) constant returns(uint256[], uint256[])

func (*WrapperSession) GetInt8FromByte

func (_Wrapper *WrapperSession) GetInt8FromByte(x [14]byte, byteInd *big.Int) (int8, error)

GetInt8FromByte is a free data retrieval call binding the contract method 0x67c33c80.

Solidity: function getInt8FromByte(x bytes14, byteInd uint256) constant returns(int8)

func (*WrapperSession) GetReserveRate

func (_Wrapper *WrapperSession) GetReserveRate(reserve common.Address, srcs []common.Address, dests []common.Address) ([]*big.Int, []*big.Int, error)

GetReserveRate is a free data retrieval call binding the contract method 0x91eb1c69.

Solidity: function getReserveRate(reserve address, srcs address[], dests address[]) constant returns(uint256[], uint256[])

func (*WrapperSession) GetTokenIndicies

func (_Wrapper *WrapperSession) GetTokenIndicies(ratesContract common.Address, tokenList []common.Address) ([]*big.Int, []*big.Int, error)

GetTokenIndicies is a free data retrieval call binding the contract method 0x7c80feff.

Solidity: function getTokenIndicies(ratesContract address, tokenList address[]) constant returns(uint256[], uint256[])

func (*WrapperSession) GetTokenRates

func (_Wrapper *WrapperSession) GetTokenRates(ratesContract common.Address, tokenList []common.Address) ([]*big.Int, []*big.Int, []int8, []int8, []*big.Int, error)

GetTokenRates is a free data retrieval call binding the contract method 0xf37f8345.

Solidity: function getTokenRates(ratesContract address, tokenList address[]) constant returns(uint256[], uint256[], int8[], int8[], uint256[])

type WrapperTransactor

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

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

func NewWrapperTransactor

func NewWrapperTransactor(address common.Address, transactor bind.ContractTransactor) (*WrapperTransactor, error)

NewWrapperTransactor creates a new write-only instance of Wrapper, bound to a specific deployed contract.

type WrapperTransactorRaw

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

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

func (*WrapperTransactorRaw) Transact

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

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

func (*WrapperTransactorRaw) Transfer

func (_Wrapper *WrapperTransactorRaw) 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 WrapperTransactorSession

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

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

Jump to

Keyboard shortcuts

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