How Drizzle works
The holders are worked out in your browser; the contract pays them and keeps a log. This page covers both.
The snapshot
The app asks an Elysium RPC for every Transfer event of the coin, from the first block to the latest, and adds them up per wallet. That gives each wallet's balance at the block of the snapshot. Large coins are read in many smaller block ranges.
The burn address and the zero address are left out. Among the top 2,000 holders, every address with contract code is marked as a contract: pools, launchpad curves, lockers, vaults. By default they get nothing.
Splits
- By holding: each wallet gets the amount × its balance ÷ the balances of everyone in the drop.
- Equal: the amount ÷ the number of wallets.
- Capped: by holding, but no wallet above the cap (a % of the drop). What capped wallets can't take is shared among the rest by holding.
Filters run before the split: the top N holders, a minimum balance, and any wallets you list. Your own wallet is always left out.
Sending
One call to rain(token, forToken, wallets, amounts, note) pays up to 400 wallets. A longer list goes in several calls in a row, each one its own transaction.
- HYPE: send the sum plus the fee as the transaction value. Each wallet is paid with limited gas; one that refuses is skipped and its share returns to you in the same transaction.
- Tokens: approve the contract once; each share moves from your wallet straight to the holder.
The log
Each drop is recorded on the chain: sender, what was dropped, whose holders it was for, how many wallets were paid, the total paid and the note. The site shows the latest drops from recent(n).
Fees
| A drop | 0.5% of the amount paid out, to the treasury |
| Gas | Roughly 30,000 per HYPE share, a little more per token share |
Safeguards
- No owner, no upgrade. The contract holds nothing between drops.
- Check before you send: the list and each amount are shown in full before you sign.
- Tested, including wallets that refuse HYPE. Not audited.
Contract
| Drizzle drops | Published at launch |
| Treasury | - |
Elysium, chain id 99901.