Commit 71f4c93
authored
Feat/implement funding related fn (boundlessfi#72)
* feat(project): implement funding and milestone management features
- Add funding and milestone functionalities to the BoundlessContract.
- Introduce helper functions to check if funding and voting periods have ended.
- Implement methods for approving, rejecting, and releasing milestones.
- Enhance project struct with new fields for milestone approvals and releases.
- Update error handling for various project states including funding and milestone operations.
- Add tests for funding operations, milestone approvals, and refunds to ensure functionality and correctness.
* refactor: clean up comments and improve code readability in contract and test files
- Remove unnecessary comments in the BoundlessContract implementation to enhance clarity.
- Update test files to streamline initialization and project deadline checks.
- Adjust comments in milestone funding tests for better understanding of test cases.
* docs: add contract function documentation file
* fix(tests): remove duplicate init_upgrade_test module import
feat(contracts): add util.ts with default RPC URL and network passphrase
* modifed deploy
* feat: enhance project management with milestones and wallet connection features
- Added milestone management capabilities, including creation, updates, and attachments.
- Implemented wallet connection protection for project actions, ensuring users are prompted to connect their wallets when necessary.
- Updated user profile handling to include new fields and improved error handling in API routes.
- Refactored components for better organization and user experience, including profile display and edit forms.
- Introduced new UI components for wallet connection and project forms, enhancing the overall user interface.
- Updated dependencies and improved code readability across various files.
* refactor: remove unused parameter from ProjectPage component
- Updated ProjectPage component to eliminate the unused 'params' parameter, improving code clarity and adherence to linting rules.
* refactor: remove unused parameter from ProjectPage component
- Updated ProjectPage component to eliminate the unused 'params' parameter, improving code clarity and adherence to linting rules.
* refactor: improve code readability and organization in contract and test files
- Reordered imports and formatted code for better clarity in contract.rs.
- Enhanced readability by restructuring conditional statements and method calls.
- Cleaned up whitespace in test files to maintain consistency and improve overall code quality.
* chore: remove contract pipeline workflow file
- Deleted the contract-pipeline.yml file from GitHub workflows, streamlining the CI/CD configuration.
* chore: update GitHub workflows to use pull_request_target event
- Changed the pull request trigger from 'pull_request' to 'pull_request_target' in both deploy.yml and verify-build.yml to enhance security and access control during CI/CD processes.1 parent 198d1ac commit 71f4c93
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments