Skip to content

5 Checks Before Swapping Treasury Funds for Payouts

Size each swap from the payout’s net token requirement. That keeps the recipient’s amount at the center of the calculation and makes price movement, network costs and approval steps visible before funds are committed.

Five figures determine the amount to swap

Start with the payout token and work backward to the input amount. Record these five figures for each scheduled conversion:

  • the amount the recipient must receive
  • the wallet’s current balance of the payout token
  • the quoted output for the proposed swap
  • the minimum output the transaction will accept
  • the ETH reserved for network gas

Recipient amount: Treat this as a fixed obligation, not a target that can shrink if the market moves. If a supplier is due 10,000 USDC, the conversion needs to leave at least 10,000 USDC available for that transfer.

Existing balance: Subtract tokens already set aside for the payout. If the wallet has 2,000 USDC reserved, the swap only needs to acquire the remaining 8,000. Don’t count an unconfirmed incoming transfer as available.

Quoted output: This is an estimate of what the input may buy at the time of execution. It can change before the transaction is included, and available inventory or liquidity affects how much the trade moves the price.

Minimum output: This is the execution floor, often called the minimum received. If the trade would return less, it should fail rather than spend the input for an unacceptable result. Set this against a treasury-approved tolerance for that payout, not a universal percentage.

Gas reserve: A token swap is a smart-contract transaction, so the wallet also needs ETH to pay network gas. Keep this separate from the swap input: spending all available ETH on WETH conversion can leave too little ETH to execute the trade or send a later transaction.

A before-and-after check catches payout shortfalls

Consider an illustrative payout of 10,000 USDC, with no USDC already reserved. At an illustrative quote of 2,500 USDC per WETH, swapping 4 WETH appears to cover it exactly. But that leaves no room for a worse execution price, so the team should compare the quoted output and minimum output with the required 10,000 before signing.

If the treasury policy allows an example 0.8% acquisition reserve, the revised target is 10,080 USDC, or 4.032 WETH at the same illustrative quote. The extra 80 USDC is a planning buffer, not a guaranteed execution amount; confirm the actual minimum output still covers the obligation. Track any surplus as treasury inventory and reconcile it after the payout.

For a direct wallet conversion, the Fermi swap is one way to exchange tokens held by the treasury. Treat the quote as an input to your approval process: verify the token contracts and destination wallet, confirm the minimum output covers the obligation, and check the wallet retains ETH for gas. Some ERC-20 tokens may also require a separate allowance transaction before a swap; include its gas and approval step in the schedule.

After execution, reconcile the transaction’s actual token amounts against the payout record, then send the recipient’s amount from the available balance. For recurring transfers, save the input amount, output, minimum output, gas cost and transaction hash each time. When Fermi swap is part of that routine, this record shows whether the reserve is consistently sufficient and helps finance adjust it using observed results.

Takeaway: Calculate backward from the amount due, then check the output floor and gas reserve before authorizing a swap.

Should we swap on a fixed schedule?

A schedule helps when payouts have predictable dates, but a calendar alone does not guarantee a suitable execution price. Set a review window before each payout, then check the quote and minimum output against the obligation. If the minimum falls short, wait or revise the plan under your treasury policy instead of assuming the schedule makes the amount safe.

What if the swap returns more than the payout?

Keep the surplus in the treasury ledger as an unallocated balance or assign it to a named reserve. Record the actual amount received and the amount paid out separately. This makes the next conversion easier to size and prevents a small remainder from being counted twice across different obligations.

Does the network fee come out of the swap amount?

Gas is paid in ETH to process the Ethereum transaction, so it is separate from the ERC-20 tokens being exchanged. A swap can therefore return enough payout tokens while leaving too little ETH for a later transfer. Budget gas for both transactions and retain a wallet balance to cover them.

How should a team handle an unusually large payout?

Check whether the quoted output and minimum output still meet the obligation at the proposed size. A larger trade can have greater price impact when available liquidity or inventory is limited. If the quote misses the treasury’s threshold, split or reschedule only when policy permits, then recalculate each portion and its gas needs before approval.