Skip to content

feat: Added support for delegating bounty management - #17

Open
cyotee wants to merge 1 commit into
Gitlawb:mainfrom
cyotee:feat/bounty-delegation
Open

feat: Added support for delegating bounty management#17
cyotee wants to merge 1 commit into
Gitlawb:mainfrom
cyotee:feat/bounty-delegation

Conversation

@cyotee

@cyotee cyotee commented Jul 3, 2026

Copy link
Copy Markdown

I tried to follow your apparent style for adding this feature.

I was working on a treasury management integration with Gitlawb bounties. But found that if the bounty creation call came from the treasury contract, I would need to implement a whole bounty management pass-through.

I figured that friction might be a problem for others.

So, this uses the Open Zeppelin EnumerableSet to allow a bounty creator to approve another address to manage the bounty.

I deliberately vendored the whole EnumberableSet library and all it's dependencies so it would be easy to compare to the OZ code.

Happy to make any changes you want. I also notice a few gas improvements I could make. And there's no interfaces to make integration easier. I am aavailable for employment if you need an experienced Solidity developer.

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.

1 participant