Documentation ¶
Index ¶
- Variables
- type CallReceiverMock
- type CallReceiverMockCaller
- type CallReceiverMockCallerRaw
- type CallReceiverMockCallerSession
- type CallReceiverMockFilterer
- type CallReceiverMockRaw
- func (_CallReceiverMock *CallReceiverMockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CallReceiverMock *CallReceiverMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CallReceiverMock *CallReceiverMockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CallReceiverMockSession
- func (_CallReceiverMock *CallReceiverMockSession) LastValA() (*big.Int, error)
- func (_CallReceiverMock *CallReceiverMockSession) LastValB() ([]byte, error)
- func (_CallReceiverMock *CallReceiverMockSession) SetRevertFlag(_revertFlag bool) (*types.Transaction, error)
- func (_CallReceiverMock *CallReceiverMockSession) TestCall(_valA *big.Int, _valB []byte) (*types.Transaction, error)
- type CallReceiverMockTransactor
- type CallReceiverMockTransactorRaw
- type CallReceiverMockTransactorSession
Constants ¶
This section is empty.
Variables ¶
var CallReceiverMockABI = CallReceiverMockMetaData.ABI
CallReceiverMockABI is the input ABI used to generate the binding from. Deprecated: Use CallReceiverMockMetaData.ABI instead.
var CallReceiverMockBin = CallReceiverMockMetaData.Bin
CallReceiverMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CallReceiverMockMetaData.Bin instead.
var CallReceiverMockMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"lastValA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastValB\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_revertFlag\",\"type\":\"bool\"}],\"name\":\"setRevertFlag\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_valA\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_valB\",\"type\":\"bytes\"}],\"name\":\"testCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
Bin: "0x608060405261040a806100136000396000f3fe60806040526004361061003f5760003560e01c8063381ba14014610044578063ad387c8a14610072578063c0aec4d3146100e9578063ebd35e4714610110575b600080fd5b34801561005057600080fd5b506100706004803603602081101561006757600080fd5b5035151561019a565b005b6100706004803603604081101561008857600080fd5b813591908101906040810160208201356401000000008111156100aa57600080fd5b8201836020820111156100bc57600080fd5b803590602001918460018302840111640100000000831117156100de57600080fd5b5090925090506101cb565b3480156100f557600080fd5b506100fe61023e565b60408051918252519081900360200190f35b34801561011c57600080fd5b50610125610244565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015f578181015183820152602001610147565b50505050905090810190601f16801561018c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60025460ff1615610227576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806103af6026913960400191505060405180910390fd5b6000839055610238600183836102ef565b50505050565b60005481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156102e75780601f106102bc576101008083540402835291602001916102e7565b820191906000526020600020905b8154815290600101906020018083116102ca57829003601f168201915b505050505081565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826103255760008555610389565b82601f1061035c578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555610389565b82800160010185558215610389579182015b8281111561038957823582559160200191906001019061036e565b50610395929150610399565b5090565b5b80821115610395576000815560010161039a56fe43616c6c52656365697665724d6f636b237465737443616c6c3a205245564552545f464c4147a2646970667358221220b0a2a89a0c39b5c99762b2b511726513017a3442bd84964eaae31cb48b091c5764736f6c63430007060033",
}
CallReceiverMockMetaData contains all meta data concerning the CallReceiverMock contract.
Functions ¶
This section is empty.
Types ¶
type CallReceiverMock ¶
type CallReceiverMock struct { CallReceiverMockCaller // Read-only binding to the contract CallReceiverMockTransactor // Write-only binding to the contract CallReceiverMockFilterer // Log filterer for contract events }
CallReceiverMock is an auto generated Go binding around an Ethereum contract.
func DeployCallReceiverMock ¶
func DeployCallReceiverMock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CallReceiverMock, error)
DeployCallReceiverMock deploys a new Ethereum contract, binding an instance of CallReceiverMock to it.
func NewCallReceiverMock ¶
func NewCallReceiverMock(address common.Address, backend bind.ContractBackend) (*CallReceiverMock, error)
NewCallReceiverMock creates a new instance of CallReceiverMock, bound to a specific deployed contract.
type CallReceiverMockCaller ¶
type CallReceiverMockCaller struct {
// contains filtered or unexported fields
}
CallReceiverMockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCallReceiverMockCaller ¶
func NewCallReceiverMockCaller(address common.Address, caller bind.ContractCaller) (*CallReceiverMockCaller, error)
NewCallReceiverMockCaller creates a new read-only instance of CallReceiverMock, bound to a specific deployed contract.
type CallReceiverMockCallerRaw ¶
type CallReceiverMockCallerRaw struct {
Contract *CallReceiverMockCaller // Generic read-only contract binding to access the raw methods on
}
CallReceiverMockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CallReceiverMockCallerRaw) Call ¶
func (_CallReceiverMock *CallReceiverMockCallerRaw) 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 CallReceiverMockCallerSession ¶
type CallReceiverMockCallerSession struct { Contract *CallReceiverMockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CallReceiverMockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CallReceiverMockCallerSession) LastValA ¶
func (_CallReceiverMock *CallReceiverMockCallerSession) LastValA() (*big.Int, error)
LastValA is a free data retrieval call binding the contract method 0xc0aec4d3.
Solidity: function lastValA() view returns(uint256)
func (*CallReceiverMockCallerSession) LastValB ¶
func (_CallReceiverMock *CallReceiverMockCallerSession) LastValB() ([]byte, error)
LastValB is a free data retrieval call binding the contract method 0xebd35e47.
Solidity: function lastValB() view returns(bytes)
type CallReceiverMockFilterer ¶
type CallReceiverMockFilterer struct {
// contains filtered or unexported fields
}
CallReceiverMockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCallReceiverMockFilterer ¶
func NewCallReceiverMockFilterer(address common.Address, filterer bind.ContractFilterer) (*CallReceiverMockFilterer, error)
NewCallReceiverMockFilterer creates a new log filterer instance of CallReceiverMock, bound to a specific deployed contract.
type CallReceiverMockRaw ¶
type CallReceiverMockRaw struct {
Contract *CallReceiverMock // Generic contract binding to access the raw methods on
}
CallReceiverMockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CallReceiverMockRaw) Call ¶
func (_CallReceiverMock *CallReceiverMockRaw) 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 (*CallReceiverMockRaw) Transact ¶
func (_CallReceiverMock *CallReceiverMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CallReceiverMockRaw) Transfer ¶
func (_CallReceiverMock *CallReceiverMockRaw) 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 CallReceiverMockSession ¶
type CallReceiverMockSession struct { Contract *CallReceiverMock // 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 }
CallReceiverMockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CallReceiverMockSession) LastValA ¶
func (_CallReceiverMock *CallReceiverMockSession) LastValA() (*big.Int, error)
LastValA is a free data retrieval call binding the contract method 0xc0aec4d3.
Solidity: function lastValA() view returns(uint256)
func (*CallReceiverMockSession) LastValB ¶
func (_CallReceiverMock *CallReceiverMockSession) LastValB() ([]byte, error)
LastValB is a free data retrieval call binding the contract method 0xebd35e47.
Solidity: function lastValB() view returns(bytes)
func (*CallReceiverMockSession) SetRevertFlag ¶
func (_CallReceiverMock *CallReceiverMockSession) SetRevertFlag(_revertFlag bool) (*types.Transaction, error)
SetRevertFlag is a paid mutator transaction binding the contract method 0x381ba140.
Solidity: function setRevertFlag(bool _revertFlag) returns()
func (*CallReceiverMockSession) TestCall ¶
func (_CallReceiverMock *CallReceiverMockSession) TestCall(_valA *big.Int, _valB []byte) (*types.Transaction, error)
TestCall is a paid mutator transaction binding the contract method 0xad387c8a.
Solidity: function testCall(uint256 _valA, bytes _valB) payable returns()
type CallReceiverMockTransactor ¶
type CallReceiverMockTransactor struct {
// contains filtered or unexported fields
}
CallReceiverMockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCallReceiverMockTransactor ¶
func NewCallReceiverMockTransactor(address common.Address, transactor bind.ContractTransactor) (*CallReceiverMockTransactor, error)
NewCallReceiverMockTransactor creates a new write-only instance of CallReceiverMock, bound to a specific deployed contract.
func (*CallReceiverMockTransactor) SetRevertFlag ¶
func (_CallReceiverMock *CallReceiverMockTransactor) SetRevertFlag(opts *bind.TransactOpts, _revertFlag bool) (*types.Transaction, error)
SetRevertFlag is a paid mutator transaction binding the contract method 0x381ba140.
Solidity: function setRevertFlag(bool _revertFlag) returns()
func (*CallReceiverMockTransactor) TestCall ¶
func (_CallReceiverMock *CallReceiverMockTransactor) TestCall(opts *bind.TransactOpts, _valA *big.Int, _valB []byte) (*types.Transaction, error)
TestCall is a paid mutator transaction binding the contract method 0xad387c8a.
Solidity: function testCall(uint256 _valA, bytes _valB) payable returns()
type CallReceiverMockTransactorRaw ¶
type CallReceiverMockTransactorRaw struct {
Contract *CallReceiverMockTransactor // Generic write-only contract binding to access the raw methods on
}
CallReceiverMockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CallReceiverMockTransactorRaw) Transact ¶
func (_CallReceiverMock *CallReceiverMockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CallReceiverMockTransactorRaw) Transfer ¶
func (_CallReceiverMock *CallReceiverMockTransactorRaw) 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 CallReceiverMockTransactorSession ¶
type CallReceiverMockTransactorSession struct { Contract *CallReceiverMockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CallReceiverMockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CallReceiverMockTransactorSession) SetRevertFlag ¶
func (_CallReceiverMock *CallReceiverMockTransactorSession) SetRevertFlag(_revertFlag bool) (*types.Transaction, error)
SetRevertFlag is a paid mutator transaction binding the contract method 0x381ba140.
Solidity: function setRevertFlag(bool _revertFlag) returns()
func (*CallReceiverMockTransactorSession) TestCall ¶
func (_CallReceiverMock *CallReceiverMockTransactorSession) TestCall(_valA *big.Int, _valB []byte) (*types.Transaction, error)
TestCall is a paid mutator transaction binding the contract method 0xad387c8a.
Solidity: function testCall(uint256 _valA, bytes _valB) payable returns()