Documentation ¶
Index ¶
- Variables
- type LightAccount
- type LightAccountCaller
- func (_LightAccount *LightAccountCaller) Eip712Domain(opts *bind.CallOpts) (struct{ ... }, error)
- func (_LightAccount *LightAccountCaller) EntryPoint(opts *bind.CallOpts) (common.Address, error)
- func (_LightAccount *LightAccountCaller) GetDeposit(opts *bind.CallOpts) (*big.Int, error)
- func (_LightAccount *LightAccountCaller) GetMessageHash(opts *bind.CallOpts, message []byte) ([32]byte, error)
- func (_LightAccount *LightAccountCaller) GetNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_LightAccount *LightAccountCaller) IsValidSignature(opts *bind.CallOpts, hash [32]byte, signature []byte) ([4]byte, error)
- func (_LightAccount *LightAccountCaller) OnERC1155BatchReceived(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, ...) ([4]byte, error)
- func (_LightAccount *LightAccountCaller) OnERC1155Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, ...) ([4]byte, error)
- func (_LightAccount *LightAccountCaller) OnERC721Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, ...) ([4]byte, error)
- func (_LightAccount *LightAccountCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LightAccount *LightAccountCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_LightAccount *LightAccountCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type LightAccountCallerRaw
- type LightAccountCallerSession
- func (_LightAccount *LightAccountCallerSession) Eip712Domain() (struct{ ... }, error)
- func (_LightAccount *LightAccountCallerSession) EntryPoint() (common.Address, error)
- func (_LightAccount *LightAccountCallerSession) GetDeposit() (*big.Int, error)
- func (_LightAccount *LightAccountCallerSession) GetMessageHash(message []byte) ([32]byte, error)
- func (_LightAccount *LightAccountCallerSession) GetNonce() (*big.Int, error)
- func (_LightAccount *LightAccountCallerSession) IsValidSignature(hash [32]byte, signature []byte) ([4]byte, error)
- func (_LightAccount *LightAccountCallerSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) ([4]byte, error)
- func (_LightAccount *LightAccountCallerSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) ([4]byte, error)
- func (_LightAccount *LightAccountCallerSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)
- func (_LightAccount *LightAccountCallerSession) Owner() (common.Address, error)
- func (_LightAccount *LightAccountCallerSession) ProxiableUUID() ([32]byte, error)
- func (_LightAccount *LightAccountCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type LightAccountFactory
- type LightAccountFactoryCaller
- func (_LightAccountFactory *LightAccountFactoryCaller) ACCOUNTIMPLEMENTATION(opts *bind.CallOpts) (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCaller) ENTRYPOINT(opts *bind.CallOpts) (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCaller) GetAddress(opts *bind.CallOpts, owner common.Address, salt *big.Int) (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCaller) RenounceOwnership(opts *bind.CallOpts) error
- type LightAccountFactoryCallerRaw
- type LightAccountFactoryCallerSession
- func (_LightAccountFactory *LightAccountFactoryCallerSession) ACCOUNTIMPLEMENTATION() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCallerSession) ENTRYPOINT() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCallerSession) GetAddress(owner common.Address, salt *big.Int) (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCallerSession) Owner() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCallerSession) PendingOwner() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactoryCallerSession) RenounceOwnership() error
- type LightAccountFactoryFilterer
- func (_LightAccountFactory *LightAccountFactoryFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LightAccountFactoryOwnershipTransferStartedIterator, error)
- func (_LightAccountFactory *LightAccountFactoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LightAccountFactoryOwnershipTransferredIterator, error)
- func (_LightAccountFactory *LightAccountFactoryFilterer) ParseOwnershipTransferStarted(log types.Log) (*LightAccountFactoryOwnershipTransferStarted, error)
- func (_LightAccountFactory *LightAccountFactoryFilterer) ParseOwnershipTransferred(log types.Log) (*LightAccountFactoryOwnershipTransferred, error)
- func (_LightAccountFactory *LightAccountFactoryFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *LightAccountFactoryOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_LightAccountFactory *LightAccountFactoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightAccountFactoryOwnershipTransferred, ...) (event.Subscription, error)
- type LightAccountFactoryOwnershipTransferStarted
- type LightAccountFactoryOwnershipTransferStartedIterator
- type LightAccountFactoryOwnershipTransferred
- type LightAccountFactoryOwnershipTransferredIterator
- type LightAccountFactoryRaw
- func (_LightAccountFactory *LightAccountFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LightAccountFactory *LightAccountFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LightAccountFactorySession
- func (_LightAccountFactory *LightAccountFactorySession) ACCOUNTIMPLEMENTATION() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactorySession) AcceptOwnership() (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactorySession) AddStake(unstakeDelay uint32, amount *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactorySession) CreateAccount(owner common.Address, salt *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactorySession) ENTRYPOINT() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactorySession) GetAddress(owner common.Address, salt *big.Int) (common.Address, error)
- func (_LightAccountFactory *LightAccountFactorySession) Owner() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactorySession) PendingOwner() (common.Address, error)
- func (_LightAccountFactory *LightAccountFactorySession) Receive() (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactorySession) RenounceOwnership() error
- func (_LightAccountFactory *LightAccountFactorySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactorySession) UnlockStake() (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactorySession) Withdraw(to common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactorySession) WithdrawStake(to common.Address) (*types.Transaction, error)
- type LightAccountFactoryTransactor
- func (_LightAccountFactory *LightAccountFactoryTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactor) AddStake(opts *bind.TransactOpts, unstakeDelay uint32, amount *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactor) CreateAccount(opts *bind.TransactOpts, owner common.Address, salt *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactor) UnlockStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactor) Withdraw(opts *bind.TransactOpts, to common.Address, token common.Address, ...) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactor) WithdrawStake(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- type LightAccountFactoryTransactorRaw
- type LightAccountFactoryTransactorSession
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) AddStake(unstakeDelay uint32, amount *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) CreateAccount(owner common.Address, salt *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) Receive() (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) UnlockStake() (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) Withdraw(to common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LightAccountFactory *LightAccountFactoryTransactorSession) WithdrawStake(to common.Address) (*types.Transaction, error)
- type LightAccountFilterer
- func (_LightAccount *LightAccountFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightAccountInitializedIterator, error)
- func (_LightAccount *LightAccountFilterer) FilterLightAccountInitialized(opts *bind.FilterOpts, entryPoint []common.Address, owner []common.Address) (*LightAccountLightAccountInitializedIterator, error)
- func (_LightAccount *LightAccountFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LightAccountOwnershipTransferredIterator, error)
- func (_LightAccount *LightAccountFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*LightAccountUpgradedIterator, error)
- func (_LightAccount *LightAccountFilterer) ParseInitialized(log types.Log) (*LightAccountInitialized, error)
- func (_LightAccount *LightAccountFilterer) ParseLightAccountInitialized(log types.Log) (*LightAccountLightAccountInitialized, error)
- func (_LightAccount *LightAccountFilterer) ParseOwnershipTransferred(log types.Log) (*LightAccountOwnershipTransferred, error)
- func (_LightAccount *LightAccountFilterer) ParseUpgraded(log types.Log) (*LightAccountUpgraded, error)
- func (_LightAccount *LightAccountFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightAccountInitialized) (event.Subscription, error)
- func (_LightAccount *LightAccountFilterer) WatchLightAccountInitialized(opts *bind.WatchOpts, sink chan<- *LightAccountLightAccountInitialized, ...) (event.Subscription, error)
- func (_LightAccount *LightAccountFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightAccountOwnershipTransferred, ...) (event.Subscription, error)
- func (_LightAccount *LightAccountFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *LightAccountUpgraded, ...) (event.Subscription, error)
- type LightAccountInitialized
- type LightAccountInitializedIterator
- type LightAccountLightAccountInitialized
- type LightAccountLightAccountInitializedIterator
- type LightAccountOwnershipTransferred
- type LightAccountOwnershipTransferredIterator
- type LightAccountRaw
- func (_LightAccount *LightAccountRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LightAccount *LightAccountRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LightAccount *LightAccountRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LightAccountSession
- func (_LightAccount *LightAccountSession) AddDeposit() (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) Eip712Domain() (struct{ ... }, error)
- func (_LightAccount *LightAccountSession) EntryPoint() (common.Address, error)
- func (_LightAccount *LightAccountSession) Execute(dest common.Address, value *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) ExecuteBatch(dest []common.Address, arg1 [][]byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) ExecuteBatch0(dest []common.Address, value []*big.Int, arg2 [][]byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) GetDeposit() (*big.Int, error)
- func (_LightAccount *LightAccountSession) GetMessageHash(message []byte) ([32]byte, error)
- func (_LightAccount *LightAccountSession) GetNonce() (*big.Int, error)
- func (_LightAccount *LightAccountSession) Initialize(owner_ common.Address) (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) IsValidSignature(hash [32]byte, signature []byte) ([4]byte, error)
- func (_LightAccount *LightAccountSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) ([4]byte, error)
- func (_LightAccount *LightAccountSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) ([4]byte, error)
- func (_LightAccount *LightAccountSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)
- func (_LightAccount *LightAccountSession) Owner() (common.Address, error)
- func (_LightAccount *LightAccountSession) ProxiableUUID() ([32]byte, error)
- func (_LightAccount *LightAccountSession) Receive() (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_LightAccount *LightAccountSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) ValidateUserOp(userOp PackedUserOperation, userOpHash [32]byte, missingAccountFunds *big.Int) (*types.Transaction, error)
- func (_LightAccount *LightAccountSession) WithdrawDepositTo(withdrawAddress common.Address, amount *big.Int) (*types.Transaction, error)
- type LightAccountTransactor
- func (_LightAccount *LightAccountTransactor) AddDeposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) Execute(opts *bind.TransactOpts, dest common.Address, value *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) ExecuteBatch(opts *bind.TransactOpts, dest []common.Address, arg1 [][]byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) ExecuteBatch0(opts *bind.TransactOpts, dest []common.Address, value []*big.Int, ...) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) Initialize(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) ValidateUserOp(opts *bind.TransactOpts, userOp PackedUserOperation, userOpHash [32]byte, ...) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactor) WithdrawDepositTo(opts *bind.TransactOpts, withdrawAddress common.Address, amount *big.Int) (*types.Transaction, error)
- type LightAccountTransactorRaw
- type LightAccountTransactorSession
- func (_LightAccount *LightAccountTransactorSession) AddDeposit() (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) Execute(dest common.Address, value *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) ExecuteBatch(dest []common.Address, arg1 [][]byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) ExecuteBatch0(dest []common.Address, value []*big.Int, arg2 [][]byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) Initialize(owner_ common.Address) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) Receive() (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) ValidateUserOp(userOp PackedUserOperation, userOpHash [32]byte, missingAccountFunds *big.Int) (*types.Transaction, error)
- func (_LightAccount *LightAccountTransactorSession) WithdrawDepositTo(withdrawAddress common.Address, amount *big.Int) (*types.Transaction, error)
- type LightAccountUpgraded
- type LightAccountUpgradedIterator
- type PackedUserOperation
Constants ¶
This section is empty.
Variables ¶
var LightAccountABI = LightAccountMetaData.ABI
LightAccountABI is the input ABI used to generate the binding from. Deprecated: Use LightAccountMetaData.ABI instead.
var LightAccountFactoryABI = LightAccountFactoryMetaData.ABI
LightAccountFactoryABI is the input ABI used to generate the binding from. Deprecated: Use LightAccountFactoryMetaData.ABI instead.
var LightAccountFactoryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"contractIEntryPoint\",\"name\":\"entryPoint\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAction\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"entryPoint\",\"type\":\"address\"}],\"name\":\"InvalidEntryPoint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddressNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ACCOUNT_IMPLEMENTATION\",\"outputs\":[{\"internalType\":\"contractLightAccount\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ENTRY_POINT\",\"outputs\":[{\"internalType\":\"contractIEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"unstakeDelay\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"}],\"name\":\"createAccount\",\"outputs\":[{\"internalType\":\"contractLightAccount\",\"name\":\"account\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"}],\"name\":\"getAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
LightAccountFactoryMetaData contains all meta data concerning the LightAccountFactory contract.
var LightAccountMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIEntryPoint\",\"name\":\"entryPoint_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ArrayLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"InvalidOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"NotAuthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpgradeFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddressNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIEntryPoint\",\"name\":\"entryPoint\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"LightAccountInitialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entryPoint\",\"outputs\":[{\"internalType\":\"contractIEntryPoint\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dest\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"func\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"dest\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"func\",\"type\":\"bytes[]\"}],\"name\":\"executeBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"dest\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"value\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"func\",\"type\":\"bytes[]\"}],\"name\":\"executeBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"getMessageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"accountGasLimits\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"gasFees\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structPackedUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"missingAccountFunds\",\"type\":\"uint256\"}],\"name\":\"validateUserOp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"validationData\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawDepositTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
LightAccountMetaData contains all meta data concerning the LightAccount contract.
Functions ¶
This section is empty.
Types ¶
type LightAccount ¶
type LightAccount struct { LightAccountCaller // Read-only binding to the contract LightAccountTransactor // Write-only binding to the contract LightAccountFilterer // Log filterer for contract events }
LightAccount is an auto generated Go binding around an Ethereum contract.
func NewLightAccount ¶
func NewLightAccount(address common.Address, backend bind.ContractBackend) (*LightAccount, error)
NewLightAccount creates a new instance of LightAccount, bound to a specific deployed contract.
type LightAccountCaller ¶
type LightAccountCaller struct {
// contains filtered or unexported fields
}
LightAccountCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLightAccountCaller ¶
func NewLightAccountCaller(address common.Address, caller bind.ContractCaller) (*LightAccountCaller, error)
NewLightAccountCaller creates a new read-only instance of LightAccount, bound to a specific deployed contract.
func (*LightAccountCaller) Eip712Domain ¶
func (_LightAccount *LightAccountCaller) Eip712Domain(opts *bind.CallOpts) (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*LightAccountCaller) EntryPoint ¶
EntryPoint is a free data retrieval call binding the contract method 0xb0d691fe.
Solidity: function entryPoint() view returns(address)
func (*LightAccountCaller) GetDeposit ¶
GetDeposit is a free data retrieval call binding the contract method 0xc399ec88.
Solidity: function getDeposit() view returns(uint256)
func (*LightAccountCaller) GetMessageHash ¶
func (_LightAccount *LightAccountCaller) GetMessageHash(opts *bind.CallOpts, message []byte) ([32]byte, error)
GetMessageHash is a free data retrieval call binding the contract method 0x0a1028c4.
Solidity: function getMessageHash(bytes message) view returns(bytes32)
func (*LightAccountCaller) GetNonce ¶
GetNonce is a free data retrieval call binding the contract method 0xd087d288.
Solidity: function getNonce() view returns(uint256)
func (*LightAccountCaller) IsValidSignature ¶
func (_LightAccount *LightAccountCaller) IsValidSignature(opts *bind.CallOpts, hash [32]byte, signature []byte) ([4]byte, error)
IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
Solidity: function isValidSignature(bytes32 hash, bytes signature) view returns(bytes4)
func (*LightAccountCaller) OnERC1155BatchReceived ¶
func (_LightAccount *LightAccountCaller) OnERC1155BatchReceived(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)
OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) pure returns(bytes4)
func (*LightAccountCaller) OnERC1155Received ¶
func (_LightAccount *LightAccountCaller) OnERC1155Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)
OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) pure returns(bytes4)
func (*LightAccountCaller) OnERC721Received ¶
func (_LightAccount *LightAccountCaller) OnERC721Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)
OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) pure returns(bytes4)
func (*LightAccountCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightAccountCaller) ProxiableUUID ¶
func (_LightAccount *LightAccountCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightAccountCaller) SupportsInterface ¶
func (_LightAccount *LightAccountCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type LightAccountCallerRaw ¶
type LightAccountCallerRaw struct {
Contract *LightAccountCaller // Generic read-only contract binding to access the raw methods on
}
LightAccountCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LightAccountCallerRaw) Call ¶
func (_LightAccount *LightAccountCallerRaw) 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 LightAccountCallerSession ¶
type LightAccountCallerSession struct { Contract *LightAccountCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LightAccountCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LightAccountCallerSession) Eip712Domain ¶
func (_LightAccount *LightAccountCallerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*LightAccountCallerSession) EntryPoint ¶
func (_LightAccount *LightAccountCallerSession) EntryPoint() (common.Address, error)
EntryPoint is a free data retrieval call binding the contract method 0xb0d691fe.
Solidity: function entryPoint() view returns(address)
func (*LightAccountCallerSession) GetDeposit ¶
func (_LightAccount *LightAccountCallerSession) GetDeposit() (*big.Int, error)
GetDeposit is a free data retrieval call binding the contract method 0xc399ec88.
Solidity: function getDeposit() view returns(uint256)
func (*LightAccountCallerSession) GetMessageHash ¶
func (_LightAccount *LightAccountCallerSession) GetMessageHash(message []byte) ([32]byte, error)
GetMessageHash is a free data retrieval call binding the contract method 0x0a1028c4.
Solidity: function getMessageHash(bytes message) view returns(bytes32)
func (*LightAccountCallerSession) GetNonce ¶
func (_LightAccount *LightAccountCallerSession) GetNonce() (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0xd087d288.
Solidity: function getNonce() view returns(uint256)
func (*LightAccountCallerSession) IsValidSignature ¶
func (_LightAccount *LightAccountCallerSession) IsValidSignature(hash [32]byte, signature []byte) ([4]byte, error)
IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
Solidity: function isValidSignature(bytes32 hash, bytes signature) view returns(bytes4)
func (*LightAccountCallerSession) OnERC1155BatchReceived ¶
func (_LightAccount *LightAccountCallerSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)
OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) pure returns(bytes4)
func (*LightAccountCallerSession) OnERC1155Received ¶
func (_LightAccount *LightAccountCallerSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)
OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) pure returns(bytes4)
func (*LightAccountCallerSession) OnERC721Received ¶
func (_LightAccount *LightAccountCallerSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)
OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) pure returns(bytes4)
func (*LightAccountCallerSession) Owner ¶
func (_LightAccount *LightAccountCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightAccountCallerSession) ProxiableUUID ¶
func (_LightAccount *LightAccountCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightAccountCallerSession) SupportsInterface ¶
func (_LightAccount *LightAccountCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type LightAccountFactory ¶
type LightAccountFactory struct { LightAccountFactoryCaller // Read-only binding to the contract LightAccountFactoryTransactor // Write-only binding to the contract LightAccountFactoryFilterer // Log filterer for contract events }
LightAccountFactory is an auto generated Go binding around an Ethereum contract.
func NewLightAccountFactory ¶
func NewLightAccountFactory(address common.Address, backend bind.ContractBackend) (*LightAccountFactory, error)
NewLightAccountFactory creates a new instance of LightAccountFactory, bound to a specific deployed contract.
type LightAccountFactoryCaller ¶
type LightAccountFactoryCaller struct {
// contains filtered or unexported fields
}
LightAccountFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLightAccountFactoryCaller ¶
func NewLightAccountFactoryCaller(address common.Address, caller bind.ContractCaller) (*LightAccountFactoryCaller, error)
NewLightAccountFactoryCaller creates a new read-only instance of LightAccountFactory, bound to a specific deployed contract.
func (*LightAccountFactoryCaller) ACCOUNTIMPLEMENTATION ¶
func (_LightAccountFactory *LightAccountFactoryCaller) ACCOUNTIMPLEMENTATION(opts *bind.CallOpts) (common.Address, error)
ACCOUNTIMPLEMENTATION is a free data retrieval call binding the contract method 0x290ab984.
Solidity: function ACCOUNT_IMPLEMENTATION() view returns(address)
func (*LightAccountFactoryCaller) ENTRYPOINT ¶
func (_LightAccountFactory *LightAccountFactoryCaller) ENTRYPOINT(opts *bind.CallOpts) (common.Address, error)
ENTRYPOINT is a free data retrieval call binding the contract method 0x94430fa5.
Solidity: function ENTRY_POINT() view returns(address)
func (*LightAccountFactoryCaller) GetAddress ¶
func (_LightAccountFactory *LightAccountFactoryCaller) GetAddress(opts *bind.CallOpts, owner common.Address, salt *big.Int) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x8cb84e18.
Solidity: function getAddress(address owner, uint256 salt) view returns(address)
func (*LightAccountFactoryCaller) Owner ¶
func (_LightAccountFactory *LightAccountFactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightAccountFactoryCaller) PendingOwner ¶
func (_LightAccountFactory *LightAccountFactoryCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*LightAccountFactoryCaller) RenounceOwnership ¶
func (_LightAccountFactory *LightAccountFactoryCaller) RenounceOwnership(opts *bind.CallOpts) error
RenounceOwnership is a free data retrieval call binding the contract method 0x715018a6.
Solidity: function renounceOwnership() view returns()
type LightAccountFactoryCallerRaw ¶
type LightAccountFactoryCallerRaw struct {
Contract *LightAccountFactoryCaller // Generic read-only contract binding to access the raw methods on
}
LightAccountFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LightAccountFactoryCallerRaw) Call ¶
func (_LightAccountFactory *LightAccountFactoryCallerRaw) 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 LightAccountFactoryCallerSession ¶
type LightAccountFactoryCallerSession struct { Contract *LightAccountFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LightAccountFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LightAccountFactoryCallerSession) ACCOUNTIMPLEMENTATION ¶
func (_LightAccountFactory *LightAccountFactoryCallerSession) ACCOUNTIMPLEMENTATION() (common.Address, error)
ACCOUNTIMPLEMENTATION is a free data retrieval call binding the contract method 0x290ab984.
Solidity: function ACCOUNT_IMPLEMENTATION() view returns(address)
func (*LightAccountFactoryCallerSession) ENTRYPOINT ¶
func (_LightAccountFactory *LightAccountFactoryCallerSession) ENTRYPOINT() (common.Address, error)
ENTRYPOINT is a free data retrieval call binding the contract method 0x94430fa5.
Solidity: function ENTRY_POINT() view returns(address)
func (*LightAccountFactoryCallerSession) GetAddress ¶
func (_LightAccountFactory *LightAccountFactoryCallerSession) GetAddress(owner common.Address, salt *big.Int) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x8cb84e18.
Solidity: function getAddress(address owner, uint256 salt) view returns(address)
func (*LightAccountFactoryCallerSession) Owner ¶
func (_LightAccountFactory *LightAccountFactoryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightAccountFactoryCallerSession) PendingOwner ¶
func (_LightAccountFactory *LightAccountFactoryCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*LightAccountFactoryCallerSession) RenounceOwnership ¶
func (_LightAccountFactory *LightAccountFactoryCallerSession) RenounceOwnership() error
RenounceOwnership is a free data retrieval call binding the contract method 0x715018a6.
Solidity: function renounceOwnership() view returns()
type LightAccountFactoryFilterer ¶
type LightAccountFactoryFilterer struct {
// contains filtered or unexported fields
}
LightAccountFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLightAccountFactoryFilterer ¶
func NewLightAccountFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*LightAccountFactoryFilterer, error)
NewLightAccountFactoryFilterer creates a new log filterer instance of LightAccountFactory, bound to a specific deployed contract.
func (*LightAccountFactoryFilterer) FilterOwnershipTransferStarted ¶
func (_LightAccountFactory *LightAccountFactoryFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LightAccountFactoryOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFactoryFilterer) FilterOwnershipTransferred ¶
func (_LightAccountFactory *LightAccountFactoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LightAccountFactoryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFactoryFilterer) ParseOwnershipTransferStarted ¶
func (_LightAccountFactory *LightAccountFactoryFilterer) ParseOwnershipTransferStarted(log types.Log) (*LightAccountFactoryOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFactoryFilterer) ParseOwnershipTransferred ¶
func (_LightAccountFactory *LightAccountFactoryFilterer) ParseOwnershipTransferred(log types.Log) (*LightAccountFactoryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFactoryFilterer) WatchOwnershipTransferStarted ¶
func (_LightAccountFactory *LightAccountFactoryFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *LightAccountFactoryOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFactoryFilterer) WatchOwnershipTransferred ¶
func (_LightAccountFactory *LightAccountFactoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightAccountFactoryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type LightAccountFactoryOwnershipTransferStarted ¶
type LightAccountFactoryOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LightAccountFactoryOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the LightAccountFactory contract.
type LightAccountFactoryOwnershipTransferStartedIterator ¶
type LightAccountFactoryOwnershipTransferStartedIterator struct { Event *LightAccountFactoryOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightAccountFactoryOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the LightAccountFactory contract.
func (*LightAccountFactoryOwnershipTransferStartedIterator) Close ¶
func (it *LightAccountFactoryOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightAccountFactoryOwnershipTransferStartedIterator) Error ¶
func (it *LightAccountFactoryOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightAccountFactoryOwnershipTransferStartedIterator) Next ¶
func (it *LightAccountFactoryOwnershipTransferStartedIterator) Next() bool
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 LightAccountFactoryOwnershipTransferred ¶
type LightAccountFactoryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LightAccountFactoryOwnershipTransferred represents a OwnershipTransferred event raised by the LightAccountFactory contract.
type LightAccountFactoryOwnershipTransferredIterator ¶
type LightAccountFactoryOwnershipTransferredIterator struct { Event *LightAccountFactoryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightAccountFactoryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LightAccountFactory contract.
func (*LightAccountFactoryOwnershipTransferredIterator) Close ¶
func (it *LightAccountFactoryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightAccountFactoryOwnershipTransferredIterator) Error ¶
func (it *LightAccountFactoryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightAccountFactoryOwnershipTransferredIterator) Next ¶
func (it *LightAccountFactoryOwnershipTransferredIterator) Next() bool
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 LightAccountFactoryRaw ¶
type LightAccountFactoryRaw struct {
Contract *LightAccountFactory // Generic contract binding to access the raw methods on
}
LightAccountFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LightAccountFactoryRaw) Call ¶
func (_LightAccountFactory *LightAccountFactoryRaw) 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 (*LightAccountFactoryRaw) Transact ¶
func (_LightAccountFactory *LightAccountFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightAccountFactoryRaw) Transfer ¶
func (_LightAccountFactory *LightAccountFactoryRaw) 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 LightAccountFactorySession ¶
type LightAccountFactorySession struct { Contract *LightAccountFactory // 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 }
LightAccountFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LightAccountFactorySession) ACCOUNTIMPLEMENTATION ¶
func (_LightAccountFactory *LightAccountFactorySession) ACCOUNTIMPLEMENTATION() (common.Address, error)
ACCOUNTIMPLEMENTATION is a free data retrieval call binding the contract method 0x290ab984.
Solidity: function ACCOUNT_IMPLEMENTATION() view returns(address)
func (*LightAccountFactorySession) AcceptOwnership ¶
func (_LightAccountFactory *LightAccountFactorySession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*LightAccountFactorySession) AddStake ¶
func (_LightAccountFactory *LightAccountFactorySession) AddStake(unstakeDelay uint32, amount *big.Int) (*types.Transaction, error)
AddStake is a paid mutator transaction binding the contract method 0xfbb1c3d4.
Solidity: function addStake(uint32 unstakeDelay, uint256 amount) payable returns()
func (*LightAccountFactorySession) CreateAccount ¶
func (_LightAccountFactory *LightAccountFactorySession) CreateAccount(owner common.Address, salt *big.Int) (*types.Transaction, error)
CreateAccount is a paid mutator transaction binding the contract method 0x5fbfb9cf.
Solidity: function createAccount(address owner, uint256 salt) returns(address account)
func (*LightAccountFactorySession) ENTRYPOINT ¶
func (_LightAccountFactory *LightAccountFactorySession) ENTRYPOINT() (common.Address, error)
ENTRYPOINT is a free data retrieval call binding the contract method 0x94430fa5.
Solidity: function ENTRY_POINT() view returns(address)
func (*LightAccountFactorySession) GetAddress ¶
func (_LightAccountFactory *LightAccountFactorySession) GetAddress(owner common.Address, salt *big.Int) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x8cb84e18.
Solidity: function getAddress(address owner, uint256 salt) view returns(address)
func (*LightAccountFactorySession) Owner ¶
func (_LightAccountFactory *LightAccountFactorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightAccountFactorySession) PendingOwner ¶
func (_LightAccountFactory *LightAccountFactorySession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*LightAccountFactorySession) Receive ¶
func (_LightAccountFactory *LightAccountFactorySession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*LightAccountFactorySession) RenounceOwnership ¶
func (_LightAccountFactory *LightAccountFactorySession) RenounceOwnership() error
RenounceOwnership is a free data retrieval call binding the contract method 0x715018a6.
Solidity: function renounceOwnership() view returns()
func (*LightAccountFactorySession) TransferOwnership ¶
func (_LightAccountFactory *LightAccountFactorySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightAccountFactorySession) UnlockStake ¶
func (_LightAccountFactory *LightAccountFactorySession) UnlockStake() (*types.Transaction, error)
UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.
Solidity: function unlockStake() returns()
func (*LightAccountFactorySession) Withdraw ¶
func (_LightAccountFactory *LightAccountFactorySession) Withdraw(to common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address to, address token, uint256 amount) returns()
func (*LightAccountFactorySession) WithdrawStake ¶
func (_LightAccountFactory *LightAccountFactorySession) WithdrawStake(to common.Address) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.
Solidity: function withdrawStake(address to) returns()
type LightAccountFactoryTransactor ¶
type LightAccountFactoryTransactor struct {
// contains filtered or unexported fields
}
LightAccountFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLightAccountFactoryTransactor ¶
func NewLightAccountFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*LightAccountFactoryTransactor, error)
NewLightAccountFactoryTransactor creates a new write-only instance of LightAccountFactory, bound to a specific deployed contract.
func (*LightAccountFactoryTransactor) AcceptOwnership ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*LightAccountFactoryTransactor) AddStake ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) AddStake(opts *bind.TransactOpts, unstakeDelay uint32, amount *big.Int) (*types.Transaction, error)
AddStake is a paid mutator transaction binding the contract method 0xfbb1c3d4.
Solidity: function addStake(uint32 unstakeDelay, uint256 amount) payable returns()
func (*LightAccountFactoryTransactor) CreateAccount ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) CreateAccount(opts *bind.TransactOpts, owner common.Address, salt *big.Int) (*types.Transaction, error)
CreateAccount is a paid mutator transaction binding the contract method 0x5fbfb9cf.
Solidity: function createAccount(address owner, uint256 salt) returns(address account)
func (*LightAccountFactoryTransactor) Receive ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*LightAccountFactoryTransactor) TransferOwnership ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightAccountFactoryTransactor) UnlockStake ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) UnlockStake(opts *bind.TransactOpts) (*types.Transaction, error)
UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.
Solidity: function unlockStake() returns()
func (*LightAccountFactoryTransactor) Withdraw ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) Withdraw(opts *bind.TransactOpts, to common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address to, address token, uint256 amount) returns()
func (*LightAccountFactoryTransactor) WithdrawStake ¶
func (_LightAccountFactory *LightAccountFactoryTransactor) WithdrawStake(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.
Solidity: function withdrawStake(address to) returns()
type LightAccountFactoryTransactorRaw ¶
type LightAccountFactoryTransactorRaw struct {
Contract *LightAccountFactoryTransactor // Generic write-only contract binding to access the raw methods on
}
LightAccountFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LightAccountFactoryTransactorRaw) Transact ¶
func (_LightAccountFactory *LightAccountFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightAccountFactoryTransactorRaw) Transfer ¶
func (_LightAccountFactory *LightAccountFactoryTransactorRaw) 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 LightAccountFactoryTransactorSession ¶
type LightAccountFactoryTransactorSession struct { Contract *LightAccountFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightAccountFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LightAccountFactoryTransactorSession) AcceptOwnership ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*LightAccountFactoryTransactorSession) AddStake ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) AddStake(unstakeDelay uint32, amount *big.Int) (*types.Transaction, error)
AddStake is a paid mutator transaction binding the contract method 0xfbb1c3d4.
Solidity: function addStake(uint32 unstakeDelay, uint256 amount) payable returns()
func (*LightAccountFactoryTransactorSession) CreateAccount ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) CreateAccount(owner common.Address, salt *big.Int) (*types.Transaction, error)
CreateAccount is a paid mutator transaction binding the contract method 0x5fbfb9cf.
Solidity: function createAccount(address owner, uint256 salt) returns(address account)
func (*LightAccountFactoryTransactorSession) Receive ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*LightAccountFactoryTransactorSession) TransferOwnership ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightAccountFactoryTransactorSession) UnlockStake ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) UnlockStake() (*types.Transaction, error)
UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.
Solidity: function unlockStake() returns()
func (*LightAccountFactoryTransactorSession) Withdraw ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) Withdraw(to common.Address, token common.Address, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address to, address token, uint256 amount) returns()
func (*LightAccountFactoryTransactorSession) WithdrawStake ¶
func (_LightAccountFactory *LightAccountFactoryTransactorSession) WithdrawStake(to common.Address) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.
Solidity: function withdrawStake(address to) returns()
type LightAccountFilterer ¶
type LightAccountFilterer struct {
// contains filtered or unexported fields
}
LightAccountFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLightAccountFilterer ¶
func NewLightAccountFilterer(address common.Address, filterer bind.ContractFilterer) (*LightAccountFilterer, error)
NewLightAccountFilterer creates a new log filterer instance of LightAccount, bound to a specific deployed contract.
func (*LightAccountFilterer) FilterInitialized ¶
func (_LightAccount *LightAccountFilterer) FilterInitialized(opts *bind.FilterOpts) (*LightAccountInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*LightAccountFilterer) FilterLightAccountInitialized ¶
func (_LightAccount *LightAccountFilterer) FilterLightAccountInitialized(opts *bind.FilterOpts, entryPoint []common.Address, owner []common.Address) (*LightAccountLightAccountInitializedIterator, error)
FilterLightAccountInitialized is a free log retrieval operation binding the contract event 0xec6a23b49d2c363d250c9dda15610e835d428207d15ddb36a6c230e37371ddf1.
Solidity: event LightAccountInitialized(address indexed entryPoint, address indexed owner)
func (*LightAccountFilterer) FilterOwnershipTransferred ¶
func (_LightAccount *LightAccountFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LightAccountOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFilterer) FilterUpgraded ¶
func (_LightAccount *LightAccountFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*LightAccountUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*LightAccountFilterer) ParseInitialized ¶
func (_LightAccount *LightAccountFilterer) ParseInitialized(log types.Log) (*LightAccountInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*LightAccountFilterer) ParseLightAccountInitialized ¶
func (_LightAccount *LightAccountFilterer) ParseLightAccountInitialized(log types.Log) (*LightAccountLightAccountInitialized, error)
ParseLightAccountInitialized is a log parse operation binding the contract event 0xec6a23b49d2c363d250c9dda15610e835d428207d15ddb36a6c230e37371ddf1.
Solidity: event LightAccountInitialized(address indexed entryPoint, address indexed owner)
func (*LightAccountFilterer) ParseOwnershipTransferred ¶
func (_LightAccount *LightAccountFilterer) ParseOwnershipTransferred(log types.Log) (*LightAccountOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFilterer) ParseUpgraded ¶
func (_LightAccount *LightAccountFilterer) ParseUpgraded(log types.Log) (*LightAccountUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*LightAccountFilterer) WatchInitialized ¶
func (_LightAccount *LightAccountFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *LightAccountInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*LightAccountFilterer) WatchLightAccountInitialized ¶
func (_LightAccount *LightAccountFilterer) WatchLightAccountInitialized(opts *bind.WatchOpts, sink chan<- *LightAccountLightAccountInitialized, entryPoint []common.Address, owner []common.Address) (event.Subscription, error)
WatchLightAccountInitialized is a free log subscription operation binding the contract event 0xec6a23b49d2c363d250c9dda15610e835d428207d15ddb36a6c230e37371ddf1.
Solidity: event LightAccountInitialized(address indexed entryPoint, address indexed owner)
func (*LightAccountFilterer) WatchOwnershipTransferred ¶
func (_LightAccount *LightAccountFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LightAccountOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LightAccountFilterer) WatchUpgraded ¶
func (_LightAccount *LightAccountFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *LightAccountUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type LightAccountInitialized ¶
type LightAccountInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
LightAccountInitialized represents a Initialized event raised by the LightAccount contract.
type LightAccountInitializedIterator ¶
type LightAccountInitializedIterator struct { Event *LightAccountInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightAccountInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the LightAccount contract.
func (*LightAccountInitializedIterator) Close ¶
func (it *LightAccountInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightAccountInitializedIterator) Error ¶
func (it *LightAccountInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightAccountInitializedIterator) Next ¶
func (it *LightAccountInitializedIterator) Next() bool
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 LightAccountLightAccountInitialized ¶
type LightAccountLightAccountInitialized struct { EntryPoint common.Address Owner common.Address Raw types.Log // Blockchain specific contextual infos }
LightAccountLightAccountInitialized represents a LightAccountInitialized event raised by the LightAccount contract.
type LightAccountLightAccountInitializedIterator ¶
type LightAccountLightAccountInitializedIterator struct { Event *LightAccountLightAccountInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightAccountLightAccountInitializedIterator is returned from FilterLightAccountInitialized and is used to iterate over the raw logs and unpacked data for LightAccountInitialized events raised by the LightAccount contract.
func (*LightAccountLightAccountInitializedIterator) Close ¶
func (it *LightAccountLightAccountInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightAccountLightAccountInitializedIterator) Error ¶
func (it *LightAccountLightAccountInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightAccountLightAccountInitializedIterator) Next ¶
func (it *LightAccountLightAccountInitializedIterator) Next() bool
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 LightAccountOwnershipTransferred ¶
type LightAccountOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LightAccountOwnershipTransferred represents a OwnershipTransferred event raised by the LightAccount contract.
type LightAccountOwnershipTransferredIterator ¶
type LightAccountOwnershipTransferredIterator struct { Event *LightAccountOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightAccountOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LightAccount contract.
func (*LightAccountOwnershipTransferredIterator) Close ¶
func (it *LightAccountOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightAccountOwnershipTransferredIterator) Error ¶
func (it *LightAccountOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightAccountOwnershipTransferredIterator) Next ¶
func (it *LightAccountOwnershipTransferredIterator) Next() bool
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 LightAccountRaw ¶
type LightAccountRaw struct {
Contract *LightAccount // Generic contract binding to access the raw methods on
}
LightAccountRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LightAccountRaw) Call ¶
func (_LightAccount *LightAccountRaw) 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 (*LightAccountRaw) Transact ¶
func (_LightAccount *LightAccountRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightAccountRaw) Transfer ¶
func (_LightAccount *LightAccountRaw) 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 LightAccountSession ¶
type LightAccountSession struct { Contract *LightAccount // 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 }
LightAccountSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LightAccountSession) AddDeposit ¶
func (_LightAccount *LightAccountSession) AddDeposit() (*types.Transaction, error)
AddDeposit is a paid mutator transaction binding the contract method 0x4a58db19.
Solidity: function addDeposit() payable returns()
func (*LightAccountSession) Eip712Domain ¶
func (_LightAccount *LightAccountSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*LightAccountSession) EntryPoint ¶
func (_LightAccount *LightAccountSession) EntryPoint() (common.Address, error)
EntryPoint is a free data retrieval call binding the contract method 0xb0d691fe.
Solidity: function entryPoint() view returns(address)
func (*LightAccountSession) Execute ¶
func (_LightAccount *LightAccountSession) Execute(dest common.Address, value *big.Int, arg2 []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xb61d27f6.
Solidity: function execute(address dest, uint256 value, bytes func) returns()
func (*LightAccountSession) ExecuteBatch ¶
func (_LightAccount *LightAccountSession) ExecuteBatch(dest []common.Address, arg1 [][]byte) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x18dfb3c7.
Solidity: function executeBatch(address[] dest, bytes[] func) returns()
func (*LightAccountSession) ExecuteBatch0 ¶
func (_LightAccount *LightAccountSession) ExecuteBatch0(dest []common.Address, value []*big.Int, arg2 [][]byte) (*types.Transaction, error)
ExecuteBatch0 is a paid mutator transaction binding the contract method 0x47e1da2a.
Solidity: function executeBatch(address[] dest, uint256[] value, bytes[] func) returns()
func (*LightAccountSession) GetDeposit ¶
func (_LightAccount *LightAccountSession) GetDeposit() (*big.Int, error)
GetDeposit is a free data retrieval call binding the contract method 0xc399ec88.
Solidity: function getDeposit() view returns(uint256)
func (*LightAccountSession) GetMessageHash ¶
func (_LightAccount *LightAccountSession) GetMessageHash(message []byte) ([32]byte, error)
GetMessageHash is a free data retrieval call binding the contract method 0x0a1028c4.
Solidity: function getMessageHash(bytes message) view returns(bytes32)
func (*LightAccountSession) GetNonce ¶
func (_LightAccount *LightAccountSession) GetNonce() (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0xd087d288.
Solidity: function getNonce() view returns(uint256)
func (*LightAccountSession) Initialize ¶
func (_LightAccount *LightAccountSession) Initialize(owner_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address owner_) returns()
func (*LightAccountSession) IsValidSignature ¶
func (_LightAccount *LightAccountSession) IsValidSignature(hash [32]byte, signature []byte) ([4]byte, error)
IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
Solidity: function isValidSignature(bytes32 hash, bytes signature) view returns(bytes4)
func (*LightAccountSession) OnERC1155BatchReceived ¶
func (_LightAccount *LightAccountSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)
OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) pure returns(bytes4)
func (*LightAccountSession) OnERC1155Received ¶
func (_LightAccount *LightAccountSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)
OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) pure returns(bytes4)
func (*LightAccountSession) OnERC721Received ¶
func (_LightAccount *LightAccountSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)
OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) pure returns(bytes4)
func (*LightAccountSession) Owner ¶
func (_LightAccount *LightAccountSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LightAccountSession) ProxiableUUID ¶
func (_LightAccount *LightAccountSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*LightAccountSession) Receive ¶
func (_LightAccount *LightAccountSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*LightAccountSession) SupportsInterface ¶
func (_LightAccount *LightAccountSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*LightAccountSession) TransferOwnership ¶
func (_LightAccount *LightAccountSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightAccountSession) UpgradeToAndCall ¶
func (_LightAccount *LightAccountSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*LightAccountSession) ValidateUserOp ¶
func (_LightAccount *LightAccountSession) ValidateUserOp(userOp PackedUserOperation, userOpHash [32]byte, missingAccountFunds *big.Int) (*types.Transaction, error)
ValidateUserOp is a paid mutator transaction binding the contract method 0x19822f7c.
Solidity: function validateUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes) userOp, bytes32 userOpHash, uint256 missingAccountFunds) returns(uint256 validationData)
func (*LightAccountSession) WithdrawDepositTo ¶
func (_LightAccount *LightAccountSession) WithdrawDepositTo(withdrawAddress common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawDepositTo is a paid mutator transaction binding the contract method 0x4d44560d.
Solidity: function withdrawDepositTo(address withdrawAddress, uint256 amount) returns()
type LightAccountTransactor ¶
type LightAccountTransactor struct {
// contains filtered or unexported fields
}
LightAccountTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLightAccountTransactor ¶
func NewLightAccountTransactor(address common.Address, transactor bind.ContractTransactor) (*LightAccountTransactor, error)
NewLightAccountTransactor creates a new write-only instance of LightAccount, bound to a specific deployed contract.
func (*LightAccountTransactor) AddDeposit ¶
func (_LightAccount *LightAccountTransactor) AddDeposit(opts *bind.TransactOpts) (*types.Transaction, error)
AddDeposit is a paid mutator transaction binding the contract method 0x4a58db19.
Solidity: function addDeposit() payable returns()
func (*LightAccountTransactor) Execute ¶
func (_LightAccount *LightAccountTransactor) Execute(opts *bind.TransactOpts, dest common.Address, value *big.Int, arg2 []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xb61d27f6.
Solidity: function execute(address dest, uint256 value, bytes func) returns()
func (*LightAccountTransactor) ExecuteBatch ¶
func (_LightAccount *LightAccountTransactor) ExecuteBatch(opts *bind.TransactOpts, dest []common.Address, arg1 [][]byte) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x18dfb3c7.
Solidity: function executeBatch(address[] dest, bytes[] func) returns()
func (*LightAccountTransactor) ExecuteBatch0 ¶
func (_LightAccount *LightAccountTransactor) ExecuteBatch0(opts *bind.TransactOpts, dest []common.Address, value []*big.Int, arg2 [][]byte) (*types.Transaction, error)
ExecuteBatch0 is a paid mutator transaction binding the contract method 0x47e1da2a.
Solidity: function executeBatch(address[] dest, uint256[] value, bytes[] func) returns()
func (*LightAccountTransactor) Initialize ¶
func (_LightAccount *LightAccountTransactor) Initialize(opts *bind.TransactOpts, owner_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address owner_) returns()
func (*LightAccountTransactor) Receive ¶
func (_LightAccount *LightAccountTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*LightAccountTransactor) TransferOwnership ¶
func (_LightAccount *LightAccountTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightAccountTransactor) UpgradeToAndCall ¶
func (_LightAccount *LightAccountTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*LightAccountTransactor) ValidateUserOp ¶
func (_LightAccount *LightAccountTransactor) ValidateUserOp(opts *bind.TransactOpts, userOp PackedUserOperation, userOpHash [32]byte, missingAccountFunds *big.Int) (*types.Transaction, error)
ValidateUserOp is a paid mutator transaction binding the contract method 0x19822f7c.
Solidity: function validateUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes) userOp, bytes32 userOpHash, uint256 missingAccountFunds) returns(uint256 validationData)
func (*LightAccountTransactor) WithdrawDepositTo ¶
func (_LightAccount *LightAccountTransactor) WithdrawDepositTo(opts *bind.TransactOpts, withdrawAddress common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawDepositTo is a paid mutator transaction binding the contract method 0x4d44560d.
Solidity: function withdrawDepositTo(address withdrawAddress, uint256 amount) returns()
type LightAccountTransactorRaw ¶
type LightAccountTransactorRaw struct {
Contract *LightAccountTransactor // Generic write-only contract binding to access the raw methods on
}
LightAccountTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LightAccountTransactorRaw) Transact ¶
func (_LightAccount *LightAccountTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LightAccountTransactorRaw) Transfer ¶
func (_LightAccount *LightAccountTransactorRaw) 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 LightAccountTransactorSession ¶
type LightAccountTransactorSession struct { Contract *LightAccountTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LightAccountTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LightAccountTransactorSession) AddDeposit ¶
func (_LightAccount *LightAccountTransactorSession) AddDeposit() (*types.Transaction, error)
AddDeposit is a paid mutator transaction binding the contract method 0x4a58db19.
Solidity: function addDeposit() payable returns()
func (*LightAccountTransactorSession) Execute ¶
func (_LightAccount *LightAccountTransactorSession) Execute(dest common.Address, value *big.Int, arg2 []byte) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xb61d27f6.
Solidity: function execute(address dest, uint256 value, bytes func) returns()
func (*LightAccountTransactorSession) ExecuteBatch ¶
func (_LightAccount *LightAccountTransactorSession) ExecuteBatch(dest []common.Address, arg1 [][]byte) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x18dfb3c7.
Solidity: function executeBatch(address[] dest, bytes[] func) returns()
func (*LightAccountTransactorSession) ExecuteBatch0 ¶
func (_LightAccount *LightAccountTransactorSession) ExecuteBatch0(dest []common.Address, value []*big.Int, arg2 [][]byte) (*types.Transaction, error)
ExecuteBatch0 is a paid mutator transaction binding the contract method 0x47e1da2a.
Solidity: function executeBatch(address[] dest, uint256[] value, bytes[] func) returns()
func (*LightAccountTransactorSession) Initialize ¶
func (_LightAccount *LightAccountTransactorSession) Initialize(owner_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address owner_) returns()
func (*LightAccountTransactorSession) Receive ¶
func (_LightAccount *LightAccountTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*LightAccountTransactorSession) TransferOwnership ¶
func (_LightAccount *LightAccountTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*LightAccountTransactorSession) UpgradeToAndCall ¶
func (_LightAccount *LightAccountTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*LightAccountTransactorSession) ValidateUserOp ¶
func (_LightAccount *LightAccountTransactorSession) ValidateUserOp(userOp PackedUserOperation, userOpHash [32]byte, missingAccountFunds *big.Int) (*types.Transaction, error)
ValidateUserOp is a paid mutator transaction binding the contract method 0x19822f7c.
Solidity: function validateUserOp((address,uint256,bytes,bytes,bytes32,uint256,bytes32,bytes,bytes) userOp, bytes32 userOpHash, uint256 missingAccountFunds) returns(uint256 validationData)
func (*LightAccountTransactorSession) WithdrawDepositTo ¶
func (_LightAccount *LightAccountTransactorSession) WithdrawDepositTo(withdrawAddress common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawDepositTo is a paid mutator transaction binding the contract method 0x4d44560d.
Solidity: function withdrawDepositTo(address withdrawAddress, uint256 amount) returns()
type LightAccountUpgraded ¶
type LightAccountUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
LightAccountUpgraded represents a Upgraded event raised by the LightAccount contract.
type LightAccountUpgradedIterator ¶
type LightAccountUpgradedIterator struct { Event *LightAccountUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LightAccountUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the LightAccount contract.
func (*LightAccountUpgradedIterator) Close ¶
func (it *LightAccountUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LightAccountUpgradedIterator) Error ¶
func (it *LightAccountUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LightAccountUpgradedIterator) Next ¶
func (it *LightAccountUpgradedIterator) Next() bool
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 PackedUserOperation ¶
type PackedUserOperation struct { Sender common.Address Nonce *big.Int InitCode []byte CallData []byte AccountGasLimits [32]byte PreVerificationGas *big.Int GasFees [32]byte PaymasterAndData []byte Signature []byte }
PackedUserOperation is an auto generated low-level Go binding around an user-defined struct.