contracts/hop/l1Contracts/l1Erc20Bridge/l1Erc20Bridge.go
File l1Erc20Bridge.go
has 2314 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package hopL1Erc20Bridge
HopL1Erc20BridgeSession
has 46 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL1Erc20BridgeSession struct {
Contract *HopL1Erc20Bridge // 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
}
HopL1Erc20BridgeFilterer
has 42 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL1Erc20BridgeFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
HopL1Erc20BridgeCallerSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL1Erc20BridgeCallerSession struct {
Contract *HopL1Erc20BridgeCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
HopL1Erc20BridgeCaller
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL1Erc20BridgeCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
Method HopL1Erc20BridgeTransactor.Withdraw
has 12 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeTransactorSession.Withdraw
has 11 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeTransactorSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeSession.Withdraw
has 11 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeTransactor.SettleBondedWithdrawal
has 8 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeTransactor) SettleBondedWithdrawal(opts *bind.TransactOpts, bonder common.Address, transferId [32]byte, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeCaller.GetTransferId
has 8 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeCaller) GetTransferId(opts *bind.CallOpts, chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error) {
Method HopL1Erc20BridgeTransactor.SendToL2
has 8 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeTransactor) SendToL2(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeTransactorSession.SendToL2
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeTransactorSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeSession.SettleBondedWithdrawal
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeCallerSession.GetTransferId
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error) {
Method HopL1Erc20BridgeTransactorSession.SettleBondedWithdrawal
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeTransactorSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeSession.SendToL2
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error) {
Method HopL1Erc20BridgeSession.GetTransferId
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1Erc20Bridge *HopL1Erc20BridgeSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error) {