github.com/ethereum/go-ethereum@v1.16.1/accounts/abi/bind/v2/internal/contracts/nested_libraries/bindings.go (about)

     1  // Code generated via abigen V2 - DO NOT EDIT.
     2  // This file is a generated binding and any manual changes will be lost.
     3  
     4  package nested_libraries
     5  
     6  import (
     7  	"bytes"
     8  	"errors"
     9  	"math/big"
    10  
    11  	"github.com/ethereum/go-ethereum/accounts/abi"
    12  	"github.com/ethereum/go-ethereum/accounts/abi/bind/v2"
    13  	"github.com/ethereum/go-ethereum/common"
    14  	"github.com/ethereum/go-ethereum/core/types"
    15  )
    16  
    17  // Reference imports to suppress errors if they are not otherwise used.
    18  var (
    19  	_ = bytes.Equal
    20  	_ = errors.New
    21  	_ = big.NewInt
    22  	_ = common.Big1
    23  	_ = types.BloomLookup
    24  	_ = abi.ConvertType
    25  )
    26  
    27  // C1MetaData contains all meta data concerning the C1 contract.
    28  var C1MetaData = bind.MetaData{
    29  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"v1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"v2\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"res\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
    30  	ID:  "ae26158f1824f3918bd66724ee8b6eb7c9",
    31  	Bin: "0x6080604052348015600e575f5ffd5b506040516103983803806103988339818101604052810190602e91906066565b5050609d565b5f5ffd5b5f819050919050565b6048816038565b81146051575f5ffd5b50565b5f815190506060816041565b92915050565b5f5f6040838503121560795760786034565b5b5f6084858286016054565b92505060206093858286016054565b9150509250929050565b6102ee806100aa5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c80632ad112721461002d575b5f5ffd5b6100476004803603810190610042919061019e565b61005d565b60405161005491906101d8565b60405180910390f35b5f600173__$ffc1393672b8ed81d0c8093ffcb0e7fbe8$__632ad112725f6040518263ffffffff1660e01b81526004016100979190610200565b602060405180830381865af41580156100b2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100d6919061022d565b73__$5f33a1fab8ea7d932b4bc8c5e7dcd90bc2$__632ad11272856040518263ffffffff1660e01b815260040161010d9190610200565b602060405180830381865af4158015610128573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014c919061022d565b6101569190610285565b6101609190610285565b9050919050565b5f5ffd5b5f819050919050565b61017d8161016b565b8114610187575f5ffd5b50565b5f8135905061019881610174565b92915050565b5f602082840312156101b3576101b2610167565b5b5f6101c08482850161018a565b91505092915050565b6101d28161016b565b82525050565b5f6020820190506101eb5f8301846101c9565b92915050565b6101fa8161016b565b82525050565b5f6020820190506102135f8301846101f1565b92915050565b5f8151905061022781610174565b92915050565b5f6020828403121561024257610241610167565b5b5f61024f84828501610219565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61028f8261016b565b915061029a8361016b565b92508282019050808211156102b2576102b1610258565b5b9291505056fea26469706673582212205d4715a8d20a3a0a43113e268ec8868b3c3ce24f7cbdb8735b4eeeebf0b5565164736f6c634300081c0033",
    32  	Deps: []*bind.MetaData{
    33  		&L1MetaData,
    34  		&L4MetaData,
    35  	},
    36  }
    37  
    38  // C1 is an auto generated Go binding around an Ethereum contract.
    39  type C1 struct {
    40  	abi abi.ABI
    41  }
    42  
    43  // NewC1 creates a new instance of C1.
    44  func NewC1() *C1 {
    45  	parsed, err := C1MetaData.ParseABI()
    46  	if err != nil {
    47  		panic(errors.New("invalid ABI: " + err.Error()))
    48  	}
    49  	return &C1{abi: *parsed}
    50  }
    51  
    52  // Instance creates a wrapper for a deployed contract instance at the given address.
    53  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
    54  func (c *C1) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
    55  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
    56  }
    57  
    58  // PackConstructor is the Go binding used to pack the parameters required for
    59  // contract deployment.
    60  //
    61  // Solidity: constructor(uint256 v1, uint256 v2) returns()
    62  func (c1 *C1) PackConstructor(v1 *big.Int, v2 *big.Int) []byte {
    63  	enc, err := c1.abi.Pack("", v1, v2)
    64  	if err != nil {
    65  		panic(err)
    66  	}
    67  	return enc
    68  }
    69  
    70  // PackDo is the Go binding used to pack the parameters required for calling
    71  // the contract method with ID 0x2ad11272.  This method will panic if any
    72  // invalid/nil inputs are passed.
    73  //
    74  // Solidity: function Do(uint256 val) pure returns(uint256 res)
    75  func (c1 *C1) PackDo(val *big.Int) []byte {
    76  	enc, err := c1.abi.Pack("Do", val)
    77  	if err != nil {
    78  		panic(err)
    79  	}
    80  	return enc
    81  }
    82  
    83  // TryPackDo is the Go binding used to pack the parameters required for calling
    84  // the contract method with ID 0x2ad11272.  This method will return an error
    85  // if any inputs are invalid/nil.
    86  //
    87  // Solidity: function Do(uint256 val) pure returns(uint256 res)
    88  func (c1 *C1) TryPackDo(val *big.Int) ([]byte, error) {
    89  	return c1.abi.Pack("Do", val)
    90  }
    91  
    92  // UnpackDo is the Go binding that unpacks the parameters returned
    93  // from invoking the contract method with ID 0x2ad11272.
    94  //
    95  // Solidity: function Do(uint256 val) pure returns(uint256 res)
    96  func (c1 *C1) UnpackDo(data []byte) (*big.Int, error) {
    97  	out, err := c1.abi.Unpack("Do", data)
    98  	if err != nil {
    99  		return new(big.Int), err
   100  	}
   101  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   102  	return out0, nil
   103  }
   104  
   105  // C2MetaData contains all meta data concerning the C2 contract.
   106  var C2MetaData = bind.MetaData{
   107  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"v1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"v2\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"res\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
   108  	ID:  "78ef2840de5b706112ca2dbfa765501a89",
   109  	Bin: "0x6080604052348015600e575f5ffd5b506040516103983803806103988339818101604052810190602e91906066565b5050609d565b5f5ffd5b5f819050919050565b6048816038565b81146051575f5ffd5b50565b5f815190506060816041565b92915050565b5f5f6040838503121560795760786034565b5b5f6084858286016054565b92505060206093858286016054565b9150509250929050565b6102ee806100aa5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c80632ad112721461002d575b5f5ffd5b6100476004803603810190610042919061019e565b61005d565b60405161005491906101d8565b60405180910390f35b5f600173__$ffc1393672b8ed81d0c8093ffcb0e7fbe8$__632ad112725f6040518263ffffffff1660e01b81526004016100979190610200565b602060405180830381865af41580156100b2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100d6919061022d565b73__$6070639404c39b5667691bb1f9177e1eac$__632ad11272856040518263ffffffff1660e01b815260040161010d9190610200565b602060405180830381865af4158015610128573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014c919061022d565b6101569190610285565b6101609190610285565b9050919050565b5f5ffd5b5f819050919050565b61017d8161016b565b8114610187575f5ffd5b50565b5f8135905061019881610174565b92915050565b5f602082840312156101b3576101b2610167565b5b5f6101c08482850161018a565b91505092915050565b6101d28161016b565b82525050565b5f6020820190506101eb5f8301846101c9565b92915050565b6101fa8161016b565b82525050565b5f6020820190506102135f8301846101f1565b92915050565b5f8151905061022781610174565b92915050565b5f6020828403121561024257610241610167565b5b5f61024f84828501610219565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61028f8261016b565b915061029a8361016b565b92508282019050808211156102b2576102b1610258565b5b9291505056fea2646970667358221220dd394981f1e9fefa4d88bac1c4f1da4131779c7d3bd4189958d278e57e96d96f64736f6c634300081c0033",
   110  	Deps: []*bind.MetaData{
   111  		&L1MetaData,
   112  		&L4bMetaData,
   113  	},
   114  }
   115  
   116  // C2 is an auto generated Go binding around an Ethereum contract.
   117  type C2 struct {
   118  	abi abi.ABI
   119  }
   120  
   121  // NewC2 creates a new instance of C2.
   122  func NewC2() *C2 {
   123  	parsed, err := C2MetaData.ParseABI()
   124  	if err != nil {
   125  		panic(errors.New("invalid ABI: " + err.Error()))
   126  	}
   127  	return &C2{abi: *parsed}
   128  }
   129  
   130  // Instance creates a wrapper for a deployed contract instance at the given address.
   131  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
   132  func (c *C2) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
   133  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
   134  }
   135  
   136  // PackConstructor is the Go binding used to pack the parameters required for
   137  // contract deployment.
   138  //
   139  // Solidity: constructor(uint256 v1, uint256 v2) returns()
   140  func (c2 *C2) PackConstructor(v1 *big.Int, v2 *big.Int) []byte {
   141  	enc, err := c2.abi.Pack("", v1, v2)
   142  	if err != nil {
   143  		panic(err)
   144  	}
   145  	return enc
   146  }
   147  
   148  // PackDo is the Go binding used to pack the parameters required for calling
   149  // the contract method with ID 0x2ad11272.  This method will panic if any
   150  // invalid/nil inputs are passed.
   151  //
   152  // Solidity: function Do(uint256 val) pure returns(uint256 res)
   153  func (c2 *C2) PackDo(val *big.Int) []byte {
   154  	enc, err := c2.abi.Pack("Do", val)
   155  	if err != nil {
   156  		panic(err)
   157  	}
   158  	return enc
   159  }
   160  
   161  // TryPackDo is the Go binding used to pack the parameters required for calling
   162  // the contract method with ID 0x2ad11272.  This method will return an error
   163  // if any inputs are invalid/nil.
   164  //
   165  // Solidity: function Do(uint256 val) pure returns(uint256 res)
   166  func (c2 *C2) TryPackDo(val *big.Int) ([]byte, error) {
   167  	return c2.abi.Pack("Do", val)
   168  }
   169  
   170  // UnpackDo is the Go binding that unpacks the parameters returned
   171  // from invoking the contract method with ID 0x2ad11272.
   172  //
   173  // Solidity: function Do(uint256 val) pure returns(uint256 res)
   174  func (c2 *C2) UnpackDo(data []byte) (*big.Int, error) {
   175  	out, err := c2.abi.Unpack("Do", data)
   176  	if err != nil {
   177  		return new(big.Int), err
   178  	}
   179  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   180  	return out0, nil
   181  }
   182  
   183  // L1MetaData contains all meta data concerning the L1 contract.
   184  var L1MetaData = bind.MetaData{
   185  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
   186  	ID:  "ffc1393672b8ed81d0c8093ffcb0e7fbe8",
   187  	Bin: "0x61011c61004d600b8282823980515f1a6073146041577f4e487b71000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106032575f3560e01c80632ad11272146036575b5f5ffd5b604c600480360381019060489190609c565b6060565b6040516057919060cf565b60405180910390f35b5f60019050919050565b5f5ffd5b5f819050919050565b607e81606e565b81146087575f5ffd5b50565b5f813590506096816077565b92915050565b5f6020828403121560ae5760ad606a565b5b5f60b984828501608a565b91505092915050565b60c981606e565b82525050565b5f60208201905060e05f83018460c2565b9291505056fea26469706673582212200161c5f22d130a2b7ec6cf22e0910e42e32c2881fa4a8a01455f524f63cf218d64736f6c634300081c0033",
   188  }
   189  
   190  // L1 is an auto generated Go binding around an Ethereum contract.
   191  type L1 struct {
   192  	abi abi.ABI
   193  }
   194  
   195  // NewL1 creates a new instance of L1.
   196  func NewL1() *L1 {
   197  	parsed, err := L1MetaData.ParseABI()
   198  	if err != nil {
   199  		panic(errors.New("invalid ABI: " + err.Error()))
   200  	}
   201  	return &L1{abi: *parsed}
   202  }
   203  
   204  // Instance creates a wrapper for a deployed contract instance at the given address.
   205  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
   206  func (c *L1) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
   207  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
   208  }
   209  
   210  // PackDo is the Go binding used to pack the parameters required for calling
   211  // the contract method with ID 0x2ad11272.  This method will panic if any
   212  // invalid/nil inputs are passed.
   213  //
   214  // Solidity: function Do(uint256 val) pure returns(uint256)
   215  func (l1 *L1) PackDo(val *big.Int) []byte {
   216  	enc, err := l1.abi.Pack("Do", val)
   217  	if err != nil {
   218  		panic(err)
   219  	}
   220  	return enc
   221  }
   222  
   223  // TryPackDo is the Go binding used to pack the parameters required for calling
   224  // the contract method with ID 0x2ad11272.  This method will return an error
   225  // if any inputs are invalid/nil.
   226  //
   227  // Solidity: function Do(uint256 val) pure returns(uint256)
   228  func (l1 *L1) TryPackDo(val *big.Int) ([]byte, error) {
   229  	return l1.abi.Pack("Do", val)
   230  }
   231  
   232  // UnpackDo is the Go binding that unpacks the parameters returned
   233  // from invoking the contract method with ID 0x2ad11272.
   234  //
   235  // Solidity: function Do(uint256 val) pure returns(uint256)
   236  func (l1 *L1) UnpackDo(data []byte) (*big.Int, error) {
   237  	out, err := l1.abi.Unpack("Do", data)
   238  	if err != nil {
   239  		return new(big.Int), err
   240  	}
   241  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   242  	return out0, nil
   243  }
   244  
   245  // L2MetaData contains all meta data concerning the L2 contract.
   246  var L2MetaData = bind.MetaData{
   247  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
   248  	ID:  "2ce896a6dd38932d354f317286f90bc675",
   249  	Bin: "0x61025161004d600b8282823980515f1a6073146041577f4e487b71000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610034575f3560e01c80632ad1127214610038575b5f5ffd5b610052600480360381019061004d9190610129565b610068565b60405161005f9190610163565b60405180910390f35b5f600173__$ffc1393672b8ed81d0c8093ffcb0e7fbe8$__632ad11272846040518263ffffffff1660e01b81526004016100a29190610163565b602060405180830381865af41580156100bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e19190610190565b6100eb91906101e8565b9050919050565b5f5ffd5b5f819050919050565b610108816100f6565b8114610112575f5ffd5b50565b5f81359050610123816100ff565b92915050565b5f6020828403121561013e5761013d6100f2565b5b5f61014b84828501610115565b91505092915050565b61015d816100f6565b82525050565b5f6020820190506101765f830184610154565b92915050565b5f8151905061018a816100ff565b92915050565b5f602082840312156101a5576101a46100f2565b5b5f6101b28482850161017c565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6101f2826100f6565b91506101fd836100f6565b9250828201905080821115610215576102146101bb565b5b9291505056fea264697066735822122026999f96e14b0e279909ca5972343113c358e93a904569409a86866e2064f0fa64736f6c634300081c0033",
   250  	Deps: []*bind.MetaData{
   251  		&L1MetaData,
   252  	},
   253  }
   254  
   255  // L2 is an auto generated Go binding around an Ethereum contract.
   256  type L2 struct {
   257  	abi abi.ABI
   258  }
   259  
   260  // NewL2 creates a new instance of L2.
   261  func NewL2() *L2 {
   262  	parsed, err := L2MetaData.ParseABI()
   263  	if err != nil {
   264  		panic(errors.New("invalid ABI: " + err.Error()))
   265  	}
   266  	return &L2{abi: *parsed}
   267  }
   268  
   269  // Instance creates a wrapper for a deployed contract instance at the given address.
   270  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
   271  func (c *L2) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
   272  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
   273  }
   274  
   275  // PackDo is the Go binding used to pack the parameters required for calling
   276  // the contract method with ID 0x2ad11272.  This method will panic if any
   277  // invalid/nil inputs are passed.
   278  //
   279  // Solidity: function Do(uint256 val) pure returns(uint256)
   280  func (l2 *L2) PackDo(val *big.Int) []byte {
   281  	enc, err := l2.abi.Pack("Do", val)
   282  	if err != nil {
   283  		panic(err)
   284  	}
   285  	return enc
   286  }
   287  
   288  // TryPackDo is the Go binding used to pack the parameters required for calling
   289  // the contract method with ID 0x2ad11272.  This method will return an error
   290  // if any inputs are invalid/nil.
   291  //
   292  // Solidity: function Do(uint256 val) pure returns(uint256)
   293  func (l2 *L2) TryPackDo(val *big.Int) ([]byte, error) {
   294  	return l2.abi.Pack("Do", val)
   295  }
   296  
   297  // UnpackDo is the Go binding that unpacks the parameters returned
   298  // from invoking the contract method with ID 0x2ad11272.
   299  //
   300  // Solidity: function Do(uint256 val) pure returns(uint256)
   301  func (l2 *L2) UnpackDo(data []byte) (*big.Int, error) {
   302  	out, err := l2.abi.Unpack("Do", data)
   303  	if err != nil {
   304  		return new(big.Int), err
   305  	}
   306  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   307  	return out0, nil
   308  }
   309  
   310  // L2bMetaData contains all meta data concerning the L2b contract.
   311  var L2bMetaData = bind.MetaData{
   312  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
   313  	ID:  "fd1474cf57f7ed48491e8bfdfd0d172adf",
   314  	Bin: "0x61025161004d600b8282823980515f1a6073146041577f4e487b71000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610034575f3560e01c80632ad1127214610038575b5f5ffd5b610052600480360381019061004d9190610129565b610068565b60405161005f9190610163565b60405180910390f35b5f600173__$ffc1393672b8ed81d0c8093ffcb0e7fbe8$__632ad11272846040518263ffffffff1660e01b81526004016100a29190610163565b602060405180830381865af41580156100bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e19190610190565b6100eb91906101e8565b9050919050565b5f5ffd5b5f819050919050565b610108816100f6565b8114610112575f5ffd5b50565b5f81359050610123816100ff565b92915050565b5f6020828403121561013e5761013d6100f2565b5b5f61014b84828501610115565b91505092915050565b61015d816100f6565b82525050565b5f6020820190506101765f830184610154565b92915050565b5f8151905061018a816100ff565b92915050565b5f602082840312156101a5576101a46100f2565b5b5f6101b28482850161017c565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6101f2826100f6565b91506101fd836100f6565b9250828201905080821115610215576102146101bb565b5b9291505056fea2646970667358221220d6e7078682642d273736fd63baaa28538fe72495816c810fa0e77034de385dc564736f6c634300081c0033",
   315  	Deps: []*bind.MetaData{
   316  		&L1MetaData,
   317  	},
   318  }
   319  
   320  // L2b is an auto generated Go binding around an Ethereum contract.
   321  type L2b struct {
   322  	abi abi.ABI
   323  }
   324  
   325  // NewL2b creates a new instance of L2b.
   326  func NewL2b() *L2b {
   327  	parsed, err := L2bMetaData.ParseABI()
   328  	if err != nil {
   329  		panic(errors.New("invalid ABI: " + err.Error()))
   330  	}
   331  	return &L2b{abi: *parsed}
   332  }
   333  
   334  // Instance creates a wrapper for a deployed contract instance at the given address.
   335  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
   336  func (c *L2b) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
   337  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
   338  }
   339  
   340  // PackDo is the Go binding used to pack the parameters required for calling
   341  // the contract method with ID 0x2ad11272.  This method will panic if any
   342  // invalid/nil inputs are passed.
   343  //
   344  // Solidity: function Do(uint256 val) pure returns(uint256)
   345  func (l2b *L2b) PackDo(val *big.Int) []byte {
   346  	enc, err := l2b.abi.Pack("Do", val)
   347  	if err != nil {
   348  		panic(err)
   349  	}
   350  	return enc
   351  }
   352  
   353  // TryPackDo is the Go binding used to pack the parameters required for calling
   354  // the contract method with ID 0x2ad11272.  This method will return an error
   355  // if any inputs are invalid/nil.
   356  //
   357  // Solidity: function Do(uint256 val) pure returns(uint256)
   358  func (l2b *L2b) TryPackDo(val *big.Int) ([]byte, error) {
   359  	return l2b.abi.Pack("Do", val)
   360  }
   361  
   362  // UnpackDo is the Go binding that unpacks the parameters returned
   363  // from invoking the contract method with ID 0x2ad11272.
   364  //
   365  // Solidity: function Do(uint256 val) pure returns(uint256)
   366  func (l2b *L2b) UnpackDo(data []byte) (*big.Int, error) {
   367  	out, err := l2b.abi.Unpack("Do", data)
   368  	if err != nil {
   369  		return new(big.Int), err
   370  	}
   371  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   372  	return out0, nil
   373  }
   374  
   375  // L3MetaData contains all meta data concerning the L3 contract.
   376  var L3MetaData = bind.MetaData{
   377  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
   378  	ID:  "d03b97f5e1a564374023a72ac7d1806773",
   379  	Bin: "0x61011c61004d600b8282823980515f1a6073146041577f4e487b71000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106032575f3560e01c80632ad11272146036575b5f5ffd5b604c600480360381019060489190609c565b6060565b6040516057919060cf565b60405180910390f35b5f60019050919050565b5f5ffd5b5f819050919050565b607e81606e565b81146087575f5ffd5b50565b5f813590506096816077565b92915050565b5f6020828403121560ae5760ad606a565b5b5f60b984828501608a565b91505092915050565b60c981606e565b82525050565b5f60208201905060e05f83018460c2565b9291505056fea264697066735822122094cfcb0ce039318885cc58f6d8e609e6e4bec575e1a046d3d15ea2e01e97241e64736f6c634300081c0033",
   380  }
   381  
   382  // L3 is an auto generated Go binding around an Ethereum contract.
   383  type L3 struct {
   384  	abi abi.ABI
   385  }
   386  
   387  // NewL3 creates a new instance of L3.
   388  func NewL3() *L3 {
   389  	parsed, err := L3MetaData.ParseABI()
   390  	if err != nil {
   391  		panic(errors.New("invalid ABI: " + err.Error()))
   392  	}
   393  	return &L3{abi: *parsed}
   394  }
   395  
   396  // Instance creates a wrapper for a deployed contract instance at the given address.
   397  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
   398  func (c *L3) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
   399  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
   400  }
   401  
   402  // PackDo is the Go binding used to pack the parameters required for calling
   403  // the contract method with ID 0x2ad11272.  This method will panic if any
   404  // invalid/nil inputs are passed.
   405  //
   406  // Solidity: function Do(uint256 val) pure returns(uint256)
   407  func (l3 *L3) PackDo(val *big.Int) []byte {
   408  	enc, err := l3.abi.Pack("Do", val)
   409  	if err != nil {
   410  		panic(err)
   411  	}
   412  	return enc
   413  }
   414  
   415  // TryPackDo is the Go binding used to pack the parameters required for calling
   416  // the contract method with ID 0x2ad11272.  This method will return an error
   417  // if any inputs are invalid/nil.
   418  //
   419  // Solidity: function Do(uint256 val) pure returns(uint256)
   420  func (l3 *L3) TryPackDo(val *big.Int) ([]byte, error) {
   421  	return l3.abi.Pack("Do", val)
   422  }
   423  
   424  // UnpackDo is the Go binding that unpacks the parameters returned
   425  // from invoking the contract method with ID 0x2ad11272.
   426  //
   427  // Solidity: function Do(uint256 val) pure returns(uint256)
   428  func (l3 *L3) UnpackDo(data []byte) (*big.Int, error) {
   429  	out, err := l3.abi.Unpack("Do", data)
   430  	if err != nil {
   431  		return new(big.Int), err
   432  	}
   433  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   434  	return out0, nil
   435  }
   436  
   437  // L4MetaData contains all meta data concerning the L4 contract.
   438  var L4MetaData = bind.MetaData{
   439  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
   440  	ID:  "5f33a1fab8ea7d932b4bc8c5e7dcd90bc2",
   441  	Bin: "0x6102d161004d600b8282823980515f1a6073146041577f4e487b71000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610034575f3560e01c80632ad1127214610038575b5f5ffd5b610052600480360381019061004d91906101a9565b610068565b60405161005f91906101e3565b60405180910390f35b5f600173__$d03b97f5e1a564374023a72ac7d1806773$__632ad11272846040518263ffffffff1660e01b81526004016100a291906101e3565b602060405180830381865af41580156100bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e19190610210565b73__$2ce896a6dd38932d354f317286f90bc675$__632ad11272856040518263ffffffff1660e01b815260040161011891906101e3565b602060405180830381865af4158015610133573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101579190610210565b6101619190610268565b61016b9190610268565b9050919050565b5f5ffd5b5f819050919050565b61018881610176565b8114610192575f5ffd5b50565b5f813590506101a38161017f565b92915050565b5f602082840312156101be576101bd610172565b5b5f6101cb84828501610195565b91505092915050565b6101dd81610176565b82525050565b5f6020820190506101f65f8301846101d4565b92915050565b5f8151905061020a8161017f565b92915050565b5f6020828403121561022557610224610172565b5b5f610232848285016101fc565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61027282610176565b915061027d83610176565b92508282019050808211156102955761029461023b565b5b9291505056fea2646970667358221220531485f0b9ff78ba5ef06ef345aaddccec3ad15d1460014ccd7c2a58d36d0d4464736f6c634300081c0033",
   442  	Deps: []*bind.MetaData{
   443  		&L2MetaData,
   444  		&L3MetaData,
   445  	},
   446  }
   447  
   448  // L4 is an auto generated Go binding around an Ethereum contract.
   449  type L4 struct {
   450  	abi abi.ABI
   451  }
   452  
   453  // NewL4 creates a new instance of L4.
   454  func NewL4() *L4 {
   455  	parsed, err := L4MetaData.ParseABI()
   456  	if err != nil {
   457  		panic(errors.New("invalid ABI: " + err.Error()))
   458  	}
   459  	return &L4{abi: *parsed}
   460  }
   461  
   462  // Instance creates a wrapper for a deployed contract instance at the given address.
   463  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
   464  func (c *L4) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
   465  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
   466  }
   467  
   468  // PackDo is the Go binding used to pack the parameters required for calling
   469  // the contract method with ID 0x2ad11272.  This method will panic if any
   470  // invalid/nil inputs are passed.
   471  //
   472  // Solidity: function Do(uint256 val) pure returns(uint256)
   473  func (l4 *L4) PackDo(val *big.Int) []byte {
   474  	enc, err := l4.abi.Pack("Do", val)
   475  	if err != nil {
   476  		panic(err)
   477  	}
   478  	return enc
   479  }
   480  
   481  // TryPackDo is the Go binding used to pack the parameters required for calling
   482  // the contract method with ID 0x2ad11272.  This method will return an error
   483  // if any inputs are invalid/nil.
   484  //
   485  // Solidity: function Do(uint256 val) pure returns(uint256)
   486  func (l4 *L4) TryPackDo(val *big.Int) ([]byte, error) {
   487  	return l4.abi.Pack("Do", val)
   488  }
   489  
   490  // UnpackDo is the Go binding that unpacks the parameters returned
   491  // from invoking the contract method with ID 0x2ad11272.
   492  //
   493  // Solidity: function Do(uint256 val) pure returns(uint256)
   494  func (l4 *L4) UnpackDo(data []byte) (*big.Int, error) {
   495  	out, err := l4.abi.Unpack("Do", data)
   496  	if err != nil {
   497  		return new(big.Int), err
   498  	}
   499  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   500  	return out0, nil
   501  }
   502  
   503  // L4bMetaData contains all meta data concerning the L4b contract.
   504  var L4bMetaData = bind.MetaData{
   505  	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"Do\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
   506  	ID:  "6070639404c39b5667691bb1f9177e1eac",
   507  	Bin: "0x61025161004d600b8282823980515f1a6073146041577f4e487b71000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610034575f3560e01c80632ad1127214610038575b5f5ffd5b610052600480360381019061004d9190610129565b610068565b60405161005f9190610163565b60405180910390f35b5f600173__$fd1474cf57f7ed48491e8bfdfd0d172adf$__632ad11272846040518263ffffffff1660e01b81526004016100a29190610163565b602060405180830381865af41580156100bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e19190610190565b6100eb91906101e8565b9050919050565b5f5ffd5b5f819050919050565b610108816100f6565b8114610112575f5ffd5b50565b5f81359050610123816100ff565b92915050565b5f6020828403121561013e5761013d6100f2565b5b5f61014b84828501610115565b91505092915050565b61015d816100f6565b82525050565b5f6020820190506101765f830184610154565b92915050565b5f8151905061018a816100ff565b92915050565b5f602082840312156101a5576101a46100f2565b5b5f6101b28482850161017c565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6101f2826100f6565b91506101fd836100f6565b9250828201905080821115610215576102146101bb565b5b9291505056fea264697066735822122008a2478fd2427f180ace529e137b69337cb655dc21d6426de37054c32e821c6a64736f6c634300081c0033",
   508  	Deps: []*bind.MetaData{
   509  		&L2bMetaData,
   510  	},
   511  }
   512  
   513  // L4b is an auto generated Go binding around an Ethereum contract.
   514  type L4b struct {
   515  	abi abi.ABI
   516  }
   517  
   518  // NewL4b creates a new instance of L4b.
   519  func NewL4b() *L4b {
   520  	parsed, err := L4bMetaData.ParseABI()
   521  	if err != nil {
   522  		panic(errors.New("invalid ABI: " + err.Error()))
   523  	}
   524  	return &L4b{abi: *parsed}
   525  }
   526  
   527  // Instance creates a wrapper for a deployed contract instance at the given address.
   528  // Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.
   529  func (c *L4b) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract {
   530  	return bind.NewBoundContract(addr, c.abi, backend, backend, backend)
   531  }
   532  
   533  // PackDo is the Go binding used to pack the parameters required for calling
   534  // the contract method with ID 0x2ad11272.  This method will panic if any
   535  // invalid/nil inputs are passed.
   536  //
   537  // Solidity: function Do(uint256 val) pure returns(uint256)
   538  func (l4b *L4b) PackDo(val *big.Int) []byte {
   539  	enc, err := l4b.abi.Pack("Do", val)
   540  	if err != nil {
   541  		panic(err)
   542  	}
   543  	return enc
   544  }
   545  
   546  // TryPackDo is the Go binding used to pack the parameters required for calling
   547  // the contract method with ID 0x2ad11272.  This method will return an error
   548  // if any inputs are invalid/nil.
   549  //
   550  // Solidity: function Do(uint256 val) pure returns(uint256)
   551  func (l4b *L4b) TryPackDo(val *big.Int) ([]byte, error) {
   552  	return l4b.abi.Pack("Do", val)
   553  }
   554  
   555  // UnpackDo is the Go binding that unpacks the parameters returned
   556  // from invoking the contract method with ID 0x2ad11272.
   557  //
   558  // Solidity: function Do(uint256 val) pure returns(uint256)
   559  func (l4b *L4b) UnpackDo(data []byte) (*big.Int, error) {
   560  	out, err := l4b.abi.Unpack("Do", data)
   561  	if err != nil {
   562  		return new(big.Int), err
   563  	}
   564  	out0 := abi.ConvertType(out[0], new(big.Int)).(*big.Int)
   565  	return out0, nil
   566  }