This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://cashtokens.org/bcmr-v2.schema.json", | |
"version": { "major": 1, "minor": 0, "patch": 0 }, | |
"latestRevision": "2023-06-03T20:00:00.912Z", | |
"registryIdentity": { | |
"name": "Bismuth Win Bi", | |
"description": "Bismuth Win Bi on mainnet" | |
}, | |
"identities": { | |
"1cae6e23e4c0d4708f2aba4f8531e4f96cce2dc354e292559ed2c90e676c7af1": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://cashtokens.org/bcmr-v2.schema.json", | |
"version": { "major": 1, "minor": 0, "patch": 0 }, | |
"latestRevision": "2023-05-15T20:00:00.912Z", | |
"registryIdentity": { | |
"name": "Bismuth Win Bi Token", | |
"description": "Bismuth Win Bi on mainnet" | |
}, | |
"identities": { | |
"36546e4062a1cfd070a4a8d8ff9db18aae4ddf8d9ac9a4fa789314d108b49797": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.7; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol"; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/utils/ERC721Holder.sol "; | |
contract NftStaker { | |
IERC721 public parentNFT; | |
struct Stake { |