Yam Synths
uGAS is a Synthetic Ethereum Gas Futures Token

uGAS is a Synthetic Gas Futures Token.
Each uGAS token is named after the month that it’ll expire at the end of (for example, the uGAS-JAN21 token will expire at 0:00 UTC, Feb 1st 2021.) Once the uGAS token expires, it will settle at the median gas price of all Ethereum transactions for the past 30 days. Each uGAS token represents 1,000,000 GAS, so if the median gas price over the 30 days before expiry was 70 Gwei, the uGAS token would be worth 0.07 ETH. NOTE: Expiry price of uGAS token is determined by median gas price of all Ethereum transactions for the past 30 days, while liquidation and disputes are determined by 2 hour Uniswap TWAP uGAS Price (time-weighted average price).

The Ethereum blockchain is home to a thriving ecosystem of Web apps the usage of which requires to spend network fees, in the form of gas. Gas prices can vary substantially during peak usage periods with various financial impacts on the users (see "Use cases: Hedge, speculate, short").
uGAS is a DeFi-first product that it provides a futures contract that can be easily bought and sold to hedge against or speculate on future gas price moves.

Each contract has it's own expiration date. For example, uGAS-JAN21 expires on Feb 1st 2021. Once expired, UMA's Oracle needs to verify that the expiration price is correct according to the specifications of the relevant UMIP. There will be a DVM expiry price request coming at the start of the next commit day, which is 24 hours from expiry, then there is another 48 hour waiting period for any potential disputes. Token Sponsors (if you minted uGAS) can always redeem their positions by paying back their debt, even during the ongoing price request. Tokenholders (who only bought uGAS) need to wait until the price is returned to settle their positions.
To settle your uGAS for ETH a "settle" button will be available after UMA's Oracle has completed it's request.

uSTONKS will use the 2-hour TWAP of its own token price to determine whether a position is collateralized or needs to be liquidated. This self-referential logic is needed because uSTONKS is a decentralized synthetic that trades continuously 24/7 whereas the underlying stocks in the uSTONKS index trade during exchange hours which leaves gaps in prices between the 4:00PM EST close and 9:30AM EST open the next day and on weekends and market holidays.
Using price feeds from the exchanges to monitor collateral ratios of token sponsors could be problematic outside of market hours especially if there is significant news released on a stock or meaningful macro market forces. Though some stocks are traded after hours, the ability to extract this price data is difficult and the frequency may not be consistent across all ten stocks.
Therefore, using the uSTONKS token price itself to monitor collateral ratios is a better alternative as it should reflect the actual price movements during exchange hours and also reflect expectations of price movements after market hours.
Copy link
On this page
What is uGAS?
Why uGAS?
What happens when a contract expires?
The importance of 2hr TWAP for all calculations