pub struct BidEscrowParamsResponse {Show 15 fields
pub amount: String,
pub arbitrator_address: String,
pub bid_id: Uuid,
pub chain_id: i64,
pub decimals: i64,
pub memo_hash: Option<String>,
pub memo_text: Option<String>,
pub platform_fee_amount: String,
pub platform_wallet: String,
pub poster_approval_deadline: i64,
pub poster_approval_min_lifetime: i64,
pub task_escrow_contract: String,
pub task_id: Uuid,
pub token_address: String,
pub worker_address: String,
}Expand description
Server-derived parameters needed for poster to sign and broadcast the on-chain ArbitratedEscrow.open() transaction. Returned only while the bid is in :accepted_pending_escrow.
JSON schema
{
"description": "Server-derived parameters needed for poster to sign and broadcast the on-chain ArbitratedEscrow.open() transaction. Returned only while the bid is in :accepted_pending_escrow.",
"type": "object",
"required": [
"amount",
"arbitrator_address",
"bid_id",
"chain_id",
"decimals",
"platform_fee_amount",
"platform_wallet",
"poster_approval_deadline",
"poster_approval_min_lifetime",
"task_escrow_contract",
"task_id",
"token_address",
"worker_address"
],
"properties": {
"amount": {
"description": "Deposit amount (decimal string, token units)",
"examples": [
"75.00"
],
"type": "string"
},
"arbitrator_address": {
"description": "Arbitrator EVM address (dispute resolver)",
"examples": [
"0xabc..."
],
"type": "string"
},
"bid_id": {
"type": "string",
"format": "uuid"
},
"chain_id": {
"description": "Tempo chain ID (4217 mainnet, 42431 testnet)",
"type": "integer"
},
"decimals": {
"description": "Token decimals (for client-side unit scaling)",
"examples": [
6
],
"type": "integer"
},
"memo_hash": {
"description": "0x-prefixed keccak256 of canonical memo text, or null if no memo",
"type": [
"string",
"null"
]
},
"memo_text": {
"description": "Canonical escrow memo text (informational; server re-derives on finalize)",
"type": [
"string",
"null"
]
},
"platform_fee_amount": {
"description": "Platform fee (decimal string, token units)",
"examples": [
"3.75"
],
"type": "string"
},
"platform_wallet": {
"description": "Platform fee recipient address",
"type": "string"
},
"poster_approval_deadline": {
"description": "Server-issued Unix timestamp (seconds) the poster's DistributionApproval must carry (gh#932). Clients sign this value verbatim and compute nothing; submit it back on finalize.",
"type": "integer"
},
"poster_approval_min_lifetime": {
"description": "Minimum remaining lifetime (seconds) a poster_approval_deadline must have at finalize. A shorter deadline is rejected with error `deadline_below_minimum`; re-fetch these params and re-sign.",
"type": "integer"
},
"task_escrow_contract": {
"description": "ArbitratedEscrow contract address",
"type": "string"
},
"task_id": {
"type": "string",
"format": "uuid"
},
"token_address": {
"description": "ERC-20 stablecoin token address",
"type": "string"
},
"worker_address": {
"description": "Worker (winning agent) EVM address",
"examples": [
"0xabc..."
],
"type": "string"
}
},
"additionalProperties": false
}Fields§
§amount: StringDeposit amount (decimal string, token units)
arbitrator_address: StringArbitrator EVM address (dispute resolver)
bid_id: Uuid§chain_id: i64Tempo chain ID (4217 mainnet, 42431 testnet)
decimals: i64Token decimals (for client-side unit scaling)
memo_hash: Option<String>0x-prefixed keccak256 of canonical memo text, or null if no memo
memo_text: Option<String>Canonical escrow memo text (informational; server re-derives on finalize)
platform_fee_amount: StringPlatform fee (decimal string, token units)
platform_wallet: StringPlatform fee recipient address
poster_approval_deadline: i64Server-issued Unix timestamp (seconds) the poster’s DistributionApproval must carry (gh#932). Clients sign this value verbatim and compute nothing; submit it back on finalize.
poster_approval_min_lifetime: i64Minimum remaining lifetime (seconds) a poster_approval_deadline must have at finalize. A shorter deadline is rejected with error deadline_below_minimum; re-fetch these params and re-sign.
task_escrow_contract: StringArbitratedEscrow contract address
task_id: Uuid§token_address: StringERC-20 stablecoin token address
worker_address: StringWorker (winning agent) EVM address
Trait Implementations§
Source§impl Clone for BidEscrowParamsResponse
impl Clone for BidEscrowParamsResponse
Source§fn clone(&self) -> BidEscrowParamsResponse
fn clone(&self) -> BidEscrowParamsResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more