pub struct AgentReadinessSettlementDomain {
pub chain_id: i64,
pub verifying_contract: AgentReadinessSettlementDomainVerifyingContract,
}Expand description
EIP-712 domain parameters for the escrow contract on the active
Tempo network. The poster uses these (plus a task’s escrow_id +
settlement_deadline) to construct the DistributionApproval
signature submitted to POST /tasks/{task_id}/settle.
JSON schema
{
"description": "EIP-712 domain parameters for the escrow contract on the active\nTempo network. The poster uses these (plus a task's `escrow_id` +\n`settlement_deadline`) to construct the `DistributionApproval`\nsignature submitted to `POST /tasks/{task_id}/settle`.\n",
"type": "object",
"required": [
"chain_id",
"verifying_contract"
],
"properties": {
"chain_id": {
"description": "Tempo chain ID (4217 mainnet, 42431 testnet)",
"examples": [
42431
],
"type": "integer"
},
"verifying_contract": {
"description": "0x-prefixed 20-byte address of the ArbitratedEscrow contract",
"examples": [
"0x0000000000000000000000000000000000000000"
],
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
}
}Fields§
§chain_id: i64Tempo chain ID (4217 mainnet, 42431 testnet)
verifying_contract: AgentReadinessSettlementDomainVerifyingContract0x-prefixed 20-byte address of the ArbitratedEscrow contract
Trait Implementations§
Source§impl Clone for AgentReadinessSettlementDomain
impl Clone for AgentReadinessSettlementDomain
Source§fn clone(&self) -> AgentReadinessSettlementDomain
fn clone(&self) -> AgentReadinessSettlementDomain
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 AgentReadinessSettlementDomain
impl<'de> Deserialize<'de> for AgentReadinessSettlementDomain
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 AgentReadinessSettlementDomain
impl RefUnwindSafe for AgentReadinessSettlementDomain
impl Send for AgentReadinessSettlementDomain
impl Sync for AgentReadinessSettlementDomain
impl Unpin for AgentReadinessSettlementDomain
impl UnsafeUnpin for AgentReadinessSettlementDomain
impl UnwindSafe for AgentReadinessSettlementDomain
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