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 default value for DerivativeData and LicenseConfig #425

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Conversation

bonnie57
Copy link
Collaborator

@bonnie57 bonnie57 commented Feb 17, 2025

Description

Add default value including :

Derivative Data

  • maxMintingFee: Default 0
  • maxRts: 100_000_000
  • maxRevenueShare: 100 (this is a percentage, SDK converts to 100m before calling protocol)

Licensing Config

  • isSet: false
  • mintingFee: 0
  • licensingHook: zeroAddress
  • hookData: zeroAddress
  • commercialRevShare: 0
  • disabled: false
  • expectMinimumGroupRewardShare: 0
  • expectGroupRewardPool: zeroAddress

@bonnie57 bonnie57 changed the title Add default value Add default values Feb 17, 2025
@bonnie57 bonnie57 added the enhancement New feature or request label Feb 17, 2025
@github-actions github-actions bot removed the enhancement New feature or request label Feb 17, 2025
@bonnie57 bonnie57 force-pushed the bonnie/dev branch 2 times, most recently from 229c5c1 to d5af98e Compare February 19, 2025 07:50
Base automatically changed from bonnie/SDK-53 to dev February 19, 2025 08:59
@bonnie57 bonnie57 force-pushed the bonnie/dev branch 2 times, most recently from d5af98e to 8a628b6 Compare February 19, 2025 10:16
*/
maxRts?: number | string;
/**
* The maximum revenue share percentage allowed for minting the License Tokens. Must be between 0 and 100 (where 100% represents 100_000_000).
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 very clear

Copy link
Collaborator

@DracoLi DracoLi left a comment

Choose a reason for hiding this comment

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

🚀

Add default value for LicenseConfig

Update the doc about multiple line

Update the doc

Update event with link

Update zero address

Modify licenseConfig logic

Refactor via comments

Enhance LicenseTermsData type

Make licensingConfig required in the setLicensingConfig method

Update default show style
@bonnie57 bonnie57 changed the title Add default values Add default value for DerivativeData and LicenseConfig Feb 20, 2025
@bonnie57 bonnie57 merged commit 739b46e into dev Feb 21, 2025
15 checks passed
@bonnie57 bonnie57 deleted the bonnie/dev branch February 21, 2025 01:49
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