contractdeployer

package
v0.0.0-...-63bf43c Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractDeployerABI = ContractDeployerMetaData.ABI

ContractDeployerABI is the input ABI used to generate the binding from. Deprecated: Use ContractDeployerMetaData.ABI instead.

View Source
var ContractDeployerMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumIContractDeployer.AccountNonceOrdering\",\"name\":\"nonceOrdering\",\"type\":\"uint8\"}],\"name\":\"AccountNonceOrderingUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumIContractDeployer.AccountAbstractionVersion\",\"name\":\"aaVersion\",\"type\":\"uint8\"}],\"name\":\"AccountVersionUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"deployerAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"bytecodeHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_bytecodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"}],\"name\":\"create\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_bytecodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"}],\"name\":\"create2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_bytecodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"},{\"internalType\":\"enumIContractDeployer.AccountAbstractionVersion\",\"name\":\"_aaVersion\",\"type\":\"uint8\"}],\"name\":\"create2Account\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_bytecodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"},{\"internalType\":\"enumIContractDeployer.AccountAbstractionVersion\",\"name\":\"_aaVersion\",\"type\":\"uint8\"}],\"name\":\"createAccount\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"extendedAccountVersion\",\"outputs\":[{\"internalType\":\"enumIContractDeployer.AccountAbstractionVersion\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"bytecodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"callConstructor\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"internalType\":\"structContractDeployer.ForceDeployment\",\"name\":\"_deployment\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"forceDeployOnAddress\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"bytecodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"callConstructor\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"internalType\":\"structContractDeployer.ForceDeployment[]\",\"name\":\"_deployments\",\"type\":\"tuple[]\"}],\"name\":\"forceDeployOnAddresses\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getAccountInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"enumIContractDeployer.AccountAbstractionVersion\",\"name\":\"supportedAAVersion\",\"type\":\"uint8\"},{\"internalType\":\"enumIContractDeployer.AccountNonceOrdering\",\"name\":\"nonceOrdering\",\"type\":\"uint8\"}],\"internalType\":\"structIContractDeployer.AccountInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_senderNonce\",\"type\":\"uint256\"}],\"name\":\"getNewAddressCreate\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_bytecodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"}],\"name\":\"getNewAddressCreate2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"newAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIContractDeployer.AccountAbstractionVersion\",\"name\":\"_version\",\"type\":\"uint8\"}],\"name\":\"updateAccountVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIContractDeployer.AccountNonceOrdering\",\"name\":\"_nonceOrdering\",\"type\":\"uint8\"}],\"name\":\"updateNonceOrdering\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ContractDeployerMetaData contains all meta data concerning the ContractDeployer contract.

Functions

This section is empty.

Types

type ContractDeployer

type ContractDeployer struct {
	ContractDeployerCaller     // Read-only binding to the contract
	ContractDeployerTransactor // Write-only binding to the contract
	ContractDeployerFilterer   // Log filterer for contract events
}

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

func NewContractDeployer

func NewContractDeployer(address common.Address, backend bind.ContractBackend) (*ContractDeployer, error)

NewContractDeployer creates a new instance of ContractDeployer, bound to a specific deployed contract.

type ContractDeployerAccountNonceOrderingUpdated

type ContractDeployerAccountNonceOrderingUpdated struct {
	AccountAddress common.Address
	NonceOrdering  uint8
	Raw            types.Log // Blockchain specific contextual infos
}

ContractDeployerAccountNonceOrderingUpdated represents a AccountNonceOrderingUpdated event raised by the ContractDeployer contract.

type ContractDeployerAccountNonceOrderingUpdatedIterator

type ContractDeployerAccountNonceOrderingUpdatedIterator struct {
	Event *ContractDeployerAccountNonceOrderingUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractDeployerAccountNonceOrderingUpdatedIterator is returned from FilterAccountNonceOrderingUpdated and is used to iterate over the raw logs and unpacked data for AccountNonceOrderingUpdated events raised by the ContractDeployer contract.

func (*ContractDeployerAccountNonceOrderingUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractDeployerAccountNonceOrderingUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDeployerAccountNonceOrderingUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractDeployerAccountVersionUpdated

type ContractDeployerAccountVersionUpdated struct {
	AccountAddress common.Address
	AaVersion      uint8
	Raw            types.Log // Blockchain specific contextual infos
}

ContractDeployerAccountVersionUpdated represents a AccountVersionUpdated event raised by the ContractDeployer contract.

type ContractDeployerAccountVersionUpdatedIterator

type ContractDeployerAccountVersionUpdatedIterator struct {
	Event *ContractDeployerAccountVersionUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractDeployerAccountVersionUpdatedIterator is returned from FilterAccountVersionUpdated and is used to iterate over the raw logs and unpacked data for AccountVersionUpdated events raised by the ContractDeployer contract.

func (*ContractDeployerAccountVersionUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractDeployerAccountVersionUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDeployerAccountVersionUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractDeployerCaller

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

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

func NewContractDeployerCaller

func NewContractDeployerCaller(address common.Address, caller bind.ContractCaller) (*ContractDeployerCaller, error)

NewContractDeployerCaller creates a new read-only instance of ContractDeployer, bound to a specific deployed contract.

func (*ContractDeployerCaller) ExtendedAccountVersion

func (_ContractDeployer *ContractDeployerCaller) ExtendedAccountVersion(opts *bind.CallOpts, _address common.Address) (uint8, error)

ExtendedAccountVersion is a free data retrieval call binding the contract method 0xbb0fd610.

Solidity: function extendedAccountVersion(address _address) view returns(uint8)

func (*ContractDeployerCaller) GetAccountInfo

func (_ContractDeployer *ContractDeployerCaller) GetAccountInfo(opts *bind.CallOpts, _address common.Address) (IContractDeployerAccountInfo, error)

GetAccountInfo is a free data retrieval call binding the contract method 0x7b510fe8.

Solidity: function getAccountInfo(address _address) view returns((uint8,uint8) info)

func (*ContractDeployerCaller) GetNewAddressCreate

func (_ContractDeployer *ContractDeployerCaller) GetNewAddressCreate(opts *bind.CallOpts, _sender common.Address, _senderNonce *big.Int) (common.Address, error)

GetNewAddressCreate is a free data retrieval call binding the contract method 0x187598a5.

Solidity: function getNewAddressCreate(address _sender, uint256 _senderNonce) pure returns(address newAddress)

func (*ContractDeployerCaller) GetNewAddressCreate2

func (_ContractDeployer *ContractDeployerCaller) GetNewAddressCreate2(opts *bind.CallOpts, _sender common.Address, _bytecodeHash [32]byte, _salt [32]byte, _input []byte) (common.Address, error)

GetNewAddressCreate2 is a free data retrieval call binding the contract method 0x84da1fb4.

Solidity: function getNewAddressCreate2(address _sender, bytes32 _bytecodeHash, bytes32 _salt, bytes _input) view returns(address newAddress)

type ContractDeployerCallerRaw

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

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

func (*ContractDeployerCallerRaw) Call

func (_ContractDeployer *ContractDeployerCallerRaw) 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 ContractDeployerCallerSession

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

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

func (*ContractDeployerCallerSession) ExtendedAccountVersion

func (_ContractDeployer *ContractDeployerCallerSession) ExtendedAccountVersion(_address common.Address) (uint8, error)

ExtendedAccountVersion is a free data retrieval call binding the contract method 0xbb0fd610.

Solidity: function extendedAccountVersion(address _address) view returns(uint8)

func (*ContractDeployerCallerSession) GetAccountInfo

func (_ContractDeployer *ContractDeployerCallerSession) GetAccountInfo(_address common.Address) (IContractDeployerAccountInfo, error)

GetAccountInfo is a free data retrieval call binding the contract method 0x7b510fe8.

Solidity: function getAccountInfo(address _address) view returns((uint8,uint8) info)

func (*ContractDeployerCallerSession) GetNewAddressCreate

func (_ContractDeployer *ContractDeployerCallerSession) GetNewAddressCreate(_sender common.Address, _senderNonce *big.Int) (common.Address, error)

GetNewAddressCreate is a free data retrieval call binding the contract method 0x187598a5.

Solidity: function getNewAddressCreate(address _sender, uint256 _senderNonce) pure returns(address newAddress)

func (*ContractDeployerCallerSession) GetNewAddressCreate2

func (_ContractDeployer *ContractDeployerCallerSession) GetNewAddressCreate2(_sender common.Address, _bytecodeHash [32]byte, _salt [32]byte, _input []byte) (common.Address, error)

GetNewAddressCreate2 is a free data retrieval call binding the contract method 0x84da1fb4.

Solidity: function getNewAddressCreate2(address _sender, bytes32 _bytecodeHash, bytes32 _salt, bytes _input) view returns(address newAddress)

type ContractDeployerContractDeployed

type ContractDeployerContractDeployed struct {
	DeployerAddress common.Address
	BytecodeHash    [32]byte
	ContractAddress common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

ContractDeployerContractDeployed represents a ContractDeployed event raised by the ContractDeployer contract.

type ContractDeployerContractDeployedIterator

type ContractDeployerContractDeployedIterator struct {
	Event *ContractDeployerContractDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractDeployerContractDeployedIterator is returned from FilterContractDeployed and is used to iterate over the raw logs and unpacked data for ContractDeployed events raised by the ContractDeployer contract.

func (*ContractDeployerContractDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractDeployerContractDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDeployerContractDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractDeployerFilterer

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

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

func NewContractDeployerFilterer

func NewContractDeployerFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractDeployerFilterer, error)

NewContractDeployerFilterer creates a new log filterer instance of ContractDeployer, bound to a specific deployed contract.

func (*ContractDeployerFilterer) FilterAccountNonceOrderingUpdated

func (_ContractDeployer *ContractDeployerFilterer) FilterAccountNonceOrderingUpdated(opts *bind.FilterOpts, accountAddress []common.Address) (*ContractDeployerAccountNonceOrderingUpdatedIterator, error)

FilterAccountNonceOrderingUpdated is a free log retrieval operation binding the contract event 0xc7544194dab38b1652f35439b9b4806d8b71e113f2cf5c1351cb2ecf7c83959a.

Solidity: event AccountNonceOrderingUpdated(address indexed accountAddress, uint8 nonceOrdering)

func (*ContractDeployerFilterer) FilterAccountVersionUpdated

func (_ContractDeployer *ContractDeployerFilterer) FilterAccountVersionUpdated(opts *bind.FilterOpts, accountAddress []common.Address) (*ContractDeployerAccountVersionUpdatedIterator, error)

FilterAccountVersionUpdated is a free log retrieval operation binding the contract event 0x3fb6f4f15ddd4a75588ca934894ad2cdcab25a5012e2515e1783433d0128611a.

Solidity: event AccountVersionUpdated(address indexed accountAddress, uint8 aaVersion)

func (*ContractDeployerFilterer) FilterContractDeployed

func (_ContractDeployer *ContractDeployerFilterer) FilterContractDeployed(opts *bind.FilterOpts, deployerAddress []common.Address, bytecodeHash [][32]byte, contractAddress []common.Address) (*ContractDeployerContractDeployedIterator, error)

FilterContractDeployed is a free log retrieval operation binding the contract event 0x290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e5.

Solidity: event ContractDeployed(address indexed deployerAddress, bytes32 indexed bytecodeHash, address indexed contractAddress)

func (*ContractDeployerFilterer) ParseAccountNonceOrderingUpdated

func (_ContractDeployer *ContractDeployerFilterer) ParseAccountNonceOrderingUpdated(log types.Log) (*ContractDeployerAccountNonceOrderingUpdated, error)

ParseAccountNonceOrderingUpdated is a log parse operation binding the contract event 0xc7544194dab38b1652f35439b9b4806d8b71e113f2cf5c1351cb2ecf7c83959a.

Solidity: event AccountNonceOrderingUpdated(address indexed accountAddress, uint8 nonceOrdering)

func (*ContractDeployerFilterer) ParseAccountVersionUpdated

func (_ContractDeployer *ContractDeployerFilterer) ParseAccountVersionUpdated(log types.Log) (*ContractDeployerAccountVersionUpdated, error)

ParseAccountVersionUpdated is a log parse operation binding the contract event 0x3fb6f4f15ddd4a75588ca934894ad2cdcab25a5012e2515e1783433d0128611a.

Solidity: event AccountVersionUpdated(address indexed accountAddress, uint8 aaVersion)

func (*ContractDeployerFilterer) ParseContractDeployed

func (_ContractDeployer *ContractDeployerFilterer) ParseContractDeployed(log types.Log) (*ContractDeployerContractDeployed, error)

ParseContractDeployed is a log parse operation binding the contract event 0x290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e5.

Solidity: event ContractDeployed(address indexed deployerAddress, bytes32 indexed bytecodeHash, address indexed contractAddress)

func (*ContractDeployerFilterer) WatchAccountNonceOrderingUpdated

func (_ContractDeployer *ContractDeployerFilterer) WatchAccountNonceOrderingUpdated(opts *bind.WatchOpts, sink chan<- *ContractDeployerAccountNonceOrderingUpdated, accountAddress []common.Address) (event.Subscription, error)

WatchAccountNonceOrderingUpdated is a free log subscription operation binding the contract event 0xc7544194dab38b1652f35439b9b4806d8b71e113f2cf5c1351cb2ecf7c83959a.

Solidity: event AccountNonceOrderingUpdated(address indexed accountAddress, uint8 nonceOrdering)

func (*ContractDeployerFilterer) WatchAccountVersionUpdated

func (_ContractDeployer *ContractDeployerFilterer) WatchAccountVersionUpdated(opts *bind.WatchOpts, sink chan<- *ContractDeployerAccountVersionUpdated, accountAddress []common.Address) (event.Subscription, error)

WatchAccountVersionUpdated is a free log subscription operation binding the contract event 0x3fb6f4f15ddd4a75588ca934894ad2cdcab25a5012e2515e1783433d0128611a.

Solidity: event AccountVersionUpdated(address indexed accountAddress, uint8 aaVersion)

func (*ContractDeployerFilterer) WatchContractDeployed

func (_ContractDeployer *ContractDeployerFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *ContractDeployerContractDeployed, deployerAddress []common.Address, bytecodeHash [][32]byte, contractAddress []common.Address) (event.Subscription, error)

WatchContractDeployed is a free log subscription operation binding the contract event 0x290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e5.

Solidity: event ContractDeployed(address indexed deployerAddress, bytes32 indexed bytecodeHash, address indexed contractAddress)

type ContractDeployerForceDeployment

type ContractDeployerForceDeployment struct {
	BytecodeHash    [32]byte
	NewAddress      common.Address
	CallConstructor bool
	Value           *big.Int
	Input           []byte
}

ContractDeployerForceDeployment is an auto generated low-level Go binding around an user-defined struct.

type ContractDeployerRaw

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

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

func (*ContractDeployerRaw) Call

func (_ContractDeployer *ContractDeployerRaw) 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 (*ContractDeployerRaw) Transact

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

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

func (*ContractDeployerRaw) Transfer

func (_ContractDeployer *ContractDeployerRaw) 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 ContractDeployerSession

type ContractDeployerSession struct {
	Contract     *ContractDeployer // 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
}

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

func (*ContractDeployerSession) Create

func (_ContractDeployer *ContractDeployerSession) Create(_salt [32]byte, _bytecodeHash [32]byte, _input []byte) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x9c4d535b.

Solidity: function create(bytes32 _salt, bytes32 _bytecodeHash, bytes _input) payable returns(address)

func (*ContractDeployerSession) Create2

func (_ContractDeployer *ContractDeployerSession) Create2(_salt [32]byte, _bytecodeHash [32]byte, _input []byte) (*types.Transaction, error)

Create2 is a paid mutator transaction binding the contract method 0x3cda3351.

Solidity: function create2(bytes32 _salt, bytes32 _bytecodeHash, bytes _input) payable returns(address)

func (*ContractDeployerSession) Create2Account

func (_ContractDeployer *ContractDeployerSession) Create2Account(_salt [32]byte, _bytecodeHash [32]byte, _input []byte, _aaVersion uint8) (*types.Transaction, error)

Create2Account is a paid mutator transaction binding the contract method 0x5d382700.

Solidity: function create2Account(bytes32 _salt, bytes32 _bytecodeHash, bytes _input, uint8 _aaVersion) payable returns(address)

func (*ContractDeployerSession) CreateAccount

func (_ContractDeployer *ContractDeployerSession) CreateAccount(arg0 [32]byte, _bytecodeHash [32]byte, _input []byte, _aaVersion uint8) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0xecf95b8a.

Solidity: function createAccount(bytes32 , bytes32 _bytecodeHash, bytes _input, uint8 _aaVersion) payable returns(address)

func (*ContractDeployerSession) ExtendedAccountVersion

func (_ContractDeployer *ContractDeployerSession) ExtendedAccountVersion(_address common.Address) (uint8, error)

ExtendedAccountVersion is a free data retrieval call binding the contract method 0xbb0fd610.

Solidity: function extendedAccountVersion(address _address) view returns(uint8)

func (*ContractDeployerSession) ForceDeployOnAddress

func (_ContractDeployer *ContractDeployerSession) ForceDeployOnAddress(_deployment ContractDeployerForceDeployment, _sender common.Address) (*types.Transaction, error)

ForceDeployOnAddress is a paid mutator transaction binding the contract method 0xf3385fb6.

Solidity: function forceDeployOnAddress((bytes32,address,bool,uint256,bytes) _deployment, address _sender) payable returns()

func (*ContractDeployerSession) ForceDeployOnAddresses

func (_ContractDeployer *ContractDeployerSession) ForceDeployOnAddresses(_deployments []ContractDeployerForceDeployment) (*types.Transaction, error)

ForceDeployOnAddresses is a paid mutator transaction binding the contract method 0xe9f18c17.

Solidity: function forceDeployOnAddresses((bytes32,address,bool,uint256,bytes)[] _deployments) payable returns()

func (*ContractDeployerSession) GetAccountInfo

func (_ContractDeployer *ContractDeployerSession) GetAccountInfo(_address common.Address) (IContractDeployerAccountInfo, error)

GetAccountInfo is a free data retrieval call binding the contract method 0x7b510fe8.

Solidity: function getAccountInfo(address _address) view returns((uint8,uint8) info)

func (*ContractDeployerSession) GetNewAddressCreate

func (_ContractDeployer *ContractDeployerSession) GetNewAddressCreate(_sender common.Address, _senderNonce *big.Int) (common.Address, error)

GetNewAddressCreate is a free data retrieval call binding the contract method 0x187598a5.

Solidity: function getNewAddressCreate(address _sender, uint256 _senderNonce) pure returns(address newAddress)

func (*ContractDeployerSession) GetNewAddressCreate2

func (_ContractDeployer *ContractDeployerSession) GetNewAddressCreate2(_sender common.Address, _bytecodeHash [32]byte, _salt [32]byte, _input []byte) (common.Address, error)

GetNewAddressCreate2 is a free data retrieval call binding the contract method 0x84da1fb4.

Solidity: function getNewAddressCreate2(address _sender, bytes32 _bytecodeHash, bytes32 _salt, bytes _input) view returns(address newAddress)

func (*ContractDeployerSession) UpdateAccountVersion

func (_ContractDeployer *ContractDeployerSession) UpdateAccountVersion(_version uint8) (*types.Transaction, error)

UpdateAccountVersion is a paid mutator transaction binding the contract method 0x57180981.

Solidity: function updateAccountVersion(uint8 _version) returns()

func (*ContractDeployerSession) UpdateNonceOrdering

func (_ContractDeployer *ContractDeployerSession) UpdateNonceOrdering(_nonceOrdering uint8) (*types.Transaction, error)

UpdateNonceOrdering is a paid mutator transaction binding the contract method 0xec8067c7.

Solidity: function updateNonceOrdering(uint8 _nonceOrdering) returns()

type ContractDeployerTransactor

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

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

func NewContractDeployerTransactor

func NewContractDeployerTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractDeployerTransactor, error)

NewContractDeployerTransactor creates a new write-only instance of ContractDeployer, bound to a specific deployed contract.

func (*ContractDeployerTransactor) Create

func (_ContractDeployer *ContractDeployerTransactor) Create(opts *bind.TransactOpts, _salt [32]byte, _bytecodeHash [32]byte, _input []byte) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x9c4d535b.

Solidity: function create(bytes32 _salt, bytes32 _bytecodeHash, bytes _input) payable returns(address)

func (*ContractDeployerTransactor) Create2

func (_ContractDeployer *ContractDeployerTransactor) Create2(opts *bind.TransactOpts, _salt [32]byte, _bytecodeHash [32]byte, _input []byte) (*types.Transaction, error)

Create2 is a paid mutator transaction binding the contract method 0x3cda3351.

Solidity: function create2(bytes32 _salt, bytes32 _bytecodeHash, bytes _input) payable returns(address)

func (*ContractDeployerTransactor) Create2Account

func (_ContractDeployer *ContractDeployerTransactor) Create2Account(opts *bind.TransactOpts, _salt [32]byte, _bytecodeHash [32]byte, _input []byte, _aaVersion uint8) (*types.Transaction, error)

Create2Account is a paid mutator transaction binding the contract method 0x5d382700.

Solidity: function create2Account(bytes32 _salt, bytes32 _bytecodeHash, bytes _input, uint8 _aaVersion) payable returns(address)

func (*ContractDeployerTransactor) CreateAccount

func (_ContractDeployer *ContractDeployerTransactor) CreateAccount(opts *bind.TransactOpts, arg0 [32]byte, _bytecodeHash [32]byte, _input []byte, _aaVersion uint8) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0xecf95b8a.

Solidity: function createAccount(bytes32 , bytes32 _bytecodeHash, bytes _input, uint8 _aaVersion) payable returns(address)

func (*ContractDeployerTransactor) ForceDeployOnAddress

func (_ContractDeployer *ContractDeployerTransactor) ForceDeployOnAddress(opts *bind.TransactOpts, _deployment ContractDeployerForceDeployment, _sender common.Address) (*types.Transaction, error)

ForceDeployOnAddress is a paid mutator transaction binding the contract method 0xf3385fb6.

Solidity: function forceDeployOnAddress((bytes32,address,bool,uint256,bytes) _deployment, address _sender) payable returns()

func (*ContractDeployerTransactor) ForceDeployOnAddresses

func (_ContractDeployer *ContractDeployerTransactor) ForceDeployOnAddresses(opts *bind.TransactOpts, _deployments []ContractDeployerForceDeployment) (*types.Transaction, error)

ForceDeployOnAddresses is a paid mutator transaction binding the contract method 0xe9f18c17.

Solidity: function forceDeployOnAddresses((bytes32,address,bool,uint256,bytes)[] _deployments) payable returns()

func (*ContractDeployerTransactor) UpdateAccountVersion

func (_ContractDeployer *ContractDeployerTransactor) UpdateAccountVersion(opts *bind.TransactOpts, _version uint8) (*types.Transaction, error)

UpdateAccountVersion is a paid mutator transaction binding the contract method 0x57180981.

Solidity: function updateAccountVersion(uint8 _version) returns()

func (*ContractDeployerTransactor) UpdateNonceOrdering

func (_ContractDeployer *ContractDeployerTransactor) UpdateNonceOrdering(opts *bind.TransactOpts, _nonceOrdering uint8) (*types.Transaction, error)

UpdateNonceOrdering is a paid mutator transaction binding the contract method 0xec8067c7.

Solidity: function updateNonceOrdering(uint8 _nonceOrdering) returns()

type ContractDeployerTransactorRaw

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

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

func (*ContractDeployerTransactorRaw) Transact

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

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

func (*ContractDeployerTransactorRaw) Transfer

func (_ContractDeployer *ContractDeployerTransactorRaw) 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 ContractDeployerTransactorSession

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

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

func (*ContractDeployerTransactorSession) Create

func (_ContractDeployer *ContractDeployerTransactorSession) Create(_salt [32]byte, _bytecodeHash [32]byte, _input []byte) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x9c4d535b.

Solidity: function create(bytes32 _salt, bytes32 _bytecodeHash, bytes _input) payable returns(address)

func (*ContractDeployerTransactorSession) Create2

func (_ContractDeployer *ContractDeployerTransactorSession) Create2(_salt [32]byte, _bytecodeHash [32]byte, _input []byte) (*types.Transaction, error)

Create2 is a paid mutator transaction binding the contract method 0x3cda3351.

Solidity: function create2(bytes32 _salt, bytes32 _bytecodeHash, bytes _input) payable returns(address)

func (*ContractDeployerTransactorSession) Create2Account

func (_ContractDeployer *ContractDeployerTransactorSession) Create2Account(_salt [32]byte, _bytecodeHash [32]byte, _input []byte, _aaVersion uint8) (*types.Transaction, error)

Create2Account is a paid mutator transaction binding the contract method 0x5d382700.

Solidity: function create2Account(bytes32 _salt, bytes32 _bytecodeHash, bytes _input, uint8 _aaVersion) payable returns(address)

func (*ContractDeployerTransactorSession) CreateAccount

func (_ContractDeployer *ContractDeployerTransactorSession) CreateAccount(arg0 [32]byte, _bytecodeHash [32]byte, _input []byte, _aaVersion uint8) (*types.Transaction, error)

CreateAccount is a paid mutator transaction binding the contract method 0xecf95b8a.

Solidity: function createAccount(bytes32 , bytes32 _bytecodeHash, bytes _input, uint8 _aaVersion) payable returns(address)

func (*ContractDeployerTransactorSession) ForceDeployOnAddress

func (_ContractDeployer *ContractDeployerTransactorSession) ForceDeployOnAddress(_deployment ContractDeployerForceDeployment, _sender common.Address) (*types.Transaction, error)

ForceDeployOnAddress is a paid mutator transaction binding the contract method 0xf3385fb6.

Solidity: function forceDeployOnAddress((bytes32,address,bool,uint256,bytes) _deployment, address _sender) payable returns()

func (*ContractDeployerTransactorSession) ForceDeployOnAddresses

func (_ContractDeployer *ContractDeployerTransactorSession) ForceDeployOnAddresses(_deployments []ContractDeployerForceDeployment) (*types.Transaction, error)

ForceDeployOnAddresses is a paid mutator transaction binding the contract method 0xe9f18c17.

Solidity: function forceDeployOnAddresses((bytes32,address,bool,uint256,bytes)[] _deployments) payable returns()

func (*ContractDeployerTransactorSession) UpdateAccountVersion

func (_ContractDeployer *ContractDeployerTransactorSession) UpdateAccountVersion(_version uint8) (*types.Transaction, error)

UpdateAccountVersion is a paid mutator transaction binding the contract method 0x57180981.

Solidity: function updateAccountVersion(uint8 _version) returns()

func (*ContractDeployerTransactorSession) UpdateNonceOrdering

func (_ContractDeployer *ContractDeployerTransactorSession) UpdateNonceOrdering(_nonceOrdering uint8) (*types.Transaction, error)

UpdateNonceOrdering is a paid mutator transaction binding the contract method 0xec8067c7.

Solidity: function updateNonceOrdering(uint8 _nonceOrdering) returns()

type IContractDeployerAccountInfo

type IContractDeployerAccountInfo struct {
	SupportedAAVersion uint8
	NonceOrdering      uint8
}

IContractDeployerAccountInfo is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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