Skip to content

Commit

Permalink
Support distributing royalty token on registration (#328) (#329)
Browse files Browse the repository at this point in the history
* Update smart contract methods

* Fix multicall request types

* Update registerPilTermsAndAttach to accept array of terms

* Update mintAndRegisterIpAndAttachPILTerms to accept array of terms

* Update signature method

* Update smart contract methods in config

* Add registerIPAndAttachLicenseTermsAndDistributeRoyaltyTokens method

* Fix issue about how to get license terms id

* Add registerDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokens method

* Add mintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokens and mintAndRegisterIpAndAttachPilTermsAndDistributeRoyaltyTokens methods

* Add unit for mintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokens and mintAndRegisterIpAndAttachPilTermsAndDistributeRoyaltyTokens methods

* Fix unit tests

* Refactor code

* Bump up version to 1.2.0-rc.3

* Remove integration tests in test command

* Update package.json
  • Loading branch information
bonnie57 authored Dec 3, 2024
1 parent b5a3b5c commit b18d633
Show file tree
Hide file tree
Showing 16 changed files with 3,822 additions and 750 deletions.
2 changes: 1 addition & 1 deletion packages/core-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@story-protocol/core-sdk",
"version": "1.2.0-rc.2",
"version": "1.2.0-rc.3",
"description": "Story Protocol Core SDK",
"main": "dist/story-protocol-core-sdk.cjs.js",
"module": "dist/story-protocol-core-sdk.esm.js",
Expand Down
Loading

0 comments on commit b18d633

Please sign in to comment.