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

Update ipAsset.ts #271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

cypherpepe
Copy link

Modified the mintAndRegisterIpAndMakeDerivative function to include the return of tokenId, similar to the behavior in mintAndRegisterIpAssetWithPilTerms. This ensures consistency across functions that involve IP registration and minting.

Description

  • Added the tokenId to the return statement in mintAndRegisterIpAndMakeDerivative.
  • This change brings parity with mintAndRegisterIpAssetWithPilTerms by ensuring both methods return the tokenId.

Test Plan

  • Validate the functionality by minting an IP and ensuring the response includes the tokenId.
  • Conduct tests with different IP and derivative data to confirm the new return structure.

Related Issue

Issue #266

Notes

  • No additional dependencies were added.
  • Ensure downstream components are compatible with the updated return structure.

Modified the mintAndRegisterIpAndMakeDerivative function to include the return of tokenId, similar to the behavior in mintAndRegisterIpAssetWithPilTerms. This ensures consistency across functions that involve IP registration and minting.
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