ImmutableCreate2FactoryInterface

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ImmutableCreate2FactoryInterfaceABI = ImmutableCreate2FactoryInterfaceMetaData.ABI

ImmutableCreate2FactoryInterfaceABI is the input ABI used to generate the binding from. Deprecated: Use ImmutableCreate2FactoryInterfaceMetaData.ABI instead.

View Source
var ImmutableCreate2FactoryInterfaceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"}],\"name\":\"findCreate2Address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deploymentAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"initCodeHash\",\"type\":\"bytes32\"}],\"name\":\"findCreate2AddressViaHash\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deploymentAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deploymentAddress\",\"type\":\"address\"}],\"name\":\"hasBeenDeployed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"initializationCode\",\"type\":\"bytes\"}],\"name\":\"safeCreate2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"deploymentAddress\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

ImmutableCreate2FactoryInterfaceMetaData contains all meta data concerning the ImmutableCreate2FactoryInterface contract.

Functions

This section is empty.

Types

type ImmutableCreate2FactoryInterface

type ImmutableCreate2FactoryInterface struct {
	ImmutableCreate2FactoryInterfaceCaller     // Read-only binding to the contract
	ImmutableCreate2FactoryInterfaceTransactor // Write-only binding to the contract
	ImmutableCreate2FactoryInterfaceFilterer   // Log filterer for contract events
}

ImmutableCreate2FactoryInterface is an auto generated Go binding around an Ethereum contract.

func NewImmutableCreate2FactoryInterface

func NewImmutableCreate2FactoryInterface(address common.Address, backend bind.ContractBackend) (*ImmutableCreate2FactoryInterface, error)

NewImmutableCreate2FactoryInterface creates a new instance of ImmutableCreate2FactoryInterface, bound to a specific deployed contract.

type ImmutableCreate2FactoryInterfaceCaller

type ImmutableCreate2FactoryInterfaceCaller struct {
	// contains filtered or unexported fields
}

ImmutableCreate2FactoryInterfaceCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewImmutableCreate2FactoryInterfaceCaller

func NewImmutableCreate2FactoryInterfaceCaller(address common.Address, caller bind.ContractCaller) (*ImmutableCreate2FactoryInterfaceCaller, error)

NewImmutableCreate2FactoryInterfaceCaller creates a new read-only instance of ImmutableCreate2FactoryInterface, bound to a specific deployed contract.

func (*ImmutableCreate2FactoryInterfaceCaller) FindCreate2Address

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceCaller) FindCreate2Address(opts *bind.CallOpts, salt [32]byte, initCode []byte) (common.Address, error)

FindCreate2Address is a free data retrieval call binding the contract method 0x85cf97ab.

Solidity: function findCreate2Address(bytes32 salt, bytes initCode) view returns(address deploymentAddress)

func (*ImmutableCreate2FactoryInterfaceCaller) FindCreate2AddressViaHash

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceCaller) FindCreate2AddressViaHash(opts *bind.CallOpts, salt [32]byte, initCodeHash [32]byte) (common.Address, error)

FindCreate2AddressViaHash is a free data retrieval call binding the contract method 0xa49a7c90.

Solidity: function findCreate2AddressViaHash(bytes32 salt, bytes32 initCodeHash) view returns(address deploymentAddress)

func (*ImmutableCreate2FactoryInterfaceCaller) HasBeenDeployed

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceCaller) HasBeenDeployed(opts *bind.CallOpts, deploymentAddress common.Address) (bool, error)

HasBeenDeployed is a free data retrieval call binding the contract method 0x08508b8f.

Solidity: function hasBeenDeployed(address deploymentAddress) view returns(bool)

type ImmutableCreate2FactoryInterfaceCallerRaw

type ImmutableCreate2FactoryInterfaceCallerRaw struct {
	Contract *ImmutableCreate2FactoryInterfaceCaller // Generic read-only contract binding to access the raw methods on
}

ImmutableCreate2FactoryInterfaceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ImmutableCreate2FactoryInterfaceCallerRaw) Call

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

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.

type ImmutableCreate2FactoryInterfaceCallerSession

type ImmutableCreate2FactoryInterfaceCallerSession struct {
	Contract *ImmutableCreate2FactoryInterfaceCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                           // Call options to use throughout this session
}

ImmutableCreate2FactoryInterfaceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ImmutableCreate2FactoryInterfaceCallerSession) FindCreate2Address

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceCallerSession) FindCreate2Address(salt [32]byte, initCode []byte) (common.Address, error)

FindCreate2Address is a free data retrieval call binding the contract method 0x85cf97ab.

Solidity: function findCreate2Address(bytes32 salt, bytes initCode) view returns(address deploymentAddress)

func (*ImmutableCreate2FactoryInterfaceCallerSession) FindCreate2AddressViaHash

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceCallerSession) FindCreate2AddressViaHash(salt [32]byte, initCodeHash [32]byte) (common.Address, error)

FindCreate2AddressViaHash is a free data retrieval call binding the contract method 0xa49a7c90.

Solidity: function findCreate2AddressViaHash(bytes32 salt, bytes32 initCodeHash) view returns(address deploymentAddress)

func (*ImmutableCreate2FactoryInterfaceCallerSession) HasBeenDeployed

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceCallerSession) HasBeenDeployed(deploymentAddress common.Address) (bool, error)

HasBeenDeployed is a free data retrieval call binding the contract method 0x08508b8f.

Solidity: function hasBeenDeployed(address deploymentAddress) view returns(bool)

type ImmutableCreate2FactoryInterfaceFilterer

type ImmutableCreate2FactoryInterfaceFilterer struct {
	// contains filtered or unexported fields
}

ImmutableCreate2FactoryInterfaceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewImmutableCreate2FactoryInterfaceFilterer

func NewImmutableCreate2FactoryInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*ImmutableCreate2FactoryInterfaceFilterer, error)

NewImmutableCreate2FactoryInterfaceFilterer creates a new log filterer instance of ImmutableCreate2FactoryInterface, bound to a specific deployed contract.

type ImmutableCreate2FactoryInterfaceRaw

type ImmutableCreate2FactoryInterfaceRaw struct {
	Contract *ImmutableCreate2FactoryInterface // Generic contract binding to access the raw methods on
}

ImmutableCreate2FactoryInterfaceRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ImmutableCreate2FactoryInterfaceRaw) Call

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

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 (*ImmutableCreate2FactoryInterfaceRaw) Transact

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ImmutableCreate2FactoryInterfaceRaw) Transfer

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ImmutableCreate2FactoryInterfaceSession

type ImmutableCreate2FactoryInterfaceSession struct {
	Contract     *ImmutableCreate2FactoryInterface // 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
}

ImmutableCreate2FactoryInterfaceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ImmutableCreate2FactoryInterfaceSession) FindCreate2Address

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceSession) FindCreate2Address(salt [32]byte, initCode []byte) (common.Address, error)

FindCreate2Address is a free data retrieval call binding the contract method 0x85cf97ab.

Solidity: function findCreate2Address(bytes32 salt, bytes initCode) view returns(address deploymentAddress)

func (*ImmutableCreate2FactoryInterfaceSession) FindCreate2AddressViaHash

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceSession) FindCreate2AddressViaHash(salt [32]byte, initCodeHash [32]byte) (common.Address, error)

FindCreate2AddressViaHash is a free data retrieval call binding the contract method 0xa49a7c90.

Solidity: function findCreate2AddressViaHash(bytes32 salt, bytes32 initCodeHash) view returns(address deploymentAddress)

func (*ImmutableCreate2FactoryInterfaceSession) HasBeenDeployed

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceSession) HasBeenDeployed(deploymentAddress common.Address) (bool, error)

HasBeenDeployed is a free data retrieval call binding the contract method 0x08508b8f.

Solidity: function hasBeenDeployed(address deploymentAddress) view returns(bool)

func (*ImmutableCreate2FactoryInterfaceSession) SafeCreate2

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceSession) SafeCreate2(salt [32]byte, initializationCode []byte) (*types.Transaction, error)

SafeCreate2 is a paid mutator transaction binding the contract method 0x64e03087.

Solidity: function safeCreate2(bytes32 salt, bytes initializationCode) payable returns(address deploymentAddress)

type ImmutableCreate2FactoryInterfaceTransactor

type ImmutableCreate2FactoryInterfaceTransactor struct {
	// contains filtered or unexported fields
}

ImmutableCreate2FactoryInterfaceTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewImmutableCreate2FactoryInterfaceTransactor

func NewImmutableCreate2FactoryInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*ImmutableCreate2FactoryInterfaceTransactor, error)

NewImmutableCreate2FactoryInterfaceTransactor creates a new write-only instance of ImmutableCreate2FactoryInterface, bound to a specific deployed contract.

func (*ImmutableCreate2FactoryInterfaceTransactor) SafeCreate2

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceTransactor) SafeCreate2(opts *bind.TransactOpts, salt [32]byte, initializationCode []byte) (*types.Transaction, error)

SafeCreate2 is a paid mutator transaction binding the contract method 0x64e03087.

Solidity: function safeCreate2(bytes32 salt, bytes initializationCode) payable returns(address deploymentAddress)

type ImmutableCreate2FactoryInterfaceTransactorRaw

type ImmutableCreate2FactoryInterfaceTransactorRaw struct {
	Contract *ImmutableCreate2FactoryInterfaceTransactor // Generic write-only contract binding to access the raw methods on
}

ImmutableCreate2FactoryInterfaceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ImmutableCreate2FactoryInterfaceTransactorRaw) Transact

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ImmutableCreate2FactoryInterfaceTransactorRaw) Transfer

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ImmutableCreate2FactoryInterfaceTransactorSession

type ImmutableCreate2FactoryInterfaceTransactorSession struct {
	Contract     *ImmutableCreate2FactoryInterfaceTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                           // Transaction auth options to use throughout this session
}

ImmutableCreate2FactoryInterfaceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ImmutableCreate2FactoryInterfaceTransactorSession) SafeCreate2

func (_ImmutableCreate2FactoryInterface *ImmutableCreate2FactoryInterfaceTransactorSession) SafeCreate2(salt [32]byte, initializationCode []byte) (*types.Transaction, error)

SafeCreate2 is a paid mutator transaction binding the contract method 0x64e03087.

Solidity: function safeCreate2(bytes32 salt, bytes initializationCode) payable returns(address deploymentAddress)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL