pub struct Withdrawal {
pub calldata: Option<String>,
pub vault_address: Option<String>,
pub withdrawal_index: Option<String>,
}Expand description
Withdrawal
JSON schema
{
"type": "object",
"properties": {
"calldata": {
"description": "0x-prefixed ABI-encoded executeWithdrawal(...) calldata; submit as tx.data to the vault. Empty on InitiateWithdrawal (the merkle proof is not available until the withdrawal root is confirmed on-chain) — fetch it from GetWithdrawal once ready",
"type": [
"string",
"null"
]
},
"vaultAddress": {
"description": "0x-prefixed lowercase address of the vault contract the calldata is submitted to",
"examples": [
"0x5fbdb2315678afecb367f032d93f642f64180aa3"
],
"type": [
"string",
"null"
]
},
"withdrawalIndex": {
"description": "Allocated withdrawal index — matches executeWithdrawal.index on-chain",
"examples": [
"42"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§calldata: Option<String>0x-prefixed ABI-encoded executeWithdrawal(…) calldata; submit as tx.data to the vault. Empty on InitiateWithdrawal (the merkle proof is not available until the withdrawal root is confirmed on-chain) — fetch it from GetWithdrawal once ready
vault_address: Option<String>0x-prefixed lowercase address of the vault contract the calldata is submitted to
withdrawal_index: Option<String>Allocated withdrawal index — matches executeWithdrawal.index on-chain
Trait Implementations§
Source§impl Clone for Withdrawal
impl Clone for Withdrawal
Source§fn clone(&self) -> Withdrawal
fn clone(&self) -> Withdrawal
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 Debug for Withdrawal
impl Debug for Withdrawal
Source§impl Default for Withdrawal
impl Default for Withdrawal
Source§impl<'de> Deserialize<'de> for Withdrawal
impl<'de> Deserialize<'de> for Withdrawal
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
Auto Trait Implementations§
impl Freeze for Withdrawal
impl RefUnwindSafe for Withdrawal
impl Send for Withdrawal
impl Sync for Withdrawal
impl Unpin for Withdrawal
impl UnsafeUnpin for Withdrawal
impl UnwindSafe for Withdrawal
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