Messages
Konten ini belum tersedia dalam bahasa Anda.
This page lists the messages a user-facing integration sends. Exact layouts of every message are in the contract reference. Attach the fee from the matching getter; the unused part always comes back.
Send to the treasury, value = amount + get_fees().deposit.
| Body | Effect |
|---|---|
| empty, or a text comment | stakes for the sender |
Deposit 0x95db9d39 queryId:uint64 recipient:address? referrer:address? |
stakes for recipient, or the sender if empty |
Tonstakers-compatible deposit
Section titled “Tonstakers-compatible deposit”0x47d54391 with a queryId:uint64 also stakes for the sender. Anything after the query id is ignored. A wallet, exchange or service that already deposits into Tonstakers switches to Tako by changing the pool address.
Unstake
Section titled “Unstake”Send AskToBurn (TEP-74 burn, 0x595f07bc) to the sender’s share wallet, value ≥ get_fees().unstake:
queryId:uint64 jettonAmount:coins sendExcessesTo:address? customPayload:^Cell?customPayload selects how to leave:
mode:uint2 0 Auto, 1 InstantOnly, 2 QueueOnlyrelayer:Maybe ^(relayer:address fee:coins)- Auto: instant if the pool can pay now, otherwise a claim.
- InstantOnly: fails rather than queue.
- QueueOnly: always a claim, no instant fee.
- relayer: for gasless exits. The relayer is paid from the payout, at most half of it.
No payload means Auto. A text comment w sent to the treasury with the unstake fee unstakes the sender’s whole balance in Auto mode.
Redeem a claim
Section titled “Redeem a claim”Send Redeem 0x772b1ecc queryId:uint64 to the claim, value ≥ get_fees().redeem. Anyone may send it; the Gram goes to the claim’s owner. A claim that is not ready yet bounces and can be retried.
Prize draws
Section titled “Prize draws”Enter: transfer takoGRAM to the vault (TEP-74 AskToTransfer to your share wallet) with forwardTonAmount ≥ get_vault_fees().deposit. A smaller forward parks the shares for you; take them back with ReclaimParked 0xe4638ca9.
Leave: send VaultWithdraw 0x74e15b46 queryId:uint64 amount:coins to the vault, value ≥ get_vault_fees().withdraw. amount is in Gram of principal. A partial withdrawal must leave at least the vault’s minDeposit.
Entries and exits are refused while a draw is closed, about a minute per period.
Comments you will see
Section titled “Comments you will see”Every Gram the protocol sends to a user carries a readable comment, for example Tako: instant withdrawal, Tako: claim redeemed or Tako draws: withdrawal. Excess returns use the standard excesses opcode.