# Flash Mint Module

The Flash Mint module is an implementation of EIP-3156 that lets user borrow and repay `yin` in the same transaction.&#x20;

* Flash mints are fee-less.
* The maximum amount that can be borrowed will be a percentage of the circulating `yin` supply.

Note that while the maximum percentage is fixed as a constant, it can be easily adjusted by re-deploying the contract with a different constant should the protocol or governance decide to do so.

## Interaction with the debt ceiling

An important implementation detail is that the Flash Mint module needs to temporarily raise the debt ceiling if the debt ceiling has been exceeded, or will be exceeded as a result of the loan amount.


---

# 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://docs.opus.money/current/technical-documentation/smart-contracts/flash-mint-module.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.
