Smart contract API
Caviar is a fully on-chain NFT AMM that allows you to trade every NFT in a collection (from floors to superrares). You can also trade fractional amounts of each NFT too. It's designed with a heavy emphasis on composability, flexibility and usability.
Getting started
Example
Contracts overview
Contract
LOC
Description
Caviar.sol
26
Factory contract that creates pairs and maintains a registry
Pair.sol
212
Pair contract that contains ERC20 AMM, NFT wrapping and NFT AMM logic
LpToken.sol
15
ERC20 token which represents liquidity ownership in pair contracts
SafeERC20Namer.sol
65
Helper contract that fetches the name and symbol of an ERC20/ERC721
Last updated