Commit 198d1ac
authored
Feat/implement funding related fn (boundlessfi#71)
* 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.1 parent d71bd4a commit 198d1ac
55 files changed
Lines changed: 4150 additions & 1920 deletions
File tree
- .github/workflows
- app
- (dashboard)
- profile
- projects
- [id]
- viewer
- edit/[id]
- new
- settings
- api
- auth/register
- projects/[id]
- comments
- milestones
- [milestoneId]
- attachments
- user
- profile
- settings
- connect-wallet
- components
- dashboard
- profile
- examples
- settings/components
- ui
- contracts/boundless_contract/src
- tests
- hooks
- lib
- actions
- prisma
- migrations
- 20250408232837_n
- store
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 12 | + | |
16 | 13 | | |
| 14 | + | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
30 | 98 | | |
31 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
32 | 129 | | |
33 | 130 | | |
34 | 131 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
48 | 156 | | |
49 | 157 | | |
50 | 158 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments