Skip to content

Commit b18d633

Browse files
authored
Support distributing royalty token on registration (#328) (#329)
* 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
1 parent b5a3b5c commit b18d633

File tree

16 files changed

+3822
-750
lines changed

16 files changed

+3822
-750
lines changed

packages/core-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@story-protocol/core-sdk",
3-
"version": "1.2.0-rc.2",
3+
"version": "1.2.0-rc.3",
44
"description": "Story Protocol Core SDK",
55
"main": "dist/story-protocol-core-sdk.cjs.js",
66
"module": "dist/story-protocol-core-sdk.esm.js",

0 commit comments

Comments
 (0)