CaviarEthRoyaltyRouter.sol
Inherits: Owned, ERC721TokenReceiver
Author: out.eth
This contract is used to swap NFTs and pay royalties.
State Variables
royaltyRegistry
The royalty registry from manifold.xyz.
Functions
constructor
receive
setRoyaltyRegistry
Set the royalty registry.
Parameters
nftBuy
Make a buy and pay royalties.
Parameters
Returns
nftSell
Sell NFTs and pay royalties.
Parameters
Returns
getRoyaltyRate
Get the royalty rate with 18 decimals of precision for a specific NFT collection.
Parameters
_approve
Approves the pair for transfering NFTs from this contract.
Parameters
_payRoyalties
Pay royalties for a list of NFTs at a specified price for each NFT.
Parameters
Returns
_getRoyalty
Get the royalty for a specific NFT.
Parameters
Last updated