pub struct SignedTransferWithCommit {
pub domain: Eip712Domain,
pub from: Address,
pub to: Address,
pub token: Address,
pub value: U256,
pub commitment: B256,
pub valid_after: U256,
pub valid_before: U256,
pub signature: Bytes,
}Expand description
単一送金+コミットメントの署名結果(型 TransferWithCommit)。
Fields§
§domain: Eip712DomainEIP-712 ドメイン(正規化済み)。
from: Addressメッセージの from。
to: Address§token: Address§value: U256§commitment: B256§valid_after: U256署名メッセージの validAfter(uint256)。コントラクトの validTimestamp と整合する値(通常はブロックタイムスタンプと比較される単位)。
valid_before: U256署名メッセージの validBefore(uint256)。上に同じ。
signature: BytesECDSA 署名(bytes)。
Trait Implementations§
Source§impl Clone for SignedTransferWithCommit
impl Clone for SignedTransferWithCommit
Source§fn clone(&self) -> SignedTransferWithCommit
fn clone(&self) -> SignedTransferWithCommit
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 moreAuto Trait Implementations§
impl !Freeze for SignedTransferWithCommit
impl RefUnwindSafe for SignedTransferWithCommit
impl Send for SignedTransferWithCommit
impl Sync for SignedTransferWithCommit
impl Unpin for SignedTransferWithCommit
impl UnwindSafe for SignedTransferWithCommit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more