Skip to content

Instantly share code, notes, and snippets.

View anproghub's full-sized avatar
🔧
Building

Ankush Chauhan anproghub

🔧
Building
View GitHub Profile
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>firestore</title>
</head>
<body>
<p>Number of Downloads</p>
<span id="countSpan">Please wait..</span>
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
contract ERC721Staking is ReentrancyGuard {
using SafeERC20 for IERC20;