Onchain, calculated, and corrected
Draft — wording under review. The facts on this page come from the code. The framing is still being reviewed and may change. Do not rely on this page as legal or financial advice.
An Altar result has three layers. Knowing which layer a number comes from tells you how you can check it.
Layer 1: onchain
Section titled “Layer 1: onchain”These facts live on public blockchains. Anyone can read them without Altar.
- Your deposit. The transaction, the token, the amount, the receiving address, and the block. Each deposit in the app links to a block explorer.
- The onchain registry (for campaigns that use it). A contract on PulseChain that hands out deposit-address indices and can store Merkle roots of address ranges. Its source is verified on Sourcify. See Onchain ID registry.
Layer 2: collected
Section titled “Layer 2: collected”Altar’s collectors read each chain and copy finalized deposits into Altar’s database: the block, the transaction, the token, and the amount. A collector can be wrong or late. Compare a row with the explorer when it matters.
Layer 3: calculated by Altar
Section titled “Layer 3: calculated by Altar”Altar’s server produces these. No contract produces them.
- The dollar value of a deposit. It comes from a price source.
- The step, rate, credit points, flat bonus, and volume bonus. The rules are on How points are calculated. They are public, and you can run them yourself.
- The leaderboard and the totals.
- Points versions. Each version has a content hash. The hash fingerprints the list of entries. Altar stores the hash in its own database. The registry contract has no place to store it.
Corrections
Section titled “Corrections”Campaign admins can change what the calculation sees. Two kinds of correction exist, and both are public.
| Correction | What it does | Where you can read it |
|---|---|---|
Deposit correction (sacrificeMutation) |
Ignores a deposit, changes its details, or adds a deposit. | sacrificeMutations in the response of POST /stats/sacrifices, and in the audit export. |
Price override (priceOverride) |
Replaces the price of a token at one block. | priceOverrides in the same response and export. |
Each correction records who made it (createdBy), when (createdAt), and an optional reason. An admin signs the request with a wallet that holds an admin role for the campaign. See Authentication and signing.
The POST /stats/sacrifices route needs no signature to return these lists, so anyone can read them.
What you can and cannot check
Section titled “What you can and cannot check”| You can | You cannot |
|---|---|
| Check that a deposit happened, with an explorer. | Check the points with a smart contract. No contract holds them. |
| Recompute credit points from public settings and public prices. | Know a volume bonus without the data of every other address. The breakdown and audit exports give you that data. |
| Read every public correction and its reason. | Prevent a correction. Admins decide them. |
| Pin a points version and its content hash. | Rely on the content hash for anything beyond comparing two copies of the same list. |