LUXY Core
This is the Core contract of Luxy, this contract enables the assets exchange to happen!
Last updated
Was this helpful?
This is the Core contract of Luxy, this contract enables the assets exchange to happen!
Last updated
Was this helpful?
: 0x21C90bcE2943dD2B706248E906D4DF9637be27C4
This is the core function of the Marketplace. Through this function the maker and taker orders are matched and executed in the following order:
Marketplace fee transfer
Royalty array transfer (Direct Royalty Payment)
Payout transfer (ERC-20, ERC-1155, Native Blockchain Token)
NFT payout transfer (ERC-721 )
The Payout transfer indication is due to the fact that any royalty or fee will be applied to those contracts only. Since ERC-721 is unique the protocol will never try to extract fees /royalties from the NFT payout. Given the scenario that an exchange between two different NFTs is made royalties or fees are not applied. Also, there is a priority order for the fee to be applied (it's only applied to one side of the transaction) which will go first to Native Blockchain Token, then to ERC-20, and finally to ERC-1155.