{
from: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8",
to: "0xac03bb73b6a9e108530aff4df5077c2b3d481e5a",
gasLimit: "21000",
maxFeePerGas: "300",
maxPriorityFeePerGas: "10",
nonce: "0",
This file contains hidden or 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 | |
// Compatible with OpenZeppelin Contracts ^5.0.0 | |
pragma solidity ^0.8.20; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
//import wildcat market interfaces | |
import "https://raw.githubusercontent.com/wildcat-finance/wildcat-protocol/main/src/interfaces/IWildcatMarketController.sol"; | |
import "https://raw.githubusercontent.com/wildcat-finance/wildcat-protocol/488b30d08c73a93be3e4bf99128c774997411d3a/src/market/WildcatMarket.sol"; |
This file contains hidden or 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.20; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract Tickets is ERC721, Ownable { | |
uint ticketNumber = 0; | |
uint giftingTime = 1703462400; |
This file contains hidden or 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
pragma solidity ^0.8.19; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
contract Farm{ | |
//track time of last deposit | |
//block.timestamp | |
mapping(address user => uint timestamp) public timeOfLastDeposit; | |
//track how much deposited |
This file contains hidden or 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
pragma solidity ^0.8.7; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol"; | |
contract harvest { | |
// Mapping from user address to a nft address to a list of token ids | |
mapping(address => mapping(address => mapping(uint256 => bool))) public userTokens; | |
This file contains hidden or 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
# emoji-sequences.txt | |
# Date: 2022-08-15, 23:13:41 GMT | |
# © 2022 Unicode®, Inc. | |
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. | |
# For terms of use, see https://www.unicode.org/terms_of_use.html | |
# | |
# Emoji Sequence Data for UTS #51 | |
# Version: 15.0 | |
# | |
# For documentation and usage, see https://www.unicode.org/reports/tr51 |
A Pen by Joseph Schiarizzi on CodePen.
A Pen by Joseph Schiarizzi on CodePen.
A Pen by Joseph Schiarizzi on CodePen.
This file contains hidden or 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
string[] private weapons = [ | |
"Warhammer", | |
"Quarterstaff", | |
"Maul", | |
"Mace", | |
"Club", | |
"Katana", | |
"Falchion", | |
"Scimitar", | |
"Long Sword", |
NewerOlder