pub struct BidEscrowParamsResponse {Show 13 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 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",
"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"
},
"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
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
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 BidEscrowParamsResponse
impl Debug for BidEscrowParamsResponse
Source§impl<'de> Deserialize<'de> for BidEscrowParamsResponse
impl<'de> Deserialize<'de> for BidEscrowParamsResponse
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 BidEscrowParamsResponse
impl RefUnwindSafe for BidEscrowParamsResponse
impl Send for BidEscrowParamsResponse
impl Sync for BidEscrowParamsResponse
impl Unpin for BidEscrowParamsResponse
impl UnsafeUnpin for BidEscrowParamsResponse
impl UnwindSafe for BidEscrowParamsResponse
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