diff --git a/packages/core-sdk/src/abi/json/Errors.abi.ts b/packages/core-sdk/src/abi/json/Errors.abi.ts index 8cdc0a6a..78bbb458 100644 --- a/packages/core-sdk/src/abi/json/Errors.abi.ts +++ b/packages/core-sdk/src/abi/json/Errors.abi.ts @@ -179,42 +179,6 @@ export default [ name: "DisputeModule__ZeroLinkToDisputeEvidence", type: "error", }, - { - inputs: [], - name: "Governance__InconsistentState", - type: "error", - }, - { - inputs: [], - name: "Governance__NewStateIsTheSameWithOldState", - type: "error", - }, - { - inputs: [], - name: "Governance__OnlyProtocolAdmin", - type: "error", - }, - { - inputs: [], - name: "Governance__ProtocolPaused", - type: "error", - }, - { - inputs: [ - { - internalType: "string", - name: "interfaceName", - type: "string", - }, - ], - name: "Governance__UnsupportedInterface", - type: "error", - }, - { - inputs: [], - name: "Governance__ZeroAddress", - type: "error", - }, { inputs: [], name: "IPAccountRegistry_InvalidIpAccountImpl", diff --git a/packages/core-sdk/src/abi/json/Errors.json b/packages/core-sdk/src/abi/json/Errors.json index 32f7aab3..26905f58 100644 --- a/packages/core-sdk/src/abi/json/Errors.json +++ b/packages/core-sdk/src/abi/json/Errors.json @@ -179,42 +179,6 @@ "name": "DisputeModule__ZeroLinkToDisputeEvidence", "type": "error" }, - { - "inputs": [], - "name": "Governance__InconsistentState", - "type": "error" - }, - { - "inputs": [], - "name": "Governance__NewStateIsTheSameWithOldState", - "type": "error" - }, - { - "inputs": [], - "name": "Governance__OnlyProtocolAdmin", - "type": "error" - }, - { - "inputs": [], - "name": "Governance__ProtocolPaused", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "interfaceName", - "type": "string" - } - ], - "name": "Governance__UnsupportedInterface", - "type": "error" - }, - { - "inputs": [], - "name": "Governance__ZeroAddress", - "type": "error" - }, { "inputs": [], "name": "IPAccountRegistry_InvalidIpAccountImpl", diff --git a/packages/core-sdk/src/abi/json/LicensingModule.abi.ts b/packages/core-sdk/src/abi/json/LicensingModule.abi.ts index f067a2cf..14251ee2 100644 --- a/packages/core-sdk/src/abi/json/LicensingModule.abi.ts +++ b/packages/core-sdk/src/abi/json/LicensingModule.abi.ts @@ -1,35 +1,4 @@ export default [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "caller", - type: "address", - }, - { - indexed: true, - internalType: "address", - name: "ipId", - type: "address", - }, - { - indexed: false, - internalType: "address", - name: "licenseTemplate", - type: "address", - }, - { - indexed: false, - internalType: "uint256", - name: "licenseTermsId", - type: "uint256", - }, - ], - name: "LicenseTermsAttached", - type: "event", - }, { anonymous: false, inputs: [ @@ -146,4 +115,60 @@ export default [ stateMutability: "nonpayable", type: "function", }, + { + inputs: [ + { + internalType: "address", + name: "childIpId", + type: "address", + }, + { + internalType: "address[]", + name: "parentIpIds", + type: "address[]", + }, + { + internalType: "uint256[]", + name: "licenseTermsIds", + type: "uint256[]", + }, + { + internalType: "address", + name: "licenseTemplate", + type: "address", + }, + { + internalType: "bytes", + name: "royaltyContext", + type: "bytes", + }, + ], + name: "registerDerivative", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "childIpId", + type: "address", + }, + { + internalType: "uint256[]", + name: "licenseTokenIds", + type: "uint256[]", + }, + { + internalType: "bytes", + name: "royaltyContext", + type: "bytes", + }, + ], + name: "registerDerivativeWithLicenseTokens", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, ] as const; diff --git a/packages/core-sdk/src/abi/sdkEntities.json b/packages/core-sdk/src/abi/sdkEntities.json index 611fddec..4e9cd441 100644 --- a/packages/core-sdk/src/abi/sdkEntities.json +++ b/packages/core-sdk/src/abi/sdkEntities.json @@ -9,6 +9,9 @@ "registerRootIp", "registerDerivativeIp", "IPRegistered", + "registerDerivativeWithLicenseTokens", + "registerDerivative", + "DerivativeRegistered", "getLicenseTermsId", "registerLicenseTerms",