Skip to content

Tests and Fixes For Deposits and Withdrawals in Pools #2

Description

@avoyager

We have a core contract here: https://github.com/YieldHand/OptionsMarketLiquidityPool/blob/main/contracts/pool.sol

The primary functionality here is deposits and withdrawals. Learn more about the concept for the project here: https://www.yieldhand.com

The codebase was written mostly as pseudo-code to convey the idea that deposits are locked for a pre-determined period (by ownership DAO) and can withdrawn with rewards at the end of the period based on options performance in the market with one of these contracts (https://github.com/YieldHand/OptionsMarket/blob/master/contracts/optionsmarket.sol). We want to make sure that LPs can withdraw based on their percentage share of the pool all of the underlying. We also need to write Mocha/Chai tests to that deposits and withdraws are working properly pre-set of the withdrawal date (before owner sets it, a user should be able to deposit and withdraw the amount of a token set as the depositToken by the contract).

From there, we will proceed with development (hopefully with you).

Can you solve this problem?

For any questions, please feel free to reach out and ask questions in our new Discord: https://discord.gg/7fApFnA6qW

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions