Group IP Asset Registry
Contract
View the smart contract here.
The Group IP Asset Registry is responsible for managing the registration and tracking of Group IP Assets, including the group members and reward pools.
The Group IP Asset Registry will maintain grouping relationship on-chain between the Group's IP Account and individual IP Accounts through a mapping:
mapping(address groupIpId => EnumerableSet.AddressSet memberIpIds) groups;
Notable Functions
function registerGroup(address groupNft, uint256 groupNftId, address rewardPool) external onlyGroupingModule whenNotPaused returns (address groupId)
This function registers a new Group IPA on Story.
function addGroupMember(address groupId, address[] calldata ipIds) external onlyGroupingModule whenNotPaused
Adds already registered IPAs to an existing Group IPA.
function removeGroupMember(address groupId, address[] calldata ipIds) external onlyGroupingModule whenNotPaused
Removes registered IPAs from a Group IPA.
Updated about 2 months ago