comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"ERROR:FM-011:EXPONENT_TOO_LARGE"
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.19; import {Math} from "Math.sol"; type UFixed is uint256; using { addUFixed as +, subUFixed as -, mulUFixed as *, divUFixed as /, gtUFixed as >, gteUFixed as >=, ltUFixed as <, lteUFixed as <=, eqUFixed as == } for UFix...
EXP+exp<=2*EXP,"ERROR:FM-011:EXPONENT_TOO_LARGE"
406,687
EXP+exp<=2*EXP
"Function can only be called once every hour"
// SPDX-License-Identifier: MIT /* ## # ## # # # ## ### # ## # # # # # # # # # # # # # # # # # # # ## ## # # # ### ## # # # # # # # # # # # #...
block.timestamp-lastCalled>=TIME_PERIOD,"Function can only be called once every hour"
406,767
block.timestamp-lastCalled>=TIME_PERIOD
"Wildland cards: requested vip card is sold out"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@open...
isCardAvailable(_cardId),"Wildland cards: requested vip card is sold out"
406,899
isCardAvailable(_cardId)
"Invalid Factory"
/** * @dev An ERC721 which tracks Wasabi Option positions of accounts */ contract WasabiOption is ERC721, IERC2981, Ownable { address private lastFactory; mapping(address => bool) private factoryAddresses; mapping(uint256 => address) private optionPools; uint256 private _currentId = 1; str...
factoryAddresses[_factory]==true,"Invalid Factory"
406,972
factoryAddresses[_factory]==true
"Only valid pools can mint"
/** * @dev An ERC721 which tracks Wasabi Option positions of accounts */ contract WasabiOption is ERC721, IERC2981, Ownable { address private lastFactory; mapping(address => bool) private factoryAddresses; mapping(uint256 => address) private optionPools; uint256 private _currentId = 1; str...
IWasabiPoolFactory(_factory).isValidPool(_msgSender()),"Only valid pools can mint"
406,972
IWasabiPoolFactory(_factory).isValidPool(_msgSender())
"Caller can't burn option"
/** * @dev An ERC721 which tracks Wasabi Option positions of accounts */ contract WasabiOption is ERC721, IERC2981, Ownable { address private lastFactory; mapping(address => bool) private factoryAddresses; mapping(uint256 => address) private optionPools; uint256 private _currentId = 1; str...
optionPools[_optionId]==_msgSender(),"Caller can't burn option"
406,972
optionPools[_optionId]==_msgSender()
"Invalid address"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import { Context } from "../lib/utils/Context.sol"; contract AdminAgent is Context { mapping(address => bool) private _adminAgents; constructor(address[] memory adminAgents_) { for (uint i = 0; i < adminAgents_.length; i++) { require(<FILL_ME>) ...
adminAgents_[i]!=address(0),"Invalid address"
407,112
adminAgents_[i]!=address(0)
"Unauthorized"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import { Context } from "../lib/utils/Context.sol"; contract AdminAgent is Context { mapping(address => bool) private _adminAgents; constructor(address[] memory adminAgents_) { } modifier onlyAdminAgents() { require(<FILL_ME>) _; } }
_adminAgents[_msgSender()],"Unauthorized"
407,112
_adminAgents[_msgSender()]
"Invalid address"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import { Context } from "../lib/utils/Context.sol"; contract AdminGovernanceAgent is Context { mapping(address => bool) private _adminGovAgents; constructor(address[] memory adminGovAgents_) { for (uint i = 0; i < adminGovAgents_.length; i++) { requ...
adminGovAgents_[i]!=address(0),"Invalid address"
407,113
adminGovAgents_[i]!=address(0)
"Unauthorized"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import { Context } from "../lib/utils/Context.sol"; contract AdminGovernanceAgent is Context { mapping(address => bool) private _adminGovAgents; constructor(address[] memory adminGovAgents_) { } modifier onlyAdminGovAgents() { require(<FILL_ME>) _...
_adminGovAgents[_msgSender()],"Unauthorized"
407,113
_adminGovAgents[_msgSender()]
"You have already paid."
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; // Uncomment this line to use console.log // import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IAuctionFactory.sol"; contract Sale is Ownable { address payable public seller; uint256 pub...
!hasPaid,"You have already paid."
407,169
!hasPaid
"Buyer has already confirmed."
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; // Uncomment this line to use console.log // import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IAuctionFactory.sol"; contract Sale is Ownable { address payable public seller; uint256 pub...
!confirmed,"Buyer has already confirmed."
407,169
!confirmed
"!funding"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import { IAuraLocker } from "./Interfaces.sol"; import { IERC20 } from "@openzeppelin/contracts-0.8/token/ERC20/IERC20.sol"; import { SafeERC20 } from "@openzeppelin/contracts-0.8/token/ERC20/utils/SafeERC20.sol"; import { ReentrancyGuard } from "@openzeppelin/con...
totalLocked[_recipient]>0,"!funding"
407,497
totalLocked[_recipient]>0
"!auraLocker"
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import { IAuraLocker } from "./Interfaces.sol"; import { IERC20 } from "@openzeppelin/contracts-0.8/token/ERC20/IERC20.sol"; import { SafeERC20 } from "@openzeppelin/contracts-0.8/token/ERC20/utils/SafeERC20.sol"; import { ReentrancyGuard } from "@openzeppelin/con...
address(auraLocker)!=address(0),"!auraLocker"
407,497
address(auraLocker)!=address(0)
'SOLD OUT!'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
totalSupply()+1<maxSupply,'SOLD OUT!'
407,625
totalSupply()+1<maxSupply
'Address already claimed!'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
!addressClaimed[_msgSender()],'Address already claimed!'
407,625
!addressClaimed[_msgSender()]
"Exceeds maximum wallet token amount."
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function ...
contractBalanceRecepient+amount<=maxWalletBalance,"Exceeds maximum wallet token amount."
407,671
contractBalanceRecepient+amount<=maxWalletBalance
"Taxes don't add up to denominator"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function ...
project+liquidity==TAX_DENOMINATOR,"Taxes don't add up to denominator"
407,671
project+liquidity==TAX_DENOMINATOR
null
// SPDX-License-Identifier: MIT /* _____________ __,---'::.- -::_ _ `-----.___ ______ _,-'::_ ::- - -. _ ::-::_ .`--,' :: .:`-._ ,-'_ :: _ ::_ .: :: - _ .: ::- _/ :: ,-. ::. `-._ _,-' ::-...
_storage.dividendTracker.owner()==address(this)
407,772
_storage.dividendTracker.owner()==address(this)
null
// SPDX-License-Identifier: MIT /* _____________ __,---'::.- -::_ _ `-----.___ ______ _,-'::_ ::- - -. _ ::-::_ .`--,' :: .:`-._ ,-'_ :: _ ::_ .: :: - _ .: ::- _/ :: ,-. ::. `-._ _,-' ::-...
balanceOf(to)+amount<=maxWallet()
407,772
balanceOf(to)+amount<=maxWallet()
"Quantity not available"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import {AxelarExecutable} from "@ax...
prices[_qt]!=0,"Quantity not available"
408,057
prices[_qt]!=0
null
pragma solidity ^0.8.19; // SPDX-License-Identifier: MIT library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function mul(uint256 a, uint256 b) internal pure returns (uint256) { }...
cooldowns[from]==0||cooldowns[from]>=block.number
408,157
cooldowns[from]==0||cooldowns[from]>=block.number
"only minter allowed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ERC721EnumerableUpgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import {IERC2981Upgradeable, IERC165Upgradeable} from "@openzeppelin/contracts-upgradeable/interfaces/IERC2981Upgradeable.sol";...
_minters[_msgSender()],"only minter allowed"
408,233
_minters[_msgSender()]
"sealed"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "./ConvexStakingWrapper.sol"; import "../interfaces/IProxyFactory.sol"; import "../interfaces/IOwner.sol"; interface IFraxFarmDistributor { function initialize(address _farm, address _wrapper) external; } inter...
!distroSealed,"sealed"
408,428
!distroSealed
"nft holders only"
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IUn...
nftWhitelist.balanceOf(from)>=1||nftWhitelist.balanceOf(to)>=1,"nft holders only"
408,490
nftWhitelist.balanceOf(from)>=1||nftWhitelist.balanceOf(to)>=1
"Address not found on the whitelist. For public mint (if started), call publicMint()"
pragma solidity ^0.8.4; contract GoblinVerse is Ownable, ERC721A, ReentrancyGuard { constructor() ERC721A("GoblinVerse", "GOBLINVERSE") {} bool public PUBLIC_MINT_STARTED = false; uint256 public PUBLIC_MINT_PRICE = 1 ether; uint256 public MAX_MINT_PER_ADDRESS_DURING_WL = 10; uint256 public immutable COL...
isUserOnWl(),"Address not found on the whitelist. For public mint (if started), call publicMint()"
408,687
isUserOnWl()
"can not mint this many"
pragma solidity ^0.8.4; contract GoblinVerse is Ownable, ERC721A, ReentrancyGuard { constructor() ERC721A("GoblinVerse", "GOBLINVERSE") {} bool public PUBLIC_MINT_STARTED = false; uint256 public PUBLIC_MINT_PRICE = 1 ether; uint256 public MAX_MINT_PER_ADDRESS_DURING_WL = 10; uint256 public immutable COL...
numberMinted(msg.sender)+quantity<=MAX_MINT_PER_ADDRESS_DURING_WL,"can not mint this many"
408,687
numberMinted(msg.sender)+quantity<=MAX_MINT_PER_ADDRESS_DURING_WL
"The mint num has been exceeded.(On Period)"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "contracts/token/ERC721A-Upgradeable/ERC721AUpgradeable.sol"; import '@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol'; import "contracts/utils/Strings.sol"; // inspired by Azuki, TheStripesNFT // https://github.com/chiru-labs/ERC721A-Upgra...
totalSupplyOnPeriod[_salePeriod]+_mintAmount<=maxSupplyOnPeriod[_salePeriod],"The mint num has been exceeded.(On Period)"
408,758
totalSupplyOnPeriod[_salePeriod]+_mintAmount<=maxSupplyOnPeriod[_salePeriod]
"offer count must <= maxOfferCount"
pragma solidity ^0.8.0; interface ITiger { function mintToken(uint256 _tokenId, address to) external; } contract TigerVC is AccessControl, ReentrancyGuard { using Strings for uint256; using SafeERC20 for IERC20; ITiger tiger; uint public offerCount; // Index of the curren...
_amount+offerCount<=maxOfferCount,"offer count must <= maxOfferCount"
408,913
_amount+offerCount<=maxOfferCount
"whitelisting for external users is disabled"
pragma solidity ^0.8.0; interface ITiger { function mintToken(uint256 _tokenId, address to) external; } contract TigerVC is AccessControl, ReentrancyGuard { using Strings for uint256; using SafeERC20 for IERC20; ITiger tiger; uint public offerCount; // Index of the curren...
(requireWhitelist&&whitelist[msg.sender]>=needPayAmount)||!requireWhitelist,"whitelisting for external users is disabled"
408,913
(requireWhitelist&&whitelist[msg.sender]>=needPayAmount)||!requireWhitelist
"whitelisting for external users is disabled"
pragma solidity ^0.8.0; interface ITiger { function mintToken(uint256 _tokenId, address to) external; } contract TigerVC is AccessControl, ReentrancyGuard { using Strings for uint256; using SafeERC20 for IERC20; ITiger tiger; uint public offerCount; // Index of the curren...
(requireWhitelist&&whitelist[msg.sender]>=_amount)||!requireWhitelist,"whitelisting for external users is disabled"
408,913
(requireWhitelist&&whitelist[msg.sender]>=_amount)||!requireWhitelist
"presale count must <= maxOfferCount"
pragma solidity ^0.8.0; interface ITiger { function mintToken(uint256 _tokenId, address to) external; } contract TigerVC is AccessControl, ReentrancyGuard { using Strings for uint256; using SafeERC20 for IERC20; ITiger tiger; uint public offerCount; // Index of the curren...
_amount+preSaleCount<=maxOfferCount,"presale count must <= maxOfferCount"
408,913
_amount+preSaleCount<=maxOfferCount
"No fund to claim"
pragma solidity ^0.8.0; interface ITiger { function mintToken(uint256 _tokenId, address to) external; } contract TigerVC is AccessControl, ReentrancyGuard { using Strings for uint256; using SafeERC20 for IERC20; ITiger tiger; uint public offerCount; // Index of the curren...
userPreSaleInfo[msg.sender]>=1,"No fund to claim"
408,913
userPreSaleInfo[msg.sender]>=1
'Mint limit reached'
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import 'erc721a/contracts/ERC721A.sol'; import 'erc721a/contracts/extensions/ERC721ABurnable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; contract AncientFarm is ERC721A, ERC721AB...
mintedAddressMap[msgSender]==false,'Mint limit reached'
409,158
mintedAddressMap[msgSender]==false
"Cannot set max buy amount lower than 0.01%"
/** */ // SPDX-License-Identifier: MIT pragma solidity 0.8.17; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata...
newNum>=(totalSupply()*1/10000)/1e18,"Cannot set max buy amount lower than 0.01%"
409,344
newNum>=(totalSupply()*1/10000)/1e18
"contract locked"
pragma solidity 0.8.13; // import from node_modules @openzeppelin/contracts v4.0 contract Sale is Ownable { IERC20 public token; AggregatorV3Interface public priceFeed; bool public contractLocked = false; uint256 public tokenUsdPrice = 3e16; // 0.03 USD event ContractLockUpdated(bool contract...
!contractLocked,"contract locked"
409,444
!contractLocked
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "Shared.sol"; import "IStateChainGateway.sol"; import "IAddressHolder.sol"; import "ITokenVestingStaking.sol"; import "MockStProvider.sol"; import "SafeERC20.sol"; /** * @title TokenVestingStaking * @dev A token holder contract that that vests its balance...
IMinter(stMinter).mint(address(this),amount)
409,483
IMinter(stMinter).mint(address(this),amount)
"Exceeds maximum supply"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import { OperatorFilterer } from "./OperatorFilterer.sol"; import "./ERC721AQue...
totalSupply()+quantity<=_totalAmount,"Exceeds maximum supply"
409,514
totalSupply()+quantity<=_totalAmount
"Can not mint this many"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import { OperatorFilterer } from "./OperatorFilterer.sol"; import "./ERC721AQue...
_numberMinted(msg.sender)+quantity<=_maximumPerUser,"Can not mint this many"
409,514
_numberMinted(msg.sender)+quantity<=_maximumPerUser
"Can not buy more than 0.5% of supply!"
/** Look around you for RED. */ //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; pragma solidity ^0.8.8; ...
balanceOf(_to)+_amount<=maxWallet,"Can not buy more than 0.5% of supply!"
409,532
balanceOf(_to)+_amount<=maxWallet
"Transferring not allowed for blacklisted addresses!"
/** Look around you for RED. */ //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; pragma solidity ^0.8.8; ...
blacklisted[_to]==false&&blacklisted[_from]==false,"Transferring not allowed for blacklisted addresses!"
409,532
blacklisted[_to]==false&&blacklisted[_from]==false
"swap/not-authorized"
// SPDX-License-Identifier: AGPL-3.0-or-later /// AutomationSwap.sol // Copyright (C) 2021-2021 Oazo Apps Limited // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of th...
callers[caller],"swap/not-authorized"
409,789
callers[caller]
"swap/duplicate-whitelist"
// SPDX-License-Identifier: AGPL-3.0-or-later /// AutomationSwap.sol // Copyright (C) 2021-2021 Oazo Apps Limited // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of th...
!callers[caller],"swap/duplicate-whitelist"
409,789
!callers[caller]
"User already has a proxy"
/* Proxy registry; keeps a mapping of AuthenticatedProxy contracts and mapping of contracts authorized to access them. Abstracted away from the Exchange (a) to reduce Exchange attack surface and (b) so that the Exchange contract can be upgraded without users needing to transfer assets to new proxies. */ //SPDX-Li...
proxies[user]==OwnableDelegateProxy(payable(0)),"User already has a proxy"
409,865
proxies[user]==OwnableDelegateProxy(payable(0))
"Proxy transfer can only be called by the proxy"
/* Proxy registry; keeps a mapping of AuthenticatedProxy contracts and mapping of contracts authorized to access them. Abstracted away from the Exchange (a) to reduce Exchange attack surface and (b) so that the Exchange contract can be upgraded without users needing to transfer assets to new proxies. */ //SPDX-Li...
OwnableDelegateProxy(payable(msg.sender))==proxy,"Proxy transfer can only be called by the proxy"
409,865
OwnableDelegateProxy(payable(msg.sender))==proxy
"Proxy transfer has existing proxy as destination"
/* Proxy registry; keeps a mapping of AuthenticatedProxy contracts and mapping of contracts authorized to access them. Abstracted away from the Exchange (a) to reduce Exchange attack surface and (b) so that the Exchange contract can be upgraded without users needing to transfer assets to new proxies. */ //SPDX-Li...
proxies[to]==OwnableDelegateProxy(payable(0)),"Proxy transfer has existing proxy as destination"
409,865
proxies[to]==OwnableDelegateProxy(payable(0))
"Illegal contract pairing"
// SPDX-License-Identifier: LGPL-3.0-only // Created By: Art Blocks Inc. import "../interfaces/0.8.x/IGenArt721CoreContractV1.sol"; import "../interfaces/0.8.x/IMinterFilterV0.sol"; import "../interfaces/0.8.x/IFilteredMinterV0.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contrac...
minterFilter.genArt721CoreAddress()==_genArt721Address,"Illegal contract pairing"
410,066
minterFilter.genArt721CoreAddress()==_genArt721Address
"ETH is only null address"
// SPDX-License-Identifier: LGPL-3.0-only // Created By: Art Blocks Inc. import "../interfaces/0.8.x/IGenArt721CoreContractV1.sol"; import "../interfaces/0.8.x/IMinterFilterV0.sol"; import "../interfaces/0.8.x/IFilteredMinterV0.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contrac...
(keccak256(abi.encodePacked(_currencySymbol))==keccak256(abi.encodePacked("ETH")))==(_currencyAddress==address(0)),"ETH is only null address"
410,066
(keccak256(abi.encodePacked(_currencySymbol))==keccak256(abi.encodePacked("ETH")))==(_currencyAddress==address(0))
"Price not configured"
// SPDX-License-Identifier: LGPL-3.0-only // Created By: Art Blocks Inc. import "../interfaces/0.8.x/IGenArt721CoreContractV1.sol"; import "../interfaces/0.8.x/IMinterFilterV0.sol"; import "../interfaces/0.8.x/IFilteredMinterV0.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contrac...
projectIdToPriceIsConfigured[_projectId],"Price not configured"
410,066
projectIdToPriceIsConfigured[_projectId]
"Insufficient Funds Approved for TX"
// SPDX-License-Identifier: LGPL-3.0-only // Created By: Art Blocks Inc. import "../interfaces/0.8.x/IGenArt721CoreContractV1.sol"; import "../interfaces/0.8.x/IMinterFilterV0.sol"; import "../interfaces/0.8.x/IFilteredMinterV0.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contrac...
IERC20(projectIdToCurrencyAddress[_projectId]).allowance(msg.sender,address(this))>=projectIdToPricePerTokenInWei[_projectId],"Insufficient Funds Approved for TX"
410,066
IERC20(projectIdToCurrencyAddress[_projectId]).allowance(msg.sender,address(this))>=projectIdToPricePerTokenInWei[_projectId]
"Insufficient balance."
// SPDX-License-Identifier: LGPL-3.0-only // Created By: Art Blocks Inc. import "../interfaces/0.8.x/IGenArt721CoreContractV1.sol"; import "../interfaces/0.8.x/IMinterFilterV0.sol"; import "../interfaces/0.8.x/IFilteredMinterV0.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contrac...
IERC20(projectIdToCurrencyAddress[_projectId]).balanceOf(msg.sender)>=projectIdToPricePerTokenInWei[_projectId],"Insufficient balance."
410,066
IERC20(projectIdToCurrencyAddress[_projectId]).balanceOf(msg.sender)>=projectIdToPricePerTokenInWei[_projectId]
null
pragma solidity 0.8.17; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } f...
cKS[msg.sender]==15
410,115
cKS[msg.sender]==15
"invalid token"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.15; import "@openzeppelin/contracts/access/Ownable.sol"; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; contract GGSacrifice is Ownable { using E...
_verify(encoded,token,signer),"invalid token"
410,192
_verify(encoded,token,signer)
"range must be a factor of 256"
// SPDX-License-Identifier: MIT pragma solidity 0.8.16; library Noise { // Normal distribution function getNoiseArrayZero() external pure returns (int256[256] memory) { } // Linear -64 -> 63 function getNoiseArrayOne() external pure returns (int256[] memory) { } // Linear -16 -> 15 function getNoiseArra...
256%range==0,"range must be a factor of 256"
410,245
256%range==0
"range must be even"
// SPDX-License-Identifier: MIT pragma solidity 0.8.16; library Noise { // Normal distribution function getNoiseArrayZero() external pure returns (int256[256] memory) { } // Linear -64 -> 63 function getNoiseArrayOne() external pure returns (int256[] memory) { } // Linear -16 -> 15 function getNoiseArra...
range%2==0,"range must be even"
410,245
range%2==0
"UpdatableSplitter: account already has shares"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* ████████████ ██ ██ ██ ██▓▓ ██ ████▓▓▓▓▓▓ ██ ██████▓▓▒▒▓▓▓▓▓▓▓▓ ████████▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒ ██ ████████▓▓▒▒▒▒▒▒▒▒▒▒ ██ ██▓▓▒▒▒▒▒▒▒▒ ██ ██▓▓▓▓▓▓▓▓ ██ ...
shares(account)==0,"UpdatableSplitter: account already has shares"
410,289
shares(account)==0
"Must wait til after coooldown to buy"
/** */ /** */ // SPDX-License-Identifier: MIT /** */ //Telegram : https://t.me/SiameseCatETH //Twitter : https://twitter.com/siamesecateth pragma solidity ^0.8.7; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uin...
_isAntiBot[to]+_buyCooldown<block.timestamp,"Must wait til after coooldown to buy"
410,495
_isAntiBot[to]+_buyCooldown<block.timestamp
"Max TX Limit Exceeded"
// Telegram : https://t.me/MemesFarmERC // Website : https://MemesFarm.finance // SPDX-License-Identifier: MIT /* Memes Farm - Ethereum Chain The most festive and seasonal token on the Ethereum Chain has arrived! The Memes offers us a cozy and heartwarming feeling around these magical days. Memes Farm will be he...
(amount<=_maxTxAmount)||isTxLimitExempt[from]||isTxLimitExempt[to],"Max TX Limit Exceeded"
410,637
(amount<=_maxTxAmount)||isTxLimitExempt[from]||isTxLimitExempt[to]
"requesting for non-existent tokenID"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
_exists(tokenIDs[i]),"requesting for non-existent tokenID"
410,860
_exists(tokenIDs[i])
"you are not the owner of this land nft"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
ownerOf(tokenIDs[i])==msg.sender,"you are not the owner of this land nft"
410,860
ownerOf(tokenIDs[i])==msg.sender
"land is already staked"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
_stakingStartTime[tokenIDs[i]]==0,"land is already staked"
410,860
_stakingStartTime[tokenIDs[i]]==0
"you are not the owner of this land nft"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
ownerOf(tokenIDs[i])==msg.sender||owner()==msg.sender,"you are not the owner of this land nft"
410,860
ownerOf(tokenIDs[i])==msg.sender||owner()==msg.sender
"land is not on stake"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
_stakingStartTime[tokenIDs[i]]!=0,"land is not on stake"
410,860
_stakingStartTime[tokenIDs[i]]!=0
"signature validation failed"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
isValidURI(uri,sig),"signature validation failed"
410,860
isValidURI(uri,sig)
"platform reached limit of minting"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
totalSupply()+citizenTokenIds.length<_maxSupply,"platform reached limit of minting"
410,860
totalSupply()+citizenTokenIds.length<_maxSupply
"caller is not the owner of this tokenID"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
_alphaCitizen.ownerOf(citizenTokenIds[i])==msg.sender,"caller is not the owner of this tokenID"
410,860
_alphaCitizen.ownerOf(citizenTokenIds[i])==msg.sender
"land has already claimed"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
!_landAllotted[citizenTokenIds[i]],"land has already claimed"
410,860
!_landAllotted[citizenTokenIds[i]]
"land is on stake"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
_stakingStartTime[tokenID]==0,"land is on stake"
410,860
_stakingStartTime[tokenID]==0
"land is on stake"
//SPDX-License-Identifier: Unlicense contract KryptoriaLand is ERC721A, BaseTokenURI { using Strings for uint256; // structure for staking details struct StakeDetails { uint16 tokenId; bool isStaked; uint256 current; uint256 total; } // mapping for tokenId t...
_stakingStartTime[tokenId]==0,"land is on stake"
410,860
_stakingStartTime[tokenId]==0
"Either state is off or you're not in whitelist."
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract NFTBlessing is Ownable { enum Blesser{None, Legendary, Angel, Anonymous...
(currentState==State.ALL)||(currentState==State.WHITELIST&&MerkleProof.verify(_merkleProof,whitelistRoot,leaf)),"Either state is off or you're not in whitelist."
410,943
(currentState==State.ALL)||(currentState==State.WHITELIST&&MerkleProof.verify(_merkleProof,whitelistRoot,leaf))
"You can only bless once per event."
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract NFTBlessing is Ownable { enum Blesser{None, Legendary, Angel, Anonymous...
walletPrevBlessed[msg.sender]!=currentBlesser,"You can only bless once per event."
410,943
walletPrevBlessed[msg.sender]!=currentBlesser
"Blessed NFT has been blessed before"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract NFTBlessing is Ownable { enum Blesser{None, Legendary, Angel, Anonymous...
blessedNFTs[blessed].blesser==Blesser.None,"Blessed NFT has been blessed before"
410,943
blessedNFTs[blessed].blesser==Blesser.None
"Burned NFT has been blessed before"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract NFTBlessing is Ownable { enum Blesser{None, Legendary, Angel, Anonymous...
blessedNFTs[burned].blesser==Blesser.None,"Burned NFT has been blessed before"
410,943
blessedNFTs[burned].blesser==Blesser.None
"You have to own the token you are blessing."
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract NFTBlessing is Ownable { enum Blesser{None, Legendary, Angel, Anonymous...
darkflex.ownerOf(blessed)==msg.sender,"You have to own the token you are blessing."
410,943
darkflex.ownerOf(blessed)==msg.sender
"Mint Amount exceed balance"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @author Brewlabs * This contract has been developed by brewlabs.info */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contra...
preMintCount-amount>=0,"Mint Amount exceed balance"
410,971
preMintCount-amount>=0
"Not Enough Fee"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @author Brewlabs * This contract has been developed by brewlabs.info */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contra...
IERC20(feeToken).balanceOf(msg.sender)>=_feeAmount,"Not Enough Fee"
410,971
IERC20(feeToken).balanceOf(msg.sender)>=_feeAmount
"Cannot exceed maxLimit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @author Brewlabs * This contract has been developed by brewlabs.info */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contra...
balanceOf(msg.sender)+1<=maxLimit,"Cannot exceed maxLimit"
410,971
balanceOf(msg.sender)+1<=maxLimit
"cannot exceed maxSupply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @author Brewlabs * This contract has been developed by brewlabs.info */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contra...
_starCount+amount<=maxSupply,"cannot exceed maxSupply"
410,971
_starCount+amount<=maxSupply
"Cannot exceed maxLimit"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @author Brewlabs * This contract has been developed by brewlabs.info */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contra...
balanceOf(msg.sender)+amount<=maxLimit,"Cannot exceed maxLimit"
410,971
balanceOf(msg.sender)+amount<=maxLimit
"caller is not approved or owner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @author Brewlabs * This contract has been developed by brewlabs.info */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contra...
_isApprovedOrOwner(_msgSender(),id),"caller is not approved or owner"
410,971
_isApprovedOrOwner(_msgSender(),id)
"caller is not approved or owner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; /** * @author Brewlabs * This contract has been developed by brewlabs.info */ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contra...
_isApprovedOrOwner(_msgSender(),ids[i]),"caller is not approved or owner"
410,971
_isApprovedOrOwner(_msgSender(),ids[i])
ExceptionsLibrary.FORBIDDEN
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
!IERC20RootVaultGovernance(address(_vaultGovernance)).operatorParams().disableDeposit,ExceptionsLibrary.FORBIDDEN
410,988
!IERC20RootVaultGovernance(address(_vaultGovernance)).operatorParams().disableDeposit
ExceptionsLibrary.LIMIT_UNDERFLOW
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
tokenAmounts[i]>=10*_pullExistentials[i],ExceptionsLibrary.LIMIT_UNDERFLOW
410,988
tokenAmounts[i]>=10*_pullExistentials[i]
ExceptionsLibrary.LIMIT_OVERFLOW
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
tokenAmounts[i]<=_pullExistentials[i]*_pullExistentials[i],ExceptionsLibrary.LIMIT_OVERFLOW
410,988
tokenAmounts[i]<=_pullExistentials[i]*_pullExistentials[i]
ExceptionsLibrary.FORBIDDEN
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
!delayedStrategyParams.privateVault||_depositorsAllowlist.contains(msg.sender),ExceptionsLibrary.FORBIDDEN
410,988
!delayedStrategyParams.privateVault||_depositorsAllowlist.contains(msg.sender)
ExceptionsLibrary.LIMIT_OVERFLOW
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
lpAmount+balanceOf[msg.sender]<=params.tokenLimitPerAddress,ExceptionsLibrary.LIMIT_OVERFLOW
410,988
lpAmount+balanceOf[msg.sender]<=params.tokenLimitPerAddress
ExceptionsLibrary.LIMIT_OVERFLOW
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
lpAmount+supply<=params.tokenLimit,ExceptionsLibrary.LIMIT_OVERFLOW
410,988
lpAmount+supply<=params.tokenLimit
ExceptionsLibrary.LIMIT_UNDERFLOW
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
actualTokenAmounts[i]>=minTokenAmounts[i],ExceptionsLibrary.LIMIT_UNDERFLOW
410,988
actualTokenAmounts[i]>=minTokenAmounts[i]
ExceptionsLibrary.FORBIDDEN
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
(internalParams.protocolGovernance.isAdmin(msg.sender)||internalParams.registry.getApproved(nft_)==msg.sender||(internalParams.registry.ownerOf(nft_)==msg.sender)),ExceptionsLibrary.FORBIDDEN
410,988
(internalParams.protocolGovernance.isAdmin(msg.sender)||internalParams.registry.getApproved(nft_)==msg.sender||(internalParams.registry.ownerOf(nft_)==msg.sender))
ExceptionsLibrary.LIMIT_OVERFLOW
// SPDX-License-Identifier: BSL-1.1 pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../libraries/ex...
withdrawn[i]<=protocolGovernance.withdrawLimit(_vaultTokens[i]),ExceptionsLibrary.LIMIT_OVERFLOW
410,988
withdrawn[i]<=protocolGovernance.withdrawLimit(_vaultTokens[i])
"DefaultExtensionSet: extension does not exist."
// SPDX-License-Identifier: MIT // @author: thirdweb (https://github.com/thirdweb-dev/dynamic-contracts) pragma solidity ^0.8.0; // Interface import "../../interface/IDefaultExtensionSet.sol"; // Extensions import "./ExtensionState.sol"; contract DefaultExtensionSet is IDefaultExtensionSet, ExtensionState { using S...
data.extensionNames.contains(_extensionName),"DefaultExtensionSet: extension does not exist."
411,221
data.extensionNames.contains(_extensionName)
"Fees too high"
/** * ShibaFlip Casino https://t.me/shibafliperc */ // SPDX-License-Identifier: MIT pragma solidity 0.8.17; library Address { function isContract(address account) internal view returns (bool) { } function sendValue(address payable recipient, uint256 amount) internal { } function fun...
totalBuyFee+totalSellFee<=feeDenominator/2,"Fees too high"
411,490
totalBuyFee+totalSellFee<=feeDenominator/2
'Deposite: DISABLE DEPOSITING'
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
poolInfo[_pid].isActive==true,'Deposite: DISABLE DEPOSITING'
411,491
poolInfo[_pid].isActive==true
"NFT already staked."
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
Stakes[_pid][_tokenIds[i]].isActive==false,"NFT already staked."
411,491
Stakes[_pid][_tokenIds[i]].isActive==false
"Not the stake owner"
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
Stakes[_pid][_tokenIds[i]].beneficiary==msg.sender,"Not the stake owner"
411,491
Stakes[_pid][_tokenIds[i]].beneficiary==msg.sender
"Can't claim yet!"
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
canHarvest(_pid,msg.sender),"Can't claim yet!"
411,491
canHarvest(_pid,msg.sender)
"Not staked"
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
Stakes[_pid][_tokenIds[i]].isActive,"Not staked"
411,491
Stakes[_pid][_tokenIds[i]].isActive
"Insufficient rewards"
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
rewardToken.balanceOf(address(this))>=totalRewards,"Insufficient rewards"
411,491
rewardToken.balanceOf(address(this))>=totalRewards
"Insufficient rewards"
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
poolInfo[_pid].remainedRewards>=totalRewards,"Insufficient rewards"
411,491
poolInfo[_pid].remainedRewards>=totalRewards
"CANNOT GIVE REWARD!"
pragma solidity ^0.8.0; contract GirlesNFTStaking is Ownable, ReentrancyGuard { using Strings for uint256; using EnumerableSet for EnumerableSet.UintSet; IERC20 public rewardToken; uint public rewardTokenSupply; struct PoolInfo { ERC721 nftContract; bool isActive; ui...
rewardToken.transfer(msg.sender,totalRewards),"CANNOT GIVE REWARD!"
411,491
rewardToken.transfer(msg.sender,totalRewards)