Verify
ALL is a standard SPL token on Solana. Its reserve is a public program. Everything the front page says about either can be read from the chain. This page lists the addresses and a script that reads them. For wallets and listings, the facts page has the essentials on one screen.
Now
Read from the chain by this site’s API, as of —.
| Reserve (USDF) | — |
|---|---|
| Units issued | — |
| Price of the next unit | — |
| Average redemption value | — per ALL |
| Market cap | —, not redeemable |
The addresses
| Reserve program | ccJYP5gjZqcEHaphcxAZvkxCrnTVfYMjyhSYkpQtf8ZExplorer · Source |
|---|---|
| ALL mint | 8Rr5EfMZHDiwc7bqMP6wyJRcG9BRovfWseqNtYrCCpwv
10 decimals. Supply 21,000,000. No mint authority and no freeze authority: no more can be created, and no account can be frozen. Explorer |
| Currency config | 4HETZM8KfTFsuosvg8tKXDrzSk5kSWJM51xNyGotfebdExplorer |
| Liquidity pool | 4gU15djcdfUDExmp5PGMzomBmWQxSP6dBfwptLRMETNLThe pool’s state: its vaults. Explorer |
| ALL vault | 3CW7Wm1uTui9gPRfU8iVN5WdzqofFyXwAAzKypED7ZAPThe unissued units. Units issued = 21,000,000 − this balance. Explorer |
| USDF reserve vault | 9VnLo5LQXYsYbUXez6MawbbjCfmHbixBjDbo6youyBwsThe reserve, R. Explorer |
| USDF mint | 5AMAA9JV9H97YYVxx8F6FsCMmTwXSuTTQneiup4RYAUQThe reserve asset, a dollar stablecoin. Explorer |
| Pool and currency authority | 5dJhn4AdkQYPq72UAJUn1MFLavZRu12LB4Fh47Un3DqHThe address that initialized the currency. Explorer |
Endpoints
The figures under Now, for anyone’s software. Each returns one number as plain text, cached for five minutes, open to any origin.
| /api/price | Price of the next unit in USD, six decimals. |
|---|---|
| /api/reserve | The reserve in USDF, two decimals. |
| /api/circulating-supply | Units issued, two decimals. |
| /api/circulating-supply.json | The same, as JSON: {"circulatingSupply": n}. |
| /api/total-supply | 21000000. |
| /api/stats | All of the above, with the slot and time read, as JSON. |
curl https://all-token.org/api/price
The script
Three files, no dependencies, any Solana RPC. The script reads the two vaults and the pool with the same module the endpoints use, checks that the pool points at the addresses above and that the mint has no mint or freeze authority, and prints units issued, the reserve, the price the program charges next, the price the front page’s formula gives, the average redemption value, the market cap, and the program’s upgrade authority.
curl -sLO https://all-token.org/curve.js curl -sLO https://all-token.org/verify/chain.js curl -sLO https://all-token.org/verify/verify.js node verify.js
verify.js · chain.js, which reads the chain · curve.js, the constants they use · test.js, which checks this site against them.