Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add issue175&176&177 #191

Merged
merged 6 commits into from
Dec 1, 2024
Merged

Add issue175&176&177 #191

merged 6 commits into from
Dec 1, 2024

Conversation

mashharuki
Copy link
Collaborator

Pull Request Template

Description

Hatsコントラクト、FractionTokenコントラクト、SplitsCreatorコントラクト用のReact Hooksを追加しました。

そのほか、READMEへの環境変数のメモ書き追加

frontend の .env.example ファイルの更新

pilmco用のReact Hooksへのコメントを追記しています。

確認お願いします!

Fixes

#175
#176
#177

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Screenshots

@mashharuki mashharuki marked this pull request as ready for review December 1, 2024 06:51
@mashharuki mashharuki requested a review from yu23ki14 December 1, 2024 06:51
@mashharuki
Copy link
Collaborator Author

あと、フロントエンド ビルド用の GitHub Actionsファイルの追加してみました!

@mashharuki
Copy link
Collaborator Author

以下は、GitHub Copilotで出力された このプルリクエストの要約です。

This pull request includes several updates and new features across multiple files, primarily focused on integrating new smart contract addresses, adding new React hooks, and importing additional dependencies. Below is a summary of the most important changes:

Environment Variable Updates:

  • Added new environment variables for VITE_HATS_ADDRESS, VITE_FRACTION_TOKEN_ADDRESS, and VITE_SPLITS_CREATOR_ADDRESS in README.md and .env.example files. [1] [2]

React Hooks:

  • Added new hooks for useFractionToken, useHats, and useSplitsCreator to handle various functionalities related to Fraction Tokens, Hats, and Splits creation. [1] [2] [3]
  • Updated useBigBang and useSmartWallet hooks to include additional imports and comments for better readability and functionality. [1] [2] [3]

Contract Configurations:

  • Added new configurations for HATS_ADDRESS, FRACTION_TOKEN_ADDRESS, and SPLITS_CREATOR_ADDRESS in useContracts.ts.

Dependencies:

  • Added @hatsprotocol/sdk-v1-subgraph to package.json for subgraph functionalities.

Type Definitions:

  • Added a new type SplitsInfo in types.ts to define the structure for splits information.

@yu23ki14 yu23ki14 merged commit bb72672 into main Dec 1, 2024
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.

2 participants