IRoyaltyPool

Interface for managing a pool of previous owners to pay royalties to. The pool includes an initial owner and recent owners.

InitialOwnerWeight

event InitialOwnerWeight(uint256 weight)

Emitted when the weight initial owners get in the pool is updated

PoolUpdated

event PoolUpdated(address _erc721, uint256 _tokenId, address initialOwner, address[4] recentOwners)

Emitted when the initial owner or recent owners updates for a token

setInitialOwnerWeight

function setInitialOwnerWeight(uint256 _weight) external

Set initial owner's weight

Parameters

Name
Type
Description

_weight

uint256

New weight to set for initial owner

trackNewOwner

Tracks a new owner of a token

Parameters

Name
Type
Description

_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

Name
Type
Description

_erc721

address

The address of the token

_tokenId

uint256

The ID of the token

getRecentOwners

Returns the recent owners of a given token

Parameters

Name
Type
Description

_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

Name
Type
Description

_erc721

address

The address of the token

_tokenId

uint256

The ID of the token

Last updated