IRoyaltyPool
Interface for managing a pool of previous owners to pay royalties to. The pool includes an initial owner and recent owners.
InitialOwnerWeight
Emitted when the weight initial owners get in the pool is updated
PoolUpdated
Emitted when the initial owner or recent owners updates for a token
setInitialOwnerWeight
Set initial owner's weight
Parameters
_weight
uint256
New weight to set for initial owner
trackNewOwner
Tracks a new owner of a token
Parameters
_erc721
address
The address of the token
_tokenId
uint256
The ID of the token
_owner
address
The address of the new owner
getInitialOwnerWeight
Returns the weight of the initial owner
getInitialOwner
Returns the initial owner of a given token
Parameters
_erc721
address
The address of the token
_tokenId
uint256
The ID of the token
getRecentOwners
Returns the recent owners of a given token
Parameters
_erc721
address
The address of the token
_tokenId
uint256
The ID of the token
totalPoolShares
Returns the total pool shares for a given token
Parameters
_erc721
address
The address of the token
_tokenId
uint256
The ID of the token
Last updated