👽
SupaDupaDocs
GitHub
Jetton
Jetton
  • Development guide
  • Contributing guide
  • GitHub Repo
  • Minter
  • Code of Conduct
  • Security Policy
Powered by GitBook

SupaDupaDAO

On this page
  • Definitions
  • Exit codes

Was this helpful?

Edit on GitHub

Development guide

NextContributing guide

Last updated 4 months ago

Was this helpful?

ℹ️ This document describes how to build application based on this jetton. If you are looking for guideline how to contribute to this project, please read document

Definitions

According to there are actually 2 smart contracts:

  • Jetton Master contract that deploys in single copy for your jetton

  • Jetton Wallet contract that deploys for each jetton owner

Exit codes

This project using custom exit codes for specific error. You can match received exit code with following list and get human-friednly error text.

Code
Description

Tact lang exit codes

132

Invalid owner of contract. Occurs when sender wallet is not owner of receiver contract when it is required.

Custom exit codes

6901

No enough TON on contract balance.

6902

No enough TON in message

6903

Jetton already initialized. Occurs when you send 0x133701 message to jetton that has been already initialized.

6904

Max supply exceeded. Occurs when you try mint more tokens than max_supply parameter allow.

6905

Invalid transfer amount. Occurs when you try to send, burn or mint 0 tokens.

6906

Minting already disabled. Occurs when you attempt to enable minting after it has been permanently disabled.

6907

Minting is disabled. Occurs when you try to mint tokens while the minting functionality is disabled.

this
TON Jetton Standard
Read more about jetton architecture on TON
Standard Tact exit codes
Definitions
Exit codes