Reference

The contract

Functions

FunctionWhoWhat it does
sealWithPermitSenderTakes the USDG with a permit, sends 1% to the pot, buys the stock, seals it under the link's address
open(linkKey, to, sig)AnyoneChecks the link's signature for to and delivers the share before day 30
giveBack(linkKey)Anyone, after day 30Returns an unopened share to its sender, and only to its sender
envelope(linkKey)ViewSender, stock, raw amount, deadline, state
stats()ViewEnvelopes sealed, opened, returned, and dollars sealed

The signature

// EIP-712, domain { name: "Noshi", version: "1", chainId: 4663, verifyingContract }
Open(address linkKey, address to)

// signed in the browser with the link's private key,
// so it can only ever deliver to "to"

Addresses

WhatAddress
USDG (Global Dollar, Paxos)0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168
Uniswap SwapRouter020xcaf681a66d020601342297493863e78c959e5cb2
Uniswap QuoterV20x33e885ed0ec9bf04ecfb19341582aadcb4c8a9e7
NVDA stock token0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec
Noshi (envelopes)0xd9E1649f78AAD86cDF028154D9Bc7b73532cc08c
NoshiPot (weekly surprise)0x4ADe7289C62905B57F91D0d55a05558E000a338a

Limits

  • An envelope holds between $1 and $1,000.
  • Only the fifteen stocks and funds listed at deployment can be sealed, each with its Uniswap pool.
  • Amounts are stored raw and shown with the token's current multiplier, so splits and reinvested dividends display correctly.
  • The 30 days are a constant in the contract. Nobody can change them.

Noshi. All rights reserved. © 2026