package
0.2.0
Repository: https://github.com/athanorlabs/go-relayer.git
Documentation: pkg.go.dev

# README

GSN Forwarder Contract Code

Helpful links

Solidity Code We Used

The github repo doesn't contain what's needed to create a byte-compatible contract to what is deployed. We used etherscan's API's to download the source solidity files validated by them. Note that etherscan only does partial validation which does not include the metadata, so the actual source code used may differ some, but it will generated the same byte code.

We built with the same solidity compiler (0.8.7), same optimization flags, and same file paths and were able to get identical byte code except for the contract metadata at the end.

# Functions

CheckForwarderContractCode checks that the trusted forwarder contract used by the given swap contract has the expected bytecode.
DeployForwarder deploys a new Ethereum contract, binding an instance of Forwarder to it.
NewForwarder creates a new instance of Forwarder, bound to a specific deployed contract.
NewForwarderCaller creates a new read-only instance of Forwarder, bound to a specific deployed contract.
NewForwarderFilterer creates a new log filterer instance of Forwarder, bound to a specific deployed contract.
NewForwarderTransactor creates a new write-only instance of Forwarder, bound to a specific deployed contract.
NewIForwarder creates a new instance of IForwarder, bound to a specific deployed contract.
NewIForwarderCaller creates a new read-only instance of IForwarder, bound to a specific deployed contract.
NewIForwarderFilterer creates a new log filterer instance of IForwarder, bound to a specific deployed contract.
NewIForwarderTransactor creates a new write-only instance of IForwarder, bound to a specific deployed contract.
NewIForwarderWrapped returns a new IForwarderWrapped.

# Constants

nolint:lll.
Note: Mainnet and Goerli forwarder contracts were deployed by opengsn and have the same address.
Note: Mainnet and Goerli forwarder contracts were deployed by opengsn and have the same address.
Note: Mainnet and Goerli forwarder contracts were deployed by opengsn and have the same address.

# Variables

No description provided by the author
No description provided by the author
ForwarderABI is the input ABI used to generate the binding from.
ForwarderBin is the compiled bytecode used for deploying new contracts.
ForwarderMetaData contains all meta data concerning the Forwarder contract.
No description provided by the author
IForwarderABI is the input ABI used to generate the binding from.
IForwarderMetaData contains all meta data concerning the IForwarder contract.

# Structs

Forwarder is an auto generated Go binding around an Ethereum contract.
ForwarderCaller is an auto generated read-only Go binding around an Ethereum contract.
ForwarderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
ForwarderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
ForwarderDomainRegistered represents a DomainRegistered event raised by the Forwarder contract.
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.
ForwarderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
ForwarderRaw is an auto generated low-level Go binding around an Ethereum contract.
ForwarderRequestTypeRegistered represents a RequestTypeRegistered event raised by the Forwarder contract.
ForwarderRequestTypeRegisteredIterator is returned from FilterRequestTypeRegistered and is used to iterate over the raw logs and unpacked data for RequestTypeRegistered events raised by the Forwarder contract.
ForwarderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
ForwarderTransactor is an auto generated write-only Go binding around an Ethereum contract.
ForwarderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
ForwarderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
IForwarder is an auto generated Go binding around an Ethereum contract.
IForwarderCaller is an auto generated read-only Go binding around an Ethereum contract.
IForwarderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
IForwarderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
IForwarderDomainRegistered represents a DomainRegistered event raised by the IForwarder contract.
IForwarderDomainRegisteredIterator is returned from FilterDomainRegistered and is used to iterate over the raw logs and unpacked data for DomainRegistered events raised by the IForwarder contract.
IForwarderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
IForwarderForwardRequest is an auto generated low-level Go binding around an user-defined struct.
IForwarderRaw is an auto generated low-level Go binding around an Ethereum contract.
IForwarderRequestTypeRegistered represents a RequestTypeRegistered event raised by the IForwarder contract.
IForwarderRequestTypeRegisteredIterator is returned from FilterRequestTypeRegistered and is used to iterate over the raw logs and unpacked data for RequestTypeRegistered events raised by the IForwarder contract.
IForwarderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
IForwarderTransactor is an auto generated write-only Go binding around an Ethereum contract.
IForwarderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
IForwarderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
IForwarderWrapped represents a wrapped GSN IForwarder.