targetAbi

package
v0.0.0-...-003a2e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TargetABI = TargetMetaData.ABI

TargetABI is the input ABI used to generate the binding from. Deprecated: Use TargetMetaData.ABI instead.

View Source
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.

func NewTarget

func NewTarget(address common.Address, backend bind.ContractBackend) (*Target, error)

NewTarget creates a new instance of Target, bound to a specific deployed 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.

func (*TargetCaller) Score

func (_Target *TargetCaller) Score(opts *bind.CallOpts) (*big.Int, error)

Score is a free data retrieval call binding the contract method 0xefedc669.

Solidity: function score() view returns(uint256)

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.

func (*TargetCallerSession) Score

func (_Target *TargetCallerSession) Score() (*big.Int, error)

Score is a free data retrieval call binding the contract method 0xefedc669.

Solidity: function score() view returns(uint256)

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.

func (*TargetSession) Score

func (_Target *TargetSession) Score() (*big.Int, error)

Score is a free data retrieval call binding the contract method 0xefedc669.

Solidity: function score() view returns(uint256)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL