Documentation
¶
Index ¶
- Variables
- type ValueForwarder
- type ValueForwarderCaller
- type ValueForwarderCallerRaw
- type ValueForwarderCallerSession
- type ValueForwarderFilterer
- type ValueForwarderRaw
- func (_ValueForwarder *ValueForwarderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ValueForwarder *ValueForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ValueForwarder *ValueForwarderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ValueForwarderSession
- type ValueForwarderTransactor
- type ValueForwarderTransactorRaw
- type ValueForwarderTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ValueForwarderABI = ValueForwarderMetaData.ABI
ValueForwarderABI is the input ABI used to generate the binding from. Deprecated: Use ValueForwarderMetaData.ABI instead.
var ValueForwarderBin = ValueForwarderMetaData.Bin
ValueForwarderBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ValueForwarderMetaData.Bin instead.
var ValueForwarderMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"forwardValue\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"payable\"}]",
Bin: "0x6080806040523460155761014f908161001b8239f35b600080fdfe6080604052600436101561001257600080fd5b60003560e01c6398f850f11461002757600080fd5b6040366003190112610114576004356001600160a01b038116810361011457600080808093602435905af13d1561010f573d67ffffffffffffffff81116100f95760405190601f8101601f19908116603f0116820167ffffffffffffffff8111838210176100f9576040528152600060203d92013e5b156100a457005b60405162461bcd60e51b815260206004820152602760248201527f56616c7565466f727761726465723a204661696c656420746f20666f72776172604482015266642076616c756560c81b6064820152608490fd5b634e487b7160e01b600052604160045260246000fd5b61009d565b600080fdfea26469706673582212202706a11f313e042ccf1cd42b40b5f01308364a2290592fe4e14dce33175da1bf64736f6c634300081c0033",
}
ValueForwarderMetaData contains all meta data concerning the ValueForwarder contract.
Functions ¶
This section is empty.
Types ¶
type ValueForwarder ¶
type ValueForwarder struct { ValueForwarderCaller // Read-only binding to the contract ValueForwarderTransactor // Write-only binding to the contract ValueForwarderFilterer // Log filterer for contract events }
ValueForwarder is an auto generated Go binding around an Ethereum contract.
func DeployValueForwarder ¶
func DeployValueForwarder(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ValueForwarder, error)
DeployValueForwarder deploys a new Ethereum contract, binding an instance of ValueForwarder to it.
func NewValueForwarder ¶
func NewValueForwarder(address common.Address, backend bind.ContractBackend) (*ValueForwarder, error)
NewValueForwarder creates a new instance of ValueForwarder, bound to a specific deployed contract.
type ValueForwarderCaller ¶
type ValueForwarderCaller struct {
// contains filtered or unexported fields
}
ValueForwarderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewValueForwarderCaller ¶
func NewValueForwarderCaller(address common.Address, caller bind.ContractCaller) (*ValueForwarderCaller, error)
NewValueForwarderCaller creates a new read-only instance of ValueForwarder, bound to a specific deployed contract.
type ValueForwarderCallerRaw ¶
type ValueForwarderCallerRaw struct {
Contract *ValueForwarderCaller // Generic read-only contract binding to access the raw methods on
}
ValueForwarderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ValueForwarderCallerRaw) Call ¶
func (_ValueForwarder *ValueForwarderCallerRaw) 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 ValueForwarderCallerSession ¶
type ValueForwarderCallerSession struct { Contract *ValueForwarderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ValueForwarderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ValueForwarderFilterer ¶
type ValueForwarderFilterer struct {
// contains filtered or unexported fields
}
ValueForwarderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewValueForwarderFilterer ¶
func NewValueForwarderFilterer(address common.Address, filterer bind.ContractFilterer) (*ValueForwarderFilterer, error)
NewValueForwarderFilterer creates a new log filterer instance of ValueForwarder, bound to a specific deployed contract.
type ValueForwarderRaw ¶
type ValueForwarderRaw struct {
Contract *ValueForwarder // Generic contract binding to access the raw methods on
}
ValueForwarderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ValueForwarderRaw) Call ¶
func (_ValueForwarder *ValueForwarderRaw) 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 (*ValueForwarderRaw) Transact ¶
func (_ValueForwarder *ValueForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ValueForwarderRaw) Transfer ¶
func (_ValueForwarder *ValueForwarderRaw) 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 ValueForwarderSession ¶
type ValueForwarderSession struct { Contract *ValueForwarder // 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 }
ValueForwarderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ValueForwarderSession) ForwardValue ¶
func (_ValueForwarder *ValueForwarderSession) ForwardValue(to common.Address, value *big.Int) (*types.Transaction, error)
ForwardValue is a paid mutator transaction binding the contract method 0x98f850f1.
Solidity: function forwardValue(address to, uint256 value) payable returns()
type ValueForwarderTransactor ¶
type ValueForwarderTransactor struct {
// contains filtered or unexported fields
}
ValueForwarderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewValueForwarderTransactor ¶
func NewValueForwarderTransactor(address common.Address, transactor bind.ContractTransactor) (*ValueForwarderTransactor, error)
NewValueForwarderTransactor creates a new write-only instance of ValueForwarder, bound to a specific deployed contract.
func (*ValueForwarderTransactor) ForwardValue ¶
func (_ValueForwarder *ValueForwarderTransactor) ForwardValue(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
ForwardValue is a paid mutator transaction binding the contract method 0x98f850f1.
Solidity: function forwardValue(address to, uint256 value) payable returns()
type ValueForwarderTransactorRaw ¶
type ValueForwarderTransactorRaw struct {
Contract *ValueForwarderTransactor // Generic write-only contract binding to access the raw methods on
}
ValueForwarderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ValueForwarderTransactorRaw) Transact ¶
func (_ValueForwarder *ValueForwarderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ValueForwarderTransactorRaw) Transfer ¶
func (_ValueForwarder *ValueForwarderTransactorRaw) 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 ValueForwarderTransactorSession ¶
type ValueForwarderTransactorSession struct { Contract *ValueForwarderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ValueForwarderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ValueForwarderTransactorSession) ForwardValue ¶
func (_ValueForwarder *ValueForwarderTransactorSession) ForwardValue(to common.Address, value *big.Int) (*types.Transaction, error)
ForwardValue is a paid mutator transaction binding the contract method 0x98f850f1.
Solidity: function forwardValue(address to, uint256 value) payable returns()