RoyaltyPool
Contract for managing a pool of previous owners to pay royalties to. The pool includes an initial owner and recent owners.
Pool
constructor
Sets initial owner weight as 1 upon contract creation
onlyEscrow
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
trackInitialOwner
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
_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
supportsInterface
Checks if the contract implements an interface.
Parameters
_interfaceId
bytes4
The ID of the interface.
Return Values
[0]
bool
True if the contract implements the interface, false otherwise.
Last updated