Skip to content

Conversation

yu23ki14
Copy link
Member

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

  • Added support for creating and minting a "Member Hat" under the HatterHat in both the main 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

  • Integrated deployment of the ThanksToken (also referred to as Fraction Token, Assist Credit, or Role Share) into the BigBang contract creation flow, ensuring it is created and passed to the SplitCreator during initialization. (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 with ThanksTokenFactory and adding support for setting the HatsFractionTokenModule_IMPL. (pkgs/contract/contracts/bigbang/mock/BigBang_Mock_v2.sol) [1] [2] [3]

Documentation

  • Updated the README.md to clarify terminology around "Thanks Token" and its synonyms, and to reflect the new core features and workflow.

@yu23ki14 yu23ki14 changed the base branch from main to tobanv2 August 18, 2025 10:40
@yu23ki14 yu23ki14 merged commit 11adc7b into tobanv2 Aug 18, 2025
1 of 2 checks passed
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