Skip to content

Commit

Permalink
add "available since tact 1.6"
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-trunov committed Oct 7, 2024
1 parent 8a27886 commit d9b2ba0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/content/docs/book/functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ contract Treasure {
}
```

### Explicit resolution of method ID collisions

<Badge text="Available since Tact 1.6" variant="tip" size="large"/>

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.
Expand Down

0 comments on commit d9b2ba0

Please sign in to comment.