Skip to content

Conversation

@bonnie57
Copy link
Collaborator

@bonnie57 bonnie57 commented Nov 11, 2025

Description

Currently, all functions that convert IP to WIP for minting fees handle fees only in WIP tokens. To future-proof for scenarios where minting fees can be paid with other tokens, update these functions to also handle token approvals when fees are not in WIP.

Scope

  1. Enhance contractCallWithFees to support auto-approval for ERC-20 tokens.
  2. Update the methods that invoke contractCallWithFees.
  3. Add both unit tests and integration tests.

…est to use unified ERC20 and WIP options; enhance fee handling tests for ERC20 integration
… including derivative IP handling and license terms validation
…oken fees, enhancing fee calculation and registration workflows
…ions` for consistency in IP asset handling
…options for consistency across SDK resources
…ling, ensuring proper fee management for public and private minting
…entation for clarity on erc20 and wrapped IP token usage
@bonnie57 bonnie57 changed the title Tssdk 88 feat: Update IP → WIP functions to handle approvals for minting fees Nov 13, 2025
@bonnie57 bonnie57 marked this pull request as ready for review November 14, 2025 09:27
@bonnie57 bonnie57 requested a review from lucas2brh as a code owner November 14, 2025 09:27
@bonnie57 bonnie57 changed the title feat: Update IP → WIP functions to handle approvals for minting fees feat: update IP → WIP functions to handle approvals for minting fees Nov 14, 2025
… structures for royalty token distribution requests
…lient tests for clarity on ERC20 and WIP token usage
…ling and improve type documentation for token spending
@lucas2brh lucas2brh self-requested a review November 18, 2025 02:28
…ll for WIP token registration and clean up test case for clarity
@bonnie57 bonnie57 changed the title feat: update IP → WIP functions to handle approvals for minting fees feat: auto-approve erc20 token Nov 19, 2025
@bonnie57 bonnie57 merged commit 402252b into main Nov 20, 2025
15 checks passed
@bonnie57 bonnie57 deleted the TSSDK-88 branch November 20, 2025 07:06
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.

4 participants