From 7e85f623fa27e27e5f2934e427f689fc7ccef885 Mon Sep 17 00:00:00 2001 From: ProgramCrafter <82749242+ProgramCrafter@users.noreply.github.com> Date: Mon, 27 Nov 2023 14:24:44 +0500 Subject: [PATCH] Fixed address bit length (#8) Addresses in Tact are stored just like in FunC, that is, they take 267 bits --- src/routes/(examples)/02-addresses/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(examples)/02-addresses/content.md b/src/routes/(examples)/02-addresses/content.md index f22287c..7849992 100644 --- a/src/routes/(examples)/02-addresses/content.md +++ b/src/routes/(examples)/02-addresses/content.md @@ -12,4 +12,4 @@ There are multiple ways on TON to [represent](https://docs.ton.org/learn/overvie ## State costs -Most addresses take 264-bit to store (8-bit for the workchain id and 256-bit for the account id). **This means that storing 1000 addresses [costs](https://ton.org/docs/develop/smart-contracts/fees#how-to-calculate-fees) about 0.189 TON per year.** +Most addresses take 267-bit to store (3 flag bits indicating standard address, 8-bit for the workchain id and 256-bit for the account id). This means that storing 1000 addresses [costs](https://ton.org/docs/develop/smart-contracts/fees#how-to-calculate-fees) about 0.191 TON per year.