account_abstraction

package
v0.4.9-rc9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EntryPointContract = common.HexToAddress("0x000000000000000000000000000000000000AAEC")

EntryPointContract defines the address of the built-in AA entry point contract.

View Source
var IAggregatorABI = IAggregatorMetaData.ABI

IAggregatorABI is the input ABI used to generate the binding from. Deprecated: Use IAggregatorMetaData.ABI instead.

View Source
var IAggregatorFuncSigs = IAggregatorMetaData.Sigs

Deprecated: Use IAggregatorMetaData.Sigs instead. IAggregatorFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IAggregatorMetaData = &bind.MetaData{
	ABI: "[{\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation[]\",\"name\":\"userOps\",\"type\":\"tuple[]\"}],\"name\":\"aggregateSignatures\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"aggregatedSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation[]\",\"name\":\"userOps\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"validateSignatures\",\"outputs\":[],\"stateMutability\":\"view\",\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"}],\"name\":\"validateUserOpSignature\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"sigForUserOp\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"275e2d79": "aggregateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[])",
		"e3563a4f": "validateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],bytes)",
		"64c530cd": "validateUserOpSignature((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes))",
	},
}

IAggregatorMetaData contains all meta data concerning the IAggregator contract.

View Source
var IEntryPointABI = IEntryPointMetaData.ABI

IEntryPointABI is the input ABI used to generate the binding from. Deprecated: Use IEntryPointMetaData.ABI instead.

View Source
var IEntryPointFuncSigs = IEntryPointMetaData.Sigs

Deprecated: Use IEntryPointMetaData.Sigs instead. IEntryPointFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IEntryPointMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"preOpGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"bool\",\"name\":\"targetSuccess\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"targetResult\",\"type\":\"bytes\"}],\"name\":\"ExecutionResult\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"opIndex\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"FailedOp\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"SenderAddressResult\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"}],\"name\":\"SignatureValidationFailed\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"preOpGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prefund\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sigFailed\",\"type\":\"bool\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"paymasterContext\",\"type\":\"bytes\"}],\"internalType\":\"structIEntryPoint.ReturnInfo\",\"name\":\"returnInfo\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"internalType\":\"structIStakeManager.StakeInfo\",\"name\":\"senderInfo\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"internalType\":\"structIStakeManager.StakeInfo\",\"name\":\"factoryInfo\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"internalType\":\"structIStakeManager.StakeInfo\",\"name\":\"paymasterInfo\",\"type\":\"tuple\"}],\"name\":\"ValidationResult\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"preOpGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prefund\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sigFailed\",\"type\":\"bool\"},{\"internalType\":\"uint48\",\"name\":\"validAfter\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"validUntil\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"paymasterContext\",\"type\":\"bytes\"}],\"internalType\":\"structIEntryPoint.ReturnInfo\",\"name\":\"returnInfo\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"internalType\":\"structIStakeManager.StakeInfo\",\"name\":\"senderInfo\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"internalType\":\"structIStakeManager.StakeInfo\",\"name\":\"factoryInfo\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"internalType\":\"structIStakeManager.StakeInfo\",\"name\":\"paymasterInfo\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"internalType\":\"structIStakeManager.StakeInfo\",\"name\":\"stakeInfo\",\"type\":\"tuple\"}],\"internalType\":\"structIEntryPoint.AggregatorStakeInfo\",\"name\":\"aggregatorInfo\",\"type\":\"tuple\"}],\"name\":\"ValidationResultWithAggregation\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"paymaster\",\"type\":\"address\"}],\"name\":\"AccountDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"BeforeExecution\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalDeposit\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"}],\"name\":\"SignatureAggregatorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalStaked\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"name\":\"StakeLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawTime\",\"type\":\"uint256\"}],\"name\":\"StakeUnlocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"StakeWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"paymaster\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"actualGasCost\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"actualGasUsed\",\"type\":\"uint256\"}],\"name\":\"UserOperationEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"userOpHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"revertReason\",\"type\":\"bytes\"}],\"name\":\"UserOperationRevertReason\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"depositTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getDepositInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint112\",\"name\":\"deposit\",\"type\":\"uint112\"},{\"internalType\":\"bool\",\"name\":\"staked\",\"type\":\"bool\"},{\"internalType\":\"uint112\",\"name\":\"stake\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"},{\"internalType\":\"uint48\",\"name\":\"withdrawTime\",\"type\":\"uint48\"}],\"internalType\":\"structIStakeManager.DepositInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint192\",\"name\":\"key\",\"type\":\"uint192\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initCode\",\"type\":\"bytes\"}],\"name\":\"getSenderAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"}],\"name\":\"getUserOpHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation[]\",\"name\":\"userOps\",\"type\":\"tuple[]\"},{\"internalType\":\"contractIAggregator\",\"name\":\"aggregator\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structIEntryPoint.UserOpsPerAggregator[]\",\"name\":\"opsPerAggregator\",\"type\":\"tuple[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"name\":\"handleAggregatedOps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation[]\",\"name\":\"ops\",\"type\":\"tuple[]\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"}],\"name\":\"handleOps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint192\",\"name\":\"key\",\"type\":\"uint192\"}],\"name\":\"incrementNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation\",\"name\":\"op\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"targetCallData\",\"type\":\"bytes\"}],\"name\":\"simulateHandleOp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"uint256\",\"name\":\"callGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"verificationGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"preVerificationGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPriorityFeePerGas\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"paymasterAndData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structUserOperation\",\"name\":\"userOp\",\"type\":\"tuple\"}],\"name\":\"simulateValidation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"0396cb60": "addStake(uint32)",
		"70a08231": "balanceOf(address)",
		"b760faf9": "depositTo(address)",
		"5287ce12": "getDepositInfo(address)",
		"35567e1a": "getNonce(address,uint192)",
		"9b249f69": "getSenderAddress(bytes)",
		"a6193531": "getUserOpHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes))",
		"4b1d7cf5": "handleAggregatedOps(((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address,bytes)[],address)",
		"1fad948c": "handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address)",
		"0bd28e3b": "incrementNonce(uint192)",
		"d6383f94": "simulateHandleOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes),address,bytes)",
		"ee219423": "simulateValidation((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes))",
		"bb9fe6bf": "unlockStake()",
		"c23a5cea": "withdrawStake(address)",
		"205c2878": "withdrawTo(address,uint256)",
	},
}

IEntryPointMetaData contains all meta data concerning the IEntryPoint contract.

View Source
var INonceManagerABI = INonceManagerMetaData.ABI

INonceManagerABI is the input ABI used to generate the binding from. Deprecated: Use INonceManagerMetaData.ABI instead.

View Source
var INonceManagerFuncSigs = INonceManagerMetaData.Sigs

Deprecated: Use INonceManagerMetaData.Sigs instead. INonceManagerFuncSigs maps the 4-byte function signature to its string representation.

View Source
var INonceManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint192\",\"name\":\"key\",\"type\":\"uint192\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint192\",\"name\":\"key\",\"type\":\"uint192\"}],\"name\":\"incrementNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"35567e1a": "getNonce(address,uint192)",
		"0bd28e3b": "incrementNonce(uint192)",
	},
}

INonceManagerMetaData contains all meta data concerning the INonceManager contract.

View Source
var IStakeManagerABI = IStakeManagerMetaData.ABI

IStakeManagerABI is the input ABI used to generate the binding from. Deprecated: Use IStakeManagerMetaData.ABI instead.

View Source
var IStakeManagerFuncSigs = IStakeManagerMetaData.Sigs

Deprecated: Use IStakeManagerMetaData.Sigs instead. IStakeManagerFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IStakeManagerMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalDeposit\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalStaked\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unstakeDelaySec\",\"type\":\"uint256\"}],\"name\":\"StakeLocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawTime\",\"type\":\"uint256\"}],\"name\":\"StakeUnlocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"StakeWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_unstakeDelaySec\",\"type\":\"uint32\"}],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"depositTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getDepositInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint112\",\"name\":\"deposit\",\"type\":\"uint112\"},{\"internalType\":\"bool\",\"name\":\"staked\",\"type\":\"bool\"},{\"internalType\":\"uint112\",\"name\":\"stake\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"unstakeDelaySec\",\"type\":\"uint32\"},{\"internalType\":\"uint48\",\"name\":\"withdrawTime\",\"type\":\"uint48\"}],\"internalType\":\"structIStakeManager.DepositInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"withdrawAddress\",\"type\":\"address\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"withdrawAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"withdrawAmount\",\"type\":\"uint256\"}],\"name\":\"withdrawTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"0396cb60": "addStake(uint32)",
		"70a08231": "balanceOf(address)",
		"b760faf9": "depositTo(address)",
		"5287ce12": "getDepositInfo(address)",
		"bb9fe6bf": "unlockStake()",
		"c23a5cea": "withdrawStake(address)",
		"205c2878": "withdrawTo(address,uint256)",
	},
}

IStakeManagerMetaData contains all meta data concerning the IStakeManager contract.

View Source
var UserOperationLibABI = UserOperationLibMetaData.ABI

UserOperationLibABI is the input ABI used to generate the binding from. Deprecated: Use UserOperationLibMetaData.ABI instead.

View Source
var UserOperationLibBin = UserOperationLibMetaData.Bin

UserOperationLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use UserOperationLibMetaData.Bin instead.

View Source
var UserOperationLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cdd3c1216779cdd48a05c274253f2de0a58d66b16671a1dfe5d0250d1c9f01dd64736f6c63430008120033",
}

UserOperationLibMetaData contains all meta data concerning the UserOperationLib contract.

Functions

func DecodeError

func DecodeError[V any](decodeErrorABI *abi.Error, data []byte) (*V, error)

func DecodeFailedOpError

func DecodeFailedOpError(data []byte) error

func DecodeResponse

func DecodeResponse(methodName string, data []byte) ([]interface{}, error)

func InterfaceToStruct

func InterfaceToStruct[T any](input interface{}) (*T, error)

InterfaceToStruct converts interface to struct, use json here for convenience, optimize later

func PackCallData

func PackCallData(ops []*UserOperation, beneficiary common.Address) ([]byte, error)

Types

type ABIItem

type ABIItem interface {
	Unpack(data []byte) (interface{}, error)
}

type ExecutionResult

type ExecutionResult struct {
	PreOpGas      *uint256.Int `json:"preOpGas"`
	Paid          *uint256.Int `json:"paid"`
	ValidAfter    uint64       `json:"validAfter"` // Using uint64 since Go doesn't have a uint48 type.
	ValidUntil    uint64       `json:"validUntil"` // Using uint64 to accommodate uint48.
	TargetSuccess bool         `json:"targetSuccess"`
	TargetResult  []byte       `json:"targetResult"`
}

ExecutionResult is the result of the aa operation execution.

func DecodeExecutionResult

func DecodeExecutionResult(data []byte) (*ExecutionResult, error)

type FailedOp

type FailedOp struct {
	OpIndex *uint256.Int `json:"opIndex"`
	Reason  string       `json:"reason"`
}

FailedOp is the failed operation error returned by aa entrypoint.

type IAggregator

type IAggregator struct {
	IAggregatorCaller     // Read-only binding to the contract
	IAggregatorTransactor // Write-only binding to the contract
	IAggregatorFilterer   // Log filterer for contract events
}

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

func NewIAggregator

func NewIAggregator(address common.Address, backend bind.ContractBackend) (*IAggregator, error)

NewIAggregator creates a new instance of IAggregator, bound to a specific deployed contract.

type IAggregatorCaller

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

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

func NewIAggregatorCaller

func NewIAggregatorCaller(address common.Address, caller bind.ContractCaller) (*IAggregatorCaller, error)

NewIAggregatorCaller creates a new read-only instance of IAggregator, bound to a specific deployed contract.

func (*IAggregatorCaller) AggregateSignatures

func (_IAggregator *IAggregatorCaller) AggregateSignatures(opts *bind.CallOpts, userOps []UserOperation) ([]byte, error)

AggregateSignatures is a free data retrieval call binding the contract method 0x275e2d79.

Solidity: function aggregateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] userOps) view returns(bytes aggregatedSignature)

func (*IAggregatorCaller) ValidateSignatures

func (_IAggregator *IAggregatorCaller) ValidateSignatures(opts *bind.CallOpts, userOps []UserOperation, signature []byte) error

ValidateSignatures is a free data retrieval call binding the contract method 0xe3563a4f.

Solidity: function validateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] userOps, bytes signature) view returns()

func (*IAggregatorCaller) ValidateUserOpSignature

func (_IAggregator *IAggregatorCaller) ValidateUserOpSignature(opts *bind.CallOpts, userOp UserOperation) ([]byte, error)

ValidateUserOpSignature is a free data retrieval call binding the contract method 0x64c530cd.

Solidity: function validateUserOpSignature((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) view returns(bytes sigForUserOp)

type IAggregatorCallerRaw

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

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

func (*IAggregatorCallerRaw) Call

func (_IAggregator *IAggregatorCallerRaw) 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 IAggregatorCallerSession

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

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

func (*IAggregatorCallerSession) AggregateSignatures

func (_IAggregator *IAggregatorCallerSession) AggregateSignatures(userOps []UserOperation) ([]byte, error)

AggregateSignatures is a free data retrieval call binding the contract method 0x275e2d79.

Solidity: function aggregateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] userOps) view returns(bytes aggregatedSignature)

func (*IAggregatorCallerSession) ValidateSignatures

func (_IAggregator *IAggregatorCallerSession) ValidateSignatures(userOps []UserOperation, signature []byte) error

ValidateSignatures is a free data retrieval call binding the contract method 0xe3563a4f.

Solidity: function validateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] userOps, bytes signature) view returns()

func (*IAggregatorCallerSession) ValidateUserOpSignature

func (_IAggregator *IAggregatorCallerSession) ValidateUserOpSignature(userOp UserOperation) ([]byte, error)

ValidateUserOpSignature is a free data retrieval call binding the contract method 0x64c530cd.

Solidity: function validateUserOpSignature((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) view returns(bytes sigForUserOp)

type IAggregatorFilterer

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

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

func NewIAggregatorFilterer

func NewIAggregatorFilterer(address common.Address, filterer bind.ContractFilterer) (*IAggregatorFilterer, error)

NewIAggregatorFilterer creates a new log filterer instance of IAggregator, bound to a specific deployed contract.

type IAggregatorRaw

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

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

func (*IAggregatorRaw) Call

func (_IAggregator *IAggregatorRaw) 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 (*IAggregatorRaw) Transact

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

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

func (*IAggregatorRaw) Transfer

func (_IAggregator *IAggregatorRaw) 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 IAggregatorSession

type IAggregatorSession struct {
	Contract     *IAggregator      // 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
}

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

func (*IAggregatorSession) AggregateSignatures

func (_IAggregator *IAggregatorSession) AggregateSignatures(userOps []UserOperation) ([]byte, error)

AggregateSignatures is a free data retrieval call binding the contract method 0x275e2d79.

Solidity: function aggregateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] userOps) view returns(bytes aggregatedSignature)

func (*IAggregatorSession) ValidateSignatures

func (_IAggregator *IAggregatorSession) ValidateSignatures(userOps []UserOperation, signature []byte) error

ValidateSignatures is a free data retrieval call binding the contract method 0xe3563a4f.

Solidity: function validateSignatures((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] userOps, bytes signature) view returns()

func (*IAggregatorSession) ValidateUserOpSignature

func (_IAggregator *IAggregatorSession) ValidateUserOpSignature(userOp UserOperation) ([]byte, error)

ValidateUserOpSignature is a free data retrieval call binding the contract method 0x64c530cd.

Solidity: function validateUserOpSignature((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) view returns(bytes sigForUserOp)

type IAggregatorTransactor

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

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

func NewIAggregatorTransactor

func NewIAggregatorTransactor(address common.Address, transactor bind.ContractTransactor) (*IAggregatorTransactor, error)

NewIAggregatorTransactor creates a new write-only instance of IAggregator, bound to a specific deployed contract.

type IAggregatorTransactorRaw

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

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

func (*IAggregatorTransactorRaw) Transact

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

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

func (*IAggregatorTransactorRaw) Transfer

func (_IAggregator *IAggregatorTransactorRaw) 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 IAggregatorTransactorSession

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

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

type IEntryPoint

type IEntryPoint struct {
	IEntryPointCaller     // Read-only binding to the contract
	IEntryPointTransactor // Write-only binding to the contract
	IEntryPointFilterer   // Log filterer for contract events
}

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

func NewIEntryPoint

func NewIEntryPoint(address common.Address, backend bind.ContractBackend) (*IEntryPoint, error)

NewIEntryPoint creates a new instance of IEntryPoint, bound to a specific deployed contract.

type IEntryPointAccountDeployed

type IEntryPointAccountDeployed struct {
	UserOpHash [32]byte
	Sender     common.Address
	Factory    common.Address
	Paymaster  common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

IEntryPointAccountDeployed represents a AccountDeployed event raised by the IEntryPoint contract.

type IEntryPointAccountDeployedIterator

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

IEntryPointAccountDeployedIterator is returned from FilterAccountDeployed and is used to iterate over the raw logs and unpacked data for AccountDeployed events raised by the IEntryPoint contract.

func (*IEntryPointAccountDeployedIterator) Close

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

func (*IEntryPointAccountDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointAccountDeployedIterator) Next

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

type IEntryPointBeforeExecution

type IEntryPointBeforeExecution struct {
	Raw types.Log // Blockchain specific contextual infos
}

IEntryPointBeforeExecution represents a BeforeExecution event raised by the IEntryPoint contract.

type IEntryPointBeforeExecutionIterator

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

IEntryPointBeforeExecutionIterator is returned from FilterBeforeExecution and is used to iterate over the raw logs and unpacked data for BeforeExecution events raised by the IEntryPoint contract.

func (*IEntryPointBeforeExecutionIterator) Close

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

func (*IEntryPointBeforeExecutionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointBeforeExecutionIterator) Next

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

type IEntryPointCaller

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

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

func NewIEntryPointCaller

func NewIEntryPointCaller(address common.Address, caller bind.ContractCaller) (*IEntryPointCaller, error)

NewIEntryPointCaller creates a new read-only instance of IEntryPoint, bound to a specific deployed contract.

func (*IEntryPointCaller) BalanceOf

func (_IEntryPoint *IEntryPointCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IEntryPointCaller) GetDepositInfo

func (_IEntryPoint *IEntryPointCaller) GetDepositInfo(opts *bind.CallOpts, account common.Address) (IStakeManagerDepositInfo, error)

GetDepositInfo is a free data retrieval call binding the contract method 0x5287ce12.

Solidity: function getDepositInfo(address account) view returns((uint112,bool,uint112,uint32,uint48) info)

func (*IEntryPointCaller) GetNonce

func (_IEntryPoint *IEntryPointCaller) GetNonce(opts *bind.CallOpts, sender common.Address, key *big.Int) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0x35567e1a.

Solidity: function getNonce(address sender, uint192 key) view returns(uint256 nonce)

func (*IEntryPointCaller) GetUserOpHash

func (_IEntryPoint *IEntryPointCaller) GetUserOpHash(opts *bind.CallOpts, userOp UserOperation) ([32]byte, error)

GetUserOpHash is a free data retrieval call binding the contract method 0xa6193531.

Solidity: function getUserOpHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) view returns(bytes32)

type IEntryPointCallerRaw

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

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

func (*IEntryPointCallerRaw) Call

func (_IEntryPoint *IEntryPointCallerRaw) 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 IEntryPointCallerSession

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

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

func (*IEntryPointCallerSession) BalanceOf

func (_IEntryPoint *IEntryPointCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IEntryPointCallerSession) GetDepositInfo

func (_IEntryPoint *IEntryPointCallerSession) GetDepositInfo(account common.Address) (IStakeManagerDepositInfo, error)

GetDepositInfo is a free data retrieval call binding the contract method 0x5287ce12.

Solidity: function getDepositInfo(address account) view returns((uint112,bool,uint112,uint32,uint48) info)

func (*IEntryPointCallerSession) GetNonce

func (_IEntryPoint *IEntryPointCallerSession) GetNonce(sender common.Address, key *big.Int) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0x35567e1a.

Solidity: function getNonce(address sender, uint192 key) view returns(uint256 nonce)

func (*IEntryPointCallerSession) GetUserOpHash

func (_IEntryPoint *IEntryPointCallerSession) GetUserOpHash(userOp UserOperation) ([32]byte, error)

GetUserOpHash is a free data retrieval call binding the contract method 0xa6193531.

Solidity: function getUserOpHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) view returns(bytes32)

type IEntryPointDeposited

type IEntryPointDeposited struct {
	Account      common.Address
	TotalDeposit *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

IEntryPointDeposited represents a Deposited event raised by the IEntryPoint contract.

type IEntryPointDepositedIterator

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

IEntryPointDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the IEntryPoint contract.

func (*IEntryPointDepositedIterator) Close

func (it *IEntryPointDepositedIterator) Close() error

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

func (*IEntryPointDepositedIterator) Error

func (it *IEntryPointDepositedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointDepositedIterator) Next

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

type IEntryPointFilterer

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

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

func NewIEntryPointFilterer

func NewIEntryPointFilterer(address common.Address, filterer bind.ContractFilterer) (*IEntryPointFilterer, error)

NewIEntryPointFilterer creates a new log filterer instance of IEntryPoint, bound to a specific deployed contract.

func (*IEntryPointFilterer) FilterAccountDeployed

func (_IEntryPoint *IEntryPointFilterer) FilterAccountDeployed(opts *bind.FilterOpts, userOpHash [][32]byte, sender []common.Address) (*IEntryPointAccountDeployedIterator, error)

FilterAccountDeployed is a free log retrieval operation binding the contract event 0xd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d.

Solidity: event AccountDeployed(bytes32 indexed userOpHash, address indexed sender, address factory, address paymaster)

func (*IEntryPointFilterer) FilterBeforeExecution

func (_IEntryPoint *IEntryPointFilterer) FilterBeforeExecution(opts *bind.FilterOpts) (*IEntryPointBeforeExecutionIterator, error)

FilterBeforeExecution is a free log retrieval operation binding the contract event 0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972.

Solidity: event BeforeExecution()

func (*IEntryPointFilterer) FilterDeposited

func (_IEntryPoint *IEntryPointFilterer) FilterDeposited(opts *bind.FilterOpts, account []common.Address) (*IEntryPointDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 totalDeposit)

func (*IEntryPointFilterer) FilterSignatureAggregatorChanged

func (_IEntryPoint *IEntryPointFilterer) FilterSignatureAggregatorChanged(opts *bind.FilterOpts, aggregator []common.Address) (*IEntryPointSignatureAggregatorChangedIterator, error)

FilterSignatureAggregatorChanged is a free log retrieval operation binding the contract event 0x575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d.

Solidity: event SignatureAggregatorChanged(address indexed aggregator)

func (*IEntryPointFilterer) FilterStakeLocked

func (_IEntryPoint *IEntryPointFilterer) FilterStakeLocked(opts *bind.FilterOpts, account []common.Address) (*IEntryPointStakeLockedIterator, error)

FilterStakeLocked is a free log retrieval operation binding the contract event 0xa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01.

Solidity: event StakeLocked(address indexed account, uint256 totalStaked, uint256 unstakeDelaySec)

func (*IEntryPointFilterer) FilterStakeUnlocked

func (_IEntryPoint *IEntryPointFilterer) FilterStakeUnlocked(opts *bind.FilterOpts, account []common.Address) (*IEntryPointStakeUnlockedIterator, error)

FilterStakeUnlocked is a free log retrieval operation binding the contract event 0xfa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a.

Solidity: event StakeUnlocked(address indexed account, uint256 withdrawTime)

func (*IEntryPointFilterer) FilterStakeWithdrawn

func (_IEntryPoint *IEntryPointFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, account []common.Address) (*IEntryPointStakeWithdrawnIterator, error)

FilterStakeWithdrawn is a free log retrieval operation binding the contract event 0xb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda3.

Solidity: event StakeWithdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IEntryPointFilterer) FilterUserOperationEvent

func (_IEntryPoint *IEntryPointFilterer) FilterUserOperationEvent(opts *bind.FilterOpts, userOpHash [][32]byte, sender []common.Address, paymaster []common.Address) (*IEntryPointUserOperationEventIterator, error)

FilterUserOperationEvent is a free log retrieval operation binding the contract event 0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f.

Solidity: event UserOperationEvent(bytes32 indexed userOpHash, address indexed sender, address indexed paymaster, uint256 nonce, bool success, uint256 actualGasCost, uint256 actualGasUsed)

func (*IEntryPointFilterer) FilterUserOperationRevertReason

func (_IEntryPoint *IEntryPointFilterer) FilterUserOperationRevertReason(opts *bind.FilterOpts, userOpHash [][32]byte, sender []common.Address) (*IEntryPointUserOperationRevertReasonIterator, error)

FilterUserOperationRevertReason is a free log retrieval operation binding the contract event 0x1c4fada7374c0a9ee8841fc38afe82932dc0f8e69012e927f061a8bae611a201.

Solidity: event UserOperationRevertReason(bytes32 indexed userOpHash, address indexed sender, uint256 nonce, bytes revertReason)

func (*IEntryPointFilterer) FilterWithdrawn

func (_IEntryPoint *IEntryPointFilterer) FilterWithdrawn(opts *bind.FilterOpts, account []common.Address) (*IEntryPointWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IEntryPointFilterer) ParseAccountDeployed

func (_IEntryPoint *IEntryPointFilterer) ParseAccountDeployed(log types.Log) (*IEntryPointAccountDeployed, error)

ParseAccountDeployed is a log parse operation binding the contract event 0xd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d.

Solidity: event AccountDeployed(bytes32 indexed userOpHash, address indexed sender, address factory, address paymaster)

func (*IEntryPointFilterer) ParseBeforeExecution

func (_IEntryPoint *IEntryPointFilterer) ParseBeforeExecution(log types.Log) (*IEntryPointBeforeExecution, error)

ParseBeforeExecution is a log parse operation binding the contract event 0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972.

Solidity: event BeforeExecution()

func (*IEntryPointFilterer) ParseDeposited

func (_IEntryPoint *IEntryPointFilterer) ParseDeposited(log types.Log) (*IEntryPointDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 totalDeposit)

func (*IEntryPointFilterer) ParseSignatureAggregatorChanged

func (_IEntryPoint *IEntryPointFilterer) ParseSignatureAggregatorChanged(log types.Log) (*IEntryPointSignatureAggregatorChanged, error)

ParseSignatureAggregatorChanged is a log parse operation binding the contract event 0x575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d.

Solidity: event SignatureAggregatorChanged(address indexed aggregator)

func (*IEntryPointFilterer) ParseStakeLocked

func (_IEntryPoint *IEntryPointFilterer) ParseStakeLocked(log types.Log) (*IEntryPointStakeLocked, error)

ParseStakeLocked is a log parse operation binding the contract event 0xa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01.

Solidity: event StakeLocked(address indexed account, uint256 totalStaked, uint256 unstakeDelaySec)

func (*IEntryPointFilterer) ParseStakeUnlocked

func (_IEntryPoint *IEntryPointFilterer) ParseStakeUnlocked(log types.Log) (*IEntryPointStakeUnlocked, error)

ParseStakeUnlocked is a log parse operation binding the contract event 0xfa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a.

Solidity: event StakeUnlocked(address indexed account, uint256 withdrawTime)

func (*IEntryPointFilterer) ParseStakeWithdrawn

func (_IEntryPoint *IEntryPointFilterer) ParseStakeWithdrawn(log types.Log) (*IEntryPointStakeWithdrawn, error)

ParseStakeWithdrawn is a log parse operation binding the contract event 0xb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda3.

Solidity: event StakeWithdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IEntryPointFilterer) ParseUserOperationEvent

func (_IEntryPoint *IEntryPointFilterer) ParseUserOperationEvent(log types.Log) (*IEntryPointUserOperationEvent, error)

ParseUserOperationEvent is a log parse operation binding the contract event 0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f.

Solidity: event UserOperationEvent(bytes32 indexed userOpHash, address indexed sender, address indexed paymaster, uint256 nonce, bool success, uint256 actualGasCost, uint256 actualGasUsed)

func (*IEntryPointFilterer) ParseUserOperationRevertReason

func (_IEntryPoint *IEntryPointFilterer) ParseUserOperationRevertReason(log types.Log) (*IEntryPointUserOperationRevertReason, error)

ParseUserOperationRevertReason is a log parse operation binding the contract event 0x1c4fada7374c0a9ee8841fc38afe82932dc0f8e69012e927f061a8bae611a201.

Solidity: event UserOperationRevertReason(bytes32 indexed userOpHash, address indexed sender, uint256 nonce, bytes revertReason)

func (*IEntryPointFilterer) ParseWithdrawn

func (_IEntryPoint *IEntryPointFilterer) ParseWithdrawn(log types.Log) (*IEntryPointWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IEntryPointFilterer) WatchAccountDeployed

func (_IEntryPoint *IEntryPointFilterer) WatchAccountDeployed(opts *bind.WatchOpts, sink chan<- *IEntryPointAccountDeployed, userOpHash [][32]byte, sender []common.Address) (event.Subscription, error)

WatchAccountDeployed is a free log subscription operation binding the contract event 0xd51a9c61267aa6196961883ecf5ff2da6619c37dac0fa92122513fb32c032d2d.

Solidity: event AccountDeployed(bytes32 indexed userOpHash, address indexed sender, address factory, address paymaster)

func (*IEntryPointFilterer) WatchBeforeExecution

func (_IEntryPoint *IEntryPointFilterer) WatchBeforeExecution(opts *bind.WatchOpts, sink chan<- *IEntryPointBeforeExecution) (event.Subscription, error)

WatchBeforeExecution is a free log subscription operation binding the contract event 0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972.

Solidity: event BeforeExecution()

func (*IEntryPointFilterer) WatchDeposited

func (_IEntryPoint *IEntryPointFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *IEntryPointDeposited, account []common.Address) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 totalDeposit)

func (*IEntryPointFilterer) WatchSignatureAggregatorChanged

func (_IEntryPoint *IEntryPointFilterer) WatchSignatureAggregatorChanged(opts *bind.WatchOpts, sink chan<- *IEntryPointSignatureAggregatorChanged, aggregator []common.Address) (event.Subscription, error)

WatchSignatureAggregatorChanged is a free log subscription operation binding the contract event 0x575ff3acadd5ab348fe1855e217e0f3678f8d767d7494c9f9fefbee2e17cca4d.

Solidity: event SignatureAggregatorChanged(address indexed aggregator)

func (*IEntryPointFilterer) WatchStakeLocked

func (_IEntryPoint *IEntryPointFilterer) WatchStakeLocked(opts *bind.WatchOpts, sink chan<- *IEntryPointStakeLocked, account []common.Address) (event.Subscription, error)

WatchStakeLocked is a free log subscription operation binding the contract event 0xa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01.

Solidity: event StakeLocked(address indexed account, uint256 totalStaked, uint256 unstakeDelaySec)

func (*IEntryPointFilterer) WatchStakeUnlocked

func (_IEntryPoint *IEntryPointFilterer) WatchStakeUnlocked(opts *bind.WatchOpts, sink chan<- *IEntryPointStakeUnlocked, account []common.Address) (event.Subscription, error)

WatchStakeUnlocked is a free log subscription operation binding the contract event 0xfa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a.

Solidity: event StakeUnlocked(address indexed account, uint256 withdrawTime)

func (*IEntryPointFilterer) WatchStakeWithdrawn

func (_IEntryPoint *IEntryPointFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *IEntryPointStakeWithdrawn, account []common.Address) (event.Subscription, error)

WatchStakeWithdrawn is a free log subscription operation binding the contract event 0xb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda3.

Solidity: event StakeWithdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IEntryPointFilterer) WatchUserOperationEvent

func (_IEntryPoint *IEntryPointFilterer) WatchUserOperationEvent(opts *bind.WatchOpts, sink chan<- *IEntryPointUserOperationEvent, userOpHash [][32]byte, sender []common.Address, paymaster []common.Address) (event.Subscription, error)

WatchUserOperationEvent is a free log subscription operation binding the contract event 0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f.

Solidity: event UserOperationEvent(bytes32 indexed userOpHash, address indexed sender, address indexed paymaster, uint256 nonce, bool success, uint256 actualGasCost, uint256 actualGasUsed)

func (*IEntryPointFilterer) WatchUserOperationRevertReason

func (_IEntryPoint *IEntryPointFilterer) WatchUserOperationRevertReason(opts *bind.WatchOpts, sink chan<- *IEntryPointUserOperationRevertReason, userOpHash [][32]byte, sender []common.Address) (event.Subscription, error)

WatchUserOperationRevertReason is a free log subscription operation binding the contract event 0x1c4fada7374c0a9ee8841fc38afe82932dc0f8e69012e927f061a8bae611a201.

Solidity: event UserOperationRevertReason(bytes32 indexed userOpHash, address indexed sender, uint256 nonce, bytes revertReason)

func (*IEntryPointFilterer) WatchWithdrawn

func (_IEntryPoint *IEntryPointFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *IEntryPointWithdrawn, account []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed account, address withdrawAddress, uint256 amount)

type IEntryPointRaw

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

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

func (*IEntryPointRaw) Call

func (_IEntryPoint *IEntryPointRaw) 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 (*IEntryPointRaw) Transact

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

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

func (*IEntryPointRaw) Transfer

func (_IEntryPoint *IEntryPointRaw) 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 IEntryPointSession

type IEntryPointSession struct {
	Contract     *IEntryPoint      // 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
}

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

func (*IEntryPointSession) AddStake

func (_IEntryPoint *IEntryPointSession) AddStake(_unstakeDelaySec uint32) (*types.Transaction, error)

AddStake is a paid mutator transaction binding the contract method 0x0396cb60.

Solidity: function addStake(uint32 _unstakeDelaySec) payable returns()

func (*IEntryPointSession) BalanceOf

func (_IEntryPoint *IEntryPointSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IEntryPointSession) DepositTo

func (_IEntryPoint *IEntryPointSession) DepositTo(account common.Address) (*types.Transaction, error)

DepositTo is a paid mutator transaction binding the contract method 0xb760faf9.

Solidity: function depositTo(address account) payable returns()

func (*IEntryPointSession) GetDepositInfo

func (_IEntryPoint *IEntryPointSession) GetDepositInfo(account common.Address) (IStakeManagerDepositInfo, error)

GetDepositInfo is a free data retrieval call binding the contract method 0x5287ce12.

Solidity: function getDepositInfo(address account) view returns((uint112,bool,uint112,uint32,uint48) info)

func (*IEntryPointSession) GetNonce

func (_IEntryPoint *IEntryPointSession) GetNonce(sender common.Address, key *big.Int) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0x35567e1a.

Solidity: function getNonce(address sender, uint192 key) view returns(uint256 nonce)

func (*IEntryPointSession) GetSenderAddress

func (_IEntryPoint *IEntryPointSession) GetSenderAddress(initCode []byte) (*types.Transaction, error)

GetSenderAddress is a paid mutator transaction binding the contract method 0x9b249f69.

Solidity: function getSenderAddress(bytes initCode) returns()

func (*IEntryPointSession) GetUserOpHash

func (_IEntryPoint *IEntryPointSession) GetUserOpHash(userOp UserOperation) ([32]byte, error)

GetUserOpHash is a free data retrieval call binding the contract method 0xa6193531.

Solidity: function getUserOpHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) view returns(bytes32)

func (*IEntryPointSession) HandleAggregatedOps

func (_IEntryPoint *IEntryPointSession) HandleAggregatedOps(opsPerAggregator []IEntryPointUserOpsPerAggregator, beneficiary common.Address) (*types.Transaction, error)

HandleAggregatedOps is a paid mutator transaction binding the contract method 0x4b1d7cf5.

Solidity: function handleAggregatedOps(((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address,bytes)[] opsPerAggregator, address beneficiary) returns()

func (*IEntryPointSession) HandleOps

func (_IEntryPoint *IEntryPointSession) HandleOps(ops []UserOperation, beneficiary common.Address) (*types.Transaction, error)

HandleOps is a paid mutator transaction binding the contract method 0x1fad948c.

Solidity: function handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] ops, address beneficiary) returns()

func (*IEntryPointSession) IncrementNonce

func (_IEntryPoint *IEntryPointSession) IncrementNonce(key *big.Int) (*types.Transaction, error)

IncrementNonce is a paid mutator transaction binding the contract method 0x0bd28e3b.

Solidity: function incrementNonce(uint192 key) returns()

func (*IEntryPointSession) SimulateHandleOp

func (_IEntryPoint *IEntryPointSession) SimulateHandleOp(op UserOperation, target common.Address, targetCallData []byte) (*types.Transaction, error)

SimulateHandleOp is a paid mutator transaction binding the contract method 0xd6383f94.

Solidity: function simulateHandleOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) op, address target, bytes targetCallData) returns()

func (*IEntryPointSession) SimulateValidation

func (_IEntryPoint *IEntryPointSession) SimulateValidation(userOp UserOperation) (*types.Transaction, error)

SimulateValidation is a paid mutator transaction binding the contract method 0xee219423.

Solidity: function simulateValidation((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) returns()

func (*IEntryPointSession) UnlockStake

func (_IEntryPoint *IEntryPointSession) UnlockStake() (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.

Solidity: function unlockStake() returns()

func (*IEntryPointSession) WithdrawStake

func (_IEntryPoint *IEntryPointSession) WithdrawStake(withdrawAddress common.Address) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.

Solidity: function withdrawStake(address withdrawAddress) returns()

func (*IEntryPointSession) WithdrawTo

func (_IEntryPoint *IEntryPointSession) WithdrawTo(withdrawAddress common.Address, withdrawAmount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address withdrawAddress, uint256 withdrawAmount) returns()

type IEntryPointSignatureAggregatorChanged

type IEntryPointSignatureAggregatorChanged struct {
	Aggregator common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

IEntryPointSignatureAggregatorChanged represents a SignatureAggregatorChanged event raised by the IEntryPoint contract.

type IEntryPointSignatureAggregatorChangedIterator

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

IEntryPointSignatureAggregatorChangedIterator is returned from FilterSignatureAggregatorChanged and is used to iterate over the raw logs and unpacked data for SignatureAggregatorChanged events raised by the IEntryPoint contract.

func (*IEntryPointSignatureAggregatorChangedIterator) Close

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

func (*IEntryPointSignatureAggregatorChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointSignatureAggregatorChangedIterator) Next

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

type IEntryPointStakeLocked

type IEntryPointStakeLocked struct {
	Account         common.Address
	TotalStaked     *big.Int
	UnstakeDelaySec *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IEntryPointStakeLocked represents a StakeLocked event raised by the IEntryPoint contract.

type IEntryPointStakeLockedIterator

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

IEntryPointStakeLockedIterator is returned from FilterStakeLocked and is used to iterate over the raw logs and unpacked data for StakeLocked events raised by the IEntryPoint contract.

func (*IEntryPointStakeLockedIterator) Close

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

func (*IEntryPointStakeLockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointStakeLockedIterator) Next

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

type IEntryPointStakeUnlocked

type IEntryPointStakeUnlocked struct {
	Account      common.Address
	WithdrawTime *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

IEntryPointStakeUnlocked represents a StakeUnlocked event raised by the IEntryPoint contract.

type IEntryPointStakeUnlockedIterator

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

IEntryPointStakeUnlockedIterator is returned from FilterStakeUnlocked and is used to iterate over the raw logs and unpacked data for StakeUnlocked events raised by the IEntryPoint contract.

func (*IEntryPointStakeUnlockedIterator) Close

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

func (*IEntryPointStakeUnlockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointStakeUnlockedIterator) Next

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

type IEntryPointStakeWithdrawn

type IEntryPointStakeWithdrawn struct {
	Account         common.Address
	WithdrawAddress common.Address
	Amount          *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IEntryPointStakeWithdrawn represents a StakeWithdrawn event raised by the IEntryPoint contract.

type IEntryPointStakeWithdrawnIterator

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

IEntryPointStakeWithdrawnIterator is returned from FilterStakeWithdrawn and is used to iterate over the raw logs and unpacked data for StakeWithdrawn events raised by the IEntryPoint contract.

func (*IEntryPointStakeWithdrawnIterator) Close

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

func (*IEntryPointStakeWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointStakeWithdrawnIterator) Next

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

type IEntryPointTransactor

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

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

func NewIEntryPointTransactor

func NewIEntryPointTransactor(address common.Address, transactor bind.ContractTransactor) (*IEntryPointTransactor, error)

NewIEntryPointTransactor creates a new write-only instance of IEntryPoint, bound to a specific deployed contract.

func (*IEntryPointTransactor) AddStake

func (_IEntryPoint *IEntryPointTransactor) AddStake(opts *bind.TransactOpts, _unstakeDelaySec uint32) (*types.Transaction, error)

AddStake is a paid mutator transaction binding the contract method 0x0396cb60.

Solidity: function addStake(uint32 _unstakeDelaySec) payable returns()

func (*IEntryPointTransactor) DepositTo

func (_IEntryPoint *IEntryPointTransactor) DepositTo(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

DepositTo is a paid mutator transaction binding the contract method 0xb760faf9.

Solidity: function depositTo(address account) payable returns()

func (*IEntryPointTransactor) GetSenderAddress

func (_IEntryPoint *IEntryPointTransactor) GetSenderAddress(opts *bind.TransactOpts, initCode []byte) (*types.Transaction, error)

GetSenderAddress is a paid mutator transaction binding the contract method 0x9b249f69.

Solidity: function getSenderAddress(bytes initCode) returns()

func (*IEntryPointTransactor) HandleAggregatedOps

func (_IEntryPoint *IEntryPointTransactor) HandleAggregatedOps(opts *bind.TransactOpts, opsPerAggregator []IEntryPointUserOpsPerAggregator, beneficiary common.Address) (*types.Transaction, error)

HandleAggregatedOps is a paid mutator transaction binding the contract method 0x4b1d7cf5.

Solidity: function handleAggregatedOps(((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address,bytes)[] opsPerAggregator, address beneficiary) returns()

func (*IEntryPointTransactor) HandleOps

func (_IEntryPoint *IEntryPointTransactor) HandleOps(opts *bind.TransactOpts, ops []UserOperation, beneficiary common.Address) (*types.Transaction, error)

HandleOps is a paid mutator transaction binding the contract method 0x1fad948c.

Solidity: function handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] ops, address beneficiary) returns()

func (*IEntryPointTransactor) IncrementNonce

func (_IEntryPoint *IEntryPointTransactor) IncrementNonce(opts *bind.TransactOpts, key *big.Int) (*types.Transaction, error)

IncrementNonce is a paid mutator transaction binding the contract method 0x0bd28e3b.

Solidity: function incrementNonce(uint192 key) returns()

func (*IEntryPointTransactor) SimulateHandleOp

func (_IEntryPoint *IEntryPointTransactor) SimulateHandleOp(opts *bind.TransactOpts, op UserOperation, target common.Address, targetCallData []byte) (*types.Transaction, error)

SimulateHandleOp is a paid mutator transaction binding the contract method 0xd6383f94.

Solidity: function simulateHandleOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) op, address target, bytes targetCallData) returns()

func (*IEntryPointTransactor) SimulateValidation

func (_IEntryPoint *IEntryPointTransactor) SimulateValidation(opts *bind.TransactOpts, userOp UserOperation) (*types.Transaction, error)

SimulateValidation is a paid mutator transaction binding the contract method 0xee219423.

Solidity: function simulateValidation((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) returns()

func (*IEntryPointTransactor) UnlockStake

func (_IEntryPoint *IEntryPointTransactor) UnlockStake(opts *bind.TransactOpts) (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.

Solidity: function unlockStake() returns()

func (*IEntryPointTransactor) WithdrawStake

func (_IEntryPoint *IEntryPointTransactor) WithdrawStake(opts *bind.TransactOpts, withdrawAddress common.Address) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.

Solidity: function withdrawStake(address withdrawAddress) returns()

func (*IEntryPointTransactor) WithdrawTo

func (_IEntryPoint *IEntryPointTransactor) WithdrawTo(opts *bind.TransactOpts, withdrawAddress common.Address, withdrawAmount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address withdrawAddress, uint256 withdrawAmount) returns()

type IEntryPointTransactorRaw

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

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

func (*IEntryPointTransactorRaw) Transact

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

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

func (*IEntryPointTransactorRaw) Transfer

func (_IEntryPoint *IEntryPointTransactorRaw) 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 IEntryPointTransactorSession

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

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

func (*IEntryPointTransactorSession) AddStake

func (_IEntryPoint *IEntryPointTransactorSession) AddStake(_unstakeDelaySec uint32) (*types.Transaction, error)

AddStake is a paid mutator transaction binding the contract method 0x0396cb60.

Solidity: function addStake(uint32 _unstakeDelaySec) payable returns()

func (*IEntryPointTransactorSession) DepositTo

func (_IEntryPoint *IEntryPointTransactorSession) DepositTo(account common.Address) (*types.Transaction, error)

DepositTo is a paid mutator transaction binding the contract method 0xb760faf9.

Solidity: function depositTo(address account) payable returns()

func (*IEntryPointTransactorSession) GetSenderAddress

func (_IEntryPoint *IEntryPointTransactorSession) GetSenderAddress(initCode []byte) (*types.Transaction, error)

GetSenderAddress is a paid mutator transaction binding the contract method 0x9b249f69.

Solidity: function getSenderAddress(bytes initCode) returns()

func (*IEntryPointTransactorSession) HandleAggregatedOps

func (_IEntryPoint *IEntryPointTransactorSession) HandleAggregatedOps(opsPerAggregator []IEntryPointUserOpsPerAggregator, beneficiary common.Address) (*types.Transaction, error)

HandleAggregatedOps is a paid mutator transaction binding the contract method 0x4b1d7cf5.

Solidity: function handleAggregatedOps(((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address,bytes)[] opsPerAggregator, address beneficiary) returns()

func (*IEntryPointTransactorSession) HandleOps

func (_IEntryPoint *IEntryPointTransactorSession) HandleOps(ops []UserOperation, beneficiary common.Address) (*types.Transaction, error)

HandleOps is a paid mutator transaction binding the contract method 0x1fad948c.

Solidity: function handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[] ops, address beneficiary) returns()

func (*IEntryPointTransactorSession) IncrementNonce

func (_IEntryPoint *IEntryPointTransactorSession) IncrementNonce(key *big.Int) (*types.Transaction, error)

IncrementNonce is a paid mutator transaction binding the contract method 0x0bd28e3b.

Solidity: function incrementNonce(uint192 key) returns()

func (*IEntryPointTransactorSession) SimulateHandleOp

func (_IEntryPoint *IEntryPointTransactorSession) SimulateHandleOp(op UserOperation, target common.Address, targetCallData []byte) (*types.Transaction, error)

SimulateHandleOp is a paid mutator transaction binding the contract method 0xd6383f94.

Solidity: function simulateHandleOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) op, address target, bytes targetCallData) returns()

func (*IEntryPointTransactorSession) SimulateValidation

func (_IEntryPoint *IEntryPointTransactorSession) SimulateValidation(userOp UserOperation) (*types.Transaction, error)

SimulateValidation is a paid mutator transaction binding the contract method 0xee219423.

Solidity: function simulateValidation((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes) userOp) returns()

func (*IEntryPointTransactorSession) UnlockStake

func (_IEntryPoint *IEntryPointTransactorSession) UnlockStake() (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.

Solidity: function unlockStake() returns()

func (*IEntryPointTransactorSession) WithdrawStake

func (_IEntryPoint *IEntryPointTransactorSession) WithdrawStake(withdrawAddress common.Address) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.

Solidity: function withdrawStake(address withdrawAddress) returns()

func (*IEntryPointTransactorSession) WithdrawTo

func (_IEntryPoint *IEntryPointTransactorSession) WithdrawTo(withdrawAddress common.Address, withdrawAmount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address withdrawAddress, uint256 withdrawAmount) returns()

type IEntryPointUserOperationEvent

type IEntryPointUserOperationEvent struct {
	UserOpHash    [32]byte
	Sender        common.Address
	Paymaster     common.Address
	Nonce         *big.Int
	Success       bool
	ActualGasCost *big.Int
	ActualGasUsed *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

IEntryPointUserOperationEvent represents a UserOperationEvent event raised by the IEntryPoint contract.

type IEntryPointUserOperationEventIterator

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

IEntryPointUserOperationEventIterator is returned from FilterUserOperationEvent and is used to iterate over the raw logs and unpacked data for UserOperationEvent events raised by the IEntryPoint contract.

func (*IEntryPointUserOperationEventIterator) Close

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

func (*IEntryPointUserOperationEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointUserOperationEventIterator) Next

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

type IEntryPointUserOperationRevertReason

type IEntryPointUserOperationRevertReason struct {
	UserOpHash   [32]byte
	Sender       common.Address
	Nonce        *big.Int
	RevertReason []byte
	Raw          types.Log // Blockchain specific contextual infos
}

IEntryPointUserOperationRevertReason represents a UserOperationRevertReason event raised by the IEntryPoint contract.

type IEntryPointUserOperationRevertReasonIterator

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

IEntryPointUserOperationRevertReasonIterator is returned from FilterUserOperationRevertReason and is used to iterate over the raw logs and unpacked data for UserOperationRevertReason events raised by the IEntryPoint contract.

func (*IEntryPointUserOperationRevertReasonIterator) Close

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

func (*IEntryPointUserOperationRevertReasonIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointUserOperationRevertReasonIterator) Next

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

type IEntryPointUserOpsPerAggregator

type IEntryPointUserOpsPerAggregator struct {
	UserOps    []UserOperation
	Aggregator common.Address
	Signature  []byte
}

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

type IEntryPointWithdrawn

type IEntryPointWithdrawn struct {
	Account         common.Address
	WithdrawAddress common.Address
	Amount          *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IEntryPointWithdrawn represents a Withdrawn event raised by the IEntryPoint contract.

type IEntryPointWithdrawnIterator

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

IEntryPointWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the IEntryPoint contract.

func (*IEntryPointWithdrawnIterator) Close

func (it *IEntryPointWithdrawnIterator) Close() error

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

func (*IEntryPointWithdrawnIterator) Error

func (it *IEntryPointWithdrawnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IEntryPointWithdrawnIterator) Next

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

type INonceManager

type INonceManager struct {
	INonceManagerCaller     // Read-only binding to the contract
	INonceManagerTransactor // Write-only binding to the contract
	INonceManagerFilterer   // Log filterer for contract events
}

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

func NewINonceManager

func NewINonceManager(address common.Address, backend bind.ContractBackend) (*INonceManager, error)

NewINonceManager creates a new instance of INonceManager, bound to a specific deployed contract.

type INonceManagerCaller

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

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

func NewINonceManagerCaller

func NewINonceManagerCaller(address common.Address, caller bind.ContractCaller) (*INonceManagerCaller, error)

NewINonceManagerCaller creates a new read-only instance of INonceManager, bound to a specific deployed contract.

func (*INonceManagerCaller) GetNonce

func (_INonceManager *INonceManagerCaller) GetNonce(opts *bind.CallOpts, sender common.Address, key *big.Int) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0x35567e1a.

Solidity: function getNonce(address sender, uint192 key) view returns(uint256 nonce)

type INonceManagerCallerRaw

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

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

func (*INonceManagerCallerRaw) Call

func (_INonceManager *INonceManagerCallerRaw) 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 INonceManagerCallerSession

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

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

func (*INonceManagerCallerSession) GetNonce

func (_INonceManager *INonceManagerCallerSession) GetNonce(sender common.Address, key *big.Int) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0x35567e1a.

Solidity: function getNonce(address sender, uint192 key) view returns(uint256 nonce)

type INonceManagerFilterer

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

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

func NewINonceManagerFilterer

func NewINonceManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*INonceManagerFilterer, error)

NewINonceManagerFilterer creates a new log filterer instance of INonceManager, bound to a specific deployed contract.

type INonceManagerRaw

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

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

func (*INonceManagerRaw) Call

func (_INonceManager *INonceManagerRaw) 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 (*INonceManagerRaw) Transact

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

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

func (*INonceManagerRaw) Transfer

func (_INonceManager *INonceManagerRaw) 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 INonceManagerSession

type INonceManagerSession struct {
	Contract     *INonceManager    // 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
}

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

func (*INonceManagerSession) GetNonce

func (_INonceManager *INonceManagerSession) GetNonce(sender common.Address, key *big.Int) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0x35567e1a.

Solidity: function getNonce(address sender, uint192 key) view returns(uint256 nonce)

func (*INonceManagerSession) IncrementNonce

func (_INonceManager *INonceManagerSession) IncrementNonce(key *big.Int) (*types.Transaction, error)

IncrementNonce is a paid mutator transaction binding the contract method 0x0bd28e3b.

Solidity: function incrementNonce(uint192 key) returns()

type INonceManagerTransactor

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

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

func NewINonceManagerTransactor

func NewINonceManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*INonceManagerTransactor, error)

NewINonceManagerTransactor creates a new write-only instance of INonceManager, bound to a specific deployed contract.

func (*INonceManagerTransactor) IncrementNonce

func (_INonceManager *INonceManagerTransactor) IncrementNonce(opts *bind.TransactOpts, key *big.Int) (*types.Transaction, error)

IncrementNonce is a paid mutator transaction binding the contract method 0x0bd28e3b.

Solidity: function incrementNonce(uint192 key) returns()

type INonceManagerTransactorRaw

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

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

func (*INonceManagerTransactorRaw) Transact

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

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

func (*INonceManagerTransactorRaw) Transfer

func (_INonceManager *INonceManagerTransactorRaw) 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 INonceManagerTransactorSession

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

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

func (*INonceManagerTransactorSession) IncrementNonce

func (_INonceManager *INonceManagerTransactorSession) IncrementNonce(key *big.Int) (*types.Transaction, error)

IncrementNonce is a paid mutator transaction binding the contract method 0x0bd28e3b.

Solidity: function incrementNonce(uint192 key) returns()

type IStakeManager

type IStakeManager struct {
	IStakeManagerCaller     // Read-only binding to the contract
	IStakeManagerTransactor // Write-only binding to the contract
	IStakeManagerFilterer   // Log filterer for contract events
}

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

func NewIStakeManager

func NewIStakeManager(address common.Address, backend bind.ContractBackend) (*IStakeManager, error)

NewIStakeManager creates a new instance of IStakeManager, bound to a specific deployed contract.

type IStakeManagerCaller

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

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

func NewIStakeManagerCaller

func NewIStakeManagerCaller(address common.Address, caller bind.ContractCaller) (*IStakeManagerCaller, error)

NewIStakeManagerCaller creates a new read-only instance of IStakeManager, bound to a specific deployed contract.

func (*IStakeManagerCaller) BalanceOf

func (_IStakeManager *IStakeManagerCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IStakeManagerCaller) GetDepositInfo

func (_IStakeManager *IStakeManagerCaller) GetDepositInfo(opts *bind.CallOpts, account common.Address) (IStakeManagerDepositInfo, error)

GetDepositInfo is a free data retrieval call binding the contract method 0x5287ce12.

Solidity: function getDepositInfo(address account) view returns((uint112,bool,uint112,uint32,uint48) info)

type IStakeManagerCallerRaw

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

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

func (*IStakeManagerCallerRaw) Call

func (_IStakeManager *IStakeManagerCallerRaw) 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 IStakeManagerCallerSession

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

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

func (*IStakeManagerCallerSession) BalanceOf

func (_IStakeManager *IStakeManagerCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IStakeManagerCallerSession) GetDepositInfo

func (_IStakeManager *IStakeManagerCallerSession) GetDepositInfo(account common.Address) (IStakeManagerDepositInfo, error)

GetDepositInfo is a free data retrieval call binding the contract method 0x5287ce12.

Solidity: function getDepositInfo(address account) view returns((uint112,bool,uint112,uint32,uint48) info)

type IStakeManagerDepositInfo

type IStakeManagerDepositInfo struct {
	Deposit         *big.Int
	Staked          bool
	Stake           *big.Int
	UnstakeDelaySec uint32
	WithdrawTime    *big.Int
}

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

type IStakeManagerDeposited

type IStakeManagerDeposited struct {
	Account      common.Address
	TotalDeposit *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

IStakeManagerDeposited represents a Deposited event raised by the IStakeManager contract.

type IStakeManagerDepositedIterator

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

IStakeManagerDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the IStakeManager contract.

func (*IStakeManagerDepositedIterator) Close

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

func (*IStakeManagerDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakeManagerDepositedIterator) Next

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

type IStakeManagerFilterer

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

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

func NewIStakeManagerFilterer

func NewIStakeManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*IStakeManagerFilterer, error)

NewIStakeManagerFilterer creates a new log filterer instance of IStakeManager, bound to a specific deployed contract.

func (*IStakeManagerFilterer) FilterDeposited

func (_IStakeManager *IStakeManagerFilterer) FilterDeposited(opts *bind.FilterOpts, account []common.Address) (*IStakeManagerDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 totalDeposit)

func (*IStakeManagerFilterer) FilterStakeLocked

func (_IStakeManager *IStakeManagerFilterer) FilterStakeLocked(opts *bind.FilterOpts, account []common.Address) (*IStakeManagerStakeLockedIterator, error)

FilterStakeLocked is a free log retrieval operation binding the contract event 0xa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01.

Solidity: event StakeLocked(address indexed account, uint256 totalStaked, uint256 unstakeDelaySec)

func (*IStakeManagerFilterer) FilterStakeUnlocked

func (_IStakeManager *IStakeManagerFilterer) FilterStakeUnlocked(opts *bind.FilterOpts, account []common.Address) (*IStakeManagerStakeUnlockedIterator, error)

FilterStakeUnlocked is a free log retrieval operation binding the contract event 0xfa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a.

Solidity: event StakeUnlocked(address indexed account, uint256 withdrawTime)

func (*IStakeManagerFilterer) FilterStakeWithdrawn

func (_IStakeManager *IStakeManagerFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, account []common.Address) (*IStakeManagerStakeWithdrawnIterator, error)

FilterStakeWithdrawn is a free log retrieval operation binding the contract event 0xb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda3.

Solidity: event StakeWithdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IStakeManagerFilterer) FilterWithdrawn

func (_IStakeManager *IStakeManagerFilterer) FilterWithdrawn(opts *bind.FilterOpts, account []common.Address) (*IStakeManagerWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IStakeManagerFilterer) ParseDeposited

func (_IStakeManager *IStakeManagerFilterer) ParseDeposited(log types.Log) (*IStakeManagerDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 totalDeposit)

func (*IStakeManagerFilterer) ParseStakeLocked

func (_IStakeManager *IStakeManagerFilterer) ParseStakeLocked(log types.Log) (*IStakeManagerStakeLocked, error)

ParseStakeLocked is a log parse operation binding the contract event 0xa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01.

Solidity: event StakeLocked(address indexed account, uint256 totalStaked, uint256 unstakeDelaySec)

func (*IStakeManagerFilterer) ParseStakeUnlocked

func (_IStakeManager *IStakeManagerFilterer) ParseStakeUnlocked(log types.Log) (*IStakeManagerStakeUnlocked, error)

ParseStakeUnlocked is a log parse operation binding the contract event 0xfa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a.

Solidity: event StakeUnlocked(address indexed account, uint256 withdrawTime)

func (*IStakeManagerFilterer) ParseStakeWithdrawn

func (_IStakeManager *IStakeManagerFilterer) ParseStakeWithdrawn(log types.Log) (*IStakeManagerStakeWithdrawn, error)

ParseStakeWithdrawn is a log parse operation binding the contract event 0xb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda3.

Solidity: event StakeWithdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IStakeManagerFilterer) ParseWithdrawn

func (_IStakeManager *IStakeManagerFilterer) ParseWithdrawn(log types.Log) (*IStakeManagerWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IStakeManagerFilterer) WatchDeposited

func (_IStakeManager *IStakeManagerFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *IStakeManagerDeposited, account []common.Address) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4.

Solidity: event Deposited(address indexed account, uint256 totalDeposit)

func (*IStakeManagerFilterer) WatchStakeLocked

func (_IStakeManager *IStakeManagerFilterer) WatchStakeLocked(opts *bind.WatchOpts, sink chan<- *IStakeManagerStakeLocked, account []common.Address) (event.Subscription, error)

WatchStakeLocked is a free log subscription operation binding the contract event 0xa5ae833d0bb1dcd632d98a8b70973e8516812898e19bf27b70071ebc8dc52c01.

Solidity: event StakeLocked(address indexed account, uint256 totalStaked, uint256 unstakeDelaySec)

func (*IStakeManagerFilterer) WatchStakeUnlocked

func (_IStakeManager *IStakeManagerFilterer) WatchStakeUnlocked(opts *bind.WatchOpts, sink chan<- *IStakeManagerStakeUnlocked, account []common.Address) (event.Subscription, error)

WatchStakeUnlocked is a free log subscription operation binding the contract event 0xfa9b3c14cc825c412c9ed81b3ba365a5b459439403f18829e572ed53a4180f0a.

Solidity: event StakeUnlocked(address indexed account, uint256 withdrawTime)

func (*IStakeManagerFilterer) WatchStakeWithdrawn

func (_IStakeManager *IStakeManagerFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *IStakeManagerStakeWithdrawn, account []common.Address) (event.Subscription, error)

WatchStakeWithdrawn is a free log subscription operation binding the contract event 0xb7c918e0e249f999e965cafeb6c664271b3f4317d296461500e71da39f0cbda3.

Solidity: event StakeWithdrawn(address indexed account, address withdrawAddress, uint256 amount)

func (*IStakeManagerFilterer) WatchWithdrawn

func (_IStakeManager *IStakeManagerFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *IStakeManagerWithdrawn, account []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0xd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb.

Solidity: event Withdrawn(address indexed account, address withdrawAddress, uint256 amount)

type IStakeManagerRaw

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

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

func (*IStakeManagerRaw) Call

func (_IStakeManager *IStakeManagerRaw) 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 (*IStakeManagerRaw) Transact

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

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

func (*IStakeManagerRaw) Transfer

func (_IStakeManager *IStakeManagerRaw) 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 IStakeManagerSession

type IStakeManagerSession struct {
	Contract     *IStakeManager    // 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
}

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

func (*IStakeManagerSession) AddStake

func (_IStakeManager *IStakeManagerSession) AddStake(_unstakeDelaySec uint32) (*types.Transaction, error)

AddStake is a paid mutator transaction binding the contract method 0x0396cb60.

Solidity: function addStake(uint32 _unstakeDelaySec) payable returns()

func (*IStakeManagerSession) BalanceOf

func (_IStakeManager *IStakeManagerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IStakeManagerSession) DepositTo

func (_IStakeManager *IStakeManagerSession) DepositTo(account common.Address) (*types.Transaction, error)

DepositTo is a paid mutator transaction binding the contract method 0xb760faf9.

Solidity: function depositTo(address account) payable returns()

func (*IStakeManagerSession) GetDepositInfo

func (_IStakeManager *IStakeManagerSession) GetDepositInfo(account common.Address) (IStakeManagerDepositInfo, error)

GetDepositInfo is a free data retrieval call binding the contract method 0x5287ce12.

Solidity: function getDepositInfo(address account) view returns((uint112,bool,uint112,uint32,uint48) info)

func (*IStakeManagerSession) UnlockStake

func (_IStakeManager *IStakeManagerSession) UnlockStake() (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.

Solidity: function unlockStake() returns()

func (*IStakeManagerSession) WithdrawStake

func (_IStakeManager *IStakeManagerSession) WithdrawStake(withdrawAddress common.Address) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.

Solidity: function withdrawStake(address withdrawAddress) returns()

func (*IStakeManagerSession) WithdrawTo

func (_IStakeManager *IStakeManagerSession) WithdrawTo(withdrawAddress common.Address, withdrawAmount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address withdrawAddress, uint256 withdrawAmount) returns()

type IStakeManagerStakeLocked

type IStakeManagerStakeLocked struct {
	Account         common.Address
	TotalStaked     *big.Int
	UnstakeDelaySec *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IStakeManagerStakeLocked represents a StakeLocked event raised by the IStakeManager contract.

type IStakeManagerStakeLockedIterator

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

IStakeManagerStakeLockedIterator is returned from FilterStakeLocked and is used to iterate over the raw logs and unpacked data for StakeLocked events raised by the IStakeManager contract.

func (*IStakeManagerStakeLockedIterator) Close

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

func (*IStakeManagerStakeLockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakeManagerStakeLockedIterator) Next

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

type IStakeManagerStakeUnlocked

type IStakeManagerStakeUnlocked struct {
	Account      common.Address
	WithdrawTime *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

IStakeManagerStakeUnlocked represents a StakeUnlocked event raised by the IStakeManager contract.

type IStakeManagerStakeUnlockedIterator

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

IStakeManagerStakeUnlockedIterator is returned from FilterStakeUnlocked and is used to iterate over the raw logs and unpacked data for StakeUnlocked events raised by the IStakeManager contract.

func (*IStakeManagerStakeUnlockedIterator) Close

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

func (*IStakeManagerStakeUnlockedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakeManagerStakeUnlockedIterator) Next

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

type IStakeManagerStakeWithdrawn

type IStakeManagerStakeWithdrawn struct {
	Account         common.Address
	WithdrawAddress common.Address
	Amount          *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IStakeManagerStakeWithdrawn represents a StakeWithdrawn event raised by the IStakeManager contract.

type IStakeManagerStakeWithdrawnIterator

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

IStakeManagerStakeWithdrawnIterator is returned from FilterStakeWithdrawn and is used to iterate over the raw logs and unpacked data for StakeWithdrawn events raised by the IStakeManager contract.

func (*IStakeManagerStakeWithdrawnIterator) Close

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

func (*IStakeManagerStakeWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakeManagerStakeWithdrawnIterator) Next

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

type IStakeManagerTransactor

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

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

func NewIStakeManagerTransactor

func NewIStakeManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*IStakeManagerTransactor, error)

NewIStakeManagerTransactor creates a new write-only instance of IStakeManager, bound to a specific deployed contract.

func (*IStakeManagerTransactor) AddStake

func (_IStakeManager *IStakeManagerTransactor) AddStake(opts *bind.TransactOpts, _unstakeDelaySec uint32) (*types.Transaction, error)

AddStake is a paid mutator transaction binding the contract method 0x0396cb60.

Solidity: function addStake(uint32 _unstakeDelaySec) payable returns()

func (*IStakeManagerTransactor) DepositTo

func (_IStakeManager *IStakeManagerTransactor) DepositTo(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

DepositTo is a paid mutator transaction binding the contract method 0xb760faf9.

Solidity: function depositTo(address account) payable returns()

func (*IStakeManagerTransactor) UnlockStake

func (_IStakeManager *IStakeManagerTransactor) UnlockStake(opts *bind.TransactOpts) (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.

Solidity: function unlockStake() returns()

func (*IStakeManagerTransactor) WithdrawStake

func (_IStakeManager *IStakeManagerTransactor) WithdrawStake(opts *bind.TransactOpts, withdrawAddress common.Address) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.

Solidity: function withdrawStake(address withdrawAddress) returns()

func (*IStakeManagerTransactor) WithdrawTo

func (_IStakeManager *IStakeManagerTransactor) WithdrawTo(opts *bind.TransactOpts, withdrawAddress common.Address, withdrawAmount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address withdrawAddress, uint256 withdrawAmount) returns()

type IStakeManagerTransactorRaw

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

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

func (*IStakeManagerTransactorRaw) Transact

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

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

func (*IStakeManagerTransactorRaw) Transfer

func (_IStakeManager *IStakeManagerTransactorRaw) 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 IStakeManagerTransactorSession

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

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

func (*IStakeManagerTransactorSession) AddStake

func (_IStakeManager *IStakeManagerTransactorSession) AddStake(_unstakeDelaySec uint32) (*types.Transaction, error)

AddStake is a paid mutator transaction binding the contract method 0x0396cb60.

Solidity: function addStake(uint32 _unstakeDelaySec) payable returns()

func (*IStakeManagerTransactorSession) DepositTo

func (_IStakeManager *IStakeManagerTransactorSession) DepositTo(account common.Address) (*types.Transaction, error)

DepositTo is a paid mutator transaction binding the contract method 0xb760faf9.

Solidity: function depositTo(address account) payable returns()

func (*IStakeManagerTransactorSession) UnlockStake

func (_IStakeManager *IStakeManagerTransactorSession) UnlockStake() (*types.Transaction, error)

UnlockStake is a paid mutator transaction binding the contract method 0xbb9fe6bf.

Solidity: function unlockStake() returns()

func (*IStakeManagerTransactorSession) WithdrawStake

func (_IStakeManager *IStakeManagerTransactorSession) WithdrawStake(withdrawAddress common.Address) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0xc23a5cea.

Solidity: function withdrawStake(address withdrawAddress) returns()

func (*IStakeManagerTransactorSession) WithdrawTo

func (_IStakeManager *IStakeManagerTransactorSession) WithdrawTo(withdrawAddress common.Address, withdrawAmount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address withdrawAddress, uint256 withdrawAmount) returns()

type IStakeManagerWithdrawn

type IStakeManagerWithdrawn struct {
	Account         common.Address
	WithdrawAddress common.Address
	Amount          *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IStakeManagerWithdrawn represents a Withdrawn event raised by the IStakeManager contract.

type IStakeManagerWithdrawnIterator

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

IStakeManagerWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the IStakeManager contract.

func (*IStakeManagerWithdrawnIterator) Close

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

func (*IStakeManagerWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakeManagerWithdrawnIterator) Next

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

type ReturnInfo

type ReturnInfo struct {
	PreOpGas         *uint256.Int `json:"preOpGas"`
	Prefund          *uint256.Int `json:"prefund"`
	SigFailed        bool         `json:"sigFailed"`
	ValidAfter       uint64       `json:"validAfter"` // Using uint64 since Go doesn't have an uint48 type.
	ValidUntil       uint64       `json:"validUntil"` // Using uint64 to accommodate uint48.
	PaymasterContext []byte       `json:"paymasterContext"`
}

ReturnInfo is the return value of the entry point.

type StakeInfo

type StakeInfo struct {
	Stake           *uint256.Int `json:"stake"`
	UnstakeDelaySec *uint256.Int `json:"unstakeDelaySec"`
}

StakeInfo is the stake information of an account.

type UserOperation

type UserOperation struct {
	Sender               common.Address
	Nonce                *big.Int
	InitCode             []byte
	CallData             []byte
	CallGasLimit         *big.Int
	VerificationGasLimit *big.Int
	PreVerificationGas   *big.Int
	MaxFeePerGas         *big.Int
	MaxPriorityFeePerGas *big.Int
	PaymasterAndData     []byte
	Signature            []byte
}

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

func (*UserOperation) Hash

func (i *UserOperation) Hash(chainId *big.Int) common.Hash

type UserOperationLib

type UserOperationLib struct {
	UserOperationLibCaller     // Read-only binding to the contract
	UserOperationLibTransactor // Write-only binding to the contract
	UserOperationLibFilterer   // Log filterer for contract events
}

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

func DeployUserOperationLib

func DeployUserOperationLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *UserOperationLib, error)

DeployUserOperationLib deploys a new Ethereum contract, binding an instance of UserOperationLib to it.

func NewUserOperationLib

func NewUserOperationLib(address common.Address, backend bind.ContractBackend) (*UserOperationLib, error)

NewUserOperationLib creates a new instance of UserOperationLib, bound to a specific deployed contract.

type UserOperationLibCaller

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

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

func NewUserOperationLibCaller

func NewUserOperationLibCaller(address common.Address, caller bind.ContractCaller) (*UserOperationLibCaller, error)

NewUserOperationLibCaller creates a new read-only instance of UserOperationLib, bound to a specific deployed contract.

type UserOperationLibCallerRaw

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

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

func (*UserOperationLibCallerRaw) Call

func (_UserOperationLib *UserOperationLibCallerRaw) 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 UserOperationLibCallerSession

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

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

type UserOperationLibFilterer

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

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

func NewUserOperationLibFilterer

func NewUserOperationLibFilterer(address common.Address, filterer bind.ContractFilterer) (*UserOperationLibFilterer, error)

NewUserOperationLibFilterer creates a new log filterer instance of UserOperationLib, bound to a specific deployed contract.

type UserOperationLibRaw

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

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

func (*UserOperationLibRaw) Call

func (_UserOperationLib *UserOperationLibRaw) 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 (*UserOperationLibRaw) Transact

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

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

func (*UserOperationLibRaw) Transfer

func (_UserOperationLib *UserOperationLibRaw) 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 UserOperationLibSession

type UserOperationLibSession struct {
	Contract     *UserOperationLib // 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
}

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

type UserOperationLibTransactor

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

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

func NewUserOperationLibTransactor

func NewUserOperationLibTransactor(address common.Address, transactor bind.ContractTransactor) (*UserOperationLibTransactor, error)

NewUserOperationLibTransactor creates a new write-only instance of UserOperationLib, bound to a specific deployed contract.

type UserOperationLibTransactorRaw

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

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

func (*UserOperationLibTransactorRaw) Transact

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

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

func (*UserOperationLibTransactorRaw) Transfer

func (_UserOperationLib *UserOperationLibTransactorRaw) 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 UserOperationLibTransactorSession

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

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

type ValidationResult

type ValidationResult struct {
	ReturnInfo    *ReturnInfo `json:"returnInfo"`
	SenderInfo    *StakeInfo  `json:"senderInfo"`
	FactoryInfo   *StakeInfo  `json:"factoryInfo"`
	PaymasterInfo *StakeInfo  `json:"paymasterInfo"`
}

ValidationResult is the result of the validation.

func DecodeValidationResult

func DecodeValidationResult(data []byte) (*ValidationResult, error)

Jump to

Keyboard shortcuts

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