Documentation ¶
Index ¶
- Variables
- type Target
- type TargetCaller
- type TargetCallerRaw
- type TargetCallerSession
- type TargetFilterer
- type TargetRaw
- func (_Target *TargetRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Target *TargetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Target *TargetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TargetSession
- type TargetTransactor
- type TargetTransactorRaw
- type TargetTransactorSession
Constants ¶
This section is empty.
Variables ¶
var TargetABI = TargetMetaData.ABI
TargetABI is the input ABI used to generate the binding from. Deprecated: Use TargetMetaData.ABI instead.
var TargetMetaData = &bind.MetaData{
ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"score\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
TargetMetaData contains all meta data concerning the Target contract.
Functions ¶
This section is empty.
Types ¶
type Target ¶
type Target struct { TargetCaller // Read-only binding to the contract TargetTransactor // Write-only binding to the contract TargetFilterer // Log filterer for contract events }
Target is an auto generated Go binding around an Ethereum contract.
type TargetCaller ¶
type TargetCaller struct {
// contains filtered or unexported fields
}
TargetCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTargetCaller ¶
func NewTargetCaller(address common.Address, caller bind.ContractCaller) (*TargetCaller, error)
NewTargetCaller creates a new read-only instance of Target, bound to a specific deployed contract.
type TargetCallerRaw ¶
type TargetCallerRaw struct {
Contract *TargetCaller // Generic read-only contract binding to access the raw methods on
}
TargetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TargetCallerRaw) Call ¶
func (_Target *TargetCallerRaw) 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 TargetCallerSession ¶
type TargetCallerSession struct { Contract *TargetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TargetCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type TargetFilterer ¶
type TargetFilterer struct {
// contains filtered or unexported fields
}
TargetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTargetFilterer ¶
func NewTargetFilterer(address common.Address, filterer bind.ContractFilterer) (*TargetFilterer, error)
NewTargetFilterer creates a new log filterer instance of Target, bound to a specific deployed contract.
type TargetRaw ¶
type TargetRaw struct {
Contract *Target // Generic contract binding to access the raw methods on
}
TargetRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TargetRaw) Call ¶
func (_Target *TargetRaw) 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 (*TargetRaw) Transact ¶
func (_Target *TargetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TargetRaw) Transfer ¶
func (_Target *TargetRaw) 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 TargetSession ¶
type TargetSession struct { Contract *Target // 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 }
TargetSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type TargetTransactor ¶
type TargetTransactor struct {
// contains filtered or unexported fields
}
TargetTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTargetTransactor ¶
func NewTargetTransactor(address common.Address, transactor bind.ContractTransactor) (*TargetTransactor, error)
NewTargetTransactor creates a new write-only instance of Target, bound to a specific deployed contract.
type TargetTransactorRaw ¶
type TargetTransactorRaw struct {
Contract *TargetTransactor // Generic write-only contract binding to access the raw methods on
}
TargetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TargetTransactorRaw) Transact ¶
func (_Target *TargetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TargetTransactorRaw) Transfer ¶
func (_Target *TargetTransactorRaw) 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 TargetTransactorSession ¶
type TargetTransactorSession struct { Contract *TargetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TargetTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.