# Aggregator Interface

The Aggregator Interface defines the functions that the Aggregator Contract should implement. Some of the functions are specific to the operations of the Aggregator, while others just route view functions to the correct Auctioneer to return data.&#x20;

The Aggregator functions are:

* **Permissions**

```solidity
registerAuctioneer // only Olympus Guardian
registerMarket // only whitelisted Auctioneers
```

* **View**

```solidity
getAuctioneer
marketPrice
payoutFor
maxAmountAccepted
isInstantSwap
isLive
liveMarketsBetween
liveMarketsFor
marketsFor
findMarketFor
getTellerForMarket
currentCapacity
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.bondprotocol.finance/smart-contracts/bond-system/aggregator/aggregator-interface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
