Skip to content

Intents

Economic requests carry explicitly bound connector targets. Lending and exchange intents share the same admission, execution and reconciliation path.

Lending

almanak.lending_intents

Economic lending requests with explicitly bound connector target types.

LendingTarget

Bases: Model, ABC

asset abstractmethod property

asset: AssetType

Underlying asset from the connector's complete market identity.

Exchange and liquidity

almanak.dex_intents

Economic exchange and liquidity intents with concrete connector targets.

TickBounds

Bases: Model

One concrete concentrated-liquidity range, chosen inside an authorized band.

DexTarget

Bases: Model, ABC

assets abstractmethod property

assets: tuple[AssetType, ...]

The connector's explicitly selected market currencies.

PoolLiquidityBudget

Bases: DexIntent[Target]

Pool-wide quantities for markets whose coin count is part of the target.

RevokeExchange

Bases: DexIntent[Target]

Request economic closure of spending authority; the connector chooses calls.

ExitExchange

Bases: DexIntent[Target]

Close owned liquidity, return to configured funding currency and clear authority.