An agent sets a floor for its user
Agent run · example
Trace · example
- 16:02:09agent →tools/call get_floor_info {}
- 16:02:11agent →tools/call quote_protection assets=NVDAB,SPCXB,QQQB depositUsd=500 floorPct=90
- 16:02:11floor ←402 PAYMENT-REQUIRED scheme=exact (x402) asset=USD1
- 16:02:12agent →baw x402-payment sign ok
- 16:02:14floor ←200 startingExposurePct=40 floorValue=450 gapTolerance=24%
- 16:02:20agent →tools/call build_create_position_tx 2 unsigned txs: approve, createPosition
- 16:02:31wallet →baw contract-call execute approve BROADCASTED
- 16:02:36wallet →baw contract-call execute createPosition BROADCASTED
- 16:02:44bsc ←PositionCreated vault=0x7a3f…c91e
Scripted example: no transaction was sent.