SeacowsPairMetadata
This contract stores the basic metadata, or functions, of the contract and is inherited by SeacowsERC721TradePair
.
Functions
token
Returns the address of the ERC-20 token.
collection
Returns the address of the ERC-721 collection.
PERCENTAGE_PRECISION
Returns the percentage precision used in the pair.
ONE_PERCENT
Returns the value used to represent 1% in the pair with respect to PERCENTAGE_PRECISION.
POINT_FIVE_PERCENT
Returns the value used to represent 0.5% in the pair with respect to PERCENTAGE_PRECISION.
MAX_PROTOCOL_FEE_PERCENT
Returns the value of maximum protocol fee that can be configured in the pair contract. With respect to PERCENTAGE_PRECISION.
totalSupply
Returns the total supply of LP shares.
balanceOf
Returns LP shares amount of a Position NFT. See ERC-3525.
ownerOf
Returns the owner of a Position NFT. See ERC-3525.
Last updated