Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant enhancements to the BigBang contract system, focusing on the creation and management of member roles ("Member Hat"), integration of the ThanksToken, and improvements to module deployment and initialization. The changes affect both the Solidity contracts and the TypeScript CLI interface, aiming to provide more granular role management and streamlined reward distribution.
Key changes:
Member Role (Member Hat) Support
BigBang
contract and its mock version, including new parameters for member hat details and image URI in contract methods and CLI interfaces. (pkgs/contract/contracts/bigbang/BigBang.sol
,pkgs/contract/contracts/bigbang/mock/BigBang_Mock_v2.sol
,pkgs/cli/src/modules/bigbang.ts
,pkgs/cli/src/abi/bigbang.ts
) [1] [2] [3] [4] [5] [6] [7] [8] [9]ThanksToken Integration
pkgs/contract/contracts/bigbang/BigBang.sol
,pkgs/contract/contracts/bigbang/mock/BigBang_Mock_v2.sol
) [1] [2]Module Deployment and Initialization Improvements
Added deployment of the HatsHatFractionTokenModule and updated the order of module deployments, ensuring all necessary modules are created and linked properly during contract setup. (
pkgs/contract/contracts/bigbang/BigBang.sol
,pkgs/contract/contracts/bigbang/mock/BigBang_Mock_v2.sol
) [1] [2] [3] [4] [5] [6] [7]Updated contract initialization and setter functions to support the new modules and factories, replacing
FractionToken
withThanksTokenFactory
and adding support for setting theHatsFractionTokenModule_IMPL
. (pkgs/contract/contracts/bigbang/mock/BigBang_Mock_v2.sol
) [1] [2] [3]Documentation
README.md
to clarify terminology around "Thanks Token" and its synonyms, and to reflect the new core features and workflow.