Documentation ¶
Index ¶
- Constants
- Variables
- type ERC20ForwardRequestTypesERC20ForwardRequest
- type Forwarder
- type ForwarderCaller
- func (_Forwarder *ForwarderCaller) Domains(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Forwarder *ForwarderCaller) EIP712DOMAINTYPE(opts *bind.CallOpts) (string, error)
- func (_Forwarder *ForwarderCaller) GetNonce(opts *bind.CallOpts, from common.Address, batchId *big.Int) (*big.Int, error)
- func (_Forwarder *ForwarderCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Forwarder *ForwarderCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Forwarder *ForwarderCaller) REQUESTTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Forwarder *ForwarderCaller) VerifyEIP712(opts *bind.CallOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, ...) error
- func (_Forwarder *ForwarderCaller) VerifyPersonalSign(opts *bind.CallOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, ...) error
- type ForwarderCallerRaw
- type ForwarderCallerSession
- func (_Forwarder *ForwarderCallerSession) Domains(arg0 [32]byte) (bool, error)
- func (_Forwarder *ForwarderCallerSession) EIP712DOMAINTYPE() (string, error)
- func (_Forwarder *ForwarderCallerSession) GetNonce(from common.Address, batchId *big.Int) (*big.Int, error)
- func (_Forwarder *ForwarderCallerSession) IsOwner() (bool, error)
- func (_Forwarder *ForwarderCallerSession) Owner() (common.Address, error)
- func (_Forwarder *ForwarderCallerSession) REQUESTTYPEHASH() ([32]byte, error)
- func (_Forwarder *ForwarderCallerSession) VerifyEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, ...) error
- func (_Forwarder *ForwarderCallerSession) VerifyPersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) error
- type ForwarderDomainRegistered
- type ForwarderDomainRegisteredIterator
- type ForwarderFilterer
- func (_Forwarder *ForwarderFilterer) FilterDomainRegistered(opts *bind.FilterOpts, domainSeparator [][32]byte) (*ForwarderDomainRegisteredIterator, error)
- func (_Forwarder *ForwarderFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ForwarderOwnershipTransferredIterator, error)
- func (_Forwarder *ForwarderFilterer) ParseDomainRegistered(log types.Log) (*ForwarderDomainRegistered, error)
- func (_Forwarder *ForwarderFilterer) ParseOwnershipTransferred(log types.Log) (*ForwarderOwnershipTransferred, error)
- func (_Forwarder *ForwarderFilterer) WatchDomainRegistered(opts *bind.WatchOpts, sink chan<- *ForwarderDomainRegistered, ...) (event.Subscription, error)
- func (_Forwarder *ForwarderFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ForwarderOwnershipTransferred, ...) (event.Subscription, error)
- type ForwarderOwnershipTransferred
- type ForwarderOwnershipTransferredIterator
- type ForwarderRaw
- func (_Forwarder *ForwarderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Forwarder *ForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Forwarder *ForwarderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ForwarderSession
- func (_Forwarder *ForwarderSession) Domains(arg0 [32]byte) (bool, error)
- func (_Forwarder *ForwarderSession) EIP712DOMAINTYPE() (string, error)
- func (_Forwarder *ForwarderSession) ExecuteEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, ...) (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) ExecutePersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) GetNonce(from common.Address, batchId *big.Int) (*big.Int, error)
- func (_Forwarder *ForwarderSession) IsOwner() (bool, error)
- func (_Forwarder *ForwarderSession) Owner() (common.Address, error)
- func (_Forwarder *ForwarderSession) REQUESTTYPEHASH() ([32]byte, error)
- func (_Forwarder *ForwarderSession) RegisterDomainSeparator(name string, version string) (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) RenounceOwnership() (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Forwarder *ForwarderSession) VerifyEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, ...) error
- func (_Forwarder *ForwarderSession) VerifyPersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) error
- type ForwarderTransactor
- func (_Forwarder *ForwarderTransactor) ExecuteEIP712(opts *bind.TransactOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, ...) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactor) ExecutePersonalSign(opts *bind.TransactOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, ...) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactor) RegisterDomainSeparator(opts *bind.TransactOpts, name string, version string) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ForwarderTransactorRaw
- type ForwarderTransactorSession
- func (_Forwarder *ForwarderTransactorSession) ExecuteEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, ...) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactorSession) ExecutePersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactorSession) RegisterDomainSeparator(name string, version string) (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Forwarder *ForwarderTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
const ForwarderABI = "" /* 6728-byte string literal not displayed */
ForwarderABI is the input ABI used to generate the binding from.
Variables ¶
var ForwarderBin = "" /* 18152-byte string literal not displayed */
ForwarderBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type ERC20ForwardRequestTypesERC20ForwardRequest ¶
type ERC20ForwardRequestTypesERC20ForwardRequest struct { From common.Address To common.Address Token common.Address TxGas *big.Int TokenGasPrice *big.Int BatchId *big.Int BatchNonce *big.Int Deadline *big.Int Data []byte }
ERC20ForwardRequestTypesERC20ForwardRequest is an auto generated low-level Go binding around an user-defined struct.
type Forwarder ¶
type Forwarder struct { ForwarderCaller // Read-only binding to the contract ForwarderTransactor // Write-only binding to the contract ForwarderFilterer // Log filterer for contract events }
Forwarder is an auto generated Go binding around an Ethereum contract.
func DeployForwarder ¶
func DeployForwarder(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *Forwarder, error)
DeployForwarder deploys a new Ethereum contract, binding an instance of Forwarder to it.
func NewForwarder ¶
NewForwarder creates a new instance of Forwarder, bound to a specific deployed contract.
type ForwarderCaller ¶
type ForwarderCaller struct {
// contains filtered or unexported fields
}
ForwarderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewForwarderCaller ¶
func NewForwarderCaller(address common.Address, caller bind.ContractCaller) (*ForwarderCaller, error)
NewForwarderCaller creates a new read-only instance of Forwarder, bound to a specific deployed contract.
func (*ForwarderCaller) Domains ¶
Domains is a free data retrieval call binding the contract method 0xc722f177.
Solidity: function domains(bytes32 ) view returns(bool)
func (*ForwarderCaller) EIP712DOMAINTYPE ¶
func (_Forwarder *ForwarderCaller) EIP712DOMAINTYPE(opts *bind.CallOpts) (string, error)
EIP712DOMAINTYPE is a free data retrieval call binding the contract method 0xc3f28abd.
Solidity: function EIP712_DOMAIN_TYPE() view returns(string)
func (*ForwarderCaller) GetNonce ¶
func (_Forwarder *ForwarderCaller) GetNonce(opts *bind.CallOpts, from common.Address, batchId *big.Int) (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0x89535803.
Solidity: function getNonce(address from, uint256 batchId) view returns(uint256)
func (*ForwarderCaller) IsOwner ¶
func (_Forwarder *ForwarderCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ForwarderCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ForwarderCaller) REQUESTTYPEHASH ¶
func (_Forwarder *ForwarderCaller) REQUESTTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
REQUESTTYPEHASH is a free data retrieval call binding the contract method 0x9e39b73e.
Solidity: function REQUEST_TYPEHASH() view returns(bytes32)
func (*ForwarderCaller) VerifyEIP712 ¶
func (_Forwarder *ForwarderCaller) VerifyEIP712(opts *bind.CallOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, sig []byte) error
VerifyEIP712 is a free data retrieval call binding the contract method 0xa41a03f2.
Solidity: function verifyEIP712((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes32 domainSeparator, bytes sig) view returns()
func (*ForwarderCaller) VerifyPersonalSign ¶
func (_Forwarder *ForwarderCaller) VerifyPersonalSign(opts *bind.CallOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) error
VerifyPersonalSign is a free data retrieval call binding the contract method 0x6e4cb075.
Solidity: function verifyPersonalSign((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes sig) view returns()
type ForwarderCallerRaw ¶
type ForwarderCallerRaw struct {
Contract *ForwarderCaller // Generic read-only contract binding to access the raw methods on
}
ForwarderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ForwarderCallerRaw) Call ¶
func (_Forwarder *ForwarderCallerRaw) 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 ForwarderCallerSession ¶
type ForwarderCallerSession struct { Contract *ForwarderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ForwarderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ForwarderCallerSession) Domains ¶
func (_Forwarder *ForwarderCallerSession) Domains(arg0 [32]byte) (bool, error)
Domains is a free data retrieval call binding the contract method 0xc722f177.
Solidity: function domains(bytes32 ) view returns(bool)
func (*ForwarderCallerSession) EIP712DOMAINTYPE ¶
func (_Forwarder *ForwarderCallerSession) EIP712DOMAINTYPE() (string, error)
EIP712DOMAINTYPE is a free data retrieval call binding the contract method 0xc3f28abd.
Solidity: function EIP712_DOMAIN_TYPE() view returns(string)
func (*ForwarderCallerSession) GetNonce ¶
func (_Forwarder *ForwarderCallerSession) GetNonce(from common.Address, batchId *big.Int) (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0x89535803.
Solidity: function getNonce(address from, uint256 batchId) view returns(uint256)
func (*ForwarderCallerSession) IsOwner ¶
func (_Forwarder *ForwarderCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ForwarderCallerSession) Owner ¶
func (_Forwarder *ForwarderCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ForwarderCallerSession) REQUESTTYPEHASH ¶
func (_Forwarder *ForwarderCallerSession) REQUESTTYPEHASH() ([32]byte, error)
REQUESTTYPEHASH is a free data retrieval call binding the contract method 0x9e39b73e.
Solidity: function REQUEST_TYPEHASH() view returns(bytes32)
func (*ForwarderCallerSession) VerifyEIP712 ¶
func (_Forwarder *ForwarderCallerSession) VerifyEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, sig []byte) error
VerifyEIP712 is a free data retrieval call binding the contract method 0xa41a03f2.
Solidity: function verifyEIP712((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes32 domainSeparator, bytes sig) view returns()
func (*ForwarderCallerSession) VerifyPersonalSign ¶
func (_Forwarder *ForwarderCallerSession) VerifyPersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) error
VerifyPersonalSign is a free data retrieval call binding the contract method 0x6e4cb075.
Solidity: function verifyPersonalSign((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes sig) view returns()
type ForwarderDomainRegistered ¶
type ForwarderDomainRegistered struct { DomainSeparator [32]byte DomainValue []byte Raw types.Log // Blockchain specific contextual infos }
ForwarderDomainRegistered represents a DomainRegistered event raised by the Forwarder contract.
type ForwarderDomainRegisteredIterator ¶
type ForwarderDomainRegisteredIterator struct { Event *ForwarderDomainRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ForwarderDomainRegisteredIterator is returned from FilterDomainRegistered and is used to iterate over the raw logs and unpacked data for DomainRegistered events raised by the Forwarder contract.
func (*ForwarderDomainRegisteredIterator) Close ¶
func (it *ForwarderDomainRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ForwarderDomainRegisteredIterator) Error ¶
func (it *ForwarderDomainRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ForwarderDomainRegisteredIterator) Next ¶
func (it *ForwarderDomainRegisteredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ForwarderFilterer ¶
type ForwarderFilterer struct {
// contains filtered or unexported fields
}
ForwarderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewForwarderFilterer ¶
func NewForwarderFilterer(address common.Address, filterer bind.ContractFilterer) (*ForwarderFilterer, error)
NewForwarderFilterer creates a new log filterer instance of Forwarder, bound to a specific deployed contract.
func (*ForwarderFilterer) FilterDomainRegistered ¶
func (_Forwarder *ForwarderFilterer) FilterDomainRegistered(opts *bind.FilterOpts, domainSeparator [][32]byte) (*ForwarderDomainRegisteredIterator, error)
FilterDomainRegistered is a free log retrieval operation binding the contract event 0x4bc68689cbe89a4a6333a3ab0a70093874da3e5bfb71e93102027f3f073687d8.
Solidity: event DomainRegistered(bytes32 indexed domainSeparator, bytes domainValue)
func (*ForwarderFilterer) FilterOwnershipTransferred ¶
func (_Forwarder *ForwarderFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ForwarderOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ForwarderFilterer) ParseDomainRegistered ¶
func (_Forwarder *ForwarderFilterer) ParseDomainRegistered(log types.Log) (*ForwarderDomainRegistered, error)
ParseDomainRegistered is a log parse operation binding the contract event 0x4bc68689cbe89a4a6333a3ab0a70093874da3e5bfb71e93102027f3f073687d8.
Solidity: event DomainRegistered(bytes32 indexed domainSeparator, bytes domainValue)
func (*ForwarderFilterer) ParseOwnershipTransferred ¶
func (_Forwarder *ForwarderFilterer) ParseOwnershipTransferred(log types.Log) (*ForwarderOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ForwarderFilterer) WatchDomainRegistered ¶
func (_Forwarder *ForwarderFilterer) WatchDomainRegistered(opts *bind.WatchOpts, sink chan<- *ForwarderDomainRegistered, domainSeparator [][32]byte) (event.Subscription, error)
WatchDomainRegistered is a free log subscription operation binding the contract event 0x4bc68689cbe89a4a6333a3ab0a70093874da3e5bfb71e93102027f3f073687d8.
Solidity: event DomainRegistered(bytes32 indexed domainSeparator, bytes domainValue)
func (*ForwarderFilterer) WatchOwnershipTransferred ¶
func (_Forwarder *ForwarderFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ForwarderOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type ForwarderOwnershipTransferred ¶
type ForwarderOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ForwarderOwnershipTransferred represents a OwnershipTransferred event raised by the Forwarder contract.
type ForwarderOwnershipTransferredIterator ¶
type ForwarderOwnershipTransferredIterator struct { Event *ForwarderOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ForwarderOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Forwarder contract.
func (*ForwarderOwnershipTransferredIterator) Close ¶
func (it *ForwarderOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ForwarderOwnershipTransferredIterator) Error ¶
func (it *ForwarderOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ForwarderOwnershipTransferredIterator) Next ¶
func (it *ForwarderOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ForwarderRaw ¶
type ForwarderRaw struct {
Contract *Forwarder // Generic contract binding to access the raw methods on
}
ForwarderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ForwarderRaw) Call ¶
func (_Forwarder *ForwarderRaw) 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 (*ForwarderRaw) Transact ¶
func (_Forwarder *ForwarderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ForwarderRaw) Transfer ¶
func (_Forwarder *ForwarderRaw) 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 ForwarderSession ¶
type ForwarderSession struct { Contract *Forwarder // 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 }
ForwarderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ForwarderSession) Domains ¶
func (_Forwarder *ForwarderSession) Domains(arg0 [32]byte) (bool, error)
Domains is a free data retrieval call binding the contract method 0xc722f177.
Solidity: function domains(bytes32 ) view returns(bool)
func (*ForwarderSession) EIP712DOMAINTYPE ¶
func (_Forwarder *ForwarderSession) EIP712DOMAINTYPE() (string, error)
EIP712DOMAINTYPE is a free data retrieval call binding the contract method 0xc3f28abd.
Solidity: function EIP712_DOMAIN_TYPE() view returns(string)
func (*ForwarderSession) ExecuteEIP712 ¶
func (_Forwarder *ForwarderSession) ExecuteEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, sig []byte) (*types.Transaction, error)
ExecuteEIP712 is a paid mutator transaction binding the contract method 0x41706c4e.
Solidity: function executeEIP712((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes32 domainSeparator, bytes sig) returns(bool success, bytes ret)
func (*ForwarderSession) ExecutePersonalSign ¶
func (_Forwarder *ForwarderSession) ExecutePersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) (*types.Transaction, error)
ExecutePersonalSign is a paid mutator transaction binding the contract method 0x8171e632.
Solidity: function executePersonalSign((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes sig) returns(bool success, bytes ret)
func (*ForwarderSession) GetNonce ¶
func (_Forwarder *ForwarderSession) GetNonce(from common.Address, batchId *big.Int) (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0x89535803.
Solidity: function getNonce(address from, uint256 batchId) view returns(uint256)
func (*ForwarderSession) IsOwner ¶
func (_Forwarder *ForwarderSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ForwarderSession) Owner ¶
func (_Forwarder *ForwarderSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ForwarderSession) REQUESTTYPEHASH ¶
func (_Forwarder *ForwarderSession) REQUESTTYPEHASH() ([32]byte, error)
REQUESTTYPEHASH is a free data retrieval call binding the contract method 0x9e39b73e.
Solidity: function REQUEST_TYPEHASH() view returns(bytes32)
func (*ForwarderSession) RegisterDomainSeparator ¶
func (_Forwarder *ForwarderSession) RegisterDomainSeparator(name string, version string) (*types.Transaction, error)
RegisterDomainSeparator is a paid mutator transaction binding the contract method 0x9c7b4592.
Solidity: function registerDomainSeparator(string name, string version) returns()
func (*ForwarderSession) RenounceOwnership ¶
func (_Forwarder *ForwarderSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ForwarderSession) TransferOwnership ¶
func (_Forwarder *ForwarderSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ForwarderSession) VerifyEIP712 ¶
func (_Forwarder *ForwarderSession) VerifyEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, sig []byte) error
VerifyEIP712 is a free data retrieval call binding the contract method 0xa41a03f2.
Solidity: function verifyEIP712((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes32 domainSeparator, bytes sig) view returns()
func (*ForwarderSession) VerifyPersonalSign ¶
func (_Forwarder *ForwarderSession) VerifyPersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) error
VerifyPersonalSign is a free data retrieval call binding the contract method 0x6e4cb075.
Solidity: function verifyPersonalSign((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes sig) view returns()
type ForwarderTransactor ¶
type ForwarderTransactor struct {
// contains filtered or unexported fields
}
ForwarderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewForwarderTransactor ¶
func NewForwarderTransactor(address common.Address, transactor bind.ContractTransactor) (*ForwarderTransactor, error)
NewForwarderTransactor creates a new write-only instance of Forwarder, bound to a specific deployed contract.
func (*ForwarderTransactor) ExecuteEIP712 ¶
func (_Forwarder *ForwarderTransactor) ExecuteEIP712(opts *bind.TransactOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, sig []byte) (*types.Transaction, error)
ExecuteEIP712 is a paid mutator transaction binding the contract method 0x41706c4e.
Solidity: function executeEIP712((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes32 domainSeparator, bytes sig) returns(bool success, bytes ret)
func (*ForwarderTransactor) ExecutePersonalSign ¶
func (_Forwarder *ForwarderTransactor) ExecutePersonalSign(opts *bind.TransactOpts, req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) (*types.Transaction, error)
ExecutePersonalSign is a paid mutator transaction binding the contract method 0x8171e632.
Solidity: function executePersonalSign((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes sig) returns(bool success, bytes ret)
func (*ForwarderTransactor) RegisterDomainSeparator ¶
func (_Forwarder *ForwarderTransactor) RegisterDomainSeparator(opts *bind.TransactOpts, name string, version string) (*types.Transaction, error)
RegisterDomainSeparator is a paid mutator transaction binding the contract method 0x9c7b4592.
Solidity: function registerDomainSeparator(string name, string version) returns()
func (*ForwarderTransactor) RenounceOwnership ¶
func (_Forwarder *ForwarderTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ForwarderTransactor) TransferOwnership ¶
func (_Forwarder *ForwarderTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ForwarderTransactorRaw ¶
type ForwarderTransactorRaw struct {
Contract *ForwarderTransactor // Generic write-only contract binding to access the raw methods on
}
ForwarderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ForwarderTransactorRaw) Transact ¶
func (_Forwarder *ForwarderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ForwarderTransactorRaw) Transfer ¶
func (_Forwarder *ForwarderTransactorRaw) 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 ForwarderTransactorSession ¶
type ForwarderTransactorSession struct { Contract *ForwarderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ForwarderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ForwarderTransactorSession) ExecuteEIP712 ¶
func (_Forwarder *ForwarderTransactorSession) ExecuteEIP712(req ERC20ForwardRequestTypesERC20ForwardRequest, domainSeparator [32]byte, sig []byte) (*types.Transaction, error)
ExecuteEIP712 is a paid mutator transaction binding the contract method 0x41706c4e.
Solidity: function executeEIP712((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes32 domainSeparator, bytes sig) returns(bool success, bytes ret)
func (*ForwarderTransactorSession) ExecutePersonalSign ¶
func (_Forwarder *ForwarderTransactorSession) ExecutePersonalSign(req ERC20ForwardRequestTypesERC20ForwardRequest, sig []byte) (*types.Transaction, error)
ExecutePersonalSign is a paid mutator transaction binding the contract method 0x8171e632.
Solidity: function executePersonalSign((address,address,address,uint256,uint256,uint256,uint256,uint256,bytes) req, bytes sig) returns(bool success, bytes ret)
func (*ForwarderTransactorSession) RegisterDomainSeparator ¶
func (_Forwarder *ForwarderTransactorSession) RegisterDomainSeparator(name string, version string) (*types.Transaction, error)
RegisterDomainSeparator is a paid mutator transaction binding the contract method 0x9c7b4592.
Solidity: function registerDomainSeparator(string name, string version) returns()
func (*ForwarderTransactorSession) RenounceOwnership ¶
func (_Forwarder *ForwarderTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ForwarderTransactorSession) TransferOwnership ¶
func (_Forwarder *ForwarderTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()