Called

package
v0.5.0-RC16 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CalledABI = CalledMetaData.ABI

CalledABI is the input ABI used to generate the binding from. Deprecated: Use CalledMetaData.ABI instead.

View Source
var CalledBin = CalledMetaData.Bin

CalledBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CalledMetaData.Bin instead.

View Source
var CalledMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"getVars\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_num\",\"type\":\"uint256\"}],\"name\":\"getVarsAndVariable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_num\",\"type\":\"uint256\"}],\"name\":\"setVars\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_num\",\"type\":\"uint256\"}],\"name\":\"setVarsViaCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061027f806100206000396000f3fe60806040526004361061003f5760003560e01c8063175df23c146100445780636466414b146100a6578063813d8a37146100d1578063f4bdc7341461010a575b600080fd5b34801561005057600080fd5b5061007961005f3660046101f5565b60005460015460025491936001600160a01b039091169290565b604080519485526001600160a01b0390931660208501529183015260608201526080015b60405180910390f35b6100cf6100b43660046101f5565b600055600180546001600160a01b0319163317905534600255565b005b3480156100dd57600080fd5b50600054600154600254604080519384526001600160a01b0390921660208401529082015260600161009d565b6100cf6101183660046101f5565b60405160248101829052600090309060440160408051601f198184030181529181526020820180516001600160e01b0316636466414b60e01b1790525161015f919061020e565b6000604051808303816000865af19150503d806000811461019c576040519150601f19603f3d011682016040523d82523d6000602084013e6101a1565b606091505b505080915050806101f15760405162461bcd60e51b815260206004820152601660248201527519985a5b1959081d1bc81c195c999bdc9b4818d85b1b60521b604482015260640160405180910390fd5b5050565b60006020828403121561020757600080fd5b5035919050565b6000825160005b8181101561022f5760208186018101518583015201610215565b8181111561023e576000828501525b50919091019291505056fea26469706673582212209d0d58578c55d453a185e4abef4bae0e18e22fd1b4c4e3d2072d42cbf3ccd4d864736f6c634300080c0033",
}

CalledMetaData contains all meta data concerning the Called contract.

Functions

This section is empty.

Types

type Called

type Called struct {
	CalledCaller     // Read-only binding to the contract
	CalledTransactor // Write-only binding to the contract
	CalledFilterer   // Log filterer for contract events
}

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

func DeployCalled

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

DeployCalled deploys a new Ethereum contract, binding an instance of Called to it.

func NewCalled

func NewCalled(address common.Address, backend bind.ContractBackend) (*Called, error)

NewCalled creates a new instance of Called, bound to a specific deployed contract.

type CalledCaller

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

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

func NewCalledCaller

func NewCalledCaller(address common.Address, caller bind.ContractCaller) (*CalledCaller, error)

NewCalledCaller creates a new read-only instance of Called, bound to a specific deployed contract.

func (*CalledCaller) GetVars

func (_Called *CalledCaller) GetVars(opts *bind.CallOpts) (*big.Int, common.Address, *big.Int, error)

GetVars is a free data retrieval call binding the contract method 0x813d8a37.

Solidity: function getVars() view returns(uint256, address, uint256)

func (*CalledCaller) GetVarsAndVariable

func (_Called *CalledCaller) GetVarsAndVariable(opts *bind.CallOpts, _num *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, error)

GetVarsAndVariable is a free data retrieval call binding the contract method 0x175df23c.

Solidity: function getVarsAndVariable(uint256 _num) view returns(uint256, address, uint256, uint256)

type CalledCallerRaw

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

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

func (*CalledCallerRaw) Call

func (_Called *CalledCallerRaw) 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 CalledCallerSession

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

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

func (*CalledCallerSession) GetVars

func (_Called *CalledCallerSession) GetVars() (*big.Int, common.Address, *big.Int, error)

GetVars is a free data retrieval call binding the contract method 0x813d8a37.

Solidity: function getVars() view returns(uint256, address, uint256)

func (*CalledCallerSession) GetVarsAndVariable

func (_Called *CalledCallerSession) GetVarsAndVariable(_num *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, error)

GetVarsAndVariable is a free data retrieval call binding the contract method 0x175df23c.

Solidity: function getVarsAndVariable(uint256 _num) view returns(uint256, address, uint256, uint256)

type CalledFilterer

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

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

func NewCalledFilterer

func NewCalledFilterer(address common.Address, filterer bind.ContractFilterer) (*CalledFilterer, error)

NewCalledFilterer creates a new log filterer instance of Called, bound to a specific deployed contract.

type CalledRaw

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

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

func (*CalledRaw) Call

func (_Called *CalledRaw) 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 (*CalledRaw) Transact

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

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

func (*CalledRaw) Transfer

func (_Called *CalledRaw) 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 CalledSession

type CalledSession struct {
	Contract     *Called           // 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
}

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

func (*CalledSession) GetVars

func (_Called *CalledSession) GetVars() (*big.Int, common.Address, *big.Int, error)

GetVars is a free data retrieval call binding the contract method 0x813d8a37.

Solidity: function getVars() view returns(uint256, address, uint256)

func (*CalledSession) GetVarsAndVariable

func (_Called *CalledSession) GetVarsAndVariable(_num *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, error)

GetVarsAndVariable is a free data retrieval call binding the contract method 0x175df23c.

Solidity: function getVarsAndVariable(uint256 _num) view returns(uint256, address, uint256, uint256)

func (*CalledSession) SetVars

func (_Called *CalledSession) SetVars(_num *big.Int) (*types.Transaction, error)

SetVars is a paid mutator transaction binding the contract method 0x6466414b.

Solidity: function setVars(uint256 _num) payable returns()

func (*CalledSession) SetVarsViaCall

func (_Called *CalledSession) SetVarsViaCall(_num *big.Int) (*types.Transaction, error)

SetVarsViaCall is a paid mutator transaction binding the contract method 0xf4bdc734.

Solidity: function setVarsViaCall(uint256 _num) payable returns()

type CalledTransactor

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

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

func NewCalledTransactor

func NewCalledTransactor(address common.Address, transactor bind.ContractTransactor) (*CalledTransactor, error)

NewCalledTransactor creates a new write-only instance of Called, bound to a specific deployed contract.

func (*CalledTransactor) SetVars

func (_Called *CalledTransactor) SetVars(opts *bind.TransactOpts, _num *big.Int) (*types.Transaction, error)

SetVars is a paid mutator transaction binding the contract method 0x6466414b.

Solidity: function setVars(uint256 _num) payable returns()

func (*CalledTransactor) SetVarsViaCall

func (_Called *CalledTransactor) SetVarsViaCall(opts *bind.TransactOpts, _num *big.Int) (*types.Transaction, error)

SetVarsViaCall is a paid mutator transaction binding the contract method 0xf4bdc734.

Solidity: function setVarsViaCall(uint256 _num) payable returns()

type CalledTransactorRaw

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

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

func (*CalledTransactorRaw) Transact

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

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

func (*CalledTransactorRaw) Transfer

func (_Called *CalledTransactorRaw) 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 CalledTransactorSession

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

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

func (*CalledTransactorSession) SetVars

func (_Called *CalledTransactorSession) SetVars(_num *big.Int) (*types.Transaction, error)

SetVars is a paid mutator transaction binding the contract method 0x6466414b.

Solidity: function setVars(uint256 _num) payable returns()

func (*CalledTransactorSession) SetVarsViaCall

func (_Called *CalledTransactorSession) SetVarsViaCall(_num *big.Int) (*types.Transaction, error)

SetVarsViaCall is a paid mutator transaction binding the contract method 0xf4bdc734.

Solidity: function setVarsViaCall(uint256 _num) payable returns()

Jump to

Keyboard shortcuts

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