Talos Launch App

02 · The hooks

Buyback

Anyone can buy the launch token with their own quote and send it to a sink.

Buyback is one call. There is no stored budget, no oracle, no keeper, and no protocol fee.

What a caller sees

A wallet or a contract approves this hook for the quote token and calls buyback with an amount and a minimum number of launch tokens. The hook swaps through the pool. The caller pays their own quote token. The sink receives the launch tokens. If a match chest is on the same pool, the bonus that chest sends to the swapping address is forwarded to the sink as well. If the swap would return less than the minimum, it reverts and the quote stays with the caller. The minimum is the pool output, before that bonus.

The sink is chosen once

The launch names the sink at registration. Nobody can change it later. A buyback is a real buy, so the other hooks on the hub still apply. If wave schedule is on the same pool and the window is closed, the buyback reverts with every other buy.

What you set