Query editor
-- USA₮ Launch — Per-Account Rewards Ledger (tiered by faucet claim)---- Everything measured on USA₮ (0xd2ab...f771). The faucet drip is the faucet's-- business; we pay the P2P and hold milestones only, at the rate of the tier the-- wallet claimed in. The tier is fixed by the wallet's FIRST faucet drip amount-- (and, for the $0.50 drip, by when the wallet was first verified), so a rate-- change never touches wallets that claimed under an earlier rate:---- tier first drip P2P reward hold threshold (10 consecutive days) hold reward-- five >= 5.00 2.00 > $50 3.00-- two >= 2.00 0.80 > $20 1.20-- one >= 1.00 0.40 > $10 0.60-- half2 >= 0.50 0.20 >= $5 0.30 (first verified on/after relaunch_at; SBT-only wallets included)-- half >= 0.50 0.20 > $5 0.30 (legacy: first verified before relaunch_at; SBT-only wallets included)-- none < 0.50 0 — 0 (e.g. $0.05 drips; rewards unspecified)---- The faucet went back to $0.50 drips on 2026-10-05 with "hold $5+" as the hold-- rule, i.e. $5.00 itself qualifies. half2 carries that inclusive threshold for-- the new cohort only; the legacy half tier keeps its strict "> $5" so no wallet-- verified before the relaunch can change. USA₮ has 6 decimals, so the inclusive-- bound is written as "> 4.9999995": 5.000000 passes, 4.999999 does not.---- P2P = first USA₮ send STRICTLY AFTER the verification timestamp (drip or SBT-- mint) to another EOA — not self, faucet, distributor, zero address, or-- any contract (swaps don't count). Sends made before claiming never count.-- hold = end-of-day USA₮ balance above the tier threshold for >= days_required-- consecutive days, window clipped to after the verification day.-- Each milestone is earned at most once per wallet. Verified = Self SBT holder-- OR faucet-drip recipient (the faucet enforces Self verification, 18+, OFAC).-- owed = earned − USA₮ already sent to the wallet by the distributor.WITH params AS (SELECTDATE '{{launch_date}}' AS launch_date,DATE '{{end_date}}' AS end_date,FROM_HEX(REPLACE('{{sbt_contract}}', '0x', '')) AS sbt_contract,FROM_HEX(REPLACE('{{faucet_address}}', '0x', '')) AS faucet_address,FROM_HEX(REPLACE('{{distributor_address}}', '0x', '')) AS distributor_address,FROM_HEX(REPLACE('{{wallet_filter}}', '0x', '')) AS wallet_filter,CAST({{days_required}} AS INTEGER) AS days_required,LEAST(CURRENT_DATE, DATE '{{end_date}}') AS horizon,TIMESTAMP '2026-10-05 00:00:00 UTC' AS relaunch_at),tiers (tier, p2p_reward, hold_threshold, hold_reward) AS (VALUES ('five', 2.00, 50.0, 3.00),('two', 0.80, 20.0, 1.20),('one', 0.40, 10.0, 0.60),('half2', 0.20, 4.9999995, 0.30),('half', 0.20, 5.0, 0.30),('none', 0.00, 0.0, 0.00)),usat AS (SELECTevt_block_date AS day,evt_block_time AS ts,"from" AS sender,"to" AS recipient,CAST(value AS DOUBLE) / 1e6 AS amount