Entrypoint class

Inheritance

Constructors

Entrypoint({required EthereumAddress address, required Web3Client client, int? chainId})

Properties

chainId int?
finalinherited
client Web3Client
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
self DeployedContract
finalinherited

Methods

accountDeployedEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<AccountDeployed>
Returns a live stream of all AccountDeployed events emitted by this contract.
addStake(BigInt unstakeDelaySec, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
balanceOf(EthereumAddress account, {BlockNum? atBlock}) Future<BigInt>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
beforeExecutionEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<BeforeExecution>
Returns a live stream of all BeforeExecution events emitted by this contract.
checkSignature(ContractFunction function, String expected) bool
Returns whether the function has the expected selector.
inherited
depositedEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<Deposited>
Returns a live stream of all Deposited events emitted by this contract.
deposits(EthereumAddress $param6, {BlockNum? atBlock}) Future<Deposits>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
depositTo(EthereumAddress account, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
getDepositInfo(EthereumAddress account, {BlockNum? atBlock}) Future
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
getNonce(EthereumAddress sender, BigInt key, {BlockNum? atBlock}) Future<BigInt>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
getSenderAddress(Uint8List initCode, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
getUserOpHash(dynamic userOp, {BlockNum? atBlock}) Future<Uint8List>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
handleAggregatedOps(List opsPerAggregator, EthereumAddress beneficiary, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
handleOps(List ops, EthereumAddress beneficiary, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
incrementNonce(BigInt key, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
innerHandleOp(Uint8List callData, dynamic opInfo, Uint8List context, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
nonceSequenceNumber(EthereumAddress $param20, BigInt $param21, {BlockNum? atBlock}) Future<BigInt>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(ContractFunction function, List params, BlockNum? atBlock) Future<List>
inherited
SIG_VALIDATION_FAILED({BlockNum? atBlock}) Future<BigInt>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
signatureAggregatorChangedEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<SignatureAggregatorChanged>
Returns a live stream of all SignatureAggregatorChanged events emitted by this contract.
simulateHandleOp(dynamic op, EthereumAddress target, Uint8List targetCallData, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
simulateValidation(dynamic userOp, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
stakeLockedEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<StakeLocked>
Returns a live stream of all StakeLocked events emitted by this contract.
stakeUnlockedEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<StakeUnlocked>
Returns a live stream of all StakeUnlocked events emitted by this contract.
stakeWithdrawnEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<StakeWithdrawn>
Returns a live stream of all StakeWithdrawn events emitted by this contract.
toString() String
A string representation of this object.
inherited
unlockStake({required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
userOperationEventEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<UserOperationEvent>
Returns a live stream of all UserOperationEvent events emitted by this contract.
userOperationRevertReasonEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<UserOperationRevertReason>
Returns a live stream of all UserOperationRevertReason events emitted by this contract.
withdrawnEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<Withdrawn>
Returns a live stream of all Withdrawn events emitted by this contract.
withdrawStake(EthereumAddress withdrawAddress, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
withdrawTo(EthereumAddress withdrawAddress, BigInt withdrawAmount, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
write(Credentials credentials, Transaction? base, ContractFunction function, List parameters) Future<String>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited