Documentation ¶
Index ¶
- Constants
- Variables
- type Contract
- type ContractBidList
- type ContractBidListIterator
- type ContractCaller
- type ContractCallerRaw
- type ContractCallerSession
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterBidList(opts *bind.FilterOpts) (*ContractBidListIterator, error)
- func (_Contract *ContractFilterer) ParseBidList(log types.Log) (*ContractBidList, error)
- func (_Contract *ContractFilterer) WatchBidList(opts *bind.WatchOpts, sink chan<- *ContractBidList) (event.Subscription, error)
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) ActiveValidatorSelect() (*types.Transaction, error)
- func (_Contract *ContractSession) BidTAT(amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) BidUnit() (*types.Transaction, error)
- func (_Contract *ContractSession) GetBidList() (*types.Transaction, error)
- func (_Contract *ContractSession) Receive() (*types.Transaction, error)
- func (_Contract *ContractSession) SetAuditor(newAuditor common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SetTAT(newAddress common.Address) (*types.Transaction, error)
- type ContractTransactor
- func (_Contract *ContractTransactor) ActiveValidatorSelect(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) BidTAT(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) BidUnit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) GetBidList(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetAuditor(opts *bind.TransactOpts, newAuditor common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SetTAT(opts *bind.TransactOpts, newAddress common.Address) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) ActiveValidatorSelect() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) BidTAT(amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) BidUnit() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) GetBidList() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) Receive() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetAuditor(newAuditor common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SetTAT(newAddress common.Address) (*types.Transaction, error)
Constants ¶
const ContractABI = "" /* 2756-byte string literal not displayed */
ContractABI is the input ABI used to generate the binding from.
Variables ¶
var ContractBin = "" /* 24400-byte string literal not displayed */
ContractBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func DeployContract ¶
func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)
DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractBidList ¶
type ContractBidList struct { Account common.Address Amount *big.Int Variety *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractBidList represents a BidList event raised by the Contract contract.
type ContractBidListIterator ¶
type ContractBidListIterator struct { Event *ContractBidList // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractBidListIterator is returned from FilterBidList and is used to iterate over the raw logs and unpacked data for BidList events raised by the Contract contract.
func (*ContractBidListIterator) Close ¶
func (it *ContractBidListIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractBidListIterator) Error ¶
func (it *ContractBidListIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractBidListIterator) Next ¶
func (it *ContractBidListIterator) 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 ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) 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 ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterBidList ¶
func (_Contract *ContractFilterer) FilterBidList(opts *bind.FilterOpts) (*ContractBidListIterator, error)
FilterBidList is a free log retrieval operation binding the contract event 0xe3d5c3de49166e7eabe956e1a8e167684ddbcde3a1afd4dde937d8223b7b8d6b.
Solidity: event bidList(address account, uint256 amount, uint256 variety)
func (*ContractFilterer) ParseBidList ¶
func (_Contract *ContractFilterer) ParseBidList(log types.Log) (*ContractBidList, error)
ParseBidList is a log parse operation binding the contract event 0xe3d5c3de49166e7eabe956e1a8e167684ddbcde3a1afd4dde937d8223b7b8d6b.
Solidity: event bidList(address account, uint256 amount, uint256 variety)
func (*ContractFilterer) WatchBidList ¶
func (_Contract *ContractFilterer) WatchBidList(opts *bind.WatchOpts, sink chan<- *ContractBidList) (event.Subscription, error)
WatchBidList is a free log subscription operation binding the contract event 0xe3d5c3de49166e7eabe956e1a8e167684ddbcde3a1afd4dde937d8223b7b8d6b.
Solidity: event bidList(address account, uint256 amount, uint256 variety)
type ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) 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 (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) 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 ContractSession ¶
type ContractSession struct { Contract *Contract // 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 }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) ActiveValidatorSelect ¶
func (_Contract *ContractSession) ActiveValidatorSelect() (*types.Transaction, error)
ActiveValidatorSelect is a paid mutator transaction binding the contract method 0x716094e5.
Solidity: function activeValidatorSelect() payable returns((address,uint256,uint256,uint8)[])
func (*ContractSession) BidTAT ¶
func (_Contract *ContractSession) BidTAT(amount *big.Int) (*types.Transaction, error)
BidTAT is a paid mutator transaction binding the contract method 0x2b231df3.
Solidity: function bidTAT(uint256 amount) returns(bool)
func (*ContractSession) BidUnit ¶
func (_Contract *ContractSession) BidUnit() (*types.Transaction, error)
BidUnit is a paid mutator transaction binding the contract method 0xfed64887.
Solidity: function bidUnit() payable returns(bool)
func (*ContractSession) GetBidList ¶
func (_Contract *ContractSession) GetBidList() (*types.Transaction, error)
GetBidList is a paid mutator transaction binding the contract method 0xd9df2a2d.
Solidity: function getBidList() returns((address,uint256,uint8)[] TATList, (address,uint256,uint8)[] unitList, uint256 a, uint256 b)
func (*ContractSession) Receive ¶
func (_Contract *ContractSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ContractSession) SetAuditor ¶
func (_Contract *ContractSession) SetAuditor(newAuditor common.Address) (*types.Transaction, error)
SetAuditor is a paid mutator transaction binding the contract method 0x9f203255.
Solidity: function setAuditor(address newAuditor) returns(bool)
func (*ContractSession) SetTAT ¶
func (_Contract *ContractSession) SetTAT(newAddress common.Address) (*types.Transaction, error)
SetTAT is a paid mutator transaction binding the contract method 0xfb100eca.
Solidity: function setTAT(address newAddress) returns(bool)
type ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) ActiveValidatorSelect ¶
func (_Contract *ContractTransactor) ActiveValidatorSelect(opts *bind.TransactOpts) (*types.Transaction, error)
ActiveValidatorSelect is a paid mutator transaction binding the contract method 0x716094e5.
Solidity: function activeValidatorSelect() payable returns((address,uint256,uint256,uint8)[])
func (*ContractTransactor) BidTAT ¶
func (_Contract *ContractTransactor) BidTAT(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
BidTAT is a paid mutator transaction binding the contract method 0x2b231df3.
Solidity: function bidTAT(uint256 amount) returns(bool)
func (*ContractTransactor) BidUnit ¶
func (_Contract *ContractTransactor) BidUnit(opts *bind.TransactOpts) (*types.Transaction, error)
BidUnit is a paid mutator transaction binding the contract method 0xfed64887.
Solidity: function bidUnit() payable returns(bool)
func (*ContractTransactor) GetBidList ¶
func (_Contract *ContractTransactor) GetBidList(opts *bind.TransactOpts) (*types.Transaction, error)
GetBidList is a paid mutator transaction binding the contract method 0xd9df2a2d.
Solidity: function getBidList() returns((address,uint256,uint8)[] TATList, (address,uint256,uint8)[] unitList, uint256 a, uint256 b)
func (*ContractTransactor) Receive ¶
func (_Contract *ContractTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ContractTransactor) SetAuditor ¶
func (_Contract *ContractTransactor) SetAuditor(opts *bind.TransactOpts, newAuditor common.Address) (*types.Transaction, error)
SetAuditor is a paid mutator transaction binding the contract method 0x9f203255.
Solidity: function setAuditor(address newAuditor) returns(bool)
func (*ContractTransactor) SetTAT ¶
func (_Contract *ContractTransactor) SetTAT(opts *bind.TransactOpts, newAddress common.Address) (*types.Transaction, error)
SetTAT is a paid mutator transaction binding the contract method 0xfb100eca.
Solidity: function setTAT(address newAddress) returns(bool)
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) ActiveValidatorSelect ¶
func (_Contract *ContractTransactorSession) ActiveValidatorSelect() (*types.Transaction, error)
ActiveValidatorSelect is a paid mutator transaction binding the contract method 0x716094e5.
Solidity: function activeValidatorSelect() payable returns((address,uint256,uint256,uint8)[])
func (*ContractTransactorSession) BidTAT ¶
func (_Contract *ContractTransactorSession) BidTAT(amount *big.Int) (*types.Transaction, error)
BidTAT is a paid mutator transaction binding the contract method 0x2b231df3.
Solidity: function bidTAT(uint256 amount) returns(bool)
func (*ContractTransactorSession) BidUnit ¶
func (_Contract *ContractTransactorSession) BidUnit() (*types.Transaction, error)
BidUnit is a paid mutator transaction binding the contract method 0xfed64887.
Solidity: function bidUnit() payable returns(bool)
func (*ContractTransactorSession) GetBidList ¶
func (_Contract *ContractTransactorSession) GetBidList() (*types.Transaction, error)
GetBidList is a paid mutator transaction binding the contract method 0xd9df2a2d.
Solidity: function getBidList() returns((address,uint256,uint8)[] TATList, (address,uint256,uint8)[] unitList, uint256 a, uint256 b)
func (*ContractTransactorSession) Receive ¶
func (_Contract *ContractTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ContractTransactorSession) SetAuditor ¶
func (_Contract *ContractTransactorSession) SetAuditor(newAuditor common.Address) (*types.Transaction, error)
SetAuditor is a paid mutator transaction binding the contract method 0x9f203255.
Solidity: function setAuditor(address newAuditor) returns(bool)
func (*ContractTransactorSession) SetTAT ¶
func (_Contract *ContractTransactorSession) SetTAT(newAddress common.Address) (*types.Transaction, error)
SetTAT is a paid mutator transaction binding the contract method 0xfb100eca.
Solidity: function setTAT(address newAddress) returns(bool)