Interaction

package
v0.3.2-RC2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InteractionABI = InteractionMetaData.ABI

InteractionABI is the input ABI used to generate the binding from. Deprecated: Use InteractionMetaData.ABI instead.

View Source
var InteractionBin = InteractionMetaData.Bin

InteractionBin is the compiled bytecode used for deploying new contracts. Deprecated: Use InteractionMetaData.Bin instead.

View Source
var InteractionMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"getCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_counter\",\"type\":\"address\"}],\"name\":\"setCounterAddr\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610183806100206000396000f3fe6080604052600436106100295760003560e01c8063a87d942c1461002e578063ec39b42914610055575b600080fd5b34801561003a57600080fd5b50610043610087565b60405190815260200160405180910390f35b610085610063366004610104565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b005b60008060009054906101000a90046001600160a01b03166001600160a01b03166306661abd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ff9190610134565b905090565b60006020828403121561011657600080fd5b81356001600160a01b038116811461012d57600080fd5b9392505050565b60006020828403121561014657600080fd5b505191905056fea264697066735822122058d432243ff91dfaa2dc1ed0a7a18603bef86a1c9a5fb323673b24e70a6d472664736f6c634300080c0033",
}

InteractionMetaData contains all meta data concerning the Interaction contract.

Functions

This section is empty.

Types

type Interaction

type Interaction struct {
	InteractionCaller     // Read-only binding to the contract
	InteractionTransactor // Write-only binding to the contract
	InteractionFilterer   // Log filterer for contract events
}

Interaction is an auto generated Go binding around an Ethereum contract.

func DeployInteraction

func DeployInteraction(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Interaction, error)

DeployInteraction deploys a new Ethereum contract, binding an instance of Interaction to it.

func NewInteraction

func NewInteraction(address common.Address, backend bind.ContractBackend) (*Interaction, error)

NewInteraction creates a new instance of Interaction, bound to a specific deployed contract.

type InteractionCaller

type InteractionCaller struct {
	// contains filtered or unexported fields
}

InteractionCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewInteractionCaller

func NewInteractionCaller(address common.Address, caller bind.ContractCaller) (*InteractionCaller, error)

NewInteractionCaller creates a new read-only instance of Interaction, bound to a specific deployed contract.

func (*InteractionCaller) GetCount

func (_Interaction *InteractionCaller) GetCount(opts *bind.CallOpts) (*big.Int, error)

GetCount is a free data retrieval call binding the contract method 0xa87d942c.

Solidity: function getCount() view returns(uint256)

type InteractionCallerRaw

type InteractionCallerRaw struct {
	Contract *InteractionCaller // Generic read-only contract binding to access the raw methods on
}

InteractionCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*InteractionCallerRaw) Call

func (_Interaction *InteractionCallerRaw) 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 InteractionCallerSession

type InteractionCallerSession struct {
	Contract *InteractionCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

InteractionCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*InteractionCallerSession) GetCount

func (_Interaction *InteractionCallerSession) GetCount() (*big.Int, error)

GetCount is a free data retrieval call binding the contract method 0xa87d942c.

Solidity: function getCount() view returns(uint256)

type InteractionFilterer

type InteractionFilterer struct {
	// contains filtered or unexported fields
}

InteractionFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewInteractionFilterer

func NewInteractionFilterer(address common.Address, filterer bind.ContractFilterer) (*InteractionFilterer, error)

NewInteractionFilterer creates a new log filterer instance of Interaction, bound to a specific deployed contract.

type InteractionRaw

type InteractionRaw struct {
	Contract *Interaction // Generic contract binding to access the raw methods on
}

InteractionRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*InteractionRaw) Call

func (_Interaction *InteractionRaw) 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 (*InteractionRaw) Transact

func (_Interaction *InteractionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*InteractionRaw) Transfer

func (_Interaction *InteractionRaw) 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 InteractionSession

type InteractionSession struct {
	Contract     *Interaction      // 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
}

InteractionSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*InteractionSession) GetCount

func (_Interaction *InteractionSession) GetCount() (*big.Int, error)

GetCount is a free data retrieval call binding the contract method 0xa87d942c.

Solidity: function getCount() view returns(uint256)

func (*InteractionSession) SetCounterAddr

func (_Interaction *InteractionSession) SetCounterAddr(_counter common.Address) (*types.Transaction, error)

SetCounterAddr is a paid mutator transaction binding the contract method 0xec39b429.

Solidity: function setCounterAddr(address _counter) payable returns()

type InteractionTransactor

type InteractionTransactor struct {
	// contains filtered or unexported fields
}

InteractionTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewInteractionTransactor

func NewInteractionTransactor(address common.Address, transactor bind.ContractTransactor) (*InteractionTransactor, error)

NewInteractionTransactor creates a new write-only instance of Interaction, bound to a specific deployed contract.

func (*InteractionTransactor) SetCounterAddr

func (_Interaction *InteractionTransactor) SetCounterAddr(opts *bind.TransactOpts, _counter common.Address) (*types.Transaction, error)

SetCounterAddr is a paid mutator transaction binding the contract method 0xec39b429.

Solidity: function setCounterAddr(address _counter) payable returns()

type InteractionTransactorRaw

type InteractionTransactorRaw struct {
	Contract *InteractionTransactor // Generic write-only contract binding to access the raw methods on
}

InteractionTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*InteractionTransactorRaw) Transact

func (_Interaction *InteractionTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*InteractionTransactorRaw) Transfer

func (_Interaction *InteractionTransactorRaw) 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 InteractionTransactorSession

type InteractionTransactorSession struct {
	Contract     *InteractionTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

InteractionTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*InteractionTransactorSession) SetCounterAddr

func (_Interaction *InteractionTransactorSession) SetCounterAddr(_counter common.Address) (*types.Transaction, error)

SetCounterAddr is a paid mutator transaction binding the contract method 0xec39b429.

Solidity: function setCounterAddr(address _counter) payable returns()

Jump to

Keyboard shortcuts

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