> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alta.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Token and Account Model

> How ALT20 tokens hold public balances, control supply, apply account policy, and qualify for gas payment

ALT20 is Alta's canonical fungible, balance-based token interface. An ALT20
token represents an economic asset through public balances held by EVM
addresses. It supports ERC-20 transfers and allowances, ERC-3009 transfer
authorizations, and funds reserved in ALT20 holds. Alta can also charge
transaction fees from the same ALT20 balance.

[Send and Receive Policies](https://docs.alta.finance/learn/alt20/handlers-and-policy.md) explains the rules governing
incoming payments and outgoing spending.

## Balances belong to addresses

Each ALT20 balance belongs to an EVM address and is visible in public state.
That address may be controlled by a signing key or by a smart contract. In
either case, `balanceOf(address)` returns its spendable balance. Funds reserved in ALT20
holds move to escrow at the token contract and remain attributed to the owner
through `heldTotalOf(address)`.

## What makes a token ALT20

Alta recognizes a token as ALT20 when its address appears in the
`ALT20Factory.isALT20` mapping. The ALT20 allowlist gives transaction admission
and execution a common way to identify tokens whose balance storage supports
protocol gas accounting.

Factory deployment is permissionless. Calling `ALT20Factory.deployALT20`
creates an `AltaToken` and adds its address to the ALT20 allowlist in the same
transaction. There is no separate registration or approval step.

Alta also starts with fixed-supply ALT20 gas tokens included in genesis.
Their code and initial state are inserted directly, and their addresses are
already present in the ALT20 allowlist. Application-created ALT20 tokens use
factory deployment instead.

An application can deploy another ERC-20 contract, but Alta does not treat it
as ALT20. It cannot pay gas because the execution layer cannot rely on its
storage layout. The ALT20 allowlist establishes protocol compatibility. It
makes no claim about an asset's issuer, reserves, redemption terms, or legal
status.

## Supply authority

The ALT20 deployer becomes the token owner of a factory-deployed `AltaToken`.
The initial holder is a separate constructor choice and need not be the token
owner.

The token owner can mint additional units, burn tokens from its own balance
and transfer ownership. ALT20 imposes no supply cap or asset-governance process.
The owner and any system controlling it therefore form part of the asset's trust
boundary.

Genesis gas tokens use the base fixed-supply ALT20 implementation without the
`AltaToken` ownership, public mint, or public burn functions.

## Gas-token eligibility

Alta has no native gas asset. Standard Ethereum envelopes pay with the
default gas token, while an Alta `0x7f` envelope selects an ALT20 token. In both
cases, the transaction signer pays from its spendable balance in that token.

The execution layer debits and refunds the balance by reading and writing the
mandated ALT20 balance slot directly. Gas accounting bypasses contract calls,
allowances, receive policy, and token transfer events. The final fee moves
from the signer to the block's fee recipient without changing the token's
total supply.

See [Fees](https://docs.alta.finance/build/prepare/estimate-and-record-fees.md) for admission, pricing,
refund, and validator-credit behavior. The exact factory, storage, and
contract surfaces are in the
[ALT20 reference](https://docs.alta.finance/reference/assets-and-payments/alt20.md).

## Relationship to ALT410

ALT20 holds the public asset balance that backs ALT410 notes. Shielding moves
ALT20 value into the ALT410 shielded pool, and unshielding releases it to a
public destination subject to receive policy. Private ownership inside the
pool is represented by shielded notes rather than ALT20 balances at each note
holder's address.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.