pub struct EthereumSign7702Authorization {
pub chain_id: Quantity,
pub contract: String,
pub nonce: Quantity,
pub r: Hex,
pub s: Hex,
pub y_parity: f64,
}Expand description
A signed EIP-7702 authorization that delegates code execution to a contract address.
JSON schema
{
"title": "EthereumSign7702Authorization",
"description": "A signed EIP-7702 authorization that delegates code
execution to a contract address.",
"type": "object",
"required": [
"chain_id",
"contract",
"nonce",
"r",
"s",
"y_parity"
],
"properties": {
"chain_id": {
"$ref": "#/components/schemas/Quantity"
},
"contract": {
"type": "string"
},
"nonce": {
"$ref": "#/components/schemas/Quantity"
},
"r": {
"$ref": "#/components/schemas/Hex"
},
"s": {
"$ref": "#/components/schemas/Hex"
},
"y_parity": {
"type": "number"
}
},
"x-stainless-model": "wallets.ethereum_sign_7702_authorization"
}Fields§
§chain_id: Quantity§contract: String§nonce: Quantity§r: Hex§s: Hex§y_parity: f64Trait Implementations§
Source§impl Clone for EthereumSign7702Authorization
impl Clone for EthereumSign7702Authorization
Source§fn clone(&self) -> EthereumSign7702Authorization
fn clone(&self) -> EthereumSign7702Authorization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EthereumSign7702Authorization
impl<'de> Deserialize<'de> for EthereumSign7702Authorization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EthereumSign7702Authorization> for EthereumSign7702Authorization
impl From<&EthereumSign7702Authorization> for EthereumSign7702Authorization
Source§fn from(value: &EthereumSign7702Authorization) -> Self
fn from(value: &EthereumSign7702Authorization) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSign7702Authorization
impl RefUnwindSafe for EthereumSign7702Authorization
impl Send for EthereumSign7702Authorization
impl Sync for EthereumSign7702Authorization
impl Unpin for EthereumSign7702Authorization
impl UnsafeUnpin for EthereumSign7702Authorization
impl UnwindSafe for EthereumSign7702Authorization
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