> For the complete documentation index, see [llms.txt](https://tomorrowlend.gitbook.io/tommorrowlend/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tomorrowlend.gitbook.io/tommorrowlend/protocol/tomorrow-auctions/complete-auction.md).

# Complete Auction

The `completeAuction` function is callable once validly submitted tenders have been revealed. This is a two-step process where the Protocol:

1. determines a [pricing rate ](broken://pages/VKEoWFjQDRkVZjV7DJGu#pricing-rate-repo-rate)to clear the market (the [clearing rate](broken://pages/tmKC5lnaOZw9NFNyhhyG#clearing-rate)); &#x20;
2. assigns fills based on the resulting [clearing rate](broken://pages/tmKC5lnaOZw9NFNyhhyG#clearing-rate); and finally
3. settles fills and unlocks tenders "left on the table" &#x20;
