pub struct UserOperationV7 {Show 15 fields
pub sender: String,
pub nonce: String,
pub factory: Option<String>,
pub factory_data: Option<String>,
pub call_data: String,
pub call_gas_limit: String,
pub verification_gas_limit: String,
pub pre_verification_gas: String,
pub max_fee_per_gas: String,
pub max_priority_fee_per_gas: String,
pub paymaster: Option<String>,
pub paymaster_verification_gas_limit: Option<String>,
pub paymaster_post_op_gas_limit: Option<String>,
pub paymaster_data: Option<String>,
pub signature: String,
}Expand description
ERC-4337 v0.7 UserOperation.
Field names match the Pimlico bundler v0.7 API exactly. Optional fields are serialized as null when absent.
Fields§
§sender: String§nonce: String§factory: Option<String>§factory_data: Option<String>§call_data: String§call_gas_limit: String§verification_gas_limit: String§pre_verification_gas: String§max_fee_per_gas: String§max_priority_fee_per_gas: String§paymaster: Option<String>§paymaster_verification_gas_limit: Option<String>§paymaster_post_op_gas_limit: Option<String>§paymaster_data: Option<String>§signature: StringTrait Implementations§
Source§impl Clone for UserOperationV7
impl Clone for UserOperationV7
Source§fn clone(&self) -> UserOperationV7
fn clone(&self) -> UserOperationV7
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserOperationV7
impl Debug for UserOperationV7
Source§impl<'de> Deserialize<'de> for UserOperationV7
impl<'de> Deserialize<'de> for UserOperationV7
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserOperationV7, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserOperationV7, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UserOperationV7
impl Serialize for UserOperationV7
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UserOperationV7
impl RefUnwindSafe for UserOperationV7
impl Send for UserOperationV7
impl Sync for UserOperationV7
impl Unpin for UserOperationV7
impl UnsafeUnpin for UserOperationV7
impl UnwindSafe for UserOperationV7
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more