comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"Could not transfer tokens."
pragma solidity >=0.8.0; // SPDX-License-Identifier: BSD-3-Clause /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (u...
Token(tokenAddress).transfer(owner,amount_per_withdraw),"Could not transfer tokens."
34,222
Token(tokenAddress).transfer(owner,amount_per_withdraw)
'transfer failed'
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; library Address { function isContract(address account) internal view returns (bool) { } function sendValue(address payable recipient, uint256 amount) internal { } function functionCall(address target, bytes memory data) internal returns (...
_token.transferFrom(msg.sender,address(this),amount),'transfer failed'
34,260
_token.transferFrom(msg.sender,address(this),amount)
'TokenTimelock: cannot change beneficiary while token balance positive'
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; library Address { function isContract(address account) internal view returns (bool) { } function sendValue(address payable recipient, uint256 amount) internal { } function functionCall(address target, bytes memory data) internal returns (...
(msg.sender==owner()&&paymentsRemaining==0)||msg.sender==beneficiary,'TokenTimelock: cannot change beneficiary while token balance positive'
34,260
(msg.sender==owner()&&paymentsRemaining==0)||msg.sender==beneficiary
'release funds failed'
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; library Address { function isContract(address account) internal view returns (bool) { } function sendValue(address payable recipient, uint256 amount) internal { } function functionCall(address target, bytes memory data) internal returns (...
_token.transfer(_beneficiary,amountToSend),'release funds failed'
34,260
_token.transfer(_beneficiary,amountToSend)
"Unable to transfer"
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; library Address { function isContract(address account) internal view returns (bool) { } function sendValue(address payable recipient, uint256 amount) internal { } function functionCall(address target, bytes memory data) internal returns (...
_token.transfer(msg.sender,balance),"Unable to transfer"
34,260
_token.transfer(msg.sender,balance)
"Amount to pay is over the user limit"
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, w...
amountToPay.add(amountToPayInFees)<=_maxToSpend,"Amount to pay is over the user limit"
34,276
amountToPay.add(amountToPayInFees)<=_maxToSpend
null
/* Token recipient. Modified very slightly from the example on http://ethereum.org/dao (just to index log parameters). */ pragma solidity 0.4.23; import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; /** * @title TokenRecipient * @author Project Wyvern Developers */ contract TokenRecipient { event Re...
t.transferFrom(from,this,value)
34,323
t.transferFrom(from,this,value)
null
pragma solidity ^0.4.24; contract AccessControl { address public creatorAddress; uint16 public totalSeraphims = 0; mapping (address => bool) public seraphims; bool public isMaintenanceMode = true; modifier onlyCREATOR() { } modifier onlySERAPHIM() { require(<FILL_ME>) ...
seraphims[msg.sender]==true
34,412
seraphims[msg.sender]==true
null
pragma solidity ^0.4.24; contract AccessControl { address public creatorAddress; uint16 public totalSeraphims = 0; mapping (address => bool) public seraphims; bool public isMaintenanceMode = true; modifier onlyCREATOR() { } modifier onlySERAPHIM() { } modifier isContractAct...
!isMaintenanceMode
34,412
!isMaintenanceMode
'Not the owner of this N'
@v4.3.0 pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note t...
nContract.ownerOf(_nId)==msg.sender,'Not the owner of this N'
34,465
nContract.ownerOf(_nId)==msg.sender
'Contract burnt. No minting can happen'
@v4.3.0 pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note t...
!burnt,'Contract burnt. No minting can happen'
34,465
!burnt
"Reading bytes out of bounds"
pragma solidity ^0.5.12; contract BytesUtils { function readBytes32(bytes memory data, uint256 index) internal pure returns (bytes32 o) { require(<FILL_ME>) assembly { o := mload(add(data, add(32, mul(32, index)))) } } function read(bytes memory data, uint256 offs...
data.length/32>index,"Reading bytes out of bounds"
34,494
data.length/32>index
"The approved amount should be more than swap amount"
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; pragma experimental ABIEncoderV2; import "./Context.sol"; import "./Address.sol"; import "./Ownable.sol"; import "./IERC20.sol"; import "./SafeERC20.sol"; import "./SafeMath.sol"; import "./IUniswapV2Pair.sol"; interface TokenInterface is IERC20 { function dep...
baseToken.allowance(orderRouter.userAddress,address(this))>=orderRouter.inputAmount,"The approved amount should be more than swap amount"
34,627
baseToken.allowance(orderRouter.userAddress,address(this))>=orderRouter.inputAmount
null
pragma solidity ^0.4.4; /** * @title ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; uint public decimals; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint)...
canUpgrade()
34,725
canUpgrade()
null
pragma solidity ^0.4.4; /** * @title ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; uint public decimals; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint)...
getUpgradeState()!=UpgradeState.Upgrading
34,725
getUpgradeState()!=UpgradeState.Upgrading
null
pragma solidity ^0.4.4; /** * @title ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; uint public decimals; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint)...
upgradeAgent.isUpgradeAgent()
34,725
upgradeAgent.isUpgradeAgent()
null
pragma solidity ^0.4.4; /** * @title ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; uint public decimals; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint)...
upgradeAgent.originalSupply()==totalSupply
34,725
upgradeAgent.originalSupply()==totalSupply
null
pragma solidity ^0.4.4; /** * @title ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; uint public decimals; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint)...
transferAgents[_sender]
34,725
transferAgents[_sender]
null
pragma solidity ^0.4.4; /** * @title ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; uint public decimals; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint)...
balances[contractAddress]>=_tokens
34,725
balances[contractAddress]>=_tokens
null
pragma solidity ^0.4.4; /** * @title ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; uint public decimals; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint)...
owner.send(weiAmount)
34,725
owner.send(weiAmount)
"Sale has already ended"
// contracts/RooCrew // SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./ERC721.sol"; import "./Ownable.sol"; contract RooCrew is ERC721, Ownable { using SafeMath for uint256; uint public constant MAX_ROOS = 5000; uint public constant MAX_PRESALE_ROOS = 600; bool public hasSaleStarted = false; ...
totalSupply()<MAX_ROOS,"Sale has already ended"
34,743
totalSupply()<MAX_ROOS
"Exceeds MAX_ROOS"
// contracts/RooCrew // SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./ERC721.sol"; import "./Ownable.sol"; contract RooCrew is ERC721, Ownable { using SafeMath for uint256; uint public constant MAX_ROOS = 5000; uint public constant MAX_PRESALE_ROOS = 600; bool public hasSaleStarted = false; ...
totalSupply().add(numRoos)<=MAX_ROOS,"Exceeds MAX_ROOS"
34,743
totalSupply().add(numRoos)<=MAX_ROOS
"Not enough Ether sent for this tx"
// contracts/RooCrew // SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./ERC721.sol"; import "./Ownable.sol"; contract RooCrew is ERC721, Ownable { using SafeMath for uint256; uint public constant MAX_ROOS = 5000; uint public constant MAX_PRESALE_ROOS = 600; bool public hasSaleStarted = false; ...
rooPrice.mul(numRoos)<=msg.value,"Not enough Ether sent for this tx"
34,743
rooPrice.mul(numRoos)<=msg.value
"Presale has already ended"
// contracts/RooCrew // SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./ERC721.sol"; import "./Ownable.sol"; contract RooCrew is ERC721, Ownable { using SafeMath for uint256; uint public constant MAX_ROOS = 5000; uint public constant MAX_PRESALE_ROOS = 600; bool public hasSaleStarted = false; ...
totalSupply()<MAX_PRESALE_ROOS,"Presale has already ended"
34,743
totalSupply()<MAX_PRESALE_ROOS
"Exceeds MAX_PRESALE_ROOS"
// contracts/RooCrew // SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./ERC721.sol"; import "./Ownable.sol"; contract RooCrew is ERC721, Ownable { using SafeMath for uint256; uint public constant MAX_ROOS = 5000; uint public constant MAX_PRESALE_ROOS = 600; bool public hasSaleStarted = false; ...
totalSupply().add(numRoos)<=MAX_PRESALE_ROOS,"Exceeds MAX_PRESALE_ROOS"
34,743
totalSupply().add(numRoos)<=MAX_PRESALE_ROOS
"AaveMarket: An input address is not a contract"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; import {SafeERC20} from "../../libs/SafeERC20.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { AddressUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import {MoneyMarket} fro...
_provider.isContract()&&_aToken.isContract()&&_aaveMining.isContract()&&_rewards!=address(0)&&_stablecoin.isContract(),"AaveMarket: An input address is not a contract"
34,777
_provider.isContract()&&_aToken.isContract()&&_aaveMining.isContract()&&_rewards!=address(0)&&_stablecoin.isContract()
"CreamERC20Market: An input address is not a contract"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; import {SafeERC20} from "../../libs/SafeERC20.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { AddressUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import {MoneyMarket} fro...
_cToken.isContract()&&_stablecoin.isContract(),"CreamERC20Market: An input address is not a contract"
34,785
_cToken.isContract()&&_stablecoin.isContract()
"CreamERC20Market: Failed to mint cTokens"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; import {SafeERC20} from "../../libs/SafeERC20.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { AddressUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import {MoneyMarket} fro...
cToken.mint(amount)==ERRCODE_OK,"CreamERC20Market: Failed to mint cTokens"
34,785
cToken.mint(amount)==ERRCODE_OK
"CreamERC20Market: Failed to redeem"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; import {SafeERC20} from "../../libs/SafeERC20.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { AddressUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import {MoneyMarket} fro...
cToken.redeemUnderlying(amountInUnderlying)==ERRCODE_OK,"CreamERC20Market: Failed to redeem"
34,785
cToken.redeemUnderlying(amountInUnderlying)==ERRCODE_OK
"HarvestMarket: Invalid input address"
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; import {SafeERC20} from "../../libs/SafeERC20.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { AddressUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import {MoneyMarket} fro...
_vault.isContract()&&_rewards!=address(0)&&_stakingPool.isContract()&&_stablecoin.isContract(),"HarvestMarket: Invalid input address"
34,787
_vault.isContract()&&_rewards!=address(0)&&_stakingPool.isContract()&&_stablecoin.isContract()
'oracle not support lp token'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import './BasicSpell.sol'; import '../Governable.sol'; contract WhitelistSpell is BasicSpell, Governable { mapping(address => bool) public whitelistedLpTokens; // mapping from lp token to whitelist status constructor( IBank _bank, address _werc20, ...
bank.support(lpTokens[idx]),'oracle not support lp token'
34,807
bank.support(lpTokens[idx])
'no mapping'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/math/SafeMath.sol'; import '../Governable.sol'; import '../../interfaces/IBaseOracle.sol'; interface IStdReference { /// A structure returned whenever someone requests ...
bytes(sym).length!=0,'no mapping'
34,815
bytes(sym).length!=0
'bad oracle address'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
address(_oracle)!=address(0),'bad oracle address'
34,825
address(_oracle)!=address(0)
'oracle not support token'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
support(tokens[idx]),'oracle not support token'
34,825
support(tokens[idx])
'bank not exist'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
bank.isListed,'bank not exist'
34,825
bank.isListed
'cToken already exists'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
!cTokenInBank[cToken],'cToken already exists'
34,825
!cTokenInBank[cToken]
'bank already exists'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
!bank.isListed,'bank already exists'
34,825
!bank.isListed
'spell not whitelisted'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
whitelistedSpells[spell],'spell not whitelisted'
34,825
whitelistedSpells[spell]
'borrow not allowed'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
allowBorrowStatus(),'borrow not allowed'
34,825
allowBorrowStatus()
'token not whitelisted'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
whitelistedTokens[token],'token not whitelisted'
34,825
whitelistedTokens[token]
'repay not allowed'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
allowRepayStatus(),'repay not allowed'
34,825
allowRepayStatus()
'collateral not supported'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
oracle.supportWrappedToken(collToken,collId),'collateral not supported'
34,825
oracle.supportWrappedToken(collToken,collId)
'bad borrow'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
ICErc20(bank.cToken).borrow(amountCall)==0,'bad borrow'
34,825
ICErc20(bank.cToken).borrow(amountCall)==0
'bad repay'
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/IERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC20/SafeERC20.sol'; import 'OpenZeppelin/openzeppelin-contracts@3.4.0/contracts/token/ERC1155/IERC1155.sol'; im...
cToken.repayBorrow(amountCall)==0,'bad repay'
34,825
cToken.repayBorrow(amountCall)==0
"One of the tokens should be ETH"
pragma solidity ^0.5.0; library DisableFlags { function enabled(uint256 disableFlags, uint256 flag) internal pure returns(bool) { } function disabledReserve(uint256 disableFlags, uint256 flag) internal pure returns(bool) { } function disabled(uint256 disableFlags, uint256 flag) internal pure r...
fromToken.isETH()||toToken.isETH(),"One of the tokens should be ETH"
34,886
fromToken.isETH()||toToken.isETH()
"ERC721: transfer from incorrect owner"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "...
ERC721r.ownerOf(tokenId)==from,"ERC721: transfer from incorrect owner"
35,052
ERC721r.ownerOf(tokenId)==from
null
@v1.1.2 pragma solidity >=0.7.6 <0.8.0; abstract contract Recoverable is ManagedIdentity, Ownable { using ERC20Wrapper for IWrappedERC20; /** * Extract ERC20 tokens which were accidentally sent to the contract to a list of accounts. * Warning: this function should be overriden for contracts whic...
Ownership(_msgSender()
35,182
_msgSender()
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
_msgSender()==_liquidityAddress
35,204
_msgSender()==_liquidityAddress
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
_msgSender()==_treasuryAddress
35,204
_msgSender()==_treasuryAddress
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
!_treasuryLocked
35,204
!_treasuryLocked
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
!_liquidityLocked
35,204
!_liquidityLocked
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
_msgSender()==_nftStakingAddress
35,204
_msgSender()==_nftStakingAddress
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
!_nftStakingLocked
35,204
!_nftStakingLocked
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
_msgSender()==_v3StakingAddress
35,204
_msgSender()==_v3StakingAddress
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
!_v3StakingLocked
35,204
!_v3StakingLocked
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
_msgSender()==_smartFarmingAddress
35,204
_msgSender()==_smartFarmingAddress
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
!_smartFarmingLocked
35,204
!_smartFarmingLocked
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
_msgSender()==_cuttiesAddress
35,204
_msgSender()==_cuttiesAddress
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ISwapRouter.sol"; import "./INonfungiblePositionManager.sol"; contract CuttToken is Context, IERC20, Ownable { using SafeMath for uint256; using Addre...
!_cuttiesLocked
35,204
!_cuttiesLocked
"Base URI has already been set"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import './ERC721/ERC721Enum.sol'; contract BasicBatsVIP is ERC721Enum, Ownable { using Strings for uint256; string baseTokenUri; bool baseU...
!baseUriDefined,"Base URI has already been set"
35,225
!baseUriDefined
null
pragma solidity ^0.4.24; interface PlayerBookReceiverInterface { function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external; function receivePlayerNameList(uint256 _pID, bytes32 _name) external; } contract PlayerBook { using NameFilter for string; using SafeMat...
gameIDs_[msg.sender]!=0
35,342
gameIDs_[msg.sender]!=0
"umm... thats not a name you own"
pragma solidity ^0.4.24; interface PlayerBookReceiverInterface { function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external; function receivePlayerNameList(uint256 _pID, bytes32 _name) external; } contract PlayerBook { using NameFilter for string; using SafeMat...
plyrNames_[_pID][_name]==true,"umm... thats not a name you own"
35,342
plyrNames_[_pID][_name]==true
"derp, that games already been registered"
pragma solidity ^0.4.24; interface PlayerBookReceiverInterface { function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external; function receivePlayerNameList(uint256 _pID, bytes32 _name) external; } contract PlayerBook { using NameFilter for string; using SafeMat...
gameIDs_[_gameAddress]==0,"derp, that games already been registered"
35,342
gameIDs_[_gameAddress]==0
"FWD: insufficient gas"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./IForwarder.sol"; contract Forwarder is IForwarder { using ECDSA for bytes32; string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint...
gasleft()*63/64>=req.gas+gasForTransfer,"FWD: insufficient gas"
35,352
gasleft()*63/64>=req.gas+gasForTransfer
"FWD: nonce mismatch"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./IForwarder.sol"; contract Forwarder is IForwarder { using ECDSA for bytes32; string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint...
nonces[req.from]==req.nonce,"FWD: nonce mismatch"
35,352
nonces[req.from]==req.nonce
"FWD: nonce mismatch"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./IForwarder.sol"; contract Forwarder is IForwarder { using ECDSA for bytes32; string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint...
nonces[req.from]++==req.nonce,"FWD: nonce mismatch"
35,352
nonces[req.from]++==req.nonce
"FWD: invalid typename"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./IForwarder.sol"; contract Forwarder is IForwarder { using ECDSA for bytes32; string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint...
c!="("&&c!=")","FWD: invalid typename"
35,352
c!="("&&c!=")"
"FWD: unregistered domain sep."
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./IForwarder.sol"; contract Forwarder is IForwarder { using ECDSA for bytes32; string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint...
domains[domainSeparator],"FWD: unregistered domain sep."
35,352
domains[domainSeparator]
"FWD: unregistered typehash"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./IForwarder.sol"; contract Forwarder is IForwarder { using ECDSA for bytes32; string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint...
typeHashes[requestTypeHash],"FWD: unregistered typehash"
35,352
typeHashes[requestTypeHash]
"FWD: signature mismatch"
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; import "./IForwarder.sol"; contract Forwarder is IForwarder { using ECDSA for bytes32; string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint...
digest.recover(sig)==req.from,"FWD: signature mismatch"
35,352
digest.recover(sig)==req.from
"NFTCyphertakes: INVALID_TOKEN_ID"
pragma solidity ^0.8.0; import {ERC721URIStorage, ERC721, IERC165} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {AccessControlMixin, AccessCo...
((tokenId_>uint(0))),"NFTCyphertakes: INVALID_TOKEN_ID"
35,422
((tokenId_>uint(0)))
"NFTCyphertakes: TOKEN_URI_TOO_SHORT"
pragma solidity ^0.8.0; import {ERC721URIStorage, ERC721, IERC165} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {AccessControlMixin, AccessCo...
(bytes(_tokenURI).length>=5),"NFTCyphertakes: TOKEN_URI_TOO_SHORT"
35,422
(bytes(_tokenURI).length>=5)
"UniV3Liquidity.bind: already bind"
pragma solidity ^0.7.6; /// @title Position Management /// @notice Provide asset operation functions, allow authorized identities to perform asset operations, and achieve the purpose of increasing the net value of the fund contract UniV3Liquidity is GovIdentity { using Path for bytes; using SafeMath for ui...
!bound,"UniV3Liquidity.bind: already bind"
35,440
!bound
'UniV3Liquidity.settingSwapRoute: path is not valid'
pragma solidity ^0.7.6; /// @title Position Management /// @notice Provide asset operation functions, allow authorized identities to perform asset operations, and achieve the purpose of increasing the net value of the fund contract UniV3Liquidity is GovIdentity { using Path for bytes; using SafeMath for ui...
path.valid(),'UniV3Liquidity.settingSwapRoute: path is not valid'
35,440
path.valid()
null
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.6.0 <0.7.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; struct StrategyParams { uint256 performanceFee; uint256 activation; uint256 debtLimit; uint25...
BaseStrategy(_newStrategy).vault()==vault
35,484
BaseStrategy(_newStrategy).vault()==vault
null
// Congratulations! Its your free airdrop token. More about project at: https://MARK.SPACE // // // An open source platform for creation of 3D- and VR- compatible web-spaces (websites) and objects, powered by Blockchain. // 3DとVR対応のウェブ空間(ウェブサイト)とオブジェクトの作成が可能な ブロックチェーンベースのオープンソースプラットフォーム // 由区块链支持的创造3D/VR兼容网页空间的开源平...
_token.transfer(_to[i],_value)
35,517
_token.transfer(_to[i],_value)
null
// Congratulations! Its your free airdrop token. More about project at: https://MARK.SPACE // // // An open source platform for creation of 3D- and VR- compatible web-spaces (websites) and objects, powered by Blockchain. // 3DとVR対応のウェブ空間(ウェブサイト)とオブジェクトの作成が可能な ブロックチェーンベースのオープンソースプラットフォーム // 由区块链支持的创造3D/VR兼容网页空间的开源平...
_token.transferFrom(spender,_to[i],_value)
35,517
_token.transferFrom(spender,_to[i],_value)
"Bubblemates :: Beyond Max Supply"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Bubblemates is ERC721A, Ownable{ using Strings for uint256; string private baseTokenUri; string public placeholderTokenUri; uint256 public constant MAX...
(totalSupply()+_quantity)<=MAX_SUPPLY,"Bubblemates :: Beyond Max Supply"
35,577
(totalSupply()+_quantity)<=MAX_SUPPLY
"Bubblemates :: Below "
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Bubblemates is ERC721A, Ownable{ using Strings for uint256; string private baseTokenUri; string public placeholderTokenUri; uint256 public constant MAX...
msg.value>=(PUBLIC_SALE_PRICE*_quantity),"Bubblemates :: Below "
35,577
msg.value>=(PUBLIC_SALE_PRICE*_quantity)
"FreezableTokenURI: all token static URI already freezed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; abstract contract FreezableTokenURI is ERC721Upgradeable { mapping(uint256 => string) private _tokenStaticURIs; mapping(uint256 => bool) private _isTokenStaticURIFreezed; bool p...
!_isAllTokenStaticURIFreezed,"FreezableTokenURI: all token static URI already freezed"
35,614
!_isAllTokenStaticURIFreezed
"FreezableTokenURI: token static URI already freezed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; abstract contract FreezableTokenURI is ERC721Upgradeable { mapping(uint256 => string) private _tokenStaticURIs; mapping(uint256 => bool) private _isTokenStaticURIFreezed; bool p...
!_isTokenStaticURIFreezed[tokenId],"FreezableTokenURI: token static URI already freezed"
35,614
!_isTokenStaticURIFreezed[tokenId]
"FreezableTokenURI: token URI base already freezed"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; abstract contract FreezableTokenURI is ERC721Upgradeable { mapping(uint256 => string) private _tokenStaticURIs; mapping(uint256 => bool) private _isTokenStaticURIFreezed; bool p...
!_isTokenURIBaseFreezed,"FreezableTokenURI: token URI base already freezed"
35,614
!_isTokenURIBaseFreezed
"Bit Chicks already claimed"
pragma solidity ^0.8.9; contract BitChicks is ERC721, ERC721Enumerable, Ownable { uint256 public constant MAX_PER_TXN = 20; // @notice Add Chunky Chickens URI here string private URI = ""; // Chunky Chickens contract IERC721Enumerable IBaseContract = IERC721Enumerable(0x06c6DB12875E254a0e0C725...
!claimedChicks[tokenId],"Bit Chicks already claimed"
35,677
!claimedChicks[tokenId]
"Chunky Chicken not owned"
pragma solidity ^0.8.9; contract BitChicks is ERC721, ERC721Enumerable, Ownable { uint256 public constant MAX_PER_TXN = 20; // @notice Add Chunky Chickens URI here string private URI = ""; // Chunky Chickens contract IERC721Enumerable IBaseContract = IERC721Enumerable(0x06c6DB12875E254a0e0C725...
IBaseContract.ownerOf(tokenId)==msg.sender,"Chunky Chicken not owned"
35,677
IBaseContract.ownerOf(tokenId)==msg.sender
string(abi.encodePacked("name ",daoName," already taken"))
pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; // SPDX-License-Identifier: MIT import "./DaoConstants.sol"; import "./DaoRegistry.sol"; import "./CloneFactory.sol"; /** MIT License Copyright (c) 2020 Openlaw Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
addresses[hashedName]==address(0x0),string(abi.encodePacked("name ",daoName," already taken"))
35,730
addresses[hashedName]==address(0x0)
"not member"
pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; // SPDX-License-Identifier: MIT import "./DaoConstants.sol"; import "./DaoRegistry.sol"; import "./CloneFactory.sol"; /** MIT License Copyright (c) 2020 Openlaw Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
dao.isMember(msg.sender),"not member"
35,730
dao.isMember(msg.sender)
"this DAO has already been setup"
pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; // SPDX-License-Identifier: MIT import "./DaoConstants.sol"; import "./DaoRegistry.sol"; import "./CloneFactory.sol"; /** MIT License Copyright (c) 2020 Openlaw Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
dao.state()==DaoRegistry.DaoState.CREATION,"this DAO has already been setup"
35,730
dao.state()==DaoRegistry.DaoState.CREATION
"Your address has been marked as a bot, please contact staff to appeal your case."
/** 🐳TG https://t.me/supershark 🖥Website https://supershark.games 🐤Twitter https://twitter.com/supersharkgames */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.10; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { ...
!_isBot[from],"Your address has been marked as a bot, please contact staff to appeal your case."
35,808
!_isBot[from]
null
/** 🐳TG https://t.me/supershark 🖥Website https://supershark.games 🐤Twitter https://twitter.com/supersharkgames */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.10; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { ...
amount.add(walletBalance)<=_tTotal.mul(5).div(100)
35,808
amount.add(walletBalance)<=_tTotal.mul(5).div(100)
"Contract has already been initialized"
/** 🐳TG https://t.me/supershark 🖥Website https://supershark.games 🐤Twitter https://twitter.com/supersharkgames */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.10; abstract contract Context { function _msgSender() internal view virtual returns (address) { } } interface IERC20 { ...
!_initialized,"Contract has already been initialized"
35,808
!_initialized
"CrossDrop would exceed max supply of Bottles"
pragma solidity 0.7.0; abstract contract AOS { function ownerOf(uint256 tokenId) public virtual view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256); function balanceOf(address owner) external virtual view returns (uint256 balance); } /** ...
totalSupply().add(1)<=MAX_BOTTLES,"CrossDrop would exceed max supply of Bottles"
35,825
totalSupply().add(1)<=MAX_BOTTLES
"CrossDrop would exceed max supply of cross drop bottles"
pragma solidity 0.7.0; abstract contract AOS { function ownerOf(uint256 tokenId) public virtual view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256); function balanceOf(address owner) external virtual view returns (uint256 balance); } /** ...
crossDropSupply+1<=MAX_CROSS_DROP,"CrossDrop would exceed max supply of cross drop bottles"
35,825
crossDropSupply+1<=MAX_CROSS_DROP
"Reserve would exceed max supply of Bottles"
pragma solidity 0.7.0; abstract contract AOS { function ownerOf(uint256 tokenId) public virtual view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256); function balanceOf(address owner) external virtual view returns (uint256 balance); } /** ...
totalSupply().add(reserveAmount)<=MAX_BOTTLES,"Reserve would exceed max supply of Bottles"
35,825
totalSupply().add(reserveAmount)<=MAX_BOTTLES
"Airdrop would exceed max supply"
pragma solidity 0.7.0; abstract contract AOS { function ownerOf(uint256 tokenId) public virtual view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256); function balanceOf(address owner) external virtual view returns (uint256 balance); } /** ...
totalSupply().add(numBottles)<=MAX_BOTTLES,"Airdrop would exceed max supply"
35,825
totalSupply().add(numBottles)<=MAX_BOTTLES
"Airdrop would exceed max supply"
pragma solidity 0.7.0; abstract contract AOS { function ownerOf(uint256 tokenId) public virtual view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256); function balanceOf(address owner) external virtual view returns (uint256 balance); } /** ...
totalSupply().add(recipients.length)<=MAX_BOTTLES,"Airdrop would exceed max supply"
35,825
totalSupply().add(recipients.length)<=MAX_BOTTLES
"Purchase would exceed max supply of Bottles"
pragma solidity 0.7.0; abstract contract AOS { function ownerOf(uint256 tokenId) public virtual view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256); function balanceOf(address owner) external virtual view returns (uint256 balance); } /** ...
totalSupply().add(numberOfTokens)<=MAX_BOTTLES,"Purchase would exceed max supply of Bottles"
35,825
totalSupply().add(numberOfTokens)<=MAX_BOTTLES
"Ether value sent is not correct"
pragma solidity 0.7.0; abstract contract AOS { function ownerOf(uint256 tokenId) public virtual view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256); function balanceOf(address owner) external virtual view returns (uint256 balance); } /** ...
bottlesPrice.mul(numberOfTokens)<=msg.value,"Ether value sent is not correct"
35,825
bottlesPrice.mul(numberOfTokens)<=msg.value
null
pragma solidity ^0.4.23; /** * SafeMath <https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol/> * Copyright (c) 2016 Smart Contract Solutions, Inc. * Released under the MIT License (MIT) */ /// @title Math operations with safety checks library SafeMath { function...
shareholders[_to].allowed&&shareholders[msg.sender].allowed
35,831
shareholders[_to].allowed&&shareholders[msg.sender].allowed
null
pragma solidity ^0.4.23; /** * SafeMath <https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol/> * Copyright (c) 2016 Smart Contract Solutions, Inc. * Released under the MIT License (MIT) */ /// @title Math operations with safety checks library SafeMath { function...
availableAmount(_from)>0
35,831
availableAmount(_from)>0
null
pragma solidity ^0.4.23; /** * SafeMath <https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol/> * Copyright (c) 2016 Smart Contract Solutions, Inc. * Released under the MIT License (MIT) */ /// @title Math operations with safety checks library SafeMath { function...
!exchangeEnabled
35,831
!exchangeEnabled