UserOperation

ERC-4337 structure that describes a transaction to be sent on behalf of a user
Protobuf type TW.Ethereum.Proto.UserOperation

Types

Link copied to clipboard
class Builder
ERC-4337 structure that describes a transaction to be sent on behalf of a user
Protobuf type TW.Ethereum.Proto.UserOperation

Functions

Link copied to clipboard
Account factory contract address
string account_factory = 2;
Link copied to clipboard
open fun getAccountFactoryBytes(): ByteString
Account factory contract address
string account_factory = 2;
Link copied to clipboard
Account logic contract address
string account_logic = 3;
Link copied to clipboard
open fun getAccountLogicBytes(): ByteString
Account logic contract address
string account_logic = 3;
Link copied to clipboard
open fun getDefaultInstance(): UserOperation
Link copied to clipboard
open fun getEntryPoint(): String
Entry point contract address
string entry_point = 1;
Link copied to clipboard
open fun getEntryPointBytes(): ByteString
Entry point contract address
string entry_point = 1;
Link copied to clipboard
Whether the smart contract for this address has already been deployed
bool is_account_deployed = 5;
Link copied to clipboard
open fun getOwner(): String
Public address of the account signer
string owner = 4;
Link copied to clipboard
open fun getOwnerBytes(): ByteString
Public address of the account signer
string owner = 4;
Link copied to clipboard
open fun getPaymasterAndData(): ByteString
Address of paymaster sponsoring the transaction, followed by extra data to send to the paymaster (empty for self-sponsored transaction)
bytes paymaster_and_data = 8;
Link copied to clipboard
open fun getPreVerificationGas(): ByteString
The amount of gas to pay for to compensate the bundler for pre-verification execution and calldata
bytes pre_verification_gas = 6;
Link copied to clipboard
open fun getVerificationGasLimit(): ByteString
The amount of gas to allocate for the verification step
bytes verification_gas_limit = 7;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): UserOperation
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): UserOperation
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): UserOperation
open fun parseFrom(data: ByteString): UserOperation
open fun parseFrom(input: CodedInputStream): UserOperation
open fun parseFrom(input: InputStream): UserOperation
open fun parseFrom(data: ByteBuffer): UserOperation
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): UserOperation
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): UserOperation
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): UserOperation
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): UserOperation
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): UserOperation
Link copied to clipboard
open fun parser(): Parser<UserOperation>

Properties