Loops HouseRigel

NEAR HACKATHON
Links
Team
1 member- TAOwner
Tamer Arda
Overview
Rigel is a covered call vault on NEAR. Depositors pool NEAR and receive rcNEAR, a NEP-141 share token. Each round the vault sells a cash-settled call on the pool in an on-chain Dutch auction: the premium falls linearly from 1.50% to 0.20% of notional over the auction, with partial fills. The premium is paid into the pool; if NEAR closes above the strike, buyers are paid the excess out of the pool, capped by collateral.
Settlement uses a pull oracle with a fixed window: a price published inside [expiry, expiry + window] settles the round, and anyone can call close_round for a small bounty without choosing the outcome. Every round ends one of four ways: Settled; Lapsed (nothing sold); Voided (the price in the window is unusable, buyers get their premium back); or Unresolved (no price in the window, depositors keep the premium). Past a deadline a round resolves without calling the oracle, so no oracle failure can lock funds.
NEAR Intents: the vault takes bids as wNEAR through ft_on_transfer, the form in which 1Click delivers a cross-chain swap with a message. On testnet that leg runs live (wrap, transfer with a bid message, unwrap, fill), and the app shows a real 1Click quote for paying with USDC from Arbitrum, Solana or Base.
Pyth on NEAR has not updated since 26 Aug 2026, so testnet reads a trusted adapter with Pyth's exact interface, fed by a keeper on a Cloudflare cron with a median of exchange prices. The oracle account and feed id are constructor arguments, so switching back to Pyth needs no code change.
Rust (near-sdk-rs 5), 48 unit tests, and a 50-step end-to-end run on testnet covering every outcome, with transaction links in the README. Next.js app for depositing, bidding, closing rounds and claiming. All code was written during the hackathon. Demo video: https://youtu.be/8DIqGS85yJc