DimensionDev / Maskbook

The portal to the new, open Internet. ([I:b])
https://mask.io
GNU Affero General Public License v3.0
1.5k stars 311 forks source link

[Bounty] Integrate Barnbridge, a defi app for risk management and fixed income, in Mask Plugin #4018

Closed tzhan28 closed 2 years ago

tzhan28 commented 3 years ago

Catalogue

Part 1: Problem Description

Background BarnBridge is a risk tokenizing protocol. It aims to reduce the risks associated with DeFi, such as inflation risk, market price risk, and cash-flow volatility risk. By letting users select a risk profile, BarnBridge can redistribute risk via tokenized, liquid tranches. BarnBridge does this with its SMART Yield, SMART Exposure, and SMART Alpha products, all of which address a specific DeFi risk category.

Previously defi plugins on Mask, like the trading widgets powered by 0x and Uniswap, has been plagued by high ETH gas prices. However with the launch of polygon and BSC integration, the problem should have been largely resolved. Fixed income app which was hindered by monstrous ETH gas price is now very much accessible.

Solution Create a plugin that integrate barnbridge. The UI could resemble Dhedge & Pooltogether in a card style with different tabs serving different purposes.

image Dhedge Plugin UI

image Pooltogether pool list

image Pooltogether deposit page

Default page could be the pool list with senior tranche liquidity and return, junior tranche liquidity and return, and other basic info like shown in the official website (IMO it's clean enough for porting directly) . Once click deposit, users will be taken to deposit page where detailed info is displayed.

A second tab would be my page where all my portfolios are displayed

Anylink from Barnbridge on Twitter could trigger the plugin ( could have some slightly different treatment). The tab order can be changed, corresponding landing and ending page needs to be added. Share button is a must.

Language like I just deposited $aa worth of xxx token in a high yield fixed income product can I make money? should be added to help spread the word.

Part 2: Resources

Part 3: Contact and Support

@yisiliu for ideas @Jack-Works for implementations Mask Network discord server: https://discord.gg/4Xccj7a75Q Barnbridge discord server: https://discord.gg/barnbridge

Submission Requirements Please include demo to show the integration is working.

Winner Announcement Date Winners will be announced at the conclusion of Open DeFi Hackathon

Judging Criteria Have a working demo. Clean code & tech design Clear UI, easy to use and generally good user experience

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 300.0 MASK (1956.0 USD @ $6.52/MASK) attached to it.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 5 months, 3 weeks ago. Please review their action plans below:

1) lynnuxdev has started work.

I will integrate Barnbridge, a defi app for risk management and fixed income, as a plugin for Mask.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 1000.0 USDC (1000.0 USD @ $1.0/USDC) attached to it.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 1000.0 USDC (1000.0 USD @ $1.0/USDC) attached to it.

LindaMask commented 2 years ago

@lynnuxdev can you please reach out to me on telegram @lin_dao so we can take you through the bounty program?

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 2 weeks, 3 days ago. Please review their action plans below:

1) ajand has applied to start work _(Funders only: approve worker | reject worker)_.

I want to integrate barnbridge into the mask plugin

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 2000.0 USDC (2000.0 USD @ $1.0/USDC) attached to this issue has been cancelled by the bounty submitter