@polyprogrammist.near [Posted on DevHub](/devgovgigs.near/widget/Post?id=3118) ## Solution: DevHub Developer Contributor report by Vadim for 2024-02-05 - 2024-03-04 ###### Requested amount: 3975 USDT ###### Requested sponsor: @neardevdao.near I am submitting this contributor report as a contributor led by @frol.near This is my 2nd contributor report. You can find my previous report [here](https://near.org/devhub.near/widget/app?page=post&id=2959) # Summary of work ## Week 1, Feb 5 - Feb 11 Finalized new proposals feature [#90](https://github.com/NEAR-DevHub/neardevhub-contract/pull/90) [8h] - Monday - Add check if creation is in draft, test for changing by admin, changed tx hash type to string forbedded to create proposals without payouts, fixed notifications [6h] - Tuesday - Added category management, added tx hash type for payout, fixed timeline status to “timeline.status” [6h] - Wednesday - Fixed optional fields, added more tests for timelines, fixed cargo near build, fixed fmt and clippy [1h] - Thursday - Rebased [4h] - Friday - Review fixes: types to u32, return promise for add_proposals, added methods for timeline, Avoided try_into, changed link for socialdb, fixed StorageKey enum, fixed link for post ## Week 2, Feb 12 - Feb 18 [1h] - Thursday - Connect with Vlad on new task in near-sdk-rs [1h] - Friday - Research new task ## Week 3, Feb 19 - Feb 25 Work on reducing boilerplate in near-sdk-rs [#1147](https://github.com/near/near-sdk-rs/pull/1147) [8.5h] - Tuesday - learned macros in rust, worked on adding moderators to test contract [6.5h] - Wednesday - added moderators to test contract, reviewed Peter’s PR, created PR for edit_proposal_timeline method [#92](https://github.com/NEAR-DevHub/neardevhub-contract/pull/92), created prototype for structures for boilerplate (generation code for structures, handling borsh and json arguments, use imports) [7.5h] - Friday - fixed review for edit_proposal_timeline, added NearSchema and abi which depend on borsh and json argos, added FromMeta implementation for a struct with vector of identifiers and changed to near(serializers=[borsh, json]) with borsh default, added near_bindgen ## Week 4, Feb 26 - March 3 Continue work on reducing boilerplate in near-sdk-rs, some fixes for new proposal feature [5h] - Monday - deployed new contract for proposals, changed some examples in near-sdk-rs, research on moving near_bindgen from structs to impl: moved from structs to impl [5h] - Tuesday - Changed all examples in near-sdk-rs, and fixed them, added contract_state parameter, added event_json, changed near-sdk-rs/near-contract-standards, started NearStorageKey [6h] - Wednesday - Fixed tests, created NearStorageKey that builds, meeting, added ability to add proposal to review [#94](https://github.com/NEAR-DevHub/neardevhub-contract/pull/94), redeployed contract [3h] - Thursday - Research on NearStorageKey and Default Trait, discussed with Vlad that it is not going to be implemented [5h] - Friday - for proposals fixed payout and added cancelled state, fixed payment options, [#96](https://github.com/NEAR-DevHub/neardevhub-contract/pull/96), [#95](https://github.com/NEAR-DevHub/neardevhub-contract/pull/95), for near-sdk-rs started to work on NearSchema (imports inside and outside near_sdk) [3h] - Saturday - notifications [#100](https://github.com/NEAR-DevHub/neardevhub-contract/pull/100), continue working on NearSchema (added generics and where clause, deduplicate NearSchema users inside near-sdk) Week 5, March 4 [3h] - Monday - call with Megha, fixed near_bindgen to near for other tests and examples, removed contract_state from impls, created proposal Total hours: 79.5 Rate: $50/hour Total amount: $3975 USDT