Skip to content

Commit

Permalink
Update abi in ip asset
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnie57 committed Apr 12, 2024
1 parent 8173501 commit 7a10cb3
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 103 deletions.
36 changes: 0 additions & 36 deletions packages/core-sdk/src/abi/json/Errors.abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
36 changes: 0 additions & 36 deletions packages/core-sdk/src/abi/json/Errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
87 changes: 56 additions & 31 deletions packages/core-sdk/src/abi/json/LicensingModule.abi.ts
Original file line number Diff line number Diff line change
@@ -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: [
Expand Down Expand Up @@ -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;
3 changes: 3 additions & 0 deletions packages/core-sdk/src/abi/sdkEntities.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"registerRootIp",
"registerDerivativeIp",
"IPRegistered",
"registerDerivativeWithLicenseTokens",
"registerDerivative",
"DerivativeRegistered",

"getLicenseTermsId",
"registerLicenseTerms",
Expand Down

0 comments on commit 7a10cb3

Please sign in to comment.