Skip to content

v2.0.0 Non Fungible Apes

Latest
Compare
Choose a tag to compare
@DeFiFoFum DeFiFoFum released this 28 Oct 05:51
· 1 commit to main since this release

The improvement to this version is having NFA data on chain for integration with other contract.

    /// @notice Collection of NFA details to describe each NFA
    struct NFADetails {
        uint128 rarityTier;
        uint128 rarityOverall;
        string name;
        string faceColor;
        string baseColor;
        string frame;
        string mouth;
        string eyes;
        string hat;
    }
    /// @notice Use the NFA tokenId to read NFA details
    mapping(uint256 => NFADetails) public getNFADetailsById;
    ```