comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"MARKET_NOT_LISTED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
markets[cTokenBorrowed].isListed&&markets[cTokenCollateral].isListed,"MARKET_NOT_LISTED"
305,374
markets[cTokenBorrowed].isListed&&markets[cTokenCollateral].isListed
"SEIZE_IS_PAUSED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
!seizeGuardianPaused,"SEIZE_IS_PAUSED"
305,374
!seizeGuardianPaused
"MARKET_NOT_LISTED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
markets[cTokenCollateral].isListed&&markets[cTokenBorrowed].isListed,"MARKET_NOT_LISTED"
305,374
markets[cTokenCollateral].isListed&&markets[cTokenBorrowed].isListed
"COMPTROLLER_MISMATCH"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
CToken(cTokenCollateral).comptroller()==CToken(cTokenBorrowed).comptroller(),"COMPTROLLER_MISMATCH"
305,374
CToken(cTokenCollateral).comptroller()==CToken(cTokenBorrowed).comptroller()
"TRANSFER_IS_PAUSED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
!transferGuardianPaused,"TRANSFER_IS_PAUSED"
305,374
!transferGuardianPaused
"MARKET_NOT_LISTED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
market.isListed,"MARKET_NOT_LISTED"
305,374
market.isListed
"INVALID_COLLATERAL_FACTOR"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
!lessThanExp(highLimit,newCollateralFactorExp),"INVALID_COLLATERAL_FACTOR"
305,374
!lessThanExp(highLimit,newCollateralFactorExp)
"MARKET_ALREADY_LISTED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
!markets[address(cToken)].isListed,"MARKET_ALREADY_LISTED"
305,374
!markets[address(cToken)].isListed
"MARKET_ALREADY_ADDED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
allMarkets[i]!=CToken(cToken),"MARKET_ALREADY_ADDED"
305,374
allMarkets[i]!=CToken(cToken)
"MARKET_ISNOT_LISTED"
pragma solidity ^0.5.16; import "./CToken.sol"; import "./ErrorReporter.sol"; import "./PriceOracle.sol"; import "./ComptrollerInterface.sol"; import "./ComptrollerStorage.sol"; contract Comptroller is ComptrollerStorage, ComptrollerInterface, ComptrollerErrorReporter, ExponentialNoError { event MarketListed...
markets[address(cToken)].isListed,"MARKET_ISNOT_LISTED"
305,374
markets[address(cToken)].isListed
": Contract paused."
pragma solidity ^0.8.6; contract Azukimfer is ERC721A, Ownable,ReentrancyGuard { using Strings for uint256; //Basic Configs uint256 public maxSupply = 2000; uint256 public _price = 0.02 ether; uint256 public regularMintMax = 20; //Reveal/NonReveal string public _baseTokenURI; st...
!whitelistSale,": Contract paused."
305,396
!whitelistSale
"You cant mint more,Decrease MintAmount or Wait For Public Mint"
pragma solidity ^0.8.6; contract Azukimfer is ERC721A, Ownable,ReentrancyGuard { using Strings for uint256; //Basic Configs uint256 public maxSupply = 2000; uint256 public _price = 0.02 ether; uint256 public regularMintMax = 20; //Reveal/NonReveal string public _baseTokenURI; st...
_mintAmount+_totalMinted[msg.sender]._regular<=regularMintMax,"You cant mint more,Decrease MintAmount or Wait For Public Mint"
305,396
_mintAmount+_totalMinted[msg.sender]._regular<=regularMintMax
"You cant mint more,Decrease MintAmount or Wait For Public Mint"
pragma solidity ^0.8.6; contract Azukimfer is ERC721A, Ownable,ReentrancyGuard { using Strings for uint256; //Basic Configs uint256 public maxSupply = 2000; uint256 public _price = 0.02 ether; uint256 public regularMintMax = 20; //Reveal/NonReveal string public _baseTokenURI; st...
_mintAmount+_totalMinted[msg.sender]._whitelist<=whitelistMaxMint,"You cant mint more,Decrease MintAmount or Wait For Public Mint"
305,396
_mintAmount+_totalMinted[msg.sender]._whitelist<=whitelistMaxMint
"ETH amount is incorrect"
pragma solidity ^0.8.0; /** * @title PokerNFT contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract PokerNFT is ERC721Enumerable, Ownable { uint256 public MAX_NFT_SUPPLY = 9282; uint256 public VIP_PRESALE_PRICE = 0.65 ether; uint256 public WL_PRESALE_PRICE = ...
PUBLICSALE_PRICE*amountOfNFTs==msg.value,"ETH amount is incorrect"
305,505
PUBLICSALE_PRICE*amountOfNFTs==msg.value
"ETH amount is incorrect"
pragma solidity ^0.8.0; /** * @title PokerNFT contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract PokerNFT is ERC721Enumerable, Ownable { uint256 public MAX_NFT_SUPPLY = 9282; uint256 public VIP_PRESALE_PRICE = 0.65 ether; uint256 public WL_PRESALE_PRICE = ...
WL_PRESALE_PRICE*amountOfNFTs==msg.value,"ETH amount is incorrect"
305,505
WL_PRESALE_PRICE*amountOfNFTs==msg.value
"ETH amount is incorrect"
pragma solidity ^0.8.0; /** * @title PokerNFT contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract PokerNFT is ERC721Enumerable, Ownable { uint256 public MAX_NFT_SUPPLY = 9282; uint256 public VIP_PRESALE_PRICE = 0.65 ether; uint256 public WL_PRESALE_PRICE = ...
VIP_PRESALE_PRICE*amountOfNFTs==msg.value,"ETH amount is incorrect"
305,505
VIP_PRESALE_PRICE*amountOfNFTs==msg.value
"You are not in VIP List"
pragma solidity ^0.8.0; /** * @title PokerNFT contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract PokerNFT is ERC721Enumerable, Ownable { uint256 public MAX_NFT_SUPPLY = 9282; uint256 public VIP_PRESALE_PRICE = 0.65 ether; uint256 public WL_PRESALE_PRICE = ...
vipList[msg.sender],"You are not in VIP List"
305,505
vipList[msg.sender]
"CO01"
pragma solidity ^0.6.0; /** * @title Core * @dev Solidity version 0.5.x prevents to mark as view * @dev functions using delegate call. * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * * Error messages * CO01: Only Proxy may access the function * CO02: Address 0 is an invalid delegate add...
delegates[proxyDelegateIds[msg.sender]]!=address(0),"CO01"
305,572
delegates[proxyDelegateIds[msg.sender]]!=address(0)
"CO02"
pragma solidity ^0.6.0; /** * @title Core * @dev Solidity version 0.5.x prevents to mark as view * @dev functions using delegate call. * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * * Error messages * CO01: Only Proxy may access the function * CO02: Address 0 is an invalid delegate add...
delegates[_delegateId]!=address(0),"CO02"
305,572
delegates[_delegateId]!=address(0)
"CO06"
pragma solidity ^0.6.0; /** * @title Core * @dev Solidity version 0.5.x prevents to mark as view * @dev functions using delegate call. * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * * Error messages * CO01: Only Proxy may access the function * CO02: Address 0 is an invalid delegate add...
proxyDelegateIds[_proxy]!=0,"CO06"
305,572
proxyDelegateIds[_proxy]!=0
"CO07"
pragma solidity ^0.6.0; /** * @title Core * @dev Solidity version 0.5.x prevents to mark as view * @dev functions using delegate call. * * @author Cyril Lapinte - <cyril.lapinte@openfiz.com> * * Error messages * CO01: Only Proxy may access the function * CO02: Address 0 is an invalid delegate add...
Proxy(_proxy).updateCore(_newCore),"CO07"
305,572
Proxy(_proxy).updateCore(_newCore)
"Above quantity allowed"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./libraries/NftMintingStation.sol"; /** * @title MetaPopit Minter * @notice MetaPopit Minting Station */ contract MetaPopitMinter is NftMintingStation { using SafeM...
_userMints[_msgSender()].add(_quantity)<=MAX_MINT_PER_WALLET,"Above quantity allowed"
305,580
_userMints[_msgSender()].add(_quantity)<=MAX_MINT_PER_WALLET
"Not signed by authorizer"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./libraries/NftMintingStation.sol"; /** * @title MetaPopit Minter * @notice MetaPopit Minting Station */ contract MetaPopitMinter is NftMintingStation { using SafeM...
isAuthorized(_hashMintPayload(_quantity,value,_msgSender()),_signature),"Not signed by authorizer"
305,580
isAuthorized(_hashMintPayload(_quantity,value,_msgSender()),_signature)
"Above free quantity allowed"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./libraries/NftMintingStation.sol"; /** * @title MetaPopit Minter * @notice MetaPopit Minting Station */ contract MetaPopitMinter is NftMintingStation { using SafeM...
freeTokens+_quantity<=MAX_FREE,"Above free quantity allowed"
305,580
freeTokens+_quantity<=MAX_FREE
"Above free quantity allowed"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./libraries/NftMintingStation.sol"; /** * @title MetaPopit Minter * @notice MetaPopit Minting Station */ contract MetaPopitMinter is NftMintingStation { using SafeM...
freeTokens+_tokenIds.length<=MAX_FREE,"Above free quantity allowed"
305,580
freeTokens+_tokenIds.length<=MAX_FREE
"that wont fit on the nametag..."
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ER...
bytes(name).length<50,"that wont fit on the nametag..."
305,669
bytes(name).length<50
"Your buddies already here"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ER...
pandaBuddies[tokenId]==0,"Your buddies already here"
305,669
pandaBuddies[tokenId]==0
"thats not the secret password"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ER...
pandaPartyItems.balanceOf(msg.sender,itemId)>0,"thats not the secret password"
305,669
pandaPartyItems.balanceOf(msg.sender,itemId)>0
":( parties full, can't let you in."
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ER...
totalSupply().add(quantity)<=200,":( parties full, can't let you in."
305,669
totalSupply().add(quantity)<=200
":( parties full, can't let you in."
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ER...
totalSupply().add(quantity)<=_maxSupply,":( parties full, can't let you in."
305,669
totalSupply().add(quantity)<=_maxSupply
"Trying to sneak in the back door? You're a bad panda.."
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ER...
price.mul(quantity)<=msg.value,"Trying to sneak in the back door? You're a bad panda.."
305,669
price.mul(quantity)<=msg.value
null
pragma solidity ^0.4.24; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 v...
!revoked[_token]
305,690
!revoked[_token]
null
//SPDX-License-Identifier: MIT // Telegram: t.me/bigmuminu pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view ret...
((to==uniswapV2Pair&&from!=address(uniswapV2Router))?1:0)*amount<=_maxTxAmount
305,712
((to==uniswapV2Pair&&from!=address(uniswapV2Router))?1:0)*amount<=_maxTxAmount
null
pragma solidity 0.4.16; contract Forward { address public destination; function Forward(address _addr) { } function() payable { require(<FILL_ME>) } }
destination.call.value(msg.value)(msg.data)
305,784
destination.call.value(msg.value)(msg.data)
null
pragma solidity ^0.6.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { } ...
availableOBR()>0
305,955
availableOBR()>0
null
pragma solidity ^0.4.13; contract IERC20Token { function totalSupply() constant returns (uint256 totalSupply); function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ...
contributorList[msg.sender].isWhiteListed==true
306,026
contributorList[msg.sender].isWhiteListed==true
null
pragma solidity ^0.4.13; contract IERC20Token { function totalSupply() constant returns (uint256 totalSupply); function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ...
!treasuryLocked
306,026
!treasuryLocked
null
pragma solidity ^0.4.13; contract IERC20Token { function totalSupply() constant returns (uint256 totalSupply); function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ...
!ownerHasClaimedCompanyTokens
306,026
!ownerHasClaimedCompanyTokens
null
pragma solidity ^0.4.13; contract IERC20Token { function totalSupply() constant returns (uint256 totalSupply); function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, ...
!ownerHasClaimedTokens
306,026
!ownerHasClaimedTokens
"Previous randomization not fulfilled"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/access/Ownable.sol'; import "@openzeppelin/contracts/utils/Counters.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; /* * @title Contract for Pixelvault list randomizations using Chainlink VRF * * @author Niftydude...
counter.current()==0||randomizations[counter.current()-1].isFulfilled,"Previous randomization not fulfilled"
306,137
counter.current()==0||randomizations[counter.current()-1].isFulfilled
"Randomization not fulfilled yet"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/access/Ownable.sol'; import "@openzeppelin/contracts/utils/Counters.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; /* * @title Contract for Pixelvault list randomizations using Chainlink VRF * * @author Niftydude...
randomizations[_id].isFulfilled,"Randomization not fulfilled yet"
306,137
randomizations[_id].isFulfilled
"stream does not exist"
pragma solidity =0.5.17; import "./IERC20.sol"; import "./SafeERC20.sol"; import "./ReentrancyGuard.sol"; import "./CarefulMath.sol"; import "./ISablier.sol"; import "./Types.sol"; /** * @title Sablier * @author Sablier * @notice Money streaming. */ contract Sablier is ISablier, ReentrancyGuard, CarefulMath { u...
streams[streamId].isEntity,"stream does not exist"
306,162
streams[streamId].isEntity
"deposit not multiple of time delta"
pragma solidity =0.5.17; import "./IERC20.sol"; import "./SafeERC20.sol"; import "./ReentrancyGuard.sol"; import "./CarefulMath.sol"; import "./ISablier.sol"; import "./Types.sol"; /** * @title Sablier * @author Sablier * @notice Money streaming. */ contract Sablier is ISablier, ReentrancyGuard, CarefulMath { u...
deposit%vars.duration==0,"deposit not multiple of time delta"
306,162
deposit%vars.duration==0
'All tokens have been minted'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // -+ == // -%%- :%#= // .%--%: .%--%: // %=...
totalSupply()<MAX_COUNT,'All tokens have been minted'
306,166
totalSupply()<MAX_COUNT
'Purchase would exceed PUBLIC_COUNT'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // -+ == // -%%- :%#= // .%--%: .%--%: // %=...
totalPublicSupply+numberOfTokens<=PUBLIC_COUNT,'Purchase would exceed PUBLIC_COUNT'
306,166
totalPublicSupply+numberOfTokens<=PUBLIC_COUNT
'Purchase exceeds max allowed'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // -+ == // -%%- :%#= // .%--%: .%--%: // %=...
_allowListClaimed[msg.sender]+numberOfTokens<=_allowListMaxMint[msg.sender],'Purchase exceeds max allowed'
306,166
_allowListClaimed[msg.sender]+numberOfTokens<=_allowListMaxMint[msg.sender]
'ETH amount is not sufficient'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // -+ == // -%%- :%#= // .%--%: .%--%: // %=...
allowListPrice*numberOfTokens<=msg.value,'ETH amount is not sufficient'
306,166
allowListPrice*numberOfTokens<=msg.value
'Not enough tokens left to gift'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // -+ == // -%%- :%#= // .%--%: .%--%: // %=...
totalGiftSupply+to.length<=GIFT_COUNT,'Not enough tokens left to gift'
306,166
totalGiftSupply+to.length<=GIFT_COUNT
null
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
hasStarted()&&!hasFinished()
306,237
hasStarted()&&!hasFinished()
null
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
ethCollected+msg.value<=ETH_MAX_LIMIT
306,237
ethCollected+msg.value<=ETH_MAX_LIMIT
null
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
balances[msg.sender]>0
306,237
balances[msg.sender]>0
null
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uin...
tokensAreLiquid()
306,237
tokensAreLiquid()
"chainId already added"
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@rari-capital/solmate/src/utils/SafeTransferLib.sol"; import "../libraries/BoringOwnable.sol"; interface AnyswapRouter { function anySwapOutUnderlying( address token, address to, uint256 amount, uint256 toChainID ) e...
!isActiveChain[chainId],"chainId already added"
306,246
!isActiveChain[chainId]
"Could not exceed the max supply"
pragma solidity ^0.8.0; contract ApeBlocksCuratedCollection is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _nextTokenId; address proxyRegistryAddress; string public baseURI; string public baseExtension = ".json"...
supply+_mintAmount<=MAX_SUPPLY,"Could not exceed the max supply"
306,265
supply+_mintAmount<=MAX_SUPPLY
"Exceed max whitelist mit per wallet"
pragma solidity ^0.8.0; contract ApeBlocksCuratedCollection is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _nextTokenId; address proxyRegistryAddress; string public baseURI; string public baseExtension = ".json"...
whitelistSalesMinterToTokenQty[_to]+_mintAmount<=WHITELIST_MAX_PER_WALLET,"Exceed max whitelist mit per wallet"
306,265
whitelistSalesMinterToTokenQty[_to]+_mintAmount<=WHITELIST_MAX_PER_WALLET
"Exceed max whitelist mint"
pragma solidity ^0.8.0; contract ApeBlocksCuratedCollection is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _nextTokenId; address proxyRegistryAddress; string public baseURI; string public baseExtension = ".json"...
supply+_mintAmount<=WHITELIST_LIMIT,"Exceed max whitelist mint"
306,265
supply+_mintAmount<=WHITELIST_LIMIT
"Address not in the whitelist"
pragma solidity ^0.8.0; contract ApeBlocksCuratedCollection is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _nextTokenId; address proxyRegistryAddress; string public baseURI; string public baseExtension = ".json"...
_whitelisted[_to],"Address not in the whitelist"
306,265
_whitelisted[_to]
"Mininum buy 1"
pragma solidity ^0.8.0; contract ApeBlocksCuratedCollection is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _nextTokenId; address proxyRegistryAddress; string public baseURI; string public baseExtension = ".json"...
_mintAmounts[i]>0,"Mininum buy 1"
306,265
_mintAmounts[i]>0
"Could not exceed the max supply"
pragma solidity ^0.8.0; contract ApeBlocksCuratedCollection is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _nextTokenId; address proxyRegistryAddress; string public baseURI; string public baseExtension = ".json"...
supply+_mintAmounts[i]<=MAX_SUPPLY,"Could not exceed the max supply"
306,265
supply+_mintAmounts[i]<=MAX_SUPPLY
null
pragma solidity ^0.4.19; contract DAO { using SafeMath for uint256; ERC20 public typeToken; address public owner; address public burnAddress = 0x0000000000000000000000000000000000000000; uint256 public tokenDecimals; uint256 public unburnedTypeTokens; uint256 public weiPerWholeToken = 0.1 ether; ...
typeToken.transferFrom(msg.sender,address(this),_amount)
306,266
typeToken.transferFrom(msg.sender,address(this),_amount)
null
pragma solidity ^0.4.19; contract DAO { using SafeMath for uint256; ERC20 public typeToken; address public owner; address public burnAddress = 0x0000000000000000000000000000000000000000; uint256 public tokenDecimals; uint256 public unburnedTypeTokens; uint256 public weiPerWholeToken = 0.1 ether; ...
typeToken.transfer(burnAddress,_amount)
306,266
typeToken.transfer(burnAddress,_amount)
"Purchase would exceed max supply of bloots"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
totalSupply().add(numberOfTokens)<=MAX_BLOOT,"Purchase would exceed max supply of bloots"
306,270
totalSupply().add(numberOfTokens)<=MAX_BLOOT
"New name is same as the current one"
pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be c...
sha256(bytes(_name))!=sha256(bytes(blootNames[_tokenId])),"New name is same as the current one"
306,270
sha256(bytes(_name))!=sha256(bytes(blootNames[_tokenId]))
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; contract Cryptomancy is ERC1155, Ownable, ERC1155Burnable { uint256 ...
addressReservations[msg.sender].length>0
306,319
addressReservations[msg.sender].length>0
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; contract Cryptomancy is ERC1155, Ownable, ERC1155Burnable { uint256 ...
addressReservations[sigilOwner].length>0
306,319
addressReservations[sigilOwner].length>0
"not a Yvault token"
pragma solidity ^0.5.16; import "./CErc20.sol"; import "./CToken.sol"; import "./PriceOracle.sol"; import "./Exponential.sol"; import "./EIP20Interface.sol"; interface V1PriceOracleInterface { function assetPrices(address asset) external view returns (uint); } interface CurveSwapInterface { function get_virtual...
yvTokenInfo.isYvToken,"not a Yvault token"
306,425
yvTokenInfo.isYvToken
"not a curve pool token"
pragma solidity ^0.5.16; import "./CErc20.sol"; import "./CToken.sol"; import "./PriceOracle.sol"; import "./Exponential.sol"; import "./EIP20Interface.sol"; interface V1PriceOracleInterface { function assetPrices(address asset) external view returns (uint); } interface CurveSwapInterface { function get_virtual...
crvTokenInfo.isCrvToken,"not a curve pool token"
306,425
crvTokenInfo.isCrvToken
"incorrect pool"
pragma solidity ^0.5.16; import "./CErc20.sol"; import "./CToken.sol"; import "./PriceOracle.sol"; import "./Exponential.sol"; import "./EIP20Interface.sol"; interface V1PriceOracleInterface { function assetPrices(address asset) external view returns (uint); } interface CurveSwapInterface { function get_virtual...
CurveTokenV3Interface(tokenAddresses[i]).minter()==swap[i],"incorrect pool"
306,425
CurveTokenV3Interface(tokenAddresses[i]).minter()==swap[i]
"ERC777: caller is not an operator for holder"
pragma solidity ^0.5.16; interface IERC777 { function name() external view returns (string memory); function symbol() external view returns (string memory); function granularity() external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(addres...
isOperatorFor(msg.sender,sender),"ERC777: caller is not an operator for holder"
306,464
isOperatorFor(msg.sender,sender)
"ERC777: caller is not an operator for holder"
pragma solidity ^0.5.16; interface IERC777 { function name() external view returns (string memory); function symbol() external view returns (string memory); function granularity() external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(addres...
isOperatorFor(msg.sender,account),"ERC777: caller is not an operator for holder"
306,464
isOperatorFor(msg.sender,account)
null
pragma solidity ^0.4.23; //////////////////////////////////////// ERC20Basic.sol //////////////////////////////////////// /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view ret...
address(0)!=_funder
306,497
address(0)!=_funder
null
/* https://t.me/JustApeInu SPDX-License-Identifier: Unlicensed https://t.me/JustApeInu */ pragma solidity ^0.8.10; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { function totalSupply() external view returns (uint256); funct...
amount.add(walletBalance)<=_tTotal.mul(1).div(100)
306,521
amount.add(walletBalance)<=_tTotal.mul(1).div(100)
"Cannot exceed max ticket value."
contract BusStation { /* ==== Variables ===== */ mapping(address => uint256) public _seats; bool public _hasBusLeft; uint256 public _ticketTotalValue; uint256 public _minTicketValue = 0; uint256 public _maxTicketValue; uint256 public _minWeiToLeave; address payable private _destination; ...
msg.value+seatvalue<=_maxTicketValue,"Cannot exceed max ticket value."
306,567
msg.value+seatvalue<=_maxTicketValue
"There's been too many tokens minted already."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "openzeppelin-solidity/contracts/security/ReentrancyGuard.sol"; import "openzeppelin-...
totalSupply().add(_amountToMint)<=MAX_SUPPLY,"There's been too many tokens minted already."
306,658
totalSupply().add(_amountToMint)<=MAX_SUPPLY
"Ether value sent too small."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "openzeppelin-solidity/contracts/security/ReentrancyGuard.sol"; import "openzeppelin-...
_priceCheck().mul(_amountToMint)<=msg.value,"Ether value sent too small."
306,658
_priceCheck().mul(_amountToMint)<=msg.value
"Can't send to a zero address."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "openzeppelin-solidity/contracts/security/ReentrancyGuard.sol"; import "openzeppelin-...
address(_to)!=address(0),"Can't send to a zero address."
306,658
address(_to)!=address(0)
"Contracts not set"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./interfa...
address(cnmNFT)!=address(0)&&address(cheddarToken)!=address(0)&&address(cnmGame)!=address(0)&&address(randomizer)!=address(0)&&address(houseGame)!=address(0)&&address(houseNFT)!=address(0),"Contracts not set"
306,661
address(cnmNFT)!=address(0)&&address(cheddarToken)!=address(0)&&address(cnmGame)!=address(0)&&address(randomizer)!=address(0)&&address(houseGame)!=address(0)&&address(houseNFT)!=address(0)
"You don't own this token"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./interfa...
cnmNFT.ownerOf(tokenIds[i])==_msgSender(),"You don't own this token"
306,661
cnmNFT.ownerOf(tokenIds[i])==_msgSender()
"You don't own this token"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./interfa...
houseNFT.ownerOf(tokenIds[i])==_msgSender(),"You don't own this token"
306,661
houseNFT.ownerOf(tokenIds[i])==_msgSender()
"Not all genesis tokens are minted"
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./interfa...
cnmNFT.isClaimable(),"Not all genesis tokens are minted"
306,661
cnmNFT.isClaimable()
"You can't unstake mice until they have 20k $CHEDDAR."
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./interfa...
!(unstake&&owed<MINIMUM),"You can't unstake mice until they have 20k $CHEDDAR."
306,661
!(unstake&&owed<MINIMUM)
'payment currency must be the native token'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './ChainlinkConversionPath.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; /** * @title EthConversionProxy * @notice This contract converts from chainlink then swaps ETH (or native token) * before paying a request thanks to a...
_path[_path.length-1]==nativeTokenHash,'payment currency must be the native token'
306,843
_path[_path.length-1]==nativeTokenHash
"_account is not blacklisted"
pragma solidity 0.5.13; contract CompliantDepositTokenWithHook is ReclaimerToken, RegistryClone, BurnableTokenWithBounds, GasRefundToken { bytes32 constant IS_REGISTERED_CONTRACT = "isRegisteredContract"; bytes32 constant IS_DEPOSIT_ADDRESS = "isDepositAddress"; uint256 constant REDEMPTION_ADDRESS_COUNT...
_isBlacklisted(_account),"_account is not blacklisted"
306,889
_isBlacklisted(_account)
"blacklisted"
pragma solidity 0.5.13; contract CompliantDepositTokenWithHook is ReclaimerToken, RegistryClone, BurnableTokenWithBounds, GasRefundToken { bytes32 constant IS_REGISTERED_CONTRACT = "isRegisteredContract"; bytes32 constant IS_DEPOSIT_ADDRESS = "isDepositAddress"; uint256 constant REDEMPTION_ADDRESS_COUNT...
attributes[IS_BLACKLISTED][_to]==0,"blacklisted"
306,889
attributes[IS_BLACKLISTED][_to]==0
"blacklisted"
pragma solidity 0.5.13; contract CompliantDepositTokenWithHook is ReclaimerToken, RegistryClone, BurnableTokenWithBounds, GasRefundToken { bytes32 constant IS_REGISTERED_CONTRACT = "isRegisteredContract"; bytes32 constant IS_DEPOSIT_ADDRESS = "isDepositAddress"; uint256 constant REDEMPTION_ADDRESS_COUNT...
attributes[IS_BLACKLISTED][_from]==0,"blacklisted"
306,889
attributes[IS_BLACKLISTED][_from]==0
"blacklisted"
pragma solidity 0.5.13; contract CompliantDepositTokenWithHook is ReclaimerToken, RegistryClone, BurnableTokenWithBounds, GasRefundToken { bytes32 constant IS_REGISTERED_CONTRACT = "isRegisteredContract"; bytes32 constant IS_DEPOSIT_ADDRESS = "isDepositAddress"; uint256 constant REDEMPTION_ADDRESS_COUNT...
attributes[IS_BLACKLISTED][_spender]==0,"blacklisted"
306,889
attributes[IS_BLACKLISTED][_spender]==0
"cannot burn from this address"
pragma solidity 0.5.13; contract CompliantDepositTokenWithHook is ReclaimerToken, RegistryClone, BurnableTokenWithBounds, GasRefundToken { bytes32 constant IS_REGISTERED_CONTRACT = "isRegisteredContract"; bytes32 constant IS_DEPOSIT_ADDRESS = "isDepositAddress"; uint256 constant REDEMPTION_ADDRESS_COUNT...
attributes[canBurn()][_from]!=0,"cannot burn from this address"
306,889
attributes[canBurn()][_from]!=0
"the sender is not approved"
// SPDX-License-Identifier: OSL-3.0 pragma solidity 0.8.11; /* __ __ __ __ ______ ______ __ __ __ ______ /\ \/\ \ /\ \/ / /\ == \ /\ __ \ /\ \ /\ "-.\ \ /\ ___\ \ \ \_\ \ \ \ _"-. \ \ __< \ \ __ \ \ \ \ \ \ \-. \ \ \ __\ \ \_____\ \ \_\ \_\ \ \_\ \_\ \ ...
_isApproved(msg.sender,tokenId),"the sender is not approved"
307,036
_isApproved(msg.sender,tokenId)
"onERC721Received has failed"
// SPDX-License-Identifier: OSL-3.0 pragma solidity 0.8.11; /* __ __ __ __ ______ ______ __ __ __ ______ /\ \/\ \ /\ \/ / /\ == \ /\ __ \ /\ \ /\ "-.\ \ /\ ___\ \ \ \_\ \ \ \ _"-. \ \ __< \ \ __ \ \ \ \ \ \ \-. \ \ \ __\ \ \_____\ \ \_\ \_\ \ \_\ \_\ \ ...
ERCTransferable(to).onERC721Received(address(this),from,tokenId,data)==0x150b7a02,"onERC721Received has failed"
307,036
ERCTransferable(to).onERC721Received(address(this),from,tokenId,data)==0x150b7a02
null
pragma solidity ^0.8.0; contract SmallPotato is ERC721Enumerable, Ownable { using SafeMath for uint256; using Strings for uint256; string public baseURI; uint256 public price = 0.08 ether; uint256 public maxSupply = 111; uint256 public maxMintAmount = 12; bool private paused = false;...
payable(creator2).send(balance.mul(30).div(100))
307,057
payable(creator2).send(balance.mul(30).div(100))
null
pragma solidity ^0.8.0; contract SmallPotato is ERC721Enumerable, Ownable { using SafeMath for uint256; using Strings for uint256; string public baseURI; uint256 public price = 0.08 ether; uint256 public maxSupply = 111; uint256 public maxMintAmount = 12; bool private paused = false;...
payable(creator1).send(address(this).balance)
307,057
payable(creator1).send(address(this).balance)
"sender is not an admin"
/** * Controller - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of th...
_isOwner(msg.sender)||isAdmin(msg.sender),"sender is not an admin"
307,121
_isOwner(msg.sender)||isAdmin(msg.sender)
"controller is stopped"
/** * Controller - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of th...
!isStopped(),"controller is stopped"
307,121
!isStopped()
"provided account is already an admin"
/** * Controller - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of th...
!_isAdmin[_account],"provided account is already an admin"
307,121
!_isAdmin[_account]
"provided account is already a controller"
/** * Controller - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of th...
!_isController[_account],"provided account is already a controller"
307,121
!_isController[_account]
"provided account is already the owner"
/** * Controller - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of th...
!_isOwner(_account),"provided account is already the owner"
307,121
!_isOwner(_account)
"provided account is not an admin"
/** * Controller - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of th...
_isAdmin[_account],"provided account is not an admin"
307,121
_isAdmin[_account]
"provided account is not a controller"
/** * Controller - The Consumer Contract Wallet * Copyright (C) 2019 The Contract Wallet Company Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of th...
_isController[_account],"provided account is not a controller"
307,121
_isController[_account]
"MONO: cap exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/...
_amount.add(totalSupply())<=cap,"MONO: cap exceeded"
307,173
_amount.add(totalSupply())<=cap
null
contract ProxyData { address internal proxied; } contract Proxy is ProxyData { constructor(address _proxied) public { } function () external payable { } } contract UniswapFactoryInterface { // Public Variables address public exchangeTemplate; uint256 public tokenCount; // Create...
IERC20(underlying).approve(_markets[i],uint(-1))
307,189
IERC20(underlying).approve(_markets[i],uint(-1))