opynfinance / gamma-frontend Goto Github PK
View Code? Open in Web Editor NEWFrontend for v2.opyn.co
Home Page: https://gamma-frontend-three.vercel.app
License: GNU General Public License v3.0
Frontend for v2.opyn.co
Home Page: https://gamma-frontend-three.vercel.app
License: GNU General Public License v3.0
Is your feature request related to a problem? Please describe.
For an existing vault. - Its not possible to partially burn options against a vault and remove collateral in 1 step. Its not possible to easily know collateralization of that type of action as it is done in 2 steps. Its also not possible to add collateral and mint options in 1 step.
Describe the solution you'd like
I'd like the manage oToken tab to allow adjustments to both collateral (add or remove) + oTokens (allowing burns and mints)
Is your feature request related to a problem? Please describe.
We will potentially have both yUSDC and yETH collateralized ETH options (yUSDC for puts and yETH for calls). Right now the f/e seems to segregate options based on:
Describe the solution you'd like
The option chain for ETH/yUSDC should probably be renamed to something like ETH/yToken or ETH, yEarn collateral and include both yETH collateralized calls as well as yUSDC collateralized puts.
We probably need some messaging around the differences between chain #1 and chain #3
Is your feature request related to a problem? Please describe.
Currently the f/e defaults to showing all options, even those without liquidity
Describe the solution you'd like
Can we default to not showing options with 0 liquidity and allow people to see them all if they want via a checkbox or something?
This is reversing the flow currently which defaults to showing all options and allows people to filter out 0 liquidity options.
Describe alternatives you've considered
Describe the bug
For ETHUSDC/yUSDC put options, collateral is posted in yUSDC and the collateral required is based on the yUSDC/USDC exchange rate as well as the strike of the put. Right now the front end is assuming 1 yUSDC = 1 USDC, which is wrong and requires more collateral than is necessary.
A similar issue should exist for yETH collateralized calls if we add to f/e.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the yUSDC required to be less than the USDC required for a put as 1 yUSDC is worth more than 1 USDC. The fx rate has to be taken into account here. A few ways to get the price are Margin calculator, the yUSDC token contract, or our pricer contract for yUSDC.
Desktop (please complete the following information):
Need to make sure that the position does not disappear from active positions on burn, but only upon also removing collateral
Is your feature request related to a problem? Please describe.
Before an option is selected we should display a graph of the asset price history instead of "select an option"
Describe the solution you'd like
Before an option is selected we should display a graph of the asset price history instead of "select an option"
Describe alternatives you've considered
Another option is having no blank space before an option is selected and moving the option chain downward
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.