Documentation ¶
Index ¶
Constants ¶
View Source
const ( PlugAutoCompleteWallet = "https://raw.githubusercontent.com/tonkeeper/opentonapi/master/pkg/references/media/wallet_plug.png" PlugAutoCompleteCollection = "https://raw.githubusercontent.com/tonkeeper/opentonapi/master/pkg/references/media/collection_plug.png" PlugAutoCompleteDomain = "https://raw.githubusercontent.com/tonkeeper/opentonapi/master/pkg/references/media/domain_plug.png" PlugAutoCompleteJetton = "https://raw.githubusercontent.com/tonkeeper/opentonapi/master/pkg/references/media/jetton_plug.png" Placeholder = "https://raw.githubusercontent.com/tonkeeper/opentonapi/master/pkg/references/media/token_placeholder.png" )
View Source
const AppDomain string = "tonapi.ton"
use for checking ton-connect proofs
View Source
const LiquidImplementationsUrl = "https://tonstakers.com/"
View Source
const TFPoolImplementationsName = "TON Nominators"
View Source
const TFPoolImplementationsURL = "https://tonvalidators.org/"
View Source
const TonstakersImplementationsName = "Tonstakers"
View Source
const WhalesPoolImplementationsName = "TON Whales"
View Source
const WhalesPoolImplementationsURL = "https://tonwhales.com/staking"
Variables ¶
View Source
var BemoAccount = ton.MustParseAccountID("EQDNhy-nxYFgUqzfUzImBEP67JqsyMIcyk2S5_RwNNEYku0k")
View Source
var DomainSuffixes = map[tongo.AccountID]string{ RootDotTon: ".ton", RootTelegram: "", ton.MustParseAccountID("0:d9255340783403c635169d00aaaaaf2ab85fbb5d32c707b39a42157b7c347440"): ".dolboeb.t.me", }
View Source
var RootDotTon = tongo.MustParseAccountID("0:b774d95eb20543f186c06b371ab88ad704f7e256130caf96189368a7d0cb6ccf")
View Source
var RootTelegram = tongo.MustParseAccountID("EQCA14o1-VWhS2efqoh_9M1b_A9DtKTuoqfmkn83AbJzwnPi")
View Source
var TFLiquidPool = ton.MustParseAccountID("0:a45b17f28409229b78360e3290420f13e4fe20f90d7e2bf8c4ac6703259e22fa")
View Source
var TFLiquidPoolCodeHash = tongo.MustParseHash("192535677eed65c20ac387efe4dd7415ad9ebb9349103e87c60e592538c9dcf3")
View Source
var TFPoolCodeHash = tongo.MustParseHash("9A3EC14BC098F6B44064C305222CAEA2800F17DDA85EE6A8198A7095EDE10DCF")
validated nominators contract code hash
View Source
var TonDiamondsCollections = []tongo.AccountID{ ton.MustParseAccountID("EQAG2BH0JlmFkbMrLEnyn2bIITaOSssd4WdisE4BdFMkZbir"), ton.MustParseAccountID("EQB8D8A9OoDoRmL7qVbUBrd_po9vNKcl44HCSw6b-c3nvcj9"), ton.MustParseAccountID("EQD7eDxP_wLX18kr8uyYfs6srlgoNMfRbXNYM8dmMXT2vxwk"), ton.MustParseAccountID("EQDia1dY5G5_J4LDaqW9xPyLw2T3s25y6U1W1nSkQ3BRzM7x"), ton.MustParseAccountID("EQCoPMFxArXwkKO9zH6IU-ZJ0ahFU2nih9rPvN7_YWcxRmhb"), ton.MustParseAccountID("EQA-2g3g7Jj169mrA5PR49LjmIC1TIQfaGEcZ8UnDZYfsrno"), }
View Source
var TonstakersAccountPool = ton.MustParseAccountID("EQCkWxfyhAkim3g2DjKQQg8T5P4g-Q1-K_jErGcDJZ4i-vqR")
View Source
var TonstakersSocialLinks = []string{"https://t.me/thetonstakers", "https://twitter.com/tonstakers"}
View Source
var WhalesPools = map[tongo.AccountID]WhalesPoolInfo{ tongo.MustParseAccountID("EQBYtJtQzU3M-AI23gFM91tW6kYlblVtjej59gS8P3uJ_ePN"): { Name: "ePN", Queue: "Queue #1", AvailableFor: closed, }, tongo.MustParseAccountID("EQCpCjQigwF27KQ588VhQv9jm_DUuL_ZLY3HCf_9yZW5_ePN"): { Name: "ePN", Queue: "Queue #1", AvailableFor: closed, }, tongo.MustParseAccountID("EQDFvnxuyA2ogNPOoEj1lu968U4PP8_FzJfrOWUsi_o1CLUB"): { Name: "Whales Club", Queue: "Queue #1", AvailableFor: closed, }, tongo.MustParseAccountID("EQA_cc5tIQ4haNbMVFUD1d0bNRt17S7wgWEqfP_xEaTACLUB"): { Name: "Whales Club", Queue: "Queue #2", AvailableFor: closed, }, tongo.MustParseAccountID("EQCkR1cGmnsE45N4K0otPl5EnxnRakmGqeJUNua5fkWhales"): { Name: "Whales Nominators", Queue: "Queue #1", AvailableFor: closed, }, tongo.MustParseAccountID("EQCY4M6TZYnOMnGBQlqi_nyeaIB1LeBFfGgP4uXQ1VWhales"): { Name: "Whales Nominators", Queue: "Queue #2", AvailableFor: closed, }, tongo.MustParseAccountID("EQAA_5_dizuA1w6OpzTSYvXhvUwYTDNTW_MZDdZ0CGKeeper"): { Name: "Tonkeeper", Queue: "Queue #1", AvailableFor: open, }, tongo.MustParseAccountID("EQDvvBmP3wUcjoXPY1jHfT4-fgb294imVYH5EHdLnAKeeper"): { Name: "Tonkeeper", Queue: "Queue #2", AvailableFor: open, }, tongo.MustParseAccountID("EQDhGXtbR6ejNQucRcoyzwiaF2Ke-5T8reptsiuZ_mLockup"): { Name: "Lockup", Queue: "Queue #1", AvailableFor: closed, }, tongo.MustParseAccountID("EQDg5ThqQ1t9eriIv2HkH6XUiUs_Wd4YmXZeGpnPzwLockup"): { Name: "Lockup", Queue: "Queue #2", AvailableFor: closed, }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.