gitstock
tokens / COST

COST

Costco • Robinhood Token

no feed
no feed
Contract
0x4EA005168D7F09a7A0Ba9D1DEf21a479950E44C2 explorer ↗
Price feed
no Chainlink feed deployed yet
Holders
not yet indexed
Pool TVL
$407,382 across 11 pools · main USDG/COST (v3)
Dependents
AAPL (v3) APPLE (v3) HOTDOG (v3) TACO (v3) CAPY (v3) ASTK (v3) dontbuy (v2) NCOST10827 (v2) NCOST00827 (v2) TCOST10827 (v2) TCOST00827 (v2) CostoTED (v2) +10 more →
Multiplier
✓ Canonical · factory-verifiedno price feed yetTVL $407,382

Pools

PoolPairDEXTVL
0x0a2121A5…55a398USDG/COSTv3$383,150
0xc478A811…b1cB05WETH/COSTv3$13,579
0xDb1DaEE5…832400USDG/COSTv3$8,624
0xCc5C80Aa…0FeC4eUSDG/COSTv3$1,804
0xdb073638…9E7cA5USDG/COSTv3$211
0xE5752f6a…bF074FUSDG/COSTv3$9
0xbd8f7101…1073A2WETH/COSTv3$5

+4 more pools with dust liquidity (<$1).

README

Costco is a Robinhood Chain stock token — an upgradeable BeaconProxy (ERC-20, 18 decimals) sharing one Stock implementation with every other Robinhood stock token.

It doesn't have a Chainlink price feed yet, so there's no live price to show. The contract, holders, and any pools are indexed live here; a price will appear the moment a feed is deployed.

Integrated COST? Hit a quirk these notes miss?Add a field note →

Read the price

// Read COST correctly on Robinhood Chain (chain 4663). ethers v6.import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(RPC);
const feed = new ethers.Contract(
  "0x… (no feed yet)",
  ["function latestRoundData() view returns (uint80,int256,uint256,uint256,uint80)",
   "function decimals() view returns (uint8)"],
  provider
);

// price = stock × uiMultiplier already — do NOT multiply again
const dec = await feed.decimals();
const rd  = await feed.latestRoundData();
const priceUSD = Number(ethers.formatUnits(rd.answer, dec));

// the real guard: 24h heartbeat (feeds are 24/5)
const now = (await provider.getBlock("latest")).timestamp;
const stale = Number(now) - Number(rd.updatedAt) > 86400;
// NOTE: do NOT gate on the L2 sequencer feed — it's hardwired to 'down' here.

Or just fetch the record

No RPC, no ABIs, no guard logic — gitstock already resolved and guarded everything.

// No RPC or ABIs needed — fetch the whole resolved record.
const r = await fetch("https://gitstock.io/COST/stock.json");
const s = await r.json();

s.price.usd     // live price (already stock × multiplier)
s.holders       // holder count
s.tvlUsd        // pool TVL in USD
s.dependents    // tokens paired against COST
s.feed.proxy    // the Chainlink proxy gitstock reads
s.fieldNotes     // the quirks that break integrations

Field notes — what the docs don't tell you

No feed for COST yet

No Chainlink feed is deployed for this token yet, so there's no live price. The universal Robinhood-stock-token quirks below still apply the moment one appears.

The price feed is not on the token

The Stock token carries no price and no feed pointer on-chain — no latestRoundData(), no priceFeed(). The Chainlink feed is a separate, unlinked contract, and the token→feed mapping isn't published anywhere. gitstock resolves it for you (verified via the token factory's own creation events, not by symbol).

The L2 sequencer gate is hardwired to “down”

Robinhood ships a custom SequencerGate whose source() is currently the zero address — so latestRoundData() returns answer = 1 (down) forever, while the price feeds are healthy. Copy the standard Chainlink pattern require(sequencerUp == 0) and your app will never render a price here. Read the gate for transparency, but don't hard-gate on it yet.

Staleness is the real guard — heartbeat is 24h

Because the sequencer gate is unusable, freshness on the feed itself is the actual safety check. The official heartbeat is 86400s: feeds publish at least daily and more often on deviation (~17min–1h in US market hours, hours apart overnight; 24/5). Only treat a price as stale once now − updatedAt > 86400 — anything tighter false-flags overnight and weekend reads.

Feed price is the TOKEN price, not the stock price

latestRoundData() already returns stock_price × uiMultiplier() — don't apply the multiplier again. Dividends reinvest through the multiplier, so the token tracks total return and drifts above the headline stock price over time. That's why the number here won't match Google Finance.

oraclePaused() is advisory, not enforced

During corporate actions the token oracle is paused. oraclePaused() == true means “price temporarily unavailable”, not zero/error — and it isn't enforced on-chain, so a paused oracle can still return a value. Treat it as a display state; rely on staleness for protection.

Read decimals() on-chain; don't hardcode

Feed answers use the feed's own decimals (8 for these USD feeds). Read decimals() from the proxy every time rather than assuming.

Community notes

No community notes yet — be the first.

COST/stock.json — machine-readable record · COST/badge.svg — README badge