Versions in this module Expand all Collapse all v0 v0.4.0 Apr 25, 2019 Changes in this version + const ERC20ABI + const ERC20Bin + const ExchangeABI + const ExchangeBin + const OwnedABI + const OwnedBin + const SafeMathABI + const SafeMathBin + const TokenABI + const TokenBin + type ERC20 struct + func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error) + func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error) + type ERC20Approval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type ERC20ApprovalIterator struct + Event *ERC20Approval + func (it *ERC20ApprovalIterator) Close() error + func (it *ERC20ApprovalIterator) Error() error + func (it *ERC20ApprovalIterator) Next() bool + type ERC20Caller struct + func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error) + func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error) + func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error) + func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error) + func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + func (_ERC20 *ERC20Caller) TotalTokenSupply(opts *bind.CallOpts) (*big.Int, error) + type ERC20CallerRaw struct + Contract *ERC20Caller + func (_ERC20 *ERC20CallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type ERC20CallerSession struct + CallOpts bind.CallOpts + Contract *ERC20Caller + func (_ERC20 *ERC20CallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) BalanceOf(_owner common.Address) (*big.Int, error) + func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error) + func (_ERC20 *ERC20CallerSession) Name() (string, error) + func (_ERC20 *ERC20CallerSession) Symbol() (string, error) + func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error) + func (_ERC20 *ERC20CallerSession) TotalTokenSupply() (*big.Int, error) + type ERC20Filterer struct + func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error) + func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ERC20ApprovalIterator, error) + func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ERC20TransferIterator, error) + func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, _owner []common.Address, ...) (event.Subscription, error) + func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, _from []common.Address, ...) (event.Subscription, error) + type ERC20Raw struct + Contract *ERC20 + func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC20Session struct + CallOpts bind.CallOpts + Contract *ERC20 + TransactOpts bind.TransactOpts + func (_ERC20 *ERC20Session) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) BalanceOf(_owner common.Address) (*big.Int, error) + func (_ERC20 *ERC20Session) Decimals() (uint8, error) + func (_ERC20 *ERC20Session) Name() (string, error) + func (_ERC20 *ERC20Session) Symbol() (string, error) + func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error) + func (_ERC20 *ERC20Session) TotalTokenSupply() (*big.Int, error) + func (_ERC20 *ERC20Session) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Session) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error) + type ERC20Transactor struct + func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error) + func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error) + type ERC20TransactorRaw struct + Contract *ERC20Transactor + func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC20TransactorSession struct + Contract *ERC20Transactor + TransactOpts bind.TransactOpts + func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error) + func (_ERC20 *ERC20TransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error) + type ERC20Transfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type ERC20TransferIterator struct + Event *ERC20Transfer + func (it *ERC20TransferIterator) Close() error + func (it *ERC20TransferIterator) Error() error + func (it *ERC20TransferIterator) Next() bool + type Exchange struct + func DeployExchange(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *Exchange, error) + func NewExchange(address common.Address, backend bind.ContractBackend) (*Exchange, error) + type ExchangeCaller struct + func NewExchangeCaller(address common.Address, caller bind.ContractCaller) (*ExchangeCaller, error) + func (_Exchange *ExchangeCaller) Filled(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error) + func (_Exchange *ExchangeCaller) GetPairPricepointMultiplier(opts *bind.CallOpts, _baseToken common.Address, _quoteToken common.Address) (*big.Int, error) + func (_Exchange *ExchangeCaller) GetPartialAmount(opts *bind.CallOpts, numerator *big.Int, denominator *big.Int, target *big.Int) (*big.Int, error) + func (_Exchange *ExchangeCaller) IsRoundingError(opts *bind.CallOpts, numerator *big.Int, denominator *big.Int, target *big.Int) (bool, error) + func (_Exchange *ExchangeCaller) IsValidSignature(opts *bind.CallOpts, signer common.Address, hash [32]byte, v uint8, r [32]byte, ...) (bool, error) + func (_Exchange *ExchangeCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_Exchange *ExchangeCaller) Owner(opts *bind.CallOpts) (common.Address, error) + func (_Exchange *ExchangeCaller) PairIsRegistered(opts *bind.CallOpts, _baseToken common.Address, _quoteToken common.Address) (bool, error) + func (_Exchange *ExchangeCaller) Pairs(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error) + func (_Exchange *ExchangeCaller) RewardAccount(opts *bind.CallOpts) (common.Address, error) + func (_Exchange *ExchangeCaller) Traded(opts *bind.CallOpts, arg0 [32]byte) (bool, error) + func (_Exchange *ExchangeCaller) VERSION(opts *bind.CallOpts) (string, error) + func (_Exchange *ExchangeCaller) WethToken(opts *bind.CallOpts) (common.Address, error) + type ExchangeCallerRaw struct + Contract *ExchangeCaller + func (_Exchange *ExchangeCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type ExchangeCallerSession struct + CallOpts bind.CallOpts + Contract *ExchangeCaller + func (_Exchange *ExchangeCallerSession) Filled(arg0 [32]byte) (*big.Int, error) + func (_Exchange *ExchangeCallerSession) GetPairPricepointMultiplier(_baseToken common.Address, _quoteToken common.Address) (*big.Int, error) + func (_Exchange *ExchangeCallerSession) GetPartialAmount(numerator *big.Int, denominator *big.Int, target *big.Int) (*big.Int, error) + func (_Exchange *ExchangeCallerSession) IsRoundingError(numerator *big.Int, denominator *big.Int, target *big.Int) (bool, error) + func (_Exchange *ExchangeCallerSession) IsValidSignature(signer common.Address, hash [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error) + func (_Exchange *ExchangeCallerSession) Operators(arg0 common.Address) (bool, error) + func (_Exchange *ExchangeCallerSession) Owner() (common.Address, error) + func (_Exchange *ExchangeCallerSession) PairIsRegistered(_baseToken common.Address, _quoteToken common.Address) (bool, error) + func (_Exchange *ExchangeCallerSession) Pairs(arg0 [32]byte) (struct{ ... }, error) + func (_Exchange *ExchangeCallerSession) RewardAccount() (common.Address, error) + func (_Exchange *ExchangeCallerSession) Traded(arg0 [32]byte) (bool, error) + func (_Exchange *ExchangeCallerSession) VERSION() (string, error) + func (_Exchange *ExchangeCallerSession) WethToken() (common.Address, error) + type ExchangeFilterer struct + func NewExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*ExchangeFilterer, error) + func (_Exchange *ExchangeFilterer) FilterLogBatchTrades(opts *bind.FilterOpts, tokenPairHash [][32]byte) (*ExchangeLogBatchTradesIterator, error) + func (_Exchange *ExchangeFilterer) FilterLogCancelOrder(opts *bind.FilterOpts) (*ExchangeLogCancelOrderIterator, error) + func (_Exchange *ExchangeFilterer) FilterLogError(opts *bind.FilterOpts) (*ExchangeLogErrorIterator, error) + func (_Exchange *ExchangeFilterer) FilterLogOperatorUpdate(opts *bind.FilterOpts) (*ExchangeLogOperatorUpdateIterator, error) + func (_Exchange *ExchangeFilterer) FilterLogRewardAccountUpdate(opts *bind.FilterOpts) (*ExchangeLogRewardAccountUpdateIterator, error) + func (_Exchange *ExchangeFilterer) FilterLogTrade(opts *bind.FilterOpts, maker []common.Address, taker []common.Address, ...) (*ExchangeLogTradeIterator, error) + func (_Exchange *ExchangeFilterer) FilterLogWethTokenUpdate(opts *bind.FilterOpts) (*ExchangeLogWethTokenUpdateIterator, error) + func (_Exchange *ExchangeFilterer) FilterSetOwner(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ExchangeSetOwnerIterator, error) + func (_Exchange *ExchangeFilterer) WatchLogBatchTrades(opts *bind.WatchOpts, sink chan<- *ExchangeLogBatchTrades, ...) (event.Subscription, error) + func (_Exchange *ExchangeFilterer) WatchLogCancelOrder(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelOrder) (event.Subscription, error) + func (_Exchange *ExchangeFilterer) WatchLogError(opts *bind.WatchOpts, sink chan<- *ExchangeLogError) (event.Subscription, error) + func (_Exchange *ExchangeFilterer) WatchLogOperatorUpdate(opts *bind.WatchOpts, sink chan<- *ExchangeLogOperatorUpdate) (event.Subscription, error) + func (_Exchange *ExchangeFilterer) WatchLogRewardAccountUpdate(opts *bind.WatchOpts, sink chan<- *ExchangeLogRewardAccountUpdate) (event.Subscription, error) + func (_Exchange *ExchangeFilterer) WatchLogTrade(opts *bind.WatchOpts, sink chan<- *ExchangeLogTrade, maker []common.Address, ...) (event.Subscription, error) + func (_Exchange *ExchangeFilterer) WatchLogWethTokenUpdate(opts *bind.WatchOpts, sink chan<- *ExchangeLogWethTokenUpdate) (event.Subscription, error) + func (_Exchange *ExchangeFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *ExchangeSetOwner, ...) (event.Subscription, error) + type ExchangeLogBatchTrades struct + MakerOrderHashes [][32]byte + Raw types.Log + TakerOrderHashes [][32]byte + TokenPairHash [32]byte + type ExchangeLogBatchTradesIterator struct + Event *ExchangeLogBatchTrades + func (it *ExchangeLogBatchTradesIterator) Close() error + func (it *ExchangeLogBatchTradesIterator) Error() error + func (it *ExchangeLogBatchTradesIterator) Next() bool + type ExchangeLogCancelOrder struct + Amount *big.Int + BaseToken common.Address + OrderHash [32]byte + Pricepoint *big.Int + QuoteToken common.Address + Raw types.Log + Side *big.Int + UserAddress common.Address + type ExchangeLogCancelOrderIterator struct + Event *ExchangeLogCancelOrder + func (it *ExchangeLogCancelOrderIterator) Close() error + func (it *ExchangeLogCancelOrderIterator) Error() error + func (it *ExchangeLogCancelOrderIterator) Next() bool + type ExchangeLogError struct + ErrorId uint8 + MakerOrderHash [32]byte + Raw types.Log + TakerOrderHash [32]byte + type ExchangeLogErrorIterator struct + Event *ExchangeLogError + func (it *ExchangeLogErrorIterator) Close() error + func (it *ExchangeLogErrorIterator) Error() error + func (it *ExchangeLogErrorIterator) Next() bool + type ExchangeLogOperatorUpdate struct + IsOperator bool + Operator common.Address + Raw types.Log + type ExchangeLogOperatorUpdateIterator struct + Event *ExchangeLogOperatorUpdate + func (it *ExchangeLogOperatorUpdateIterator) Close() error + func (it *ExchangeLogOperatorUpdateIterator) Error() error + func (it *ExchangeLogOperatorUpdateIterator) Next() bool + type ExchangeLogRewardAccountUpdate struct + NewRewardAccount common.Address + OldRewardAccount common.Address + Raw types.Log + type ExchangeLogRewardAccountUpdateIterator struct + Event *ExchangeLogRewardAccountUpdate + func (it *ExchangeLogRewardAccountUpdateIterator) Close() error + func (it *ExchangeLogRewardAccountUpdateIterator) Error() error + func (it *ExchangeLogRewardAccountUpdateIterator) Next() bool + type ExchangeLogTrade struct + FilledAmountBuy *big.Int + FilledAmountSell *big.Int + Maker common.Address + OrderHash [32]byte + PaidFeeMake *big.Int + PaidFeeTake *big.Int + Raw types.Log + Taker common.Address + TokenBuy common.Address + TokenPairHash [32]byte + TokenSell common.Address + TradeHash [32]byte + type ExchangeLogTradeIterator struct + Event *ExchangeLogTrade + func (it *ExchangeLogTradeIterator) Close() error + func (it *ExchangeLogTradeIterator) Error() error + func (it *ExchangeLogTradeIterator) Next() bool + type ExchangeLogWethTokenUpdate struct + NewWethToken common.Address + OldWethToken common.Address + Raw types.Log + type ExchangeLogWethTokenUpdateIterator struct + Event *ExchangeLogWethTokenUpdate + func (it *ExchangeLogWethTokenUpdateIterator) Close() error + func (it *ExchangeLogWethTokenUpdateIterator) Error() error + func (it *ExchangeLogWethTokenUpdateIterator) Next() bool + type ExchangeRaw struct + Contract *Exchange + func (_Exchange *ExchangeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_Exchange *ExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Exchange *ExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ExchangeSession struct + CallOpts bind.CallOpts + Contract *Exchange + TransactOpts bind.TransactOpts + func (_Exchange *ExchangeSession) BatchCancelOrders(orderValues [][6]*big.Int, orderAddresses [][3]common.Address, v []uint8, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) CancelOrder(orderValues [6]*big.Int, orderAddresses [3]common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) EmitLog(orderAddresses [4]common.Address, makerOrderHashes [][32]byte, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) ExecuteBatchTrades(orderValues [][10]*big.Int, orderAddresses [][4]common.Address, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) ExecuteSingleTrade(orderValues [10]*big.Int, orderAddresses [4]common.Address, amount *big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) ExecuteTrade(orderValues [10]*big.Int, orderAddresses [4]common.Address, amount *big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) Filled(arg0 [32]byte) (*big.Int, error) + func (_Exchange *ExchangeSession) GetPairPricepointMultiplier(_baseToken common.Address, _quoteToken common.Address) (*big.Int, error) + func (_Exchange *ExchangeSession) GetPartialAmount(numerator *big.Int, denominator *big.Int, target *big.Int) (*big.Int, error) + func (_Exchange *ExchangeSession) IsRoundingError(numerator *big.Int, denominator *big.Int, target *big.Int) (bool, error) + func (_Exchange *ExchangeSession) IsValidSignature(signer common.Address, hash [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error) + func (_Exchange *ExchangeSession) Operators(arg0 common.Address) (bool, error) + func (_Exchange *ExchangeSession) Owner() (common.Address, error) + func (_Exchange *ExchangeSession) PairIsRegistered(_baseToken common.Address, _quoteToken common.Address) (bool, error) + func (_Exchange *ExchangeSession) Pairs(arg0 [32]byte) (struct{ ... }, error) + func (_Exchange *ExchangeSession) RegisterPair(_baseToken common.Address, _quoteToken common.Address, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) RewardAccount() (common.Address, error) + func (_Exchange *ExchangeSession) SetFeeAccount(_rewardAccount common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeSession) SetOperator(_operator common.Address, _isOperator bool) (*types.Transaction, error) + func (_Exchange *ExchangeSession) SetOwner(newOwner common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeSession) SetWethToken(_wethToken common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeSession) Traded(arg0 [32]byte) (bool, error) + func (_Exchange *ExchangeSession) VERSION() (string, error) + func (_Exchange *ExchangeSession) ValidateSignatures(orderValues [10]*big.Int, orderAddresses [4]common.Address, v [2]uint8, ...) (*types.Transaction, error) + func (_Exchange *ExchangeSession) WethToken() (common.Address, error) + type ExchangeSetOwner struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + type ExchangeSetOwnerIterator struct + Event *ExchangeSetOwner + func (it *ExchangeSetOwnerIterator) Close() error + func (it *ExchangeSetOwnerIterator) Error() error + func (it *ExchangeSetOwnerIterator) Next() bool + type ExchangeTransactor struct + func NewExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*ExchangeTransactor, error) + func (_Exchange *ExchangeTransactor) BatchCancelOrders(opts *bind.TransactOpts, orderValues [][6]*big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) CancelOrder(opts *bind.TransactOpts, orderValues [6]*big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) EmitLog(opts *bind.TransactOpts, orderAddresses [4]common.Address, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) ExecuteBatchTrades(opts *bind.TransactOpts, orderValues [][10]*big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) ExecuteSingleTrade(opts *bind.TransactOpts, orderValues [10]*big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) ExecuteTrade(opts *bind.TransactOpts, orderValues [10]*big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) RegisterPair(opts *bind.TransactOpts, _baseToken common.Address, _quoteToken common.Address, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) SetFeeAccount(opts *bind.TransactOpts, _rewardAccount common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) SetOperator(opts *bind.TransactOpts, _operator common.Address, _isOperator bool) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) SetWethToken(opts *bind.TransactOpts, _wethToken common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeTransactor) ValidateSignatures(opts *bind.TransactOpts, orderValues [10]*big.Int, ...) (*types.Transaction, error) + type ExchangeTransactorRaw struct + Contract *ExchangeTransactor + func (_Exchange *ExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ExchangeTransactorSession struct + Contract *ExchangeTransactor + TransactOpts bind.TransactOpts + func (_Exchange *ExchangeTransactorSession) BatchCancelOrders(orderValues [][6]*big.Int, orderAddresses [][3]common.Address, v []uint8, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) CancelOrder(orderValues [6]*big.Int, orderAddresses [3]common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) EmitLog(orderAddresses [4]common.Address, makerOrderHashes [][32]byte, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) ExecuteBatchTrades(orderValues [][10]*big.Int, orderAddresses [][4]common.Address, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) ExecuteSingleTrade(orderValues [10]*big.Int, orderAddresses [4]common.Address, amount *big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) ExecuteTrade(orderValues [10]*big.Int, orderAddresses [4]common.Address, amount *big.Int, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) RegisterPair(_baseToken common.Address, _quoteToken common.Address, ...) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) SetFeeAccount(_rewardAccount common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) SetOperator(_operator common.Address, _isOperator bool) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) SetWethToken(_wethToken common.Address) (*types.Transaction, error) + func (_Exchange *ExchangeTransactorSession) ValidateSignatures(orderValues [10]*big.Int, orderAddresses [4]common.Address, v [2]uint8, ...) (*types.Transaction, error) + type Owned struct + func DeployOwned(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Owned, error) + func NewOwned(address common.Address, backend bind.ContractBackend) (*Owned, error) + type OwnedCaller struct + func NewOwnedCaller(address common.Address, caller bind.ContractCaller) (*OwnedCaller, error) + func (_Owned *OwnedCaller) Owner(opts *bind.CallOpts) (common.Address, error) + type OwnedCallerRaw struct + Contract *OwnedCaller + func (_Owned *OwnedCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type OwnedCallerSession struct + CallOpts bind.CallOpts + Contract *OwnedCaller + func (_Owned *OwnedCallerSession) Owner() (common.Address, error) + type OwnedFilterer struct + func NewOwnedFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnedFilterer, error) + func (_Owned *OwnedFilterer) FilterSetOwner(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnedSetOwnerIterator, error) + func (_Owned *OwnedFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *OwnedSetOwner, ...) (event.Subscription, error) + type OwnedRaw struct + Contract *Owned + func (_Owned *OwnedRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_Owned *OwnedRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Owned *OwnedRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type OwnedSession struct + CallOpts bind.CallOpts + Contract *Owned + TransactOpts bind.TransactOpts + func (_Owned *OwnedSession) Owner() (common.Address, error) + func (_Owned *OwnedSession) SetOwner(newOwner common.Address) (*types.Transaction, error) + type OwnedSetOwner struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + type OwnedSetOwnerIterator struct + Event *OwnedSetOwner + func (it *OwnedSetOwnerIterator) Close() error + func (it *OwnedSetOwnerIterator) Error() error + func (it *OwnedSetOwnerIterator) Next() bool + type OwnedTransactor struct + func NewOwnedTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnedTransactor, error) + func (_Owned *OwnedTransactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) + type OwnedTransactorRaw struct + Contract *OwnedTransactor + func (_Owned *OwnedTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Owned *OwnedTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type OwnedTransactorSession struct + Contract *OwnedTransactor + TransactOpts bind.TransactOpts + func (_Owned *OwnedTransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error) + type SafeMath struct + func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) + func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error) + type SafeMathCaller struct + func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error) + type SafeMathCallerRaw struct + Contract *SafeMathCaller + func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type SafeMathCallerSession struct + CallOpts bind.CallOpts + Contract *SafeMathCaller + type SafeMathFilterer struct + func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error) + type SafeMathRaw struct + Contract *SafeMath + func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type SafeMathSession struct + CallOpts bind.CallOpts + Contract *SafeMath + TransactOpts bind.TransactOpts + type SafeMathTransactor struct + func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error) + type SafeMathTransactorRaw struct + Contract *SafeMathTransactor + func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type SafeMathTransactorSession struct + Contract *SafeMathTransactor + TransactOpts bind.TransactOpts + type Token struct + func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend, _to common.Address, ...) (common.Address, *types.Transaction, *Token, error) + func NewToken(address common.Address, backend bind.ContractBackend) (*Token, error) + type TokenApproval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type TokenApprovalIterator struct + Event *TokenApproval + func (it *TokenApprovalIterator) Close() error + func (it *TokenApprovalIterator) Error() error + func (it *TokenApprovalIterator) Next() bool + type TokenCaller struct + func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error) + func (_Token *TokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error) + func (_Token *TokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error) + func (_Token *TokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error) + func (_Token *TokenCaller) Owner(opts *bind.CallOpts) (common.Address, error) + func (_Token *TokenCaller) Symbol(opts *bind.CallOpts) (string, error) + func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + type TokenCallerRaw struct + Contract *TokenCaller + func (_Token *TokenCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type TokenCallerSession struct + CallOpts bind.CallOpts + Contract *TokenCaller + func (_Token *TokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_Token *TokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error) + func (_Token *TokenCallerSession) MintingFinished() (bool, error) + func (_Token *TokenCallerSession) Owner() (common.Address, error) + func (_Token *TokenCallerSession) Symbol() (string, error) + func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error) + type TokenFilterer struct + func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error) + func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, error) + func (_Token *TokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*TokenMintIterator, error) + func (_Token *TokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*TokenMintFinishedIterator, error) + func (_Token *TokenFilterer) FilterSetOwner(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TokenSetOwnerIterator, error) + func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, error) + func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, owner []common.Address, ...) (event.Subscription, error) + func (_Token *TokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *TokenMint, to []common.Address) (event.Subscription, error) + func (_Token *TokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *TokenMintFinished) (event.Subscription, error) + func (_Token *TokenFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *TokenSetOwner, ...) (event.Subscription, error) + func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, from []common.Address, ...) (event.Subscription, error) + type TokenMint struct + Amount *big.Int + Raw types.Log + To common.Address + type TokenMintFinished struct + Raw types.Log + type TokenMintFinishedIterator struct + Event *TokenMintFinished + func (it *TokenMintFinishedIterator) Close() error + func (it *TokenMintFinishedIterator) Error() error + func (it *TokenMintFinishedIterator) Next() bool + type TokenMintIterator struct + Event *TokenMint + func (it *TokenMintIterator) Close() error + func (it *TokenMintIterator) Error() error + func (it *TokenMintIterator) Next() bool + type TokenRaw struct + Contract *Token + func (_Token *TokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TokenSession struct + CallOpts bind.CallOpts + Contract *Token + TransactOpts bind.TransactOpts + func (_Token *TokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_Token *TokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) BalanceOf(_owner common.Address) (*big.Int, error) + func (_Token *TokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) FinishMinting() (*types.Transaction, error) + func (_Token *TokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) MintingFinished() (bool, error) + func (_Token *TokenSession) Owner() (common.Address, error) + func (_Token *TokenSession) SetOwner(newOwner common.Address) (*types.Transaction, error) + func (_Token *TokenSession) Symbol() (string, error) + func (_Token *TokenSession) TotalSupply() (*big.Int, error) + func (_Token *TokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error) + func (_Token *TokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error) + type TokenSetOwner struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + type TokenSetOwnerIterator struct + Event *TokenSetOwner + func (it *TokenSetOwnerIterator) Close() error + func (it *TokenSetOwnerIterator) Error() error + func (it *TokenSetOwnerIterator) Next() bool + type TokenTransactor struct + func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error) + func (_Token *TokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Token *TokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) + func (_Token *TokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error) + type TokenTransactorRaw struct + Contract *TokenTransactor + func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Token *TokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type TokenTransactorSession struct + Contract *TokenTransactor + TransactOpts bind.TransactOpts + func (_Token *TokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) FinishMinting() (*types.Transaction, error) + func (_Token *TokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error) + func (_Token *TokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error) + func (_Token *TokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error) + type TokenTransfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type TokenTransferIterator struct + Event *TokenTransfer + func (it *TokenTransferIterator) Close() error + func (it *TokenTransferIterator) Error() error + func (it *TokenTransferIterator) Next() bool