# Your floor and the protocol's floor

> Canonical: https://blazephoenix.xyz/learn/your-floor-and-the-protocols-floor/
> License: CC BY-NC-ND 4.0 (attribution + link) · © 2026 BlazePhoenix
> Updated: 2026-11-16

A swap has two minimums: the one you choose and the one the protocol computes itself, and the higher one applies. If you set yours too low, the protocol floor still refuses a delivery that lands far from the price measured in the same transaction, and it never falls below 80 % of its reference.

There are two minimums on a swap: the one you choose and the one the protocol computes for itself. The higher one is the one that applies. If you set yours too low, the protocol floor still refuses a delivery that lands far from the price measured in the same transaction (Whitepaper 2.4 §11.5).

Think of a door with two locks. You can fit your own lock, and the building fits its own as well. To get through, you must pass the stronger of the two, and nobody can remove the building lock from the outside.

## How the protocol floor is built

It is a retention fraction, counted in basis points (one basis point is 0.01 %). Three constants decide it (Whitepaper 2.4 §11.5).

## A worked case

Whitepaper 2.4 §11.5, Worked example 3, takes a two-hop route whose last hop quotes 1,000.000 B in the same transaction. The protocol floor works out at 93.36 %, so 933.600 B.

## What the floor is, and is not

Anything you pass in can tighten the protection and never loosen it (Whitepaper 2.4 §11.5). The floor is a limit on how far a delivery may land from the in-transaction reference. It is not a promise about the price of a token.

Your own minimum is still the one protection whose quality depends only on you, so set it every time (Whitepaper 2.4 §22).

## How to look at it yourself



**Verify it yourself:** Read lines 400 to 408 of src/BlazePhoenixCore.sol at commit 969bcc6 and confirm the three constants 9600, 200 and 2000. Then compute 9600 - 184 - 80 = 9336 and 1000 x 9336 / 10000 = 933.6.

Related: https://blazephoenix.xyz/learn/minimum-output-explained/ · https://blazephoenix.xyz/learn/iron-floor/ · https://blazephoenix.xyz/learn/why-measure-instead-of-trust/
