Skip to content

Conversation

@pablin-dev
Copy link
Collaborator

Pull Request

Description

impl #2

Issues

Solidity smart contract implementation of user store 0001 for staking.

Proposed solution

  • Tasks:
    • Using TDD implement the unlock feature for staking contract.

Checklist

  • Checklist:
    • [X]Tests
    • [X]Documentation
    • Coverage
Ran 4 test suites in 4.43s (4.98s CPU time): 75 tests passed, 0 failed, 0 skipped (75 total tests)
| File                | % Lines         | % Statements    | % Branches     | % Funcs        |
|---------------------|-----------------|-----------------|----------------|----------------|
| script/Deploy.s.sol | 0.00% (0/20)    | 0.00% (0/25)    | 100.00% (0/0)  | 0.00% (0/1)    |
| src/Exchange.sol    | 0.00% (0/3)     | 0.00% (0/3)     | 100.00% (0/0)  | 0.00% (0/3)    |
| src/Lazy20.sol      | 100.00% (1/1)   | 100.00% (1/1)   | 100.00% (0/0)  | 100.00% (1/1)  |
| src/Lazy721.sol     | 84.78% (39/46)  | 87.10% (54/62)  | 50.00% (9/18)  | 84.62% (11/13) |
| src/Staking.sol     | 85.71% (30/35)  | 87.18% (34/39)  | 87.50% (7/8)   | 42.86% (3/7)   |
| Total               | 66.67% (70/105) | 68.46% (89/130) | 61.54% (16/26) | 60.00% (15/25) |

Signed-off-by: pablodev <pablo.dev.2022@gmail.com>
Signed-off-by: pablodev <pablo.dev.2022@gmail.com>
@pablin-dev pablin-dev self-assigned this Jan 20, 2025
@pablin-dev pablin-dev marked this pull request as draft January 20, 2025 09:09
@pablin-dev pablin-dev changed the title Feat 0002 nft stake unlock feat: Impl TDD for 0002 user story Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants