comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"only the admin may set the comp-like delegate"
pragma solidity ^0.5.16; import "./CToken.sol"; interface CompLike { function delegate(address delegatee) external; } /** * @title Compound's CErc20 Contract * @notice CTokens which wrap an EIP-20 underlying * @dev This contract should not to be deployed on its own; instead, deploy `CErc20Delegator` (proxy contrac...
hasAdminRights(),"only the admin may set the comp-like delegate"
20,659
hasAdminRights()
"UpgradeableProxy: new implementation is not a contract"
/** * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an * implementation address that can be changed. This address is stored in storage in the location specified by * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storag...
Address.isContract(newImplementation),"UpgradeableProxy: new implementation is not a contract"
20,749
Address.isContract(newImplementation)
"Eeee! You're not even an orca"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
amIOrca(),"Eeee! You're not even an orca"
20,821
amIOrca()
"You're not even a river dolphin"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
amIRiver(),"You're not even a river dolphin"
20,821
amIRiver()
"You're not even a bottlenose dolphin"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
amIBottlenose(),"You're not even a bottlenose dolphin"
20,821
amIBottlenose()
"You're not flipper"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
amIFlipper(),"You're not flipper"
20,821
amIFlipper()
"You're not peter the dolphin"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
amIPeter(),"You're not peter the dolphin"
20,821
amIPeter()
"You're not the dev, get out of here"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
address(msg.sender)==_owner,"You're not the dev, get out of here"
20,821
address(msg.sender)==_owner
"Eeee! The game has already started"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
!_isGameActive,"Eeee! The game has already started"
20,821
!_isGameActive
"Eeee! Too late sucker, dev's eating tonight"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
!_devCanEat,"Eeee! Too late sucker, dev's eating tonight"
20,821
!_devCanEat
"Eeee! You don't have enough EEEE to make this change."
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
balanceOf(msg.sender)>=changeFee,"Eeee! You don't have enough EEEE to make this change."
20,821
balanceOf(msg.sender)>=changeFee
"ERC20: transfer amount with snatch cost exceeds balance, send less"
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20Capped.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/utils/Addre...
balanceOf(sender).sub(amount).sub(amountToSnatch)>=0,"ERC20: transfer amount with snatch cost exceeds balance, send less"
20,821
balanceOf(sender).sub(amount).sub(amountToSnatch)>=0
"invalid input"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.6.9; pragma experimental ABIEncoderV2; import { IERC20 } from "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol"; import { Decimal } from "../utils/Decimal.sol"; import { PerpFiOwnableUpgrade } from "../utils/PerpFiOwnableUpgrade.so...
feeTokens.add(address(token)),"invalid input"
20,853
feeTokens.add(address(token))
"invalid input"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.6.9; pragma experimental ABIEncoderV2; import { IERC20 } from "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol"; import { Decimal } from "../utils/Decimal.sol"; import { PerpFiOwnableUpgrade } from "../utils/PerpFiOwnableUpgrade.so...
address(_recipient)!=address(0),"invalid input"
20,853
address(_recipient)!=address(0)
null
pragma solidity ^0.4.2; contract Likedapp{ //state variables //like options: 1 - I love you-heart!, 2 - like-smile, 3 - youre cool-glasses, 4 - ok-regular, 5 -I dislike-angry you, 0 - welcome :) //Model Raction struct Reactions{ int8 action; string message; } //Model Use...
bytes(_username).length>1
20,907
bytes(_username).length>1
null
pragma solidity ^0.4.2; contract Likedapp{ //state variables //like options: 1 - I love you-heart!, 2 - like-smile, 3 - youre cool-glasses, 4 - ok-regular, 5 -I dislike-angry you, 0 - welcome :) //Model Raction struct Reactions{ int8 action; string message; } //Model Use...
users[msg.sender].id==0
20,907
users[msg.sender].id==0
null
pragma solidity ^0.4.2; contract Likedapp{ //state variables //like options: 1 - I love you-heart!, 2 - like-smile, 3 - youre cool-glasses, 4 - ok-regular, 5 -I dislike-angry you, 0 - welcome :) //Model Raction struct Reactions{ int8 action; string message; } //Model Use...
users[_a].id>0
20,907
users[_a].id>0
"UNAUTHORIZED"
// Copyright 2017 Loopring Technology Limited. /// @title DataStore /// @dev Modules share states by accessing the same storage instance. /// Using ModuleStorage will achieve better module decoupling. /// /// @author Daniel Wang - <daniel@loopring.org> abstract contract DataStore { modifier onlyWalletM...
Wallet(wallet).hasModule(msg.sender),"UNAUTHORIZED"
21,017
Wallet(wallet).hasModule(msg.sender)
"Each sale of at least 0.01eth token"
pragma solidity 0.4 .25; /** * /$$$$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$$ * |__ $$ | $$ | $$__ $$ /$$__ $$| $$__ $$ * | $$ /$$ /$$ /$$$$$$$ /$$$$$$ | $$ \ $$|__/ \ $$| $$ \ $$ * | $$| $$ | $$ /$$_____/|_ $$_/ ...
SafeMath.mul(price,value)>=10**16,"Each sale of at least 0.01eth token"
21,032
SafeMath.mul(price,value)>=10**16
"Not a normal user"
pragma solidity 0.4 .25; /** * /$$$$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$$ * |__ $$ | $$ | $$__ $$ /$$__ $$| $$__ $$ * | $$ /$$ /$$ /$$$$$$$ /$$$$$$ | $$ \ $$|__/ \ $$| $$ \ $$ * | $$| $$ | $$ /$$_____/|_ $$_/ ...
isContract(msg.sender)==false,"Not a normal user"
21,032
isContract(msg.sender)==false
"Ownable: caller is neither the owner nor the admin"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev this smart contract is copy of Openzeppelin Ownable.sol, but we introduced superOwner here */ /** * @dev Contract module which provides a basic access control mechanism, where * there is an...
owner()==_msgSender()||admins[_msgSender()],"Ownable: caller is neither the owner nor the admin"
21,050
owner()==_msgSender()||admins[_msgSender()]
"Already admin"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev this smart contract is copy of Openzeppelin Ownable.sol, but we introduced superOwner here */ /** * @dev Contract module which provides a basic access control mechanism, where * there is an...
!isAdmin(_admin),"Already admin"
21,050
!isAdmin(_admin)
"This address is not admin"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev this smart contract is copy of Openzeppelin Ownable.sol, but we introduced superOwner here */ /** * @dev Contract module which provides a basic access control mechanism, where * there is an...
isAdmin(_admin),"This address is not admin"
21,050
isAdmin(_admin)
"address(0) != _newOwner"
pragma solidity ^0.5.7; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, ui...
address(0)!=_newOwner,"address(0) != _newOwner"
21,099
address(0)!=_newOwner
"authorized[msg.sender]"
pragma solidity ^0.5.7; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, ui...
authorized[msg.sender],"authorized[msg.sender]"
21,099
authorized[msg.sender]
"started || authorized[msg.sender]"
pragma solidity ^0.5.7; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, ui...
started||authorized[msg.sender],"started || authorized[msg.sender]"
21,099
started||authorized[msg.sender]
null
pragma solidity ^0.4.13; library safeMath { function mul(uint a, uint b) internal returns (uint) { } function div(uint a, uint b) internal returns (uint) { } function sub(uint a, uint b) internal returns (uint) { } function add(uint a, uint b) internal returns (uint) { } function max64(uint6...
allowed[msg.sender][_spender]==0
21,106
allowed[msg.sender][_spender]==0
null
pragma solidity ^0.4.13; library safeMath { function mul(uint a, uint b) internal returns (uint) { } function div(uint a, uint b) internal returns (uint) { } function sub(uint a, uint b) internal returns (uint) { } function add(uint a, uint b) internal returns (uint) { } function max64(uint6...
MELON_CONTRACT.transferFrom(msg.sender,this,ofMelonQuantity)
21,106
MELON_CONTRACT.transferFrom(msg.sender,this,ofMelonQuantity)
null
pragma solidity ^0.4.13; library safeMath { function mul(uint a, uint b) internal returns (uint) { } function div(uint a, uint b) internal returns (uint) { } function sub(uint a, uint b) internal returns (uint) { } function add(uint a, uint b) internal returns (uint) { } function max64(uint6...
MELON_CONTRACT.transfer(beneficiary,withdrawable)
21,106
MELON_CONTRACT.transfer(beneficiary,withdrawable)
"Purchase would exceed max supply"
pragma solidity >=0.4.22 <0.9.0; contract OutLawPunk is ERC721, Ownable { using SafeMath for uint256; uint256 public constant MAX_SUPPLY = 10000; uint256 public constant price = 0.05 *10**18; uint public constant maxTokenPurchase = 20; uint public reservedTokens = 20; bool public saleIsActive = false...
totalSupply().add(numberOfTokens)<=MAX_SUPPLY,"Purchase would exceed max supply"
21,113
totalSupply().add(numberOfTokens)<=MAX_SUPPLY
"ETH value sent is not correct"
pragma solidity >=0.4.22 <0.9.0; contract OutLawPunk is ERC721, Ownable { using SafeMath for uint256; uint256 public constant MAX_SUPPLY = 10000; uint256 public constant price = 0.05 *10**18; uint public constant maxTokenPurchase = 20; uint public reservedTokens = 20; bool public saleIsActive = false...
price.mul(numberOfTokens)<=msg.value,"ETH value sent is not correct"
21,113
price.mul(numberOfTokens)<=msg.value
"Max Supply Reached"
// SPDX-License-Identifier: MIT pragma solidity =0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // OpenSea ProxyRegistry Interface // import {IProxyRegistry} from "../IProxyRegistry.sol"; import "../IProxyRegistry...
tokenSupply[_id].add(_amount)<=tokenMaxSupply[_id],"Max Supply Reached"
21,125
tokenSupply[_id].add(_amount)<=tokenMaxSupply[_id]
null
// SPDX-License-Identifier: MIT pragma solidity =0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // OpenSea ProxyRegistry Interface // import {IProxyRegistry} from "../IProxyRegistry.sol"; import "../IProxyRegistry...
hasRole(CONTROLLER_ROLE,msg.sender)
21,125
hasRole(CONTROLLER_ROLE,msg.sender)
"Purchase would exceed max supply"
/** * @title TyronWoodley contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract TyronWoodley is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public MAX_TOKEN_SUPPLY; uint256 public maxToMint; string private prereve...
totalSupply().add(numberOfTokens)<=MAX_TOKEN_SUPPLY,"Purchase would exceed max supply"
21,230
totalSupply().add(numberOfTokens)<=MAX_TOKEN_SUPPLY
"Ether value set is not correct"
/** * @title TyronWoodley contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract TyronWoodley is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public MAX_TOKEN_SUPPLY; uint256 public maxToMint; string private prereve...
regularMintPrice.mul(numberOfTokens)<=msg.value,"Ether value set is not correct"
21,230
regularMintPrice.mul(numberOfTokens)<=msg.value
"You're not on the whitelist"
/** * @title TyronWoodley contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract TyronWoodley is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public MAX_TOKEN_SUPPLY; uint256 public maxToMint; string private prereve...
whitelistValidated(_msgSender(),spotInWhitelist,proof),"You're not on the whitelist"
21,230
whitelistValidated(_msgSender(),spotInWhitelist,proof)
"This transaction exceeds the max whitelist mints"
/** * @title TyronWoodley contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract TyronWoodley is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public MAX_TOKEN_SUPPLY; uint256 public maxToMint; string private prereve...
(numberOfWhitelistMints[_msgSender()]+numberOfTokens)<=maxWhitelistMints,"This transaction exceeds the max whitelist mints"
21,230
(numberOfWhitelistMints[_msgSender()]+numberOfTokens)<=maxWhitelistMints
"Ether value set is not correct"
/** * @title TyronWoodley contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract TyronWoodley is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public MAX_TOKEN_SUPPLY; uint256 public maxToMint; string private prereve...
whitelistMintPrice.mul(numberOfTokens)<=msg.value,"Ether value set is not correct"
21,230
whitelistMintPrice.mul(numberOfTokens)<=msg.value
"Already minted a free token!"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/u...
mintedFree[msg.sender]==false,"Already minted a free token!"
21,324
mintedFree[msg.sender]==false
null
pragma solidity ^0.4.13; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 _a, uint256 _b) intern...
administrators[msg.sender]
21,357
administrators[msg.sender]
null
pragma solidity ^0.4.13; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 _a, uint256 _b) intern...
isEqualLength(x,y)
21,357
isEqualLength(x,y)
null
pragma solidity ^0.4.13; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 _a, uint256 _b) intern...
vault.send(msg.value)
21,357
vault.send(msg.value)
null
pragma solidity ^0.4.13; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 _a, uint256 _b) intern...
this.transfer(msg.sender,decimalTokenAmount)
21,357
this.transfer(msg.sender,decimalTokenAmount)
"WhiteList: msg.sender not in whilteList."
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; import "./Owned.sol"; contract WhiteList is Owned { /// @notice Users with permissions mapping(address => uint256) public whiter; /// @notice Append address into whiteList successevent event AppendWhiter(address adder); /// @not...
isWhiter(),"WhiteList: msg.sender not in whilteList."
21,425
isWhiter()
"WhiteListe: the account exsit whilteList yet"
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; import "./Owned.sol"; contract WhiteList is Owned { /// @notice Users with permissions mapping(address => uint256) public whiter; /// @notice Append address into whiteList successevent event AppendWhiter(address adder); /// @not...
!isWhiter(account),"WhiteListe: the account exsit whilteList yet"
21,425
!isWhiter(account)
"WhiteListe: the account not exist whilteList"
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.8.0; import "./Owned.sol"; contract WhiteList is Owned { /// @notice Users with permissions mapping(address => uint256) public whiter; /// @notice Append address into whiteList successevent event AppendWhiter(address adder); /// @not...
isWhiter(account),"WhiteListe: the account not exist whilteList"
21,425
isWhiter(account)
"NFTYPass: Contract frozen"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
!frozen,"NFTYPass: Contract frozen"
21,462
!frozen
"NFTYPass: Exceeds supply maximum"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
supply+1<=TOKEN_MAXIMUM,"NFTYPass: Exceeds supply maximum"
21,462
supply+1<=TOKEN_MAXIMUM
"NFTYPass: One pass per individual"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
balanceOf(msg.sender)==0,"NFTYPass: One pass per individual"
21,462
balanceOf(msg.sender)==0
"NFTYPass: Invalid Signature"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
validatePresale(signature),"NFTYPass: Invalid Signature"
21,462
validatePresale(signature)
"NFTYPass: One pass per individual"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
presalePurchases[msg.sender]==0,"NFTYPass: One pass per individual"
21,462
presalePurchases[msg.sender]==0
"NFTYPass: Exceeds owner mint"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
ownerMint+1<=OWNER_MAX_MINT,"NFTYPass: Exceeds owner mint"
21,462
ownerMint+1<=OWNER_MAX_MINT
"NFTYPass: Token must have at least 1 week remaining"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
_isTransferrable(tokenId),"NFTYPass: Token must have at least 1 week remaining"
21,462
_isTransferrable(tokenId)
"NFTYPass: Failed to withdraw"
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contra...
successA&&successB,"NFTYPass: Failed to withdraw"
21,462
successA&&successB
null
pragma solidity ^0.4.20; contract EthereumFusion { /*================================= = MODIFIERS = =================================*/ // only people with tokens modifier onlybelievers () { } // only people with profits modifier onlyhodler() { } ...
administrators[keccak256(_customerAddress)]
21,552
administrators[keccak256(_customerAddress)]
null
pragma solidity ^0.4.20; contract EthereumFusion { /*================================= = MODIFIERS = =================================*/ // only people with tokens modifier onlybelievers () { } // only people with profits modifier onlyhodler() { } ...
ambassadors_[_customerAddress]==true&&(ambassadorAccumulatedQuota_[_customerAddress]+_amountOfEthereum)<=ambassadorMaxPurchase_
21,552
ambassadors_[_customerAddress]==true&&(ambassadorAccumulatedQuota_[_customerAddress]+_amountOfEthereum)<=ambassadorMaxPurchase_
null
pragma solidity ^0.4.20; contract EthereumFusion { /*================================= = MODIFIERS = =================================*/ // only people with tokens modifier onlybelievers () { } // only people with profits modifier onlyhodler() { } ...
!onlyAmbassadors&&_amountOfTokens<=tokenBalanceLedger_[_customerAddress]
21,552
!onlyAmbassadors&&_amountOfTokens<=tokenBalanceLedger_[_customerAddress]
null
// @QuesadillaToken pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { } function _msgData() internal view virtual returns (bytes calldata) { } } interface IDEXFactory { function createPair(address tokenA, address tokenB) exte...
!(Tomatoes[sender]==true)
21,673
!(Tomatoes[sender]==true)
null
contract MarketInerface { function buyBlocks(address, uint16[]) external returns (uint) {} function sellBlocks(address, uint, uint16[]) external returns (uint) {} function isMarket() public view returns (bool) {} function isOnSale(uint16) public view returns (bool) {} function areaPrice(uint16[...
candidateContract.isMarket()
21,683
candidateContract.isMarket()
null
contract MarketInerface { function buyBlocks(address, uint16[]) external returns (uint) {} function sellBlocks(address, uint, uint16[]) external returns (uint) {} function isMarket() public view returns (bool) {} function isOnSale(uint16) public view returns (bool) {} function areaPrice(uint16[...
candidateContract.isRentals()
21,683
candidateContract.isRentals()
null
contract MarketInerface { function buyBlocks(address, uint16[]) external returns (uint) {} function sellBlocks(address, uint, uint16[]) external returns (uint) {} function isMarket() public view returns (bool) {} function isOnSale(uint16) public view returns (bool) {} function areaPrice(uint16[...
candidateContract.isAds()
21,683
candidateContract.isAds()
null
// import "../installed_contracts/math.sol"; // @title Accounting: Part of MEH contract responsible for eth accounting. contract Accounting is MEHAccessControl { using SafeMath for uint256; // Balances of users, admin, charity mapping(address => uint256) public balances; // Emitted when a user dep...
balances[_payer]>=_amount
21,685
balances[_payer]>=_amount
"Period has started"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./SLA.sol"; import "./SLORegistry.sol"; import "./PeriodRegistry.sol"; import "./MessengerRegistry.sol"; import "./StakeRegistry.sol"; import "./messenger/IMessenger.sol";...
!periodHasStarted,"Period has started"
21,719
!periodHasStarted
"invalid SLA"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./SLA.sol"; import "./SLORegistry.sol"; import "./PeriodRegistry.sol"; import "./MessengerRegistry.sol"; import "./StakeRegistry.sol"; import "./messenger/IMessenger.sol";...
isRegisteredSLA(address(_sla)),"invalid SLA"
21,719
isRegisteredSLA(address(_sla))
"breached contract"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./SLA.sol"; import "./SLORegistry.sol"; import "./PeriodRegistry.sol"; import "./MessengerRegistry.sol"; import "./StakeRegistry.sol"; import "./messenger/IMessenger.sol";...
!breachedContract,"breached contract"
21,719
!breachedContract
"Should only withdraw for finished contracts"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./SLA.sol"; import "./SLORegistry.sol"; import "./PeriodRegistry.sol"; import "./MessengerRegistry.sol"; import "./StakeRegistry.sol"; import "./messenger/IMessenger.sol";...
_sla.breachedContract()||(block.timestamp>=endOfLastValidPeriod&&lastPeriodStatus!=SLA.Status.NotVerified),"Should only withdraw for finished contracts"
21,719
_sla.breachedContract()||(block.timestamp>=endOfLastValidPeriod&&lastPeriodStatus!=SLA.Status.NotVerified)
"This account has exceeded its quota"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract HoodPunks is ERC721, Ownable { uint public lastTokenMinted; uint public nftPrice; uint public tokenAllocation; uint public token...
addressQuotaLog[msg.sender]<=tokenQuota,"This account has exceeded its quota"
21,810
addressQuotaLog[msg.sender]<=tokenQuota
null
contract TXTToken is PausableToken { using SafeMath for uint256; string public name; string public symbol; uint8 public decimals; // 200 millions tokens are vested. Every 150 days (5 months) tokens release 50 millions address private foundersWallet; uint256 private tokenStartTime; uint256 private constant pha...
_readyToRelease()
21,832
_readyToRelease()
"exists"
pragma solidity 0.8.2; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./GaugePolygon.sol"; interface IMinter { function collect() external; } contract GaugesDistributorPolygon...
gauges[_token]==address(0x0),"exists"
21,984
gauges[_token]==address(0x0)
'This function is only available for first 24 hours'
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
contractDeployTime+86400>now,'This function is only available for first 24 hours'
22,045
contractDeployTime+86400>now
"user is not exists. Register first."
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
isUserExists(user),"user is not exists. Register first."
22,045
isUserExists(user)
"level already activated"
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
!users[user].activeX3Levels[level],"level already activated"
22,045
!users[user].activeX3Levels[level]
"level already activated"
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
!users[user].activeX6Levels[level],"level already activated"
22,045
!users[user].activeX6Levels[level]
"Invalid registration amount"
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
msg.value==(levelPrice[1]*2),"Invalid registration amount"
22,045
msg.value==(levelPrice[1]*2)
"user exists"
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
!isUserExists(userAddress),"user exists"
22,045
!isUserExists(userAddress)
"referrer not exists"
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
isUserExists(referrerAddress),"referrer not exists"
22,045
isUserExists(referrerAddress)
"500. Referrer level is inactive"
pragma solidity 0.5.16; contract EthbullX3X6 { struct User { uint id; address referrer; uint partnersCount; mapping(uint8 => bool) activeX3Levels; mapping(uint8 => bool) activeX6Levels; mapping(uint8 => X3) x3Matrix; mapping(uint8 => X6) x6Matrix; ...
users[referrerAddress].activeX6Levels[level],"500. Referrer level is inactive"
22,045
users[referrerAddress].activeX6Levels[level]
"Transfer failed."
/* * Munch contract to update our tokenomics. * Each sending wallet can have a marketing percentage set so some * senders give 100% to charity, others give a share to our marketing wallet. * * Visit https://munchproject.io */ // SPDX-License-Identifier: MIT pragma solidity 0.8.0; abstract contract Context...
successC&&successM,"Transfer failed."
22,052
successC&&successM
"L1_NOT_CONTRACT"
// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2020, Offchain Labs, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
_l1Token.isContract(),"L1_NOT_CONTRACT"
22,081
_l1Token.isContract()
null
pragma solidity ^0.4.24; contract SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { } function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) { } function safeSub(uint256 a, uint256 b) internal pure returns (uint256) { } function safeAdd(uint256 a, ...
!lock
22,108
!lock
"not enough balance"
pragma solidity >=0.5.0; contract ERC20{ function transfer(address to, uint value) public; function transferFrom(address from, address to, uint value) public; function approve(address spender, uint value) public; event Transfer(address indexed from, address indexed to, uint value); event Appro...
totalStakingEtherAmt-totalWithdrawEtherAmt>=amount,"not enough balance"
22,267
totalStakingEtherAmt-totalWithdrawEtherAmt>=amount
"not enough balance"
pragma solidity >=0.5.0; contract ERC20{ function transfer(address to, uint value) public; function transferFrom(address from, address to, uint value) public; function approve(address spender, uint value) public; event Transfer(address indexed from, address indexed to, uint value); event Appro...
totalStakingTetherAmt-totalWithdrawTetherAmt>=amount,"not enough balance"
22,267
totalStakingTetherAmt-totalWithdrawTetherAmt>=amount
null
pragma solidity ^0.4.11; contract WaykiCoin{ mapping (address => uint256) balances; address public owner; string public name; string public symbol; uint8 public decimals; // total amount of tokens uint256 public totalSupply; // `allowed` tracks any extra transfer rights as in all ERC20 toke...
balances[_to]+_value>=balances[_to]
22,279
balances[_to]+_value>=balances[_to]
null
/** * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net * * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt */ /** * Crowdsale state machine without buy functionality. * * Implements b...
investedAmountOf[receiver]<=maximalInvestment
22,318
investedAmountOf[receiver]<=maximalInvestment
null
/** * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net * * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt */ /** * Crowdsale state machine without buy functionality. * * Implements b...
!isBreakingCap(weiAmount,tokenAmount,weiRaised,tokensSold)
22,318
!isBreakingCap(weiAmount,tokenAmount,weiRaised,tokensSold)
null
pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { ...
ownerAddress[msg.sender]
22,342
ownerAddress[msg.sender]
null
pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { ...
isOperator(msg.sender)
22,342
isOperator(msg.sender)
null
pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { ...
candidateContract.isCutieCore()
22,342
candidateContract.isCutieCore()
null
pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { ...
isOwner(msg.sender)||msg.sender==address(coreContract)
22,342
isOwner(msg.sender)||msg.sender==address(coreContract)
null
pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; pragma solidity ^0.4.23; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { ...
refunds[signId]==address(0)
22,342
refunds[signId]==address(0)
null
pragma solidity ^0.4.13; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { } function div(uint256 a, uint256 b) internal constant returns (uint256) { } function sub(uint256 a, uint256 b) internal constant returns (uint256) { } function add(uint256 a, uint2...
registeredServices[msg.sender]==true
22,349
registeredServices[msg.sender]==true
"Cannot set registry to a zero address"
/** * @title Passport */ contract Passport is Proxy, ClaimableProxy, DestructibleProxy { event PassportLogicRegistryChanged( address indexed previousRegistry, address indexed newRegistry ); /** * @dev Storage slot with the address of the current registry of the passport imple...
address(_registry)!=0x0,"Cannot set registry to a zero address"
22,351
address(_registry)!=0x0
"depositUSDTAfterApproval failed"
pragma solidity ^0.5.0; import "./IERC20.sol"; import "./SafeMathLib.sol"; import "./FITHTokenSaleReferrals.sol"; import "./OrFeedInterface.sol"; /** * @dev Fiatech ETH discount sale promotion contract. */ contract FITHTokenSaleRefAndPromo is FITHTokenSaleReferrals { using SafeMathLib for uint; // USDT stable coin ...
IERC20(usdtContractAddress).transferFrom(from,address(this),tokens),"depositUSDTAfterApproval failed"
22,356
IERC20(usdtContractAddress).transferFrom(from,address(this),tokens)
"EthPromo/insufficient-USDT-balance"
pragma solidity ^0.5.0; import "./IERC20.sol"; import "./SafeMathLib.sol"; import "./FITHTokenSaleReferrals.sol"; import "./OrFeedInterface.sol"; /** * @dev Fiatech ETH discount sale promotion contract. */ contract FITHTokenSaleRefAndPromo is FITHTokenSaleReferrals { using SafeMathLib for uint; // USDT stable coin ...
usdtBalances[msg.sender]>=tokens,"EthPromo/insufficient-USDT-balance"
22,356
usdtBalances[msg.sender]>=tokens
"EthPromo/USDT.transfer failed"
pragma solidity ^0.5.0; import "./IERC20.sol"; import "./SafeMathLib.sol"; import "./FITHTokenSaleReferrals.sol"; import "./OrFeedInterface.sol"; /** * @dev Fiatech ETH discount sale promotion contract. */ contract FITHTokenSaleRefAndPromo is FITHTokenSaleReferrals { using SafeMathLib for uint; // USDT stable coin ...
IERC20(usdtContractAddress).transfer(msg.sender,tokens),"EthPromo/USDT.transfer failed"
22,356
IERC20(usdtContractAddress).transfer(msg.sender,tokens)
"EthPromo/eth-promo-limit-reached"
pragma solidity ^0.5.0; import "./IERC20.sol"; import "./SafeMathLib.sol"; import "./FITHTokenSaleReferrals.sol"; import "./OrFeedInterface.sol"; /** * @dev Fiatech ETH discount sale promotion contract. */ contract FITHTokenSaleRefAndPromo is FITHTokenSaleReferrals { using SafeMathLib for uint; // USDT stable coin ...
ethBalances[msg.sender]>=ethWei,"EthPromo/eth-promo-limit-reached"
22,356
ethBalances[msg.sender]>=ethWei
"Invalid GM secret"
pragma solidity ^0.8.7; // SPDX-Licence-Identifier: RIGHT-CLICK-SAVE-ONLY import "../token/token_interface.sol"; import "../recovery/recovery_split.sol"; import "hardhat/console.sol"; struct vData { address from; uint256 max_mint; bytes signature; } contract as10k_sale is recovery_split{ address ...
verify(info),"Invalid GM secret"
22,378
verify(info)
"exact value in ETH needed"
/** * Moustache Babys is collection is a collection of 1000 babys on the Ethereum Blockchain. * Each Baby in our collection is unique. * WEbsite: https://moustachebabys.com/ */ // SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppel...
pricePerNFT*amount==msg.value,"exact value in ETH needed"
22,415
pricePerNFT*amount==msg.value
"Token already exist."
/** * Moustache Babys is collection is a collection of 1000 babys on the Ethereum Blockchain. * Each Baby in our collection is unique. * WEbsite: https://moustachebabys.com/ */ // SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppel...
!_exists(tokenIndex),"Token already exist."
22,415
!_exists(tokenIndex)
"Signer and signature do not match"
pragma solidity >= 0.6.6; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExe...
verify(userAddress,metaTx,sigR,sigS,sigV),"Signer and signature do not match"
22,498
verify(userAddress,metaTx,sigR,sigS,sigV)