Skip to content

Conversation

@pablin-dev
Copy link
Collaborator

Pull Request

Description

impl #1

Issues

Solidity smart contract implementation of user store 0001 for staking.

Proposed solution

  • Tasks:
    • Using TDD implement the constructor and lock feature for staking contract.

Checklist

  • Checklist:
    • [X]Tests
    • [X]Documentation
    • Coverage
Ran 4 test suites in 4.38s (7.82s CPU time): 77 tests passed, 0 failed, 0 skipped (77 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     | 80.77% (21/26) | 83.33% (25/30)  | 80.00% (4/5)   | 28.57% (2/7)   |
| Total               | 63.54% (61/96) | 66.12% (80/121) | 56.52% (13/23) | 56.00% (14/25) |

Signed-off-by: pablodev <pablo.dev.2022@gmail.com>
@pablin-dev pablin-dev marked this pull request as draft January 19, 2025 15:47
@pablin-dev pablin-dev self-assigned this Jan 19, 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