From d9b2ba0f8530e4ab84aee34d8325af4bd6a7b2a1 Mon Sep 17 00:00:00 2001 From: Anton Trunov Date: Mon, 7 Oct 2024 18:39:09 +0400 Subject: [PATCH] add "available since tact 1.6" --- docs/src/content/docs/book/functions.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/content/docs/book/functions.mdx b/docs/src/content/docs/book/functions.mdx index 4f702b099..f193eb168 100644 --- a/docs/src/content/docs/book/functions.mdx +++ b/docs/src/content/docs/book/functions.mdx @@ -138,6 +138,10 @@ contract Treasure { } ``` +### Explicit resolution of method ID collisions + + + As other functions in TVM contracts, getters have their *unique* associated function selectors which are some integers ids (called *method IDs*). Some of those integers are reserved for internal purposes, e.g. -4, -3, -2, -1, 0 are reserved IDs and regular functions (internal to a contract and not callable from outside) are usually numbered by subsequent (small) integers starting from 1.