// Code generated by abigen. DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.

package contracts

import (
	"fmt"
	"math/big"
	"reflect"
	"strings"

	"github.com/erigontech/erigon/common"
	"github.com/erigontech/erigon/common/event"
	"github.com/erigontech/erigon/execution/abi"
	"github.com/erigontech/erigon/execution/abi/bind"
	"github.com/erigontech/erigon/execution/types"
)

// Reference imports to suppress errors if they are not otherwise used.
var (
	_ = big.NewInt
	_ = strings.NewReader
	_ = bind.Bind
	_ = common.Big1
	_ = types.BloomLookup
	_ = event.NewSubscription
	_ = fmt.Errorf
	_ = reflect.ValueOf
)

// SelfDestructInConstructorABI is the input ABI used to generate the binding from.
const SelfDestructInConstructorABI = "[{\"inputs\":[],\"stateMutability\":\"payable\",\"type\":\"constructor\"}]"

// SelfDestructInConstructorBin is the compiled bytecode used for deploying new contracts.
var SelfDestructInConstructorBin = "0x608060405230fffe"

// DeploySelfDestructInConstructor deploys a new Ethereum contract, binding an instance of SelfDestructInConstructor to it.
func DeploySelfDestructInConstructor(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, types.Transaction, *SelfDestructInConstructor, error) {
	parsed, err := abi.JSON(strings.NewReader(SelfDestructInConstructorABI))
	if err != nil {
		return common.Address{}, nil, nil, err
	}

	address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(SelfDestructInConstructorBin), backend)
	if err != nil {
		return common.Address{}, nil, nil, err
	}
	return address, tx, &SelfDestructInConstructor{SelfDestructInConstructorCaller: SelfDestructInConstructorCaller{contract: contract}, SelfDestructInConstructorTransactor: SelfDestructInConstructorTransactor{contract: contract}, SelfDestructInConstructorFilterer: SelfDestructInConstructorFilterer{contract: contract}}, nil
}

// SelfDestructInConstructor is an auto generated Go binding around an Ethereum contract.
type SelfDestructInConstructor struct {
	SelfDestructInConstructorCaller     // Read-only binding to the contract
	SelfDestructInConstructorTransactor // Write-only binding to the contract
	SelfDestructInConstructorFilterer   // Log filterer for contract events
}

// SelfDestructInConstructorCaller is an auto generated read-only Go binding around an Ethereum contract.
type SelfDestructInConstructorCaller struct {
	contract *bind.BoundContract // Generic contract wrapper for the low level calls
}

// SelfDestructInConstructorTransactor is an auto generated write-only Go binding around an Ethereum contract.
type SelfDestructInConstructorTransactor struct {
	contract *bind.BoundContract // Generic contract wrapper for the low level calls
}

// SelfDestructInConstructorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type SelfDestructInConstructorFilterer struct {
	contract *bind.BoundContract // Generic contract wrapper for the low level calls
}

// SelfDestructInConstructorSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type SelfDestructInConstructorSession struct {
	Contract     *SelfDestructInConstructor // 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
}

// SelfDestructInConstructorCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type SelfDestructInConstructorCallerSession struct {
	Contract *SelfDestructInConstructorCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                    // Call options to use throughout this session
}

// SelfDestructInConstructorTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type SelfDestructInConstructorTransactorSession struct {
	Contract     *SelfDestructInConstructorTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                    // Transaction auth options to use throughout this session
}

// SelfDestructInConstructorRaw is an auto generated low-level Go binding around an Ethereum contract.
type SelfDestructInConstructorRaw struct {
	Contract *SelfDestructInConstructor // Generic contract binding to access the raw methods on
}

// SelfDestructInConstructorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type SelfDestructInConstructorCallerRaw struct {
	Contract *SelfDestructInConstructorCaller // Generic read-only contract binding to access the raw methods on
}

// SelfDestructInConstructorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type SelfDestructInConstructorTransactorRaw struct {
	Contract *SelfDestructInConstructorTransactor // Generic write-only contract binding to access the raw methods on
}

// NewSelfDestructInConstructor creates a new instance of SelfDestructInConstructor, bound to a specific deployed contract.
func NewSelfDestructInConstructor(address common.Address, backend bind.ContractBackend) (*SelfDestructInConstructor, error) {
	contract, err := bindSelfDestructInConstructor(address, backend, backend, backend)
	if err != nil {
		return nil, err
	}
	return &SelfDestructInConstructor{SelfDestructInConstructorCaller: SelfDestructInConstructorCaller{contract: contract}, SelfDestructInConstructorTransactor: SelfDestructInConstructorTransactor{contract: contract}, SelfDestructInConstructorFilterer: SelfDestructInConstructorFilterer{contract: contract}}, nil
}

// NewSelfDestructInConstructorCaller creates a new read-only instance of SelfDestructInConstructor, bound to a specific deployed contract.
func NewSelfDestructInConstructorCaller(address common.Address, caller bind.ContractCaller) (*SelfDestructInConstructorCaller, error) {
	contract, err := bindSelfDestructInConstructor(address, caller, nil, nil)
	if err != nil {
		return nil, err
	}
	return &SelfDestructInConstructorCaller{contract: contract}, nil
}

// NewSelfDestructInConstructorTransactor creates a new write-only instance of SelfDestructInConstructor, bound to a specific deployed contract.
func NewSelfDestructInConstructorTransactor(address common.Address, transactor bind.ContractTransactor) (*SelfDestructInConstructorTransactor, error) {
	contract, err := bindSelfDestructInConstructor(address, nil, transactor, nil)
	if err != nil {
		return nil, err
	}
	return &SelfDestructInConstructorTransactor{contract: contract}, nil
}

// NewSelfDestructInConstructorFilterer creates a new log filterer instance of SelfDestructInConstructor, bound to a specific deployed contract.
func NewSelfDestructInConstructorFilterer(address common.Address, filterer bind.ContractFilterer) (*SelfDestructInConstructorFilterer, error) {
	contract, err := bindSelfDestructInConstructor(address, nil, nil, filterer)
	if err != nil {
		return nil, err
	}
	return &SelfDestructInConstructorFilterer{contract: contract}, nil
}

// bindSelfDestructInConstructor binds a generic wrapper to an already deployed contract.
func bindSelfDestructInConstructor(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
	parsed, err := abi.JSON(strings.NewReader(SelfDestructInConstructorABI))
	if err != nil {
		return nil, err
	}
	return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
}

// 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 (_SelfDestructInConstructor *SelfDestructInConstructorRaw) Call(opts *bind.CallOpts, result *[]any, method string, params ...any) error {
	return _SelfDestructInConstructor.Contract.SelfDestructInConstructorCaller.contract.Call(opts, result, method, params...)
}

// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_SelfDestructInConstructor *SelfDestructInConstructorRaw) Transfer(opts *bind.TransactOpts) (types.Transaction, error) {
	return _SelfDestructInConstructor.Contract.SelfDestructInConstructorTransactor.contract.Transfer(opts)
}

// Transact invokes the (paid) contract method with params as input values.
func (_SelfDestructInConstructor *SelfDestructInConstructorRaw) Transact(opts *bind.TransactOpts, method string, params ...any) (types.Transaction, error) {
	return _SelfDestructInConstructor.Contract.SelfDestructInConstructorTransactor.contract.Transact(opts, method, params...)
}

// 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 (_SelfDestructInConstructor *SelfDestructInConstructorCallerRaw) Call(opts *bind.CallOpts, result *[]any, method string, params ...any) error {
	return _SelfDestructInConstructor.Contract.contract.Call(opts, result, method, params...)
}

// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_SelfDestructInConstructor *SelfDestructInConstructorTransactorRaw) Transfer(opts *bind.TransactOpts) (types.Transaction, error) {
	return _SelfDestructInConstructor.Contract.contract.Transfer(opts)
}

// Transact invokes the (paid) contract method with params as input values.
func (_SelfDestructInConstructor *SelfDestructInConstructorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...any) (types.Transaction, error) {
	return _SelfDestructInConstructor.Contract.contract.Transact(opts, method, params...)
}
