Logótipo oficial do MASTR MASTR Apoiar o trabalho
Índice
← Início da wiki

Fundamentos de blockchain

Integer precision and rounding

Contracts use finite integer arithmetic and decimal scaling.

Reference note · Sources below

Os artigos de investigação e as referências são publicados em inglês. A navegação está disponível em sete idiomas.

Neste artigo
  1. Overview
  2. Why it matters
  3. What to check
  4. Sources

Overview

Contracts use finite integer arithmetic and decimal scaling.

Why it matters

Repeated rounding or conversion order can move value.

What to check

Reproduce calculations with raw units.

Sources

Leituras relacionadas

Fundamentos de blockchain

Blob data for rollups

EIP-4844 blobs provide temporary data space priced apart from execution gas.

MASTR

Apoiar a investigação independente

As investigações, as provas originais e os guias são de acesso livre. Os donativos voluntários ajudam a financiar a investigação e a manter disponíveis as ferramentas MASTR.

Abrir carteira