Reference – Smart Contracts

In-depth guide to Chain of Rights smart contracts.


Smart Contract Reference

Main Functions

FunctionDescription
registerIPRegister new IP record (title, CID)
transferIPTransfer ownership by record ID
getMyRecordsFetch portfolio for address
disputeIPChallenge record as fraudulent

Events

  • IPRegistered (owner, recordId, CID, timestamp)
  • IPTransferred (from, to, recordId, timestamp)
  • DisputeOpened (recordId, challenger, message)