Talos Launch App

02 · The hooks

Refill budget

Each wallet has a buy budget that fills back up every block.

Refill budget limits how much quote token a wallet can spend on buys, then gives that budget back over time.

What a trader sees

A buy spends the quote token it paid against the wallet's remaining budget. If the buy is larger than the budget, it reverts. The budget starts at the capacity you set. After a buy, it refills by a fixed amount every block, and it never refills past the capacity. Sells do not spend the budget.

Buys also pay a fee in the launch token. On a wallet's first buy, part of that fee can go to a referrer carried in the swap. A number small enough to be a lock length is not treated as an address. Later buys send the whole fee to the treasury.

Example

Capacity is 1 token of quote, and the refill is a little every block. A wallet can buy until it has spent 1. The next buy reverts until the refill has caught up. The first of those buys can share the fee with the address that referred them.

What you set