Advanced
On this page · 2 sections
In short: Coins run on public contracts, so you can call available exits without the website, under the same price, capacity and payment limits. A few routine jobs also need someone to send a transaction, and anyone can.
Exiting without the website
Your purchases and tokens live in the contracts, under your address. If the website is down, send these calls yourself from that address (for example with Foundry's cast), paying gas in ETH. On Robinhood Chain mainnet (chain ID 4663), find a coin's contracts with coin(id) on the Blessed factory at 0xa0fbee2787355f988ebd93efc982fa31a904c45f. Testnet (46630) and the earlier pilot use different factories; never reuse this address there. Save these instructions before an outage.
| To… | Call |
|---|---|
| Get a launch-sale refund | refund() on the launch-sale contract |
| Claim launch-sale tokens | claim() on the launch-sale contract |
| Collect discounted-buy tokens | redeem(yourAddress) on the discounted-buy contract |
| Sell to the treasury exit | approve the treasury exit on the token, then swap(amount, minUsdgOut) on the treasury exit |
| Burn tokens after a 90-day wind-down | approve the Treasury, then redeemWindDown(amount, minOut, inKind) on the Treasury |
For wind-down redemptions, inKind=false asks the Treasury to redeem lending-vault shares for USDG; it can fail if the vault cannot pay. inKind=true transfers your share of those vault shares instead. Redemptions open after the wind-down waiting period, shown on the coin page.
USDG uses 6 decimals and tokens use 9. If you used an app wallet, you'll need its exported key in another wallet. Never paste a key into a website.
Keeping a coin running
Contracts don't run by themselves. Anyone can send these, and some pay a small reward (initially 0.15 USDG):
- Refresh the price reading with
checkpoint()on the coin’s Hook. Needed when observations go stale. If no usable older observation remains, discounted buys and the treasury exit need another 30 minutes after a new reading. - Run maintenance with
maintain()on the coin’s RewardBudget contract, which moves collected tax to the Treasury and stock reserve and handles other routine jobs. - Open or fill a stock buy order for the stock reserve.
- Finalize a launch sale with
finalize(). - Trigger a 90-day wind-down with
windDown()on the stock reserve. This excludes $BLESSED.
The operator runs these for officially listed coins, but that isn't guaranteed. If nobody does, actions can be delayed and rewards are not guaranteed.