Expand description
Module containing a contract’s types and functions.
interface IIpGraph {
function addParentIp(address ipId, address[] parentIpIds) external;
function hasParentIp(address ipId, address parentIpId) external view returns (bool);
function getParentIps(address ipId) external view returns (address[] memory);
function getParentIpsCount(address ipId) external view returns (uint256);
function getAncestorIps(address ipId) external view returns (address[] memory);
function getAncestorIpsCount(address ipId) external view returns (uint256);
function hasAncestorIp(address ipId, address ancestorIpId) external view returns (bool);
function setRoyalty(address ipId, address parentIpId, uint256 royaltyPolicyKind, uint256 royalty) external;
function getRoyalty(address ipId, address ancestorIpId, uint256 royaltyPolicyKind) external view returns (uint256);
function getRoyaltyStack(address ipId, uint256 royaltyPolicyKind) external view returns (uint256);
function hasParentIpExt(address ipId, address parentIpId) external view returns (bool);
function getParentIpsExt(address ipId) external view returns (address[] memory);
function getParentIpsCountExt(address ipId) external view returns (uint256);
function getAncestorIpsExt(address ipId) external view returns (address[] memory);
function getAncestorIpsCountExt(address ipId) external view returns (uint256);
function hasAncestorIpExt(address ipId, address ancestorIpId) external view returns (bool);
function getRoyaltyExt(address ipId, address ancestorIpId, uint256 royaltyPolicyKind) external view returns (uint256);
function getRoyaltyStackExt(address ipId, uint256 royaltyPolicyKind) external view returns (uint256);
}Structs§
- addParent
IpCall - Function with signature
addParentIp(address,address[])and selector0x762eca33. - addParent
IpReturn - Container type for the return parameters of the
addParentIp(address,address[])function. - getAncestor
IpsCall - Function with signature
getAncestorIps(address)and selector0x7c976551. - getAncestor
IpsCount Call - Function with signature
getAncestorIpsCount(address)and selector0x1c486366. - getAncestor
IpsCount ExtCall - Function with signature
getAncestorIpsCountExt(address)and selector0xdae55af8. - getAncestor
IpsCount ExtReturn - Container type for the return parameters of the
getAncestorIpsCountExt(address)function. - getAncestor
IpsCount Return - Container type for the return parameters of the
getAncestorIpsCount(address)function. - getAncestor
IpsExt Call - Function with signature
getAncestorIpsExt(address)and selector0xbe14b92a. - getAncestor
IpsExt Return - Container type for the return parameters of the
getAncestorIpsExt(address)function. - getAncestor
IpsReturn - Container type for the return parameters of the
getAncestorIps(address)function. - getParent
IpsCall - Function with signature
getParentIps(address)and selector0x40e33d5b. - getParent
IpsCount Call - Function with signature
getParentIpsCount(address)and selector0x5a5f66a9. - getParent
IpsCount ExtCall - Function with signature
getParentIpsCountExt(address)and selector0xd1335888. - getParent
IpsCount ExtReturn - Container type for the return parameters of the
getParentIpsCountExt(address)function. - getParent
IpsCount Return - Container type for the return parameters of the
getParentIpsCount(address)function. - getParent
IpsExt Call - Function with signature
getParentIpsExt(address)and selector0x2b6d6e54. - getParent
IpsExt Return - Container type for the return parameters of the
getParentIpsExt(address)function. - getParent
IpsReturn - Container type for the return parameters of the
getParentIps(address)function. - getRoyalty
Call - Function with signature
getRoyalty(address,address,uint256)and selector0xa987a481. - getRoyalty
ExtCall - Function with signature
getRoyaltyExt(address,address,uint256)and selector0xde87777d. - getRoyalty
ExtReturn - Container type for the return parameters of the
getRoyaltyExt(address,address,uint256)function. - getRoyalty
Return - Container type for the return parameters of the
getRoyalty(address,address,uint256)function. - getRoyalty
Stack Call - Function with signature
getRoyaltyStack(address,uint256)and selector0x65b55e26. - getRoyalty
Stack ExtCall - Function with signature
getRoyaltyStackExt(address,uint256)and selector0xa7624eb1. - getRoyalty
Stack ExtReturn - Container type for the return parameters of the
getRoyaltyStackExt(address,uint256)function. - getRoyalty
Stack Return - Container type for the return parameters of the
getRoyaltyStack(address,uint256)function. - hasAncestor
IpCall - Function with signature
hasAncestorIp(address,address)and selector0x10487a6c. - hasAncestor
IpExt Call - Function with signature
hasAncestorIpExt(address,address)and selector0x3c71acae. - hasAncestor
IpExt Return - Container type for the return parameters of the
hasAncestorIpExt(address,address)function. - hasAncestor
IpReturn - Container type for the return parameters of the
hasAncestorIp(address,address)function. - hasParent
IpCall - Function with signature
hasParentIp(address,address)and selector0x152f6be9. - hasParent
IpExt Call - Function with signature
hasParentIpExt(address,address)and selector0xd5a1fc52. - hasParent
IpExt Return - Container type for the return parameters of the
hasParentIpExt(address,address)function. - hasParent
IpReturn - Container type for the return parameters of the
hasParentIp(address,address)function. - setRoyalty
Call - Function with signature
setRoyalty(address,address,uint256,uint256)and selector0xd9139f19. - setRoyalty
Return - Container type for the return parameters of the
setRoyalty(address,address,uint256,uint256)function.
Enums§
- IIpGraph
Calls - Container for all the
IIpGraphfunction calls.