Skip to main content

TermBidSubmission

A sealed borrow bid for a Term auction (escrows collateral).

idstring

bytes32 — omit / zero for a new bid.

bidderstringrequired

Bid owner address.

bidPriceHashstringrequired

bytes32 commitment = keccak(price, nonce), computed client-side.

amountstringrequired

Borrow size in purchase-token units (integer wei).

collateralAmountsstring[]required

Collateral amounts to escrow, aligned with collateralTokens.

collateralTokensstring[]required

Collateral token addresses.

purchaseTokenstring

Optional; defaults to the repo's purchase token.

TermBidSubmission
{
"id": "string",
"bidder": "string",
"bidPriceHash": "string",
"amount": "string",
"collateralAmounts": [
"string"
],
"collateralTokens": [
"string"
],
"purchaseToken": "string"
}