CloseEconomics
The exit-side block on /loop/close: what the exit costs on day 0 and the carry the closed slice was earning (at projected rates — repaying moves the pool the other way), with the cost expressed in days of that carry.
notionalUsd objectrequired
exitCostUsd objectrequired
exitCostUsd.total over the debt repaid, BP.
fees object[]required
The term sheet's FeeTerm.id (origination, early-repay-penalty, …) or flash for the flash-loan fee.
entry items sum to entryCostUsd.fees; exit items are in the round-trip exit cost.
Possible values: [entry, exit]
Priced on the notional the fee is charged on. Negative = a rebate.
The published rate (read with unit).
percent | bps | …
principal | face-value | collateral | …
Governance-mutable snapshot — re-verify before quoting it as a term.
carryForgonePerDayUsd objectnullablerequired
Possible values: [projected, sticker, none]
daysOfCarry objectrequired
gas objectnullablerequired
- EconomicsGas
Gas units over the whole bundle — outstanding permissions + main transaction.
true when every transaction was eth_estimateGas-ed from the account; false when at least one used the typical-size table (the notes say which — the main transaction usually reverts under estimation until its permissions are granted).
{
"notionalUsd": {
"collateralRemoved": 0,
"debtRepaid": 0,
"equityFreed": 0
},
"exitCostUsd": {
"slippage": 0,
"fees": 0,
"gas": 0,
"total": 0
},
"slippageBp": 0,
"exitCostBp": 0,
"fees": [
{
"id": "string",
"label": "string",
"when": "entry",
"usd": 0,
"value": 0,
"unit": "string",
"basis": "string",
"mutable": true
}
],
"carryForgonePerDayUsd": {
"total": 0,
"base": 0
},
"carryBasis": "projected",
"daysOfCarry": {
"total": 0,
"base": 0
},
"gas": {
"units": 0,
"txCount": 0,
"estimated": true,
"gasPriceGwei": 0,
"nativePriceUsd": 0,
"usd": 0
},
"notes": [
"string"
]
}