comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"SS: Stake owner does not match"
pragma solidity ^0.8.10; // Staking 0x8888888AC6aa2482265e5346832CDd963c70A0D1 // Bridge 0xEf038429e3BAaF784e1DE93075070df2A43D4278 // BotDetection 0x3C758A487A9c536882aEeAc341c62cb0F665ecf5 // Token 0xdef1fac7Bf08f173D286BbBDcBeeADe695129840 // OldStaking 0xDef1Fafc79CD01Cf6797B9d7F51411beF486262a struct StartSt...
stakes[stakeIds[i]].owner==oldOwner,"SS: Stake owner does not match"
25,424
stakes[stakeIds[i]].owner==oldOwner
"SS: Stake owner does not match"
pragma solidity ^0.8.10; // Staking 0x8888888AC6aa2482265e5346832CDd963c70A0D1 // Bridge 0xEf038429e3BAaF784e1DE93075070df2A43D4278 // BotDetection 0x3C758A487A9c536882aEeAc341c62cb0F665ecf5 // Token 0xdef1fac7Bf08f173D286BbBDcBeeADe695129840 // OldStaking 0xDef1Fafc79CD01Cf6797B9d7F51411beF486262a struct StartSt...
stakes[stakeIds[i]].owner==stakeOwner,"SS: Stake owner does not match"
25,424
stakes[stakeIds[i]].owner==stakeOwner
"SS: New owner must be different from old owner"
pragma solidity ^0.8.10; // Staking 0x8888888AC6aa2482265e5346832CDd963c70A0D1 // Bridge 0xEf038429e3BAaF784e1DE93075070df2A43D4278 // BotDetection 0x3C758A487A9c536882aEeAc341c62cb0F665ecf5 // Token 0xdef1fac7Bf08f173D286BbBDcBeeADe695129840 // OldStaking 0xDef1Fafc79CD01Cf6797B9d7F51411beF486262a struct StartSt...
stakes[stakeId].owner!=newOwner,"SS: New owner must be different from old owner"
25,424
stakes[stakeId].owner!=newOwner
null
pragma solidity ^0.5.17; // ---------------------------------------------------------------------------- // 'Bunny Blockchain contract // // Symbol : BUT // Name : Bunny Blockchain // Total supply : 10*10^6 // Decimals : 18 // // Enjo...
_balances[_to]==0
25,430
_balances[_to]==0
"sequence already started"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // required downstream implementation interface interface ISequenced { // start a new sequence function startSequence(SequenceCreateData memory data) external; // complete the sequence (no new tokens can be minted) function completeSequence(uint16 number) ...
_sequences[number]==SequenceState.NOT_STARTED,"sequence already started"
25,541
_sequences[number]==SequenceState.NOT_STARTED
"sequence not active"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // required downstream implementation interface interface ISequenced { // start a new sequence function startSequence(SequenceCreateData memory data) external; // complete the sequence (no new tokens can be minted) function completeSequence(uint16 number) ...
_sequences[number]==SequenceState.STARTED,"sequence not active"
25,541
_sequences[number]==SequenceState.STARTED
null
pragma solidity ^0.4.18; contract Token { 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, uint2...
transferPayable(msg.sender,tokens)
25,550
transferPayable(msg.sender,tokens)
"We require more gas!"
pragma solidity ^0.4.24; contract fastum_1{ uint public start = 6655475; modifier saleIsOn() { } address constant private PROMO = 0xA93c13B3E3561e5e2A1a20239486D03A16d1Fc4b; uint constant public MULTIPLIER = 115; uint constant public MAX_DEPOSIT = 1 ether; uint public currentReceiver...
gasleft()>=220000,"We require more gas!"
25,628
gasleft()>=220000
"Last depositor should wait 45 blocks (~9-11 minutes) to claim reward"
pragma solidity ^0.4.24; contract fastum_1{ uint public start = 6655475; modifier saleIsOn() { } address constant private PROMO = 0xA93c13B3E3561e5e2A1a20239486D03A16d1Fc4b; uint constant public MULTIPLIER = 115; uint constant public MAX_DEPOSIT = 1 ether; uint public currentReceiver...
last.blockNumber+45<block.number,"Last depositor should wait 45 blocks (~9-11 minutes) to claim reward"
25,628
last.blockNumber+45<block.number
null
// Unattributed material copyright New Alchemy Limited, 2017. All rights reserved. pragma solidity >=0.4.10; // from Zeppelin contract SafeMath { function safeMul(uint a, uint b) internal returns (uint) { } function safeSub(uint a, uint b) internal returns (uint) { } function safeAdd(uint a,...
!finalized
25,650
!finalized
null
// Unattributed material copyright New Alchemy Limited, 2017. All rights reserved. pragma solidity >=0.4.10; // from Zeppelin contract SafeMath { function safeMul(uint a, uint b) internal returns (uint) { } function safeSub(uint a, uint b) internal returns (uint) { } function safeAdd(uint a,...
!mintingStopped
25,650
!mintingStopped
"DISTRIBUTE FINISHED"
/* Copyright 2020 DODO ZOO. */ /** * @title LockedTokenVault * @author DODO Breeder * * @notice Lock Token and release it linearly */ contract LockedTokenVault is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; address _TOKEN_; mapping(address => uint256) internal...
!_DISTRIBUTE_FINISHED_,"DISTRIBUTE FINISHED"
25,747
!_DISTRIBUTE_FINISHED_
"locked-base-uri"
//SPDX-License-Identifier: MIT //solhint-disable no-empty-blocks pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
!isBaseURILocked,"locked-base-uri"
25,791
!isBaseURILocked
"mint-via-contract"
//SPDX-License-Identifier: MIT //solhint-disable no-empty-blocks pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
!isContract(msg.sender),"mint-via-contract"
25,791
!isContract(msg.sender)
"max-mint-limit"
//SPDX-License-Identifier: MIT //solhint-disable no-empty-blocks pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
maxMintsPerAddress[msg.sender]+_numberOfTokens<=MAX_PUBLIC_MINT,"max-mint-limit"
25,791
maxMintsPerAddress[msg.sender]+_numberOfTokens<=MAX_PUBLIC_MINT
"max-supply-reached"
//SPDX-License-Identifier: MIT //solhint-disable no-empty-blocks pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
totalSupply()+_numberOfTokens<=MAX_SUPPLY,"max-supply-reached"
25,791
totalSupply()+_numberOfTokens<=MAX_SUPPLY
"max-mint-limit"
//SPDX-License-Identifier: MIT //solhint-disable no-empty-blocks pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
maxMintsPerAddress[_user]+_numberOfTokens<=MAX_WHITELIST_MINT,"max-mint-limit"
25,791
maxMintsPerAddress[_user]+_numberOfTokens<=MAX_WHITELIST_MINT
"invalid-proof"
//SPDX-License-Identifier: MIT //solhint-disable no-empty-blocks pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
isReserved||isWhitelisted,"invalid-proof"
25,791
isReserved||isWhitelisted
"incorrect-ether-value"
//SPDX-License-Identifier: MIT //solhint-disable no-empty-blocks pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
isReserved||msg.value==MINT_PRICE*_numberOfTokens,"incorrect-ether-value"
25,791
isReserved||msg.value==MINT_PRICE*_numberOfTokens
"!contract home"
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity >=0.6.11; // ============ Internal Imports ============ import {IUpdaterManager} from "../interfaces/IUpdaterManager.sol"; import {Home} from "./Home.sol"; // ============ External Imports ============ import {Ownable} from "@openzeppelin/contracts/access/Ow...
Address.isContract(_home),"!contract home"
25,838
Address.isContract(_home)
"Minting would exceed max reserved cards"
pragma solidity ^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 changed w...
reservedClaimed+amount<=RESERVED_CARDS,"Minting would exceed max reserved cards"
25,970
reservedClaimed+amount<=RESERVED_CARDS
"All tokens have been minted"
pragma solidity ^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 changed w...
totalSupply()<MAX_CARDS,"All tokens have been minted"
25,970
totalSupply()<MAX_CARDS
"Minting would exceed max supply"
pragma solidity ^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 changed w...
totalSupply()+amount<=MAX_CARDS,"Minting would exceed max supply"
25,970
totalSupply()+amount<=MAX_CARDS
"All tokens have been minted"
pragma solidity ^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 changed w...
totalSupply()<MAX_CARDS-RESERVED_CARDS,"All tokens have been minted"
25,970
totalSupply()<MAX_CARDS-RESERVED_CARDS
"Minting would exceed max supply"
pragma solidity ^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 changed w...
totalSupply()+amountOfCards<=MAX_CARDS-RESERVED_CARDS,"Minting would exceed max supply"
25,970
totalSupply()+amountOfCards<=MAX_CARDS-RESERVED_CARDS
"Purchase exceeds max allowed per address"
pragma solidity ^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 changed w...
_totalClaimed[msg.sender]+amountOfCards<=MAX_CARDS_MINT,"Purchase exceeds max allowed per address"
25,970
_totalClaimed[msg.sender]+amountOfCards<=MAX_CARDS_MINT
"ETH amount is incorrect"
pragma solidity ^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 changed w...
PRICE*amountOfCards==msg.value,"ETH amount is incorrect"
25,970
PRICE*amountOfCards==msg.value
'Token URI is frozen'
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
!_isUriFrozen,'Token URI is frozen'
25,995
!_isUriFrozen
"Ran out of quantity"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contract...
tokenid.current()+qty<TOTAL_SUPPLY+1,"Ran out of quantity"
25,995
tokenid.current()+qty<TOTAL_SUPPLY+1
"Owner Invalid"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "./CyberGorillas.sol"; import "./GrillaToken.sol"; import "./ERC721.sol"; import "./Strings.sol"; import "./RewardBoostProvider.sol"; import "./Ownable.sol"; /* ______ __ ______ _ ____ / ____/_ __/ /_ ___ _____...
tokenToAddr[_tokenId]==msg.sender,"Owner Invalid"
26,009
tokenToAddr[_tokenId]==msg.sender
"Access denied."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
itemOwners[_itemId]==msg.sender,"Access denied."
26,089
itemOwners[_itemId]==msg.sender
"Nick taken."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
nickAddresses[_nick]==address(0),"Nick taken."
26,089
nickAddresses[_nick]==address(0)
"Empty title."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
bytes(_info.title).length!=0,"Empty title."
26,089
bytes(_info.title).length!=0
"Item does not exist."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
entries[_itemId]==EntryKind.DOWNLOADS,"Item does not exist."
26,089
entries[_itemId]==EntryKind.DOWNLOADS
"Attempt to modify other's link."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
itemOwners[_linkId]==msg.sender,"Attempt to modify other's link."
26,089
itemOwners[_linkId]==msg.sender
"Link does not exist."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
entries[_linkId]==EntryKind.LINK,"Link does not exist."
26,089
entries[_linkId]==EntryKind.LINK
"Paid too little."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
pricesETH[_itemId]<=msg.value,"Paid too little."
26,089
pricesETH[_itemId]<=msg.value
"Empty title."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
bytes(_title).length!=0,"Empty title."
26,089
bytes(_title).length!=0
"Access denied."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
itemOwners[_categoryId]==msg.sender,"Access denied."
26,089
itemOwners[_categoryId]==msg.sender
"Must be a category."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
entries[_categoryId]==EntryKind.CATEGORY,"Must be a category."
26,089
entries[_categoryId]==EntryKind.CATEGORY
"Child does not exist."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
entries[_child]!=EntryKind.NONE,"Child does not exist."
26,089
entries[_child]!=EntryKind.NONE
"Must be a category."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
entries[_parent]==EntryKind.CATEGORY,"Must be a category."
26,089
entries[_parent]==EntryKind.CATEGORY
"Access denied."
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import './BaseToken.sol'; import './ABDKMath64x64.sol'; contract Files is BaseToken { using ABDKMath64x64 for int128; enum EntryKind { NONE, DOWNLOADS, LINK, CATEGORY } uint256 constant LINK_KIND_LINK = 0...
itemOwners[_parent]==msg.sender,"Access denied."
26,089
itemOwners[_parent]==msg.sender
"can't add more tokens"
pragma solidity ^0.7.0; // SPDX-License-Identifier: MIT OR Apache-2.0 import "./ReentrancyGuard.sol"; import "./Governance.sol"; import "./ITrustedTransfarableERC20.sol"; import "./Utils.sol"; /// @title Token Governance Contract /// @author Matter Labs /// @notice Contract is used to allow anyone to add new ERC20 toke...
governance.totalTokens()<listingCap,"can't add more tokens"
26,091
governance.totalTokens()<listingCap
'IndexedUniswapRouterBurner: INVALID_PATH'
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; pragma experimental ABIEncoderV2; import "@uniswap/lib/contracts/libraries/TransferHelper.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IERC20.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IWETH.sol"; import "@indexed-finance/indexed-core/co...
path[path.length-1]==weth,'IndexedUniswapRouterBurner: INVALID_PATH'
26,154
path[path.length-1]==weth
"Minting would exceed max supply of Crypto Humans"
pragma solidity ^0.8.0; contract CryptoHuman is ERC721, Ownable { uint256 public START_TIMESTAMP = 1630936800; uint256 public MAX_HUMANS = 8000; using SafeMath for uint256; using Counters for Counters.Counter; uint256 public totalSupply; uint256 private RESERVED = 100; uint256 privat...
canMint(),"Minting would exceed max supply of Crypto Humans"
26,229
canMint()
"Reserved amount already minted"
pragma solidity ^0.8.0; contract CryptoHuman is ERC721, Ownable { uint256 public START_TIMESTAMP = 1630936800; uint256 public MAX_HUMANS = 8000; using SafeMath for uint256; using Counters for Counters.Counter; uint256 public totalSupply; uint256 private RESERVED = 100; uint256 privat...
_reserved.add(25)<=RESERVED,"Reserved amount already minted"
26,229
_reserved.add(25)<=RESERVED
"Minting would exceed max supply of Crypto Humans"
pragma solidity ^0.8.0; contract CryptoHuman is ERC721, Ownable { uint256 public START_TIMESTAMP = 1630936800; uint256 public MAX_HUMANS = 8000; using SafeMath for uint256; using Counters for Counters.Counter; uint256 public totalSupply; uint256 private RESERVED = 100; uint256 privat...
totalSupply.add(25)<=MAX_HUMANS,"Minting would exceed max supply of Crypto Humans"
26,229
totalSupply.add(25)<=MAX_HUMANS
null
pragma solidity ^0.4.23; contract EIP20Interface { uint256 public totalSupply; uint256 public decimals; function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, a...
!blockedContract
26,264
!blockedContract
null
pragma solidity ^0.4.23; contract EIP20Interface { uint256 public totalSupply; uint256 public decimals; function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, a...
token.balanceOf(address(this))>=amount
26,264
token.balanceOf(address(this))>=amount
null
pragma solidity ^0.4.23; contract EIP20Interface { uint256 public totalSupply; uint256 public decimals; function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, a...
_systemReserves[tokenAddress]>0
26,264
_systemReserves[tokenAddress]>0
"invalid addr"
//SPDX-License-Identifier: MIT pragma solidity ^0.7.0; pragma experimental SMTChecker; import "./ERC20If.sol"; import "./Ownable.sol"; import "./CanReclaimToken.sol"; import "./SafeMathLib.sol"; contract MTokenWrap is Ownable, CanReclaimToken { using SafeMath for uint256; ERC20If public mtoken; string publi...
newMtokenRepository!=(address)(0),"invalid addr"
26,293
newMtokenRepository!=(address)(0)
"wrap dup."
//SPDX-License-Identifier: MIT pragma solidity ^0.7.0; pragma experimental SMTChecker; import "./ERC20If.sol"; import "./Ownable.sol"; import "./CanReclaimToken.sol"; import "./SafeMathLib.sol"; contract MTokenWrap is Ownable, CanReclaimToken { using SafeMath for uint256; ERC20If public mtoken; string publi...
wrapSeqMap[wrapHash(nativeCoinAddress,nativeTxId)]<=0,"wrap dup."
26,293
wrapSeqMap[wrapHash(nativeCoinAddress,nativeTxId)]<=0
"transferFrom failed"
//SPDX-License-Identifier: MIT pragma solidity ^0.7.0; pragma experimental SMTChecker; import "./ERC20If.sol"; import "./Ownable.sol"; import "./CanReclaimToken.sol"; import "./SafeMathLib.sol"; contract MTokenWrap is Ownable, CanReclaimToken { using SafeMath for uint256; ERC20If public mtoken; string publi...
mtoken.transferFrom(mtokenRepository,receiveMTokenAddress,mtokenAmount),"transferFrom failed"
26,293
mtoken.transferFrom(mtokenRepository,receiveMTokenAddress,mtokenAmount)
null
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 { address public owner; event OwnershipRenounced(address indexed previou...
_receivers[i]!=0x0
26,340
_receivers[i]!=0x0
null
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 { address public owner; event OwnershipRenounced(address indexed previou...
_values[i]!=0
26,340
_values[i]!=0
null
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 { address public owner; event OwnershipRenounced(address indexed previou...
balances[msg.sender]>=amount
26,340
balances[msg.sender]>=amount
null
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 { address public owner; event OwnershipRenounced(address indexed previou...
_receivers[j]!=0x0
26,340
_receivers[j]!=0x0
null
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 { address internal owner; event OwnershipTransferred(address indexed prev...
!locked[_address]
26,362
!locked[_address]
null
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 { address internal owner; event OwnershipTransferred(address indexed prev...
locked[_address]
26,362
locked[_address]
null
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 { address internal owner; event OwnershipTransferred(address indexed prev...
alwLockTx[msg.sender]
26,362
alwLockTx[msg.sender]
"Max supply exceeded!"
// SPDX-License-Identifier: MIT /* Adzuki is entirely copy-pasting images from Azuki: 1. Half of the mint fee is immediately given to the holder of the same NFT ID of Azuki collection. 2. All copyrights of Adzuki and its royalty are attributed to the holder of the same NFT ID of Azuki collection. 3. Top 1000 is free, s...
totalSupply()+amount<=MAX_SUPPLY,"Max supply exceeded!"
26,388
totalSupply()+amount<=MAX_SUPPLY
"No free"
// SPDX-License-Identifier: MIT /* Adzuki is entirely copy-pasting images from Azuki: 1. Half of the mint fee is immediately given to the holder of the same NFT ID of Azuki collection. 2. All copyrights of Adzuki and its royalty are attributed to the holder of the same NFT ID of Azuki collection. 3. Top 1000 is free, s...
totalSupply()<FREE_AMOUNT,"No free"
26,388
totalSupply()<FREE_AMOUNT
'not controller'
/* * Copyright (C) 2020-2021 The Wolfpack * This file is part of wolves.finance - https://github.com/wolvesofwallstreet/wolves.finance * * SPDX-License-Identifier: Apache-2.0 * See the file LICENSES/README.md for more information. */ pragma solidity >=0.6.0 <0.8.0; import '@openzeppelin/contracts/token/ERC20/IERC...
_msgSender()==address(controller),'not controller'
26,504
_msgSender()==address(controller)
"Must have allowance to transfer tokens"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.6.8; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../../interfaces/uniswap/IV2Router.sol"; import "../../interfaces/uniswap/IPairFactory.sol"; import "../../interfaces/uniswap/IPair.sol"; import "@nomiclabs/buidler/console.sol"; contract MockRouter ...
tokenA.allowance(msg.sender,address(this))>=aAmount,"Must have allowance to transfer tokens"
26,538
tokenA.allowance(msg.sender,address(this))>=aAmount
"Must have allowance to transfer tokens"
//SPDX-License-Identifier: Unlicense pragma solidity ^0.6.8; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../../interfaces/uniswap/IV2Router.sol"; import "../../interfaces/uniswap/IPairFactory.sol"; import "../../interfaces/uniswap/IPair.sol"; import "@nomiclabs/buidler/console.sol"; contract MockRouter ...
tokenB.allowance(msg.sender,address(this))>=bAmount,"Must have allowance to transfer tokens"
26,538
tokenB.allowance(msg.sender,address(this))>=bAmount
"User not whitelisted !"
/** * @dev {ERC721} token, including: * * - ability for holders to burn (destroy) their tokens * - a minter role that allows for token minting (creation) * - a pauser role that allows to stop all token transfers * - token ID and URI autogeneration * * This contract uses {AccessControl} to lock permi...
whitelists[to]||!whitelistingEnabled,"User not whitelisted !"
26,551
whitelists[to]||!whitelistingEnabled
"Max NFTs reached by wallet"
/** * @dev {ERC721} token, including: * * - ability for holders to burn (destroy) their tokens * - a minter role that allows for token minting (creation) * - a pauser role that allows to stop all token transfers * - token ID and URI autogeneration * * This contract uses {AccessControl} to lock permi...
balanceOf(to)<=maxPerWallet,"Max NFTs reached by wallet"
26,551
balanceOf(to)<=maxPerWallet
"Seeder::getSeedSafe: got 0 value seed"
// SPDX-License-Identifier: MIT /// @title RaidParty Randomness and Seeder V2 /** * ___ _ _ ___ _ * | _ \__ _(_)__| | _ \__ _ _ _| |_ _ _ * | / _` | / _` | _/ _` | '_| _| || | * |_|_\__,_|_\__,_|_| \__,_|_| \__|\_, | * |__/ */ pragma solidity ^0.8.0; ...
(data.randomnessId!=0||_requestStorage.getRequestIdFromBatch(data.batch)!=0)&&randomness!=0,"Seeder::getSeedSafe: got 0 value seed"
26,623
(data.randomnessId!=0||_requestStorage.getRequestIdFromBatch(data.batch)!=0)&&randomness!=0
"Seeder::executeRequestMulti: Batch cadence not passed"
// SPDX-License-Identifier: MIT /// @title RaidParty Randomness and Seeder V2 /** * ___ _ _ ___ _ * | _ \__ _(_)__| | _ \__ _ _ _| |_ _ _ * | / _` | / _` | _/ _` | '_| _| || | * |_|_\__,_|_\__,_|_| \__,_|_| \__|\_, | * |__/ */ pragma solidity ^0.8.0; ...
_lastBatchTimestamp+_batchCadence<=block.timestamp,"Seeder::executeRequestMulti: Batch cadence not passed"
26,623
_lastBatchTimestamp+_batchCadence<=block.timestamp
"Seeder::executeRequest: Pre-migration requests may not be manually executed"
// SPDX-License-Identifier: MIT /// @title RaidParty Randomness and Seeder V2 /** * ___ _ _ ___ _ * | _ \__ _(_)__| | _ \__ _ _ _| |_ _ _ * | / _` | / _` | _/ _` | '_| _| || | * |_|_\__,_|_\__,_|_| \__,_|_| \__|\_, | * |__/ */ pragma solidity ^0.8.0; ...
!_isPreMigration(origin,identifier),"Seeder::executeRequest: Pre-migration requests may not be manually executed"
26,623
!_isPreMigration(origin,identifier)
"Seeder::executeRequest: Cannot seed individually during batch seeding"
// SPDX-License-Identifier: MIT /// @title RaidParty Randomness and Seeder V2 /** * ___ _ _ ___ _ * | _ \__ _(_)__| | _ \__ _ _ _| |_ _ _ * | / _` | / _` | _/ _` | '_| _| || | * |_|_\__,_|_\__,_|_| \__,_|_| \__|\_, | * |__/ */ pragma solidity ^0.8.0; ...
_lastBatchTimestamp+_batchCadence>block.timestamp,"Seeder::executeRequest: Cannot seed individually during batch seeding"
26,623
_lastBatchTimestamp+_batchCadence>block.timestamp
null
pragma solidity 0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) internal pure ...
!distribute
26,627
!distribute
null
pragma solidity 0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) internal pure ...
!isWhitelisted(_beneficiary)
26,627
!isWhitelisted(_beneficiary)
null
pragma solidity 0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) internal pure ...
!isFinalized
26,627
!isFinalized
null
pragma solidity 0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, uint256 b) internal pure ...
moneySpent[msg.sender]<=individualRoundCap
26,627
moneySpent[msg.sender]<=individualRoundCap
null
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { } /** * @dev Integer...
this.transferFrom(reserveTokensVault,vestingOf[_beneficiary],tokensAmount)
26,706
this.transferFrom(reserveTokensVault,vestingOf[_beneficiary],tokensAmount)
"isList failed"
// SPDX-License-Identifier:APACHE-2.0 /* * Taken from https://github.com/hamdiallam/Solidity-RLP */ /* solhint-disable */ pragma solidity ^0.7.6; library RLPReader { uint8 constant STRING_SHORT_START = 0x80; uint8 constant STRING_LONG_START = 0xb8; uint8 constant LIST_SHORT_START = 0xc0; uint8 constant ...
isList(item),"isList failed"
26,733
isList(item)
'CS: transaction value exceeds maximal value in usd'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/con...
_toUsd(value,price,decimals)<=config.maxUsdValue,'CS: transaction value exceeds maximal value in usd'
26,754
_toUsd(value,price,decimals)<=config.maxUsdValue
'CS: sender has 0 tokens'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/con...
balance[msg.sender]!=0,'CS: sender has 0 tokens'
26,754
balance[msg.sender]!=0
'CS: not enough tokens'
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/con...
balance[msg.sender]>=value,'CS: not enough tokens'
26,754
balance[msg.sender]>=value
null
pragma solidity ^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 changed w...
!minthasrun
26,860
!minthasrun
"Contract must not be paused"
pragma solidity ^0.4.18; /** * The ClubTokenController is a replaceable endpoint for minting and unminting ClubToken.sol */ contract ClubTokenController is BancorFormula, Admin, Ownable { event Buy(address buyer, uint256 tokens, uint256 value, uint256 poolBalance, uint256 tokenSupply); event Sell(address ...
!paused||owner==msg.sender||admins[tx.origin],"Contract must not be paused"
26,939
!paused||owner==msg.sender||admins[tx.origin]
null
pragma solidity ^0.4.18; /** * The ClubTokenController is a replaceable endpoint for minting and unminting ClubToken.sol */ contract ClubTokenController is BancorFormula, Admin, Ownable { event Buy(address buyer, uint256 tokens, uint256 value, uint256 poolBalance, uint256 tokenSupply); event Sell(address ...
ClubToken(clubToken).mint(buyer,tokens)
26,939
ClubToken(clubToken).mint(buyer,tokens)
null
pragma solidity ^0.4.18; /** * The ClubTokenController is a replaceable endpoint for minting and unminting ClubToken.sol */ contract ClubTokenController is BancorFormula, Admin, Ownable { event Buy(address buyer, uint256 tokens, uint256 value, uint256 poolBalance, uint256 tokenSupply); event Sell(address ...
ClubToken(clubToken).balanceOf(msg.sender)>=sellAmount
26,939
ClubToken(clubToken).balanceOf(msg.sender)>=sellAmount
"claimed too many"
//SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; contract MannysGame is ERC721, Ownable { using SafeMath for uint256; uint16[] manny...
claimedPerWallet[msg.sender]+numberOfTokens<=64,"claimed too many"
27,038
claimedPerWallet[msg.sender]+numberOfTokens<=64
"have not acquired the golden manny, smh..."
//SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.7.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; contract MannysGame is ERC721, Ownable { using SafeMath for uint256; uint16[] manny...
this.ownerOf(404)==msg.sender,"have not acquired the golden manny, smh..."
27,038
this.ownerOf(404)==msg.sender
"TOS01"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
currentTime()<startAt,"TOS01"
27,116
currentTime()<startAt
"TOS02"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
currentTime()>=startAt&&currentTime()<=endAt,"TOS02"
27,116
currentTime()>=startAt&&currentTime()<=endAt
"TOS03"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
currentTime()<=endAt,"TOS03"
27,116
currentTime()<=endAt
"TOS14"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
_receiver.send(investor.unspentETH),"TOS14"
27,116
_receiver.send(investor.unspentETH)
"TOS15"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
vaultETH.send(balance),"TOS15"
27,116
vaultETH.send(balance)
"TOS15"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
vaultETH.send(amount),"TOS15"
27,116
vaultETH.send(amount)
"TOS17"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
ratesProvider.rateWEIPerCHFCent()!=0,"TOS17"
27,116
ratesProvider.rateWEIPerCHFCent()!=0
"TOS18"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
userRegistry.isValid(investorId),"TOS18"
27,116
userRegistry.isValid(investorId)
"TOS22"
/** * @title Tokensale * @dev Tokensale contract * * @author Cyril Lapinte - <cyril.lapinte@mtpelerin.com> * * @notice Copyright © 2016 - 2018 Mt Pelerin Group SA - All Rights Reserved * @notice Please refer to the top of this file for the license. * * Error messages * TOS01: It must be before the s...
token.transferFrom(vaultERC20,_investor,tokens),"TOS22"
27,116
token.transferFrom(vaultERC20,_investor,tokens)
"Cannot notify until previous reward session is completed"
pragma solidity ^0.5.0; library Math { function max(uint256 a, uint256 b) internal pure returns (uint256) { } function min(uint256 a, uint256 b) internal pure returns (uint256) { } function average(uint256 a, uint256 b) internal pure returns (uint256) { } } library SafeMath { funct...
permitNotifyReward()==true||firstNotify==false,"Cannot notify until previous reward session is completed"
27,184
permitNotifyReward()==true||firstNotify==false
"SKU does not exist in catalog"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppe...
bytes(item.sku).length!=0,"SKU does not exist in catalog"
27,222
bytes(item.sku).length!=0
"SKU not found for token ID"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppe...
bytes(sku).length!=0,"SKU not found for token ID"
27,222
bytes(sku).length!=0
"SKU can not be empty"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppe...
bytes(items[i].sku).length!=0,"SKU can not be empty"
27,222
bytes(items[i].sku).length!=0