royaltyEngineSpecs

IArtBlocksOverride

Interface for an Art Blocks override

getRoyalties

function getRoyalties(address tokenAddress, uint256 tokenId) external view returns (address payable[], uint256[])

_Get royalites of a token at a given tokenAddress. Returns array of receivers and basisPoints.

bytes4(keccak256('getRoyalties(address,uint256)')) == 0x9ca7dc7a

=> 0x9ca7dc7a = 0x9ca7dc7a_

IEIP2981

EIP-2981

royaltyInfo

function royaltyInfo(uint256 tokenId, uint256 value) external view returns (address, uint256)

bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a

=> 0x2a55205a = 0x2a55205a

IFoundation

getFees

IFoundationTreasuryNode

getFoundationTreasury

IFoundationTreasury

isAdmin

IKODAV2

editionOfTokenId

artistCommission

editionOptionalCommission

IKODAV2Override

CreatorRoyaltiesFeeUpdated

Emitted when the royalties fee changes

getKODAV2RoyaltyInfo

For the given KO NFT and token ID, return the addresses and the amounts to pay

updateCreatorRoyalties

Allows the owner() to update the creator royalties

IManifold

Royalty interface for creator core classes

getRoyalties

_Get royalites of a token. Returns list of receivers and basisPoints

bytes4(keccak256('getRoyalties(uint256)')) == 0xbb3bafd6

=> 0xbb3bafd6 = 0xbb3bafd6_

IRaribleV1

getFeeBps

getFeeRecipients

IRaribleV2

Part

getRaribleV2Royalties

ISuperRareRegistry

getERC721TokenRoyaltyPercentage

Get the royalty fee percentage for a specific ERC721 contract.

Parameters

Name
Type
Description

_contractAddress

address

address ERC721Contract address.

_tokenId

uint256

uint256 token ID.

Return Values

Name
Type
Description

[0]

uint8

uint8 wei royalty fee.

calculateRoyaltyFee

Utililty function to calculate the royalty fee for a token.

Parameters

Name
Type
Description

_contractAddress

address

address ERC721Contract address.

_tokenId

uint256

uint256 token ID.

_amount

uint256

uint256 wei amount.

Return Values

Name
Type
Description

[0]

uint256

uint256 wei fee.

tokenCreator

Get the token creator which will receive royalties of the given token

Parameters

Name
Type
Description

_contractAddress

address

address ERC721Contract address.

_tokenId

uint256

uint256 token ID.

IZoraMarket

Paired down version of the Zora Market interface

ZoraDecimal

ZoraBidShares

bidSharesForToken

IZoraMedia

Paired down version of the Zora Media interface

marketContract

Auto-generated accessors of public variables

previousTokenOwners

tokenCreators

ownerOf

ERC721 function

IZoraOverride

Interface for a Zora media override

convertBidShares

Convert bid share configuration of a Zora Media token into an array of receivers and bps values Does not support prevOwner and sell-on amounts as that is specific to Zora marketplace implementation and requires updates on the Zora Media and HybridMarketplace to update the sell-on amounts/previous owner values. An off-Zora marketplace sale will break the sell-on functionality.

Last updated