> For the complete documentation index, see [llms.txt](https://docs.creditcoop.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.creditcoop.xyz/core-concepts/the-spigot/key-features-of-the-spigot.md).

# Key features of the Spigot

A Spigot's purpose is to provide Trustless Recourse for Secured Agreements

A Spigot's purpose is to provide Trustless Recourse for secured agreements. Its key features:

<details>

<summary>Escrow at the source</summary>

The Spigot takes ownership of the Borrower's Revenue Contracts for the life of the agreement. Cash flows are split and escrowed the moment they are claimed — repayment security does not depend on the Borrower initiating transfers.

</details>

<details>

<summary>Configurable splits, programmatic step-up</summary>

Each Revenue Contract has an agreed owner split between 0% and 100%. In a credit event, the split on a defaulted facility can be stepped up to 100% by the Admin — the recourse is in the code, not in a covenant document.

</details>

<details>

<summary>Business as usual for the Borrower</summary>

Through the Operator role, the Borrower keeps running its product: any function the parties whitelist can still be called on the Revenue Contracts — except claim and ownership-transfer functions, which are permanently blocked for the Operator.

</details>

<details>

<summary>Multi-beneficiary distribution</summary>

One Spigot can serve several creditors simultaneously, each with its own allocation, credit token, and onchain repayment path, with live debt tracking that prevents overpayment. See [The Spigot](/core-concepts/the-spigot.md).

</details>

<details>

<summary>Token conversion built in</summary>

Escrowed revenue in the "wrong" token is converted before repayment: via DEX aggregator with slippage protection, or via OTC swap under mutual consent with oracle pricing, stablecoin whitelisting, and price-impact limits.

</details>

<details>

<summary>Reserves</summary>

Claimed revenue can be held in the Spigot as Reserves — a standing repayment buffer and additional security for the facility.

</details>

<details>

<summary>Clean release and reuse</summary>

On full repayment, Revenue Contract ownership transfers back to the Borrower's Operator, and residual balances are swept back to the Borrower. A configured Spigot can be reused to secure the next facility without redeployment.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.creditcoop.xyz/core-concepts/the-spigot/key-features-of-the-spigot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
