Contract Details
Tech Stack
Solidity ^0.8.24 OpenZeppelin v5 Foundry
Chains
Ethereum Arbitrum Base Optimism
Description
Transferable coverage policy represented as an ERC-721 NFT with on-chain SVG metadata. Policies are tokenized, tradeable, and carry coverage terms on-chain. Includes SVG renderer for visual policy cards.
Features
- ✓ ERC-721 Enumerable coverage policy NFTs
- ✓ On-chain SVG rendering for visual policy cards
- ✓ Policy terms stored on-chain (coverage, premium, expiry)
- ✓ Transferable and tradeable on any NFT marketplace
- ✓ Automatic expiry checking
- ✓ Coverage pool integration interface
- ✓ Ownable2Step + ReentrancyGuard security
- ✓ Full Foundry test suite (~200 lines)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Coverage NFT /// @notice Transferable coverage policies as ERC-721 NFTs with on-chain SVG. contract CoverageNft { address public immutable owner; uint256 public constant VERSION = 1; event Initialized(address indexed deployer); constructor() { owner = msg.sender; emit Initialized(msg.sender); } // ... full implementation in purchased package }