Documentation ¶
Index ¶
- Constants
- Variables
- type CoolContract
- type CoolContractCaller
- type CoolContractCallerRaw
- type CoolContractCallerSession
- type CoolContractDeposited
- type CoolContractDepositedIterator
- type CoolContractFilterer
- func (_CoolContract *CoolContractFilterer) FilterDeposited(opts *bind.FilterOpts) (*CoolContractDepositedIterator, error)
- func (_CoolContract *CoolContractFilterer) ParseDeposited(log types.Log) (*CoolContractDeposited, error)
- func (_CoolContract *CoolContractFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *CoolContractDeposited) (event.Subscription, error)
- type CoolContractRaw
- func (_CoolContract *CoolContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_CoolContract *CoolContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CoolContract *CoolContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CoolContractSession
- type CoolContractTransactor
- type CoolContractTransactorRaw
- type CoolContractTransactorSession
Constants ¶
const CoolContractABI = "" /* 443-byte string literal not displayed */
CoolContractABI is the input ABI used to generate the binding from.
Variables ¶
var CoolContractBin = "" /* 478-byte string literal not displayed */
CoolContractBin is the compiled bytecode used for deploying new contracts.
var CoolContractFuncSigs = map[string]string{
"ed21248c": "Deposit()",
"429a1bb0": "seeBalance()",
}
CoolContractFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type CoolContract ¶
type CoolContract struct { CoolContractCaller // Read-only binding to the contract CoolContractTransactor // Write-only binding to the contract CoolContractFilterer // Log filterer for contract events }
CoolContract is an auto generated Go binding around an Ethereum contract.
func DeployCoolContract ¶
func DeployCoolContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CoolContract, error)
DeployCoolContract deploys a new Ethereum contract, binding an instance of CoolContract to it.
func NewCoolContract ¶
func NewCoolContract(address common.Address, backend bind.ContractBackend) (*CoolContract, error)
NewCoolContract creates a new instance of CoolContract, bound to a specific deployed contract.
type CoolContractCaller ¶
type CoolContractCaller struct {
// contains filtered or unexported fields
}
CoolContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCoolContractCaller ¶
func NewCoolContractCaller(address common.Address, caller bind.ContractCaller) (*CoolContractCaller, error)
NewCoolContractCaller creates a new read-only instance of CoolContract, bound to a specific deployed contract.
func (*CoolContractCaller) SeeBalance ¶
SeeBalance is a free data retrieval call binding the contract method 0x429a1bb0.
Solidity: function seeBalance() constant returns(uint256)
type CoolContractCallerRaw ¶
type CoolContractCallerRaw struct {
Contract *CoolContractCaller // Generic read-only contract binding to access the raw methods on
}
CoolContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CoolContractCallerRaw) Call ¶
func (_CoolContract *CoolContractCallerRaw) 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 CoolContractCallerSession ¶
type CoolContractCallerSession struct { Contract *CoolContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CoolContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CoolContractCallerSession) SeeBalance ¶
func (_CoolContract *CoolContractCallerSession) SeeBalance() (*big.Int, error)
SeeBalance is a free data retrieval call binding the contract method 0x429a1bb0.
Solidity: function seeBalance() constant returns(uint256)
type CoolContractDeposited ¶
type CoolContractDeposited struct { Addr common.Address Raw types.Log // Blockchain specific contextual infos }
CoolContractDeposited represents a Deposited event raised by the CoolContract contract.
type CoolContractDepositedIterator ¶
type CoolContractDepositedIterator struct { Event *CoolContractDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CoolContractDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the CoolContract contract.
func (*CoolContractDepositedIterator) Close ¶
func (it *CoolContractDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CoolContractDepositedIterator) Error ¶
func (it *CoolContractDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CoolContractDepositedIterator) Next ¶
func (it *CoolContractDepositedIterator) 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 CoolContractFilterer ¶
type CoolContractFilterer struct {
// contains filtered or unexported fields
}
CoolContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCoolContractFilterer ¶
func NewCoolContractFilterer(address common.Address, filterer bind.ContractFilterer) (*CoolContractFilterer, error)
NewCoolContractFilterer creates a new log filterer instance of CoolContract, bound to a specific deployed contract.
func (*CoolContractFilterer) FilterDeposited ¶
func (_CoolContract *CoolContractFilterer) FilterDeposited(opts *bind.FilterOpts) (*CoolContractDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0x20a3fe276908af20d1fa2f8f48225ac6a1997eb2d38695c580adeb4124a1a59b.
Solidity: event Deposited(address addr)
func (*CoolContractFilterer) ParseDeposited ¶
func (_CoolContract *CoolContractFilterer) ParseDeposited(log types.Log) (*CoolContractDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0x20a3fe276908af20d1fa2f8f48225ac6a1997eb2d38695c580adeb4124a1a59b.
Solidity: event Deposited(address addr)
func (*CoolContractFilterer) WatchDeposited ¶
func (_CoolContract *CoolContractFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *CoolContractDeposited) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0x20a3fe276908af20d1fa2f8f48225ac6a1997eb2d38695c580adeb4124a1a59b.
Solidity: event Deposited(address addr)
type CoolContractRaw ¶
type CoolContractRaw struct {
Contract *CoolContract // Generic contract binding to access the raw methods on
}
CoolContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CoolContractRaw) Call ¶
func (_CoolContract *CoolContractRaw) 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 (*CoolContractRaw) Transact ¶
func (_CoolContract *CoolContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CoolContractRaw) Transfer ¶
func (_CoolContract *CoolContractRaw) 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 CoolContractSession ¶
type CoolContractSession struct { Contract *CoolContract // 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 }
CoolContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CoolContractSession) Deposit ¶
func (_CoolContract *CoolContractSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xed21248c.
Solidity: function Deposit() returns()
func (*CoolContractSession) SeeBalance ¶
func (_CoolContract *CoolContractSession) SeeBalance() (*big.Int, error)
SeeBalance is a free data retrieval call binding the contract method 0x429a1bb0.
Solidity: function seeBalance() constant returns(uint256)
type CoolContractTransactor ¶
type CoolContractTransactor struct {
// contains filtered or unexported fields
}
CoolContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCoolContractTransactor ¶
func NewCoolContractTransactor(address common.Address, transactor bind.ContractTransactor) (*CoolContractTransactor, error)
NewCoolContractTransactor creates a new write-only instance of CoolContract, bound to a specific deployed contract.
func (*CoolContractTransactor) Deposit ¶
func (_CoolContract *CoolContractTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xed21248c.
Solidity: function Deposit() returns()
type CoolContractTransactorRaw ¶
type CoolContractTransactorRaw struct {
Contract *CoolContractTransactor // Generic write-only contract binding to access the raw methods on
}
CoolContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CoolContractTransactorRaw) Transact ¶
func (_CoolContract *CoolContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CoolContractTransactorRaw) Transfer ¶
func (_CoolContract *CoolContractTransactorRaw) 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 CoolContractTransactorSession ¶
type CoolContractTransactorSession struct { Contract *CoolContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CoolContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CoolContractTransactorSession) Deposit ¶
func (_CoolContract *CoolContractTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xed21248c.
Solidity: function Deposit() returns()