Quantillon Protocol

IQuotePoolVault

Git Source

Functions

preparePoolQuote

Begin an atomic pool route bound to its original user and complete calldata.

Invoked through the consumer; delegatecall retains its storage and original sender.

Notes:

  • security: Consumer permissions and accounting checks remain in force.

  • validation: Applies the selected operation's bounds; failures revert the entire call.

  • state-changes: Updates the calling consumer and downstream contracts as described above.

  • events: None.

  • errors: Reverts on invalid inputs, permissions or failed downstream calls.

  • reentrancy: The consuming operation retains its existing reentrancy guards.

  • access: Consumer entrypoint permissions; this helper grants no additional authority.

  • oracle: Uses the consumer's configured reference and execution paths where the operation requires pricing.

function preparePoolQuote(address user, bytes calldata callData, bytes calldata authorization) external;

Parameters

NameTypeDescription
useraddressOriginal payer whose nonce and settlement are bound.
callDatabytesComplete ABI-encoded operation, including route and output bounds.
authorizationbytesABI-encoded report or quote authorization required by this entrypoint.

finishPoolQuote

Finish the atomic pool route after its conversion has been consumed.

Invoked through the consumer; delegatecall retains its storage and original sender.

Notes:

  • security: Consumer permissions and accounting checks remain in force.

  • validation: Applies the selected operation's bounds; failures revert the entire call.

  • state-changes: Updates the calling consumer and downstream contracts as described above.

  • events: None.

  • errors: Reverts on invalid inputs, permissions or failed downstream calls.

  • reentrancy: The consuming operation retains its existing reentrancy guards.

  • access: Consumer entrypoint permissions; this helper grants no additional authority.

  • oracle: Uses the consumer's configured reference and execution paths where the operation requires pricing.

function finishPoolQuote() external;