pub struct OffchainSettlementReceiptArtifact {
pub schema: String,
pub settlement_receipt_id: String,
pub issued_at: u64,
pub authorization_digest: String,
pub governed_receipt_id: String,
pub settled_amount: MonetaryAmount,
pub execution_nonce_ref: Option<String>,
pub hold_ref: Option<String>,
pub note: Option<String>,
}Expand description
Prepare-only off-chain settlement receipt binding the EIP-3009 authorization digest to a governed receipt.
Minted after a successful prepare_transfer_with_authorization call.
This off-chain EIP-3009 preparation lane does not broadcast: the artifact
records that an authorization was prepared and binds it to the governed
receipt that authorized the spend. The execution_nonce_ref and hold_ref
fields are reserved linkage fields for the comptroller surface and are
None until the corresponding on-chain execution stage is implemented.
Fields§
§schema: StringSchema identifier. Must equal CHIO_OFFCHAIN_SETTLEMENT_RECEIPT_SCHEMA.
settlement_receipt_id: StringStable unique identifier for this off-chain settlement receipt.
issued_at: u64Unix timestamp (seconds) when this receipt was issued.
EIP-712 digest from the prepared transferWithAuthorization call.
Binds the off-chain authorization to this receipt.
governed_receipt_id: StringReceipt id of the governed tool-call receipt that authorized this spend. Binds the settlement back to the governed receipt so a captured digest cannot be redirected to a different tool-call receipt.
settled_amount: MonetaryAmountSettled monetary amount.
execution_nonce_ref: Option<String>Reserved linkage to the on-chain execution nonce reference used by the
comptroller surface. None until on-chain execution is implemented.
hold_ref: Option<String>Reserved linkage to the budget hold that backs this settlement.
None until the comptroller hold-linkage stage is implemented.
note: Option<String>Optional human-readable note.
Trait Implementations§
Source§impl Clone for OffchainSettlementReceiptArtifact
impl Clone for OffchainSettlementReceiptArtifact
Source§fn clone(&self) -> OffchainSettlementReceiptArtifact
fn clone(&self) -> OffchainSettlementReceiptArtifact
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more