From de5481ef574ff57be78e49ec35d818c7e2be1dfd Mon Sep 17 00:00:00 2001 From: Maksim Date: Mon, 3 Jun 2024 14:15:59 +0200 Subject: [PATCH] create example nft for kyc flow --- contracts/erc4626/HederaNFT.sol | 17 +++++++++++++++++ data/deployments/chain-296.json | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 contracts/erc4626/HederaNFT.sol diff --git a/contracts/erc4626/HederaNFT.sol b/contracts/erc4626/HederaNFT.sol new file mode 100644 index 0000000..788b457 --- /dev/null +++ b/contracts/erc4626/HederaNFT.sol @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.24; + +import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; +import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; + +contract HederaNFT is ERC721, Ownable { + constructor(address initialOwner) ERC721("KycTest", "KYT") Ownable(initialOwner) {} + + uint256 private _tokenIdCounter; + + function safeMint(address to) external { + uint256 tokenId = _tokenIdCounter; + _safeMint(to, tokenId); + _tokenIdCounter++; + } +} diff --git a/data/deployments/chain-296.json b/data/deployments/chain-296.json index 05de630..2bbfdb7 100644 --- a/data/deployments/chain-296.json +++ b/data/deployments/chain-296.json @@ -27,5 +27,8 @@ "StakingToken": "0x0000000000000000000000000000000000423251", "Share": "0x0000000000000000000000000000000000423255", "RewardToken": "0x0000000000000000000000000000000000423252" + }, + "nft": { + "HederaNFT": "0xCeabeC99782c70840A8C11eE931473Ec6407678B" } } \ No newline at end of file