github.com/status-im/status-go@v1.1.0/contracts/hop/l2Contracts/l2AmmWrapper/l2AmmWrapper.go (about)

     1  // Code generated - DO NOT EDIT.
     2  // This file is a generated binding and any manual changes will be lost.
     3  
     4  package hopL2AmmWrapper
     5  
     6  import (
     7  	"errors"
     8  	"math/big"
     9  	"strings"
    10  
    11  	ethereum "github.com/ethereum/go-ethereum"
    12  	"github.com/ethereum/go-ethereum/accounts/abi"
    13  	"github.com/ethereum/go-ethereum/accounts/abi/bind"
    14  	"github.com/ethereum/go-ethereum/common"
    15  	"github.com/ethereum/go-ethereum/core/types"
    16  	"github.com/ethereum/go-ethereum/event"
    17  )
    18  
    19  // Reference imports to suppress errors if they are not otherwise used.
    20  var (
    21  	_ = errors.New
    22  	_ = big.NewInt
    23  	_ = strings.NewReader
    24  	_ = ethereum.NotFound
    25  	_ = bind.Bind
    26  	_ = common.Big1
    27  	_ = types.BloomLookup
    28  	_ = event.NewSubscription
    29  	_ = abi.ConvertType
    30  )
    31  
    32  // HopL2AmmWrapperMetaData contains all meta data concerning the HopL2AmmWrapper contract.
    33  var HopL2AmmWrapperMetaData = &bind.MetaData{
    34  	ABI: "[{\"inputs\":[{\"internalType\":\"contractL2_Bridge\",\"name\":\"_bridge\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"_l2CanonicalToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_l2CanonicalTokenIsEth\",\"type\":\"bool\"},{\"internalType\":\"contractIERC20\",\"name\":\"_hToken\",\"type\":\"address\"},{\"internalType\":\"contractSwap\",\"name\":\"_exchangeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"attemptSwap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridge\",\"outputs\":[{\"internalType\":\"contractL2_Bridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"exchangeAddress\",\"outputs\":[{\"internalType\":\"contractSwap\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2CanonicalToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2CanonicalTokenIsEth\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destinationAmountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destinationDeadline\",\"type\":\"uint256\"}],\"name\":\"swapAndSend\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
    35  }
    36  
    37  // HopL2AmmWrapperABI is the input ABI used to generate the binding from.
    38  // Deprecated: Use HopL2AmmWrapperMetaData.ABI instead.
    39  var HopL2AmmWrapperABI = HopL2AmmWrapperMetaData.ABI
    40  
    41  // HopL2AmmWrapper is an auto generated Go binding around an Ethereum contract.
    42  type HopL2AmmWrapper struct {
    43  	HopL2AmmWrapperCaller     // Read-only binding to the contract
    44  	HopL2AmmWrapperTransactor // Write-only binding to the contract
    45  	HopL2AmmWrapperFilterer   // Log filterer for contract events
    46  }
    47  
    48  // HopL2AmmWrapperCaller is an auto generated read-only Go binding around an Ethereum contract.
    49  type HopL2AmmWrapperCaller struct {
    50  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    51  }
    52  
    53  // HopL2AmmWrapperTransactor is an auto generated write-only Go binding around an Ethereum contract.
    54  type HopL2AmmWrapperTransactor struct {
    55  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    56  }
    57  
    58  // HopL2AmmWrapperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
    59  type HopL2AmmWrapperFilterer struct {
    60  	contract *bind.BoundContract // Generic contract wrapper for the low level calls
    61  }
    62  
    63  // HopL2AmmWrapperSession is an auto generated Go binding around an Ethereum contract,
    64  // with pre-set call and transact options.
    65  type HopL2AmmWrapperSession struct {
    66  	Contract     *HopL2AmmWrapper  // Generic contract binding to set the session for
    67  	CallOpts     bind.CallOpts     // Call options to use throughout this session
    68  	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
    69  }
    70  
    71  // HopL2AmmWrapperCallerSession is an auto generated read-only Go binding around an Ethereum contract,
    72  // with pre-set call options.
    73  type HopL2AmmWrapperCallerSession struct {
    74  	Contract *HopL2AmmWrapperCaller // Generic contract caller binding to set the session for
    75  	CallOpts bind.CallOpts          // Call options to use throughout this session
    76  }
    77  
    78  // HopL2AmmWrapperTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
    79  // with pre-set transact options.
    80  type HopL2AmmWrapperTransactorSession struct {
    81  	Contract     *HopL2AmmWrapperTransactor // Generic contract transactor binding to set the session for
    82  	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
    83  }
    84  
    85  // HopL2AmmWrapperRaw is an auto generated low-level Go binding around an Ethereum contract.
    86  type HopL2AmmWrapperRaw struct {
    87  	Contract *HopL2AmmWrapper // Generic contract binding to access the raw methods on
    88  }
    89  
    90  // HopL2AmmWrapperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
    91  type HopL2AmmWrapperCallerRaw struct {
    92  	Contract *HopL2AmmWrapperCaller // Generic read-only contract binding to access the raw methods on
    93  }
    94  
    95  // HopL2AmmWrapperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
    96  type HopL2AmmWrapperTransactorRaw struct {
    97  	Contract *HopL2AmmWrapperTransactor // Generic write-only contract binding to access the raw methods on
    98  }
    99  
   100  // NewHopL2AmmWrapper creates a new instance of HopL2AmmWrapper, bound to a specific deployed contract.
   101  func NewHopL2AmmWrapper(address common.Address, backend bind.ContractBackend) (*HopL2AmmWrapper, error) {
   102  	contract, err := bindHopL2AmmWrapper(address, backend, backend, backend)
   103  	if err != nil {
   104  		return nil, err
   105  	}
   106  	return &HopL2AmmWrapper{HopL2AmmWrapperCaller: HopL2AmmWrapperCaller{contract: contract}, HopL2AmmWrapperTransactor: HopL2AmmWrapperTransactor{contract: contract}, HopL2AmmWrapperFilterer: HopL2AmmWrapperFilterer{contract: contract}}, nil
   107  }
   108  
   109  // NewHopL2AmmWrapperCaller creates a new read-only instance of HopL2AmmWrapper, bound to a specific deployed contract.
   110  func NewHopL2AmmWrapperCaller(address common.Address, caller bind.ContractCaller) (*HopL2AmmWrapperCaller, error) {
   111  	contract, err := bindHopL2AmmWrapper(address, caller, nil, nil)
   112  	if err != nil {
   113  		return nil, err
   114  	}
   115  	return &HopL2AmmWrapperCaller{contract: contract}, nil
   116  }
   117  
   118  // NewHopL2AmmWrapperTransactor creates a new write-only instance of HopL2AmmWrapper, bound to a specific deployed contract.
   119  func NewHopL2AmmWrapperTransactor(address common.Address, transactor bind.ContractTransactor) (*HopL2AmmWrapperTransactor, error) {
   120  	contract, err := bindHopL2AmmWrapper(address, nil, transactor, nil)
   121  	if err != nil {
   122  		return nil, err
   123  	}
   124  	return &HopL2AmmWrapperTransactor{contract: contract}, nil
   125  }
   126  
   127  // NewHopL2AmmWrapperFilterer creates a new log filterer instance of HopL2AmmWrapper, bound to a specific deployed contract.
   128  func NewHopL2AmmWrapperFilterer(address common.Address, filterer bind.ContractFilterer) (*HopL2AmmWrapperFilterer, error) {
   129  	contract, err := bindHopL2AmmWrapper(address, nil, nil, filterer)
   130  	if err != nil {
   131  		return nil, err
   132  	}
   133  	return &HopL2AmmWrapperFilterer{contract: contract}, nil
   134  }
   135  
   136  // bindHopL2AmmWrapper binds a generic wrapper to an already deployed contract.
   137  func bindHopL2AmmWrapper(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
   138  	parsed, err := HopL2AmmWrapperMetaData.GetAbi()
   139  	if err != nil {
   140  		return nil, err
   141  	}
   142  	return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
   143  }
   144  
   145  // Call invokes the (constant) contract method with params as input values and
   146  // sets the output to result. The result type might be a single field for simple
   147  // returns, a slice of interfaces for anonymous returns and a struct for named
   148  // returns.
   149  func (_HopL2AmmWrapper *HopL2AmmWrapperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
   150  	return _HopL2AmmWrapper.Contract.HopL2AmmWrapperCaller.contract.Call(opts, result, method, params...)
   151  }
   152  
   153  // Transfer initiates a plain transaction to move funds to the contract, calling
   154  // its default method if one is available.
   155  func (_HopL2AmmWrapper *HopL2AmmWrapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   156  	return _HopL2AmmWrapper.Contract.HopL2AmmWrapperTransactor.contract.Transfer(opts)
   157  }
   158  
   159  // Transact invokes the (paid) contract method with params as input values.
   160  func (_HopL2AmmWrapper *HopL2AmmWrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   161  	return _HopL2AmmWrapper.Contract.HopL2AmmWrapperTransactor.contract.Transact(opts, method, params...)
   162  }
   163  
   164  // Call invokes the (constant) contract method with params as input values and
   165  // sets the output to result. The result type might be a single field for simple
   166  // returns, a slice of interfaces for anonymous returns and a struct for named
   167  // returns.
   168  func (_HopL2AmmWrapper *HopL2AmmWrapperCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
   169  	return _HopL2AmmWrapper.Contract.contract.Call(opts, result, method, params...)
   170  }
   171  
   172  // Transfer initiates a plain transaction to move funds to the contract, calling
   173  // its default method if one is available.
   174  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
   175  	return _HopL2AmmWrapper.Contract.contract.Transfer(opts)
   176  }
   177  
   178  // Transact invokes the (paid) contract method with params as input values.
   179  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
   180  	return _HopL2AmmWrapper.Contract.contract.Transact(opts, method, params...)
   181  }
   182  
   183  // Bridge is a free data retrieval call binding the contract method 0xe78cea92.
   184  //
   185  // Solidity: function bridge() view returns(address)
   186  func (_HopL2AmmWrapper *HopL2AmmWrapperCaller) Bridge(opts *bind.CallOpts) (common.Address, error) {
   187  	var out []interface{}
   188  	err := _HopL2AmmWrapper.contract.Call(opts, &out, "bridge")
   189  
   190  	if err != nil {
   191  		return *new(common.Address), err
   192  	}
   193  
   194  	out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
   195  
   196  	return out0, err
   197  
   198  }
   199  
   200  // Bridge is a free data retrieval call binding the contract method 0xe78cea92.
   201  //
   202  // Solidity: function bridge() view returns(address)
   203  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) Bridge() (common.Address, error) {
   204  	return _HopL2AmmWrapper.Contract.Bridge(&_HopL2AmmWrapper.CallOpts)
   205  }
   206  
   207  // Bridge is a free data retrieval call binding the contract method 0xe78cea92.
   208  //
   209  // Solidity: function bridge() view returns(address)
   210  func (_HopL2AmmWrapper *HopL2AmmWrapperCallerSession) Bridge() (common.Address, error) {
   211  	return _HopL2AmmWrapper.Contract.Bridge(&_HopL2AmmWrapper.CallOpts)
   212  }
   213  
   214  // ExchangeAddress is a free data retrieval call binding the contract method 0x9cd01605.
   215  //
   216  // Solidity: function exchangeAddress() view returns(address)
   217  func (_HopL2AmmWrapper *HopL2AmmWrapperCaller) ExchangeAddress(opts *bind.CallOpts) (common.Address, error) {
   218  	var out []interface{}
   219  	err := _HopL2AmmWrapper.contract.Call(opts, &out, "exchangeAddress")
   220  
   221  	if err != nil {
   222  		return *new(common.Address), err
   223  	}
   224  
   225  	out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
   226  
   227  	return out0, err
   228  
   229  }
   230  
   231  // ExchangeAddress is a free data retrieval call binding the contract method 0x9cd01605.
   232  //
   233  // Solidity: function exchangeAddress() view returns(address)
   234  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) ExchangeAddress() (common.Address, error) {
   235  	return _HopL2AmmWrapper.Contract.ExchangeAddress(&_HopL2AmmWrapper.CallOpts)
   236  }
   237  
   238  // ExchangeAddress is a free data retrieval call binding the contract method 0x9cd01605.
   239  //
   240  // Solidity: function exchangeAddress() view returns(address)
   241  func (_HopL2AmmWrapper *HopL2AmmWrapperCallerSession) ExchangeAddress() (common.Address, error) {
   242  	return _HopL2AmmWrapper.Contract.ExchangeAddress(&_HopL2AmmWrapper.CallOpts)
   243  }
   244  
   245  // HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.
   246  //
   247  // Solidity: function hToken() view returns(address)
   248  func (_HopL2AmmWrapper *HopL2AmmWrapperCaller) HToken(opts *bind.CallOpts) (common.Address, error) {
   249  	var out []interface{}
   250  	err := _HopL2AmmWrapper.contract.Call(opts, &out, "hToken")
   251  
   252  	if err != nil {
   253  		return *new(common.Address), err
   254  	}
   255  
   256  	out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
   257  
   258  	return out0, err
   259  
   260  }
   261  
   262  // HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.
   263  //
   264  // Solidity: function hToken() view returns(address)
   265  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) HToken() (common.Address, error) {
   266  	return _HopL2AmmWrapper.Contract.HToken(&_HopL2AmmWrapper.CallOpts)
   267  }
   268  
   269  // HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.
   270  //
   271  // Solidity: function hToken() view returns(address)
   272  func (_HopL2AmmWrapper *HopL2AmmWrapperCallerSession) HToken() (common.Address, error) {
   273  	return _HopL2AmmWrapper.Contract.HToken(&_HopL2AmmWrapper.CallOpts)
   274  }
   275  
   276  // L2CanonicalToken is a free data retrieval call binding the contract method 0x1ee1bf67.
   277  //
   278  // Solidity: function l2CanonicalToken() view returns(address)
   279  func (_HopL2AmmWrapper *HopL2AmmWrapperCaller) L2CanonicalToken(opts *bind.CallOpts) (common.Address, error) {
   280  	var out []interface{}
   281  	err := _HopL2AmmWrapper.contract.Call(opts, &out, "l2CanonicalToken")
   282  
   283  	if err != nil {
   284  		return *new(common.Address), err
   285  	}
   286  
   287  	out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
   288  
   289  	return out0, err
   290  
   291  }
   292  
   293  // L2CanonicalToken is a free data retrieval call binding the contract method 0x1ee1bf67.
   294  //
   295  // Solidity: function l2CanonicalToken() view returns(address)
   296  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) L2CanonicalToken() (common.Address, error) {
   297  	return _HopL2AmmWrapper.Contract.L2CanonicalToken(&_HopL2AmmWrapper.CallOpts)
   298  }
   299  
   300  // L2CanonicalToken is a free data retrieval call binding the contract method 0x1ee1bf67.
   301  //
   302  // Solidity: function l2CanonicalToken() view returns(address)
   303  func (_HopL2AmmWrapper *HopL2AmmWrapperCallerSession) L2CanonicalToken() (common.Address, error) {
   304  	return _HopL2AmmWrapper.Contract.L2CanonicalToken(&_HopL2AmmWrapper.CallOpts)
   305  }
   306  
   307  // L2CanonicalTokenIsEth is a free data retrieval call binding the contract method 0x28555125.
   308  //
   309  // Solidity: function l2CanonicalTokenIsEth() view returns(bool)
   310  func (_HopL2AmmWrapper *HopL2AmmWrapperCaller) L2CanonicalTokenIsEth(opts *bind.CallOpts) (bool, error) {
   311  	var out []interface{}
   312  	err := _HopL2AmmWrapper.contract.Call(opts, &out, "l2CanonicalTokenIsEth")
   313  
   314  	if err != nil {
   315  		return *new(bool), err
   316  	}
   317  
   318  	out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
   319  
   320  	return out0, err
   321  
   322  }
   323  
   324  // L2CanonicalTokenIsEth is a free data retrieval call binding the contract method 0x28555125.
   325  //
   326  // Solidity: function l2CanonicalTokenIsEth() view returns(bool)
   327  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) L2CanonicalTokenIsEth() (bool, error) {
   328  	return _HopL2AmmWrapper.Contract.L2CanonicalTokenIsEth(&_HopL2AmmWrapper.CallOpts)
   329  }
   330  
   331  // L2CanonicalTokenIsEth is a free data retrieval call binding the contract method 0x28555125.
   332  //
   333  // Solidity: function l2CanonicalTokenIsEth() view returns(bool)
   334  func (_HopL2AmmWrapper *HopL2AmmWrapperCallerSession) L2CanonicalTokenIsEth() (bool, error) {
   335  	return _HopL2AmmWrapper.Contract.L2CanonicalTokenIsEth(&_HopL2AmmWrapper.CallOpts)
   336  }
   337  
   338  // AttemptSwap is a paid mutator transaction binding the contract method 0x676c5ef6.
   339  //
   340  // Solidity: function attemptSwap(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline) returns()
   341  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactor) AttemptSwap(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error) {
   342  	return _HopL2AmmWrapper.contract.Transact(opts, "attemptSwap", recipient, amount, amountOutMin, deadline)
   343  }
   344  
   345  // AttemptSwap is a paid mutator transaction binding the contract method 0x676c5ef6.
   346  //
   347  // Solidity: function attemptSwap(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline) returns()
   348  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) AttemptSwap(recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error) {
   349  	return _HopL2AmmWrapper.Contract.AttemptSwap(&_HopL2AmmWrapper.TransactOpts, recipient, amount, amountOutMin, deadline)
   350  }
   351  
   352  // AttemptSwap is a paid mutator transaction binding the contract method 0x676c5ef6.
   353  //
   354  // Solidity: function attemptSwap(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline) returns()
   355  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactorSession) AttemptSwap(recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error) {
   356  	return _HopL2AmmWrapper.Contract.AttemptSwap(&_HopL2AmmWrapper.TransactOpts, recipient, amount, amountOutMin, deadline)
   357  }
   358  
   359  // SwapAndSend is a paid mutator transaction binding the contract method 0xeea0d7b2.
   360  //
   361  // Solidity: function swapAndSend(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline, uint256 destinationAmountOutMin, uint256 destinationDeadline) payable returns()
   362  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactor) SwapAndSend(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, destinationAmountOutMin *big.Int, destinationDeadline *big.Int) (*types.Transaction, error) {
   363  	return _HopL2AmmWrapper.contract.Transact(opts, "swapAndSend", chainId, recipient, amount, bonderFee, amountOutMin, deadline, destinationAmountOutMin, destinationDeadline)
   364  }
   365  
   366  // SwapAndSend is a paid mutator transaction binding the contract method 0xeea0d7b2.
   367  //
   368  // Solidity: function swapAndSend(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline, uint256 destinationAmountOutMin, uint256 destinationDeadline) payable returns()
   369  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, destinationAmountOutMin *big.Int, destinationDeadline *big.Int) (*types.Transaction, error) {
   370  	return _HopL2AmmWrapper.Contract.SwapAndSend(&_HopL2AmmWrapper.TransactOpts, chainId, recipient, amount, bonderFee, amountOutMin, deadline, destinationAmountOutMin, destinationDeadline)
   371  }
   372  
   373  // SwapAndSend is a paid mutator transaction binding the contract method 0xeea0d7b2.
   374  //
   375  // Solidity: function swapAndSend(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline, uint256 destinationAmountOutMin, uint256 destinationDeadline) payable returns()
   376  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactorSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, destinationAmountOutMin *big.Int, destinationDeadline *big.Int) (*types.Transaction, error) {
   377  	return _HopL2AmmWrapper.Contract.SwapAndSend(&_HopL2AmmWrapper.TransactOpts, chainId, recipient, amount, bonderFee, amountOutMin, deadline, destinationAmountOutMin, destinationDeadline)
   378  }
   379  
   380  // Receive is a paid mutator transaction binding the contract receive function.
   381  //
   382  // Solidity: receive() payable returns()
   383  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error) {
   384  	return _HopL2AmmWrapper.contract.RawTransact(opts, nil) // calldata is disallowed for receive function
   385  }
   386  
   387  // Receive is a paid mutator transaction binding the contract receive function.
   388  //
   389  // Solidity: receive() payable returns()
   390  func (_HopL2AmmWrapper *HopL2AmmWrapperSession) Receive() (*types.Transaction, error) {
   391  	return _HopL2AmmWrapper.Contract.Receive(&_HopL2AmmWrapper.TransactOpts)
   392  }
   393  
   394  // Receive is a paid mutator transaction binding the contract receive function.
   395  //
   396  // Solidity: receive() payable returns()
   397  func (_HopL2AmmWrapper *HopL2AmmWrapperTransactorSession) Receive() (*types.Transaction, error) {
   398  	return _HopL2AmmWrapper.Contract.Receive(&_HopL2AmmWrapper.TransactOpts)
   399  }