Skip to content

feat: implemented get pool creator#81

Merged
martinvibes merged 1 commit into
Web3Novalabs:mainfrom
Iwueseiter:pool_creator
Jul 31, 2025
Merged

feat: implemented get pool creator#81
martinvibes merged 1 commit into
Web3Novalabs:mainfrom
Iwueseiter:pool_creator

Conversation

@Iwueseiter

Copy link
Copy Markdown
Contributor

Resolve #66
This PR adds a custom hook useGetPoolCreator to fetch the creator of a pool from the PreDifi contract using useReadContract from @starknet-react/core.

Hook Params:

  • poolId: Pool identifier

  • enabled: Toggle the query (default: true)

  • watch: Enable live updates (default: false)

  • refetchInterval: Set polling interval or disable it

Returns:

  • data, error, isLoading, status

@Akshola00 Akshola00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your contribution

@martinvibes martinvibes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thank you for your contribution

@martinvibes martinvibes merged commit 560ef4b into Web3Novalabs:main Jul 31, 2025
1 check 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.

[Frontend] Get Pool Creator function

4 participants