Documentation
¶
Index ¶
- Constants
- type ERC20
- type ERC20Caller
- func (_ERC20 *ERC20Caller) AllowTransactions(opts *bind.CallOpts) (bool, error)
- func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, arg0 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)
- type ERC20CallerRaw
- type ERC20CallerSession
- func (_ERC20 *ERC20CallerSession) AllowTransactions() (bool, error)
- func (_ERC20 *ERC20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) BalanceOf(arg0 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)
- type ERC20Filterer
- type ERC20Raw
- 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
- func (_ERC20 *ERC20Session) AllowTransactions() (bool, error)
- func (_ERC20 *ERC20Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) ApproveAndCall(_spender common.Address, _value *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(arg0 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) 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
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) ApproveAndCall(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
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) ApproveAndCall(_spender common.Address, _value *big.Int, _extraData []byte) (*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 Exchange
- type ExchangeCaller
- func (_Exchange *ExchangeCaller) EtherBalance(opts *bind.CallOpts, trader common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCaller) FeeAccount(opts *bind.CallOpts) (common.Address, error)
- func (_Exchange *ExchangeCaller) IsValidSignature(opts *bind.CallOpts, signer common.Address, hashedData [32]byte, v uint8, ...) (bool, error)
- func (_Exchange *ExchangeCaller) LastTransaction(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCaller) Operators(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Exchange *ExchangeCaller) OrderFills(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Exchange *ExchangeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Exchange *ExchangeCaller) ProtectedFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCaller) TokenBalance(opts *bind.CallOpts, trader common.Address, token common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCaller) Tokens(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCaller) Traded(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeCaller) Transferred(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeCaller) WithdrawalSecurityPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Exchange *ExchangeCaller) Withdrawn(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- type ExchangeCallerRaw
- type ExchangeCallerSession
- func (_Exchange *ExchangeCallerSession) EtherBalance(trader common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) FeeAccount() (common.Address, error)
- func (_Exchange *ExchangeCallerSession) IsValidSignature(signer common.Address, hashedData [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)
- func (_Exchange *ExchangeCallerSession) LastTransaction(arg0 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) Operators(arg0 common.Address) (bool, error)
- func (_Exchange *ExchangeCallerSession) OrderFills(arg0 [32]byte) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) Owner() (common.Address, error)
- func (_Exchange *ExchangeCallerSession) ProtectedFunds(arg0 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) TokenBalance(trader common.Address, token common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) Tokens(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) Traded(arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeCallerSession) Transferred(arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeCallerSession) WithdrawalSecurityPeriod() (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) Withdrawn(arg0 [32]byte) (bool, error)
- type ExchangeFilterer
- func (_Exchange *ExchangeFilterer) FilterLogCancelOrder(opts *bind.FilterOpts) (*ExchangeLogCancelOrderIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogCancelOrderError(opts *bind.FilterOpts) (*ExchangeLogCancelOrderErrorIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogCancelTrade(opts *bind.FilterOpts) (*ExchangeLogCancelTradeIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogDeposit(opts *bind.FilterOpts) (*ExchangeLogDepositIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogError(opts *bind.FilterOpts) (*ExchangeLogErrorIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogSecurityWithdraw(opts *bind.FilterOpts) (*ExchangeLogSecurityWithdrawIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogTrade(opts *bind.FilterOpts) (*ExchangeLogTradeIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogTransfer(opts *bind.FilterOpts) (*ExchangeLogTransferIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogWithdraw(opts *bind.FilterOpts) (*ExchangeLogWithdrawIterator, error)
- func (_Exchange *ExchangeFilterer) FilterLogWithdrawalError(opts *bind.FilterOpts) (*ExchangeLogWithdrawalErrorIterator, error)
- func (_Exchange *ExchangeFilterer) FilterSetOwner(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ExchangeSetOwnerIterator, error)
- func (_Exchange *ExchangeFilterer) WatchLogCancelOrder(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelOrder) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogCancelOrderError(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelOrderError) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogCancelTrade(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelTrade) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogDeposit(opts *bind.WatchOpts, sink chan<- *ExchangeLogDeposit) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogError(opts *bind.WatchOpts, sink chan<- *ExchangeLogError) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogSecurityWithdraw(opts *bind.WatchOpts, sink chan<- *ExchangeLogSecurityWithdraw) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogTrade(opts *bind.WatchOpts, sink chan<- *ExchangeLogTrade) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogTransfer(opts *bind.WatchOpts, sink chan<- *ExchangeLogTransfer) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogWithdraw(opts *bind.WatchOpts, sink chan<- *ExchangeLogWithdraw) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchLogWithdrawalError(opts *bind.WatchOpts, sink chan<- *ExchangeLogWithdrawalError) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *ExchangeSetOwner, ...) (event.Subscription, error)
- type ExchangeLogCancelOrder
- type ExchangeLogCancelOrderError
- type ExchangeLogCancelOrderErrorIterator
- type ExchangeLogCancelOrderIterator
- type ExchangeLogCancelTrade
- type ExchangeLogCancelTradeIterator
- type ExchangeLogDeposit
- type ExchangeLogDepositIterator
- type ExchangeLogError
- type ExchangeLogErrorIterator
- type ExchangeLogSecurityWithdraw
- type ExchangeLogSecurityWithdrawIterator
- type ExchangeLogTrade
- type ExchangeLogTradeIterator
- type ExchangeLogTransfer
- type ExchangeLogTransferIterator
- type ExchangeLogWithdraw
- type ExchangeLogWithdrawIterator
- type ExchangeLogWithdrawalError
- type ExchangeLogWithdrawalErrorIterator
- type ExchangeRaw
- 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
- func (_Exchange *ExchangeSession) CancelOrder(orderValues [5]*big.Int, orderAddresses [4]common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) CancelTrade(orderHash [32]byte, amount *big.Int, tradeNonce *big.Int, taker common.Address, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) DepositEther() (*types.Transaction, error)
- func (_Exchange *ExchangeSession) DepositToken(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) EtherBalance(trader common.Address) (*big.Int, error)
- func (_Exchange *ExchangeSession) ExecuteTrade(orderValues [8]*big.Int, orderAddresses [4]common.Address, v [2]uint8, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) FeeAccount() (common.Address, error)
- func (_Exchange *ExchangeSession) IsValidSignature(signer common.Address, hashedData [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)
- func (_Exchange *ExchangeSession) LastTransaction(arg0 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeSession) Operators(arg0 common.Address) (bool, error)
- func (_Exchange *ExchangeSession) OrderFills(arg0 [32]byte) (*big.Int, error)
- func (_Exchange *ExchangeSession) Owner() (common.Address, error)
- func (_Exchange *ExchangeSession) ProtectedFunds(arg0 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeSession) SecurityWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) SetFeeAccount(_feeAccount 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) SetWithdrawalSecurityPeriod(_withdrawalSecurityPeriod *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) TokenBalance(trader common.Address, token common.Address) (*big.Int, error)
- func (_Exchange *ExchangeSession) Tokens(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeSession) Traded(arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeSession) Transferred(arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeSession) Withdraw(token common.Address, amount *big.Int, trader common.Address, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) WithdrawalSecurityPeriod() (*big.Int, error)
- func (_Exchange *ExchangeSession) Withdrawn(arg0 [32]byte) (bool, error)
- type ExchangeSetOwner
- type ExchangeSetOwnerIterator
- type ExchangeTransactor
- func (_Exchange *ExchangeTransactor) CancelOrder(opts *bind.TransactOpts, orderValues [5]*big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) CancelTrade(opts *bind.TransactOpts, orderHash [32]byte, amount *big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) DepositEther(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) DepositToken(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) ExecuteTrade(opts *bind.TransactOpts, orderValues [8]*big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) SecurityWithdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) SetFeeAccount(opts *bind.TransactOpts, _feeAccount 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) SetWithdrawalSecurityPeriod(opts *bind.TransactOpts, _withdrawalSecurityPeriod *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) Withdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type ExchangeTransactorRaw
- type ExchangeTransactorSession
- func (_Exchange *ExchangeTransactorSession) CancelOrder(orderValues [5]*big.Int, orderAddresses [4]common.Address, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) CancelTrade(orderHash [32]byte, amount *big.Int, tradeNonce *big.Int, taker common.Address, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) DepositEther() (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) DepositToken(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) ExecuteTrade(orderValues [8]*big.Int, orderAddresses [4]common.Address, v [2]uint8, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) SecurityWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) SetFeeAccount(_feeAccount 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) SetWithdrawalSecurityPeriod(_withdrawalSecurityPeriod *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) Withdraw(token common.Address, amount *big.Int, trader common.Address, ...) (*types.Transaction, error)
- type Owned
- type OwnedCaller
- type OwnedCallerRaw
- type OwnedCallerSession
- type OwnedFilterer
- type OwnedRaw
- 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
- type OwnedSetOwner
- type OwnedSetOwnerIterator
- type OwnedTransactor
- type OwnedTransactorRaw
- type OwnedTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- 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
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Token
- type TokenApproval
- type TokenApprovalIterator
- type TokenCaller
- 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
- type TokenCallerSession
- 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
- 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
- type TokenMintFinished
- type TokenMintFinishedIterator
- type TokenMintIterator
- type TokenRaw
- 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
- 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
- type TokenSetOwnerIterator
- type TokenTransactor
- 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
- type TokenTransactorSession
- 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
- type TokenTransferIterator
Constants ¶
const ERC20ABI = "" /* 2497-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20Bin = `0x`
ERC20Bin is the compiled bytecode used for deploying new contracts.
const ExchangeABI = "" /* 9797-byte string literal not displayed */
ExchangeABI is the input ABI used to generate the binding from.
const ExchangeBin = `` /* 16240-byte string literal not displayed */
ExchangeBin is the compiled bytecode used for deploying new contracts.
const OwnedABI = "" /* 664-byte string literal not displayed */
OwnedABI is the input ABI used to generate the binding from.
const OwnedBin = `` /* 808-byte string literal not displayed */
OwnedBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 162-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
const TokenABI = "" /* 4383-byte string literal not displayed */
TokenABI is the input ABI used to generate the binding from.
const TokenBin = `` /* 5866-byte string literal not displayed */
TokenBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 DeployERC20 ¶
func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error)
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
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) AllowTransactions ¶
func (_ERC20 *ERC20Caller) AllowTransactions(opts *bind.CallOpts) (bool, error)
AllowTransactions is a free data retrieval call binding the contract method 0xa5488a37.
Solidity: function allowTransactions() constant returns(bool)
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance( address, address) constant returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf( address) constant returns(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 ¶
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) AllowTransactions ¶
func (_ERC20 *ERC20CallerSession) AllowTransactions() (bool, error)
AllowTransactions is a free data retrieval call binding the contract method 0xa5488a37.
Solidity: function allowTransactions() constant returns(bool)
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance( address, address) constant returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf( address) constant returns(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.
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) AllowTransactions ¶
func (_ERC20 *ERC20Session) AllowTransactions() (bool, error)
AllowTransactions is a free data retrieval call binding the contract method 0xa5488a37.
Solidity: function allowTransactions() constant returns(bool)
func (*ERC20Session) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance( address, 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) ApproveAndCall ¶
func (_ERC20 *ERC20Session) ApproveAndCall(_spender common.Address, _value *big.Int, _extraData []byte) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(_spender address, _value uint256, _extraData bytes) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf( address) constant returns(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) ApproveAndCall ¶
func (_ERC20 *ERC20Transactor) ApproveAndCall(opts *bind.TransactOpts, _spender common.Address, _value *big.Int, _extraData []byte) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(_spender address, _value uint256, _extraData bytes) 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) ApproveAndCall ¶
func (_ERC20 *ERC20TransactorSession) ApproveAndCall(_spender common.Address, _value *big.Int, _extraData []byte) (*types.Transaction, error)
ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.
Solidity: function approveAndCall(_spender address, _value uint256, _extraData bytes) 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 Exchange ¶
type Exchange struct { ExchangeCaller // Read-only binding to the contract ExchangeTransactor // Write-only binding to the contract ExchangeFilterer // Log filterer for contract events }
Exchange is an auto generated Go binding around an Ethereum contract.
func DeployExchange ¶
func DeployExchange(auth *bind.TransactOpts, backend bind.ContractBackend, _feeAccount common.Address) (common.Address, *types.Transaction, *Exchange, error)
DeployExchange deploys a new Ethereum contract, binding an instance of Exchange to it.
func NewExchange ¶
NewExchange creates a new instance of Exchange, bound to a specific deployed contract.
type ExchangeCaller ¶
type ExchangeCaller struct {
// contains filtered or unexported fields
}
ExchangeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewExchangeCaller ¶
func NewExchangeCaller(address common.Address, caller bind.ContractCaller) (*ExchangeCaller, error)
NewExchangeCaller creates a new read-only instance of Exchange, bound to a specific deployed contract.
func (*ExchangeCaller) EtherBalance ¶
func (_Exchange *ExchangeCaller) EtherBalance(opts *bind.CallOpts, trader common.Address) (*big.Int, error)
EtherBalance is a free data retrieval call binding the contract method 0xcd0c5896.
Solidity: function etherBalance(trader address) constant returns(uint256)
func (*ExchangeCaller) FeeAccount ¶
FeeAccount is a free data retrieval call binding the contract method 0x65e17c9d.
Solidity: function feeAccount() constant returns(address)
func (*ExchangeCaller) IsValidSignature ¶
func (_Exchange *ExchangeCaller) IsValidSignature(opts *bind.CallOpts, signer common.Address, hashedData [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)
IsValidSignature is a free data retrieval call binding the contract method 0x8163681e.
Solidity: function isValidSignature(signer address, hashedData bytes32, v uint8, r bytes32, s bytes32) constant returns(bool)
func (*ExchangeCaller) LastTransaction ¶
func (_Exchange *ExchangeCaller) LastTransaction(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
LastTransaction is a free data retrieval call binding the contract method 0x0531be92.
Solidity: function lastTransaction( address) constant returns(uint256)
func (*ExchangeCaller) Operators ¶
Operators is a free data retrieval call binding the contract method 0x13e7c9d8.
Solidity: function operators( address) constant returns(bool)
func (*ExchangeCaller) OrderFills ¶
OrderFills is a free data retrieval call binding the contract method 0xf7213db6.
Solidity: function orderFills( bytes32) constant returns(uint256)
func (*ExchangeCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ExchangeCaller) ProtectedFunds ¶
func (_Exchange *ExchangeCaller) ProtectedFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ProtectedFunds is a free data retrieval call binding the contract method 0xfe2e2b94.
Solidity: function protectedFunds( address) constant returns(uint256)
func (*ExchangeCaller) TokenBalance ¶
func (_Exchange *ExchangeCaller) TokenBalance(opts *bind.CallOpts, trader common.Address, token common.Address) (*big.Int, error)
TokenBalance is a free data retrieval call binding the contract method 0x1049334f.
Solidity: function tokenBalance(trader address, token address) constant returns(uint256)
func (*ExchangeCaller) Tokens ¶
func (_Exchange *ExchangeCaller) Tokens(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Tokens is a free data retrieval call binding the contract method 0x508493bc.
Solidity: function tokens( address, address) constant returns(uint256)
func (*ExchangeCaller) Traded ¶
Traded is a free data retrieval call binding the contract method 0xd5813323.
Solidity: function traded( bytes32) constant returns(bool)
func (*ExchangeCaller) Transferred ¶
Transferred is a free data retrieval call binding the contract method 0xafc441e3.
Solidity: function transferred( bytes32) constant returns(bool)
func (*ExchangeCaller) WithdrawalSecurityPeriod ¶
WithdrawalSecurityPeriod is a free data retrieval call binding the contract method 0xf3198b16.
Solidity: function withdrawalSecurityPeriod() constant returns(uint256)
type ExchangeCallerRaw ¶
type ExchangeCallerRaw struct {
Contract *ExchangeCaller // Generic read-only contract binding to access the raw methods on
}
ExchangeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ExchangeCallerRaw) Call ¶
func (_Exchange *ExchangeCallerRaw) 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 ExchangeCallerSession ¶
type ExchangeCallerSession struct { Contract *ExchangeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ExchangeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ExchangeCallerSession) EtherBalance ¶
EtherBalance is a free data retrieval call binding the contract method 0xcd0c5896.
Solidity: function etherBalance(trader address) constant returns(uint256)
func (*ExchangeCallerSession) FeeAccount ¶
func (_Exchange *ExchangeCallerSession) FeeAccount() (common.Address, error)
FeeAccount is a free data retrieval call binding the contract method 0x65e17c9d.
Solidity: function feeAccount() constant returns(address)
func (*ExchangeCallerSession) IsValidSignature ¶
func (_Exchange *ExchangeCallerSession) IsValidSignature(signer common.Address, hashedData [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)
IsValidSignature is a free data retrieval call binding the contract method 0x8163681e.
Solidity: function isValidSignature(signer address, hashedData bytes32, v uint8, r bytes32, s bytes32) constant returns(bool)
func (*ExchangeCallerSession) LastTransaction ¶
LastTransaction is a free data retrieval call binding the contract method 0x0531be92.
Solidity: function lastTransaction( address) constant returns(uint256)
func (*ExchangeCallerSession) Operators ¶
func (_Exchange *ExchangeCallerSession) Operators(arg0 common.Address) (bool, error)
Operators is a free data retrieval call binding the contract method 0x13e7c9d8.
Solidity: function operators( address) constant returns(bool)
func (*ExchangeCallerSession) OrderFills ¶
func (_Exchange *ExchangeCallerSession) OrderFills(arg0 [32]byte) (*big.Int, error)
OrderFills is a free data retrieval call binding the contract method 0xf7213db6.
Solidity: function orderFills( bytes32) constant returns(uint256)
func (*ExchangeCallerSession) Owner ¶
func (_Exchange *ExchangeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ExchangeCallerSession) ProtectedFunds ¶
ProtectedFunds is a free data retrieval call binding the contract method 0xfe2e2b94.
Solidity: function protectedFunds( address) constant returns(uint256)
func (*ExchangeCallerSession) TokenBalance ¶
func (_Exchange *ExchangeCallerSession) TokenBalance(trader common.Address, token common.Address) (*big.Int, error)
TokenBalance is a free data retrieval call binding the contract method 0x1049334f.
Solidity: function tokenBalance(trader address, token address) constant returns(uint256)
func (*ExchangeCallerSession) Tokens ¶
func (_Exchange *ExchangeCallerSession) Tokens(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Tokens is a free data retrieval call binding the contract method 0x508493bc.
Solidity: function tokens( address, address) constant returns(uint256)
func (*ExchangeCallerSession) Traded ¶
func (_Exchange *ExchangeCallerSession) Traded(arg0 [32]byte) (bool, error)
Traded is a free data retrieval call binding the contract method 0xd5813323.
Solidity: function traded( bytes32) constant returns(bool)
func (*ExchangeCallerSession) Transferred ¶
func (_Exchange *ExchangeCallerSession) Transferred(arg0 [32]byte) (bool, error)
Transferred is a free data retrieval call binding the contract method 0xafc441e3.
Solidity: function transferred( bytes32) constant returns(bool)
func (*ExchangeCallerSession) WithdrawalSecurityPeriod ¶
func (_Exchange *ExchangeCallerSession) WithdrawalSecurityPeriod() (*big.Int, error)
WithdrawalSecurityPeriod is a free data retrieval call binding the contract method 0xf3198b16.
Solidity: function withdrawalSecurityPeriod() constant returns(uint256)
type ExchangeFilterer ¶
type ExchangeFilterer struct {
// contains filtered or unexported fields
}
ExchangeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewExchangeFilterer ¶
func NewExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*ExchangeFilterer, error)
NewExchangeFilterer creates a new log filterer instance of Exchange, bound to a specific deployed contract.
func (*ExchangeFilterer) FilterLogCancelOrder ¶
func (_Exchange *ExchangeFilterer) FilterLogCancelOrder(opts *bind.FilterOpts) (*ExchangeLogCancelOrderIterator, error)
FilterLogCancelOrder is a free log retrieval operation binding the contract event 0x225b65e1d78c18ece7019d02ed422d3b517f48599e152a0accbff43305d6b35c.
Solidity: e LogCancelOrder(sender address, orderHash bytes32)
func (*ExchangeFilterer) FilterLogCancelOrderError ¶
func (_Exchange *ExchangeFilterer) FilterLogCancelOrderError(opts *bind.FilterOpts) (*ExchangeLogCancelOrderErrorIterator, error)
FilterLogCancelOrderError is a free log retrieval operation binding the contract event 0x7ef163ecf30d829e41f9072c51c9adf6f08f414d8b8a71319eb7ceca54bee2da.
Solidity: e LogCancelOrderError(errorId uint8, orderHash bytes32)
func (*ExchangeFilterer) FilterLogCancelTrade ¶
func (_Exchange *ExchangeFilterer) FilterLogCancelTrade(opts *bind.FilterOpts) (*ExchangeLogCancelTradeIterator, error)
FilterLogCancelTrade is a free log retrieval operation binding the contract event 0x0a7a3f746039aadb872ed7b3ecb51a760f339c9551a00691df7285ee21ab78d8.
Solidity: e LogCancelTrade(sender address, tradeHash bytes32)
func (*ExchangeFilterer) FilterLogDeposit ¶
func (_Exchange *ExchangeFilterer) FilterLogDeposit(opts *bind.FilterOpts) (*ExchangeLogDepositIterator, error)
FilterLogDeposit is a free log retrieval operation binding the contract event 0x4e3e4894f24a7c50bcb21d1ef785e34688bee05663c55d822eed7cefc2533123.
Solidity: e LogDeposit(token address, user address, amount uint256, balance uint256)
func (*ExchangeFilterer) FilterLogError ¶
func (_Exchange *ExchangeFilterer) FilterLogError(opts *bind.FilterOpts) (*ExchangeLogErrorIterator, error)
FilterLogError is a free log retrieval operation binding the contract event 0x14301341d034ec3c62a1eabc804a79abf3b8c16e6245e82ec572346aa452fabb.
Solidity: e LogError(errorId uint8, orderHash bytes32, tradeHash bytes32)
func (*ExchangeFilterer) FilterLogSecurityWithdraw ¶
func (_Exchange *ExchangeFilterer) FilterLogSecurityWithdraw(opts *bind.FilterOpts) (*ExchangeLogSecurityWithdrawIterator, error)
FilterLogSecurityWithdraw is a free log retrieval operation binding the contract event 0xc1bc7b7b4880798c196e5adcf8dbbe770e901ad0bd5515af4dbc08d66eb18bfd.
Solidity: e LogSecurityWithdraw(token address, user address, amount uint256, balance uint256)
func (*ExchangeFilterer) FilterLogTrade ¶
func (_Exchange *ExchangeFilterer) FilterLogTrade(opts *bind.FilterOpts) (*ExchangeLogTradeIterator, error)
FilterLogTrade is a free log retrieval operation binding the contract event 0x59e3b277d85cf09b738ff8a9ffaf912a7f41671729a6a9dc9a639a3c9acb2450.
Solidity: e LogTrade(tokenBuy address, tokenSell address, maker address, taker address, amount uint256, orderHash bytes32, tradeHash bytes32)
func (*ExchangeFilterer) FilterLogTransfer ¶
func (_Exchange *ExchangeFilterer) FilterLogTransfer(opts *bind.FilterOpts) (*ExchangeLogTransferIterator, error)
FilterLogTransfer is a free log retrieval operation binding the contract event 0x5d517a7dfb872efa300109cebcb8235ae90602d926b499065254b47383395426.
Solidity: e LogTransfer(token address, recipient address)
func (*ExchangeFilterer) FilterLogWithdraw ¶
func (_Exchange *ExchangeFilterer) FilterLogWithdraw(opts *bind.FilterOpts) (*ExchangeLogWithdrawIterator, error)
FilterLogWithdraw is a free log retrieval operation binding the contract event 0x74217ce088f00bfd283666b763c64f0d1b1c345591dfdd01891dddf52446694e.
Solidity: e LogWithdraw(token address, user address, amount uint256, balance uint256)
func (*ExchangeFilterer) FilterLogWithdrawalError ¶
func (_Exchange *ExchangeFilterer) FilterLogWithdrawalError(opts *bind.FilterOpts) (*ExchangeLogWithdrawalErrorIterator, error)
FilterLogWithdrawalError is a free log retrieval operation binding the contract event 0xe81224ae22bf8383eddca98d93122b932f5f682a62dd9850a19d43ba3ec9c50f.
Solidity: e LogWithdrawalError(errorId uint8, withdrawalHash bytes32)
func (*ExchangeFilterer) FilterSetOwner ¶
func (_Exchange *ExchangeFilterer) FilterSetOwner(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ExchangeSetOwnerIterator, error)
FilterSetOwner is a free log retrieval operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.
Solidity: e SetOwner(previousOwner indexed address, newOwner indexed address)
func (*ExchangeFilterer) WatchLogCancelOrder ¶
func (_Exchange *ExchangeFilterer) WatchLogCancelOrder(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelOrder) (event.Subscription, error)
WatchLogCancelOrder is a free log subscription operation binding the contract event 0x225b65e1d78c18ece7019d02ed422d3b517f48599e152a0accbff43305d6b35c.
Solidity: e LogCancelOrder(sender address, orderHash bytes32)
func (*ExchangeFilterer) WatchLogCancelOrderError ¶
func (_Exchange *ExchangeFilterer) WatchLogCancelOrderError(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelOrderError) (event.Subscription, error)
WatchLogCancelOrderError is a free log subscription operation binding the contract event 0x7ef163ecf30d829e41f9072c51c9adf6f08f414d8b8a71319eb7ceca54bee2da.
Solidity: e LogCancelOrderError(errorId uint8, orderHash bytes32)
func (*ExchangeFilterer) WatchLogCancelTrade ¶
func (_Exchange *ExchangeFilterer) WatchLogCancelTrade(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelTrade) (event.Subscription, error)
WatchLogCancelTrade is a free log subscription operation binding the contract event 0x0a7a3f746039aadb872ed7b3ecb51a760f339c9551a00691df7285ee21ab78d8.
Solidity: e LogCancelTrade(sender address, tradeHash bytes32)
func (*ExchangeFilterer) WatchLogDeposit ¶
func (_Exchange *ExchangeFilterer) WatchLogDeposit(opts *bind.WatchOpts, sink chan<- *ExchangeLogDeposit) (event.Subscription, error)
WatchLogDeposit is a free log subscription operation binding the contract event 0x4e3e4894f24a7c50bcb21d1ef785e34688bee05663c55d822eed7cefc2533123.
Solidity: e LogDeposit(token address, user address, amount uint256, balance uint256)
func (*ExchangeFilterer) WatchLogError ¶
func (_Exchange *ExchangeFilterer) WatchLogError(opts *bind.WatchOpts, sink chan<- *ExchangeLogError) (event.Subscription, error)
WatchLogError is a free log subscription operation binding the contract event 0x14301341d034ec3c62a1eabc804a79abf3b8c16e6245e82ec572346aa452fabb.
Solidity: e LogError(errorId uint8, orderHash bytes32, tradeHash bytes32)
func (*ExchangeFilterer) WatchLogSecurityWithdraw ¶
func (_Exchange *ExchangeFilterer) WatchLogSecurityWithdraw(opts *bind.WatchOpts, sink chan<- *ExchangeLogSecurityWithdraw) (event.Subscription, error)
WatchLogSecurityWithdraw is a free log subscription operation binding the contract event 0xc1bc7b7b4880798c196e5adcf8dbbe770e901ad0bd5515af4dbc08d66eb18bfd.
Solidity: e LogSecurityWithdraw(token address, user address, amount uint256, balance uint256)
func (*ExchangeFilterer) WatchLogTrade ¶
func (_Exchange *ExchangeFilterer) WatchLogTrade(opts *bind.WatchOpts, sink chan<- *ExchangeLogTrade) (event.Subscription, error)
WatchLogTrade is a free log subscription operation binding the contract event 0x59e3b277d85cf09b738ff8a9ffaf912a7f41671729a6a9dc9a639a3c9acb2450.
Solidity: e LogTrade(tokenBuy address, tokenSell address, maker address, taker address, amount uint256, orderHash bytes32, tradeHash bytes32)
func (*ExchangeFilterer) WatchLogTransfer ¶
func (_Exchange *ExchangeFilterer) WatchLogTransfer(opts *bind.WatchOpts, sink chan<- *ExchangeLogTransfer) (event.Subscription, error)
WatchLogTransfer is a free log subscription operation binding the contract event 0x5d517a7dfb872efa300109cebcb8235ae90602d926b499065254b47383395426.
Solidity: e LogTransfer(token address, recipient address)
func (*ExchangeFilterer) WatchLogWithdraw ¶
func (_Exchange *ExchangeFilterer) WatchLogWithdraw(opts *bind.WatchOpts, sink chan<- *ExchangeLogWithdraw) (event.Subscription, error)
WatchLogWithdraw is a free log subscription operation binding the contract event 0x74217ce088f00bfd283666b763c64f0d1b1c345591dfdd01891dddf52446694e.
Solidity: e LogWithdraw(token address, user address, amount uint256, balance uint256)
func (*ExchangeFilterer) WatchLogWithdrawalError ¶
func (_Exchange *ExchangeFilterer) WatchLogWithdrawalError(opts *bind.WatchOpts, sink chan<- *ExchangeLogWithdrawalError) (event.Subscription, error)
WatchLogWithdrawalError is a free log subscription operation binding the contract event 0xe81224ae22bf8383eddca98d93122b932f5f682a62dd9850a19d43ba3ec9c50f.
Solidity: e LogWithdrawalError(errorId uint8, withdrawalHash bytes32)
func (*ExchangeFilterer) WatchSetOwner ¶
func (_Exchange *ExchangeFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *ExchangeSetOwner, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchSetOwner is a free log subscription operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.
Solidity: e SetOwner(previousOwner indexed address, newOwner indexed address)
type ExchangeLogCancelOrder ¶
type ExchangeLogCancelOrder struct { Sender common.Address OrderHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeLogCancelOrder represents a LogCancelOrder event raised by the Exchange contract.
type ExchangeLogCancelOrderError ¶
type ExchangeLogCancelOrderError struct { ErrorId uint8 OrderHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeLogCancelOrderError represents a LogCancelOrderError event raised by the Exchange contract.
type ExchangeLogCancelOrderErrorIterator ¶
type ExchangeLogCancelOrderErrorIterator struct { Event *ExchangeLogCancelOrderError // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogCancelOrderErrorIterator is returned from FilterLogCancelOrderError and is used to iterate over the raw logs and unpacked data for LogCancelOrderError events raised by the Exchange contract.
func (*ExchangeLogCancelOrderErrorIterator) Close ¶
func (it *ExchangeLogCancelOrderErrorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogCancelOrderErrorIterator) Error ¶
func (it *ExchangeLogCancelOrderErrorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogCancelOrderErrorIterator) Next ¶
func (it *ExchangeLogCancelOrderErrorIterator) 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 ExchangeLogCancelOrderIterator ¶
type ExchangeLogCancelOrderIterator struct { Event *ExchangeLogCancelOrder // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogCancelOrderIterator is returned from FilterLogCancelOrder and is used to iterate over the raw logs and unpacked data for LogCancelOrder events raised by the Exchange contract.
func (*ExchangeLogCancelOrderIterator) Close ¶
func (it *ExchangeLogCancelOrderIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogCancelOrderIterator) Error ¶
func (it *ExchangeLogCancelOrderIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogCancelOrderIterator) Next ¶
func (it *ExchangeLogCancelOrderIterator) 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 ExchangeLogCancelTrade ¶
type ExchangeLogCancelTrade struct { Sender common.Address TradeHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeLogCancelTrade represents a LogCancelTrade event raised by the Exchange contract.
type ExchangeLogCancelTradeIterator ¶
type ExchangeLogCancelTradeIterator struct { Event *ExchangeLogCancelTrade // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogCancelTradeIterator is returned from FilterLogCancelTrade and is used to iterate over the raw logs and unpacked data for LogCancelTrade events raised by the Exchange contract.
func (*ExchangeLogCancelTradeIterator) Close ¶
func (it *ExchangeLogCancelTradeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogCancelTradeIterator) Error ¶
func (it *ExchangeLogCancelTradeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogCancelTradeIterator) Next ¶
func (it *ExchangeLogCancelTradeIterator) 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 ExchangeLogDeposit ¶
type ExchangeLogDeposit struct { Token common.Address User common.Address Amount *big.Int Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
ExchangeLogDeposit represents a LogDeposit event raised by the Exchange contract.
type ExchangeLogDepositIterator ¶
type ExchangeLogDepositIterator struct { Event *ExchangeLogDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogDepositIterator is returned from FilterLogDeposit and is used to iterate over the raw logs and unpacked data for LogDeposit events raised by the Exchange contract.
func (*ExchangeLogDepositIterator) Close ¶
func (it *ExchangeLogDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogDepositIterator) Error ¶
func (it *ExchangeLogDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogDepositIterator) Next ¶
func (it *ExchangeLogDepositIterator) 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 ExchangeLogError ¶
type ExchangeLogError struct { ErrorId uint8 OrderHash [32]byte TradeHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeLogError represents a LogError event raised by the Exchange contract.
type ExchangeLogErrorIterator ¶
type ExchangeLogErrorIterator struct { Event *ExchangeLogError // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogErrorIterator is returned from FilterLogError and is used to iterate over the raw logs and unpacked data for LogError events raised by the Exchange contract.
func (*ExchangeLogErrorIterator) Close ¶
func (it *ExchangeLogErrorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogErrorIterator) Error ¶
func (it *ExchangeLogErrorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogErrorIterator) Next ¶
func (it *ExchangeLogErrorIterator) 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 ExchangeLogSecurityWithdraw ¶
type ExchangeLogSecurityWithdraw struct { Token common.Address User common.Address Amount *big.Int Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
ExchangeLogSecurityWithdraw represents a LogSecurityWithdraw event raised by the Exchange contract.
type ExchangeLogSecurityWithdrawIterator ¶
type ExchangeLogSecurityWithdrawIterator struct { Event *ExchangeLogSecurityWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogSecurityWithdrawIterator is returned from FilterLogSecurityWithdraw and is used to iterate over the raw logs and unpacked data for LogSecurityWithdraw events raised by the Exchange contract.
func (*ExchangeLogSecurityWithdrawIterator) Close ¶
func (it *ExchangeLogSecurityWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogSecurityWithdrawIterator) Error ¶
func (it *ExchangeLogSecurityWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogSecurityWithdrawIterator) Next ¶
func (it *ExchangeLogSecurityWithdrawIterator) 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 ExchangeLogTrade ¶
type ExchangeLogTrade struct { TokenBuy common.Address TokenSell common.Address Maker common.Address Taker common.Address Amount *big.Int OrderHash [32]byte TradeHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeLogTrade represents a LogTrade event raised by the Exchange contract.
type ExchangeLogTradeIterator ¶
type ExchangeLogTradeIterator struct { Event *ExchangeLogTrade // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogTradeIterator is returned from FilterLogTrade and is used to iterate over the raw logs and unpacked data for LogTrade events raised by the Exchange contract.
func (*ExchangeLogTradeIterator) Close ¶
func (it *ExchangeLogTradeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogTradeIterator) Error ¶
func (it *ExchangeLogTradeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogTradeIterator) Next ¶
func (it *ExchangeLogTradeIterator) 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 ExchangeLogTransfer ¶
type ExchangeLogTransfer struct { Token common.Address Recipient common.Address Raw types.Log // Blockchain specific contextual infos }
ExchangeLogTransfer represents a LogTransfer event raised by the Exchange contract.
type ExchangeLogTransferIterator ¶
type ExchangeLogTransferIterator struct { Event *ExchangeLogTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogTransferIterator is returned from FilterLogTransfer and is used to iterate over the raw logs and unpacked data for LogTransfer events raised by the Exchange contract.
func (*ExchangeLogTransferIterator) Close ¶
func (it *ExchangeLogTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogTransferIterator) Error ¶
func (it *ExchangeLogTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogTransferIterator) Next ¶
func (it *ExchangeLogTransferIterator) 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 ExchangeLogWithdraw ¶
type ExchangeLogWithdraw struct { Token common.Address User common.Address Amount *big.Int Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
ExchangeLogWithdraw represents a LogWithdraw event raised by the Exchange contract.
type ExchangeLogWithdrawIterator ¶
type ExchangeLogWithdrawIterator struct { Event *ExchangeLogWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogWithdrawIterator is returned from FilterLogWithdraw and is used to iterate over the raw logs and unpacked data for LogWithdraw events raised by the Exchange contract.
func (*ExchangeLogWithdrawIterator) Close ¶
func (it *ExchangeLogWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogWithdrawIterator) Error ¶
func (it *ExchangeLogWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogWithdrawIterator) Next ¶
func (it *ExchangeLogWithdrawIterator) 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 ExchangeLogWithdrawalError ¶
type ExchangeLogWithdrawalError struct { ErrorId uint8 WithdrawalHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeLogWithdrawalError represents a LogWithdrawalError event raised by the Exchange contract.
type ExchangeLogWithdrawalErrorIterator ¶
type ExchangeLogWithdrawalErrorIterator struct { Event *ExchangeLogWithdrawalError // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeLogWithdrawalErrorIterator is returned from FilterLogWithdrawalError and is used to iterate over the raw logs and unpacked data for LogWithdrawalError events raised by the Exchange contract.
func (*ExchangeLogWithdrawalErrorIterator) Close ¶
func (it *ExchangeLogWithdrawalErrorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeLogWithdrawalErrorIterator) Error ¶
func (it *ExchangeLogWithdrawalErrorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeLogWithdrawalErrorIterator) Next ¶
func (it *ExchangeLogWithdrawalErrorIterator) 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 ExchangeRaw ¶
type ExchangeRaw struct {
Contract *Exchange // Generic contract binding to access the raw methods on
}
ExchangeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ExchangeRaw) Call ¶
func (_Exchange *ExchangeRaw) 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 (*ExchangeRaw) Transact ¶
func (_Exchange *ExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExchangeRaw) Transfer ¶
func (_Exchange *ExchangeRaw) 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 ExchangeSession ¶
type ExchangeSession struct { Contract *Exchange // 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 }
ExchangeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ExchangeSession) CancelOrder ¶
func (_Exchange *ExchangeSession) CancelOrder(orderValues [5]*big.Int, orderAddresses [4]common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x2e813def.
Solidity: function cancelOrder(orderValues uint256[5], orderAddresses address[4], v uint8, r bytes32, s bytes32) returns(bool)
func (*ExchangeSession) CancelTrade ¶
func (_Exchange *ExchangeSession) CancelTrade(orderHash [32]byte, amount *big.Int, tradeNonce *big.Int, taker common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CancelTrade is a paid mutator transaction binding the contract method 0x468ddf2e.
Solidity: function cancelTrade(orderHash bytes32, amount uint256, tradeNonce uint256, taker address, v uint8, r bytes32, s bytes32) returns(bool)
func (*ExchangeSession) DepositEther ¶
func (_Exchange *ExchangeSession) DepositEther() (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0x98ea5fca.
Solidity: function depositEther() returns(bool)
func (*ExchangeSession) DepositToken ¶
func (_Exchange *ExchangeSession) DepositToken(token common.Address, amount *big.Int) (*types.Transaction, error)
DepositToken is a paid mutator transaction binding the contract method 0x338b5dea.
Solidity: function depositToken(token address, amount uint256) returns(bool)
func (*ExchangeSession) EtherBalance ¶
EtherBalance is a free data retrieval call binding the contract method 0xcd0c5896.
Solidity: function etherBalance(trader address) constant returns(uint256)
func (*ExchangeSession) ExecuteTrade ¶
func (_Exchange *ExchangeSession) ExecuteTrade(orderValues [8]*big.Int, orderAddresses [4]common.Address, v [2]uint8, rs [4][32]byte) (*types.Transaction, error)
ExecuteTrade is a paid mutator transaction binding the contract method 0x2207148d.
Solidity: function executeTrade(orderValues uint256[8], orderAddresses address[4], v uint8[2], rs bytes32[4]) returns(bool)
func (*ExchangeSession) FeeAccount ¶
func (_Exchange *ExchangeSession) FeeAccount() (common.Address, error)
FeeAccount is a free data retrieval call binding the contract method 0x65e17c9d.
Solidity: function feeAccount() constant returns(address)
func (*ExchangeSession) IsValidSignature ¶
func (_Exchange *ExchangeSession) IsValidSignature(signer common.Address, hashedData [32]byte, v uint8, r [32]byte, s [32]byte) (bool, error)
IsValidSignature is a free data retrieval call binding the contract method 0x8163681e.
Solidity: function isValidSignature(signer address, hashedData bytes32, v uint8, r bytes32, s bytes32) constant returns(bool)
func (*ExchangeSession) LastTransaction ¶
LastTransaction is a free data retrieval call binding the contract method 0x0531be92.
Solidity: function lastTransaction( address) constant returns(uint256)
func (*ExchangeSession) Operators ¶
func (_Exchange *ExchangeSession) Operators(arg0 common.Address) (bool, error)
Operators is a free data retrieval call binding the contract method 0x13e7c9d8.
Solidity: function operators( address) constant returns(bool)
func (*ExchangeSession) OrderFills ¶
func (_Exchange *ExchangeSession) OrderFills(arg0 [32]byte) (*big.Int, error)
OrderFills is a free data retrieval call binding the contract method 0xf7213db6.
Solidity: function orderFills( bytes32) constant returns(uint256)
func (*ExchangeSession) Owner ¶
func (_Exchange *ExchangeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ExchangeSession) ProtectedFunds ¶
ProtectedFunds is a free data retrieval call binding the contract method 0xfe2e2b94.
Solidity: function protectedFunds( address) constant returns(uint256)
func (*ExchangeSession) SecurityWithdraw ¶
func (_Exchange *ExchangeSession) SecurityWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)
SecurityWithdraw is a paid mutator transaction binding the contract method 0x9bc2c131.
Solidity: function securityWithdraw(token address, amount uint256) returns(bool)
func (*ExchangeSession) SetFeeAccount ¶
func (_Exchange *ExchangeSession) SetFeeAccount(_feeAccount common.Address) (*types.Transaction, error)
SetFeeAccount is a paid mutator transaction binding the contract method 0x4b023cf8.
Solidity: function setFeeAccount(_feeAccount address) returns(bool)
func (*ExchangeSession) SetOperator ¶
func (_Exchange *ExchangeSession) SetOperator(operator common.Address, isOperator bool) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0x558a7297.
Solidity: function setOperator(operator address, isOperator bool) returns(bool)
func (*ExchangeSession) SetOwner ¶
func (_Exchange *ExchangeSession) SetOwner(newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
func (*ExchangeSession) SetWithdrawalSecurityPeriod ¶
func (_Exchange *ExchangeSession) SetWithdrawalSecurityPeriod(_withdrawalSecurityPeriod *big.Int) (*types.Transaction, error)
SetWithdrawalSecurityPeriod is a paid mutator transaction binding the contract method 0xcf46d3d7.
Solidity: function setWithdrawalSecurityPeriod(_withdrawalSecurityPeriod uint256) returns(bool)
func (*ExchangeSession) TokenBalance ¶
func (_Exchange *ExchangeSession) TokenBalance(trader common.Address, token common.Address) (*big.Int, error)
TokenBalance is a free data retrieval call binding the contract method 0x1049334f.
Solidity: function tokenBalance(trader address, token address) constant returns(uint256)
func (*ExchangeSession) Tokens ¶
func (_Exchange *ExchangeSession) Tokens(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Tokens is a free data retrieval call binding the contract method 0x508493bc.
Solidity: function tokens( address, address) constant returns(uint256)
func (*ExchangeSession) Traded ¶
func (_Exchange *ExchangeSession) Traded(arg0 [32]byte) (bool, error)
Traded is a free data retrieval call binding the contract method 0xd5813323.
Solidity: function traded( bytes32) constant returns(bool)
func (*ExchangeSession) Transferred ¶
func (_Exchange *ExchangeSession) Transferred(arg0 [32]byte) (bool, error)
Transferred is a free data retrieval call binding the contract method 0xafc441e3.
Solidity: function transferred( bytes32) constant returns(bool)
func (*ExchangeSession) Withdraw ¶
func (_Exchange *ExchangeSession) Withdraw(token common.Address, amount *big.Int, trader common.Address, receiver common.Address, nonce *big.Int, v uint8, rs [2][32]byte, feeWithdrawal *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x74af3ab3.
Solidity: function withdraw(token address, amount uint256, trader address, receiver address, nonce uint256, v uint8, rs bytes32[2], feeWithdrawal uint256) returns(bool)
func (*ExchangeSession) WithdrawalSecurityPeriod ¶
func (_Exchange *ExchangeSession) WithdrawalSecurityPeriod() (*big.Int, error)
WithdrawalSecurityPeriod is a free data retrieval call binding the contract method 0xf3198b16.
Solidity: function withdrawalSecurityPeriod() constant returns(uint256)
type ExchangeSetOwner ¶
type ExchangeSetOwner struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ExchangeSetOwner represents a SetOwner event raised by the Exchange contract.
type ExchangeSetOwnerIterator ¶
type ExchangeSetOwnerIterator struct { Event *ExchangeSetOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeSetOwnerIterator is returned from FilterSetOwner and is used to iterate over the raw logs and unpacked data for SetOwner events raised by the Exchange contract.
func (*ExchangeSetOwnerIterator) Close ¶
func (it *ExchangeSetOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeSetOwnerIterator) Error ¶
func (it *ExchangeSetOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeSetOwnerIterator) Next ¶
func (it *ExchangeSetOwnerIterator) 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 ExchangeTransactor ¶
type ExchangeTransactor struct {
// contains filtered or unexported fields
}
ExchangeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewExchangeTransactor ¶
func NewExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*ExchangeTransactor, error)
NewExchangeTransactor creates a new write-only instance of Exchange, bound to a specific deployed contract.
func (*ExchangeTransactor) CancelOrder ¶
func (_Exchange *ExchangeTransactor) CancelOrder(opts *bind.TransactOpts, orderValues [5]*big.Int, orderAddresses [4]common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x2e813def.
Solidity: function cancelOrder(orderValues uint256[5], orderAddresses address[4], v uint8, r bytes32, s bytes32) returns(bool)
func (*ExchangeTransactor) CancelTrade ¶
func (_Exchange *ExchangeTransactor) CancelTrade(opts *bind.TransactOpts, orderHash [32]byte, amount *big.Int, tradeNonce *big.Int, taker common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CancelTrade is a paid mutator transaction binding the contract method 0x468ddf2e.
Solidity: function cancelTrade(orderHash bytes32, amount uint256, tradeNonce uint256, taker address, v uint8, r bytes32, s bytes32) returns(bool)
func (*ExchangeTransactor) DepositEther ¶
func (_Exchange *ExchangeTransactor) DepositEther(opts *bind.TransactOpts) (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0x98ea5fca.
Solidity: function depositEther() returns(bool)
func (*ExchangeTransactor) DepositToken ¶
func (_Exchange *ExchangeTransactor) DepositToken(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
DepositToken is a paid mutator transaction binding the contract method 0x338b5dea.
Solidity: function depositToken(token address, amount uint256) returns(bool)
func (*ExchangeTransactor) ExecuteTrade ¶
func (_Exchange *ExchangeTransactor) ExecuteTrade(opts *bind.TransactOpts, orderValues [8]*big.Int, orderAddresses [4]common.Address, v [2]uint8, rs [4][32]byte) (*types.Transaction, error)
ExecuteTrade is a paid mutator transaction binding the contract method 0x2207148d.
Solidity: function executeTrade(orderValues uint256[8], orderAddresses address[4], v uint8[2], rs bytes32[4]) returns(bool)
func (*ExchangeTransactor) SecurityWithdraw ¶
func (_Exchange *ExchangeTransactor) SecurityWithdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
SecurityWithdraw is a paid mutator transaction binding the contract method 0x9bc2c131.
Solidity: function securityWithdraw(token address, amount uint256) returns(bool)
func (*ExchangeTransactor) SetFeeAccount ¶
func (_Exchange *ExchangeTransactor) SetFeeAccount(opts *bind.TransactOpts, _feeAccount common.Address) (*types.Transaction, error)
SetFeeAccount is a paid mutator transaction binding the contract method 0x4b023cf8.
Solidity: function setFeeAccount(_feeAccount address) returns(bool)
func (*ExchangeTransactor) SetOperator ¶
func (_Exchange *ExchangeTransactor) SetOperator(opts *bind.TransactOpts, operator common.Address, isOperator bool) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0x558a7297.
Solidity: function setOperator(operator address, isOperator bool) returns(bool)
func (*ExchangeTransactor) SetOwner ¶
func (_Exchange *ExchangeTransactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
func (*ExchangeTransactor) SetWithdrawalSecurityPeriod ¶
func (_Exchange *ExchangeTransactor) SetWithdrawalSecurityPeriod(opts *bind.TransactOpts, _withdrawalSecurityPeriod *big.Int) (*types.Transaction, error)
SetWithdrawalSecurityPeriod is a paid mutator transaction binding the contract method 0xcf46d3d7.
Solidity: function setWithdrawalSecurityPeriod(_withdrawalSecurityPeriod uint256) returns(bool)
func (*ExchangeTransactor) Withdraw ¶
func (_Exchange *ExchangeTransactor) Withdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int, trader common.Address, receiver common.Address, nonce *big.Int, v uint8, rs [2][32]byte, feeWithdrawal *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x74af3ab3.
Solidity: function withdraw(token address, amount uint256, trader address, receiver address, nonce uint256, v uint8, rs bytes32[2], feeWithdrawal uint256) returns(bool)
type ExchangeTransactorRaw ¶
type ExchangeTransactorRaw struct {
Contract *ExchangeTransactor // Generic write-only contract binding to access the raw methods on
}
ExchangeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ExchangeTransactorRaw) Transact ¶
func (_Exchange *ExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExchangeTransactorRaw) Transfer ¶
func (_Exchange *ExchangeTransactorRaw) 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 ExchangeTransactorSession ¶
type ExchangeTransactorSession struct { Contract *ExchangeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ExchangeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ExchangeTransactorSession) CancelOrder ¶
func (_Exchange *ExchangeTransactorSession) CancelOrder(orderValues [5]*big.Int, orderAddresses [4]common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x2e813def.
Solidity: function cancelOrder(orderValues uint256[5], orderAddresses address[4], v uint8, r bytes32, s bytes32) returns(bool)
func (*ExchangeTransactorSession) CancelTrade ¶
func (_Exchange *ExchangeTransactorSession) CancelTrade(orderHash [32]byte, amount *big.Int, tradeNonce *big.Int, taker common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CancelTrade is a paid mutator transaction binding the contract method 0x468ddf2e.
Solidity: function cancelTrade(orderHash bytes32, amount uint256, tradeNonce uint256, taker address, v uint8, r bytes32, s bytes32) returns(bool)
func (*ExchangeTransactorSession) DepositEther ¶
func (_Exchange *ExchangeTransactorSession) DepositEther() (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0x98ea5fca.
Solidity: function depositEther() returns(bool)
func (*ExchangeTransactorSession) DepositToken ¶
func (_Exchange *ExchangeTransactorSession) DepositToken(token common.Address, amount *big.Int) (*types.Transaction, error)
DepositToken is a paid mutator transaction binding the contract method 0x338b5dea.
Solidity: function depositToken(token address, amount uint256) returns(bool)
func (*ExchangeTransactorSession) ExecuteTrade ¶
func (_Exchange *ExchangeTransactorSession) ExecuteTrade(orderValues [8]*big.Int, orderAddresses [4]common.Address, v [2]uint8, rs [4][32]byte) (*types.Transaction, error)
ExecuteTrade is a paid mutator transaction binding the contract method 0x2207148d.
Solidity: function executeTrade(orderValues uint256[8], orderAddresses address[4], v uint8[2], rs bytes32[4]) returns(bool)
func (*ExchangeTransactorSession) SecurityWithdraw ¶
func (_Exchange *ExchangeTransactorSession) SecurityWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)
SecurityWithdraw is a paid mutator transaction binding the contract method 0x9bc2c131.
Solidity: function securityWithdraw(token address, amount uint256) returns(bool)
func (*ExchangeTransactorSession) SetFeeAccount ¶
func (_Exchange *ExchangeTransactorSession) SetFeeAccount(_feeAccount common.Address) (*types.Transaction, error)
SetFeeAccount is a paid mutator transaction binding the contract method 0x4b023cf8.
Solidity: function setFeeAccount(_feeAccount address) returns(bool)
func (*ExchangeTransactorSession) SetOperator ¶
func (_Exchange *ExchangeTransactorSession) SetOperator(operator common.Address, isOperator bool) (*types.Transaction, error)
SetOperator is a paid mutator transaction binding the contract method 0x558a7297.
Solidity: function setOperator(operator address, isOperator bool) returns(bool)
func (*ExchangeTransactorSession) SetOwner ¶
func (_Exchange *ExchangeTransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
func (*ExchangeTransactorSession) SetWithdrawalSecurityPeriod ¶
func (_Exchange *ExchangeTransactorSession) SetWithdrawalSecurityPeriod(_withdrawalSecurityPeriod *big.Int) (*types.Transaction, error)
SetWithdrawalSecurityPeriod is a paid mutator transaction binding the contract method 0xcf46d3d7.
Solidity: function setWithdrawalSecurityPeriod(_withdrawalSecurityPeriod uint256) returns(bool)
func (*ExchangeTransactorSession) Withdraw ¶
func (_Exchange *ExchangeTransactorSession) Withdraw(token common.Address, amount *big.Int, trader common.Address, receiver common.Address, nonce *big.Int, v uint8, rs [2][32]byte, feeWithdrawal *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x74af3ab3.
Solidity: function withdraw(token address, amount uint256, trader address, receiver address, nonce uint256, v uint8, rs bytes32[2], feeWithdrawal uint256) returns(bool)
type Owned ¶
type Owned struct { OwnedCaller // Read-only binding to the contract OwnedTransactor // Write-only binding to the contract OwnedFilterer // Log filterer for contract events }
Owned is an auto generated Go binding around an Ethereum contract.
func DeployOwned ¶
func DeployOwned(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Owned, error)
DeployOwned deploys a new Ethereum contract, binding an instance of Owned to it.
type OwnedCaller ¶
type OwnedCaller struct {
// contains filtered or unexported fields
}
OwnedCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnedCaller ¶
func NewOwnedCaller(address common.Address, caller bind.ContractCaller) (*OwnedCaller, error)
NewOwnedCaller creates a new read-only instance of Owned, bound to a specific deployed contract.
type OwnedCallerRaw ¶
type OwnedCallerRaw struct {
Contract *OwnedCaller // Generic read-only contract binding to access the raw methods on
}
OwnedCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnedCallerRaw) Call ¶
func (_Owned *OwnedCallerRaw) 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 OwnedCallerSession ¶
type OwnedCallerSession struct { Contract *OwnedCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnedCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnedFilterer ¶
type OwnedFilterer struct {
// contains filtered or unexported fields
}
OwnedFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnedFilterer ¶
func NewOwnedFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnedFilterer, error)
NewOwnedFilterer creates a new log filterer instance of Owned, bound to a specific deployed contract.
func (*OwnedFilterer) FilterSetOwner ¶
func (_Owned *OwnedFilterer) FilterSetOwner(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnedSetOwnerIterator, error)
FilterSetOwner is a free log retrieval operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.
Solidity: e SetOwner(previousOwner indexed address, newOwner indexed address)
func (*OwnedFilterer) WatchSetOwner ¶
func (_Owned *OwnedFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *OwnedSetOwner, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchSetOwner is a free log subscription operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.
Solidity: e SetOwner(previousOwner indexed address, newOwner indexed address)
type OwnedRaw ¶
type OwnedRaw struct {
Contract *Owned // Generic contract binding to access the raw methods on
}
OwnedRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnedRaw) Call ¶
func (_Owned *OwnedRaw) 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 (*OwnedRaw) Transact ¶
func (_Owned *OwnedRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnedRaw) Transfer ¶
func (_Owned *OwnedRaw) 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 OwnedSession ¶
type OwnedSession struct { Contract *Owned // 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 }
OwnedSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnedSession) Owner ¶
func (_Owned *OwnedSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*OwnedSession) SetOwner ¶
func (_Owned *OwnedSession) SetOwner(newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
type OwnedSetOwner ¶
type OwnedSetOwner struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnedSetOwner represents a SetOwner event raised by the Owned contract.
type OwnedSetOwnerIterator ¶
type OwnedSetOwnerIterator struct { Event *OwnedSetOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnedSetOwnerIterator is returned from FilterSetOwner and is used to iterate over the raw logs and unpacked data for SetOwner events raised by the Owned contract.
func (*OwnedSetOwnerIterator) Close ¶
func (it *OwnedSetOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnedSetOwnerIterator) Error ¶
func (it *OwnedSetOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnedSetOwnerIterator) Next ¶
func (it *OwnedSetOwnerIterator) 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 OwnedTransactor ¶
type OwnedTransactor struct {
// contains filtered or unexported fields
}
OwnedTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnedTransactor ¶
func NewOwnedTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnedTransactor, error)
NewOwnedTransactor creates a new write-only instance of Owned, bound to a specific deployed contract.
func (*OwnedTransactor) SetOwner ¶
func (_Owned *OwnedTransactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
type OwnedTransactorRaw ¶
type OwnedTransactorRaw struct {
Contract *OwnedTransactor // Generic write-only contract binding to access the raw methods on
}
OwnedTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnedTransactorRaw) Transact ¶
func (_Owned *OwnedTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnedTransactorRaw) Transfer ¶
func (_Owned *OwnedTransactorRaw) 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 OwnedTransactorSession ¶
type OwnedTransactorSession struct { Contract *OwnedTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnedTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnedTransactorSession) SetOwner ¶
func (_Owned *OwnedTransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Token ¶
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
func DeployToken ¶
func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend, _to common.Address, _amount *big.Int) (common.Address, *types.Transaction, *Token, error)
DeployToken deploys a new Ethereum contract, binding an instance of Token to it.
type TokenApproval ¶
type TokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenApproval represents a Approval event raised by the Token contract.
type TokenApprovalIterator ¶
type TokenApprovalIterator struct { Event *TokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Token contract.
func (*TokenApprovalIterator) Close ¶
func (it *TokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenApprovalIterator) Error ¶
func (it *TokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenApprovalIterator) Next ¶
func (it *TokenApprovalIterator) 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 TokenCaller ¶
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) Allowance ¶
func (_Token *TokenCaller) 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 (*TokenCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*TokenCaller) MintingFinished ¶
func (_Token *TokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*TokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*TokenCaller) Symbol ¶
func (_Token *TokenCaller) 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 (*TokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type TokenCallerRaw ¶
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) Allowance ¶
func (_Token *TokenCallerSession) 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 (*TokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*TokenCallerSession) MintingFinished ¶
func (_Token *TokenCallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*TokenCallerSession) Owner ¶
func (_Token *TokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*TokenCallerSession) Symbol ¶
func (_Token *TokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*TokenCallerSession) TotalSupply ¶
func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type TokenFilterer ¶
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
func (*TokenFilterer) FilterApproval ¶
func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, 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 (*TokenFilterer) FilterMint ¶
func (_Token *TokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*TokenMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: e Mint(to indexed address, amount uint256)
func (*TokenFilterer) FilterMintFinished ¶
func (_Token *TokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*TokenMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: e MintFinished()
func (*TokenFilterer) FilterSetOwner ¶
func (_Token *TokenFilterer) FilterSetOwner(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenSetOwnerIterator, error)
FilterSetOwner is a free log retrieval operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.
Solidity: e SetOwner(previousOwner indexed address, newOwner indexed address)
func (*TokenFilterer) FilterTransfer ¶
func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, 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 (*TokenFilterer) WatchApproval ¶
func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, 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 (*TokenFilterer) WatchMint ¶
func (_Token *TokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *TokenMint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: e Mint(to indexed address, amount uint256)
func (*TokenFilterer) WatchMintFinished ¶
func (_Token *TokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *TokenMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: e MintFinished()
func (*TokenFilterer) WatchSetOwner ¶
func (_Token *TokenFilterer) WatchSetOwner(opts *bind.WatchOpts, sink chan<- *TokenSetOwner, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchSetOwner is a free log subscription operation binding the contract event 0xcbf985117192c8f614a58aaf97226bb80a754772f5f6edf06f87c675f2e6c663.
Solidity: e SetOwner(previousOwner indexed address, newOwner indexed address)
func (*TokenFilterer) WatchTransfer ¶
func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, 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 TokenMint ¶
type TokenMint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenMint represents a Mint event raised by the Token contract.
type TokenMintFinished ¶
TokenMintFinished represents a MintFinished event raised by the Token contract.
type TokenMintFinishedIterator ¶
type TokenMintFinishedIterator struct { Event *TokenMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the Token contract.
func (*TokenMintFinishedIterator) Close ¶
func (it *TokenMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenMintFinishedIterator) Error ¶
func (it *TokenMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenMintFinishedIterator) Next ¶
func (it *TokenMintFinishedIterator) 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 TokenMintIterator ¶
type TokenMintIterator struct { Event *TokenMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Token contract.
func (*TokenMintIterator) Close ¶
func (it *TokenMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenMintIterator) Error ¶
func (it *TokenMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenMintIterator) Next ¶
func (it *TokenMintIterator) 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 TokenRaw ¶
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶
func (_Token *TokenRaw) 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 TokenSession ¶
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) Allowance ¶
func (_Token *TokenSession) 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 (*TokenSession) Approve ¶
func (_Token *TokenSession) 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 (*TokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*TokenSession) DecreaseApproval ¶
func (_Token *TokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*TokenSession) FinishMinting ¶
func (_Token *TokenSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*TokenSession) IncreaseApproval ¶
func (_Token *TokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*TokenSession) Mint ¶
func (_Token *TokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(_to address, _amount uint256) returns(bool)
func (*TokenSession) MintingFinished ¶
func (_Token *TokenSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*TokenSession) Owner ¶
func (_Token *TokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*TokenSession) SetOwner ¶
func (_Token *TokenSession) SetOwner(newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
func (*TokenSession) Symbol ¶
func (_Token *TokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*TokenSession) TotalSupply ¶
func (_Token *TokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*TokenSession) Transfer ¶
func (_Token *TokenSession) 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 (*TokenSession) TransferFrom ¶
func (_Token *TokenSession) 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 TokenSetOwner ¶
type TokenSetOwner struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenSetOwner represents a SetOwner event raised by the Token contract.
type TokenSetOwnerIterator ¶
type TokenSetOwnerIterator struct { Event *TokenSetOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenSetOwnerIterator is returned from FilterSetOwner and is used to iterate over the raw logs and unpacked data for SetOwner events raised by the Token contract.
func (*TokenSetOwnerIterator) Close ¶
func (it *TokenSetOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenSetOwnerIterator) Error ¶
func (it *TokenSetOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenSetOwnerIterator) Next ¶
func (it *TokenSetOwnerIterator) 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 TokenTransactor ¶
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
func (*TokenTransactor) Approve ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) DecreaseApproval ¶
func (_Token *TokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*TokenTransactor) FinishMinting ¶
func (_Token *TokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*TokenTransactor) IncreaseApproval ¶
func (_Token *TokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*TokenTransactor) Mint ¶
func (_Token *TokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(_to address, _amount uint256) returns(bool)
func (*TokenTransactor) SetOwner ¶
func (_Token *TokenTransactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
func (*TokenTransactor) Transfer ¶
func (_Token *TokenTransactor) 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 (*TokenTransactor) TransferFrom ¶
func (_Token *TokenTransactor) 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 TokenTransactorRaw ¶
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenTransactorSession) Approve ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) DecreaseApproval ¶
func (_Token *TokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*TokenTransactorSession) FinishMinting ¶
func (_Token *TokenTransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*TokenTransactorSession) IncreaseApproval ¶
func (_Token *TokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*TokenTransactorSession) Mint ¶
func (_Token *TokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(_to address, _amount uint256) returns(bool)
func (*TokenTransactorSession) SetOwner ¶
func (_Token *TokenTransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(newOwner address) returns()
func (*TokenTransactorSession) Transfer ¶
func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) TransferFrom ¶
func (_Token *TokenTransactorSession) 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 TokenTransfer ¶
type TokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenTransfer represents a Transfer event raised by the Token contract.
type TokenTransferIterator ¶
type TokenTransferIterator struct { Event *TokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Token contract.
func (*TokenTransferIterator) Close ¶
func (it *TokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenTransferIterator) Error ¶
func (it *TokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenTransferIterator) Next ¶
func (it *TokenTransferIterator) 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.