Giter VIP home page Giter VIP logo

honey-sdk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

honey-sdk's Issues

TODO:

Create an interface that allows users (or at least developers from Honey) create a new pool for testing purposes?

Regarding Liquidations: return all positions and bids for each market

In the Liquidation page we currently display all the markets - however, the TVL is only showing for the active market.
This should be for each market. See screenshot below:

See TVL
Screenshot 2022-11-30 at 15 46 04

See open positions
Screenshot 2022-11-30 at 15 47 06

Now if the users clicks on say, the Pesky market - the Pesky liquidations get rendered, however - we want to be able to render this data without the user having to click on the market.

The SDK function that goes about this data fetching is useAllPositions()

  const { ...status } = useAllPositions(
    sdkConfig.saberHqConnection,
    sdkConfig.sdkWallet,
    sdkConfig.honeyId,
    currentMarketId,
    network == 'devnet' ? true : false
  );

Allow Honey Provider to accept an array of market IDs

Currently, the whole app is being refreshed each time a user clicks on a market. This is being done via a function created in app.tsx, see screenshot below. The preferred way is for the honeyProvider to accept an array of market ID's which returns an array, of objects - each object containing market data. Since this currently is not the case, it does not allow us to create a state management for all our markets, which results in difficulties regarding the management / keeping in sync of the data and calculations with out of sync data in the Front-end.

Screenshot 2022-12-13 at 17 21 51

In creating / configuring the data model for the markets, please take below stated issue into consideration and add the obligations for each market.
#28

Introduce pNFT compatibility

  • Create pNFT compatible backend
  • Include all pNFT instructions juxtaposed to current NFT instructions
  • Test pNFTs (against allowlists / denylists)

Claim NFT

User should be able to claim NFT.
This action currently fails

Metadata Pool:

  • assets deposited
  • interest earned
  • available Lamports for withdraw
  • total balance

Withdraw of 1 SOL currently fails:

User should be able to withdraw 1 SOL if there is at least 1 SOL in the pool. How can we calculate this amount?

See screenshot of error when trying to withdraw

Screenshot 2022-05-09 at 13 28 48

Deposit of 1 SOL currently fails:

User should be able to deposit 1 sol, this action currently fails. Also; what is the max deposit amount that contract / backend can handle in 1 time?

See screenshot for current error;

Screenshot 2022-05-09 at 13 23 55

Metadata NFT:

  • Display estimated value
  • Display outstanding dept
  • Interest rate?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.