πŸ€–
Titan
Titan - English
Titan - English
  • πŸ€–Welcome to Titan
  • πŸ’‘ Why use Titan swaps?
  • πŸ› οΈ Products
  • 🚒 Factory
  • How Do I Use Titan?
  • Titan Walkthrough
    • Swapping
    • Depositing Liquidity
    • Withdrawing Liquidity
    • Staking & Unstaking to Earn Rewards
  • πŸ›οΈ Colossus: Concentrated Liquidity AMM
    • πŸ—Ώ Colossus Overview
    • πŸ” Colossus Audits
    • 🧠 Smart Contracts
      • Deployed Contract Addresses
      • Router
      • Vault
      • Pool Manager
      • LP Account
      • Pool
      • Position
      • Farm
    • πŸ‘¨πŸ»β€πŸ’» Common Uses
      • Swap
      • Provide Liquidity
      • Burn Liquidity
      • Harvest Pool Fees
      • Stake position
      • Unstake position
      • Harvest Staking Rewards
    • 🧭 Examples
      • Swap SDK
  • βš™οΈ How to list a pool on Titan
  • ⚑ Titan Swap API
  • πŸ›Bug Bounty
  • πŸ” FAQs
  • πŸ‡·πŸ‡Ί Titan-Русский
Powered by GitBook
On this page
  • Interface
  • get_vault_data
  • Messages
  • Jetton Transfer Notification
  • Pay To
  1. πŸ›οΈ Colossus: Concentrated Liquidity AMM
  2. 🧠 Smart Contracts

Vault

The vault is used for sending tokens for a swap, depositing tokens for providing liquidity, and transferring tokens to users during liquidity withdrawals. There is one vault for each Jetton mint.


Interface

get_vault_data

Returns vault data.

Arguments

None

Returns

Data Type
Description

int

Is initialized

slice

Jetton mint address

slice

Admin address

slice

Vault's Jetton wallet address


Messages

Jetton Transfer Notification

Opcode: 0x7362d09c

Body Format

Data Type
Description

Uint32

Opcode

Uint64

Query ID

Coins

Transfer amount

Address

User address

Cell

Forward payload


Pay To

Opcode: 0x9bbf5a17

Body Format

Data Type
Description

Uint32

Opcode

Uint64

Query ID

Address

Recipient address

Uint32

Exit code

Coins

Amount

Address

Other vault address

Uint1

Is from pool

Uint32

Tick size

Uint8

LP fee

Uint8

Protocol fee

Uint8

Referral fee

Maybe Int32

Pool min tick (if sent from pool)

Maybe Coins

Forward amount

Maybe ^Cell

Forward payload

PreviousRouterNextPool Manager