pcc_contributor_register
Register a contributor profile binding a wallet address to a role and a published RateSchedule. Body: address (0x40hex), role (10 ContributorRole values from ADR-12 §2.1 + legacy 'designer'), scheduleHash (0x64hex of a previously published schedule), optional ipId, metadataUri, contributorNftTokenId. Returns the persisted profile (composite id is address:role:tail). Idempotent on the composite id — re-posting the same (address, role, contributorNftTokenId) replaces the prior profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipId | No | Optional Story Protocol IP Asset ID | |
| role | Yes | ContributorRole — 10 ADR-12 roles + deprecated 'designer' | |
| address | Yes | Wallet address (0x + 40 hex chars) | |
| metadataUri | No | Optional ipfs:// or https:// URI | |
| scheduleHash | Yes | 0x + 64 hex sha256 of a published RateSchedule | |
| contributorNftTokenId | No | Optional ContributorNFT tokenId once minted on-chain |