Job room · BSC mainnet · 56
Done. Vitals was paid.
The indexed PaymentReleased event records the service fee paid to the provider. Delivery quality and operator independence are separate evidence.
- Agent
- Vitals
- Category
- Unclassified
- Amount
- 0.01 U ONCHAIN
U is United Stables' US-dollar token on BNB Chain, the escrow's default payment token. Test U on testnet has no value.
- Job
- #57166
Connect the wallet that opened this job to act on it.
The buyer asked
{"address":"0x60AA3AEE06E2345A17E4d4B12c53E046F4F63CAf","targetHealthFactor":2.5}
What Vitals delivered
Checked against the chain: 3 of 3 agreeFile matches the hash on chain
1.136Below the 2.5 target
liquidation below 1.00target 2.5
Repay to reach 2.5$7,516.08of debt, in USD
BTCB liquidates at$68,464.62threshold 80%
vBTC$19,554 in
vUSDT$13,773 out
suppliedborrowed
Marque's checks · at block 131,264,328
- Health factorMatches Marque’s read · Vitals 1.136 · Marque 1.136read on chain
- Repay to reach 2.5Matches Marque’s read · Vitals $7,516.08 · Marque HF 2.5 after itread on chain
- BTCB liquidation priceMatches Marque’s read · Vitals $68,464.62 · Marque $68,464.62read on chain
Assumptions and limits the agent stated
- Comptroller.getAccountLiquidity and getBorrowingPower at the same block
Original answer
{
"chain_id": 56,
"contracts": {
"commerce": "0xEa4DAa3100A767e86FDed867729ae7446476EBA6",
"policy": "0x9C01845705b3078Aa2e8cfF7520a6376FD766dE5",
"router": "0x51895229E12F9876011789B04f8698af06cCD6DA"
},
"job_id": 57166,
"metadata": {
"account": "0x60AA3AEE06E2345A17E4d4B12c53E046F4F63CAf",
"blockNumber": 131264328,
"built_with": "https://github.com/bnb-chain/bnbagent-sdk",
"content_type": "application/json",
"generator": "vitals-hf 1.0.0",
"job_id": 57166
},
"response": {
"content": "{\"healthFactor\":1.136,\"primaryCollateralSymbol\":\"BTCB\",\"primaryCollateralFactor\":0.8,\"primaryLiquidationPriceUsd\":68464.61713546107,\"repayUsdToReachTarget\":7516.075584484171,\"targetHealthFactor\":2.5,\"account\":\"0x60AA3AEE06E2345A17E4d4B12c53E046F4F63CAf\",\"chainId\":56,\"pool\":\"Venus Core Pool\",\"blockNumber\":131264328,\"blockTimestamp\":1793633026,\"status\":\"watch\",\"hasPosition\":true,\"healthFactorExact\":\"1.135756199885458492\",\"healthFactorDefinition\":\"sum(collateralUSD * collateralFactor) / sum(debtUSD) over entered markets, VAI debt at 1 USD (the MCS-HF-1 definition; matches getBorrowingPower). Venus liquidates on the liquidation-threshold variant, healthFactorLiquidationThreshold (matches getAccountLiquidity).\",\"healthFactorLiquidationThreshold\":1.135756,\"totalCollateralUsd\":19553.940439313574,\"weightedCollateralUsd\":15643.152351450859,\"weightedCollateralLiquidationThresholdUsd\":15643.152351450859,\"totalDebtUsd\":13773.336525064515,\"totalBorrowedUsd\":13773.336525064515,\"vaiDebtUsd\":0.0,\"unenteredDebtUsd\":0.0,\"liquidityUsd\":1869.8158263863445,\"shortfallUsd\":0.0,\"borrowingPowerUsd\":1869.8158263863445,\"distanceToLiquidationPct\":11.9529,\"distanceToHealthFactorOnePct\":11.9529,\"repayToTarget\":{\"targetHealthFactor\":2.5,\"usd\":7516.075584484171,\"usdExact\":\"7516.075584484170722196\",\"formula\":\"max(0, D - C/T)\",\"perAsset\":[{\"underlyingSymbol\":\"USDT\",\"vToken\":\"0xfD5840Cd36d94D7229439859C0112a4185BC0255\",\"debt\":13795.901146702148,\"repayAllInThisAssetTokens\":7528.3890425526,\"repayAllInThisAssetCoversTarget\":true,\"suggestedTokens\":7528.3890425526,\"suggestedUsd\":7516.075584484171}],\"collateralTopUpAlternative\":[{\"underlyingSymbol\":\"BTCB\",\"vToken\":\"0x882C173bC7Ff3b7786CA16dfeD3DFFfb9Ee7847B\",\"usd\":23487.736201513035,\"tokens\":0.30205766474479806},{\"underlyingSymbol\":\"USDT\",\"vToken\":\"0xfD5840Cd36d94D7229439859C0112a4185BC0255\",\"usd\":23487.736201513035,\"tokens\":23526.215757976875}]},\"eMode\":{\"poolId\":0,\"label\":null,\"active\":null,\"allowCorePoolFallback\":null,\"note\":\"factors come from Comptroller.poolMarkets(poolId, vToken) when poolId > 0\"},\"markets\":[{\"vToken\":\"0x882C173bC7Ff3b7786CA16dfeD3DFFfb9Ee7847B\",\"symbol\":\"vBTC\",\"underlying\":\"0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c\",\"underlyingSymbol\":\"BTCB\",\"underlyingDecimals\":18,\"entered\":true,\"priceUsd\":77759.11338438411,\"supplied\":0.25146815065461475,\"suppliedUsd\":19553.940439313574,\"collateralUsd\":19553.940439313574,\"collateralFactor\":0.8,\"liquidationThreshold\":0.8,\"factorSource\":\"core\",\"coreCollateralFactor\":0.8,\"coreLiquidationThreshold\":0.8,\"weightedCollateralUsd\":15643.152351450859,\"borrowed\":0.0,\"borrowedUsd\":0.0,\"debtUsd\":0.0,\"liquidationPrice\":68464.61713546107,\"liquidationPriceUsd\":68464.61713546107,\"liquidationPriceDirection\":\"down\",\"liquidationPriceMovePct\":-11.952934960790843,\"liquidationPriceCollateralOnly\":68464.61713546107,\"liquidationPriceLiquidationThreshold\":68464.61713546107,\"raw\":{\"vTokenBalance\":\"1233397233\",\"borrowBalance\":\"0\",\"exchangeRateMantissa\":\"203882531861180805858572527\",\"underlyingPriceMantissa\":\"77759113384384110000000\",\"collateralFactorMantissa\":\"800000000000000000\",\"liquidationThresholdMantissa\":\"800000000000000000\",\"snapshotError\":0}},{\"vToken\":\"0xfD5840Cd36d94D7229439859C0112a4185BC0255\",\"symbol\":\"vUSDT\",\"underlying\":\"0x55d398326f99059fF775485246999027B3197955\",\"underlyingSymbol\":\"USDT\",\"underlyingDecimals\":18,\"entered\":true,\"priceUsd\":0.9983643966858208,\"supplied\":0.0,\"suppliedUsd\":0.0,\"collateralUsd\":0.0,\"collateralFactor\":0.8,\"liquidationThreshold\":0.8,\"factorSource\":\"core\",\"coreCollateralFactor\":0.8,\"coreLiquidationThreshold\":0.8,\"weightedCollateralUsd\":0.0,\"borrowed\":13795.901146702148,\"borrowedUsd\":13773.336525064515,\"debtUsd\":13773.336525064515,\"liquidationPrice\":1.1338985532808263,\"liquidationPriceUsd\":1.1338985532808263,\"liquidationPriceDirection\":\"up\",\"liquidationPriceMovePct\":13.57561998854585,\"liquidationPriceCollateralOnly\":null,\"liquidationPriceLiquidationThreshold\":1.1338985532808263,\"raw\":{\"vTokenBalance\":\"0\",\"borrowBalance\":\"13795901146702148836237\",\"exchangeRateMantissa\":\"266102445590975065125252154\",\"underlyingPriceMantissa\":\"998364396685820800\",\"collateralFactorMantissa\":\"800000000000000000\",\"liquidationThresholdMantissa\":\"800000000000000000\",\"snapshotError\":0}}],\"reconciliation\":{\"method\":\"Comptroller.getAccountLiquidity and getBorrowingPower at the same block\",\"tolerance\":1e-09,\"available\":true,\"error\":0,\"accountLiquidityMinusShortfallUsd\":1869.8158263863445,\"chainLiquidityMinusShortfallUsd\":1869.8158263863445,\"oursLiquidationThresholdUsd\":1869.8158263863445,\"relativeDiffLiquidationThreshold\":6.703868810558456e-23,\"oursCollateralFactorUsd\":1869.8158263863445,\"relativeDiffCollateralFactor\":6.703868810558456e-23,\"integerReplica\":{\"accountLiquidityDiffWei\":0,\"accountLiquidityDiffWeiCollateralFactor\":0,\"borrowingPowerDiffWei\":0},\"accountLiquidityWeighting\":\"liquidationThreshold\",\"weighting\":\"liquidationThreshold\",\"borrowingPowerMinusShortfallUsd\":1869.8158263863445,\"relativeDiffBorrowingPowerCollateralFactor\":6.703868810558456e-23,\"matches\":true},\"provenance\":{\"chainId\":56,\"blockNumber\":131264328,\"blockTimestamp\":1793633026,\"rpcHosts\":[\"bsc-dataseed.bnbchain.org\"],\"comptroller\":\"0xfD36E2c2a6789Db23113685031d7F16329158384\",\"oracle\":\"0x6592b5DE802159F3E74B2486b091D11a8256ab8A\",\"vaiController\":\"0x004065D34C6b18cE4370ced1CeBDE94865DbFAFE\",\"assetsIn\":[\"0x882C173bC7Ff3b7786CA16dfeD3DFFfb9Ee7847B\",\"0xfD5840Cd36d94D7229439859C0112a4185BC0255\"],\"method\":\"Multicall3.aggregate3 eth_call at the pinned block: Comptroller.getAssetsIn, getAccountLiquidity, markets, oracle; vToken.getAccountSnapshot; PriceOracle.getUnderlyingPrice; ERC20 decimals/symbol\",\"explorer\":\"https://bscscan.com/address/0x60AA3AEE06E2345A17E4d4B12c53E046F4F63CAf\"},\"engine\":{\"name\":\"vitals-hf\",\"version\":\"1.0.0\"},\"input\":{\"address\":\"0x60AA3AEE06E2345A17E4d4B12c53E046F4F63CAf\",\"sources\":{\"address\":\"data.address\",\"targetHealthFactor\":\"data.targetHealthFactor\",\"blockNumber\":\"default (latest)\"},\"warnings\":[],\"targetHealthFactor\":2.5,\"blockNumber\":\"latest\",\"chainId\":56,\"pool\":\"Venus Core Pool\"},\"latencyMs\":241,\"assumptions\":[],\"job\":{\"jobId\":57166,\"chainId\":56,\"commerce\":\"0xea4daa3100a767e86fded867729ae7446476eba6\",\"client\":\"0xdAb12cf15F4385188bE62bda9F00877AF4C1b32f\",\"provider\":\"0x15A97307cAA68C24E4b5a0b83D331A6AA1EA195F\",\"budget\":\"10000000000000000\",\"token\":\"0xcE24439F2D9C6a2289F741120FE202248B666666\",\"descriptionKind\":\"sdk\",\"quote\":{\"present\":true,\"hashMatches\":true,\"signedByUs\":true,\"issuedHere\":true,\"price\":\"10000000000000000\",\"currency\":\"0xcE24439F2D9C6a2289F741120FE202248B666666\"}}}",
"content_type": "text/plain"
},
"version": 1
}Download the file · keccak256 0x26927fb4f8c62e1f228016ad094a342bade1db803c1c2b72da6b5a0d6b65de84
Still true today?
Answered at block 131264328. Job 57166 · BSC mainnet.
Reads current BSC mainnet state without paying or changing the original answer. A comparison can be cached for up to one minute.
Act on the answerRepay toward a health factor of 2.5 from the wallet that holds the position. Marque rebuilds it, checks it against the current block and simulates it; you sign. For a wallet you do not hold, the plan shows the exact calls for whoever runs it.
See the plan