Skip to content

feat: implemented get pool creator#81

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

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

Conversation

@Iwueseiter
Copy link
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

Copy link
Contributor

@Akshola00 Akshola00 left a comment

Choose a reason for hiding this comment

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

thanks for your contribution

Copy link
Contributor

@martinvibes martinvibes left a comment

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