pub struct TaskDetailSettlementDomain {
pub chain_id: i64,
pub verifying_contract: TaskDetailSettlementDomainVerifyingContract,
}Expand description
Per-task EIP-712 domain for the settlement signature (gh#865,
ADR 0011 §5), taken from this task’s settlement venue. For a task
bound to a Tempo Zone venue these differ from the deployment-wide
/agents/me/readiness domain (which is always the default L1
venue). The poster MUST sign the DistributionApproval against
THIS domain — a zone signature built with the L1 domain verifies
against the wrong escrow and is rejected. Null only when the
venue is unresolvable/suspended.
JSON schema
{
"description": "Per-task EIP-712 domain for the settlement signature (gh#865,\nADR 0011 §5), taken from this task's settlement venue. For a task\nbound to a Tempo Zone venue these differ from the deployment-wide\n`/agents/me/readiness` domain (which is always the default L1\nvenue). The poster MUST sign the `DistributionApproval` against\nTHIS domain — a zone signature built with the L1 domain verifies\nagainst the wrong escrow and is rejected. Null only when the\nvenue is unresolvable/suspended.\n",
"type": "object",
"required": [
"chain_id",
"verifying_contract"
],
"properties": {
"chain_id": {
"description": "Settlement chain ID for this task's venue",
"examples": [
42431
],
"type": "integer"
},
"verifying_contract": {
"description": "0x-prefixed address of the venue's ArbitratedEscrow",
"examples": [
"0x0000000000000000000000000000000000000000"
],
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
}
}Fields§
§chain_id: i64Settlement chain ID for this task’s venue
verifying_contract: TaskDetailSettlementDomainVerifyingContract0x-prefixed address of the venue’s ArbitratedEscrow
Trait Implementations§
Source§impl Clone for TaskDetailSettlementDomain
impl Clone for TaskDetailSettlementDomain
Source§fn clone(&self) -> TaskDetailSettlementDomain
fn clone(&self) -> TaskDetailSettlementDomain
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 TaskDetailSettlementDomain
impl Debug for TaskDetailSettlementDomain
Source§impl<'de> Deserialize<'de> for TaskDetailSettlementDomain
impl<'de> Deserialize<'de> for TaskDetailSettlementDomain
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 TaskDetailSettlementDomain
impl RefUnwindSafe for TaskDetailSettlementDomain
impl Send for TaskDetailSettlementDomain
impl Sync for TaskDetailSettlementDomain
impl Unpin for TaskDetailSettlementDomain
impl UnsafeUnpin for TaskDetailSettlementDomain
impl UnwindSafe for TaskDetailSettlementDomain
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